aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-04-19 18:38:24 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-05-07 20:16:50 +0200
commitc024ae3601d645fc332ba97895a77454433003b3 (patch)
tree1862c34c2d668fc0a12b76409daa459790d2cdc1 /gnu
parentf4d8f85555ad3fae9a27cee177ff4b72410809a9 (diff)
downloadguix-c024ae3601d645fc332ba97895a77454433003b3.tar
guix-c024ae3601d645fc332ba97895a77454433003b3.tar.gz
gnu: Add goffice-0.8.
* gnu/packages/gnome.scm (goffice-0.8): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm30
1 files changed, 29 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 96a21efd59..5caa1770cb 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")