[Bug 212028] www/firefox: Add SNDIO option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 31 00:16:01 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212028

--- Comment #4 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Comment on attachment 176619
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176619
gecko.diff

> Index: www/firefox/Makefile.options
[...]
>  OPTIONS_DEFAULT+=	DBUS DTRACE FFMPEG GSTREAMER LOGGING OPTIMIZED_CFLAGS \
> -			${OPTIONS_MULTI_AUDIO} \
> +			ALSA PULSEAUDIO \

Since the new backend doesn't support falling back to others at runtime you may
need to define the following.

  SNDIO_PREVENTS=       ALSA PULSEAUDIO

> Index: www/seamonkey/Makefile
[...]
> +MOZ_SRC=	${WRKSRC}/mozilla

MOZSRC as defined in Mk/bsd.gecko.mk already handles mozilla/ subdirectory.

> +SNDIO_BROKEN=	missing sndio support

OPTIONS_EXCLUDE=SNDIO may be better unless it works with 2.46.

> Index: Mk/bsd.gecko.mk
[...]
> +# In mail/thunderbird and www/seamonky media/libcubeb is in
> +# ${WRKSRC}/mozilla instead of ${WRKSRC}.  All other gecko-based ports
> +# have it in ${WRKSRC}.
> +MOZ_SRC?=	${WRKSRC}

MOZSRC as defined in Mk/bsd.gecko.mk already handles mozilla/ subdirectory.

> +	@${ECHO} "OS_LIBS += ['sndio']" >> \
> +		${MOZ_SRC}/media/webrtc/signaling/test/common.build

Why does this affect FreeBSD and not OpenBSD?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-gecko mailing list