diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2013-12-28 15:34:08 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2013-12-28 15:45:20 +0100 |
commit | a126ce011af5292f44c60f0a55423cec3917570c (patch) | |
tree | a95979b3006b167e90de09e6cb4bf5ca4206a2ca /pkgs/applications/office/gnumeric | |
parent | 9bcacfb1429b2232ecffa40c86f13c0ede1d32ce (diff) |
gnumeric: add schemas and icons, refactor
Also move goffice under gnome3, as it's released in the same way.
Diffstat (limited to 'pkgs/applications/office/gnumeric')
-rw-r--r-- | pkgs/applications/office/gnumeric/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/applications/office/gnumeric/default.nix b/pkgs/applications/office/gnumeric/default.nix index f4389716b76d6..10b486a438ffd 100644 --- a/pkgs/applications/office/gnumeric/default.nix +++ b/pkgs/applications/office/gnumeric/default.nix @@ -1,6 +1,5 @@ -{ stdenv, fetchurl -, bzip2, glib, goffice, gtk3, intltool, libglade, libgsf, libxml2 -, pango, pkgconfig, scrollkeeper, zlib +{ stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser +, goffice, makeWrapper, gtk3, gnome_icon_theme }: stdenv.mkDerivation rec { @@ -11,13 +10,21 @@ stdenv.mkDerivation rec { sha256 = "1rv2ifw6rp0iza4fkf3bffvdkyi77dwvzdnvcbpqcyn2kxfsvlsc"; }; + preConfigure = ''sed -i 's/\(SUBDIRS.*\) doc/\1/' Makefile.in''; # fails when installing docs + configureFlags = "--disable-component"; + # ToDo: optional libgda, python, introspection? buildInputs = [ - bzip2 glib goffice gtk3 intltool libglade libgsf libxml2 - pango pkgconfig scrollkeeper zlib + pkgconfig intltool perl perlXMLParser + goffice gtk3 makeWrapper ]; + postInstall = '' + wrapProgram "$out"/bin/gnumeric-* \ + --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome_icon_theme}/share" + ''; + meta = { description = "The GNOME Office Spreadsheet"; license = "GPLv2+"; |