git.iko.soy/typeable/nixpkgs
on master help sign in
firefox-13.0: Remove

It's outdated, insecure and not used anywhere in Nixpkgs.

commit19e5c3c306171bbf0989ba5d05ad3ddd896de794 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateTue 11 Nov 2014, 15:36 (12 years ago) parent8df0e0b
2 files changed−194
pkgs/applications/networking/browsers/firefox/13.0.nix−188 pkgs/top-level/all-packages.nix−6
pkgs/applications/networking/browsers/firefox/13.0.nixdeleted−188
@@ -1,188 +0,0 @@
1−{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
2−, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs
3−, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
4−, yasm, mesa, sqlite, unzip, makeWrapper
5−
6−, # If you want the resulting program to call itself "Firefox" instead
7− # of "Shiretoko" or whatever, enable this option. However, those
8− # binaries may not be distributed without permission from the
9− # Mozilla Foundation, see
10− # http://www.mozilla.org/foundation/trademarks/.
11− enableOfficialBranding ? false
12−}:
13−
14−assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
15−
16−rec {
17−
18− firefoxVersion = "13.0.1";
19−
20− xulVersion = "13.0.1"; # this attribute is used by other packages
21−
22−
23− src = fetchurl {
24− url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
25− sha256 = "1qwvs3rdmrnkjnjvhi3vh4mjdpxr43zcm7llc6z5qws9n9yx15n1";
26− };
27−
28− commonConfigureFlags =
29− [ "--enable-optimize"
30− "--disable-debug"
31− "--enable-strip"
32− "--with-system-jpeg"
33− "--with-system-zlib"
34− "--with-system-bz2"
35− "--with-system-nspr"
36− "--with-system-nss"
37− # "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support"
38− # "--enable-system-cairo" # disabled for the moment because our Cairo is too old
39− "--enable-system-sqlite"
40− "--disable-crashreporter"
41− "--disable-tests"
42− "--disable-necko-wifi" # maybe we want to enable this at some point
43− "--disable-installer"
44− "--disable-updater"
45− ];
46−
47−
48− xulrunner = stdenv.mkDerivation rec {
49− name = "xulrunner-${xulVersion}";
50−
51− inherit src;
52−
53− buildInputs =
54− [ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2
55− python dbus dbus_glib pango freetype fontconfig xlibs.libXi
56− xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
57− alsaLib nspr nss libnotify xlibs.pixman yasm mesa
58− xlibs.libXScrnSaver xlibs.scrnsaverproto
59− xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
60− ];
61−
62− configureFlags =
63− [ "--enable-application=xulrunner"
64− "--disable-javaxpcom"
65− ] ++ commonConfigureFlags;
66−
67− enableParallelBuilding = true;
68−
69− # Hack to work around make's idea of -lbz2 dependency
70− preConfigure =
71− ''
72− find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
73− stdenv.lib.concatStringsSep ":"
74− (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
75− }' ';'
76−
77− export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}"
78−
79− mkdir ../objdir
80− cd ../objdir
81− configureScript=../mozilla-release/configure
82− ''; # */
83−
84− # !!! Temporary hack.
85− preBuild =
86− ''
87− export NIX_ENFORCE_PURITY=
88− '';
89−
90− installFlags = "SKIP_GRE_REGISTRATION=1";
91−
92− postInstall = ''
93− # Fix some references to /bin paths in the Xulrunner shell script.
94− substituteInPlace $out/bin/xulrunner \
95− --replace /bin/pwd "$(type -tP pwd)" \
96− --replace /bin/ls "$(type -tP ls)"
97−
98− # Fix run-mozilla.sh search
99− libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*)
100− echo libDir: $libDir
101− test -n "$libDir"
102− cd $out/bin
103− mv xulrunner ../lib/$libDir/
104−
105− for i in $out/lib/$libDir/*; do
106− file $i;
107− if file $i | grep executable &>/dev/null; then
108− echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename "$i")";
109− chmod a+x "$out/bin/$(basename "$i")";
110− fi;
111− done
112− for i in $out/lib/$libDir/*.so; do
113− patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true
114− done
115− for i in $out/lib/$libDir/{xpcshell,plugin-container}; do
116− wrapProgram $i --prefix LD_LIBRARY_PATH ':' "$out/lib/$libDir"
117− done
118− rm -f $out/bin/run-mozilla.sh
119− ''; # */
120−
121− meta = {
122− description = "Mozilla Firefox XUL runner";
123− homepage = http://www.mozilla.com/en-US/firefox/;
124− };
125−
126− passthru = { inherit gtk; version = xulVersion; };
127− };
128−
129−
130− firefox = stdenv.mkDerivation rec {
131− name = "firefox-${firefoxVersion}";
132−
133− inherit src;
134−
135− enableParallelBuilding = true;
136−
137− buildInputs =
138− [ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python
139− dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
140− xlibs.pixman yasm mesa sqlite file unzip
141− ];
142−
143− propagatedBuildInputs = [xulrunner];
144−
145− configureFlags =
146− [ "--enable-application=browser"
147− "--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}"
148− "--enable-chrome-format=jar"
149− "--disable-elf-hack"
150− ]
151− ++ commonConfigureFlags
152− ++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
153−
154− # Hack to work around make's idea of -lbz2 dependency
155− preConfigure =
156− ''
157− find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
158− stdenv.lib.concatStringsSep ":"
159− (map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
160− }' ';'
161− '';
162−
163− postInstall =
164− ''
165− ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner
166− for j in $out/bin/*; do
167− i="$(readlink "$j")";
168− file $i;
169− if file $i | grep executable &>/dev/null; then
170− rm "$out/bin/$(basename "$i")"
171− echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")"
172− chmod a+x "$out/bin/$(basename "$i")"
173− fi;
174− done;
175− ''; # */
176−
177− meta = {
178− description = "Mozilla Firefox - the browser, reloaded";
179− homepage = http://www.mozilla.com/en-US/firefox/;
180− maintainers = [ stdenv.lib.maintainers.eelco ];
181− };
182−
183− passthru = {
184− inherit gtk xulrunner nspr;
185− isFirefox3Like = true;
186− };
187− };
188−}
pkgs/top-level/all-packages.nix−6
@@ -9563,12 +9563,6 @@ let
95639563
95649564 filezilla = callPackage ../applications/networking/ftp/filezilla { };
95659565
9566− firefox13Pkgs = callPackage ../applications/networking/browsers/firefox/13.0.nix {
9567− inherit (gnome) libIDL;
9568− };
9569−
9570− firefox13Wrapper = wrapFirefox { browser = firefox13Pkgs.firefox; };
9571−
95729566 firefox = callPackage ../applications/networking/browsers/firefox {
95739567 stdenv = if stdenv.isLinux then useGoldLinker stdenv else stdenv;
95749568 inherit (gnome) libIDL;