gnumeric: 1.12.43 → 1.12.44
Also remove entity definitions, gnumeric now inlines them: https://bugzilla.gnome.org/show_bug.cgi?id=790226
This commit is contained in:
parent
bdf46079f5
commit
eee2410062
@ -5,33 +5,23 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (pythonPackages) python pygobject3;
|
inherit (pythonPackages) python pygobject3;
|
||||||
isopub = fetchurl { url = http://www.oasis-open.org/docbook/xml/4.5/ent/isopub.ent; sha256 = "073l492jz70chcadr2p7ssx7gz5hd731s2cazhxx4r845kilyr77"; };
|
|
||||||
isonum = fetchurl { url = http://www.oasis-open.org/docbook/xml/4.5/ent/isonum.ent; sha256 = "04b62dw2g3cj9i4vn9xyrsrlz8fpmmijq98dm0nrkky31bwbbrs3"; };
|
|
||||||
isogrk1 = fetchurl { url = http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk1.ent; sha256 = "04b23anhs5wr62n4rgsjirzvw7rpjcsf8smz4ffzaqh3b0vw90vm"; };
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "gnumeric-1.12.43";
|
pname = "gnumeric";
|
||||||
|
version = "1.12.44";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnumeric/1.12/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "87c9abd6260cf29401fa1e0fcce374e8c7bcd1986608e4049f6037c9d32b5fd5";
|
sha256 = "0147962c6ybdsj57rz95nla0rls7g545wc2n7pz59zmzyd5pksk0";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--disable-component" ];
|
configureFlags = [ "--disable-component" ];
|
||||||
|
|
||||||
prePatch = ''
|
nativeBuildInputs = [ pkgconfig intltool bison itstool makeWrapper ];
|
||||||
substituteInPlace doc/C/gnumeric.xml \
|
|
||||||
--replace http://www.oasis-open.org/docbook/xml/4.5/ent/isopub.ent ${isopub} \
|
|
||||||
--replace http://www.oasis-open.org/docbook/xml/4.5/ent/isonum.ent ${isonum} \
|
|
||||||
--replace http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk1.ent ${isogrk1}
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
|
||||||
|
|
||||||
# ToDo: optional libgda, introspection?
|
# ToDo: optional libgda, introspection?
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
intltool bison
|
goffice gtk3 gnome3.defaultIconTheme
|
||||||
goffice gtk3 makeWrapper gnome3.defaultIconTheme
|
python pygobject3
|
||||||
python pygobject3 itstool
|
|
||||||
] ++ (with perlPackages; [ perl XMLParser ]);
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -44,6 +34,12 @@ in stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "The GNOME Office Spreadsheet";
|
description = "The GNOME Office Spreadsheet";
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user