From d9f3dab48ebe4614f1813229071eb05578511046 Mon Sep 17 00:00:00 2001 From: James Cook Date: Thu, 12 Dec 2013 20:27:07 -0800 Subject: [PATCH 1/2] Firefox 26.0. (Doesn't build.) --- pkgs/applications/networking/browsers/firefox/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix index 1f37911b832..a48535b9b32 100644 --- a/pkgs/applications/networking/browsers/firefox/default.nix +++ b/pkgs/applications/networking/browsers/firefox/default.nix @@ -17,9 +17,9 @@ assert stdenv.gcc ? libc && stdenv.gcc.libc != null; rec { - firefoxVersion = "25.0.1"; + firefoxVersion = "26.0"; - xulVersion = "25.0.1"; # this attribute is used by other packages + xulVersion = "26.0"; # this attribute is used by other packages src = fetchurl { @@ -29,7 +29,7 @@ rec { # Fall back to this url for versions not available at releases.mozilla.org. "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2" ]; - sha1 = "592ebd242c4839ef0e18707a7e959d8bed2a98f3"; + sha1 = "f7c6642d6f62aea8d4eced48dd27aba0634edcd5"; }; commonConfigureFlags = From 8ddc7b8db26747ef7f0554fa486ba044150ae742 Mon Sep 17 00:00:00 2001 From: James Cook Date: Fri, 13 Dec 2013 00:11:52 -0800 Subject: [PATCH 2/2] firefox: Hack to get it to compile. --- .../networking/browsers/firefox/default.nix | 1 + .../networking/browsers/firefox/xpidl.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 pkgs/applications/networking/browsers/firefox/xpidl.patch diff --git a/pkgs/applications/networking/browsers/firefox/default.nix b/pkgs/applications/networking/browsers/firefox/default.nix index a48535b9b32..49c1e5951b6 100644 --- a/pkgs/applications/networking/browsers/firefox/default.nix +++ b/pkgs/applications/networking/browsers/firefox/default.nix @@ -143,6 +143,7 @@ rec { patches = [ ./disable-reporter.patch # fixes "search box not working when built on xulrunner" + ./xpidl.patch ]; propagatedBuildInputs = [xulrunner]; diff --git a/pkgs/applications/networking/browsers/firefox/xpidl.patch b/pkgs/applications/networking/browsers/firefox/xpidl.patch new file mode 100644 index 00000000000..e6a6b4d8264 --- /dev/null +++ b/pkgs/applications/networking/browsers/firefox/xpidl.patch @@ -0,0 +1,11 @@ +--- mozilla-release/python/mozbuild/mozbuild/backend/recursivemake.py 2013-12-05 08:07:53.000000000 -0800 ++++ mozilla-release_1/python/mozbuild/mozbuild/backend/recursivemake.py 2013-12-12 23:38:39.697318563 -0800 +@@ -421,7 +421,7 @@ + def _handle_idl_manager(self, manager): + build_files = self._purge_manifests['xpidl'] + +- for p in ('Makefile', 'backend.mk', '.deps/.mkdir.done', ++ for p in ('Makefile.in', 'Makefile', 'backend.mk', '.deps/.mkdir.done', + 'xpt/.mkdir.done'): + build_files.add(p) +