summaryrefslogtreecommitdiffstats
path: root/libraries/xulrunner/xulrunner.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xulrunner/xulrunner.SlackBuild')
-rw-r--r--libraries/xulrunner/xulrunner.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/xulrunner/xulrunner.SlackBuild b/libraries/xulrunner/xulrunner.SlackBuild
index 65db56c162..36bbdd229e 100644
--- a/libraries/xulrunner/xulrunner.SlackBuild
+++ b/libraries/xulrunner/xulrunner.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=xulrunner
-VERSION=${VERSION:-1.9.2.18}
+VERSION=${VERSION:-15.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,9 +64,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf mozilla-1.9.2
+rm -rf mozilla-release
tar xvf $CWD/$PRGNAM-$VERSION.source.tar.bz2
-cd mozilla-1.9.2
+cd mozilla-release
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -74,6 +74,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Don't use --enable-system-cairo
+# https://bugzilla.mozilla.org/show_bug.cgi?id=722975
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -90,11 +92,13 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-safe-browsing \
--enable-image-encoders=all \
--enable-image-decoders=all \
- --enable-system-cairo \
--enable-system-lcms \
--with-system-zlib \
--with-system-jpeg \
--with-system-bz2 \
+ --with-system-nss \
+ --with-system-nspr \
+ --enable-system-ffi \
--disable-system-sqlite \
--disable-crashreporter \
--disable-debug \