head 1.3; access; symbols pkgsrc-2020Q1:1.2.0.6 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.8 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.4 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.2 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.1.0.8 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.6 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.4 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.2 pkgsrc-2018Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2020.06.07.10.34.43; author nia; state dead; branches; next 1.2; commitid aCtCVv72vCKuqhbC; 1.2 date 2019.06.13.14.16.37; author nia; state Exp; branches; next 1.1; commitid L7ODuGow0ISL82rB; 1.1 date 2018.06.28.14.04.10; author ryoon; state Exp; branches; next ; commitid FLpZD0GqQ3Vkp3IA; desc @@ 1.3 log @www: Remove firefox60 - EOL @ text @$NetBSD: patch-media_libcubeb_src_moz.build,v 1.2 2019/06/13 14:16:37 nia Exp $ * Add OSS audio support * Support system library --- media/libcubeb/src/moz.build.orig 2019-05-14 19:13:22.000000000 +0000 +++ media/libcubeb/src/moz.build @@@@ -22,6 +22,18 @@@@ if CONFIG['MOZ_ALSA']: ] DEFINES['USE_ALSA'] = True +if CONFIG['MOZ_OSS']: + SOURCES += [ + 'cubeb_oss.c', + ] + DEFINES['USE_OSS'] = True + +if CONFIG['MOZ_SUN']: + SOURCES += [ + 'cubeb_sun.c', + ] + DEFINES['USE_SUN'] = True + if CONFIG['MOZ_PULSEAUDIO'] or CONFIG['MOZ_JACK']: SOURCES += [ 'cubeb_resampler.cpp', @@@@ -87,6 +99,7 @@@@ if CONFIG['OS_TARGET'] == 'Android': FINAL_LIBRARY = 'gkmedias' CFLAGS += CONFIG['MOZ_ALSA_CFLAGS'] +CFLAGS += CONFIG['MOZ_OSS_CFLAGS'] CFLAGS += CONFIG['MOZ_PULSEAUDIO_CFLAGS'] # We allow warnings for third-party code that can be updated from upstream. @ 1.2 log @firefox60: Add sun audio backend and make it a default where supported. This replaces the OSS backend with something that passes the unit tests, supports additional channels, and supports recording. It will be included with future versions of Firefox. Tested with: * YouTube audio-video sync test * about:support device detection * WebRTC microphone recording (using an USB microphone) While here, fix WebRTC builds. Note: you can select an audio backend using the about:config variable media.cubeb.backend. This can be set to options such as sun/pulse/oss. Let me know if you still need to use the oss backend. It's very incomplete, buggy, and FreeBSD has already removed it - ideally we should eventually. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-media_libcubeb_src_moz.build,v 1.1 2018/06/28 14:04:10 ryoon Exp $ @ 1.1 log @www/firefox60: import firefox60-60.1.0 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 provides Firefox 60 ESR. Securty fixes: #CVE-2018-12359: Buffer overflow using computed size of canvas element #CVE-2018-12360: Use-after-free when using focus() #CVE-2018-12361: Integer overflow in SwizzleData #CVE-2018-12362: Integer overflow in SSSE3 scaler #CVE-2018-5156: Media recorder segmentation fault when track type is changed during capture #CVE-2018-12363: Use-after-free when appending DOM nodes #CVE-2018-12364: CSRF attacks through 307 redirects and NPAPI plugins #CVE-2018-12365: Compromised IPC child process can list local filenames #CVE-2018-12371: Integer overflow in Skia library during edge builder allocation #CVE-2018-12366: Invalid data handling during QCMS transformations #CVE-2018-12367: Timing attack mitigation of PerformanceNavigationTiming #CVE-2018-12368: No warning when opening executable SettingContent-ms files #CVE-2018-12369: WebExtension security permission checks bypassed by embedded experiments #CVE-2018-5187: Memory safety bugs fixed in Firefox 60 and Firefox ESR 60.1 #CVE-2018-5188: Memory safety bugs fixed in Firefox 60, Firefox ESR 60.1, and Firefox ESR 52.9 @ text @d1 1 a1 1 $NetBSD: patch-media_libcubeb_src_moz.build,v 1.14 2018/05/10 20:01:53 ryoon Exp $ d6 1 a6 1 --- media/libcubeb/src/moz.build.orig 2018-05-03 16:58:30.000000000 +0000 d8 1 a8 1 @@@@ -22,6 +22,12 @@@@ if CONFIG['MOZ_ALSA']: d18 6 d27 1 a27 1 @@@@ -87,6 +93,7 @@@@ if CONFIG['OS_TARGET'] == 'Android': @