summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2007-12-25 12:29:02 +0000
committerMichael Raskin <7c6f434c@mail.ru>2007-12-25 12:29:02 +0000
commita7fada56488fafcc337b957e73f3ff6b1b2b1cc9 (patch)
tree2cf992ecf6e9db9684bcbd85710851dbdc5ac921 /pkgs/applications/networking
parent07eedae576e3b668afce445a6e48d54d0f4387e0 (diff)
downloadnixpkgs-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar
nixpkgs-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.gz
nixpkgs-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.bz2
nixpkgs-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.lz
nixpkgs-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.xz
nixpkgs-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.tar.zst
nixpkgs-a7fada56488fafcc337b957e73f3ff6b1b2b1cc9.zip
Added Firefox-3b2 (still no idea why it crashes, though), fixed updated FUSE, made relfs_grant add user if none exists
svn path=/nixpkgs/trunk/; revision=9967
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/firefox3b1/3b2.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox3b1/3b2.nix b/pkgs/applications/networking/browsers/firefox3b1/3b2.nix
new file mode 100644
index 00000000000..29ea90d9d89
--- /dev/null
+++ b/pkgs/applications/networking/browsers/firefox3b1/3b2.nix
@@ -0,0 +1,57 @@
+args: with args;
+
+stdenv.mkDerivation {
+  name = "firefox-3b2";
+
+  src = 
+	fetchurl {
+		url = ftp://ftp.mozilla.org/pub/firefox/releases/3.0b2/source/firefox-3.0b2-source.tar.bz2;
+		sha256 = "0mszad8j35wvzi67dp3j9sznqkgb9b3in22c5790g9b9pv6xk8jp";
+	};
+
+  buildInputs = [
+    pkgconfig gtk perl zip libIDL libXi libjpeg libpng zlib cairo
+    python curl coreutils dbus dbus_glib pango freetype fontconfig 
+    libX11 libXrender libXft libXt
+  ];
+
+  configureFlags = [
+    "--enable-application=browser"
+    "--enable-optimize"
+    "--disable-debug"
+    "--enable-xft"
+    "--disable-freetype2"
+    "--enable-svg"
+    "--enable-canvas"
+    "--enable-strip"
+    "--enable-default-toolkit=cairo-gtk2"
+    "--with-system-jpeg"
+    "--with-system-zlib"
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+*     "--enable-system-cairo"
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+  ]
+;
+
+  postInstall = "
+    export dontPatchELF=1;
+    sed -e 's@moz_libdir=.*@&\\nexport PATH=\$PATH:${coreutils}/bin@' -i \$out/bin/firefox 
+    sed -e 's@`/bin/pwd@`${coreutils}/bin/pwd@' -i \$out/bin/firefox 
+    sed -e 's@`/bin/ls@`${coreutils}/bin/ls@' -i \$out/bin/firefox 
+
+    strip -S \$out/lib/*/* || true
+
+    libDir=\$(cd \$out/lib && ls -d firefox-[0-9]*)
+    test -n \"\$libDir\"
+
+    echo \"running firefox -register...\"
+    (cd \$out/lib/\$libDir && LD_LIBRARY_PATH=. ./firefox-bin -register) || false
+  ";
+
+  meta = {
+    description = "Mozilla Firefox - the browser, reloaded";
+  };
+
+  passthru = {inherit gtk;};
+}
+