diff options
-rw-r--r-- | network/palemoon/README | 37 | ||||
-rw-r--r-- | network/palemoon/adNauseam-unblock.patch | 16 | ||||
-rw-r--r-- | network/palemoon/glibc-2.30+.patch | 43 | ||||
-rw-r--r-- | network/palemoon/palemoon.SlackBuild | 17 | ||||
-rw-r--r-- | network/palemoon/palemoon.info | 10 |
5 files changed, 34 insertions, 89 deletions
diff --git a/network/palemoon/README b/network/palemoon/README index 9eeeaa23278c..d43569de4996 100644 --- a/network/palemoon/README +++ b/network/palemoon/README @@ -19,29 +19,32 @@ binaries offically released by the Pale Moon devs. 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; or use Alienbob's patched oxygen-gtk2; which will fix this -issue. http://www.slackware.com/~alien/slackbuilds/oxygen-gtk2/build/ -See the help doc link above for other creative tips and workarounds. +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; or use Alienbob's patched oxygen-gtk2; which will fix this issue. +http://www.slackware.com/~alien/slackbuilds/oxygen-gtk2/build/ See the +help doc link above for other creative tips and workarounds. -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 this is undesirable, dev tools can be disabled by -passing the script the parameter: +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 this is undesirable, dev tools can be disabled by passing +the script the parameter: - DEVTOOLS=no ./palemoon.SlackBuild + DEVTOOLS=no ./palemoon.SlackBuild 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. 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. +dictionary; if desired, however, do + + USE_SYSTEM_HUNSPELL=yes ./palemoon.SlackBuild + +to 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. To remove the "AdNauseam" extension from the Pale Moon blocklist, do - ADNAUSEAM=unblock ./palemoon.SlackBuild + ADNAUSEAM=unblock ./palemoon.SlackBuild If your processor doesn't support sse2 instructions or you get segfaults, try looking in the SlackBuild for the OPTIMIZE build option @@ -55,4 +58,4 @@ passing the variable: To enable debug information, pass the script the parameter - ENABLE_DEBUG=yes + ENABLE_DEBUG=yes diff --git a/network/palemoon/adNauseam-unblock.patch b/network/palemoon/adNauseam-unblock.patch deleted file mode 100644 index b1ff1b8bb4b1..000000000000 --- a/network/palemoon/adNauseam-unblock.patch +++ /dev/null @@ -1,16 +0,0 @@ -*** a/application/palemoon/app/blocklist.xml 2018-05-19 19:02:40.285091999 -0700 ---- b/application/palemoon/app/blocklist.xml 2018-05-19 19:32:36.468323646 -0700 -*************** -*** 2504,2514 **** - </versionRange> - <prefs></prefs> - </emItem> -- <emItem blockID="pm110" id="adnauseam@rednoise.org"> -- <versionRange minVersion="0" maxVersion="*" severity="2"> -- </versionRange> -- <prefs></prefs> -- </emItem> - <emItem blockID="pm111" id="customtoolbarsplus@srazzano.com"> - <versionRange minVersion="0" maxVersion="52.4.2" severity="3"> - </versionRange> ---- 2504,2509 ---- diff --git a/network/palemoon/glibc-2.30+.patch b/network/palemoon/glibc-2.30+.patch deleted file mode 100644 index b67945d12a62..000000000000 --- a/network/palemoon/glibc-2.30+.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-23 01:47:27.000000000 +0200 -+++ tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-29 18:02:44.541959971 +0200 -@@ -25,20 +25,14 @@ - #if defined(__GLIBC__) - #include <unistd.h> - #include <sys/syscall.h> --static inline pid_t gettid() --{ -- return (pid_t) syscall(SYS_gettid); --} -+#define gettid() static_cast<pid_t>(syscall(SYS_gettid)) - #elif defined(XP_MACOSX) - #include <unistd.h> - #include <sys/syscall.h> --static inline pid_t gettid() --{ -- return (pid_t) syscall(SYS_thread_selfid); --} -+#define gettid() static_cast<pid_t>(syscall(SYS_thread_selfid)) - #elif defined(LINUX) - #include <sys/types.h> --pid_t gettid(); -+#pid_t gettid(); - #endif - - // NS_ENSURE_TRUE_VOID() without the warning on the debug build. - - ---- js/src/jsnativestack.cpp 2019-08-29 17:45:10.000000000 +0200 -+++ js/src/jsnativestack.cpp 2019-08-29 17:53:58.382003265 +0200 -@@ -26,11 +26,7 @@ - # include <sys/syscall.h> - # include <sys/types.h> - # include <unistd.h> --static pid_t --gettid() --{ -- return syscall(__NR_gettid); --} -+# define gettid() static_cast<pid_t>(syscall(__NR_gettid)) - # endif - - #else diff --git a/network/palemoon/palemoon.SlackBuild b/network/palemoon/palemoon.SlackBuild index 8b3aad8c7132..ce6fca9ed318 100644 --- a/network/palemoon/palemoon.SlackBuild +++ b/network/palemoon/palemoon.SlackBuild @@ -26,9 +26,10 @@ # Special thanks to Ponce PRGNAM=palemoon -VERSION=${VERSION:-28.10.0} -SRCNAM1=${SRCNAM1:-Pale-Moon-${VERSION}_Release} -SRCNAM2=${SRCNAM2:-UXP-RELBASE_20200603} +VERSION=${VERSION:-28.17.0} +SRCNAM1=${SRCNAM1:-${VERSION}_Release} +SRCNAM2=${SRCNAM2:-pale-moon} +SRCNAM3=${SRCNAM3:-RELBASE_20201218} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -142,10 +143,10 @@ PATH=$TMP/autoconf-tmp/usr/bin:$PATH # Build Pale Moon cd $TMP -rm -rf $SRCNAM1 +rm -rf $SRCNAM2 tar -xvf $CWD/$SRCNAM1.tar.gz -cd $SRCNAM1 -tar -xvf $CWD/$SRCNAM2.tar.gz -C platform --strip-components 1 +cd $SRCNAM2 +tar -xvf $CWD/$SRCNAM3.tar.gz -C platform --strip-components 1 if [ "${ADNAUSEAM:-block}" = "unblock" ]; then patch -p1 < $CWD/adNauseam-unblock.patch @@ -167,7 +168,7 @@ find -L . \ # "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)" export LANG=C -export MOZCONFIG="$TMP/$SRCNAM1/.mozconfig" +export MOZCONFIG="$TMP/$SRCNAM2/.mozconfig" export MOZILLA_OFFICIAL=1 export MOZ_MAKE_FLAGS=$MAKEFLAGS export CFLAGS="$SLKCFLAGS" @@ -259,7 +260,7 @@ cat $CWD/palemoon.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - $TMP/$SRCNAM1/platform/LEGAL $TMP/$SRCNAM1/LICENSE $TMP/$SRCNAM1/README.md $TMP/$SRCNAM1/AUTHORS \ + $TMP/$SRCNAM2/platform/LEGAL $TMP/$SRCNAM2/LICENSE $TMP/$SRCNAM2/README.md $TMP/$SRCNAM2/AUTHORS \ $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/palemoon/palemoon.info b/network/palemoon/palemoon.info index 8d24f87d8fb5..0e47b03481d0 100644 --- a/network/palemoon/palemoon.info +++ b/network/palemoon/palemoon.info @@ -1,11 +1,11 @@ PRGNAM="palemoon" -VERSION="28.10.0" +VERSION="28.17.0" HOMEPAGE="http://www.palemoon.org/" -DOWNLOAD="https://github.com/MoonchildProductions/Pale-Moon/archive/28.10.0_Release/Pale-Moon-28.10.0_Release.tar.gz \ - https://github.com/MoonchildProductions/UXP/archive/RELBASE_20200603/UXP-RELBASE_20200603.tar.gz \ +DOWNLOAD="https://repo.palemoon.org/MoonchildProductions/Pale-Moon/archive/28.17.0_Release.tar.gz + https://repo.palemoon.org/MoonchildProductions/UXP/archive/RELBASE_20201218.tar.gz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz" -MD5SUM="602745f4703f835ff617e3ecfc2226e4 \ - 77c52f1bd1b26139bdc11aa6bddee8f8 \ +MD5SUM="45598b2acb6423ad7a1a41517255dedc \ + 247cdea1695bde0393ed3015b919d062 \ f2994d302cf736e7e71974edfa51da3c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |