pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Aug 29 22:24:27 UTC 2020

Modified Files:
        pkgsrc/www/firefox: Makefile distinfo options.mk
        pkgsrc/www/firefox/patches: patch-config_makefiles_rust.mk

Log Message:
firefox: Use graphics/libv4l1 for NetBSD 9.99.70 or later

* This enables webcam for WebRTC. Bump PKGREVISION.
* And fix rust.mk patch, from Michael Forney on tech-pkg@.


To generate a diff of this commit:
cvs rdiff -u -r1.444 -r1.445 pkgsrc/www/firefox/Makefile
cvs rdiff -u -r1.408 -r1.409 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r1.58 -r1.59 pkgsrc/www/firefox/options.mk
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/Makefile
diff -u pkgsrc/www/firefox/Makefile:1.444 pkgsrc/www/firefox/Makefile:1.445
--- pkgsrc/www/firefox/Makefile:1.444   Tue Aug 25 14:35:24 2020
+++ pkgsrc/www/firefox/Makefile Sat Aug 29 22:24:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.444 2020/08/25 14:35:24 ryoon Exp $
+# $NetBSD: Makefile,v 1.445 2020/08/29 22:24:27 ryoon Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            80.0
@@ -6,6 +6,7 @@ MOZ_BRANCH_MINOR=       
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.408 pkgsrc/www/firefox/distinfo:1.409
--- pkgsrc/www/firefox/distinfo:1.408   Tue Aug 25 14:35:24 2020
+++ pkgsrc/www/firefox/distinfo Sat Aug 29 22:24:27 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.408 2020/08/25 14:35:24 ryoon Exp $
+$NetBSD: distinfo,v 1.409 2020/08/29 22:24:27 ryoon Exp $
 
 SHA1 (firefox-80.0.source.tar.xz) = b8ddff1d04932f3c41c8507e6078a867db05a03d
 RMD160 (firefox-80.0.source.tar.xz) = bf1a86dce60fd9f77200e770ab73d6ab140bea5c
@@ -8,7 +8,7 @@ SHA1 (patch-aa) = 11060461fdaca5661e8965
 SHA1 (patch-browser_app_profile_firefox.js) = 89cea0a66457c96ad0b94aaa524aa5942ad781d0
 SHA1 (patch-build_moz.configure_rust.configure) = ee9e207e67709f3c9455b4d22f5f254890e99ca8
 SHA1 (patch-config_gcc-stl-wrapper.template.h) = 781a063fa6ab345face53fd88404ead11ab335b2
-SHA1 (patch-config_makefiles_rust.mk) = 68fc83afe7997f26cf87d46836f952cf9bdbb95c
+SHA1 (patch-config_makefiles_rust.mk) = 738b8b54ff2b9849cd8316d8b227b6d067250337
 SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49
 SHA1 (patch-dom_media_CubebUtils.cpp) = 226821d961039ae5c9c50d8615757b73c6bcd80a
 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993

Index: pkgsrc/www/firefox/options.mk
diff -u pkgsrc/www/firefox/options.mk:1.58 pkgsrc/www/firefox/options.mk:1.59
--- pkgsrc/www/firefox/options.mk:1.58  Wed Aug 26 10:27:40 2020
+++ pkgsrc/www/firefox/options.mk       Sat Aug 29 22:24:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.58 2020/08/26 10:27:40 wiz Exp $
+# $NetBSD: options.mk,v 1.59 2020/08/29 22:24:27 ryoon Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.firefox
 
@@ -81,7 +81,12 @@ NO_BIN_ON_FTP=               ${RESTRICTED}
 
 PLIST_VARS+=           webrtc
 .if !empty(PKG_OPTIONS:Mwebrtc)
+.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M9.99.[7-9]*)) || \
+    (${OPSYS} == "Linux")
+.include "../../graphics/libv4l1/buildlink3.mk"
+.else
 .include "../../graphics/libv4l/buildlink3.mk"
+.endif
 CONFIGURE_ARGS+=       --enable-webrtc
 PLIST.webrtc=          yes
 .else

Index: pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk
diff -u pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk:1.3 pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk:1.4
--- pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk:1.3       Tue Aug 25 14:35:24 2020
+++ pkgsrc/www/firefox/patches/patch-config_makefiles_rust.mk   Sat Aug 29 22:24:27 2020
@@ -1,6 +1,8 @@
-$NetBSD: patch-config_makefiles_rust.mk,v 1.3 2020/08/25 14:35:24 ryoon Exp $
+$NetBSD: patch-config_makefiles_rust.mk,v 1.4 2020/08/29 22:24:27 ryoon Exp $
+
+NetBSD doesn't get along with parallel rust builds (it causes issues
+with ld.so) which are the default. Force -j1.
 
---- config/makefiles/rust.mk.orig      2020-08-19 02:08:50.000000000 +0000
 +++ config/makefiles/rust.mk
 @@ -52,6 +52,9 @@ endif
  ifeq (1,$(MOZ_PARALLEL_BUILD))
@@ -12,15 +14,3 @@ $NetBSD: patch-config_makefiles_rust.mk,
  
  # These flags are passed via `cargo rustc` and only apply to the final rustc
  # invocation (i.e., only the top-level crate, not its dependencies).
-@@ -68,6 +71,11 @@ endif
- ifeq (,$(filter 1.38.% 1.39.% 1.40.% 1.41.% 1.42.% 1.43.% 1.44.%,$(RUSTC_VERSION)))
- RUSTFLAGS += -Cembed-bitcode=yes
- endif
-+# Versions of rust >= 1.45 need -Cembed-bitcode=yes for all crates when
-+# using -Clto.
-+ifeq (,$(filter 1.38.% 1.39.% 1.40.% 1.41.% 1.42.% 1.43.% 1.44.%,$(RUSTC_VERSION)))
-+RUSTFLAGS += -Cembed-bitcode=yes
-+endif
- endif
- endif
- 



Home | Main Index | Thread Index | Old Index