Index: branches/2017Q4/mail/thunderbird/Makefile =================================================================== --- branches/2017Q4/mail/thunderbird/Makefile (revision 454975) +++ branches/2017Q4/mail/thunderbird/Makefile (revision 454976) @@ -1,89 +1,89 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= thunderbird DISTVERSION= 52.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail news net-im ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build3/source DISTFILES= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= Mozilla Thunderbird is standalone mail and news that stands above BUILD_DEPENDS= nspr>=4.13.1:devel/nspr \ nss>=3.28.3:security/nss \ libevent>=2.0.21_2:devel/libevent \ harfbuzz>=1.4.1:print/harfbuzz \ graphite2>=1.3.8:graphics/graphite2 \ png>=1.6.25:graphics/png \ libvorbis>=1.3.5,3:audio/libvorbis \ libvpx>=1.5.0:multimedia/libvpx \ sqlite3>=3.17.0:databases/sqlite3 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ yasm:devel/yasm \ zip:archivers/zip # soundtouch>=1.9.0:audio/soundtouch \ LIB_DEPENDS= libv4l2.so:multimedia/libv4l SSP_UNSAFE= yes USE_GECKO= gecko USE_MOZILLA= -soundtouch USE_GL= gl USES= tar:xz MOZ_OPTIONS= --enable-application=mail --enable-official-branding MOZ_MK_OPTIONS= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 MOZ_EXPORT= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 MOZ_PKGCONFIG_FILES= PORTNAME_ICON= ${MOZILLA}.png PORTNAME_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png SYSTEM_PREFS= ${FAKEDIR}/lib/${PORTNAME}/defaults/pref/${PORTNAME}.js MOZ_PIS_SCRIPTS=moz_pis_S50cleanhome OPTIONS_DEFINE= LIGHTNING RUST OPTIONS_SINGLE= TOOLKIT OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3 OPTIONS_DEFAULT=BUNDLED_CAIRO CANBERRA GTK3 LIGHTNING .include "${.CURDIR}/../../www/firefox/Makefile.options" .include WRKSRC:= ${WRKDIR}/${PORTNAME}-${DISTVERSION} MOZSRC:= ${WRKSRC}/mozilla .if ${PORT_OPTIONS:MLIGHTNING} MOZ_OPTIONS+= --enable-calendar .else MOZ_OPTIONS+= --disable-calendar .endif post-extract: @${SED} -e 's|@PORTNAME_ICON@|${PORTNAME_ICON}|;s|@MOZILLA@|${MOZILLA}|' \ <${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/mail/app/nsMailApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${MOZSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${MOZSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) port-pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/defaults post-install: ${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${STAGEDIR}${PREFIX}/share/applications ${LN} -sf ${PORTNAME_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME_ICON} .include Index: branches/2017Q4/mail/thunderbird/files/patch-bug1412558 =================================================================== --- branches/2017Q4/mail/thunderbird/files/patch-bug1412558 (nonexistent) +++ branches/2017Q4/mail/thunderbird/files/patch-bug1412558 (revision 454976) @@ -0,0 +1,83 @@ +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 +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() + { + #ifdef MOZ_FFVPX + return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); + #else + // Until bug 1295886 is fixed. + return false; +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 Property changes on: branches/2017Q4/mail/thunderbird/files/patch-bug1412558 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2017Q4/www/firefox/Makefile =================================================================== --- branches/2017Q4/www/firefox/Makefile (revision 454975) +++ branches/2017Q4/www/firefox/Makefile (revision 454976) @@ -1,77 +1,77 @@ # Created by: Alan Eldridge # $FreeBSD$ PORTNAME= firefox DISTVERSION= 56.0.2 DISTVERSIONSUFFIX=.source -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla BUILD_DEPENDS= nspr>=4.16:devel/nspr \ nss>=3.32.1:security/nss \ icu>=59.1,1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=1.4.7:print/harfbuzz \ graphite2>=1.3.10:graphics/graphite2 \ png>=1.6.31:graphics/png \ libvorbis>=1.3.5,3:audio/libvorbis \ libvpx>=1.5.0:multimedia/libvpx \ sqlite3>=3.19.3:databases/sqlite3 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ yasm:devel/yasm \ llvm40>0:devel/llvm40 \ zip:archivers/zip # soundtouch>=1.9.0:audio/soundtouch \ LIB_DEPENDS= libv4l2.so:multimedia/libv4l USE_GECKO= gecko CONFLICTS_INSTALL= firefox-esr-45.* firefox-esr-3[18].* firefox-esr-24.* MOZ_PKGCONFIG_FILES= # empty USE_MOZILLA= -soundtouch MOZILLA_NAME= Firefox USE_GL= gl USES= tar:xz FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png MOZ_EXPORT= BINDGEN_CFLAGS="-isystem${LOCALBASE}/include/nspr \ -isystem${LOCALBASE}/include/pixman-1" # XXX bug 1341234 MOZ_OPTIONS= --enable-application=browser \ --enable-official-branding OPTIONS_DEFAULT= BUNDLED_CAIRO OPTIONS_EXCLUDE= GNOMEUI .include "${.CURDIR}/../../www/firefox/Makefile.options" WRKSRC:= ${WRKDIR}/${PORTNAME}-${DISTVERSION} post-extract: @${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \ -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \ <${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${WRKSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include Index: branches/2017Q4/www/firefox/files/patch-bug1412558 =================================================================== --- branches/2017Q4/www/firefox/files/patch-bug1412558 (nonexistent) +++ branches/2017Q4/www/firefox/files/patch-bug1412558 (revision 454976) @@ -0,0 +1,83 @@ +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 +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() + { + #ifdef MOZ_FFVPX + return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); + #else + // Until bug 1295886 is fixed. + return false; +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 Property changes on: branches/2017Q4/www/firefox/files/patch-bug1412558 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2017Q4/www/firefox-esr/Makefile =================================================================== --- branches/2017Q4/www/firefox-esr/Makefile (revision 454975) +++ branches/2017Q4/www/firefox-esr/Makefile (revision 454976) @@ -1,78 +1,78 @@ # Created by: Alan Eldridge # $FreeBSD$ PORTNAME= firefox DISTVERSION= 52.4.1 DISTVERSIONSUFFIX=esr.source -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}esr-candidates/build1/source PKGNAMESUFFIX= -esr MAINTAINER= gecko@FreeBSD.org COMMENT= Web browser based on the browser portion of Mozilla BUILD_DEPENDS= nspr>=4.13.1:devel/nspr \ nss>=3.29.5:security/nss \ libevent>=2.0.21_2:devel/libevent \ harfbuzz>=1.4.1:print/harfbuzz \ graphite2>=1.3.8:graphics/graphite2 \ png>=1.6.28:graphics/png \ libvorbis>=1.3.5,3:audio/libvorbis \ libvpx>=1.5.0:multimedia/libvpx \ sqlite3>=3.17.0:databases/sqlite3 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ yasm:devel/yasm \ zip:archivers/zip # soundtouch>=1.9.0:audio/soundtouch \ LIB_DEPENDS= libv4l2.so:multimedia/libv4l USE_GECKO= gecko CPE_PRODUCT= ${PORTNAME}_esr CONFLICTS_INSTALL= firefox-[0-9]* MOZ_PKGCONFIG_FILES= # empty USE_MOZILLA= -soundtouch MOZILLA_NAME= Firefox USE_GL= gl USES= tar:xz FIREFOX_ICON= ${MOZILLA}.png FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png MOZ_OPTIONS= --enable-application=browser \ --enable-official-branding OPTIONS_DEFINE= RUST OPTIONS_DEFAULT= BUNDLED_CAIRO GTK2 OPTIONS_SINGLE+= TOOLKIT OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3 .include "${.CURDIR}/../../www/firefox/Makefile.options" WRKSRC:= ${WRKDIR}/${PORTNAME}-${DISTVERSION}esr post-extract: @${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \ -e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \ <${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/browser/app/nsBrowserApp.cpp pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${WRKSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${LN} -sf ${FIREFOX_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${FIREFOX_ICON} .include Index: branches/2017Q4/www/firefox-esr/files/patch-bug1412558 =================================================================== --- branches/2017Q4/www/firefox-esr/files/patch-bug1412558 (nonexistent) +++ branches/2017Q4/www/firefox-esr/files/patch-bug1412558 (revision 454976) @@ -0,0 +1,83 @@ +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 +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() + { + #ifdef MOZ_FFVPX + return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); + #else + // Until bug 1295886 is fixed. + return false; +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 Property changes on: branches/2017Q4/www/firefox-esr/files/patch-bug1412558 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2017Q4/www/seamonkey/Makefile =================================================================== --- branches/2017Q4/www/seamonkey/Makefile (revision 454975) +++ branches/2017Q4/www/seamonkey/Makefile (revision 454976) @@ -1,90 +1,90 @@ # Created by: eivind/dima/jseger # $FreeBSD$ PORTNAME= seamonkey DISTVERSION= 2.49.1 -PORTREVISION= 1 +PORTREVISION= 2 MOZILLA_VER= 52 # above + 3 CATEGORIES?= www mail news editors irc ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build4/source DISTFILES= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org COMMENT= The open source, standards compliant web browser BUILD_DEPENDS= nspr>=4.13.1:devel/nspr \ nss>=3.28.6:security/nss \ libevent>=2.0.21_2:devel/libevent \ harfbuzz>=1.4.1:print/harfbuzz \ graphite2>=1.3.8:graphics/graphite2 \ png>=1.6.25:graphics/png \ libvorbis>=1.3.5,3:audio/libvorbis \ libvpx>=1.5.0:multimedia/libvpx \ sqlite3>=3.17.0:databases/sqlite3 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ v4l_compat>0:multimedia/v4l_compat \ autoconf-2.13:devel/autoconf213 \ yasm:devel/yasm \ zip:archivers/zip # soundtouch>=1.9.0:audio/soundtouch \ LIB_DEPENDS= libv4l2.so:multimedia/libv4l SSP_UNSAFE= yes USE_GECKO= gecko USE_GL= gl USES= tar:xz MOZ_PIS_SCRIPTS= moz_pis_S50cleanhome MOZ_EXTENSIONS= default MOZ_OPTIONS+= --enable-application=suite USE_MOZILLA= -soundtouch MOZ_PKGCONFIG_FILES= OPTIONS_DEFINE= LDAP LIGHTNING RUST OPTIONS_SINGLE= TOOLKIT OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3 OPTIONS_DEFAULT=CANBERRA GTK2 LDAP LIGHTNING LDAP_DESC?= LDAP support for Mailnews .include "${.CURDIR}/../../www/firefox/Makefile.options" .include WRKSRC:= ${WRKDIR}/${PORTNAME}-${DISTVERSION} MOZSRC:= ${WRKSRC}/mozilla .if ! ${PORT_OPTIONS:MLDAP} MOZ_OPTIONS+= --disable-ldap .else MOZ_OPTIONS+= --enable-ldap .endif .if ${PORT_OPTIONS:MLIGHTNING} MOZ_OPTIONS+= --enable-calendar .else MOZ_OPTIONS+= --disable-calendar .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/suite/app/nsSuiteApp.cpp @${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \ ${WRKSRC}/mozilla/modules/libpref/init/all.js @${SED} -e 's|%%MOZILLA%%|${MOZILLA}|g' \ < ${FILESDIR}/seamonkey.desktop.in > \ ${WRKDIR}/${MOZILLA}.desktop pre-configure: (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${MOZSRC} && ${LOCALBASE}/bin/autoconf-2.13) (cd ${MOZSRC}/js/src/ && ${LOCALBASE}/bin/autoconf-2.13) post-install: ${INSTALL_DATA} ${WRKDIR}/${MOZILLA}.desktop ${STAGEDIR}${PREFIX}/share/applications/ ${LN} -sf ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png .include Index: branches/2017Q4/www/seamonkey/files/patch-bug1412558 =================================================================== --- branches/2017Q4/www/seamonkey/files/patch-bug1412558 (nonexistent) +++ branches/2017Q4/www/seamonkey/files/patch-bug1412558 (revision 454976) @@ -0,0 +1,83 @@ +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 +@@ -7,6 +7,7 @@ + #include "FlacDecoder.h" + #include "MediaContainerType.h" + #include "MediaPrefs.h" ++#include "PDMFactory.h" + + namespace mozilla { + +@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() + { + #ifdef MOZ_FFVPX + return MediaPrefs::FlacEnabled(); ++#elif defined(MOZ_FFMPEG) ++ RefPtr platform = new PDMFactory(); ++ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), ++ /* DecoderDoctorDiagnostics* */ nullptr); + #else + // Until bug 1295886 is fixed. + return false; +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 Property changes on: branches/2017Q4/www/seamonkey/files/patch-bug1412558 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2017Q4 =================================================================== --- branches/2017Q4 (revision 454975) +++ branches/2017Q4 (revision 454976) Property changes on: branches/2017Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r453085,453211