From 140ed5af0514681baf85c38feac53b1fcf4a3130 Mon Sep 17 00:00:00 2001 From: khronosschoty Date: Fri, 10 Feb 2017 23:00:44 +0700 Subject: network/PaleMoon: Updated for version 27.1.0. Signed-off-by: Willy Sudiarto Raharjo --- network/PaleMoon/PaleMoon.SlackBuild | 21 ++++++++++++--------- network/PaleMoon/PaleMoon.info | 12 ++++++------ network/PaleMoon/README | 15 ++++++++++----- .../autoconf-2.13-consolidated_fixes-1.patch.gz | Bin 0 -> 5869 bytes ...-adding-extra-bracket-to-not-confuse-grep.patch | 11 ----------- 5 files changed, 28 insertions(+), 31 deletions(-) create mode 100644 network/PaleMoon/autoconf-2.13-consolidated_fixes-1.patch.gz delete mode 100644 network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch (limited to 'network') diff --git a/network/PaleMoon/PaleMoon.SlackBuild b/network/PaleMoon/PaleMoon.SlackBuild index 0c60a47665d6..0dfba082c8c5 100644 --- a/network/PaleMoon/PaleMoon.SlackBuild +++ b/network/PaleMoon/PaleMoon.SlackBuild @@ -25,8 +25,8 @@ # Modified by SlackBuilds.org PRGNAM=PaleMoon -VERSION=${VERSION:-27.0.3} -BUILD=${BUILD:-2} +VERSION=${VERSION:-27.1.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -135,11 +135,6 @@ if [ "$LIBDIRSUFFIX" = "64" ]; then xpcom/io/nsAppFileLocationProvider.cpp fi -# Apply this patch so that PaleMoon will, not only compile with versions of sed earler -# than 4.3, but also, compile with versions of sed 4.3 and later. -# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850972 -patch -p1 < $CWD/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch - export MOZBUILD_STATE_PATH="$TMP/Pale-Moon-${VERSION}_Release/moz.build" export MOZCONFIG="$TMP/Pale-Moon-${VERSION}_Release/.mozconfig" export MOZILLA_OFFICIAL=1 @@ -155,6 +150,14 @@ else DEVTOOLS="--enable-devtools" fi +# "gst-libav" has been replaced with ffmpeg in PaleMoon, and is slated for complete +# removal; pass the parameter ENABLE_GST_LIBAV=yes, however, to keep using it (for now). +if [ "$ENABLE_GST_LIBAV" = "yes" ]; then + GST_LIBAV="--enable-gstreamer --disable-ffmpeg" +else + GST_LIBAV="" +fi + # Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding. # Our building options, in a configure-like display ;) OPTIONS="\ @@ -167,7 +170,7 @@ OPTIONS="\ --disable-mochitests \ --enable-jemalloc \ --with-pthreads \ - --enable-gstreamer \ + $GST_LIBAV \ $DEVTOOLS \ $DEBUG \ --x-libraries=/usr/lib${LIBDIRSUFFIX} \ @@ -214,7 +217,7 @@ fi # 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 + cp -vsr /usr/share/hunspell usr/lib${LIBDIRSUFFIX}/palemoon-$VERSION/dictionaries fi # Icons diff --git a/network/PaleMoon/PaleMoon.info b/network/PaleMoon/PaleMoon.info index a22d74bc3baf..567abf553a40 100644 --- a/network/PaleMoon/PaleMoon.info +++ b/network/PaleMoon/PaleMoon.info @@ -1,14 +1,14 @@ PRGNAM="PaleMoon" -VERSION="27.0.3" +VERSION="27.1.0" HOMEPAGE="http://www.palemoon.org/" -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 \ +DOWNLOAD="https://github.com/MoonchildProductions/Pale-Moon/archive/27.1.0_Release/Pale-Moon-27.1.0_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="07de5a5fe5b37e530c235bf6295add06 \ - f2994d302cf736e7e71974edfa51da3c \ +MD5SUM="a1dc6f6ad97acf544504d60cfae25d4e \ + f2994d302cf736e7e71974edfa51da3c \ d6cdb231911a8d0b08a25b8dd8c5935c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gst-libav" +REQUIRES="ffmpeg" MAINTAINER="khronosschoty" EMAIL="khronosschoty@utmail.net" diff --git a/network/PaleMoon/README b/network/PaleMoon/README index 2caaa793dc83..3e803694c06f 100644 --- a/network/PaleMoon/README +++ b/network/PaleMoon/README @@ -8,7 +8,7 @@ of your browser! Pale Moon offers you a browsing experience in a browser completely built from its own, independently developed source that has been forked off from Firefox/Mozilla code, with carefully selected features and -optimizations to improve the browser's speed*, resource use, stability +optimizations to improve the browser's speed, resource use, stability and user experience, while offering full customization and a growing collection of extensions and themes to make the browser truly your own. @@ -33,9 +33,12 @@ 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. +Pale Moon has switched its dependency on gst-libav to ffmpeg; and +gstreamer is slated for complete removal in later versions; if desired +however, pass the parameter ENABLE_GST_LIBAV=yes to the SlackBuild to go +on using gstreamer (for now). If you are having issues with media such as +h.264 html 5 video, make sure ffmpeg is installed before compiling +Pale Moon -- installing ffmpeg afterwards may not work. 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; @@ -44,7 +47,9 @@ 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. +use the Slackware system Hunspell instead. This assumes you have dictionaries +such as hunspell-en or hunspell-es installed in /usr/share/hunspell -- the +location that a few SlackBuilds at SBo install them. If your processor doesn't support sse2 instructions or you get segfaults, try looking in the SlackBuild for the OPTIMIZE build option (eventually diff --git a/network/PaleMoon/autoconf-2.13-consolidated_fixes-1.patch.gz b/network/PaleMoon/autoconf-2.13-consolidated_fixes-1.patch.gz new file mode 100644 index 000000000000..1be2c680e078 Binary files /dev/null and b/network/PaleMoon/autoconf-2.13-consolidated_fixes-1.patch.gz differ diff --git a/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch b/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch deleted file mode 100644 index 078cf872373e..000000000000 --- a/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/build/autoconf/icu.m4 2017-01-14 00:12:01.423712928 -0800 -+++ b/build/autoconf/icu.m4 2017-01-14 00:17:50.332821372 -0800 -@@ -73,7 +73,7 @@ - fi - fi - -- version=`sed -n 's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"` -+ version=`sed -n 's/^[[[:space:]]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"` - if test x"$version" = x; then - AC_MSG_ERROR([cannot determine icu version number from uvernum.h header file $lineno]) - fi -- cgit v1.2.3