pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to compile a minimalist, yet usable www/firefox?
You certainly do not need pulseaudio, all my firefox builds are with
oss. I presume you are talking about building it for NetBSD use, of
course. On my build host I get:
----------
make show-options
Any of the following general options may be selected:
alsa Enable ALSA support.
dbus Enable dbus (desktop bus) support.
debug Enable debugging facilities in the package.
debug-info Enable debug info in generated binaries (e.g.
for crash analysis), but not full scale debugging.
mozilla-jemalloc Enable building with Mozilla'a jemalloc.
official-mozilla-branding Use official Mozilla reg.
trademarks and logos.
oss Enable support for the Open Sound System audio library.
pulseaudio Enable support for the PulseAudio sound server.
webrtc Enable web realtime communications API.
These options are enabled by default:
dbus oss
These options are currently enabled:
dbus official-mozilla-branding oss
-----
so you certianly could disable dbus as well, leaving only oss (forget
about the branding).
My about:buildconfig is:
------
about:buildconfig
Build platform
target
x86_64--netbsd
Build tools
Compiler Version Compiler flags
/usr/pkgsrc/www/firefox/work/.cwrapper/bin/gcc 7.4.0 -O2
-I/usr/pkg/include/nspr -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nss/nss
-I/usr/X11R7/include -I/usr/X11R7/include/libdrm
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4
-I/usr/pkg/include/freetype2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-fstack-protector-strong -fno-strict-aliasing -Dunix
-ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe
-I/usr/pkg/include
/usr/pkgsrc/www/firefox/work/.cwrapper/bin/c++ 7.4.0
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr
-I/usr/pkg/include/nss/nss -I/usr/X11R7/include
-I/usr/X11R7/include/libdrm -I/usr/pkg/include/glib/glib-2.0
-I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/ffmpeg4 -I/usr/pkg/include/freetype2
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wall
-Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith
-Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings
-Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond
-Wimplicit-fallthrough -Wno-error=maybe-uninitialized
-Wno-error=deprecated-declarations -Wno-error=array-bounds
-Wno-error=free-nonheap-object -Wformat -Wformat-overflow=2
-fno-sized-deallocation -O2 -I/usr/pkg/include/nspr
-D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/nss/nss -I/usr/X11R7/include
-I/usr/X11R7/include/libdrm -I/usr/pkg/include/glib/glib-2.0
-I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/ffmpeg4 -I/usr/pkg/include/freetype2
-D__HAVE_INLINE___ISINF -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-fstack-protector-strong -fno-exceptions -fno-strict-aliasing -Dunix
-fno-rtti -ffunction-sections -fdata-sections -fno-exceptions
-fno-math-errno -pthread -pipe -I/usr/pkg/include -O2
-fomit-frame-pointer -funwind-tables
/usr/pkg/bin/rustc 1.34.0
Configure options
PYTHON3=/usr/pkg/bin/python3.7 --host=x86_64--netbsd
--target=x86_64--netbsd --enable-application=browser --disable-tests
--enable-optimize=-O2 CC=gcc CXX=c++ --disable-debug-symbols
PKG_CONFIG=/usr/pkgsrc/www/firefox/work/.tools/bin/pkg-config
--disable-pulseaudio 'BINDGEN_CFLAGS=-isystem/usr/pkg/include/nspr
-isystem/usr/X11R7/include/pixman-1' --enable-system-ffi
--enable-chrome-format=flat --enable-webrender=build
--with-system-webp --disable-webrtc MAKE=make --disable-crashreporter
--enable-dbus --disable-gconf --disable-icf --enable-install-strip
--disable-libjpeg-turbo --disable-necko-wifi
--enable-official-branding --enable-system-pixman --disable-updater
--prefix=/usr/pkg --with-oss --with-system-bz2 --with-system-icu
--with-system-libevent=/usr --with-system-nspr --with-system-nss
--with-system-zlib
------
There was a time when firefox was unstable, crashed, individual tabs
stopped working etc. Now for me it is very stable and usable under
NetBSD, at present on 66.0.5, as on every other firefox installation
I've got. The only problem - still ongoing, as of today - is the audio
regression from a couple of days ago, which renders videos unplayable,
but this is as far as I understand it not a firefox problem.
On Mon, 13 May 2019 at 11:14, Ottavio Caruso
<ottavio2006-usenet2012%yahoo.com@localhost> wrote:
>
> Hi all,
>
> I'm running the latest Firefox on my Linux box, which I have
> downloaded in binary form from the Mozilla servers (not the one from
> my distribution).
>
> This what about:buildconfig reports:
>
> Configure options
>
> MOZ_AUTOMATION=1 MOZILLA_OFFICIAL=1 --enable-update-channel=release
> MOZ_PGO=1 CC=/builds/worker/workspace/build/src/clang/bin/clang
> CXX=/builds/worker/workspace/build/src/clang/bin/clang++
> LLVM_PROFDATA=/builds/worker/workspace/build/src/clang/bin/llvm-profdata
> --enable-lto ENABLE_CLANG_PLUGIN=1 MOZ_STDCXX_COMPAT=1
> AR=/builds/worker/workspace/build/src/clang/bin/llvm-ar
> MOZ_NO_PIE_COMPAT=1
> CBINDGEN=/builds/worker/workspace/build/src/cbindgen/cbindgen
> RUSTFMT=/builds/worker/workspace/build/src/rustc/bin/rustfmt
> LLVM_CONFIG=/builds/worker/workspace/build/src/clang/bin/llvm-config
> RUSTC=/builds/worker/workspace/build/src/rustc/bin/rustc
> CARGO=/builds/worker/workspace/build/src/rustc/bin/cargo
> RUSTDOC=/builds/worker/workspace/build/src/rustc/bin/rustdoc
> --enable-js-shell
> NODEJS=/builds/worker/workspace/build/src/node/bin/node
> --with-mozilla-api-keyfile=/builds/mozilla-desktop-geoloc-api.key
> --with-google-location-service-api-keyfile=/builds/gls-gapi.data
> --with-google-safebrowsing-api-keyfile=/builds/sb-gapi.data
> --enable-rust-simd --enable-verify-mar MAKE=/usr/bin/make
> --enable-crashreporter --enable-official-branding
>
>
> There's no mention of pulseaudio, dbus, mozilla-jemalloc.
>
> Am I missing something?
>
> How could they build FF without these options? Would my Firefox from
> pkgsrc work without the default options?
>
> Thanks
>
> --
> Ottavio Caruso
--
----
Home |
Main Index |
Thread Index |
Old Index