diff options
author | Spencer Whitt <sw@swhitt.me> | 2015-04-02 13:35:50 -0400 |
---|---|---|
committer | Spencer Whitt <sw@swhitt.me> | 2015-04-02 13:35:50 -0400 |
commit | 2c0c3af88fdaeb6693d3f513b76d675bb408658d (patch) | |
tree | 75be26f456ee06a378d5cd8549f3cb9511d91e56 /pkgs/applications/networking/browsers | |
parent | 422e91d0f93e8f7032f56a8a87f697e490d0563f (diff) |
Remove mozilla browser
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r-- | pkgs/applications/networking/browsers/mozilla/builder.sh | 51 | ||||
-rw-r--r-- | pkgs/applications/networking/browsers/mozilla/default.nix | 21 |
2 files changed, 0 insertions, 72 deletions
diff --git a/pkgs/applications/networking/browsers/mozilla/builder.sh b/pkgs/applications/networking/browsers/mozilla/builder.sh deleted file mode 100644 index 483585dd17093..0000000000000 --- a/pkgs/applications/networking/browsers/mozilla/builder.sh +++ /dev/null @@ -1,51 +0,0 @@ -source $stdenv/setup - -preConfigure() { - cat > .mozconfig <<EOF -#. \$topsrcdir/browser/config/mozconfig -ac_add_options --prefix=$out -ac_add_options --enable-optimize -ac_add_options --disable-debug -ac_add_options --enable-xft -ac_add_options --disable-freetype2 -#ac_add_options --enable-swg -ac_add_options --enable-strip -ac_add_options --enable-default-toolkit=gtk2 -#ac_add_options --disable-shared -#ac_add_options --enable-static -#ac_add_options --with-system-jpeg -#ac_add_options --with-system-png -#ac_add_options --with-system-zlib -EOF -} - -postInstall() { - - # Strip some more stuff - strip -S $out/lib/*/* || true - - # We don't need this (do we?) -# rm -rf $out/include - - # This fixes starting Firefox when there already is a running - # instance. The `firefox' wrapper script actually expects to be - # in the same directory as `run-mozilla.sh', apparently. - cd $out/bin - mv firefox ../lib/firefox-*/ - ln -s ../lib/firefox-*/firefox . - - # Register extension etc. - echo "running firefox -register..." - (cd $out/lib/firefox-* && LD_LIBRARY_PATH=. ./firefox-bin -register) || false - - echo "running regxpcom..." - (cd $out/lib/firefox-* && LD_LIBRARY_PATH=. ./regxpcom) || false - -# echo "running regchrome..." -# (cd $out/lib/firefox-* && LD_LIBRARY_PATH=. ./regchrome) || false - -} - -buildFlags="-f client.mk build" - -genericBuild diff --git a/pkgs/applications/networking/browsers/mozilla/default.nix b/pkgs/applications/networking/browsers/mozilla/default.nix deleted file mode 100644 index a2c667fa96847..0000000000000 --- a/pkgs/applications/networking/browsers/mozilla/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL, libXi}: - -# !!! assert libIDL.glib == gtk.glib; - -stdenv.mkDerivation { - name = "mozilla-1.7.12"; - - builder = ./builder.sh; - src = fetchurl { - url = http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.12/source/mozilla-1.7.12-source.tar.bz2; - md5 = "f1ad6adbbc0510eb76d352c94c801fac"; - }; - - buildInputs = [pkgconfig gtk perl zip libIDL libXi]; - inherit gtk; - - #patches = [./writable-copies.patch]; - meta = { - homepage = http://www.mozilla.org; - }; -} |