summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author khronosschoty <khronosschoty@utmail.net>2016-12-17 07:28:48 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-17 07:28:48 +0700
commit464f84da1fa595a9307ce313caaa79d2dbec125d (patch)
treeb795e341eb4562d690ca8e15b5f44a261bbe4b03 /network
parent804f27d44ffc752ceb3d8c84ff7c751933f9c91b (diff)
downloadslackbuilds-464f84da1fa595a9307ce313caaa79d2dbec125d.tar.gz
slackbuilds-464f84da1fa595a9307ce313caaa79d2dbec125d.tar.xz
network/PaleMoon: Updated for version 27.0.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/PaleMoon/PaleMoon.SlackBuild35
-rw-r--r--network/PaleMoon/PaleMoon.info6
-rw-r--r--network/PaleMoon/README14
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 SlackBuilds.org
PRGNAM=PaleMoon
-VERSION=${VERSION:-27.0.2}
+VERSION=${VERSION:-27.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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
PATH=$TMP/autoconf-tmp/usr/bin:$PATH
-# 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 \
--mandir=/usr/man"
@@ -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: https://bugzilla.mozilla.org/show_bug.cgi?id=658850
+# 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
+fi
+
# 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 \
usr/share/icons/hicolor/16x16/apps/${PRGNAM}-$VERSION.png
ln -s /usr/lib${LIBDIRSUFFIX}/chrome/icons/default/default32.png \
diff --git a/network/PaleMoon/PaleMoon.info b/network/PaleMoon/PaleMoon.info
index ebdae14a7b..a22d74bc3b 100644
--- a/network/PaleMoon/PaleMoon.info
+++ b/network/PaleMoon/PaleMoon.info
@@ -1,10 +1,10 @@
PRGNAM="PaleMoon"
-VERSION="27.0.2"
+VERSION="27.0.3"
HOMEPAGE="http://www.palemoon.org/"
-DOWNLOAD="https://github.com/MoonchildProductions/Pale-Moon/archive/27.0.2_Release/Pale-Moon-27.0.2_Release.tar.gz \
+DOWNLOAD="https://github.com/MoonchildProductions/Pale-Moon/archive/27.0.3_Release/Pale-Moon-27.0.3_Release.tar.gz \
http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz \
http://ponce.cc/slackware/sources/repo/autoconf-2.13-consolidated_fixes-1.patch.gz"
-MD5SUM="c7076e0d1483786b1525f174e82bdace \
+MD5SUM="07de5a5fe5b37e530c235bf6295add06 \
f2994d302cf736e7e71974edfa51da3c \
d6cdb231911a8d0b08a25b8dd8c5935c"
DOWNLOAD_x86_64=""
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 http://docs.slackware.com/howtos:software:palemoon 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
them.
+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).