GNU IceCat 4.0: First attempt.

svn path=/nixpkgs/trunk/; revision=26798
This commit is contained in:
Ludovic Courtès 2011-04-12 08:12:00 +00:00
parent 525b04f037
commit 34011a076a
2 changed files with 29 additions and 3 deletions

View File

@ -9,13 +9,13 @@
# http://thread.gmane.org/gmane.comp.gnu.gnuzilla/1376 . # http://thread.gmane.org/gmane.comp.gnu.gnuzilla/1376 .
#assert stdenv.isLinux -> (wirelesstools != null); #assert stdenv.isLinux -> (wirelesstools != null);
let version = "3.6.15"; in let version = "4.0"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "icecat-${version}"; name = "icecat-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/gnuzilla/${version}/icecat-${version}.tar.xz"; url = "mirror://gnu/gnuzilla/${version}/icecat-${version}.tar.xz";
sha256 = "1px018bd81c81a4hbz0qgf89pkshkbhg4abwq1d26dwy8128cxwg"; sha256 = "0ss2z7nrx3v3yhrd20f7gjkj8yba5xkd72l5jvq9qpwb1r08k2fh";
}; };
buildInputs = buildInputs =

View File

@ -6279,7 +6279,33 @@ let
[ icecat3 icecatXulrunner3 ]) [ icecat3 icecatXulrunner3 ])
// { inherit (icecat3) gtk isFirefox3Like meta; }; // { 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 { icewm = callPackage ../applications/window-managers/icewm {
inherit (gtkLibs) gtk; inherit (gtkLibs) gtk;