From 15fe866e402e602da1fb5efec1fcfc7b0289444a Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 8 May 2020 14:36:48 +0000 Subject: aboutdialog customization --- palemoon/debian/changelog | 6 ++++ palemoon/debian/mozconfig | 52 +++++++++++++++-------------- palemoon/debian/palemoon_devuan.dsc | 2 +- palemoon/debian/patches/pm-devuan.patch | 59 +++++++++++++++++++++++++++++++++ palemoon/debian/patches/series | 1 + palemoon/palemoon.spec | 12 ++++--- palemoon/pm-fedora.patch | 59 +++++++++++++++++++++++++++++++++ 7 files changed, 162 insertions(+), 29 deletions(-) create mode 100644 palemoon/debian/patches/pm-devuan.patch create mode 100644 palemoon/pm-fedora.patch diff --git a/palemoon/debian/changelog b/palemoon/debian/changelog index 8ebc9c3..57de2fb 100644 --- a/palemoon/debian/changelog +++ b/palemoon/debian/changelog @@ -1,3 +1,9 @@ +palemoon (28.9.2-2+devuan) obs; urgency=medium + + * testing OBS build optimization and removing animation from about dialog + + -- Ben Stack Tue, 06 May 2020 15:08:46 -0400 + palemoon (28.9.2-1+devuan) obs; urgency=medium * This is a minor update for stability and compatibility. diff --git a/palemoon/debian/mozconfig b/palemoon/debian/mozconfig index bc45287..6513132 100644 --- a/palemoon/debian/mozconfig +++ b/palemoon/debian/mozconfig @@ -1,51 +1,55 @@ mk_add_options AUTOCLOBBER=1 -mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/pmbuild -ac_add_options --enable-application=palemoon - -ac_add_options --enable-optimize="-O2" - -ac_add_options --enable-official-branding -ac_add_options --enable-official-vendor - -# Safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in -# defines.sh during the beta cycle export BUILDING_RELEASE=1 export MC_OFFICIAL=1 export MOZILLA_OFFICIAL=1 export MC_PALEMOON=1 +#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/pmbuild + +ac_add_options --enable-application=palemoon +ac_add_options --enable-official-branding +ac_add_options --enable-official-vendor + # Disable add-ons signing # Disable checking that add-ons are signed by the trusted root MOZ_ADDON_SIGNING= # Disable enforcing that add-ons are signed by the trusted root MOZ_REQUIRE_SIGNING= +# Standard +# Enables +ac_add_options --enable-av1 +ac_add_options --enable-optimize="-O2 -Wl,--no-keep-memory -Wl,--reduce-memory-overhead" ac_add_options --enable-default-toolkit=cairo-gtk2 +ac_add_options --enable-devtools ac_add_options --enable-jemalloc -ac_add_options --enable-av1 -#ac_add_options --enable-shared-js -ac_add_options --enable-strip ac_add_options --with-pthreads - -ac_add_options --disable-tests +ac_add_options --enable-strip +# Disables ac_add_options --disable-debug -ac_add_options --disable-crashreporter ac_add_options --disable-eme -ac_add_options --disable-parental-controls -ac_add_options --disable-accessibility -ac_add_options --disable-webrtc ac_add_options --disable-gamepad ac_add_options --disable-necko-wifi +ac_add_options --disable-tests ac_add_options --disable-updater -# debian-style prefix +ac_add_options --disable-webrtc +# Disable temeletry +export MOZ_TELEMETRY_REPORTING= +ac_add_options --disable-crashreporter +ac_add_options --disable-parental-controls +ac_add_options --disable-accessibility + +# Debian style ac_add_options --prefix=/usr -# devuan options +# Devuan style ac_add_options --disable-dbus ac_add_options --disable-pulseaudio # even though this is redundant ac_add_options --enable-alsa -# Disable telemetry reporting -export MOZ_TELEMETRY_REPORTING= - +# primarily for 32-bit but tolerated for 64-bit ac_add_options --x-libraries=/usr/lib + +# TESTING FOR OBS +# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread) +mk_add_options MOZ_MAKE_FLAGS="-j4" diff --git a/palemoon/debian/palemoon_devuan.dsc b/palemoon/debian/palemoon_devuan.dsc index 8e5f0d8..83380a3 100644 --- a/palemoon/debian/palemoon_devuan.dsc +++ b/palemoon/debian/palemoon_devuan.dsc @@ -2,7 +2,7 @@ Format: 3.0 (quilt) Source: palemoon Binary: palemoon Architecture: any -Version: 28.9.2-1+devuan +Version: 28.9.2-2+devuan Maintainer: B Stack Homepage: http://www.palemoon.org/ Standards-Version: 4.1.4 diff --git a/palemoon/debian/patches/pm-devuan.patch b/palemoon/debian/patches/pm-devuan.patch new file mode 100644 index 0000000..4e694a9 --- /dev/null +++ b/palemoon/debian/patches/pm-devuan.patch @@ -0,0 +1,59 @@ +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 +@@ -39,9 +39,9 @@ + + + #ifdef HAVE_64BIT_BUILD +-#expand ++#expand + #else +-#expand ++#expand + #endif +