From 9db68075ad14c28c43e15bd586fde357bd4f83b4 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 26 Jan 2024 20:03:39 -0500 Subject: nm 32.5.2 rc1 --- newmoon/debian/_service | 4 ++-- newmoon/debian/changelog | 23 +++++++++++++++++++++++ newmoon/debian/control | 6 ++++-- newmoon/debian/mozconfig | 14 +++++++------- newmoon/debian/newmoon+stackrpms.dsc | 2 +- newmoon/debian/patches/fix-armhf-FTBFS.patch | 20 ++++++++++++++++++++ newmoon/debian/patches/series | 3 +-- newmoon/debian/rules | 8 +++++++- 8 files changed, 65 insertions(+), 15 deletions(-) create mode 100644 newmoon/debian/patches/fix-armhf-FTBFS.patch (limited to 'newmoon') diff --git a/newmoon/debian/_service b/newmoon/debian/_service index d1ee13f..f6b9f70 100644 --- a/newmoon/debian/_service +++ b/newmoon/debian/_service @@ -1,7 +1,7 @@ git - https://gitlab.com/bgstack15/stackrpms.git + https://bgstack15.ddns.net/cgit/stackrpms newmoon/debian debian newmoon-bump @@ -14,7 +14,7 @@ git https://repo.palemoon.org/MoonchildProductions/Pale-Moon.git - 32.1.0_Release + 32.5.2_Release _none_ enable diff --git a/newmoon/debian/changelog b/newmoon/debian/changelog index 0be2e43..7918cc9 100644 --- a/newmoon/debian/changelog +++ b/newmoon/debian/changelog @@ -1,3 +1,26 @@ +newmoon (32.5.2-1+stackrpms) obs; urgency=medium + + * Bugfix and security update: + - Removed the standard Twitter/X user-agent override because they decided + to block us on it. + - Added preferences for the user to control whether or not the tab page + title should be included in the window title or not. In Private Browsing + mode, the default is now to not show the title in the window. This was + done to avoid potential leakage to system logs (e.g. GNOME shell logs or + Windows event logs) of websites visited through the recorded window + title. The new preferences are privacy.exposeContentTitleInWindow and + privacy.exposeContentTitleInWindow.pbm for normal mode and Private + Browsing mode, respectively. + - Fixed several crashes in DOM and relating to dynamic JavaScript + module imports. + - Removed a restriction on Fetch preflight redirects, following a spec + update. + - Improved the handling of web workers if they get aborted mid-action. + - Security issues addressed: CVE-2023-6863, CVE-2023-6858 and several + others that do not have a CVE number. + + -- B. Stack Fri, 26 Jan 2024 19:50:47 -0500 + newmoon (32.1.0-1+stackrpms) obs; urgency=low * Shadow DOM and CustomElements, collectively making up WebComponents, diff --git a/newmoon/debian/control b/newmoon/debian/control index d2604b5..647a0fc 100644 --- a/newmoon/debian/control +++ b/newmoon/debian/control @@ -1,15 +1,17 @@ Source: newmoon Section: web Priority: optional -Maintainer: B Stack +Maintainer: B. Stack Bugs: mailto: Build-Depends: debhelper (>= 12), autoconf2.13, g++ (>= 7), libasound2-dev, libdbus-glib-1-dev (>= 0.60), + libfontconfig1-dev, libgconf2-dev (>= 1.2.1), - libgtk2.0-dev (>= 2.14), + libgtk2.0-dev (>= 2.18), + libpulse-dev, libx11-xcb-dev, libxt-dev, mesa-common-dev, diff --git a/newmoon/debian/mozconfig b/newmoon/debian/mozconfig index aa24383..e131daa 100644 --- a/newmoon/debian/mozconfig +++ b/newmoon/debian/mozconfig @@ -8,15 +8,16 @@ export MOZ_NOSPAM=1 # If you want to control where the built objects go #mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/pmbuild +# Official Pale Moon branding. Please see https://www.palemoon.org/redist.shtml +# for restrictions when using the official branding. ac_add_options --enable-application=palemoon ac_add_options --disable-official-branding ac_add_options --enable-official-vendor -# Standard -# Enables +# Standard, approved Pale Moon build options. +# Enable stuff ac_add_options --enable-av1 ac_add_options --enable-optimize="-O2 -w" -# accepts either gtk2 or gtk3 here, but gtk2 is only officially supported option ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --enable-devtools ac_add_options --enable-jemalloc @@ -24,11 +25,10 @@ ac_add_options --enable-jxl ac_add_options --with-pthreads ac_add_options --enable-strip -# Disables +# Disable stuff # disable-debug-symbols removes the ability to do a stack trace. I do not do any stack traces anyways. ?f=5&t=28254 ac_add_options --disable-debug-symbols ac_add_options --disable-debug -ac_add_options --disable-debug ac_add_options --disable-eme ac_add_options --disable-gamepad ac_add_options --disable-necko-wifi @@ -48,7 +48,7 @@ ac_add_options --x-libraries=/usr/lib ac_add_options --prefix=/usr # Devuan style ac_add_options --disable-dbus -ac_add_options --disable-pulseaudio +#ac_add_options --disable-pulseaudio # even though this is redundant ac_add_options --enable-alsa @@ -71,4 +71,4 @@ ac_add_options --disable-personas # Debian Sid/Devuan Ceres; 2020-07 only -j1 works due to a bug. #mk_add_options MOZ_MAKE_FLAGS="-j1" -export MOZ_PKG_SPECIAL=gtk2 +#export MOZ_PKG_SPECIAL=gtk2 diff --git a/newmoon/debian/newmoon+stackrpms.dsc b/newmoon/debian/newmoon+stackrpms.dsc index d06db01..c3d1101 100644 --- a/newmoon/debian/newmoon+stackrpms.dsc +++ b/newmoon/debian/newmoon+stackrpms.dsc @@ -2,7 +2,7 @@ Format: 3.0 (quilt) Source: newmoon Binary: newmoon Architecture: any -Version: 32.1.0-1+stackrpms +Version: 32.5.2-1+stackrpms Maintainer: B. Stack Homepage: http://www.palemoon.org/ Standards-Version: 4.1.4 diff --git a/newmoon/debian/patches/fix-armhf-FTBFS.patch b/newmoon/debian/patches/fix-armhf-FTBFS.patch new file mode 100644 index 0000000..e15be32 --- /dev/null +++ b/newmoon/debian/patches/fix-armhf-FTBFS.patch @@ -0,0 +1,20 @@ +--- palemoon-32.4.1.orig/platform/js/src/jit/arm/MacroAssembler-arm.cpp ++++ palemoon-32.4.1/platform/js/src/jit/arm/MacroAssembler-arm.cpp +@@ -3013,7 +3013,7 @@ MacroAssemblerARMCompat::testInt32(Condi + return cond; + } + +-+Assembler::Condition ++Assembler::Condition + MacroAssemblerARMCompat::testBigInt(Condition cond,const BaseIndex& src) + { + MOZ_ASSERT(cond == Equal || cond == NotEqual); +@@ -3766,7 +3766,7 @@ MacroAssemblerARMCompat::testStringTruth + return truthy ? Assembler::NotEqual : Assembler::Equal; + } + +-+Assembler::Condition ++Assembler::Condition + MacroAssemblerARMCompat::testBigIntTruthy(bool truthy, const ValueOperand& value) + { + Register bi = value.payloadReg(); diff --git a/newmoon/debian/patches/series b/newmoon/debian/patches/series index 85f30b8..e6eb56e 100644 --- a/newmoon/debian/patches/series +++ b/newmoon/debian/patches/series @@ -1,5 +1,4 @@ -# from stevepusser for 29.4.3: -#revert-mach-file.patch +fix-armhf-FTBFS.patch # stackrpms small-icons.patch pm-devuan.patch diff --git a/newmoon/debian/rules b/newmoon/debian/rules index 3d4ed6f..6f11f13 100755 --- a/newmoon/debian/rules +++ b/newmoon/debian/rules @@ -3,6 +3,8 @@ # Some Debian build tools clear out some variables export SHELL=/bin/bash +MOZCONFIGFILE = debian/mozconfig + # stackrpms,2 just do not need lsb_release #distrel := $(shell lsb_release --codename --short) @@ -12,6 +14,7 @@ export SHELL=/bin/bash LDFLAGS += -Wl,--reduce-memory-overheads LDFLAGS += -Wl,--no-keep-memory +# stackrpms,3 must be legacy and sounds interesting # Add execution time and memory usage stats in the logs LDFLAGS += -Wl,--stats @@ -20,6 +23,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH), armhf)) export DEB_CXXFLAGS_MAINT_APPEND = -mfpu=neon -funsafe-math-optimizations endif +#stackrpms,7-->1 I do not need this distrel logic + %: dh $@ @@ -33,10 +38,11 @@ override_dh_auto_clean: mv palemoon/branding/unofficial.unbuilt palemoon/branding/unofficial ; \ } || : +# Don't run the "autoreconfigure by default" added to debhelper >= 10. override_dh_autoreconf: override_dh_auto_configure: - cp debian/mozconfig mozconfig + cp $(MOZCONFIGFILE) . #stackrpms,4 ! test -d palemoon/branding/unofficial.unbuilt && { \ cp -pr palemoon/branding/unofficial palemoon/branding/unofficial.unbuilt && \ -- cgit From 074d96d8ecdece95d8e39f8b17d31f440266eeff Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 26 Jan 2024 20:33:17 -0500 Subject: add ffmpeg patch from videolan.org --- newmoon/debian/control | 1 - ...-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch | 76 ++++++++++++++++++++++ newmoon/debian/patches/series | 1 + 3 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch (limited to 'newmoon') diff --git a/newmoon/debian/control b/newmoon/debian/control index 647a0fc..cb9cd4f 100644 --- a/newmoon/debian/control +++ b/newmoon/debian/control @@ -9,7 +9,6 @@ Build-Depends: debhelper (>= 12), libasound2-dev, libdbus-glib-1-dev (>= 0.60), libfontconfig1-dev, - libgconf2-dev (>= 1.2.1), libgtk2.0-dev (>= 2.18), libpulse-dev, libx11-xcb-dev, diff --git a/newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch b/newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch new file mode 100644 index 0000000..33fd3d4 --- /dev/null +++ b/newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch @@ -0,0 +1,76 @@ +From effadce6c756247ea8bae32dc13bb3e6f464f0eb Mon Sep 17 00:00:00 2001 +From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= +Date: Sun, 16 Jul 2023 18:18:02 +0300 +Subject: [PATCH] avcodec/x86/mathops: clip constants used with shift + instructions within inline assembly + +Fixes assembling with binutil as >= 2.41 + +Signed-off-by: James Almer +--- + libavcodec/x86/mathops.h | 26 +++++++++++++++++++++++--- + 1 file changed, 23 insertions(+), 3 deletions(-) + +diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h +index 6298f5ed19..ca7e2dffc1 100644 +--- a/libavcodec/x86/mathops.h ++++ b/libavcodec/x86/mathops.h +@@ -35,12 +35,20 @@ + static av_always_inline av_const int MULL(int a, int b, unsigned shift) + { + int rt, dummy; ++ if (__builtin_constant_p(shift)) + __asm__ ( + "imull %3 \n\t" + "shrdl %4, %%edx, %%eax \n\t" + :"=a"(rt), "=d"(dummy) +- :"a"(a), "rm"(b), "ci"((uint8_t)shift) ++ :"a"(a), "rm"(b), "i"(shift & 0x1F) + ); ++ else ++ __asm__ ( ++ "imull %3 \n\t" ++ "shrdl %4, %%edx, %%eax \n\t" ++ :"=a"(rt), "=d"(dummy) ++ :"a"(a), "rm"(b), "c"((uint8_t)shift) ++ ); + return rt; + } + +@@ -113,19 +121,31 @@ __asm__ volatile(\ + // avoid +32 for shift optimization (gcc should do that ...) + #define NEG_SSR32 NEG_SSR32 + static inline int32_t NEG_SSR32( int32_t a, int8_t s){ ++ if (__builtin_constant_p(s)) + __asm__ ("sarl %1, %0\n\t" + : "+r" (a) +- : "ic" ((uint8_t)(-s)) ++ : "i" (-s & 0x1F) + ); ++ else ++ __asm__ ("sarl %1, %0\n\t" ++ : "+r" (a) ++ : "c" ((uint8_t)(-s)) ++ ); + return a; + } + + #define NEG_USR32 NEG_USR32 + static inline uint32_t NEG_USR32(uint32_t a, int8_t s){ ++ if (__builtin_constant_p(s)) + __asm__ ("shrl %1, %0\n\t" + : "+r" (a) +- : "ic" ((uint8_t)(-s)) ++ : "i" (-s & 0x1F) + ); ++ else ++ __asm__ ("shrl %1, %0\n\t" ++ : "+r" (a) ++ : "c" ((uint8_t)(-s)) ++ ); + return a; + } + +-- +2.30.2 + diff --git a/newmoon/debian/patches/series b/newmoon/debian/patches/series index e6eb56e..4cd1aab 100644 --- a/newmoon/debian/patches/series +++ b/newmoon/debian/patches/series @@ -3,3 +3,4 @@ fix-armhf-FTBFS.patch small-icons.patch pm-devuan.patch pm-to-nm.patch +ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch -- cgit From bbf77f60302c4f3532fbb7316ad1d7d130755c9c Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 26 Jan 2024 21:59:15 -0500 Subject: nm: fix patches --- ...-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch | 6 +++-- newmoon/debian/patches/pm-devuan.patch | 26 +++++++++------------- 2 files changed, 15 insertions(+), 17 deletions(-) (limited to 'newmoon') diff --git a/newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch b/newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch index 33fd3d4..2929219 100644 --- a/newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch +++ b/newmoon/debian/patches/ffmpeg.git-effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch @@ -11,10 +11,12 @@ Signed-off-by: James Almer libavcodec/x86/mathops.h | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) +Source: https://git.videolan.org/?p=ffmpeg.git;a=patch;h=effadce6c756247ea8bae32dc13bb3e6f464f0eb + diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h index 6298f5ed19..ca7e2dffc1 100644 ---- a/libavcodec/x86/mathops.h -+++ b/libavcodec/x86/mathops.h +--- a/platform/media/ffvpx/libavcodec/x86/mathops.h ++++ b/platform/media/ffvpx/libavcodec/x86/mathops.h @@ -35,12 +35,20 @@ static av_always_inline av_const int MULL(int a, int b, unsigned shift) { diff --git a/newmoon/debian/patches/pm-devuan.patch b/newmoon/debian/patches/pm-devuan.patch index 97d7471..cff8e26 100644 --- a/newmoon/debian/patches/pm-devuan.patch +++ b/newmoon/debian/patches/pm-devuan.patch @@ -1,6 +1,5 @@ -diff -Naur Pale-Moon-28.9.0.2_Release/palemoon/base/content/aboutDialog.xul Pale-Moon-28.9.0.2_Release-new/palemoon/base/content/aboutDialog.xul ---- Pale-Moon-28.9.0.2_Release/palemoon/base/content/aboutDialog.xul 2020-03-25 09:49:13.000000000 -0400 -+++ Pale-Moon-28.9.0.2_Release-new/palemoon/base/content/aboutDialog.xul 2020-05-05 09:12:48.776096853 -0400 +--- a/palemoon/base/content/aboutDialog.xul ++++ b/palemoon/base/content/aboutDialog.xul @@ -39,9 +39,9 @@ @@ -17,26 +16,24 @@ diff -Naur Pale-Moon-28.9.0.2_Release/palemoon/base/content/aboutDialog.xul Pale #ifdef MC_PRIVATE_BUILD This is a private build of Pale Moon. If you did not manually build this copy from source yourself, then please download an official version from the . #else -- is released by . -+ This build of newmoon is released by custom. +- is released by Moonchild Productions. ++ This build of newmoon is released by stackrpms. Special thanks to all our supporters and donors for making this browser possible! -diff -Naur Pale-Moon-28.9.0.2_Release/palemoon/branding/official/content/aboutDialog.css Pale-Moon-28.9.0.2_Release-new/palemoon/branding/official/content/aboutDialog.css ---- Pale-Moon-28.9.0.2_Release/palemoon/branding/official/content/aboutDialog.css 2020-03-25 09:49:13.000000000 -0400 -+++ Pale-Moon-28.9.0.2_Release-new/palemoon/branding/official/content/aboutDialog.css 2020-05-05 09:02:38.318463672 -0400 +--- a/palemoon/branding/official/content/aboutDialog.css ++++ b/palemoon/branding/official/content/aboutDialog.css @@ -21,8 +21,6 @@ - } #aboutTextBox { + position: relative; - animation: 3s fadeIn; - animation-fill-mode: forwards; text-shadow: 1px 1px 0px #9ABCD5; color: #101020; } -diff -Naur Pale-Moon-28.9.0.2_Release/palemoon/branding/official/locales/en-US/brand.dtd Pale-Moon-28.9.0.2_Release-new/palemoon/branding/official/locales/en-US/brand.dtd ---- Pale-Moon-28.9.0.2_Release/palemoon/branding/official/locales/en-US/brand.dtd 2020-03-25 09:49:13.000000000 -0400 -+++ Pale-Moon-28.9.0.2_Release-new/palemoon/branding/official/locales/en-US/brand.dtd 2020-05-05 08:28:53.071897555 -0400 +--- a/palemoon/branding/official/locales/en-US/brand.dtd ++++ b/palemoon/branding/official/locales/en-US/brand.dtd @@ -1,4 +1,4 @@ - - @@ -45,9 +42,8 @@ diff -Naur Pale-Moon-28.9.0.2_Release/palemoon/branding/official/locales/en-US/b + + -diff -Naur Pale-Moon-28.9.0.2_Release/palemoon/branding/official/locales/en-US/brand.properties Pale-Moon-28.9.0.2_Release-new/palemoon/branding/official/locales/en-US/brand.properties ---- Pale-Moon-28.9.0.2_Release/palemoon/branding/official/locales/en-US/brand.properties 2020-03-25 09:49:13.000000000 -0400 -+++ Pale-Moon-28.9.0.2_Release-new/palemoon/branding/official/locales/en-US/brand.properties 2020-05-05 08:28:07.923487413 -0400 +--- a/palemoon/branding/official/locales/en-US/brand.properties ++++ b/palemoon/branding/official/locales/en-US/brand.properties @@ -1,5 +1,5 @@ -brandShortName=Pale Moon -brandFullName=Pale Moon -- cgit From 4635ceb1bb014db0c0be903f4b2db5268103400a Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 26 Jan 2024 22:06:29 -0500 Subject: nm: add libpulse to dsc --- newmoon/debian/newmoon+stackrpms.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newmoon') diff --git a/newmoon/debian/newmoon+stackrpms.dsc b/newmoon/debian/newmoon+stackrpms.dsc index c3d1101..f4decea 100644 --- a/newmoon/debian/newmoon+stackrpms.dsc +++ b/newmoon/debian/newmoon+stackrpms.dsc @@ -6,7 +6,7 @@ Version: 32.5.2-1+stackrpms Maintainer: B. Stack Homepage: http://www.palemoon.org/ Standards-Version: 4.1.4 -Build-Depends: debhelper (>= 12), gcc (<< 11) | gcc-10, g++ (<< 11) | g++-10, autoconf2.13, libasound2-dev, libdbus-glib-1-dev (>= 0.60), libgconf2-dev (>= 1.2.1), libgtk2.0-dev (>= 2.14), libx11-xcb-dev, libxt-dev, mesa-common-dev, pkg-config, python2 (>= 2.7.18-2~) | python (>= 2.7) | python2.7, unzip, yasm (>= 1.1), zip +Build-Depends: debhelper (>= 12), gcc (<< 11) | gcc-10, g++ (<< 11) | g++-10, autoconf2.13, libasound2-dev, libdbus-glib-1-dev (>= 0.60), libfontconfig1-dev, libgconf2-dev (>= 1.2.1), libgtk2.0-dev (>= 2.14), libpulse-dev, libx11-xcb-dev, libxt-dev, mesa-common-dev, pkg-config, python2 (>= 2.7.18-2~) | python (>= 2.7) | python2.7, unzip, yasm (>= 1.1), zip Package-List: newmoon deb web optional arch=any Files: -- cgit From e52d223b21e4b948bfbd286aa4a075107560f92b Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 26 Jan 2024 22:21:35 -0500 Subject: remove --disable-eme --- newmoon/debian/mozconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newmoon') diff --git a/newmoon/debian/mozconfig b/newmoon/debian/mozconfig index e131daa..61a7e75 100644 --- a/newmoon/debian/mozconfig +++ b/newmoon/debian/mozconfig @@ -29,7 +29,7 @@ ac_add_options --enable-strip # disable-debug-symbols removes the ability to do a stack trace. I do not do any stack traces anyways. ?f=5&t=28254 ac_add_options --disable-debug-symbols ac_add_options --disable-debug -ac_add_options --disable-eme +#ac_add_options --disable-eme ac_add_options --disable-gamepad ac_add_options --disable-necko-wifi ac_add_options --disable-tests -- cgit