Help me to build a light Firefox

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
User avatar
fabrixx2
Posts: 62
Joined: January 3rd, 2010, 6:32 am
Contact:

Help me to build a light Firefox

Post by fabrixx2 »

Hi.
Happy New Year :)

I'm tryng to build in Linux a light firefox using Light mozconfig parameters.

From about:buildconfig of Light i got:

--enable-application=browser --disable-tests --with-ccache CC=clang CXX=clang++ --disable-debug-symbols --disable-profile-sps --with-l10n-base=/media/data/develop/mozilla/L10n --disable-eme --disable-webspeech --disable-dbm --disable-gmp --disable-webm --disable-opus --disable-ogg --disable-vpx --disable-webgl --disable-telemetry --disable-identity --disable-devtools --disable-pdfjs --with-locales=zh-CN MAKE=/usr/bin/gmake --disable-accessibility --enable-bundled-fonts --disable-crashreporter --disable-directshow --disable-gamepad --disable-media-navigator --disable-maintenance-service --disable-necko-wifi '--enable-optimize=-O3 -mtune=core2 -msse2 -mfpmath=sse' --disable-parental-controls --enable-raw --enable-release --disable-safe-browsing --enable-stdcxx-compat --disable-trace-logging --disable-updater --disable-webrtc --with-app-basename=Light --with-branding=browser/branding/official --without-intl-api


I'm tryng to mix this parameters with my usual mozconfig and after having removed the parameters not supported I was with these:

Code: Select all

ac_add_options --without-intl-api
ac_add_options --with-app-basename=FirefoxS
ac_add_options --disable-webrtc
ac_add_options --disable-updater
ac_add_options --disable-trace-logging
ac_add_options --enable-stdcxx-compat
ac_add_options --disable-safe-browsing
ac_add_options --enable-raw
ac_add_options --disable-parental-controls
ac_add_options "--enable-optimize=-O3 -mtune=core2 -msse2 -mfpmath=sse"
ac_add_options --disable-necko-wifi
ac_add_options --disable-maintenance-service
ac_add_options --disable-gamepad
ac_add_options --disable-directshow
ac_add_options --enable-bundled-fonts
ac_add_options --disable-accessibility
ac_add_options --disable-dbm
ac_add_options --disable-webspeech
ac_add_options --disable-eme
ac_add_options --disable-debug-symbols
ac_add_options --with-ccache CC=clang CXX=clang++
ac_add_options --enable-application=browser 
ac_add_options --enable-js-shell 
ac_add_options --enable-profiling 
ac_add_options --with-l10n-base=/home/fabrixx/Desktop/l10n 
ac_add_options --enable-default-toolkit=cairo-gtk3 
ac_add_options --disable-crashreporter 
ac_add_options --disable-debug 
ac_add_options --enable-official-branding 
ac_add_options --enable-optimize 
ac_add_options --disable-tests 
ac_add_options --enable-ui-locale=it 
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release
mk_add_options MOZ_MAKE_FLAGS="-j4"
export MOZ_DEBUG_SYMBOLS=1
export MOZILLA_OFFICIAL=1
mk_add_options MOZ_CO_LOCALES="it"
ac_add_options --enable-ui-locale=it

I tryed with Nightly latest beta & Stable sources but have several errors (opend 2 bugs on bugzilla).
With by usual mozconfig build ends successfully.

I'm trying to determine what causes the errors, you have any suggestions on the correct parameters to use?
Bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=1326528
https://bugzilla.mozilla.org/show_bug.cgi?id=1326535
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: Help me to build a light Firefox

Post by xunxun1982 »

xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: Help me to build a light Firefox

Post by xunxun1982 »

If you want to use --without-intl-api, you can use the patch in https://bugzilla.mozilla.org/show_bug.cgi?id=1301882
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: Help me to build a light Firefox

Post by xunxun1982 »

Long time ago, I wrote many patches for firefox mini/lite project : https://github.com/xunxun1982/pcxfirefo ... ini/29.0.1

I will update these patches when I have time
User avatar
fabrixx2
Posts: 62
Joined: January 3rd, 2010, 6:32 am
Contact:

Re: Help me to build a light Firefox

Post by fabrixx2 »

Ok i added some patches but have to remove:

Code: Select all

ac_add_options --enable-stdcxx-compat
ac_add_options --disable-trace-logging
Compilation work
https://www.youtube.com/watch?v=ZCU3SezK7og
xunxun1982 wrote:Long time ago, I wrote many patches for firefox mini/lite project : https://github.com/xunxun1982/pcxfirefo ... ini/29.0.1

I will update these patches when I have time
interesting!!

Patches are still valid?
Post Reply