head 1.5; access; symbols pkgsrc-2017Q3:1.4.0.30 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.26 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.24 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.22 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.20 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.18 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.16 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.14 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.12 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.10 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.8 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.6 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.4 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.2 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.2.0.4 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.2 pkgsrc-2013Q4-base:1.2; locks; strict; comment @# @; 1.5 date 2017.10.27.13.45.42; author ryoon; state dead; branches; next 1.4; commitid QwqV0lWgJIae9HcA; 1.4 date 2014.05.07.20.23.22; author ryoon; state Exp; branches; next 1.3; commitid CgbWyLYm7JjE8Ezx; 1.3 date 2014.05.06.13.56.38; author ryoon; state Exp; branches; next 1.2; commitid 7r0b49ztEqZX1uzx; 1.2 date 2013.12.15.14.02.25; author ryoon; state Exp; branches; next 1.1; commitid y7tiSdHUMLaWCehx; 1.1 date 2013.11.03.04.51.59; author ryoon; state Exp; branches; next ; commitid 5Fm3eDs9vunQVMbx; desc @@ 1.5 log @Remove firefox24 @ text @$NetBSD: patch-aa,v 1.4 2014/05/07 20:23:22 ryoon Exp $ --- configure.in.orig 2013-12-06 02:21:00.000000000 +0000 +++ configure.in @@@@ -1370,6 +1370,17 @@@@ if test "$GNU_CC"; then CFLAGS=$_SAVE_CFLAGS AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSE4_1) + # Check for -msse4.1 on $CC + AC_MSG_CHECKING([if toolchain supports -msse4.1 option]) + HAVE_TOOLCHAIN_SUPPORT_MSSE4_1= + _SAVE_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -msse4.1" + AC_TRY_COMPILE([asm ("pmulld %xmm6,%xmm0");],,AC_MSG_RESULT([yes]) + [HAVE_TOOLCHAIN_SUPPORT_MSSE4_1=1], + AC_MSG_RESULT([no])) + CFLAGS=$_SAVE_CFLAGS + AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSE4_1) + # Turn on GNU-specific warnings: # -Wall - turn on a lot of warnings # -Wpointer-arith - good to have @@@@ -2049,6 +2060,9 @@@@ ia64*-hpux*) if test -z "$MC"; then MC=mc.exe fi + if test "$LIBRUNPATH"; then + DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" + fi ;; *-mingw*) DSO_CFLAGS= @@@@ -2845,6 +2859,7 @@@@ EOF #pragma GCC visibility push(hidden) #pragma GCC visibility push(default) #include +#include #pragma GCC visibility pop __attribute__ ((visibility ("default"))) void Func() { @@@@ -2853,7 +2868,7 @@@@ __attribute__ ((visibility ("default"))) } EOF ac_cv_have_visibility_builtin_bug=no - if ! ${CC-cc} ${CFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then + if ! ${CXX-c++} ${CXXFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then ac_cv_have_visibility_builtin_bug=yes else if test `grep -c "@@PLT" conftest.S` = 0; then @@@@ -2993,7 +3008,7 @@@@ AC_LANG_C AC_ARG_ENABLE(dtrace, [ --enable-dtrace build with dtrace support if available (default=no)], - [enable_dtrace="yes"],) + [enable_dtrace=$enableval],) if test "x$enable_dtrace" = "xyes"; then MOZ_CHECK_HEADER(sys/sdt.h, HAVE_DTRACE=1) if test -n "$HAVE_DTRACE"; then @@@@ -3019,6 +3034,9 @@@@ dnl ==================================== case $target in *-hpux11.*) ;; +*-dragonfly*) + AC_CHECK_LIB(c, gethostbyname_r) + ;; *) AC_CHECK_LIB(c_r, gethostbyname_r) ;; @@@@ -3321,6 +3339,9 @@@@ AC_CACHE_CHECK( #ifdef linux #define _BSD_SOURCE 1 #endif + #ifdef __NetBSD__ + #error use of global _res variable in threaded programs is not portable + #endif #include ], [int foo = res_ninit(&_res);], @@@@ -3975,6 +3996,14 @@@@ if test -n "$YASM"; then _YASM_BUILD=` echo ${YASM_VERSION} | $AWK -F\. '{ print $4 }'` fi +if test -n "${LIBXUL_SDK_DIR}"; then + AC_MSG_WARN([pkgsrc: LIBXUL_SDK_DIR is set; assuming we want nss and nspr from xulrunner.]) + NSPR_CFLAGS="-I${prefix}/include/xulrunner/unstable `pkg-config --cflags mozilla-nspr`" + NSPR_LIBS="`pkg-config --libs mozilla-nspr`" + NSS_CFLAGS="`pkg-config --cflags mozilla-nss`" + NSS_LIBS="`pkg-config --libs mozilla-nss`" +fi + if test -z "$SKIP_LIBRARY_CHECKS"; then dnl system JPEG support dnl ======================================================== @@@@ -4002,11 +4031,7 @@@@ if test "$MOZ_NATIVE_JPEG" = 1; then #include ], [ #if JPEG_LIB_VERSION < $MOZJPEG #error "Insufficient JPEG library version ($MOZJPEG required)." - #endif - #ifndef JCS_EXTENSIONS - #error "libjpeg-turbo JCS_EXTENSIONS required" - #endif - ], + #endif ], MOZ_NATIVE_JPEG=1, AC_MSG_ERROR([Insufficient JPEG library version for --with-system-jpeg])) fi @@@@ -4141,6 +4166,22 @@@@ if test -n "$MOZ_NATIVE_FFI"; then fi dnl ======================================================== +dnl system icu support +dnl ======================================================== +MOZ_NATIVE_ICU= +MOZ_ARG_WITH_BOOL(system-icu, +[ --with-system-icu + Use system icu (located with pkgconfig)], + MOZ_NATIVE_ICU=1) + +if test -n "$MOZ_NATIVE_ICU"; then + PKG_CHECK_MODULES(MOZ_ICU, icu-i18n >= 50.1) + MOZ_JS_STATIC_LIBS="$MOZ_JS_STATIC_LIBS $MOZ_ICU_LIBS" +fi + +AC_SUBST(MOZ_NATIVE_ICU) + +dnl ======================================================== dnl Java SDK support dnl ======================================================== @@@@ -5299,7 +5340,7 @@@@ dnl --enable-webrtc to override. Can di dnl the master list above. if test -n "$MOZ_WEBRTC"; then case "$target" in - *-linux*|*-mingw*|*-darwin*|*-android*|*-linuxandroid*) + *-linux*|*-mingw*|*-darwin*|*-android*|*-linuxandroid*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*) dnl Leave enabled ;; *) @@@@ -5355,6 +5396,9 @@@@ if test -n "$MOZ_WEBRTC"; then MOZ_VP8_ENCODER=1 MOZ_VP8_ERROR_CONCEALMENT=1 + dnl with libv4l2 we can support more cameras + PKG_CHECK_MODULES(MOZ_LIBV4L2, libv4l2) + dnl enable once Signaling lands MOZ_WEBRTC_SIGNALING=1 AC_DEFINE(MOZ_WEBRTC_SIGNALING) @@@@ -5381,15 +5425,18 @@@@ AC_SUBST(MOZ_SRTP) dnl Use integers over floats for audio on B2G and Android, because audio dnl backends for those platforms don't support floats. -if test "$OS_TARGET" = "Android"; then +case "$target" in +*-android*|*-linuxandroid*) MOZ_SAMPLE_TYPE_S16=1 AC_DEFINE(MOZ_SAMPLE_TYPE_S16) AC_SUBST(MOZ_SAMPLE_TYPE_S16) -else +;; +*) MOZ_SAMPLE_TYPE_FLOAT32=1 AC_DEFINE(MOZ_SAMPLE_TYPE_FLOAT32) AC_SUBST(MOZ_SAMPLE_TYPE_FLOAT32) -fi +;; +esac dnl ======================================================== dnl = Disable Speech API code @@@@ -5739,7 +5786,7 @@@@ MOZ_ALSA=) if test -n "$MOZ_ALSA"; then AC_DEFINE(MOZ_CUBEB) - PKG_CHECK_MODULES(MOZ_ALSA, alsa, , + PKG_CHECK_MODULES(MOZ_ALSA, alsa, MOZ_ALSA=1, [echo "$MOZ_ALSA_PKG_ERRORS" AC_MSG_ERROR([Need alsa for Ogg, Wave or WebM decoding on Linux. Disable with --disable-ogg --disable-wave --disable-webm. (On Ubuntu, you might try installing the package libasound2-dev.)])]) fi @@@@ -8387,7 +8434,7 @@@@ if test "$MOZ_ENABLE_SKIA"; then AC_DEFINE(GR_DLL) fi - if test "${CPU_ARCH}" != "ppc" -a "${CPU_ARCH}" != "ppc64"; then + if test "${CPU_ARCH}" != "ppc" -a "${CPU_ARCH}" != "ppc64" -a "${CPU_ARCH}" != "sparc"; then MOZ_ENABLE_SKIA_GPU=1 AC_DEFINE(USE_SKIA_GPU) AC_SUBST(MOZ_ENABLE_SKIA_GPU) @@@@ -8468,16 +8515,26 @@@@ MOZ_ARG_DISABLE_BOOL(necko-wifi, NECKO_WIFI=, NECKO_WIFI=1) -if test "$OS_ARCH" = "OS2"; then - dnl OS/2 implementation of Necko-WiFi support will be added in bug 506566 - NECKO_WIFI= -fi -if test "$NECKO_WIFI" -a \ - "$OS_ARCH" != "Linux" -a \ - "$OS_ARCH" != "Darwin" -a \ - "$OS_ARCH" != "SunOS" -a \ - "$OS_ARCH" != "WINNT"; then - AC_MSG_ERROR([Necko WiFi scanning not supported on your platform, use --disable-necko-wifi]) +if test "$NECKO_WIFI"; then + case "$OS_TARGET" in + Android) + ;; + Darwin) + ;; + SunOS) + ;; + WINNT) + ;; + OS2) + dnl OS/2 implementation of Necko-WiFi support will be added in bug 506566 + NECKO_WIFI= + ;; + *) + if test -z "$MOZ_ENABLE_DBUS"; then + AC_MSG_ERROR([Necko WiFi scanning needs DBus on your platform, remove --disable-dbus or use --disable-necko-wifi]) + fi + ;; + esac fi if test "$NECKO_WIFI"; then @@@@ -9188,6 +9245,27 @@@@ if test -z "$HAVE_TOOLCHAIN_SUPPORT_SSSE EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D yuv_disable_asm=1" fi +# Keep libcubeb and audio_device backends in sync +if test -n "$MOZ_ALSA"; then + EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_alsa_audio=1" +else + EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_alsa_audio=0" +fi +if test -n "$MOZ_PULSEAUDIO"; then + EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_pulse_audio=1" +else + EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_pulse_audio=0" +fi + +# Don't try to compile sse4.1 code if toolchain doesn't support +if test -z "$HAVE_TOOLCHAIN_SUPPORT_MSSE4_1"; then + EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D yuv_disable_asm=1" +fi + +if test -n "$MOZ_LIBV4L2_LIBS"; then + EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D use_libv4l2=1" +fi + if test -n "$MOZ_WEBRTC"; then AC_MSG_RESULT("generating WebRTC Makefiles...") @ 1.4 log @Bump PKGREVISION, fix native HTML5 audio playback * Set MOZ_SAMPLE_TYPE_FLOAT32 for non-Android platforms. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2014/05/06 13:56:38 ryoon Exp $ @ 1.3 log @Update to 24.5.0 CHangelog: Fixed in Firefox ESR 24.5 MFSA 2014-46 Use-after-free in nsHostResolve MFSA 2014-44 Use-after-free in imgLoader while resizing images MFSA 2014-43 Cross-site scripting (XSS) using history navigations MFSA 2014-42 Privilege escalation through Web Notification API MFSA 2014-38 Buffer overflow when using non-XBL object as XBL MFSA 2014-37 Out of bounds read while decoding JPG images MFSA 2014-35 Privilege escalation through Mozilla Maintenance Service Installer MFSA 2014-34 Miscellaneous memory safety hazards (rv:29.0 / rv:24.5) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2013/12/15 14:02:25 ryoon Exp $ d155 1 a155 1 +*-android*|*-linuxandroid*|*-dragonfly*|*-freebsd*|*-openbsd*) @ 1.2 log @Update to 24.2.0 * Fix PR pkg/48420: fix build on NetBSD with drace support Patches from richard@@ Changelog: Fixed in Firefox ESR 24.2 MFSA 2013-117 Mis-issued ANSSI/DCSSI certificate MFSA 2013-116 JPEG information leak MFSA 2013-115 GetElementIC typed array stubs can be generated outside observed typesets MFSA 2013-114 Use-after-free in synthetic mouse movement MFSA 2013-113 Trust settings for built-in roots ignored during EV certificate validation MFSA 2013-111 Segmentation violation when replacing ordered list elements MFSA 2013-109 Use-after-free during Table Editing MFSA 2013-108 Use-after-free in event listeners MFSA 2013-104 Miscellaneous memory safety hazards (rv:26.0 / rv:24.2) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2013/11/03 04:51:59 ryoon Exp $ d155 1 a155 1 +*-android*|*-linuxandroid*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*) @ 1.1 log @Import firefox24-24.1.0 as www/firefox24. Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available. This package tracks 24 extended support release branch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.15 2013/09/19 12:37:49 ryoon Exp $ d3 1 a3 1 --- configure.in.orig 2013-09-10 03:43:23.000000000 +0000 d23 1 a23 1 @@@@ -2047,6 +2058,9 @@@@ ia64*-hpux*) d33 1 a33 1 @@@@ -2843,6 +2857,7 @@@@ EOF d41 1 a41 1 @@@@ -2851,7 +2866,7 @@@@ __attribute__ ((visibility ("default"))) d50 10 a59 1 @@@@ -3017,6 +3032,9 @@@@ dnl ==================================== d69 1 a69 1 @@@@ -3319,6 +3337,9 @@@@ AC_CACHE_CHECK( d79 1 a79 1 @@@@ -3973,6 +3994,14 @@@@ if test -n "$YASM"; then d94 1 a94 1 @@@@ -4000,11 +4029,7 @@@@ if test "$MOZ_NATIVE_JPEG" = 1; then d107 1 a107 1 @@@@ -4139,6 +4164,22 @@@@ if test -n "$MOZ_NATIVE_FFI"; then d130 1 a130 1 @@@@ -5297,7 +5338,7 @@@@ dnl --enable-webrtc to override. Can di d139 1 a139 1 @@@@ -5353,6 +5394,9 @@@@ if test -n "$MOZ_WEBRTC"; then d149 1 a149 1 @@@@ -5379,15 +5423,18 @@@@ AC_SUBST(MOZ_SRTP) d171 1 a171 1 @@@@ -5737,7 +5784,7 @@@@ MOZ_ALSA=) d180 1 a180 1 @@@@ -8385,7 +8432,7 @@@@ if test "$MOZ_ENABLE_SKIA"; then d189 1 a189 1 @@@@ -8466,16 +8513,26 @@@@ MOZ_ARG_DISABLE_BOOL(necko-wifi, d226 1 a226 1 @@@@ -9186,6 +9243,27 @@@@ if test -z "$HAVE_TOOLCHAIN_SUPPORT_SSSE @