From owner-svn-ports-head@freebsd.org Wed Sep 27 04:12:07 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E00B2E2A2AC; Wed, 27 Sep 2017 04:12:07 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6850266C; Wed, 27 Sep 2017 04:12:07 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8R4C6XB028425; Wed, 27 Sep 2017 04:12:06 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8R4C5Eq028412; Wed, 27 Sep 2017 04:12:05 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201709270412.v8R4C5Eq028412@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 27 Sep 2017 04:12:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450705 - in head: Mk mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files www/libxul www/seamonkey www/seamonkey/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: Mk mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files www/libxul www/seamonkey www/seamonkey/files X-SVN-Commit-Revision: 450705 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 04:12:08 -0000 Author: jbeich Date: Wed Sep 27 04:12:05 2017 New Revision: 450705 URL: https://svnweb.freebsd.org/changeset/ports/450705 Log: gecko: add JACK option (enabled by default) PR: 221464 Added: head/mail/thunderbird/files/patch-bug1386957 (contents, props changed) head/www/firefox-esr/files/patch-bug1386957 (contents, props changed) head/www/firefox/files/patch-bug1386957 (contents, props changed) head/www/seamonkey/files/patch-bug1386957 (contents, props changed) Modified: head/Mk/bsd.gecko.mk (contents, props changed) head/mail/thunderbird/Makefile (contents, props changed) head/www/firefox-esr/Makefile (contents, props changed) head/www/firefox-esr/pkg-message (contents, props changed) head/www/firefox/Makefile (contents, props changed) head/www/firefox/Makefile.options (contents, props changed) head/www/firefox/pkg-message (contents, props changed) head/www/libxul/Makefile (contents, props changed) head/www/seamonkey/Makefile (contents, props changed) Modified: head/Mk/bsd.gecko.mk ============================================================================== --- head/Mk/bsd.gecko.mk Wed Sep 27 04:11:49 2017 (r450704) +++ head/Mk/bsd.gecko.mk Wed Sep 27 04:12:05 2017 (r450705) @@ -358,6 +358,11 @@ RUN_DEPENDS+= alsa-lib>=1.1.1_1:audio/alsa-lib MOZ_OPTIONS+= --enable-alsa .endif +.if ${PORT_OPTIONS:MJACK} +BUILD_DEPENDS+= ${LOCALBASE}/include/jack/jack.h:audio/jack +MOZ_OPTIONS+= --enable-jack +.endif + .if ${PORT_OPTIONS:MPULSEAUDIO} BUILD_DEPENDS+= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio MOZ_OPTIONS+= --enable-pulseaudio Modified: head/mail/thunderbird/Makefile ============================================================================== --- head/mail/thunderbird/Makefile Wed Sep 27 04:11:49 2017 (r450704) +++ head/mail/thunderbird/Makefile Wed Sep 27 04:12:05 2017 (r450705) @@ -3,7 +3,7 @@ PORTNAME= thunderbird DISTVERSION= 52.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail news net-im ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source Added: head/mail/thunderbird/files/patch-bug1386957 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/thunderbird/files/patch-bug1386957 Wed Sep 27 04:12:05 2017 (r450705) @@ -0,0 +1,14 @@ +https://github.com/kinetiknz/cubeb/commit/16f9ccc064f2 + +--- mozilla/media/libcubeb/src/cubeb_jack.cpp.orig 2017-07-07 05:37:16 UTC ++++ mozilla/media/libcubeb/src/cubeb_jack.cpp +@@ -8,7 +8,9 @@ + */ + #define _DEFAULT_SOURCE + #define _BSD_SOURCE ++#ifndef __FreeBSD__ + #define _POSIX_SOURCE ++#endif + #include + #include + #include Modified: head/www/firefox-esr/Makefile ============================================================================== --- head/www/firefox-esr/Makefile Wed Sep 27 04:11:49 2017 (r450704) +++ head/www/firefox-esr/Makefile Wed Sep 27 04:12:05 2017 (r450705) @@ -4,7 +4,7 @@ PORTNAME= firefox DISTVERSION= 52.3.0 DISTVERSIONSUFFIX=esr.source -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ Added: head/www/firefox-esr/files/patch-bug1386957 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox-esr/files/patch-bug1386957 Wed Sep 27 04:12:05 2017 (r450705) @@ -0,0 +1,14 @@ +https://github.com/kinetiknz/cubeb/commit/16f9ccc064f2 + +--- media/libcubeb/src/cubeb_jack.cpp.orig 2017-07-07 05:37:16 UTC ++++ media/libcubeb/src/cubeb_jack.cpp +@@ -8,7 +8,9 @@ + */ + #define _DEFAULT_SOURCE + #define _BSD_SOURCE ++#ifndef __FreeBSD__ + #define _POSIX_SOURCE ++#endif + #include + #include + #include Modified: head/www/firefox-esr/pkg-message ============================================================================== --- head/www/firefox-esr/pkg-message Wed Sep 27 04:11:49 2017 (r450704) +++ head/www/firefox-esr/pkg-message Wed Sep 27 04:12:05 2017 (r450705) @@ -10,6 +10,13 @@ Some features available on other platforms are not imp ====================================================================== +To select non-default audio backend open about:config page and create +media.cubeb.backend preference. Supported values are: alsa, jack, +pulse, oss, sndio. Currently, selected backend can be inspected on +about:support page. + +====================================================================== + smb:// issues (Gvfs/GIO option): Network group, machine, and share browsing does not work correctly. Modified: head/www/firefox/Makefile ============================================================================== --- head/www/firefox/Makefile Wed Sep 27 04:11:49 2017 (r450704) +++ head/www/firefox/Makefile Wed Sep 27 04:12:05 2017 (r450705) @@ -4,7 +4,7 @@ PORTNAME= firefox DISTVERSION= 55.0.3 DISTVERSIONSUFFIX=.source -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Modified: head/www/firefox/Makefile.options ============================================================================== --- head/www/firefox/Makefile.options Wed Sep 27 04:11:49 2017 (r450704) +++ head/www/firefox/Makefile.options Wed Sep 27 04:12:05 2017 (r450705) @@ -5,12 +5,14 @@ OPTIONS_DEFINE+= BUNDLED_CAIRO CANBERRA DBUS DEBUG DT OPTIMIZED_CFLAGS PGO PROFILE TEST OPTIONS_DEFAULT+= DBUS DTRACE FFMPEG OPTIMIZED_CFLAGS \ - ALSA PULSEAUDIO \ + ${OPTIONS_MULTI_AUDIO:NSNDIO} \ ${MACHINE_CPU:Msoftfp:C/.+/INTEGER_SAMPLES/} OPTIONS_MULTI+= AUDIO -OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO SNDIO +OPTIONS_MULTI_AUDIO= ALSA JACK PULSEAUDIO SNDIO +# WebRTC legacy audio library only supports ALSA and PulseAudio +JACK_IMPLIES= ALSA # No lazy-bindings and inconsistent fallback order (libcubeb vs. audio_device) SNDIO_PREVENTS= ${OPTIONS_MULTI_AUDIO:NSNDIO} Added: head/www/firefox/files/patch-bug1386957 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox/files/patch-bug1386957 Wed Sep 27 04:12:05 2017 (r450705) @@ -0,0 +1,14 @@ +https://github.com/kinetiknz/cubeb/commit/16f9ccc064f2 + +--- media/libcubeb/src/cubeb_jack.cpp.orig 2017-07-07 05:37:16 UTC ++++ media/libcubeb/src/cubeb_jack.cpp +@@ -8,7 +8,9 @@ + */ + #define _DEFAULT_SOURCE + #define _BSD_SOURCE ++#ifndef __FreeBSD__ + #define _POSIX_SOURCE ++#endif + #include + #include + #include Modified: head/www/firefox/pkg-message ============================================================================== --- head/www/firefox/pkg-message Wed Sep 27 04:11:49 2017 (r450704) +++ head/www/firefox/pkg-message Wed Sep 27 04:12:05 2017 (r450705) @@ -11,6 +11,13 @@ Some features available on other platforms are not imp ====================================================================== +To select non-default audio backend open about:config page and create +media.cubeb.backend preference. Supported values are: alsa, jack, +pulse, pulse-rust, oss, sndio. Currently, selected backend can be +inspected on about:support page. + +====================================================================== + smb:// issues (Gvfs/GIO option): Network group, machine, and share browsing does not work correctly. Modified: head/www/libxul/Makefile ============================================================================== --- head/www/libxul/Makefile Wed Sep 27 04:11:49 2017 (r450704) +++ head/www/libxul/Makefile Wed Sep 27 04:12:05 2017 (r450705) @@ -58,6 +58,7 @@ OPTIONS_SINGLE+= TOOLKIT OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3 .include "${.CURDIR}/../../www/firefox/Makefile.options" +OPTIONS_MULTI_AUDIO:= ${OPTIONS_MULTI_AUDIO:NJACK} .if ${USE_MOZILLA:M-nss} MOZ_PKGCONFIG_FILES+= mozilla-nss Modified: head/www/seamonkey/Makefile ============================================================================== --- head/www/seamonkey/Makefile Wed Sep 27 04:11:49 2017 (r450704) +++ head/www/seamonkey/Makefile Wed Sep 27 04:12:05 2017 (r450705) @@ -4,7 +4,7 @@ PORTNAME= seamonkey DISTVERSION= 2.48 MOZILLA_VER= 51 # above + 3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES?= www mail news editors irc ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source Added: head/www/seamonkey/files/patch-bug1386957 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/seamonkey/files/patch-bug1386957 Wed Sep 27 04:12:05 2017 (r450705) @@ -0,0 +1,14 @@ +https://github.com/kinetiknz/cubeb/commit/16f9ccc064f2 + +--- mozilla/media/libcubeb/src/cubeb_jack.cpp.orig 2017-07-07 05:37:16 UTC ++++ mozilla/media/libcubeb/src/cubeb_jack.cpp +@@ -8,7 +8,9 @@ + */ + #define _DEFAULT_SOURCE + #define _BSD_SOURCE ++#ifndef __FreeBSD__ + #define _POSIX_SOURCE ++#endif + #include + #include + #include