[Lunar-commits] <moonbase-other> firefox: fixup pre-build
v4hn
me at v4hn.de
Fri Sep 19 14:11:14 CEST 2014
commit 6f4149697b500a84c2078b888156a80358f9d5d8
Author: v4hn <me at v4hn.de>
Date: Fri, 19 Sep 2014 14:09:28 +0200
URL: https://github.com/lunar-linux/moonbase-other/commit/6f4149697b500a84c2078b888156a80358f9d5d8
firefox: fixup pre-build
- added back disable-gnomevfs
- NEVER exit from module scripts - make them fail instead
- added missing &&
---
web/firefox/BUILD | +0/-1
web/firefox/PRE_BUILD | +5/-6
web/firefox/mozconfig | +1/-0
3 files changed, 6 insertions(+), 7 deletions(-)
--- a/web/firefox/BUILD
+++ b/web/firefox/BUILD
@@ -1,5 +1,4 @@
-#Finally, the build!
if [ "$PGO" == "y" ] ; then
#CCache breaks the pgo build
export CCACHE_DISABLE=1 &&
--- a/web/firefox/PRE_BUILD
+++ b/web/firefox/PRE_BUILD
@@ -1,10 +1,10 @@
if [ ! -e /usr/include/cairo/cairo-tee.h ] ; then
- message "${PROBLEM_COLOR}Run: ${MODULE_COLOR}lin -c cairo"
- message "${MESSAGE_COLOR}To recompile cairo with tee support, which is required by firefox.${DEFAULT_COLOR}"
- exit 1
-fi
+ message "${PROBLEM_COLOR}Run: ${MODULE_COLOR}lin -rc cairo" &&
+ message "${MESSAGE_COLOR}To recompile cairo with tee(libX11) support, which is required by firefox.${DEFAULT_COLOR}" &&
+ false
+fi &&
-default_pre_build
+default_pre_build &&
# To skirt around this make failure in libxul.so:
# ftbzip2.c:183: undefined reference to `BZ2_bzDecompressInit'
@@ -29,7 +29,6 @@ cp $SCRIPT_DIRECTORY/mozconfig . &&
export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla" &&
mkdir -p ${MOZ_OBJDIR} &&
-
if module_installed gst-plugins-base-1.0 ; then
echo "ac_add_options --enable-gstreamer=1.0" >> mozconfig
else
--- a/web/firefox/mozconfig
+++ b/web/firefox/mozconfig
@@ -29,6 +29,7 @@ ac_add_options --disable-crashreporter
ac_add_options --disable-necko-wifi
ac_add_options --enable-replace-malloc
ac_add_options --enable-system-cairo
+ac_add_options --disable-gnomevfs
# startupcache deterministically segfaults on *some* systems. Just leave it disabled.
ac_add_options --disable-startupcache
More information about the Lunar-commits
mailing list