diff options
author | tnn <tnn@pkgsrc.org> | 2016-03-09 07:12:25 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2016-03-09 07:12:25 +0000 |
commit | 294a25e100add09b04398d942fbbc58055c52c80 (patch) | |
tree | 18ddd349c49280953e04748a189166e61caf71f1 | |
parent | f1fc7b9afb2f798c5bf337e7ac938786b8df3e69 (diff) | |
download | pkgsrc-294a25e100add09b04398d942fbbc58055c52c80.tar.gz |
Disable the SPS profiler. It makes extra files appear on Linux in the PLIST
and is only useful for Gecko developers.
-rw-r--r-- | www/firefox/distinfo | 4 | ||||
-rw-r--r-- | www/firefox/patches/patch-aa | 36 |
2 files changed, 25 insertions, 15 deletions
diff --git a/www/firefox/distinfo b/www/firefox/distinfo index b64bf3f46b1..ed427b2273d 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.239 2016/03/08 21:32:52 ryoon Exp $ +$NetBSD: distinfo,v 1.240 2016/03/09 07:12:25 tnn Exp $ SHA1 (firefox-45.0.source.tar.xz) = ee76dac9564b59ce6c5680dd472870ecba61bcc7 RMD160 (firefox-45.0.source.tar.xz) = bccf6bb4b59b8a5cd4625c44053dce3ef9563abf SHA512 (firefox-45.0.source.tar.xz) = d75c7bf1f70183b7237b77b99845a6b7daa41014ee75a7977575af345b343a8053dbb993337d24933df23f9600db7c0e936543e57f3f039430ca5c252fe3c4b5 Size (firefox-45.0.source.tar.xz) = 183999640 bytes -SHA1 (patch-aa) = 0fb7310a484c89572122ea98da72e8e37af4467c +SHA1 (patch-aa) = c97ef4b107ea917c2a10d1a1fdaf524d794612a0 SHA1 (patch-ao) = fef085ff0df6f2fa2e54dca473e849eb7bc2cf84 SHA1 (patch-as) = d5d7f8250a9cd462f25d529c2a79c59a1bba9db2 SHA1 (patch-bf) = 75c971043e9f693203d6bd670b2c20c4952a7756 diff --git a/www/firefox/patches/patch-aa b/www/firefox/patches/patch-aa index 1f4521b137b..61d73214d69 100644 --- a/www/firefox/patches/patch-aa +++ b/www/firefox/patches/patch-aa @@ -1,7 +1,8 @@ -$NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ +$NetBSD: patch-aa,v 1.44 2016/03/09 07:12:25 tnn Exp $ * The profiler does not support Darwin/PPC so don't try to enable it - on that platform. + on that platform. Also it makes extra files appear in the PLIST on Linux + so disable it everywhere. * Cocoa gamepad backend can only be used if the toolkit is cocoa too. @@ -13,9 +14,18 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ heavy patching. Ideally they should be fixed individually but that will be an extremely hard work, so don't define XP_MACOSX for now. ---- configure.in.orig 2016-01-15 01:01:40.000000000 +0000 +--- configure.in.orig 2016-03-03 21:47:52.000000000 +0000 +++ configure.in -@@ -1974,7 +1974,6 @@ case "$target" in +@@ -1746,7 +1746,7 @@ fi + dnl ======================================================== + dnl SPS Profiler + dnl ======================================================== +-MOZ_ENABLE_PROFILER_SPS=1 ++MOZ_ENABLE_PROFILER_SPS= + + case "${OS_TARGET}" in + Android) +@@ -1996,7 +1996,6 @@ case "$target" in _PLATFORM_DEFAULT_TOOLKIT='cairo-uikit' direct_nspr_config=1 else @@ -23,7 +33,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ AC_DEFINE(XP_DARWIN) _PLATFORM_DEFAULT_TOOLKIT='cairo-cocoa' # The ExceptionHandling framework is needed for Objective-C exception -@@ -2554,8 +2553,7 @@ MOZ_CXX11 +@@ -2580,8 +2579,7 @@ MOZ_CXX11 AC_LANG_C @@ -33,7 +43,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ dnl =============================================================== if test "$GNU_CC" -a "$OS_TARGET" != WINNT; then AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE) -@@ -3464,6 +3462,14 @@ if test -n "$YASM"; then +@@ -3476,6 +3474,14 @@ if test -n "$YASM"; then _YASM_BUILD=` echo ${YASM_VERSION} | $AWK -F\. '{ print $4 }'` fi @@ -48,7 +58,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ if test -z "$SKIP_LIBRARY_CHECKS"; then dnl system JPEG support dnl ======================================================== -@@ -3491,11 +3497,7 @@ if test "$MOZ_NATIVE_JPEG" = 1; then +@@ -3503,11 +3509,7 @@ if test "$MOZ_NATIVE_JPEG" = 1; then #include <jpeglib.h> ], [ #if JPEG_LIB_VERSION < $MOZJPEG #error "Insufficient JPEG library version ($MOZJPEG required)." @@ -61,7 +71,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ MOZ_NATIVE_JPEG=1, AC_MSG_ERROR([Insufficient JPEG library version for --with-system-jpeg])) fi -@@ -4235,6 +4237,10 @@ cairo-gonk) +@@ -4260,6 +4262,10 @@ cairo-gonk) esac @@ -72,7 +82,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ AC_SUBST(MOZ_PDF_PRINTING) if test "$MOZ_PDF_PRINTING"; then PDF_SURFACE_FEATURE="#define CAIRO_HAS_PDF_SURFACE 1" -@@ -5006,6 +5012,9 @@ if test -n "$MOZ_WEBRTC"; then +@@ -5018,6 +5024,9 @@ if test -n "$MOZ_WEBRTC"; then MOZ_VPX=1 MOZ_VPX_ERROR_CONCEALMENT=1 @@ -82,7 +92,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ dnl enable once Signaling lands MOZ_WEBRTC_SIGNALING=1 AC_DEFINE(MOZ_WEBRTC_SIGNALING) -@@ -5149,6 +5158,142 @@ if test "${ac_cv_c_attribute_aligned}" ! +@@ -5161,6 +5170,142 @@ if test "${ac_cv_c_attribute_aligned}" ! fi dnl ======================================================== @@ -225,7 +235,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ dnl = Disable VP8 decoder support dnl ======================================================== MOZ_ARG_DISABLE_BOOL(webm, -@@ -5551,6 +5696,67 @@ fi +@@ -5563,6 +5708,67 @@ fi AC_SUBST(MOZ_WEBM_ENCODER) dnl ================================== @@ -293,7 +303,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ dnl = Check alsa availability on Linux dnl ================================== -@@ -5564,12 +5770,23 @@ MOZ_ARG_ENABLE_BOOL(alsa, +@@ -5576,12 +5782,23 @@ MOZ_ARG_ENABLE_BOOL(alsa, MOZ_ALSA=1, MOZ_ALSA=) @@ -317,7 +327,7 @@ $NetBSD: patch-aa,v 1.43 2016/01/27 00:08:26 ryoon Exp $ AC_SUBST(MOZ_ALSA) dnl ======================================================== -@@ -8148,6 +8365,49 @@ if test "$USE_FC_FREETYPE"; then +@@ -8139,6 +8356,49 @@ if test "$USE_FC_FREETYPE"; then fi dnl ======================================================== |