diff options
author khronosschoty <>2016-12-17 07:28:48 +0700
committer Willy Sudiarto Raharjo <>2016-12-17 07:28:48 +0700
commit464f84da1fa595a9307ce313caaa79d2dbec125d (patch)
parent804f27d44ffc752ceb3d8c84ff7c751933f9c91b (diff)
network/PaleMoon: Updated for version 27.0.3.
Signed-off-by: Willy Sudiarto Raharjo <>
3 files changed, 38 insertions, 17 deletions
diff --git a/network/PaleMoon/PaleMoon.SlackBuild b/network/PaleMoon/PaleMoon.SlackBuild
index 61c741fd5c..614a156911 100644
--- a/network/PaleMoon/PaleMoon.SlackBuild
+++ b/network/PaleMoon/PaleMoon.SlackBuild
@@ -25,7 +25,7 @@
# Modified by
@@ -96,7 +96,7 @@ find . \
-exec chmod 644 {} \;
# Build a temporary copy of autoconf-2.13 only to be used to compile
-# PaleMoon, since it somewhat inexplicably requires this ancient version:
+# Pale Moon, since it somewhat inexplicably requires this ancient version:
rm -rf $TMP/autoconf-tmp
mkdir -p $TMP/autoconf-tmp
# This will be at the beginning of the $PATH, so protect against nonsense
@@ -116,7 +116,7 @@ make || make -j1
make install
-# Build palemoon
+# Build PaleMoon
cd $TMP
rm -rf Pale-Moon-${VERSION}_Release
tar xzvf $CWD/${VERSION}_Release.tar.gz || tar xzvf $CWD/Pale-Moon-${VERSION}_Release.tar.gz
@@ -168,6 +168,7 @@ OPTIONS="\
--x-libraries=/usr/lib${LIBDIRSUFFIX} \
--with-default-mozilla-five-home=/usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -185,23 +186,31 @@ echo "ac_add_options --disable-pulseaudio" >> .mozconfig; fi
python2 mach build || echo "Next =>"
python2 mach build
+# Clean up; and package PaleMoon.
cd $TMP/pmbuild
-make package
+make install DESTDIR=$PKG
-cd dist
-mkdir -p $PKG/usr/bin
-mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,128x128}/apps
-mkdir -p $PKG/usr/share/applications
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+cd $PKG
-# Install palemoon into /usr/lib${LIBDIRSUFFIX}
-cp -r palemoon $PKG/usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION
+# We don't need these (just symlinks anyway):
+rm -rf usr/lib${LIBDIRSUFFIX}/palemoon-devel-$VERSION
-cd $PKG
+# Avoid duplicate binaries; details:
+# Pale Moon package scripts appear to attempt this, on other 'distros'; those scripts,
+# however, appear to fail on Slackware.
+rm -f usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/palemoon-bin
ln -s /usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/palemoon usr/bin/palemoon-$VERSION
+# Use system provided Hunspell, if desired.
+if [ "${USE_SYSTEM_HUNSPELL}" = "yes" ]; then
+ rm -rfv usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/dictionaries
+ cp -vsr /usr/share/hunspell usr/lib${LIBDIRSUFFIX}/palemoon/dictionaries
# Icons
+mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,128x128}/apps
+mkdir -p $PKG/usr/share/applications
ln -s /usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/browser/chrome/icons/default/default16.png \
ln -s /usr/lib${LIBDIRSUFFIX}/chrome/icons/default/default32.png \
diff --git a/network/PaleMoon/ b/network/PaleMoon/
index ebdae14a7b..a22d74bc3b 100644
--- a/network/PaleMoon/
+++ b/network/PaleMoon/
@@ -1,10 +1,10 @@
+DOWNLOAD=" \ \"
-MD5SUM="c7076e0d1483786b1525f174e82bdace \
+MD5SUM="07de5a5fe5b37e530c235bf6295add06 \
f2994d302cf736e7e71974edfa51da3c \
diff --git a/network/PaleMoon/README b/network/PaleMoon/README
index eb36d303fd..db14f25919 100644
--- a/network/PaleMoon/README
+++ b/network/PaleMoon/README
@@ -14,7 +14,7 @@ collection of extensions and themes to make the browser truly your own.
-This package may conflict with a SlackBuild known, here at SBo, as
+This SlackBuild may conflict with a SlackBuild known, here at SBo, as
"palemoon"; which repackages binaries offically released by the Pale Moon
devs. This SlackBuild attempts to, compile, build, and package, Pale Moon,
Slackware style, in a manner that conforms to official Pale Moon Linux
@@ -24,11 +24,23 @@ if desired.
See for additional
tips and help resources.
+Using the Oxygen theme is known to cause Pale Moon to crash; if you are
+experiencing crashes, and segfaults, make sure you are not using this theme.
+See the help doc link above for creative tips and workarounds.
+It is important that the dependency gst-libav is present while Pale Moon is
+being compiled, or else Pale Moon will lack the ability to play h.264 html 5
+video; installing it after the fact will not resolve this issue.
A native fork of FireFox's developer tools exists as an external add-on or
internally. Pale Moon by default ships with the developer tools internally;
if desired, do DEVTOOLS=no ./PaleMoon.SlackBuild to build Pale Moon without
+Pale Moon's default is to build, ship, and use its own internal dictionary;
+if desired, however, do USE_SYSTEM_HUNSPELL=yes ./PaleMoon.SlackBuild, to
+use the Slackware system Hunspell instead.
If your processor doesn't support sse2 instructions or you get segfaults,
try looking in the SlackBuild for the OPTIMIZE build option (eventually
refer to the Pale Moon developers for help).