parent
21c7ed54e3
commit
5c5f115603
@ -1,20 +0,0 @@ |
||||
# from:
|
||||
# - https://www.linuxquestions.org/questions/linux-from-scratch-13/blfs-xulrunner-firefox-21-0-and-search-4175462532/
|
||||
# - http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg17359.html
|
||||
|
||||
--- mozilla-release/browser/base/content/browser.js.orig 2013-05-11 16:19:21.000000000 -0300
|
||||
+++ mozilla-release/browser/base/content/browser.js 2013-06-07 00:39:16.114862388 -0300
|
||||
@@ -3559,10 +3559,12 @@
|
||||
*/
|
||||
recordSearchInHealthReport: function (engine, source) {
|
||||
#ifdef MOZ_SERVICES_HEALTHREPORT
|
||||
- let reporter = Cc["@mozilla.org/datareporting/service;1"]
|
||||
+ /*let reporter = Cc["@mozilla.org/datareporting/service;1"]
|
||||
.getService()
|
||||
.wrappedJSObject
|
||||
.healthReporter;
|
||||
+ */
|
||||
+ return;
|
||||
|
||||
// This can happen if the FHR component of the data reporting service is
|
||||
// disabled. This is controlled by a pref that most will never use.
|
@ -1,11 +0,0 @@ |
||||
--- 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)
|
||||
|
@ -0,0 +1,82 @@ |
||||
{ lib, stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL |
||||
, libjpeg, zlib, dbus, dbus_glib, bzip2, xlibs |
||||
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify |
||||
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite |
||||
, hunspell, libevent, libstartup_notification, libvpx |
||||
, cairo, gstreamer, gst_plugins_base, icu |
||||
, debugBuild ? false |
||||
}: |
||||
|
||||
assert stdenv.gcc ? libc && stdenv.gcc.libc != null; |
||||
|
||||
let version = "31.0"; in |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "xulrunner-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${version}/source/firefox-${version}.source.tar.bz2"; |
||||
sha1 = "a6c3e25ee3aeb7da42db2aaeb50a385d63532beb"; |
||||
}; |
||||
|
||||
buildInputs = |
||||
[ pkgconfig gtk perl zip libIDL libjpeg zlib bzip2 |
||||
python dbus dbus_glib pango freetype fontconfig xlibs.libXi |
||||
xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file |
||||
alsaLib nspr nss libnotify xlibs.pixman yasm mesa |
||||
xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite |
||||
xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper |
||||
hunspell libevent libstartup_notification libvpx cairo |
||||
gstreamer gst_plugins_base icu |
||||
]; |
||||
|
||||
configureFlags = |
||||
[ "--enable-application=xulrunner" |
||||
"--disable-javaxpcom" |
||||
"--with-system-jpeg" |
||||
"--with-system-zlib" |
||||
"--with-system-bz2" |
||||
"--with-system-nspr" |
||||
"--with-system-nss" |
||||
"--with-system-libevent" |
||||
"--with-system-libvpx" |
||||
# "--with-system-png" # needs APNG support |
||||
# "--with-system-icu" # causes ‘ar: invalid option -- 'L'’ in Firefox 28.0 |
||||
"--enable-system-ffi" |
||||
"--enable-system-hunspell" |
||||
"--enable-system-pixman" |
||||
"--enable-system-sqlite" |
||||
"--enable-system-cairo" |
||||
"--enable-gstreamer" |
||||
"--enable-startup-notification" |
||||
# "--enable-content-sandbox" # available since 26.0, but not much info available |
||||
# "--enable-content-sandbox-reporter" # keeping disabled for now |
||||
"--disable-crashreporter" |
||||
"--disable-tests" |
||||
"--disable-necko-wifi" # maybe we want to enable this at some point |
||||
"--disable-installer" |
||||
"--disable-updater" |
||||
"--disable-pulseaudio" |
||||
] |
||||
++ (if debugBuild then [ "--enable-debug" "--enable-profiling"] |
||||
else [ "--disable-debug" "--enable-release" |
||||
"--enable-optimize" "--enable-strip" ]); |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
preConfigure = |
||||
'' |
||||
mkdir ../objdir |
||||
cd ../objdir |
||||
configureScript=../mozilla-release/configure |
||||
''; |
||||
|
||||
meta = { |
||||
description = "Mozilla Firefox XUL runner"; |
||||
homepage = http://www.mozilla.com/en-US/firefox/; |
||||
maintainers = [ lib.maintainers.eelco ]; |
||||
platforms = lib.platforms.linux; |
||||
}; |
||||
|
||||
passthru = { inherit gtk version; }; |
||||
} |
Loading…
Reference in new issue