Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications
that are as rich as Firefox and Thunderbird. It will provide mechanisms for
installing, upgrading, and uninstalling these applications. XULRunner will
also provide libxul, a solution which allows the embedding of Mozilla
technologies in other projects and products.
WWW: http://developer.mozilla.org/en/docs/XULRunner
===> The following configuration options are available for libxul-45.9.0_12:
BUNDLED_CAIRO=on: Use bundled fork of cairo-1.9.5
CANBERRA=off: Sound theme alerts
DBUS=on: D-Bus IPC system support
DEBUG=off: Build with debugging support
DTRACE=on: Build with DTrace probes
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
GCONF=on: GConf configuration backend support
INTEGER_SAMPLES=off: Integer audio sample format
LIBPROXY=off: Proxy support via libproxy
OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
PROFILE=on: Build with profiling support
RUST=off: Build with components written in Rust language
TEST=off: Build and/or run tests
====> Options available for the multi AUDIO: you have to choose at least one of them
ALSA=on: ALSA audio architecture support
PULSEAUDIO=on: PulseAudio sound server support
SNDIO=off: Sndio audio support
====> Options available for the single TOOLKIT: you have to select exactly one of them
GTK2=on: GTK+ 2 GUI toolkit support
GTK3=off: GTK+ 3 GUI toolkit support
===> Use 'make config' to modify these settings
gecko: unbreak with non-default python version after r455210
$ make
[...]
Installing py36-sqlite3-3.6.3_7...
===> firefox-57.0.1,1 depends on package: py27-sqlite3>0 - not found
*** Error code 1
PR: 224055
Submitted by: Peter Wullinger
www/libxul: expire after ESR59 but before 2018Q3
Non-Flash plugins aren't supported past FF52 and Gnash doesn't work in FF57.
XUL consumers (e.g., Conkeror) may still be able to use "firefox -app".
PR: 220607
gecko: enable PROFILE by default (like official builds)
This stops passing -fomit-frame-pointer which is detrimental for stack
unwinding as used by dtrace, pmcstat or gdb/lldb.
MFH: 2017Q4
gecko: stop calling home to check for updates after r436423
Upstream seems to define "default" as Nightly (custom build), not safe
to update automatically. Once we switched to proper channels updater
kicked in, except Mozilla never built binaries for FreeBSD. Not to
mention, vendor updates conflict with system package manager.
PR: 221541
MFH: 2017Q3
www/libxul: unbreak on 12.0 after r320240
cc -o Unified_c_media_libnestegg_src0.o -c ... -std=gnu99 ...
Unified_c_media_libnestegg_src0.c
In file included from
obj-i386-unknown-freebsd12.0/media/libnestegg/src/Unified_c_media_libnestegg_src0.c:2:
In file included from media/libnestegg/src/halloc.c:19:
media/libnestegg/src/align.h:42:25: error: typedef redefinition with different
types ('union max_align' vs '__max_align_t')
typedef union max_align max_align_t;
^
/usr/include/stddef.h:67:23: note: previous definition is here
typedef __max_align_t max_align_t;
^
1 error generated.
Reported by: pkg-fallout
- Fix shebangs
- Bump PORTREVISION
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for
'lib/libxul/sdk/bin/xpidl.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for
'lib/libxul/sdk/bin/xpt.py'
PR: 219533
Submitted by: cpm
Approved by: jbeich (gecko)
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
gecko: define same update channel as official builds
Some addons rely on app.update.channel pref to enable features. One of
those is e10srollout which controls Multiprocess Windows by default.
gecko: unbreak with clang/libc++ 4.0
In file included from mozilla/ipc/contentproc/plugin-container.cpp:7:
In file included from ../../dist/include/nsXPCOM.h:10:
In file included from ../../dist/include/nscore.h:20:
In file included from ../../dist/include/mozilla/mozalloc.h:16:
In file included from objdir/dist/stl_wrappers/new:44:
In file included from objdir/dist/system_wrappers/new:3:
/usr/include/c++/v1/new:132:1: error: function declared '[[noreturn]]' after its
first declaration
_LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_bad_alloc(); // not in C++ spec
^
/usr/include/c++/v1/__config:273:30: note: expanded from macro
'_LIBCPP_NORETURN'
# define _LIBCPP_NORETURN [[noreturn]]
^
../../dist/include/mozilla/throw_gcc.h:35:1: note: declaration missing
'[[noreturn]]' attribute is here
__throw_bad_alloc(void)
^
PR: 216186
Submitted by: dim
Obtained from: upstream
gecko: unbreak with libevent >= 2.1
In file included from objdir//ipc/chromium/Unified_cpp_ipc_chromium0.cpp:119:
ipc/chromium/src/base/message_pump_libevent.cc:29:1: error: use of undeclared
identifier '_EVENT_SIZEOF_LONG'
CHECK_EVENT_SIZEOF(LONG, long);
^
ipc/chromium/src/base/message_pump_libevent.cc:26:19: note: expanded from macro
'CHECK_EVENT_SIZEOF'
static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
^
<scratch space>:50:1: note: expanded from here
_EVENT_SIZEOF_LONG
^
PR: 216527
Obtained from: upstream
gecko: attempt to unbreak aarch64
../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase+0x28):
undefined reference to `nsXPTCStubBase::Stub3()'
../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase+0x30):
undefined reference to `nsXPTCStubBase::Stub4()'
[...]
../../xpcom/build/Unified_cpp_xpcom_build0.o:(.data.rel.ro._ZL16kFrozenFunctions+0x180):
undefined reference to `NS_InvokeByIndex'
../../js/xpconnect/src/Unified_cpp_js_xpconnect_src1.o: In function
`XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)':
obj-aarch64-unknown-freebsd11.0/js/xpconnect/src/Unified_cpp_js_xpconnect_src1.cpp:(.text._ZN16XPCWrappedNative10CallMethodER14XPCCallContextNS_8CallModeE+0xd24):
undefined reference to `NS_InvokeByIndex'
../../dom/xslt/xpath/Unified_cpp_dom_xslt_xpath2.o: In function
`txXPCOMExtensionFunctionCall::evaluate(txIEvalContext*, txAExprResult**)':
obj-aarch64-unknown-freebsd11.0/dom/xslt/xpath/Unified_cpp_dom_xslt_xpath2.cpp:(.text._ZN28txXPCOMExtensionFunctionCall8evaluateEP14txIEvalContextPP13txAExprResult+0xa5c):
undefined reference to `NS_InvokeByIndex'
/usr/bin/ld: libxul.so: hidden symbol `_ZN14nsXPTCStubBase7Stub234Ev' isn't
defined
/usr/bin/ld: final link failed: Bad value
Reported by: pkg-fallout
Add the upstream fix for Mozilla bug 1278861, which prevents clang
assertions on a particular piece of arm inline assembly. This applies
to:
* mail/thunderbird
* www/firefox
* www/firefox-esr
* www/libxul
* www/seamonkey
Approved by: jbeich (maintainer)
PR: 203989
MFH: 2016Q4
devel/nspr, security/nss: drop version from SONAME
No other downstream appends synthetic library version, and doing so
causes underlinking due to fragile build system (see below). Not to
mention being unable to swap out bundled libs from upstream builds.
$ cc -lplds4 -L/usr/local/lib
/usr/lib/crt1.o: In function `_start1':
crt1_c.c:(.text+0xa6): undefined reference to `main'
/usr/local/lib/libplds4.so: undefined reference to `pthread_set_name_np'
/usr/local/lib/libplds4.so: undefined reference to `pthread_create'
/usr/local/lib/libplds4.so: undefined reference to `pthread_condattr_init'
/usr/local/lib/libplds4.so: undefined reference to `pthread_setschedparam'
/usr/local/lib/libplds4.so: undefined reference to `pthread_getschedparam'
PR: 213144
Exp-run by: antoine
- Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
--disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU. The code wanted to use BYTE_ORDER
defined in machine/endian.h, but this isn't visible because ICU is
compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
a C++11 runtime library now. Add this to all ports that depend on it
so their executables load the right libstdc++.so on FreeBSD 9.
PR: 205120
Exp-run by: antoine
Approved by: portmgr (antoine)
gecko: update OSS fallback for HTML5 audio
To test deinstall alsa-lib (and pulseaudio) after installing
firefox/seamonkey/etc.
Before OSS can be exposed as an option WebRTC has to either support it as well
or
pass build without any audio backends.
Changes: https://bugzilla.mozilla.org/show_bug.cgi?id=1021761#c67
www/firefox: update to 49.0 (rc2)
Bump PORTREVISION to account for slightly different behavior in other
gecko@ ports and to get a discrete regression window.
Changes: https://www.mozilla.org/firefox/49.0/releasenotes/
PR: 211792
Submitted by: Jochen Neumeister <joneum@bsdproject.de> (based on)
Security: 2c57c47e-8bb3-4694-83c8-9fc3abad3964
MFH: 2016Q3
gecko ports: Remove redundant dependency on unzip
A dependency on unzip will never be registered since unzip is available
on all supported platforms (since FreeBSD 8.0).
Approved by: infrastructure blanket (removal of redundant deps)
Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.
PR: 205120
With hat: portmgr
Sponsored by: Absolight
gecko: unbreak WebRTC microphone selection popup with ALSA=on
On FreeBSD sound(4) is enabled by default while alsa-plugins-oss
assumes a soundcard is always available.
https://bugzilla.mozilla.org/show_bug.cgi?id=1269165
MFH: 2016Q2
www/firefox{,-esr}: update to 45.0 (rc2) / 38.7.0
Prepare www/firefox a bit for ESR45:
- [e10s] Make layers.progressive-paint;true work at least on 11.0-CURRENT
- Chase bundled versions for system dependencies
- Drop unused/broken system opus and speex support
Changes: https://www.mozilla.org/firefox/45.0/releasenotes/
Changes: https://www.mozilla.org/firefox/38.7.0/releasenotes/
Security: 2225c5b4-1e5a-44fc-9920-b3201c384a15
MFH: 2016Q1 (release candidate)
During the exp-run in bug 206074, it was found that www/libxul gives
errors with a recent clang 3.8.0 snapshot:
../../dist/include/mozilla/dom/MessageEvent.h:61:32: error: reference to
'MessagePort' is ambiguous
void SetSource(mozilla::dom::MessagePort* aPort);
^
This is caused by unneeded forward declarations of class MessagePort,
MessagePortBase and MessagePortList. These can be removed.
Obtained from: pkgsrc
Approved by: jbeich (maintainer)
PR: 206333
MFH: 2016Q1
gecko: phase out GStreamer support
H.264 is decoded by FFmpeg directly since Firefox 43.0. GStreamer
doesn't support DASH and no longer used by default since r397984
brings libavcodec.so.
https://bugzilla.mozilla.org/show_bug.cgi?id=1234092
gecko: enable PULSEAUDIO by default (mainly for WebRTC)
ALSA currently relies on in-kernel support to enumerate available audio
devices for getUserMedia i.e., to detect a microphone. So, build with
PULSEAUDIO late bindings by default preferred over ALSA, over OSS.
Nop for RUN_DEPENDS or users who previously disabled PULSEAUDIO.