[Slackbuilds-users] 0001-updated-for-Pale-Moon-29.4.4.patch
khronosschoty
khronosschoty at posteo.org
Wed Feb 16 23:19:21 UTC 2022
Hi this is an update for Pale Moon
-------------- next part --------------
>From 88bb8a167bff0c8ba298e7b2c5f53a60def7d38c Mon Sep 17 00:00:00 2001
From: khronosschoty <khronosschoty at posteo.org>
Date: Wed, 16 Feb 2022 14:42:08 -0800
Subject: [PATCH] updated for Pale Moon 29.4.4
---
.../palemoon/basilisk-include-limits.patch | 34 +++++++++++++++++++
network/palemoon/palemoon.SlackBuild | 13 ++++---
network/palemoon/palemoon.info | 8 ++---
3 files changed, 43 insertions(+), 12 deletions(-)
create mode 100644 network/palemoon/basilisk-include-limits.patch
diff --git a/network/palemoon/basilisk-include-limits.patch b/network/palemoon/basilisk-include-limits.patch
new file mode 100644
index 0000000000..22a8dc2474
--- /dev/null
+++ b/network/palemoon/basilisk-include-limits.patch
@@ -0,0 +1,34 @@
+diff -Naur basilisk-2021.11.14-source_orig/platform/gfx/2d/BaseRect.h basilisk-2021.11.14-source/platform/gfx/2d/BaseRect.h
+--- basilisk-2021.11.14-source_orig/platform/gfx/2d/BaseRect.h 2021-11-12 17:10:16.000000000 -0500
++++ basilisk-2021.11.14-source/platform/gfx/2d/BaseRect.h 2021-11-15 17:32:59.411746189 -0500
+@@ -9,6 +9,7 @@
+ #include <algorithm>
+ #include <cmath>
+ #include <ostream>
++#include <limits>
+
+ #include "mozilla/Assertions.h"
+ #include "mozilla/FloatingPoint.h"
+diff -Naur basilisk-2021.11.14-source_orig/platform/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc basilisk-2021.11.14-source/platform/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc
+--- basilisk-2021.11.14-source_orig/platform/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc 2021-11-12 17:10:36.000000000 -0500
++++ basilisk-2021.11.14-source/platform/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc 2021-11-15 17:35:40.787737049 -0500
+@@ -7,7 +7,7 @@
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+-
++#include <limits>
+ #include "webrtc/modules/audio_coding/codecs/opus/interface/audio_encoder_opus.h"
+
+ #include "webrtc/base/checks.h"
+diff -Naur basilisk-2021.11.14-source_orig/platform/netwerk/base/nsURLParsers.cpp basilisk-2021.11.14-source/platform/netwerk/base/nsURLParsers.cpp
+--- basilisk-2021.11.14-source_orig/platform/netwerk/base/nsURLParsers.cpp 2021-11-12 17:10:38.000000000 -0500
++++ basilisk-2021.11.14-source/platform/netwerk/base/nsURLParsers.cpp 2021-11-15 17:33:50.427743299 -0500
+@@ -4,6 +4,7 @@
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+ #include <string.h>
++#include <limits>
+
+ #include "mozilla/RangedPtr.h"
+
diff --git a/network/palemoon/palemoon.SlackBuild b/network/palemoon/palemoon.SlackBuild
index e86e27814e..a6bc228142 100644
--- a/network/palemoon/palemoon.SlackBuild
+++ b/network/palemoon/palemoon.SlackBuild
@@ -28,10 +28,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=palemoon
-VERSION=${VERSION:-29.1.1}
-SRCNAM1=${SRCNAM1:-Pale-Moon-${VERSION}_Release}
-SRCNAM2=${SRCNAM2:-pale-moon}
-SRCNAM3=${SRCNAM3:-UXP-RELBASE_20210330}
+VERSION=${VERSION:-29.4.4}
+SRCNAM1=${SRCNAM1:-$PRGNAM-$VERSION.source}
+SRCNAM2=${SRCNAM2:-$PRGNAM-source}
+SRCNAM3=${SRCNAM3:-$PRGNAM-$VERSION.source}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -154,9 +154,8 @@ PATH=$TMP/autoconf-tmp/usr/bin:$PATH
# Build Pale Moon
cd $TMP
rm -rf $SRCNAM2
-tar -xvf $CWD/$SRCNAM1.tar.gz
+tar -xvf $CWD/$SRCNAM1.tar.xz
cd $SRCNAM2
-tar -xvf $CWD/$SRCNAM3.tar.gz -C platform --strip-components 1
if [ "${ADNAUSEAM:-block}" = "unblock" ]; then
patch -p1 < $CWD/adNauseam-unblock.patch
@@ -166,6 +165,7 @@ fi
if [ "${PATCH_GLIBC:-no}" = "yes" ]; then
patch -p0 < $CWD/glibc-2.30+.patch
fi
+patch -p1 < $CWD/basilisk-include-limits.patch
chown -R root:root .
find -L . \
@@ -230,7 +230,6 @@ echo "ac_add_options --disable-pulseaudio" >> .mozconfig; fi
if pkg-config --exists jack && [ "${BLACKLIST_JACK:-no}" != "yes" ]; then
echo "ac_add_options --enable-jack" >> .mozconfig; fi
-sed -i 's/.\/platform\/mach/"python2\ .\/platform\/mach"/g' mach
./mach build
## Clean up; and package Pale Moon.
diff --git a/network/palemoon/palemoon.info b/network/palemoon/palemoon.info
index 080df02f4e..c28f1e3154 100644
--- a/network/palemoon/palemoon.info
+++ b/network/palemoon/palemoon.info
@@ -1,11 +1,9 @@
PRGNAM="palemoon"
-VERSION="29.1.1"
+VERSION="29.4.4"
HOMEPAGE="http://www.palemoon.org/"
-DOWNLOAD="http://repo.khronosschoty.org/Slackware/Pale-Moon/source/Pale-Moon-29.1.1_Release.tar.gz
- http://repo.khronosschoty.org/Slackware/Pale-Moon/source/UXP-RELBASE_20210330.tar.gz \
+DOWNLOAD="http://archive.palemoon.org/source/palemoon-29.4.4.source.tar.xz
http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz"
-MD5SUM="f522cab929ec62382dc30391a590b039 \
- 535724b8fbb0d791cdf48f456969df9f \
+MD5SUM="84aaa73e058742c0a0dfe3d7f42c9ef0 \
f2994d302cf736e7e71974edfa51da3c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
--
2.35.1
More information about the SlackBuilds-users
mailing list