From 34011a076a03691020a252287b7222b7c41a5fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 12 Apr 2011 08:12:00 +0000 Subject: [PATCH] GNU IceCat 4.0: First attempt. svn path=/nixpkgs/trunk/; revision=26798 --- .../networking/browsers/icecat-4/default.nix | 4 +-- pkgs/top-level/all-packages.nix | 28 ++++++++++++++++++- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/icecat-4/default.nix b/pkgs/applications/networking/browsers/icecat-4/default.nix index a63584fda289..9ead515c14b4 100644 --- a/pkgs/applications/networking/browsers/icecat-4/default.nix +++ b/pkgs/applications/networking/browsers/icecat-4/default.nix @@ -9,13 +9,13 @@ # http://thread.gmane.org/gmane.comp.gnu.gnuzilla/1376 . #assert stdenv.isLinux -> (wirelesstools != null); -let version = "3.6.15"; in +let version = "4.0"; in stdenv.mkDerivation { name = "icecat-${version}"; src = fetchurl { url = "mirror://gnu/gnuzilla/${version}/icecat-${version}.tar.xz"; - sha256 = "1px018bd81c81a4hbz0qgf89pkshkbhg4abwq1d26dwy8128cxwg"; + sha256 = "0ss2z7nrx3v3yhrd20f7gjkj8yba5xkd72l5jvq9qpwb1r08k2fh"; }; buildInputs = diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index beb107b7f04b..c9a8893c9df2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6279,7 +6279,33 @@ let [ icecat3 icecatXulrunner3 ]) // { inherit (icecat3) gtk isFirefox3Like meta; }; - icecatWrapper = wrapFirefox icecat3Xul "icecat" ""; + icecat3Wrapper = wrapFirefox icecat3Xul "icecat" ""; + + icecat4 = lowPrio (import ../applications/networking/browsers/icecat-4 { + inherit fetchurl stdenv xz pkgconfig perl zip libjpeg libpng zlib cairo + python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib libnotify + wirelesstools; + inherit (gnome) libIDL libgnomeui gnomevfs gtk pango; + inherit (xlibs) pixman; + inherit (pythonPackages) ply; + }); + + icecatXulrunner4 = lowPrio (import ../applications/networking/browsers/icecat-4 { + application = "xulrunner"; + inherit fetchurl stdenv xz pkgconfig perl zip libjpeg libpng zlib cairo + python dbus dbus_glib freetype fontconfig bzip2 xlibs alsaLib libnotify + wirelesstools; + inherit (gnome) libIDL libgnomeui gnomevfs gtk pango; + inherit (xlibs) pixman; + inherit (pythonPackages) ply; + }); + + icecat4Xul = + (symlinkJoin "icecat-with-xulrunner-${icecat4.version}" + [ icecat4 icecatXulrunner4 ]) + // { inherit (icecat4) gtk isFirefox4Like meta; }; + + icecat4Wrapper = wrapFirefox icecat4Xul "icecat" ""; icewm = callPackage ../applications/window-managers/icewm { inherit (gtkLibs) gtk;