From a126ce011af5292f44c60f0a55423cec3917570c Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sat, 28 Dec 2013 15:34:08 +0100 Subject: gnumeric: add schemas and icons, refactor Also move goffice under gnome3, as it's released in the same way. --- pkgs/development/libraries/goffice/0.10.nix | 37 ----------------- pkgs/development/libraries/goffice/default.nix | 48 ---------------------- pkgs/development/libraries/goffice/pcre_info.patch | 13 ------ 3 files changed, 98 deletions(-) delete mode 100644 pkgs/development/libraries/goffice/0.10.nix delete mode 100644 pkgs/development/libraries/goffice/default.nix delete mode 100644 pkgs/development/libraries/goffice/pcre_info.patch (limited to 'pkgs/development/libraries/goffice') diff --git a/pkgs/development/libraries/goffice/0.10.nix b/pkgs/development/libraries/goffice/0.10.nix deleted file mode 100644 index 20414952834..00000000000 --- a/pkgs/development/libraries/goffice/0.10.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2 -, pango, libgsf, libxml2, libart, librsvg, intltool, gettext -, cairo, gconf, libgnomeui }: - -stdenv.mkDerivation rec { - name = "goffice-0.10.9"; - - src = fetchurl { - url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz"; - sha256 = "0xc82hymhkdglnksd3r7405p39d5ym826rwaa7dfkps5crjwq8cg"; - }; - - buildInputs = [ - pkgconfig libglade bzip2 libart intltool gettext - gconf libgnomeui - ]; - - propagatedBuildInputs = [ - glib libgsf libxml2 gtk libglade libart librsvg cairo pango - ]; - - doCheck = true; - - meta = { - description = "GOffice, a Glib/GTK+ set of document centric objects and utilities"; - - longDescription = '' - There are common operations for document centric applications that are - conceptually simple, but complex to implement fully: plugins, load/save - documents, undo/redo. - ''; - - license = "GPLv2+"; - - platforms = stdenv.lib.platforms.gnu; - }; -} diff --git a/pkgs/development/libraries/goffice/default.nix b/pkgs/development/libraries/goffice/default.nix deleted file mode 100644 index 016b340c51f..00000000000 --- a/pkgs/development/libraries/goffice/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2 -, pango, libgsf, libxml2, libart, intltool, gettext -, cairo, gconf, libgnomeui, pcre }: - -stdenv.mkDerivation rec { - name = "goffice-0.8.17"; - - src = fetchurl { - url = "mirror://gnome/sources/goffice/0.8/${name}.tar.xz"; - sha256 = "165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15"; - }; - - # fix linking error: undefined reference to pcre_info - patches = [ ./pcre_info.patch ]; # inspired by https://bugs.php.net/bug.php?id=60986 - - buildInputs = [ - pkgconfig libglade bzip2 libart intltool gettext - gconf libgnomeui pcre - ]; - - propagatedBuildInputs = [ - # All these are in the "Requires:" field of `libgoffice-0.6.pc'. - glib libgsf libxml2 gtk libglade libart cairo pango - ]; - - postInstall = - '' - # Get GnuCash to build. Might be unnecessary if we upgrade pkgconfig. - substituteInPlace $out/lib/pkgconfig/libgoffice-*.pc --replace Requires.private Requires - ''; - - doCheck = true; - - meta = { - description = "GOffice, a Glib/GTK+ set of document centric objects and utilities"; - - longDescription = '' - There are common operations for document centric applications that are - conceptually simple, but complex to implement fully: plugins, load/save - documents, undo/redo. - ''; - - license = "GPLv2"; - - maintainers = [ ]; - platforms = stdenv.lib.platforms.gnu; - }; -} diff --git a/pkgs/development/libraries/goffice/pcre_info.patch b/pkgs/development/libraries/goffice/pcre_info.patch deleted file mode 100644 index cd4ef3c9fed..00000000000 --- a/pkgs/development/libraries/goffice/pcre_info.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/goffice/utils/regutf8.c b/goffice/utils/regutf8.c -index bc4aae4..3adb696 100644 ---- a/goffice/utils/regutf8.c -+++ b/goffice/utils/regutf8.c -@@ -155,7 +155,7 @@ go_regcomp (GORegexp *gor, const char *pat, int cflags) - default: return GO_REG_BADPAT; - } - } else { -- gor->re_nsub = pcre_info (r, NULL, NULL); -+ gor->re_nsub = pcre_fullinfo (r, NULL, NULL, NULL); - gor->nosub = (cflags & GO_REG_NOSUB) != 0; - return 0; - } -- cgit 1.4.1