goffice: separate from gnome3

It's got practically no coupling with gnome, except for gtk3.
This commit is contained in:
Vladimír Čunát 2015-06-11 20:50:43 +02:00
parent 03e4e3e92a
commit 39902b01bf
6 changed files with 11 additions and 13 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser
, gnome3, makeWrapper, gtk3
, goffice, gnome3, makeWrapper, gtk3
}:
stdenv.mkDerivation rec {
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
# ToDo: optional libgda, python, introspection?
buildInputs = [
pkgconfig intltool perl perlXMLParser
gnome3.goffice gtk3 makeWrapper gnome3.defaultIconTheme
goffice gtk3 makeWrapper gnome3.defaultIconTheme
];
enableParallelBuilding = true;

View File

@ -273,14 +273,6 @@ rec {
gfbgraph = callPackage ./misc/gfbgraph { };
goffice = callPackage ./misc/goffice { };
goffice_0_8 = callPackage ./misc/goffice/0.8.nix {
inherit (pkgs.gnome2) libglade libgnomeui;
gconf = pkgs.gnome2.GConf;
libart = pkgs.gnome2.libart_lgpl;
};
gitg = callPackage ./misc/gitg {
webkitgtk = webkitgtk24x;
};

View File

@ -1,6 +1,6 @@
{ fetchurl, stdenv, pkgconfig, glib, gtk, libglade, bzip2
, pango, libgsf, libxml2, libart, intltool, gettext
, cairo, gconf, libgnomeui, pcre, gnome3/*just meta*/ }:
, cairo, gconf, libgnomeui, pcre, goffice/*just meta*/ }:
stdenv.mkDerivation rec {
name = "goffice-0.8.17";
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = gnome3.goffice.meta // {
meta = goffice.meta // {
maintainers = [ ];
};
}

View File

@ -11260,7 +11260,13 @@ let
goffice = goffice_0_8;
};
goffice_0_8 = gnome3.goffice_0_8;
goffice = callPackage ../development/libraries/goffice { };
goffice_0_8 = callPackage ../development/libraries/goffice/0.8.nix {
inherit (pkgs.gnome2) libglade libgnomeui;
gconf = pkgs.gnome2.GConf;
libart = pkgs.gnome2.libart_lgpl;
};
idea = recurseIntoAttrs (callPackage ../applications/editors/idea { androidsdk = androidsdk_4_4; });