network/PaleMoon: Updated for version 27.0.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
khronosschoty 2016-12-17 07:28:48 +07:00 committed by Willy Sudiarto Raharjo
parent 804f27d44f
commit 464f84da1f
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 39 additions and 18 deletions

View file

@ -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
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}
# Install palemoon into /usr/lib${LIBDIRSUFFIX}
cp -r palemoon $PKG/usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION
make install DESTDIR=$PKG
cd $PKG
# We don't need these (just symlinks anyway):
rm -rf usr/lib${LIBDIRSUFFIX}/palemoon-devel-$VERSION
# 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 \

View file

@ -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=""

View file

@ -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).