From owner-svn-ports-all@freebsd.org Sat Oct 28 23:47:33 2017 Return-Path: Delivered-To: svn-ports-all@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 84127E50DFF; Sat, 28 Oct 2017 23:47:33 +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 3B80DA2E; Sat, 28 Oct 2017 23:47:33 +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 v9SNlW6n030221; Sat, 28 Oct 2017 23:47:32 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9SNlVhs030212; Sat, 28 Oct 2017 23:47:31 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201710282347.v9SNlVhs030212@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 28 Oct 2017 23:47:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453085 - in head: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files www/seamonkey www/seamonkey/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files www/seamonkey www/seamonkey/files X-SVN-Commit-Revision: 453085 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2017 23:47:33 -0000 Author: jbeich Date: Sat Oct 28 23:47:31 2017 New Revision: 453085 URL: https://svnweb.freebsd.org/changeset/ports/453085 Log: gecko: speed up VP9 decoding on i386 Disable bundled FFmpeg decoders for VP* and FLAC on i386 as those don't support SIMD optimizations due to build issues upstream. More recent versions of those are already provided by multimedia/ffmpeg, anyway. MFH: 2017Q4 Added: head/mail/thunderbird/files/patch-bug1412558 (contents, props changed) head/www/firefox-esr/files/patch-bug1412558 (contents, props changed) head/www/firefox/files/patch-bug1412558 (contents, props changed) head/www/seamonkey/files/patch-bug1412558 (contents, props changed) Modified: head/mail/thunderbird/Makefile (contents, props changed) head/www/firefox-esr/Makefile (contents, props changed) head/www/firefox/Makefile (contents, props changed) head/www/seamonkey/Makefile (contents, props changed) Modified: head/mail/thunderbird/Makefile ============================================================================== --- head/mail/thunderbird/Makefile Sat Oct 28 21:36:28 2017 (r453084) +++ head/mail/thunderbird/Makefile Sat Oct 28 23:47:31 2017 (r453085) @@ -3,7 +3,7 @@ PORTNAME= thunderbird DISTVERSION= 52.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail news net-im ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build3/source Added: head/mail/thunderbird/files/patch-bug1412558 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/thunderbird/files/patch-bug1412558 Sat Oct 28 23:47:31 2017 (r453085) @@ -0,0 +1,73 @@ +diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp +index 53fc3c9937f7..b23771ab80fa 100644 +--- mozilla/dom/media/flac/FlacDecoder.cpp ++++ mozilla/dom/media/flac/FlacDecoder.cpp +@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() + /* static */ bool + FlacDecoder::IsEnabled() + { +-#ifdef MOZ_FFVPX ++#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + return MediaPrefs::FlacEnabled(); + #else + // Until bug 1295886 is fixed. +diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA +index 5d3a6037efe0..43144b726a92 100644 +--- mozilla/media/ffvpx/README_MOZILLA ++++ mozilla/media/ffvpx/README_MOZILLA +@@ -17,14 +17,6 @@ configuration files were generated as follow using the configure script: + config*: + replace: /HAVE_(MALLOC_H|ARC4RANDOM|LOCALTIME_R|MEMALIGN|POSIX_MEMALIGN)/d + +-config_darwin32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +- +-config_unix32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +-replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0/ and s/HAVE_MEMALIGN 1/HAVE_MEMALIGN 0/ and s/HAVE_POSIX_MEMALIGN 1/HAVE_POSIX_MEMALIGN 0/ +- +- + config_unix64.h/config_unix64.asm: + replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0 + +diff --git media/ffvpx/config.h media/ffvpx/config.h +index dab01e05cd65..26ebe529bd98 100644 +--- mozilla/media/ffvpx/config.h ++++ mozilla/media/ffvpx/config.h +@@ -27,17 +27,9 @@ + #define HAVE_LIBC_MSVCRT 0 + #endif + #elif defined(XP_DARWIN) +-#if defined(HAVE_64BIT_BUILD) + #include "config_darwin64.h" +-#else +-#include "config_darwin32.h" +-#endif + #elif defined(XP_UNIX) +-#if defined(HAVE_64BIT_BUILD) + #include "config_unix64.h" +-#else +-#include "config_unix32.h" +-#endif + #endif + #include "config_common.h" + #endif // MOZ_FFVPX_CONFIG_H +diff --git old-configure.in old-configure.in +index b8ce71278548..410be683c2f6 100644 +--- mozilla/old-configure.in ++++ mozilla/old-configure.in +@@ -3279,11 +3279,11 @@ dnl = FFmpeg's ffvpx configuration + dnl ======================================================== + + MOZ_FFVPX= +-case "$CPU_ARCH" in +- x86) ++case "$OS_ARCH:$CPU_ARCH" in ++ WINNT:x86) + MOZ_FFVPX=1 + ;; +- x86_64) ++ *:x86_64) + MOZ_FFVPX=1 + ;; + esac Modified: head/www/firefox-esr/Makefile ============================================================================== --- head/www/firefox-esr/Makefile Sat Oct 28 21:36:28 2017 (r453084) +++ head/www/firefox-esr/Makefile Sat Oct 28 23:47:31 2017 (r453085) @@ -4,7 +4,7 @@ PORTNAME= firefox DISTVERSION= 52.4.1 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-bug1412558 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox-esr/files/patch-bug1412558 Sat Oct 28 23:47:31 2017 (r453085) @@ -0,0 +1,73 @@ +diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp +index 53fc3c9937f7..b23771ab80fa 100644 +--- dom/media/flac/FlacDecoder.cpp ++++ dom/media/flac/FlacDecoder.cpp +@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() + /* static */ bool + FlacDecoder::IsEnabled() + { +-#ifdef MOZ_FFVPX ++#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + return MediaPrefs::FlacEnabled(); + #else + // Until bug 1295886 is fixed. +diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA +index 5d3a6037efe0..43144b726a92 100644 +--- media/ffvpx/README_MOZILLA ++++ media/ffvpx/README_MOZILLA +@@ -17,14 +17,6 @@ configuration files were generated as follow using the configure script: + config*: + replace: /HAVE_(MALLOC_H|ARC4RANDOM|LOCALTIME_R|MEMALIGN|POSIX_MEMALIGN)/d + +-config_darwin32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +- +-config_unix32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +-replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0/ and s/HAVE_MEMALIGN 1/HAVE_MEMALIGN 0/ and s/HAVE_POSIX_MEMALIGN 1/HAVE_POSIX_MEMALIGN 0/ +- +- + config_unix64.h/config_unix64.asm: + replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0 + +diff --git media/ffvpx/config.h media/ffvpx/config.h +index dab01e05cd65..26ebe529bd98 100644 +--- media/ffvpx/config.h ++++ media/ffvpx/config.h +@@ -27,17 +27,9 @@ + #define HAVE_LIBC_MSVCRT 0 + #endif + #elif defined(XP_DARWIN) +-#if defined(HAVE_64BIT_BUILD) + #include "config_darwin64.h" +-#else +-#include "config_darwin32.h" +-#endif + #elif defined(XP_UNIX) +-#if defined(HAVE_64BIT_BUILD) + #include "config_unix64.h" +-#else +-#include "config_unix32.h" +-#endif + #endif + #include "config_common.h" + #endif // MOZ_FFVPX_CONFIG_H +diff --git old-configure.in old-configure.in +index b8ce71278548..410be683c2f6 100644 +--- old-configure.in ++++ old-configure.in +@@ -3279,11 +3279,11 @@ dnl = FFmpeg's ffvpx configuration + dnl ======================================================== + + MOZ_FFVPX= +-case "$CPU_ARCH" in +- x86) ++case "$OS_ARCH:$CPU_ARCH" in ++ WINNT:x86) + MOZ_FFVPX=1 + ;; +- x86_64) ++ *:x86_64) + MOZ_FFVPX=1 + ;; + esac Modified: head/www/firefox/Makefile ============================================================================== --- head/www/firefox/Makefile Sat Oct 28 21:36:28 2017 (r453084) +++ head/www/firefox/Makefile Sat Oct 28 23:47:31 2017 (r453085) @@ -4,7 +4,7 @@ PORTNAME= firefox DISTVERSION= 56.0.2 DISTVERSIONSUFFIX=.source -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Added: head/www/firefox/files/patch-bug1412558 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox/files/patch-bug1412558 Sat Oct 28 23:47:31 2017 (r453085) @@ -0,0 +1,73 @@ +diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp +index 53fc3c9937f7..b23771ab80fa 100644 +--- dom/media/flac/FlacDecoder.cpp ++++ dom/media/flac/FlacDecoder.cpp +@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() + /* static */ bool + FlacDecoder::IsEnabled() + { +-#ifdef MOZ_FFVPX ++#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + return MediaPrefs::FlacEnabled(); + #else + // Until bug 1295886 is fixed. +diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA +index 5d3a6037efe0..43144b726a92 100644 +--- media/ffvpx/README_MOZILLA ++++ media/ffvpx/README_MOZILLA +@@ -17,14 +17,6 @@ configuration files were generated as follow using the configure script: + config*: + replace: /HAVE_(MALLOC_H|ARC4RANDOM|LOCALTIME_R|MEMALIGN|POSIX_MEMALIGN)/d + +-config_darwin32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +- +-config_unix32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +-replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0/ and s/HAVE_MEMALIGN 1/HAVE_MEMALIGN 0/ and s/HAVE_POSIX_MEMALIGN 1/HAVE_POSIX_MEMALIGN 0/ +- +- + config_unix64.h/config_unix64.asm: + replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0 + +diff --git media/ffvpx/config.h media/ffvpx/config.h +index dab01e05cd65..26ebe529bd98 100644 +--- media/ffvpx/config.h ++++ media/ffvpx/config.h +@@ -27,17 +27,9 @@ + #define HAVE_LIBC_MSVCRT 0 + #endif + #elif defined(XP_DARWIN) +-#if defined(HAVE_64BIT_BUILD) + #include "config_darwin64.h" +-#else +-#include "config_darwin32.h" +-#endif + #elif defined(XP_UNIX) +-#if defined(HAVE_64BIT_BUILD) + #include "config_unix64.h" +-#else +-#include "config_unix32.h" +-#endif + #endif + #include "config_common.h" + #endif // MOZ_FFVPX_CONFIG_H +diff --git old-configure.in old-configure.in +index b8ce71278548..410be683c2f6 100644 +--- old-configure.in ++++ old-configure.in +@@ -3279,11 +3279,11 @@ dnl = FFmpeg's ffvpx configuration + dnl ======================================================== + + MOZ_FFVPX= +-case "$CPU_ARCH" in +- x86) ++case "$OS_ARCH:$CPU_ARCH" in ++ WINNT:x86) + MOZ_FFVPX=1 + ;; +- x86_64) ++ *:x86_64) + MOZ_FFVPX=1 + ;; + esac Modified: head/www/seamonkey/Makefile ============================================================================== --- head/www/seamonkey/Makefile Sat Oct 28 21:36:28 2017 (r453084) +++ head/www/seamonkey/Makefile Sat Oct 28 23:47:31 2017 (r453085) @@ -3,7 +3,7 @@ PORTNAME= seamonkey DISTVERSION= 2.49.1 -PORTREVISION= 2 +PORTREVISION= 3 MOZILLA_VER= 52 # above + 3 CATEGORIES?= www mail news editors irc ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ Added: head/www/seamonkey/files/patch-bug1412558 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/seamonkey/files/patch-bug1412558 Sat Oct 28 23:47:31 2017 (r453085) @@ -0,0 +1,73 @@ +diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp +index 53fc3c9937f7..b23771ab80fa 100644 +--- mozilla/dom/media/flac/FlacDecoder.cpp ++++ mozilla/dom/media/flac/FlacDecoder.cpp +@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() + /* static */ bool + FlacDecoder::IsEnabled() + { +-#ifdef MOZ_FFVPX ++#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + return MediaPrefs::FlacEnabled(); + #else + // Until bug 1295886 is fixed. +diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA +index 5d3a6037efe0..43144b726a92 100644 +--- mozilla/media/ffvpx/README_MOZILLA ++++ mozilla/media/ffvpx/README_MOZILLA +@@ -17,14 +17,6 @@ configuration files were generated as follow using the configure script: + config*: + replace: /HAVE_(MALLOC_H|ARC4RANDOM|LOCALTIME_R|MEMALIGN|POSIX_MEMALIGN)/d + +-config_darwin32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +- +-config_unix32.h: +-add to configure command: --disable-asm --disable-yasm --cc='clang -m32' +-replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0/ and s/HAVE_MEMALIGN 1/HAVE_MEMALIGN 0/ and s/HAVE_POSIX_MEMALIGN 1/HAVE_POSIX_MEMALIGN 0/ +- +- + config_unix64.h/config_unix64.asm: + replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0 + +diff --git media/ffvpx/config.h media/ffvpx/config.h +index dab01e05cd65..26ebe529bd98 100644 +--- mozilla/media/ffvpx/config.h ++++ mozilla/media/ffvpx/config.h +@@ -27,17 +27,9 @@ + #define HAVE_LIBC_MSVCRT 0 + #endif + #elif defined(XP_DARWIN) +-#if defined(HAVE_64BIT_BUILD) + #include "config_darwin64.h" +-#else +-#include "config_darwin32.h" +-#endif + #elif defined(XP_UNIX) +-#if defined(HAVE_64BIT_BUILD) + #include "config_unix64.h" +-#else +-#include "config_unix32.h" +-#endif + #endif + #include "config_common.h" + #endif // MOZ_FFVPX_CONFIG_H +diff --git old-configure.in old-configure.in +index b8ce71278548..410be683c2f6 100644 +--- mozilla/old-configure.in ++++ mozilla/old-configure.in +@@ -3279,11 +3279,11 @@ dnl = FFmpeg's ffvpx configuration + dnl ======================================================== + + MOZ_FFVPX= +-case "$CPU_ARCH" in +- x86) ++case "$OS_ARCH:$CPU_ARCH" in ++ WINNT:x86) + MOZ_FFVPX=1 + ;; +- x86_64) ++ *:x86_64) + MOZ_FFVPX=1 + ;; + esac