firefox: use system icu
- cleanup of debug/optimize flags
This commit is contained in:
parent
9f83c13dde
commit
e9a61d523e
@ -3,7 +3,7 @@
|
|||||||
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
|
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
|
||||||
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
|
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
|
||||||
, hunspell, libevent, libstartup_notification, libvpx
|
, hunspell, libevent, libstartup_notification, libvpx
|
||||||
, cairo, gstreamer, gst_plugins_base
|
, cairo, gstreamer, gst_plugins_base, icu
|
||||||
, debugBuild ? false
|
, debugBuild ? false
|
||||||
, # If you want the resulting program to call itself "Firefox" instead
|
, # If you want the resulting program to call itself "Firefox" instead
|
||||||
# of "Shiretoko" or whatever, enable this option. However, those
|
# of "Shiretoko" or whatever, enable this option. However, those
|
||||||
@ -33,11 +33,7 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
commonConfigureFlags =
|
commonConfigureFlags =
|
||||||
[ "--enable-optimize"
|
[ "--with-system-jpeg"
|
||||||
#"--enable-profiling"
|
|
||||||
(if debugBuild then "--enable-debug" else "--disable-debug")
|
|
||||||
"--enable-strip"
|
|
||||||
"--with-system-jpeg"
|
|
||||||
"--with-system-zlib"
|
"--with-system-zlib"
|
||||||
"--with-system-bz2"
|
"--with-system-bz2"
|
||||||
"--with-system-nspr"
|
"--with-system-nspr"
|
||||||
@ -45,18 +41,23 @@ rec {
|
|||||||
"--with-system-libevent"
|
"--with-system-libevent"
|
||||||
"--with-system-libvpx"
|
"--with-system-libvpx"
|
||||||
"--with-system-png"
|
"--with-system-png"
|
||||||
"--enable-startup-notification"
|
"--with-system-icu"
|
||||||
"--enable-system-ffi"
|
"--enable-system-ffi"
|
||||||
"--enable-system-hunspell"
|
"--enable-system-hunspell"
|
||||||
"--enable-system-pixman"
|
"--enable-system-pixman"
|
||||||
"--enable-system-sqlite"
|
"--enable-system-sqlite"
|
||||||
"--enable-system-cairo"
|
"--enable-system-cairo"
|
||||||
|
"--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-crashreporter"
|
||||||
"--disable-tests"
|
"--disable-tests"
|
||||||
"--disable-necko-wifi" # maybe we want to enable this at some point
|
"--disable-necko-wifi" # maybe we want to enable this at some point
|
||||||
"--disable-installer"
|
"--disable-installer"
|
||||||
"--disable-updater"
|
"--disable-updater"
|
||||||
];
|
] ++ (if debugBuild then [ "--enable-debug" "--enable-profiling"]
|
||||||
|
else [ "--disable-debug" "--enable-release"
|
||||||
|
"--enable-optimize" "--enable-strip" ]);
|
||||||
|
|
||||||
|
|
||||||
xulrunner = stdenv.mkDerivation rec {
|
xulrunner = stdenv.mkDerivation rec {
|
||||||
@ -72,7 +73,7 @@ rec {
|
|||||||
xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
|
xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
|
||||||
xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
|
xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
|
||||||
hunspell libevent libstartup_notification libvpx cairo
|
hunspell libevent libstartup_notification libvpx cairo
|
||||||
gstreamer gst_plugins_base
|
gstreamer gst_plugins_base icu
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
@ -138,7 +139,7 @@ rec {
|
|||||||
dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
|
dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
|
||||||
xlibs.pixman yasm mesa sqlite file unzip pysqlite
|
xlibs.pixman yasm mesa sqlite file unzip pysqlite
|
||||||
hunspell libevent libstartup_notification libvpx cairo
|
hunspell libevent libstartup_notification libvpx cairo
|
||||||
gstreamer gst_plugins_base
|
gstreamer gst_plugins_base icu
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user