2009-09-30 15:11:13 +02:00
|
|
|
{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2
|
|
|
|
, pango, libgsf, libxml2, libart, intltool, gettext
|
2012-10-09 17:24:21 +02:00
|
|
|
, cairo, gconf, libgnomeui, pcre }:
|
2009-09-30 15:11:13 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-10-09 17:24:21 +02:00
|
|
|
name = "goffice-0.8.17";
|
2009-09-30 15:11:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-10-09 17:24:21 +02:00
|
|
|
url = "mirror://gnome/sources/goffice/0.8/${name}.tar.xz";
|
|
|
|
sha256 = "165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15";
|
2009-09-30 15:11:13 +02:00
|
|
|
};
|
|
|
|
|
2013-02-23 19:16:42 +01:00
|
|
|
# fix linking error: undefined reference to pcre_info
|
|
|
|
patches = [ ./pcre_info.patch ]; # inspired by https://bugs.php.net/bug.php?id=60986
|
|
|
|
|
2009-09-30 15:11:13 +02:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig libglade bzip2 libart intltool gettext
|
2012-10-09 17:24:21 +02:00
|
|
|
gconf libgnomeui pcre
|
2009-09-30 15:11:13 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
# All these are in the "Requires:" field of `libgoffice-0.6.pc'.
|
|
|
|
glib libgsf libxml2 gtk libglade libart cairo pango
|
|
|
|
];
|
|
|
|
|
2012-10-09 17:24:21 +02:00
|
|
|
postInstall =
|
|
|
|
''
|
|
|
|
# Get GnuCash to build. Might be unnecessary if we upgrade pkgconfig.
|
|
|
|
substituteInPlace $out/lib/pkgconfig/libgoffice-*.pc --replace Requires.private Requires
|
|
|
|
'';
|
|
|
|
|
2009-09-30 15:11:13 +02:00
|
|
|
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";
|
|
|
|
|
2013-08-16 23:44:33 +02:00
|
|
|
maintainers = [ ];
|
2009-09-30 15:11:13 +02:00
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
|
|
};
|
|
|
|
}
|