guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: Add goffice-0.8.


From: Ricardo Wurmus
Subject: 01/03: gnu: Add goffice-0.8.
Date: Thu, 07 May 2015 18:18:22 +0000

rekado pushed a commit to branch master
in repository guix.

commit c024ae3601d645fc332ba97895a77454433003b3
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Apr 19 18:38:24 2015 +0200

    gnu: Add goffice-0.8.
    
    * gnu/packages/gnome.scm (goffice-0.8): New variable.
---
 gnu/packages/gnome.scm |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 96a21ef..5caa177 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -69,7 +69,8 @@
   #:use-module (gnu packages mail)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages nettle)
-  #:use-module (gnu packages ncurses))
+  #:use-module (gnu packages ncurses)
+  #:use-module (srfi srfi-1))
 
 (define-public brasero
   (package
@@ -1278,6 +1279,33 @@ Hints specification (EWMH).")
      ;; Note: NOT LGPL
      (list license:gpl2 license:gpl3))))
 
+(define-public goffice-0.8
+  (package (inherit goffice)
+    (version "0.8.17")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" (package-name 
goffice) "/"
+                                  (version-major+minor version)  "/"
+                                  (package-name goffice) "-" version 
".tar.xz"))
+              (sha256
+               (base32 
"05fvzbs5bin05bbsr4dp79aiva3lnq0a3a40zq55i13vnsz70l0n"))))
+    (arguments
+     `(#:phases
+       (alist-cons-after
+        'unpack 'fix-pcre-check
+        (lambda _
+          ;; Only glib.h can be included directly.  See
+          ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
+          (substitute* "configure"
+            (("glib/gregex\\.h") "glib.h")) #t)
+        %standard-phases)))
+    (propagated-inputs
+     ;; libgoffice-0.8.pc mentions libgsf-1
+     `(("libgsf" ,libgsf)))
+    (inputs
+     `(("gtk" ,gtk+-2)
+       ,@(alist-delete "gtk" (package-inputs goffice))))))
+
 (define-public gnumeric
   (package
     (name "gnumeric")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]