From 7bea3189aa4faa8b0ca7e8ab107a421cd38b6239 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 3 Jun 2009 12:28:25 +0000 Subject: [PATCH] Added my very experimental GNOME 2.26 expression svn path=/nixpkgs/trunk/; revision=15839 --- pkgs/desktops/gnome-2.26/default.nix | 221 ++++++++++++++++++ .../desktop/gnome-desktop/default.nix | 13 ++ .../desktop/gnome-doc-utils/default.nix | 11 + .../desktop/gnome-keyring/default.nix | 10 + .../desktop/gnome-menus/default.nix | 10 + .../desktop/gnome-panel/default.nix | 24 ++ .../desktop/gnome-session/default.nix | 16 ++ .../gnome-2.26/desktop/gvfs/builder.sh | 9 + .../gnome-2.26/desktop/gvfs/default.nix | 13 ++ .../gnome-2.26/desktop/libcroco/default.nix | 10 + .../desktop/libgweather/default.nix | 11 + .../gnome-2.26/desktop/librsvg/default.nix | 10 + .../gnome-2.26/desktop/libsoup/default.nix | 10 + .../gnome-2.26/desktop/libwnck/default.nix | 10 + .../gnome-2.26/desktop/metacity/default.nix | 12 + .../gnome-2.26/desktop/nautilus/default.nix | 10 + .../desktop/scrollkeeper/default.nix | 14 ++ .../gnome-2.26/desktop/zenity/default.nix | 15 ++ .../gnome-2.26/platform/GConf/default.nix | 12 + .../gnome-2.26/platform/ORBit2/default.nix | 10 + .../gnome-2.26/platform/at-spi/default.nix | 12 + .../gnome-2.26/platform/audiofile/default.nix | 9 + .../gnome-2.26/platform/esound/default.nix | 10 + .../platform/gnome-mime-data/default.nix | 10 + .../platform/gnome-vfs-monikers/default.nix | 13 ++ .../gnome-2.26/platform/gnome-vfs/default.nix | 12 + .../gnome-2.26/platform/gtk-doc/default.nix | 27 +++ .../gnome-2.26/platform/intltool/default.nix | 13 ++ .../gnome-2.26/platform/libIDL/default.nix | 10 + .../platform/libart_lgpl/default.nix | 9 + .../gnome-2.26/platform/libbonobo/default.nix | 10 + .../platform/libbonoboui/default.nix | 23 ++ .../gnome-2.26/platform/libglade/default.nix | 10 + .../gnome-2.26/platform/libgnome/default.nix | 13 ++ .../platform/libgnomecanvas/default.nix | 11 + .../platform/libgnomeui/default.nix | 21 ++ .../gnome-2.26/platform/libunique/default.nix | 10 + .../platform/startup-notification/default.nix | 10 + .../libraries/libproxy/default.nix | 9 + pkgs/top-level/all-packages.nix | 6 + 40 files changed, 699 insertions(+) create mode 100644 pkgs/desktops/gnome-2.26/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/gnome-desktop/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/gnome-doc-utils/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/gnome-keyring/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/gnome-menus/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/gnome-panel/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/gnome-session/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/gvfs/builder.sh create mode 100644 pkgs/desktops/gnome-2.26/desktop/gvfs/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/libcroco/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/libgweather/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/librsvg/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/libsoup/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/libwnck/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/metacity/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/nautilus/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/scrollkeeper/default.nix create mode 100644 pkgs/desktops/gnome-2.26/desktop/zenity/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/GConf/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/ORBit2/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/at-spi/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/audiofile/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/esound/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/gnome-mime-data/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/gnome-vfs-monikers/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/gnome-vfs/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/gtk-doc/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/intltool/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libIDL/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libart_lgpl/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libbonobo/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libbonoboui/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libglade/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libgnome/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libgnomecanvas/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libgnomeui/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/libunique/default.nix create mode 100644 pkgs/desktops/gnome-2.26/platform/startup-notification/default.nix create mode 100644 pkgs/development/libraries/libproxy/default.nix diff --git a/pkgs/desktops/gnome-2.26/default.nix b/pkgs/desktops/gnome-2.26/default.nix new file mode 100644 index 000000000000..2ae7d34a22a1 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/default.nix @@ -0,0 +1,221 @@ +pkgs: + +rec { +#### PLATFORM + audiofile = import ./platform/audiofile { + inherit (pkgs) stdenv fetchurl; + }; + + esound = import ./platform/esound { + inherit (pkgs) stdenv fetchurl pkgconfig alsaLib; + inherit audiofile; + }; + + libIDL = import ./platform/libIDL { + inherit (pkgs) stdenv fetchurl flex bison pkgconfig; + inherit (pkgs.gtkLibs) glib; + }; + + ORBit2 = import ./platform/ORBit2 { + inherit (pkgs) stdenv fetchurl pkgconfig; + inherit (pkgs.gtkLibs) glib; + inherit libIDL; + }; + + libart_lgpl = import ./platform/libart_lgpl { + inherit (pkgs) stdenv fetchurl; + }; + + libglade = import ./platform/libglade { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2 expat python gettext; + inherit (pkgs.gtkLibs) gtk; + }; + + intltool = import ./platform/intltool { + inherit (pkgs) stdenv fetchurl pkgconfig perl perlXMLParser gettext; + }; + + GConf = import ./platform/GConf { + inherit (pkgs) stdenv fetchurl pkgconfig dbus_glib libxml2 expat policyKit; + inherit (pkgs.gtkLibs) glib gtk; + inherit intltool ORBit2; + }; + + libgnomecanvas = import ./platform/libgnomecanvas { + inherit (pkgs) stdenv fetchurl pkgconfig cairo; + inherit (pkgs.gtkLibs) glib gtk pango atk; + inherit intltool libart_lgpl libglade; + }; + + gnome_mime_data = import ./platform/gnome-mime-data { + inherit (pkgs) stdenv fetchurl; + inherit intltool; + }; + + gnome_vfs = import ./platform/gnome-vfs { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2 bzip2 openssl samba dbus_glib fam hal cdparanoia; + inherit (pkgs.gtkLibs) glib; + inherit intltool GConf gnome_mime_data; + }; + + gnome_vfs_monikers = import ./platform/gnome-vfs-monikers { + inherit (pkgs) stdenv fetchurl pkgconfig; + inherit (pkgs.gtkLibs) glib; + inherit intltool gnome_vfs libbonobo ORBit2; + }; + + libgnome = import ./platform/libgnome { + inherit (pkgs) stdenv fetchurl pkgconfig popt; + inherit (pkgs.gtkLibs) glib; + inherit intltool esound audiofile libbonobo GConf gnome_vfs ORBit2; + }; + + libgnomeui = import ./platform/libgnomeui { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2 popt cairo; + inherit (pkgs.xlibs) libX11 libICE; + inherit (pkgs.gtkLibs) glib gtk atk pango; + inherit intltool libgnome libgnomecanvas libbonobo libbonoboui GConf; + inherit gnome_vfs gnome_keyring libglade libart_lgpl ORBit2; + }; + + libbonobo = import ./platform/libbonobo { + inherit (pkgs) stdenv fetchurl flex bison pkgconfig dbus_glib libxml2 popt; + inherit (pkgs.gtkLibs) glib; + inherit intltool ORBit2; + }; + + libbonoboui = import ./platform/libbonoboui { + inherit (pkgs) stdenv fetchurl bison pkgconfig popt libxml2 cairo; + inherit (pkgs.gtkLibs) glib gtk atk pango; + inherit intltool libbonobo GConf libgnomecanvas libgnome libglade ORBit2 libart_lgpl; + }; + + at_spi = import ./platform/at-spi { + inherit (pkgs) stdenv fetchurl python pkgconfig popt; + inherit (pkgs.xlibs) libX11 libICE libXtst libXi; + inherit (pkgs.gtkLibs) atk gtk; + inherit intltool libbonobo ORBit2; + }; + + gtk_doc = import ./platform/gtk-doc { + inherit (pkgs) stdenv fetchurl pkgconfig perl python libxml2 libxslt; + inherit (pkgs) docbook_xml_dtd_43 docbook_xsl; + inherit gnome_doc_utils; + }; + + # Freedesktop library + startup_notification = import ./platform/startup-notification { + inherit (pkgs) stdenv fetchurl pkgconfig; + inherit (pkgs.xlibs) libX11 libxcb libICE xcbutil libSM; + }; + + # Required for nautilus + libunique = import ./platform/libunique { + inherit (pkgs) stdenv fetchurl pkgconfig gettext; + inherit (pkgs.gtkLibs) gtk; + }; + +#### DESKTOP + + gnome_keyring = import ./desktop/gnome-keyring { + inherit (pkgs) stdenv fetchurl pkgconfig dbus libgcrypt libtasn1 pam hal python; + inherit (pkgs.gtkLibs) glib gtk; + inherit intltool GConf; + }; + + libsoup = import ./desktop/libsoup { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2 gnutls libproxy sqlite curl; + inherit (pkgs.gtkLibs) glib; + inherit GConf; + }; + + libwnck = import ./desktop/libwnck { + inherit (pkgs) stdenv fetchurl pkgconfig; + inherit (pkgs.xlibs) libX11; + inherit (pkgs.gtkLibs) gtk; + inherit intltool; + }; + + # Not part of GNOME desktop, but provides CSS support for librsvg + libcroco = import ./desktop/libcroco { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2; + inherit (pkgs.gtkLibs) glib; + }; + + librsvg = import ./desktop/librsvg { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2 libgsf bzip2; + inherit (pkgs.gtkLibs) glib gtk; + inherit libcroco; + }; + + libgweather = import ./desktop/libgweather { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2; + inherit (pkgs.gtkLibs) gtk; + inherit intltool GConf libsoup; + }; + + gvfs = import ./desktop/gvfs { + inherit (pkgs) stdenv fetchurl pkgconfig dbus samba hal libarchive fuse libgphoto2 cdparanoia libxml2 libtool; + inherit (pkgs.gtkLibs) glib; + inherit intltool GConf gnome_keyring libsoup; + }; + + # Removed from recent GNOME releases, but still required + scrollkeeper = import ./desktop/scrollkeeper { + inherit (pkgs) stdenv fetchurl pkgconfig perl perlXMLParser libxml2 libxslt docbook_xml_dtd_42; + }; + + gnome_doc_utils = import ./desktop/gnome-doc-utils { + inherit (pkgs) stdenv fetchurl python pkgconfig libxml2 libxslt; + inherit intltool scrollkeeper; + }; + + zenity = import ./desktop/zenity { + inherit (pkgs) stdenv fetchurl pkgconfig cairo libxml2 libxslt; + inherit (pkgs.gtkLibs) glib gtk pango atk; + inherit gnome_doc_utils intltool libglade; + }; + + metacity = import ./desktop/metacity { + inherit (pkgs) stdenv fetchurl pkgconfig; + inherit (pkgs.gtkLibs) glib gtk; + inherit (pkgs.xlibs) libXcomposite libXcursor libXdamage; + inherit intltool GConf startup_notification zenity gnome_doc_utils; + }; + + gnome_menus = import ./desktop/gnome-menus { + inherit (pkgs) stdenv fetchurl pkgconfig python; + inherit (pkgs.gtkLibs) glib; + inherit intltool; + }; + + gnome_desktop = import ./desktop/gnome-desktop { + inherit (pkgs) stdenv fetchurl pkgconfig python libxslt which; + libxml2 = pkgs.libxml2Python; + inherit (pkgs.xlibs) libX11; + inherit (pkgs.gtkLibs) gtk; + inherit intltool GConf gnome_doc_utils; + }; + + gnome_panel = import ./desktop/gnome-panel { + inherit (pkgs) stdenv fetchurl pkgconfig dbus_glib dbus cairo popt which bzip2 python libxslt; + libxml2 = pkgs.libxml2Python; + inherit (pkgs.gtkLibs) glib gtk pango atk; + inherit (pkgs.xlibs) libXau; + inherit intltool ORBit2 libglade libgnome libgnomeui libbonobo libbonoboui GConf gnome_menus gnome_desktop; + inherit libwnck librsvg libgweather gnome_doc_utils libgnomecanvas libart_lgpl; + }; + + gnome_session = import ./desktop/gnome-session { + inherit (pkgs) stdenv fetchurl pkgconfig dbus_glib cairo dbus; + inherit (pkgs.gtkLibs) gtk pango atk; + inherit (pkgs.xlibs) libXau libXtst inputproto; + inherit intltool libglade startup_notification GConf; + }; + + nautilus = import ./desktop/nautilus { + inherit (pkgs) stdenv fetchurl pkgconfig libxml2 dbus_glib libexif shared_mime_info; + inherit (pkgs.gtkLibs) gtk; + inherit gnome_desktop libunique intltool GConf; + }; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/gnome-desktop/default.nix b/pkgs/desktops/gnome-2.26/desktop/gnome-desktop/default.nix new file mode 100644 index 000000000000..ae6651aac32e --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gnome-desktop/default.nix @@ -0,0 +1,13 @@ +{ stdenv, fetchurl, pkgconfig, python, libxml2, libxslt, which, libX11, gtk +, intltool, GConf, gnome_doc_utils}: + +stdenv.mkDerivation { + name = "gnome-desktop-2.26.2"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/gnome-desktop-2.26.2.tar.bz2; + sha256 = "0aphqbrgczcng1wgkgjkcy5nw88y407d4flcs0bszicqrvzsyl2d"; + }; + configureFlags = "--disable-scrollkeeper"; + buildInputs = [ pkgconfig python libxml2 libxslt which libX11 gtk + intltool GConf gnome_doc_utils ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/gnome-doc-utils/default.nix b/pkgs/desktops/gnome-2.26/desktop/gnome-doc-utils/default.nix new file mode 100644 index 000000000000..fae5003519e8 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gnome-doc-utils/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, python, pkgconfig, libxml2, libxslt, intltool, scrollkeeper}: + +stdenv.mkDerivation { + name = "gnome-doc-utils-0.16.1"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/gnome-doc-utils-0.16.1.tar.bz2; + sha256 = "0j722qk8drib65abbjsva0cq25wzq7adag9m7hxjpi7wdvqcgq3k"; + }; + configureFlags = "--disable-scrollkeeper"; + buildInputs = [ python pkgconfig libxml2 libxslt intltool scrollkeeper ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/gnome-keyring/default.nix b/pkgs/desktops/gnome-2.26/desktop/gnome-keyring/default.nix new file mode 100644 index 000000000000..80c5578390d1 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gnome-keyring/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, dbus, libgcrypt, libtasn1, pam, hal, python, glib, gtk, intltool, GConf}: + +stdenv.mkDerivation { + name = "gnome-keyring-2.26.1"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/gnome-keyring-2.26.1.tar.bz2; + sha256 = "09krpx4nrcrf0ghvfcpg3gxnna6a97drya36ypcijb35cdwrm9s7"; + }; + buildInputs = [ pkgconfig dbus.libs libgcrypt libtasn1 pam hal python glib gtk intltool GConf ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/gnome-menus/default.nix b/pkgs/desktops/gnome-2.26/desktop/gnome-menus/default.nix new file mode 100644 index 000000000000..fabd18bf1c00 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gnome-menus/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, python, glib, intltool}: + +stdenv.mkDerivation { + name = "gnome-menus-2.26.1"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/gnome-menus-2.26.1.tar.bz2; + sha256 = "1r44zrmkb2s29f32q8pn06khr50s3b2kcbmkgfl5gvrsczv9cmia"; + }; + buildInputs = [ pkgconfig python glib intltool ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/gnome-panel/default.nix b/pkgs/desktops/gnome-2.26/desktop/gnome-panel/default.nix new file mode 100644 index 000000000000..82dfea538c26 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gnome-panel/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, pkgconfig, dbus_glib, dbus, cairo, popt, which, libxml2, libxslt, bzip2, python +, glib, gtk, pango, atk, libXau +, intltool, ORBit2, libglade, libgnome, libgnomeui, libbonobo, libbonoboui, GConf, gnome_menus, gnome_desktop +, libwnck, librsvg, libgweather, gnome_doc_utils, libgnomecanvas, libart_lgpl}: + +stdenv.mkDerivation { + name = "gnome-panel-2.26.2"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/gnome-panel-2.26.2.tar.bz2; + sha256 = "1sghh2jj306ckdh65c73kqrdpx3zx7j4bbw9gj65wsad3hv40hgb"; + }; + buildInputs = [ pkgconfig gtk dbus_glib popt which libxml2 libxslt bzip2 python libXau + intltool ORBit2 libglade libgnome libgnomeui libbonobo libbonoboui GConf gnome_menus gnome_desktop + libwnck librsvg libgweather gnome_doc_utils ]; + configureFlags = "--disable-scrollkeeper"; + CPPFLAGS = "-I${glib}/include/glib-2.0 -I${glib}/include/gio-unix-2.0 -I${glib}/lib/glib-2.0/include -I${dbus_glib}/include/dbus-1.0 -I${dbus.libs}/include/dbus-1.0 "+ + "-I${gtk}/include/gtk-2.0 -I${gtk}/lib/gtk-2.0/include -I${cairo}/include/cairo -I${pango}/include/pango-1.0 "+ + "-I${atk}/include/atk-1.0 -I${ORBit2}/include/orbit-2.0 -I${libbonobo}/include/bonobo-activation-2.0 "+ + "-I${libgnomeui}/include/libgnomeui-2.0 -I${libgnome}/include/libgnome-2.0 -I${GConf}/include/gconf/2 "+ + "-I${libglade}/include/libglade-2.0 -I${gnome_menus}/include/gnome-menus -I${gnome_desktop}/include/gnome-desktop-2.0 "+ + "-I${libbonoboui}/include/libbonoboui-2.0 -I${libbonobo}/include/libbonobo-2.0 -I${libgnomecanvas}/include/libgnomecanvas-2.0 "+ + "-I${libart_lgpl}/include/libart-2.0 -I${librsvg}/include/librsvg-2 -I${libwnck}/include/libwnck-1.0"; + LIBS = "-lORBit-2 -lbonobo-2 -lgtk-x11-2.0 -lgconf-2 -lgnomeui-2 -lglade-2.0 -lgnome-menu -lgnome-desktop-2 -lrsvg-2 -lwnck-1"; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/gnome-session/default.nix b/pkgs/desktops/gnome-2.26/desktop/gnome-session/default.nix new file mode 100644 index 000000000000..79f58c64d2f0 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gnome-session/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl, pkgconfig, dbus_glib, cairo, dbus, gtk, pango, atk, libXau, libXtst, inputproto +, intltool, libglade, startup_notification, GConf}: + +stdenv.mkDerivation { + name = "gnome-session-2.26.1"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/gnome-session-2.26.1.tar.bz2; + sha256 = "0cmw1p07gw7bjiq31mmm7fjhr84zq7x7rzbphfws4sgd8bn09qrm"; + }; + buildInputs = [ pkgconfig dbus_glib gtk libXau libXtst inputproto intltool libglade startup_notification GConf ]; + CPPFLAGS = "-I${gtk}/include/gtk-2.0 -I${gtk}/lib/gtk-2.0/include -I${dbus_glib}/include/dbus-1.0 "+ + "-I${pango}/include/pango-1.0 -I${atk}/include/atk-1.0 -I${cairo}/include/cairo "+ + "-I${dbus.libs}/include/dbus-1.0 -I${dbus.libs}/lib/dbus-1.0/include "+ + "-I${libglade}/include/libglade-2.0"; + LIBS = "-lglade-2.0 -ldbus-glib-1"; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/gvfs/builder.sh b/pkgs/desktops/gnome-2.26/desktop/gvfs/builder.sh new file mode 100644 index 000000000000..5be453c09a24 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gvfs/builder.sh @@ -0,0 +1,9 @@ +source $stdenv/setup + +myPatchPhase() +{ + sed -i -e "/giomodulesdir=/ agiomodulesdir=$out/lib/gio" configure +} + +patchPhase=myPatchPhase +genericBuild diff --git a/pkgs/desktops/gnome-2.26/desktop/gvfs/default.nix b/pkgs/desktops/gnome-2.26/desktop/gvfs/default.nix new file mode 100644 index 000000000000..8ecceda63d5c --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/gvfs/default.nix @@ -0,0 +1,13 @@ +{ stdenv, fetchurl, pkgconfig, dbus, samba, hal, libarchive, fuse, libgphoto2 +, cdparanoia, libxml2, libtool, glib, intltool, GConf, gnome_keyring, libsoup}: + +stdenv.mkDerivation { + name = "gvfs-1.2.3"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/gvfs-1.2.3.tar.bz2; + sha256 = "0yaq7qi9da963ppp7jlgac3zzwlhczpp1swdbaklnl343c64hp9r"; + }; + builder = ./builder.sh; + buildInputs = [ pkgconfig dbus.libs samba hal libarchive fuse libgphoto2 cdparanoia libxml2 libtool + glib intltool GConf gnome_keyring libsoup ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/libcroco/default.nix b/pkgs/desktops/gnome-2.26/desktop/libcroco/default.nix new file mode 100644 index 000000000000..e724940e31df --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/libcroco/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, libxml2, glib}: + +stdenv.mkDerivation { + name = "libcroco-0.6.2"; + src = fetchurl { + url = mirror://gnome/sources/libcroco/0.6/libcroco-0.6.2.tar.bz2; + sha256 = "0j8p6xlpdhhbzjznr7rx7jiy3fi95qib0gsnkv9n76y0chzqa95y"; + }; + buildInputs = [ pkgconfig libxml2 glib ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/libgweather/default.nix b/pkgs/desktops/gnome-2.26/desktop/libgweather/default.nix new file mode 100644 index 000000000000..524e6b415db3 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/libgweather/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, pkgconfig, libxml2, gtk, intltool, GConf, libsoup}: + +stdenv.mkDerivation { + name = "libgweather-2.26.1"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/libgweather-2.26.1.tar.bz2; + sha256 = "0hhqf4w5n3jxsl2g1a772vawlpkj4k59nikil3a6z1pcw3gygkdc"; + }; + configureFlags = "--with-zoneinfo-dir=${stdenv.glibc}/share/zoneinfo"; + buildInputs = [ pkgconfig libxml2 gtk intltool GConf libsoup ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/librsvg/default.nix b/pkgs/desktops/gnome-2.26/desktop/librsvg/default.nix new file mode 100644 index 000000000000..e8b42df29d37 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/librsvg/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, libxml2, libgsf, bzip2, glib, gtk, libcroco}: + +stdenv.mkDerivation { + name = "librsvg-2.26.0"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/librsvg-2.26.0.tar.bz2; + sha256 = "1sivagvlyr58hxgazr6pyq3yfxbg0wrv7rgzsk5xi631v3qbbjpx"; + }; + buildInputs = [ pkgconfig libxml2 libgsf bzip2 glib gtk libcroco ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/libsoup/default.nix b/pkgs/desktops/gnome-2.26/desktop/libsoup/default.nix new file mode 100644 index 000000000000..9fd2e86cad87 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/libsoup/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, libxml2, gnutls, libproxy, sqlite, curl, glib, GConf}: + +stdenv.mkDerivation { + name = "libsoup-2.26.2"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/libsoup-2.26.2.tar.bz2; + sha256 = "0ywsy30x0sl42m6s3rqk5vm4018shx1s50hsqgg9a8yybfhxvkmg"; + }; + buildInputs = [ pkgconfig libxml2 gnutls libproxy sqlite curl glib GConf ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/libwnck/default.nix b/pkgs/desktops/gnome-2.26/desktop/libwnck/default.nix new file mode 100644 index 000000000000..1cd96dd4fdc6 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/libwnck/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, libX11, gtk, intltool}: + +stdenv.mkDerivation { + name = "libwnck-2.26.1"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/libwnck-2.26.1.tar.bz2; + sha256 = "0c7l4p2iarl7vd69nskhqb76j8p5dvnf45rmm3a1c3ajrhmpnwsk"; + }; + buildInputs = [ pkgconfig libX11 gtk intltool ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/metacity/default.nix b/pkgs/desktops/gnome-2.26/desktop/metacity/default.nix new file mode 100644 index 000000000000..f4f21b1f1089 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/metacity/default.nix @@ -0,0 +1,12 @@ +{ stdenv, fetchurl, pkgconfig, glib, gtk, libXcomposite, libXcursor, libXdamage +, intltool, GConf, startup_notification, zenity, gnome_doc_utils}: + +stdenv.mkDerivation { + name = "metacity-2.26.0"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/metacity-2.26.0.tar.bz2; + sha256 = "0y4hamalbplpsilyfbs1c8za6f7cgp9p4kcswsx67ncr310idfi9"; + }; + buildInputs = [ pkgconfig glib gtk libXcomposite libXcursor libXdamage + intltool GConf startup_notification zenity gnome_doc_utils ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/nautilus/default.nix b/pkgs/desktops/gnome-2.26/desktop/nautilus/default.nix new file mode 100644 index 000000000000..5e25c141271e --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/nautilus/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, libxml2, dbus_glib, shared_mime_info, libexif, gtk, gnome_desktop, libunique, intltool, GConf}: + +stdenv.mkDerivation { + name = "nautilus-2.26.3"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/nautilus-2.26.3.tar.bz2; + sha256 = "1qfzw3aqyixybvxlj768l3a1knp0f0knpvs5566advpil1i771qx"; + }; + buildInputs = [ pkgconfig libxml2 dbus_glib shared_mime_info libexif gtk gnome_desktop libunique intltool GConf ]; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/scrollkeeper/default.nix b/pkgs/desktops/gnome-2.26/desktop/scrollkeeper/default.nix new file mode 100644 index 000000000000..050b05059373 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/scrollkeeper/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libxslt, docbook_xml_dtd_42}: + +stdenv.mkDerivation { + name = "scrollkeeper-0.3.14"; + src = fetchurl { + url = mirror://gnome/desktop/2.16/2.16.3/sources/scrollkeeper-0.3.14.tar.bz2; + sha256 = "08n1xgj1f53zahwm0wpn3jid3rfbhi3iwby0ilaaldnid5qriqgc"; + }; + preConfigure = " + substituteInPlace extract/dtds/Makefile.am --replace /usr/bin/xmlcatalog xmlcatalog + "; + buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt]; + configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat"; +} diff --git a/pkgs/desktops/gnome-2.26/desktop/zenity/default.nix b/pkgs/desktops/gnome-2.26/desktop/zenity/default.nix new file mode 100644 index 000000000000..de1b91b0d22f --- /dev/null +++ b/pkgs/desktops/gnome-2.26/desktop/zenity/default.nix @@ -0,0 +1,15 @@ +{stdenv, fetchurl, pkgconfig, cairo, libxml2, libxslt, glib, gtk, pango, atk, gnome_doc_utils, intltool, libglade}: + +stdenv.mkDerivation { + name = "zenity-2.26.0"; + src = fetchurl { + url = mirror://gnome/desktop/2.26/2.26.2/sources/zenity-2.26.0.tar.bz2; + sha256 = "1882sh83jp3drg5z61rghdshnsfys4jgbgg7za7b9jlhr8ar4qgw"; + }; + configureFlags = "--disable-scrollkeeper"; + buildInputs = [ pkgconfig gtk gnome_doc_utils intltool libglade libxml2 libxslt ]; + CPPFLAGS = "-I${cairo}/include/cairo -I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include "+ + "-I${gtk}/include/gtk-2.0 -I${gtk}/lib/gtk-2.0/include -I${pango}/include/pango-1.0 "+ + "-I${atk}/include/atk-1.0 -I${libglade}/include/libglade-2.0"; + LIBS = "-lgtk-x11-2.0 -lglade-2.0"; +} diff --git a/pkgs/desktops/gnome-2.26/platform/GConf/default.nix b/pkgs/desktops/gnome-2.26/platform/GConf/default.nix new file mode 100644 index 000000000000..cf2d12f287a4 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/GConf/default.nix @@ -0,0 +1,12 @@ +{ stdenv, fetchurl, pkgconfig, dbus_glib, glib, gtk, ORBit2, libxml2 +, expat, policyKit, intltool}: + +stdenv.mkDerivation { + name = "GConf-2.26.2"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/GConf-2.26.2.tar.bz2; + sha256 = "1vb7hjxddy54g4vch936621g66n0mhi3wkhm9lwqh449vdqg4yki"; + }; + buildInputs = [ pkgconfig glib gtk dbus_glib ORBit2 libxml2 + expat policyKit intltool ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/ORBit2/default.nix b/pkgs/desktops/gnome-2.26/platform/ORBit2/default.nix new file mode 100644 index 000000000000..bf0016d23167 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/ORBit2/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, glib, libIDL}: + +stdenv.mkDerivation { + name = "ORBit2-2.14.17"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/ORBit2-2.14.17.tar.bz2; + sha256 = "0k4px2f949ac7vmj7b155g1rpf7pmvl48sbnkjhlg4wgcwzwxgv2"; + }; + buildInputs = [ pkgconfig glib libIDL ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/at-spi/default.nix b/pkgs/desktops/gnome-2.26/platform/at-spi/default.nix new file mode 100644 index 000000000000..ae92e11874e0 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/at-spi/default.nix @@ -0,0 +1,12 @@ +{ stdenv, fetchurl, python, pkgconfig, popt, atk, gtk, libX11, libICE, libXtst, libXi +, intltool, libbonobo, ORBit2}: + +stdenv.mkDerivation { + name = "at-spi-1.26.0"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/at-spi-1.26.0.tar.bz2; + sha256 = "0kb4n9xi66igg6fgs64q44cskx45v9mgn5psfbqpbykpl9rr935v"; + }; + buildInputs = [ python pkgconfig popt atk gtk libX11 libICE libXtst libXi + intltool libbonobo ORBit2 ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/audiofile/default.nix b/pkgs/desktops/gnome-2.26/platform/audiofile/default.nix new file mode 100644 index 000000000000..9994b79db533 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/audiofile/default.nix @@ -0,0 +1,9 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "audiofile-0.2.6"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/audiofile-0.2.6.tar.bz2; + sha256 = "1d00w9hxx3flfs6cjyja99y8vpj1qwa34zfdj96dpa54drd9da62"; + }; +} diff --git a/pkgs/desktops/gnome-2.26/platform/esound/default.nix b/pkgs/desktops/gnome-2.26/platform/esound/default.nix new file mode 100644 index 000000000000..a1502d3fbbc6 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/esound/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, alsaLib, audiofile}: + +stdenv.mkDerivation { + name = "esound-0.2.41"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/esound-0.2.41.tar.bz2; + sha256 = "5eb5dd29a64b3462a29a5b20652aba7aa926742cef43577bf0796b787ca34911"; + }; + buildInputs = [ pkgconfig alsaLib audiofile ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/gnome-mime-data/default.nix b/pkgs/desktops/gnome-2.26/platform/gnome-mime-data/default.nix new file mode 100644 index 000000000000..ec12b3102816 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/gnome-mime-data/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, intltool}: + +stdenv.mkDerivation { + name = "gnome-mime-data-2.18.0"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/gnome-mime-data-2.18.0.tar.bz2; + sha256 = "1mvg8glb2a40yilmyabmb7fkbzlqd3i3d31kbkabqnq86xdnn69p"; + }; + buildInputs = [ intltool ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/gnome-vfs-monikers/default.nix b/pkgs/desktops/gnome-2.26/platform/gnome-vfs-monikers/default.nix new file mode 100644 index 000000000000..afe1da84f26c --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/gnome-vfs-monikers/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, pkgconfig, glib, intltool, gnome_vfs, libbonobo, ORBit2}: + +stdenv.mkDerivation { + name = "gnome-vfs-monikers-2.15.3"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/gnome-vfs-monikers-2.15.3.tar.bz2; + sha256 = "0gpgk5vwhgqfhrd8pf1314kh7sv3jfqll2xbdbrs5s5sxy3v7b15"; + }; + buildInputs = [ pkgconfig glib intltool gnome_vfs libbonobo ]; + CPPFLAGS = "-I${libbonobo}/include/libbonobo-2.0 -I${libbonobo}/include/bonobo-activation-2.0 "+ + "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${ORBit2}/include/orbit-2.0 "+ + "-I${gnome_vfs}/include/gnome-vfs-2.0"; +} diff --git a/pkgs/desktops/gnome-2.26/platform/gnome-vfs/default.nix b/pkgs/desktops/gnome-2.26/platform/gnome-vfs/default.nix new file mode 100644 index 000000000000..3e8b78b9a912 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/gnome-vfs/default.nix @@ -0,0 +1,12 @@ +{ stdenv, fetchurl, pkgconfig, libxml2, bzip2, openssl, samba, dbus_glib, glib, fam, hal, cdparanoia +, intltool, GConf, gnome_mime_data}: + +stdenv.mkDerivation { + name = "gnome-vfs-2.24.1"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/gnome-vfs-2.24.1.tar.bz2; + sha256 = "1dmyr8nj77717r8dhwkixpar2yp8ld3r683gp222n59v61718ndw"; + }; + buildInputs = [ pkgconfig libxml2 bzip2 openssl samba dbus_glib glib fam hal cdparanoia + intltool GConf gnome_mime_data ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/gtk-doc/default.nix b/pkgs/desktops/gnome-2.26/platform/gtk-doc/default.nix new file mode 100644 index 000000000000..4017490254ff --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/gtk-doc/default.nix @@ -0,0 +1,27 @@ +{stdenv, fetchurl, pkgconfig, perl, python, libxml2, libxslt, docbook_xml_dtd_43, docbook_xsl, gnome_doc_utils}: + +stdenv.mkDerivation { + name = "gtk-doc-1.11"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/gtk-doc-1.11.tar.bz2; + sha256 = "08zz6gn90aqps84hfhdgarsilbdj0bbnj3wjm2x552n4i7gmq4wj"; + }; + + # maybe there is a better way to pass the needed dtd and xsl files + # "-//OASIS//DTD DocBook XML V4.1.2//EN" and "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" + preConfigure = '' + ensureDir $out/nix-support + cat > $out/nix-support/catalog.xml << EOF + + + + + + + EOF + + configureFlags="--with-xml-catalog=$out/nix-support/catalog.xml --disable-scrollkeeper"; + ''; + + buildInputs = [ pkgconfig perl python libxml2 libxslt docbook_xml_dtd_43 gnome_doc_utils ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/intltool/default.nix b/pkgs/desktops/gnome-2.26/platform/intltool/default.nix new file mode 100644 index 000000000000..daa0230f983e --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/intltool/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gettext}: + +stdenv.mkDerivation rec { + name = "intltool-0.40.6"; + + src = fetchurl { + url = "mirror://gnome/sources/intltool/0.40/${name}.tar.bz2"; + sha256 = "0r1vkvy5xzqk01yl6a0xlrry39bra24alkrx6279b77hc62my7jd"; + }; + + buildInputs = [ pkgconfig ]; + propagatedBuildInputs = [ perl perlXMLParser gettext ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libIDL/default.nix b/pkgs/desktops/gnome-2.26/platform/libIDL/default.nix new file mode 100644 index 000000000000..54e67c25e50f --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libIDL/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, flex, bison, pkgconfig, glib}: + +stdenv.mkDerivation { + name = "libIDL-0.8.13"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libIDL-0.8.13.tar.bz2; + sha256 = "bccc7e10dae979518ff012f8464e47ec4b3558a5456a94c8679653aa0b262b71"; + }; + buildInputs = [ flex bison pkgconfig glib ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libart_lgpl/default.nix b/pkgs/desktops/gnome-2.26/platform/libart_lgpl/default.nix new file mode 100644 index 000000000000..e993c9924a68 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libart_lgpl/default.nix @@ -0,0 +1,9 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "libart_lgpl-2.3.20"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libart_lgpl-2.3.20.tar.bz2; + sha256 = "0iyqsc517lj8xnidchnk0fxa6aqvss4hv8p9fk6bba86lbiillym"; + }; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libbonobo/default.nix b/pkgs/desktops/gnome-2.26/platform/libbonobo/default.nix new file mode 100644 index 000000000000..54960a0f4aff --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libbonobo/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, flex, bison, pkgconfig, glib, dbus_glib, libxml2, popt, intltool, ORBit2}: + +stdenv.mkDerivation { + name = "libbonobo-2.24.1"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libbonobo-2.24.1.tar.bz2; + sha256 = "0x0jx5bf9nrh7djq90vj7zryixgws6ir8py6pczwjb3bp1carcj2"; + }; + buildInputs = [ flex bison pkgconfig glib dbus_glib libxml2 popt intltool ORBit2 ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libbonoboui/default.nix b/pkgs/desktops/gnome-2.26/platform/libbonoboui/default.nix new file mode 100644 index 000000000000..caf9e54e68da --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libbonoboui/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, bison, pkgconfig, popt, libxml2, cairo, glib, gtk, atk, pango +, intltool, libbonobo, GConf, libgnomecanvas, libgnome, libglade, ORBit2, libart_lgpl}: + +stdenv.mkDerivation { + name = "libbonoboui-2.24.1"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libbonoboui-2.24.1.tar.bz2; + sha256 = "0a8cfll25412bshnnqj1a0dnrcx770jsys4i49zjhw1sqaykc99j"; + }; + buildInputs = [ bison pkgconfig popt gtk libxml2 + intltool libbonobo GConf libgnomecanvas libgnome libglade ]; + + # For some reason GNOME maintainers write crappy automake files and they forget to include + # a lot of required headers (the headers may be found if they are in /usr) + + CPPFLAGS = "-I${cairo}/include/cairo -I${gtk}/include/gtk-2.0 -I${gtk}/lib/gtk-2.0/include " + + "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${atk}/include/atk-1.0 " + + "-I${pango}/include/pango-1.0 -I${libgnome}/include/libgnome-2.0 -I${libbonobo}/include/libbonobo-2.0 "+ + "-I${libbonobo}/include/bonobo-activation-2.0 -I${ORBit2}/include/orbit-2.0 -I${libxml2}/include/libxml2 "+ + "-I${libgnomecanvas}/include/libgnomecanvas-2.0 -I${libart_lgpl}/include/libart-2.0 "+ + "-I${GConf}/include/gconf/2 -I${libglade}/include/libglade-2.0"; + LIBS = "-lgobject-2.0 -lbonobo-2 -lgtk-x11-2.0 -lgconf-2 -lxml2 -lgnome-2 -lgnomecanvas-2"; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libglade/default.nix b/pkgs/desktops/gnome-2.26/platform/libglade/default.nix new file mode 100644 index 000000000000..a7fce62eda43 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libglade/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, gtk, libxml2, expat, python, gettext}: + +stdenv.mkDerivation { + name = "libglade-2.6.4"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libglade-2.6.4.tar.bz2; + sha256 = "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4"; + }; + buildInputs = [ pkgconfig gtk libxml2 expat python gettext ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libgnome/default.nix b/pkgs/desktops/gnome-2.26/platform/libgnome/default.nix new file mode 100644 index 000000000000..d69a3b992192 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libgnome/default.nix @@ -0,0 +1,13 @@ +{ stdenv, fetchurl, pkgconfig, glib, popt +, intltool, esound, audiofile, libbonobo, GConf, gnome_vfs, ORBit2}: + +stdenv.mkDerivation { + name = "libgnome-2.26.0"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libgnome-2.26.0.tar.bz2; + sha256 = "0673cf0in4p6935nfhs1zhyb2bdjdgwfx2xw41ylmlwzn5x2iw1f"; + }; + buildInputs = [ pkgconfig glib popt intltool esound audiofile libbonobo GConf gnome_vfs ]; + CPPFLAGS = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${ORBit2}/include/orbit-2.0 -I${libbonobo}/include/libbonobo-2.0 -I${libbonobo}/include/bonobo-activation-2.0 -I${GConf}/include/gconf/2 -I${gnome_vfs}/include/gnome-vfs-2.0"; + LIBS = "-lesd -lgconf-2 -lbonobo-activation -lbonobo-2 -lgnomevfs-2"; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libgnomecanvas/default.nix b/pkgs/desktops/gnome-2.26/platform/libgnomecanvas/default.nix new file mode 100644 index 000000000000..13527f7659ea --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libgnomecanvas/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, pkgconfig, glib, gtk, pango, atk, cairo, intltool, libart_lgpl, libglade}: + +stdenv.mkDerivation { + name = "libgnomecanvas-2.26.0"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libgnomecanvas-2.26.0.tar.bz2; + sha256 = "13f5rf5pkp9hnyxzvssrxnlykjaixa7vrig9a7v06wrxqfn81d40"; + }; + buildInputs = [ pkgconfig gtk intltool libart_lgpl libglade ]; + CPPFLAGS = "-I${libglade}/include/libglade-2.0 -I${libart_lgpl}/include/libart-2.0 -I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${gtk}/include/gtk-2.0 -I${gtk}/lib/gtk-2.0/include -I${atk}/include/atk-1.0 -I${cairo}/include/cairo -I${pango}/include/pango-1.0"; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libgnomeui/default.nix b/pkgs/desktops/gnome-2.26/platform/libgnomeui/default.nix new file mode 100644 index 000000000000..f592a3c4f6cb --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libgnomeui/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pkgconfig, libxml2, popt, cairo, libX11, libICE, glib, gtk, atk, pango +, intltool, libgnome, libgnomecanvas, libbonobo, libbonoboui, GConf +, gnome_vfs, gnome_keyring, libglade, libart_lgpl, ORBit2}: + +stdenv.mkDerivation { + name = "libgnomeui-2.24.1"; + src = fetchurl { + url = mirror://gnome/platform/2.26/2.26.2/sources/libgnomeui-2.24.1.tar.bz2; + sha256 = "1hcdiqkvhfrfkyb02zaxrdzhl9h74m79ykfxgpznx59mgfdjivd2"; + }; + buildInputs = [ pkgconfig libxml2 popt libX11 libICE glib gtk pango + intltool libgnome libgnomecanvas libbonoboui GConf gnome_vfs gnome_keyring libglade ]; + CPPFLAGS = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${atk}/include/atk-1.0 "+ + "-I${gtk}/include/gtk-2.0 -I${gtk}/lib/gtk-2.0/include -I${libbonoboui}/include/libbonoboui-2.0 "+ + "-I${cairo}/include/cairo -I${pango}/include/pango-1.0 -I${libgnomecanvas}/include/libgnomecanvas-2.0 "+ + "-I${libgnome}/include/libgnome-2.0 -I${libart_lgpl}/include/libart-2.0 -I${gnome_vfs}/include/gnome-vfs-2.0 "+ + "-I${libbonobo}/include/libbonobo-2.0 -I${GConf}/include/gconf/2 -I${libxml2}/include/libxml2 "+ + "-I${libbonobo}/include/bonobo-activation-2.0 -I${ORBit2}/include/orbit-2.0 "+ + "-I${gnome_keyring}/include/gnome-keyring-1 -I${libglade}/include/libglade-2.0"; + LIBS = "-lgtk-x11-2.0 -lgnomecanvas-2 -lgconf-2 -lbonoboui-2 -lgnome-keyring"; +} diff --git a/pkgs/desktops/gnome-2.26/platform/libunique/default.nix b/pkgs/desktops/gnome-2.26/platform/libunique/default.nix new file mode 100644 index 000000000000..870e1763bbc4 --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/libunique/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, gettext, gtk}: + +stdenv.mkDerivation { + name = "libunique-1.0.8"; + src = fetchurl { + url = mirror://gnome/sources/libunique/1.0/libunique-1.0.8.tar.bz2; + sha256 = "1iplvmc41h64kdrsgpvb03mawzvflarvlpk5mng4xw9sa87s29yn"; + }; + buildInputs = [ pkgconfig gettext gtk ]; +} diff --git a/pkgs/desktops/gnome-2.26/platform/startup-notification/default.nix b/pkgs/desktops/gnome-2.26/platform/startup-notification/default.nix new file mode 100644 index 000000000000..0737ed6ba42a --- /dev/null +++ b/pkgs/desktops/gnome-2.26/platform/startup-notification/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, pkgconfig, libX11, libxcb, libICE, xcbutil, libSM}: + +stdenv.mkDerivation { + name = "startup-notification-0.10"; + src = fetchurl { + url = http://freedesktop.org/software/startup-notification/releases/startup-notification-0.10.tar.gz; + sha256 = "0nalaay0yj3gq85insp9l31hsv5zp390m4nn37y235v151ffpfv4"; + }; + buildInputs = [ pkgconfig libX11 libxcb libICE xcbutil libSM ]; +} diff --git a/pkgs/development/libraries/libproxy/default.nix b/pkgs/development/libraries/libproxy/default.nix new file mode 100644 index 000000000000..0f5d3b4b24d2 --- /dev/null +++ b/pkgs/development/libraries/libproxy/default.nix @@ -0,0 +1,9 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "libproxy-0.2.3"; + src = fetchurl { + url = http://libproxy.googlecode.com/files/libproxy-0.2.3.tar.gz; + sha256 = "16ikq42ffrfd60j57r0l488r8zgkyxcn7l69gkijjzalndhd3pjr"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fb3ab0f20143..f4938f849847 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3579,6 +3579,10 @@ let inherit fetchurl stdenv zlib; }; + libproxy = import ../development/libraries/libproxy { + inherit stdenv fetchurl; + }; + libpseudo = import ../development/libraries/libpseudo { inherit fetchurl stdenv pkgconfig ncurses; inherit (gtkLibs) glib; @@ -7423,6 +7427,8 @@ let iconnamingutils openssl hal samba fam libgcrypt libtasn1 xmlto docbook2x docbook_xsl intltool enchant isocodes policyKit; }); + + gnome26 = import ../desktops/gnome-2.26 pkgs; kde3 = {