From 26cda67f39ba1144792e31c1b20058e64ae886b4 Mon Sep 17 00:00:00 2001 From: K4sum1 Date: Sun, 14 Jul 2024 06:35:29 -0700 Subject: [PATCH] other --- mozconfigs/mail-win | 65 ++++++++---------------- mozconfigs/navigator-win | 65 +++++++++--------------- navigator/branding/official/configure.sh | 4 +- 3 files changed, 49 insertions(+), 85 deletions(-) diff --git a/mozconfigs/mail-win b/mozconfigs/mail-win index aa4d8332..2abfc2bd 100644 --- a/mozconfigs/mail-win +++ b/mozconfigs/mail-win @@ -6,77 +6,64 @@ ac_add_options --enable-official-branding ac_add_options --with-app-name=eMail ac_add_options --with-app-basename=eMail -ac_add_options --with-distribution-id=com.eclipse export MOZ_OFFICIAL_BRANDING=1 +export MC_OFFICIAL=1 # 16 jobs for 16 cores mk_add_options MOZ_MAKE_FLAGS="-j16" # x86 build +ac_add_options --host=i686-pc-mingw32 ac_add_options --target=i686-pc-mingw32 WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x86 +WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r86 -# x64 build -#ac_add_options --target=x86_64-pc-mingw32 -#WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x64 - -# Build only Lun3r +# Build only eMail ac_add_options --enable-project=mail ac_add_options --disable-artifact-builds +# Updater stuffs +ac_add_options --disable-updater +# Enable if update server and signatures are figured out +#ac_add_options --enable-nss-mar + # Optimization settings -ac_add_options --enable-release -ac_add_options --enable-jemalloc +ac_add_options --disable-accessibility ac_add_options --disable-debug -ac_add_options --disable-debug-symbols ac_add_options --disable-debug-js-modules +ac_add_options --disable-debug-symbols ac_add_options --disable-tests -#ac_add_options --disable-mochitests -ac_add_options --disable-accessibility #ac_add_options --enable-devtools +#ac_add_options --enable-install-strip +ac_add_options --enable-jemalloc +ac_add_options --enable-js-lto +ac_add_options --enable-optimize="-arch:IA32 -O2 -Ob2ity -GS- -GFAT -Qpar -Qfast_transcendentals -openmp" ac_add_options --enable-phoenix-extensions +ac_add_options --enable-release ac_add_options --enable-shared-js ac_add_options --enable-strip -ac_add_options --enable-install-strip -#ac_add_options --enable-clang-plugin -ac_add_options --enable-js-lto -ac_add_options --enable-optimize="-arch:IA32 -O2 -Ob2it -Oy- -GS- -GFAT -Qpar -Qfast_transcendentals -openmp" -#ac_add_options --enable-hardening -export CROSS_COMPILE=0 -export MOZ_INCLUDE_SOURCE_INFO=1 -export MOZILLA_OFFICIAL=1 export MOZ_OPTIMIZE=1 +export MOZILLA_OFFICIAL=1 export STRIP_FLAGS="--strip-debug --strip-unneeded" # Media settings +ac_add_options --enable-av1 +ac_add_options --enable-jxl ac_add_options --enable-raw ac_add_options --enable-webrtc -ac_add_options --enable-jxl -ac_add_options --enable-av1 - -# Enable if update server and signatures are figured out -#ac_add_options --enable-nss-mar # Client settings -#ac_add_options --disable-backgroundtasks -#ac_add_options --disable-bits-download ac_add_options --disable-crashreporter -#ac_add_options --disable-default-browser-agent ac_add_options --disable-eme ac_add_options --disable-maintenance-service -#ac_add_options --disable-notification-server ac_add_options --disable-parental-controls -#ac_add_options --disable-update-agent -ac_add_options --disable-updater -#ac_add_options --without-wasm-sandboxed-libraries -export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason -mk_add_options MOZ_CRASHREPORTER=0 -mk_add_options MOZ_DATA_REPORTING=0 mk_add_options MOZ_SERVICES_HEALTHREPORT=0 -mk_add_options MOZ_TELEMETRY_REPORTING= +export CROSS_COMPILE=0 export MOZ_CRASHREPORTER=0 export MOZ_DATA_REPORTING=0 +export MOZ_INCLUDE_SOURCE_INFO=1 export MOZ_REQUIRE_SIGNING= +export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason export MOZ_TELEMETRY_REPORTING= # Set -Copt-level=3 @@ -86,14 +73,6 @@ ac_add_options OPT_LEVEL="3" # Enable LTO export MOZ_LTO=1 ac_add_options MOZ_LTO=1 -#export MOZ_PGO=1 -#ac_add_options MOZ_PGO=1 - -if test "$GEN_PGO"; then - ac_add_options --enable-profile-generate -elif test "$USE_PGO"; then - ac_add_options --enable-profile-use=cross -fi # Compiler, Linker, and Rust flags export CFLAGS="-O2" diff --git a/mozconfigs/navigator-win b/mozconfigs/navigator-win index 45542473..d22d5134 100644 --- a/mozconfigs/navigator-win +++ b/mozconfigs/navigator-win @@ -4,79 +4,72 @@ # Please do not redistribute this build with official branding if you are not part of Eclipse Community. ac_add_options --enable-official-branding -ac_add_options --with-app-name="Lun3r Navigator" +ac_add_options --with-app-name=lun3r-navigator ac_add_options --with-app-basename="Lun3r Navigator" -ac_add_options --with-distribution-id=com.eclipse export MOZ_OFFICIAL_BRANDING=1 +export MC_OFFICIAL=1 # 16 jobs for 16 cores mk_add_options MOZ_MAKE_FLAGS="-j16" # x86 build +ac_add_options --host=i686-pc-mingw32 ac_add_options --target=i686-pc-mingw32 WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x86 +WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r86 # x64 build +#ac_add_options --host=x86_64-pc-mingw32 #ac_add_options --target=x86_64-pc-mingw32 #WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x64 +#WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r64 # Build only Lun3r ac_add_options --enable-project=navigator ac_add_options --disable-artifact-builds +# Updater stuffs +ac_add_options --disable-updater +# Enable if update server and signatures are figured out +#ac_add_options --enable-nss-mar + # Optimization settings -ac_add_options --enable-release -ac_add_options --enable-jemalloc +ac_add_options --disable-accessibility ac_add_options --disable-debug -ac_add_options --disable-debug-symbols ac_add_options --disable-debug-js-modules +ac_add_options --disable-debug-symbols ac_add_options --disable-tests -#ac_add_options --disable-mochitests -ac_add_options --disable-accessibility -#ac_add_options --enable-devtools +ac_add_options --enable-devtools +#ac_add_options --enable-install-strip +ac_add_options --enable-jemalloc +ac_add_options --enable-js-lto +ac_add_options --enable-optimize="-O2 -Ob2ity -GS- -GFAT -Qpar -Qfast_transcendentals -openmp" ac_add_options --enable-phoenix-extensions +ac_add_options --enable-release ac_add_options --enable-shared-js ac_add_options --enable-strip -ac_add_options --enable-install-strip -#ac_add_options --enable-clang-plugin -ac_add_options --enable-js-lto -ac_add_options --enable-optimize="-arch:IA32 -O2 -Ob2it -Oy- -GS- -GFAT -Qpar -Qfast_transcendentals -openmp" -#ac_add_options --enable-hardening -export CROSS_COMPILE=0 -export MOZ_INCLUDE_SOURCE_INFO=1 -export MOZILLA_OFFICIAL=1 export MOZ_OPTIMIZE=1 +export MOZILLA_OFFICIAL=1 export STRIP_FLAGS="--strip-debug --strip-unneeded" # Media settings +ac_add_options --enable-av1 +ac_add_options --enable-jxl ac_add_options --enable-raw ac_add_options --enable-webrtc -ac_add_options --enable-jxl -ac_add_options --enable-av1 - -# Enable if update server and signatures are figured out -#ac_add_options --enable-nss-mar # Client settings -#ac_add_options --disable-backgroundtasks -#ac_add_options --disable-bits-download ac_add_options --disable-crashreporter -#ac_add_options --disable-default-browser-agent ac_add_options --disable-eme ac_add_options --disable-maintenance-service -#ac_add_options --disable-notification-server ac_add_options --disable-parental-controls -#ac_add_options --disable-update-agent -ac_add_options --disable-updater -#ac_add_options --without-wasm-sandboxed-libraries -export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason -mk_add_options MOZ_CRASHREPORTER=0 -mk_add_options MOZ_DATA_REPORTING=0 mk_add_options MOZ_SERVICES_HEALTHREPORT=0 -mk_add_options MOZ_TELEMETRY_REPORTING= +export CROSS_COMPILE=0 export MOZ_CRASHREPORTER=0 export MOZ_DATA_REPORTING=0 +export MOZ_INCLUDE_SOURCE_INFO=1 export MOZ_REQUIRE_SIGNING= +export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason export MOZ_TELEMETRY_REPORTING= # Set -Copt-level=3 @@ -86,14 +79,6 @@ ac_add_options OPT_LEVEL="3" # Enable LTO export MOZ_LTO=1 ac_add_options MOZ_LTO=1 -#export MOZ_PGO=1 -#ac_add_options MOZ_PGO=1 - -if test "$GEN_PGO"; then - ac_add_options --enable-profile-generate -elif test "$USE_PGO"; then - ac_add_options --enable-profile-use=cross -fi # Compiler, Linker, and Rust flags export CFLAGS="-O2" diff --git a/navigator/branding/official/configure.sh b/navigator/branding/official/configure.sh index 63bce5f7..29553caf 100644 --- a/navigator/branding/official/configure.sh +++ b/navigator/branding/official/configure.sh @@ -2,13 +2,13 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -MOZ_APP_NAME="Lun3r_Navigator" +MOZ_APP_NAME="lun3r-navigator" MOZ_APP_BASENAME="Lun3r Navigator" MOZ_APP_DISPLAYNAME="Lun3r Navigator" -MOZ_APP_UA_NAME=Lun3r_Navigator +MOZ_APP_UA_NAME=Lun3r-Navigator MOZ_APP_VENDOR="Eclipse Community"