From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: [PATCH] gnu: Add goffice and gnumeric Date: Sat, 28 Jun 2014 16:02:31 +0200 Message-ID: <1403964151-4537-1-git-send-email-jmd@gnu.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0tDT-0002jA-I1 for guix-devel@gnu.org; Sat, 28 Jun 2014 10:02:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0tDO-0007ye-JU for guix-devel@gnu.org; Sat, 28 Jun 2014 10:02:55 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: John Darrington gnu/packages/gnome.scm (goffice, gnumeric): New variables. --- gnu/packages/gnome.scm | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ee7c7c5..952ac38 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1090,3 +1090,80 @@ widgets built in the loading process.") controls using the Bonobo component framework.") (license license:lgpl2.0+))) + +(define-public goffice + (package + (name "goffice") + (version "0.10.14") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://gnome/sources/" name "/" + (string-take version 4) "/" name "-" + version ".tar.xz")) + (sha256 + (base32 "0kj0iwng6w4axm7yv2zy7myn5dhw5ilrlq2pzrjlm9i852ikqy60")))) + (build-system gnu-build-system) + (inputs + `(("gtk+" ,gtk+) + ("libgsf" ,libgsf) + ("librsvg" ,librsvg) + ("libxslt" ,libxslt) + ("libxml2" ,libxml2))) + (native-inputs + `(("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (home-page "https://developer.gnome.org/goffice/") + (synopsis "Document-centric objects and utilities") + (description "A GLib/GTK+ set of document-centric objects and utilities.") + (license + `(license:gpl2 + license:gpl3)))) + +(define-public gnumeric + (package + (name "gnumeric") + (version "1.12.17") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://gnome/sources/" name "/" + (string-take version 4) "/" name "-" version + ".tar.xz")) + (sha256 + (base32 + "18bvc3phghr4p5440fp8hm6gvp53d3mqs9cyc637zpmk0b6bcp7c")))) + (build-system gnu-build-system) + (arguments + `(;; The gnumeric developers don't worry much about failing tests. + ;; See https://bugzilla.gnome.org/show_bug.cgi?id=732387 + #:tests? #f + :phases + alist-cons-before + 'configure 'pre-conf + (lambda* (#:key outputs #:allow-other-keys) + ;; Make install tries to write into the directory of goffice + ;; I am informed that this only affects the possibility to embed a + ;; spreadsheet inside an abiword document. So presumably when we + ;; package abiword we'll have to refer it to this directory. + (substitute* "configure" + (("^GOFFICE_PLUGINS_DIR=.*") + (string-append "GOFFICE_PLUGINS_DIR=" + (assoc-ref outputs "out") "/goffice/plugins")))) + %standard-phases))) + (inputs + `(("glib" ,glib) + ("gtk+" ,gtk+) + ("goffice" ,goffice) + ("libgsf" ,libgsf) + ("libxml2" ,libxml2) + ("zlib" ,zlib))) + (native-inputs + `(("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (home-page "http://www.gnumeric.org") + (synopsis "Spreadsheet program") + (description "Gnumeric is a spreadsheet program for GNOME.") + (license + `(license:gpl3 + license:gpl2)))) -- 1.7.10.4