Adding (quite blindly) some gnome packages to get gnucash built.

svn path=/nixpkgs/trunk/; revision=19638
This commit is contained in:
Lluís Batlle i Rossell 2010-01-24 21:32:09 +00:00
parent f6c80710f5
commit 6f462d2c7c
6 changed files with 60 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{ fetchurl, stdenv, pkgconfig, libxml2, gconf, glib, gtk
, libglade, libgnomeui, libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant
, libglade, libgnomeui, libgtkhtml, libgnomeprint, goffice, enchant
, gettext, intltool, perl, guile, slibGuile, swig, isocodes, bzip2
, makeWrapper }:
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [
pkgconfig libxml2 gconf glib gtk
libglade libgnomeui libgtkhtml gtkhtml libgnomeprint goffice enchant
libglade libgnomeui libgtkhtml libgnomeprint goffice enchant
gettext intltool perl guile slibGuile swig isocodes bzip2 makeWrapper
];

View file

@ -11,8 +11,6 @@ rec {
gnomeicontheme = gnome_icon_theme;
# !!! Missing! Need to add these.
libgnomeprint = throw "libgnomeprint not implemented";
libgtkhtml = throw "libgtkhtml not implemented";
vte = throw "vte not implemented";
gtksourceview_24 = gtksourceview;
@ -47,6 +45,23 @@ rec {
inherit (pkgs) stdenv fetchurl pkgconfig libxml2 python gettext;
inherit (pkgs.gtkLibs) gtk;
};
libgnomeprint = import ./platform/libgnomeprint {
inherit intltool libart_lgpl libgnomecups;
inherit (pkgs) stdenv fetchurl pkgconfig gettext libxml2 bison flex;
inherit (pkgs.gtkLibs) gtk;
};
libgnomecups = import ./platform/libgnomecups {
inherit intltool libart_lgpl;
inherit (pkgs) stdenv fetchurl pkgconfig gettext libxml2;
inherit (pkgs.gtkLibs) gtk;
};
libgtkhtml = import ./platform/libgtkhtml {
inherit (pkgs) stdenv fetchurl pkgconfig gettext libxml2;
inherit (pkgs.gtkLibs) gtk;
};
intltool = import ./platform/intltool {
inherit (pkgs) stdenv fetchurl pkgconfig perl perlXMLParser gettext;

View file

@ -0,0 +1,13 @@
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
stdenv.mkDerivation {
name = "libgnomecups-0.2.3";
src = fetchurl {
url = mirror://gnome/sources/libgnomecups/0.2/libgnomecups-0.2.3.tar.bz2;
sha256 = "0a8xdaxzz2wc0n1fjcav65093gixzyac3948l8cxx1mk884yhc71";
};
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl ];
propagatedBuildInputs = [ libxml2 ];
}

View file

@ -0,0 +1,14 @@
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl, libgnomecups, bison,
flex }:
stdenv.mkDerivation {
name = "libgnomeprint-2.11.1";
src = fetchurl {
url = mirror://gnome/sources/libgnomeprint/2.18/libgnomeprint-2.18.6.tar.bz2;
sha256 = "15c00ya2mx0x4mh8lyy3xg9dd66z5yjnax74bqx99zd90sar10fg";
};
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl libgnomecups bison flex ];
propagatedBuildInputs = [ libxml2 ];
}

View file

@ -0,0 +1,13 @@
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2 }:
stdenv.mkDerivation {
name = "libgtkhtml-2.11.1";
src = fetchurl {
url = mirror://gnome/sources/libgtkhtml/2.11/libgtkhtml-2.11.1.tar.bz2;
sha256 = "0msajafd42545dxzyr5zqka990cjrxw2yz09ajv4zs8m1w6pm9rw";
};
buildInputs = [ pkgconfig gtk gettext ];
propagatedBuildInputs = [ libxml2 ];
}

View file

@ -6983,7 +6983,7 @@ let
gnucash = import ../applications/office/gnucash {
inherit fetchurl stdenv pkgconfig libxml2 goffice enchant
gettext intltool perl guile slibGuile swig isocodes bzip2 makeWrapper;
inherit (gnome) gtk glib libglade libgnomeui libgtkhtml gtkhtml
inherit (gnome) gtk glib libglade libgnomeui libgtkhtml
libgnomeprint;
gconf = gnome.GConf;
};