Hello, The attached patch adds libunique in order to build nautilus successfully. Now nautilus compiles, but after a few seconds it terminates because of a missing gconfd running.
Then I read that compiz also needs a gconfd, so I tried to install that which failed on compilation of libsoup which in turn requires libproxy. So this patch also adds libproxy under development/libraries/libproxy to be able to compile libsoup. This works now, but compiz still failes to compile when it comes to libgweather. This library needs timezone data installed. I had a look on this and it seems that timezone needs two packages, one for the data and one for the code. For me this looks like it wont fit very good in the nix build process, where every package has exactly one source. Any ideas would be appreciated. best regards, Christoph Herbst.
Index: pkgs/development/libraries/libproxy/default.nix
===================================================================
--- pkgs/development/libraries/libproxy/default.nix (revision 0)
+++ pkgs/development/libraries/libproxy/default.nix (revision 0)
@@ -0,0 +1,13 @@
+args: with args;
+
+stdenv.mkDerivation rec {
+ name = "libproxy-0.2.3";
+
+ src = fetchurl {
+ url = "http://libproxy.googlecode.com/files/${name}.tar.gz";
+ sha256 = "16ikq42ffrfd60j57r0l488r8zgkyxcn7l69gkijjzalndhd3pjr";
+ };
+
+ buildInputs = [gettext];
+}
+
Index: pkgs/desktops/gnome/default.nix
===================================================================
--- pkgs/desktops/gnome/default.nix (revision 15730)
+++ pkgs/desktops/gnome/default.nix (working copy)
@@ -76,6 +76,15 @@
buildInputs = [pkgconfig atk gtk];
};
+ libunique = stdenv.mkDerivation {
+ name = "libunique-1.0.8";
+ src = fetchurl {
+ url = "http://ftp.gnome.org/pub/GNOME/sources/libunique/1.0/libunique-1.0.8.tar.bz2";
+ sha256 = "1iplvmc41h64kdrsgpvb03mawzvflarvlpk5mng4xw9sa87s29yn";
+ };
+ buildInputs = [pkgconfig glib gtk x11];
+ };
+
libgnome = import ./libgnome.nix {
inherit fetchurl stdenv gnome pkgconfig perl perlXMLParser
popt zlib esound gettext intltool;
@@ -229,13 +238,25 @@
buildInputs = [
pkgconfig perl perlXMLParser gtk glib libgnomeui
- scrollkeeper libjpeg gnomedocutils gettext which
+ libjpeg gnomedocutils gettext which
python libxml2Python libxslt intltool
];
configureFlags = "--disable-scrollkeeper";
};
+ nautilus = stdenv.mkDerivation {
+ inherit (desktop.nautilus) name src;
+
+ buildInputs = [
+ pkgconfig gtk glib dbus_glib libgnomeui
+ gnomedocutils gnomedesktop gettext
+ intltool libunique
+ ];
+
+ configureFlags = "--disable-update-mimedb";
+ };
+
libwnck = stdenv.mkDerivation {
inherit (desktop.libwnck) name src;
buildInputs = [pkgconfig gtk perl perlXMLParser gettext intltool];
@@ -275,13 +296,13 @@
};
libsoup = import ./libsoup.nix {
- inherit stdenv fetchurl pkgconfig libxml2 glib;
+ inherit stdenv fetchurl pkgconfig libxml2 glib libproxy GConf sqlite;
input = desktop.libsoup;
};
startupnotification = import ./startup-notification.nix {
inherit stdenv fetchurl pkgconfig x11;
- # Strangely, startup-notificatio has disappeared from Gnome
+ # Strangely, startup-notification has disappeared from Gnome
# releases, but it's still used.
input = {
name = "startup-notification-0.8";
Index: pkgs/desktops/gnome/libsoup.nix
===================================================================
--- pkgs/desktops/gnome/libsoup.nix (revision 15730)
+++ pkgs/desktops/gnome/libsoup.nix (working copy)
@@ -1,6 +1,6 @@
-{input, stdenv, fetchurl, pkgconfig, libxml2, glib}:
+{input, stdenv, fetchurl, pkgconfig, libxml2, glib, libproxy, GConf, sqlite}:
stdenv.mkDerivation {
inherit (input) name src;
- buildInputs = [pkgconfig libxml2 glib];
+ buildInputs = [pkgconfig libxml2 glib libproxy GConf sqlite];
}
Index: pkgs/top-level/all-packages.nix
===================================================================
--- pkgs/top-level/all-packages.nix (revision 15730)
+++ pkgs/top-level/all-packages.nix (working copy)
@@ -3411,6 +3411,10 @@
inherit fetchurl stdenv gettext;
};
+ libproxy = import ../development/libraries/libproxy {
+ inherit fetchurl stdenv gettext;
+ };
+
libextractor = composedArgsAndFun (selectVersion ../development/libraries/libextractor "0.5.18") {
inherit fetchurl stdenv builderDefs zlib;
};
@@ -7367,7 +7371,7 @@
gettext x11 libtiff libjpeg libpng gtkLibs xlibs bzip2
libcm python dbus dbus_glib ncurses which libxml2Python
iconnamingutils openssl hal samba fam libgcrypt libtasn1
- xmlto docbook2x docbook_xsl intltool enchant isocodes policyKit;
+ xmlto docbook2x docbook_xsl intltool enchant isocodes policyKit libproxy sqlite;
});
kde3 = {
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
