Wed Feb 12 13:54:56 2020 UTC ()
handbrake: Update to 1.3.1

Changelog:
HandBrake 1.3.1
All platforms
General

    Fixed potential crash when opening a DVD source

Video

    Fixed rotation/flip not working properly in some cases
    Fixed an issue with QSV failures when using --start-at
    Updated presets using x265 to set aq-mode 1, the default prior to HandBrake 1.3.0
    Improved AMD VCE rate control by always explicitly setting the rate control method
    Added a workaround to fix x265 not parsing the H.265 Level setting where localized
    Added an upstream patch to fix x265 limit-tu bug in loading co-located CU's TU depth
    Added an upstream patch to fix x265 2-pass encoding failure
    Added an upstream patch to fix x265 VBV macroblocking at end of final GOP

Audio

    Fixed importing older presets where "und" was used to select any language track
        Since HandBrake 1.3.0, "any" selects any language track and "und" selects undefined language tracks only
    Fixed secondary audio tracks on Blu-ray sources not being detected in some cases

Subtitles

    Fixed importing older presets where "und" was used to select any language track
        Since HandBrake 1.3.0, "any" selects any language track and "und" selects undefined language tracks only

Build system

    Fixed cpp and lib flags causing build failures on some Linux systems

Third-party libraries

    Updated libraries
        FFmpeg 4.2.2 (decoding and filters)

Linux

    Fixed UI translations not working in some cases
    Fixed display of chapter start times
    Fixed small memory leak in audio list

Mac

    Fixed importing external ASS/SSA subtitles
    Fixed statistics not updating after queue completion
    Updated documentation link to the most recent documentation version

Windows

    Fixed missing UI translations for some languages
        Español (Spanish)
        Français (French)
        한국어 (Korean)
        русский (Russian)
        Türkçe (Turkish)
    Fixed official presets not updating after installing a new release
    Fixed preference for automatically naming file extension MP4/M4V not working
    Fixed an issue preventing the use of relative paths for automatic naming
    Fixed audio and subtitles selection behavior not saving when set via the Save New Preset dialog
    Fixed closed captions not being added automatically per selection behavior
    Fixed iPod 5G support option displaying when an incompatible encoder is selected
    Fixed queue updating slowly or not updating in some cases
    Fixed a few UI issues and a crash with the new dark theme.
    Fixed window not restoring properly after minimizing to system tray
    Fixed frame rate mode not updating on video codec change, preventing QSV zero-copy mode

HandBrake 1.3.0
All platforms
General

    HandBrake is now translated into many more languages
    Redesigned queue UI
    Removed Windows Mobile presets
        See the list of compatible replacements on GitHub
    Improved log output by silencing many lines at standard log level
    Improved quality of Gmail presets slightly
    Added Playstation 2160p60 4K Surround preset (supports PS4 Pro)
    Added Discord and Discord Nitro presets

Video

    Updated Intel Quick Sync Video to use Direct3D 11 API
    Updated minimum title scan duration to only apply to disc-based sources like Blu-ray and DVD
    Improved detection of MPEG-1 video in program streams
    Improved interface to FFmpeg avfilter and color handling
    Improved Nvidia NVENC constant quality encoding slightly by not setting qmin and qmax
    Replaced pp7 Deblock filter with FFmpeg Deblock filter
    Added support for reading Ultra HD Blu-ray discs (without copy protection)
    Added support for reading AV1 via libdav1d
    Added encoding to WebM container format
    Added Chroma Smooth filter (CLI only)
    Added zero-copy path for Intel QSV encoding removed in a previous release
    Added support for Intel QSV low power encoding (lowpower=1)
    Added support for AMD VCE encoding on Linux via Vulkan
    Added ability to select x265 encoder level and Fast Decode tune

Audio

    Updated audio resampling code to use FFmpeg swresample instead of libsamplerate
    Added source audio bit rate to tracks list
    Added ability to select unknown language tracks
    Added automatic track name pass through

Subtitles

    Added ability to import external SSA/ASS subtitles
    Added ability to select unknown language tracks
    Added automatic track name pass through

Command line interface

    Added additional unit aliases to --start-at and --stop-at, notably seconds and frames

Build system

    HandBrake now builds with libnuma on Linux
    Fixed Python bytestrings causing newlines to be ignored in build output
    Fixed Xcode ignoring make jobs parameter and utilizing all CPU cores (macOS only)
    Updated configure to enable most hardware encoders by default where appropriate by platform
    Updated all scripts for compatibility with Python 3
    Updated mac-toolchain-build script with newer tool versions many improvements
    Updated mingw-w64-build script with mingw-w64 6.0.0, GCC 9.2, and many improvements
    Improved compatibility with GCC 9 and recent Clang releases
    Improved compatibility with recent Xcode releases (macOS only)
    Improved host/build semantics
    Improved namespace isolation
    Improved handling of all options passed to configure
    Improved configure help output
    Improved detection of missing executable dependencies during configure
    Added support for building on NetBSD
    Added --harden configure parameter to enable buffer overflow protections
    Added --sandbox configure parameter to enable sandbox build target on macOS
    Added --enable-gtk4 configure parameter to build with GTK 4 instead of GTK 3
    Added summary of build options to configure output
    Miscellaneous bug fixes and improvements

Third-party libraries

    Removed libraries
        libsamplerate (audio resampling)
    Updated libraries
        AMF 1.4.9 (AMD VCE encoding)
        bzip2 1.0.8 (general)
        FDK AAC 2.0.1 (AAC audio encoding, must compile from source)
        FFmpeg 4.2.1 (decoding and filters)
        FreeType 2.10.1 (subtitles)
        Fribidi 1.0.7 (subtitles)
        HarfBuzz 2.6.4 (subtitles)
        Jansson 2.12 (JSON architecture)
        libbluray 1.1.2 (Blu-ray decoding)
        libdav1d 0.5.1 (AV1 decoding)
        libdvdnav 6.0.1 (DVD decoding)
        libdvdread 6.0.2 (DVD decoding)
        libiconv 1.16 (character encoding support)
        libmfx (Intel QSV support)
        libogg 1.3.4 (Xiph codecs support)
        libopus 1.3.1 (Opus audio encoding)
        libvorbis 1.3.6 (Vorbis audio encoding)
        libvpx 1.8.1 (VP8/VP9 video encoding)
        libxml2 2.9.9 (general)
        nv-codec-headers 9.0.18.1 (Nvidia NVENC encoding)
        x265 3.2.1 (H.265/HEVC video encoding)

Linux

    Fixed slider control not showing complete values
    Updated translations (levels of completeness vary):
        Czech
        Chinese
        French
        German
        Italian
        Japanese
        Korean
        Norwegian
        Russian
        Spanish
        Thai
    Added translations (levels of completeness vary):
        Afrikaans
        Basque
        Croatian
        Dutch
        Polish
        Portuguese
        Romanian
        Slovak
        Swedish
        Turkish
        Ukrainian
    Added Intel QSV support to Flatpak (requires additional plugin installation)
    Added ability to double-click to edit audio track settings
    Added options to open encode log and log directory to actions menu on queue window
    Miscellaneous bug fixes and improvements

Mac

    HandBrake now requires OS X 10.11 El Capitan or later
    HandBrake is now sandboxed and uses the macOS hardened runtime
    Updated priority for low-priority threads on macOS to avoid potential stalls in future macOS
    Updated translations:
        German
    Added translations:
        French
        Italian
        Russian
    Added preference to disable preview image on summary tab
    Miscellaneous bcently used to fallback to parent directory
    Improved preferences layout
    Improved auto naming collision behavior and file overwriting
    Added preference to test selected notification sound
    Added preference to perform when done action immmediace safety measures
        Encoding jobs automatically pause when battery level is low, system sleep is allowed, and jobs resume when power is restored
        Encoding jobs automatically pause when disk space drops to critical levels
    Added translatioovements


(ryoon)
diff -r1.54 -r1.55 pkgsrc/multimedia/handbrake/Makefile
diff -r1.3 -r1.4 pkgsrc/multimedia/handbrake/PLIST
diff -r1.7 -r1.8 pkgsrc/multimedia/handbrake/distinfo
diff -r1.1 -r0 pkgsrc/multimedia/handbrake/patches/patch-contrib_libbluray_P02-netbsd-configure.patch
diff -r1.1 -r0 pkgsrc/multimedia/handbrake/patches/patch-libhb_module.defs
diff -r1.1 -r0 pkgsrc/multimedia/handbrake/patches/patch-make_configure.py
diff -r1.1 -r0 pkgsrc/multimedia/handbrake/patches/patch-make_include_main.defs
diff -r1.1 -r0 pkgsrc/multimedia/handbrake/patches/patch-make_variant_netbsd.defs
diff -r0 -r1.1 pkgsrc/multimedia/handbrake/patches/patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch
diff -r1.1 -r1.2 pkgsrc/multimedia/handbrake/patches/patch-libhb_fifo.c

cvs diff -r1.54 -r1.55 pkgsrc/multimedia/handbrake/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/handbrake/Makefile 2020/01/26 17:31:46 1.54
+++ pkgsrc/multimedia/handbrake/Makefile 2020/02/12 13:54:56 1.55
@@ -1,57 +1,60 @@ @@ -1,57 +1,60 @@
1# $NetBSD: Makefile,v 1.54 2020/01/26 17:31:46 rillig Exp $ 1# $NetBSD: Makefile,v 1.55 2020/02/12 13:54:56 ryoon Exp $
2# 2#
3 3
4DISTNAME= HandBrake-1.2.2-source 4DISTNAME= HandBrake-1.3.1-source
5PKGNAME= ${DISTNAME:tl:S/-source//} 5PKGNAME= ${DISTNAME:tl:S/-source//}
6PKGREVISION= 2 
7CATEGORIES= multimedia 6CATEGORIES= multimedia
8MASTER_SITES= https://download.handbrake.fr/releases/${PKGVERSION_NOREV}/ 7MASTER_SITES= https://download.handbrake.fr/releases/${PKGVERSION_NOREV}/
9EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
10 9
11MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= https://handbrake.fr/ 11HOMEPAGE= https://handbrake.fr/
13COMMENT= Multiplatform, multithreaded video transcoder 12COMMENT= Multiplatform, multithreaded video transcoder
14LICENSE= gnu-gpl-v2 13LICENSE= gnu-gpl-v2
15 14
16DIST_SUBDIR= handbrake 15DIST_SUBDIR= handbrake
17EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} 16EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
18DISTFILES= ${DISTNAME}${EXTRACT_SUFX} 17DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
19CDISTFILES= ffmpeg-4.1.tar.bz2 \ 18CDISTFILES= ffmpeg-4.2.2.tar.bz2 \
20 libbluray-1.0.2.tar.bz2 \ 19 libbluray-1.1.2.tar.bz2 \
21 libdvdnav-6.0.0.tar.bz2 \ 20 libdvdnav-6.0.1.tar.bz2 \
22 libdvdread-6.0.0.tar.bz2 \ 21 libdvdread-6.0.2.tar.bz2 \
23 libvpx-1.7.0.tar.gz \ 22 x265_3.2.1.tar.gz \
24 x265_2.9.tar.gz 23 dav1d-0.5.1.tar.bz2
25DISTFILES+= ${CDISTFILES} 24DISTFILES+= ${CDISTFILES}
26 25
27.for f in ${CDISTFILES} 26.for f in ${CDISTFILES}
28SITES.${f}= https://download.handbrake.fr/contrib/ 27SITES.${f}= https://download.handbrake.fr/contrib/
29.endfor 28.endfor
30 29
31RESTRICTED= Unresolved patent issues 30RESTRICTED= Unresolved patent issues
32NO_BIN_ON_CDROM= ${RESTRICTED} 31NO_BIN_ON_CDROM= ${RESTRICTED}
33NO_BIN_ON_FTP= ${RESTRICTED} 32NO_BIN_ON_FTP= ${RESTRICTED}
34NO_SRC_ON_CDROM= ${RESTRICTED} 33NO_SRC_ON_CDROM= ${RESTRICTED}
35NO_SRC_ON_FTP= ${RESTRICTED} 34NO_SRC_ON_FTP= ${RESTRICTED}
36 35
37WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//} 36WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
38 37
39HAS_CONFIGURE= yes 38HAS_CONFIGURE= yes
40USE_TOOLS+= gmake perl intltool msgfmt pkg-config bash 39USE_TOOLS+= gmake perl intltool msgfmt pkg-config bash
41USE_TOOLS+= autoconf automake aclocal autoreconf m4 40USE_TOOLS+= autoconf automake aclocal autoreconf m4
42USE_LIBTOOL= yes 41USE_LIBTOOL= yes
43USE_LANGUAGES= c c++ 42USE_LANGUAGES= c c++
44 43
 44TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools
 45_TOOLS_USE_PKGSRC.msgfmt= yes
 46USE_BUILTIN.gettext= no
 47
45BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl 48BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl
46 49
47CONFIGURE_ARGS+= --prefix=${PREFIX} 50CONFIGURE_ARGS+= --prefix=${PREFIX}
48BUILD_DIRS= build 51BUILD_DIRS= build
49MAKE_FILE= GNUmakefile 52MAKE_FILE= GNUmakefile
50BUILD_TARGET= # empty 53BUILD_TARGET= # empty
51BUILD_FLAGS+= BUILDLINK_DIR=${BUILDLINK_DIR} 54BUILD_FLAGS+= BUILDLINK_DIR=${BUILDLINK_DIR}
52 55
53BUILD_DEPENDS+= cmake-[0-9]*:../../devel/cmake 56BUILD_DEPENDS+= cmake-[0-9]*:../../devel/cmake
54BUILD_DEPENDS+= nasm>=2.05.01:../../devel/nasm 57BUILD_DEPENDS+= nasm>=2.05.01:../../devel/nasm
55#BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 58#BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
56 59
57# harfbuzz, which is now separate from pango, installs a header file 60# harfbuzz, which is now separate from pango, installs a header file
@@ -72,21 +75,24 @@ CFLAGS+= -fheinous-gnu-extensions @@ -72,21 +75,24 @@ CFLAGS+= -fheinous-gnu-extensions
72 75
73post-extract: 76post-extract:
74 ${MKDIR} ${WRKSRC}/download 77 ${MKDIR} ${WRKSRC}/download
75.for distfile in ${CDISTFILES} 78.for distfile in ${CDISTFILES}
76 cp ${DISTDIR}/${DIST_SUBDIR}/${distfile} \ 79 cp ${DISTDIR}/${DIST_SUBDIR}/${distfile} \
77 ${WRKSRC}/download/ 80 ${WRKSRC}/download/
78.endfor 81.endfor
79 82
80.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 83.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
81.include "../../audio/lame/buildlink3.mk" 84.include "../../audio/lame/buildlink3.mk"
82.include "../../audio/libopus/buildlink3.mk" 85.include "../../audio/libopus/buildlink3.mk"
83.include "../../audio/libsamplerate/buildlink3.mk" 86.include "../../audio/libsamplerate/buildlink3.mk"
84.include "../../audio/speex/buildlink3.mk" 87.include "../../audio/speex/buildlink3.mk"
 88.include "../../devel/gettext-lib/buildlink3.mk"
 89.include "../../multimedia/gstreamer1/buildlink3.mk"
85.include "../../multimedia/libass/buildlink3.mk" 90.include "../../multimedia/libass/buildlink3.mk"
86.include "../../multimedia/libtheora/buildlink3.mk" 91.include "../../multimedia/libtheora/buildlink3.mk"
 92.include "../../multimedia/libvpx/buildlink3.mk"
87.include "../../multimedia/x264-devel/buildlink3.mk" 93.include "../../multimedia/x264-devel/buildlink3.mk"
88.include "../../textproc/libxml2/buildlink3.mk" 94.include "../../textproc/libxml2/buildlink3.mk"
89.include "../../x11/gtk3/buildlink3.mk" 95.include "../../x11/gtk3/buildlink3.mk"
90.include "../../textproc/jansson/buildlink3.mk" 96.include "../../textproc/jansson/buildlink3.mk"
91.include "../../sysutils/desktop-file-utils/desktopdb.mk" 97.include "../../sysutils/desktop-file-utils/desktopdb.mk"
92.include "../../mk/bsd.pkg.mk" 98.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/multimedia/handbrake/PLIST (expand / switch to unified diff)

--- pkgsrc/multimedia/handbrake/PLIST 2019/03/01 23:51:48 1.3
+++ pkgsrc/multimedia/handbrake/PLIST 2020/02/12 13:54:56 1.4
@@ -1,21 +1,31 @@ @@ -1,21 +1,31 @@
1@comment $NetBSD: PLIST,v 1.3 2019/03/01 23:51:48 ryoon Exp $ 1@comment $NetBSD: PLIST,v 1.4 2020/02/12 13:54:56 ryoon Exp $
2bin/HandBrakeCLI 2bin/HandBrakeCLI
3bin/ghb 3bin/ghb
4share/applications/fr.handbrake.ghb.desktop 4share/applications/fr.handbrake.ghb.desktop
5share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg 5share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg
6share/icons/hicolor/scalable/apps/hb-icon.svg 6share/icons/hicolor/scalable/apps/hb-icon.svg
 7share/locale/af/LC_MESSAGES/ghb.mo
7share/locale/cs/LC_MESSAGES/ghb.mo 8share/locale/cs/LC_MESSAGES/ghb.mo
8share/locale/da/LC_MESSAGES/ghb.mo 9share/locale/da/LC_MESSAGES/ghb.mo
9share/locale/de/LC_MESSAGES/ghb.mo 10share/locale/de/LC_MESSAGES/ghb.mo
10share/locale/es/LC_MESSAGES/ghb.mo 11share/locale/es/LC_MESSAGES/ghb.mo
 12share/locale/eu/LC_MESSAGES/ghb.mo
11share/locale/fr/LC_MESSAGES/ghb.mo 13share/locale/fr/LC_MESSAGES/ghb.mo
12share/locale/it_IT/LC_MESSAGES/ghb.mo 14share/locale/hr/LC_MESSAGES/ghb.mo
13share/locale/ja_JP/LC_MESSAGES/ghb.mo 15share/locale/it/LC_MESSAGES/ghb.mo
 16share/locale/ja/LC_MESSAGES/ghb.mo
14share/locale/ko/LC_MESSAGES/ghb.mo 17share/locale/ko/LC_MESSAGES/ghb.mo
 18share/locale/nl/LC_MESSAGES/ghb.mo
15share/locale/no/LC_MESSAGES/ghb.mo 19share/locale/no/LC_MESSAGES/ghb.mo
 20share/locale/pl/LC_MESSAGES/ghb.mo
 21share/locale/pt/LC_MESSAGES/ghb.mo
16share/locale/pt_BR/LC_MESSAGES/ghb.mo 22share/locale/pt_BR/LC_MESSAGES/ghb.mo
17share/locale/ro_RO/LC_MESSAGES/ghb.mo 23share/locale/ro/LC_MESSAGES/ghb.mo
18share/locale/ru/LC_MESSAGES/ghb.mo 24share/locale/ru/LC_MESSAGES/ghb.mo
 25share/locale/sk/LC_MESSAGES/ghb.mo
 26share/locale/sv/LC_MESSAGES/ghb.mo
19share/locale/th/LC_MESSAGES/ghb.mo 27share/locale/th/LC_MESSAGES/ghb.mo
 28share/locale/tr/LC_MESSAGES/ghb.mo
 29share/locale/uk_UA/LC_MESSAGES/ghb.mo
20share/locale/zh_CN/LC_MESSAGES/ghb.mo 30share/locale/zh_CN/LC_MESSAGES/ghb.mo
21share/metainfo/fr.handbrake.ghb.appdata.xml 31share/metainfo/fr.handbrake.ghb.appdata.xml

cvs diff -r1.7 -r1.8 pkgsrc/multimedia/handbrake/distinfo (expand / switch to unified diff)

--- pkgsrc/multimedia/handbrake/distinfo 2019/03/01 23:51:48 1.7
+++ pkgsrc/multimedia/handbrake/distinfo 2020/02/12 13:54:56 1.8
@@ -1,40 +1,32 @@ @@ -1,40 +1,32 @@
1$NetBSD: distinfo,v 1.7 2019/03/01 23:51:48 ryoon Exp $ 1$NetBSD: distinfo,v 1.8 2020/02/12 13:54:56 ryoon Exp $
2 2
3SHA1 (handbrake/HandBrake-1.2.2-source.tar.bz2) = 100e2b6a240b5743b4e31a2bee32986f791b516b 3SHA1 (handbrake/HandBrake-1.3.1-source.tar.bz2) = 213da9cebb19215d6e7ea49ac390ecc9cb6c749f
4RMD160 (handbrake/HandBrake-1.2.2-source.tar.bz2) = 82a72774f993feb3628eff7f164e308a17e6251b 4RMD160 (handbrake/HandBrake-1.3.1-source.tar.bz2) = 2e586c8dae9d4a8b7c2fcb036fcdbff62f5c26d6
5SHA512 (handbrake/HandBrake-1.2.2-source.tar.bz2) = 434e6db1acbe01771aeefd2f257bdc58ad84e63ba441f4977f634b9ccb3c708176b928adf1dfa9e20d4948b65876ae9b4dfdc35f9c56f03f34858380090ab29c 5SHA512 (handbrake/HandBrake-1.3.1-source.tar.bz2) = b713c70155feff765fb21e201e1c1599c970bf56581584281d883e57046409731cb663c11ee8ea2c141ba75852746be81d6db813f2d481b72429e53c89d584d2
6Size (handbrake/HandBrake-1.2.2-source.tar.bz2) = 18010777 bytes 6Size (handbrake/HandBrake-1.3.1-source.tar.bz2) = 16815767 bytes
7SHA1 (handbrake/ffmpeg-4.1.tar.bz2) = dbbecc574c0a57687271165a618353d4ddbd8cfa 7SHA1 (handbrake/dav1d-0.5.1.tar.bz2) = 03f6b1ceeb543caf783c6bb2c17e9790802277c8
8RMD160 (handbrake/ffmpeg-4.1.tar.bz2) = 0baa9ea7abc780a3093bffadd0291676ea5c7f7b 8RMD160 (handbrake/dav1d-0.5.1.tar.bz2) = 2193f5f242573b1cc52afb7b6b1558aae019211e
9SHA512 (handbrake/ffmpeg-4.1.tar.bz2) = ccf6d07268dc47e08ca619eb182a003face2a8ee73ec1a28157330dd7de1df88939def1fc1c7e6b6ac7b59752cdad84657d589b2fafb73e14e5ef03fb6e33417 9SHA512 (handbrake/dav1d-0.5.1.tar.bz2) = 2d1e7888fa9c138903b4209647e907803d2444fc2afb219b9a45dcc4c75098128b299950750bd68970004ea413ad88933d4d651a3e4e0e1557506598a15cee3b
10Size (handbrake/ffmpeg-4.1.tar.bz2) = 10687291 bytes 10Size (handbrake/dav1d-0.5.1.tar.bz2) = 548584 bytes
11SHA1 (handbrake/libbluray-1.0.2.tar.bz2) = 025ef1c0a25b42f4a13a9fb2df09fc9cef1a821b 11SHA1 (handbrake/ffmpeg-4.2.2.tar.bz2) = 77c9724bde4c6e3ef21ab954c0572ac45e61c3e5
12RMD160 (handbrake/libbluray-1.0.2.tar.bz2) = 37ac4f42277f7feb79ee9b99c5d4870b1e4bfddf 12RMD160 (handbrake/ffmpeg-4.2.2.tar.bz2) = 170a0ab4f45f54e1473d906a01dac81ef113c3b8
13SHA512 (handbrake/libbluray-1.0.2.tar.bz2) = e1360ad08aa6cc67a80efa81a09004faebbe31105f1961494f82f655e3e7378b198ee3bc534b0d0c2bfec726939b11b545cc8bbfa30794fc647432dadf71089b 13SHA512 (handbrake/ffmpeg-4.2.2.tar.bz2) = 6920bf2efb6ed665ea84c31ff3b28a0e9dc0ba3e0c8dfe4ceee4d8b8172328334490a28dbac93b0f9839d0c90ea588cb79141d88bdd3bf4bbf43fd22deb6a5e6
14Size (handbrake/libbluray-1.0.2.tar.bz2) = 733058 bytes 14Size (handbrake/ffmpeg-4.2.2.tar.bz2) = 10953320 bytes
15SHA1 (handbrake/libdvdnav-6.0.0.tar.bz2) = 09be41ff1b4e83465eb27528ba6c8325e8f054b0 15SHA1 (handbrake/libbluray-1.1.2.tar.bz2) = 3885c0d0bd0f04a3a372ceec3a01a44a7624f272
16RMD160 (handbrake/libdvdnav-6.0.0.tar.bz2) = 0b972d4bb872135f8b6c206163373ee9b4454ea7 16RMD160 (handbrake/libbluray-1.1.2.tar.bz2) = bbfea1093f9fc5ea089cf5860e55e020b916a4b0
17SHA512 (handbrake/libdvdnav-6.0.0.tar.bz2) = 89d1e976d8f1cc92692e86e793403759b4d705682ba7418dcfd7dd3c38861238cead303fe4baa2059ebd7e9b82a77bbdbf32e50b20848e78939ee9e75d1b96d4 17SHA512 (handbrake/libbluray-1.1.2.tar.bz2) = 5a82af6c1840a1dcb31d06d90203c68e2c4f0bbadc9212eb0bb2776d42b0ab3793a769ebe07b3051be151e8b15876874d5a0658292f72b7126dd915a1ada3fe7
18Size (handbrake/libdvdnav-6.0.0.tar.bz2) = 369605 bytes 18Size (handbrake/libbluray-1.1.2.tar.bz2) = 745779 bytes
19SHA1 (handbrake/libdvdread-6.0.0.tar.bz2) = 5a01d1e6196a6ceff363455951e3682b231a3b78 19SHA1 (handbrake/libdvdnav-6.0.1.tar.bz2) = 258b82156e13803f2b0dbaec74e15475b4341d2f
20RMD160 (handbrake/libdvdread-6.0.0.tar.bz2) = 0560ca14836495f8028e504827e23c135590183b 20RMD160 (handbrake/libdvdnav-6.0.1.tar.bz2) = b546e77983eee3b0c842aa98f77c131d96132714
21SHA512 (handbrake/libdvdread-6.0.0.tar.bz2) = b07179f2f665adf6ddd7bf8b7c48cd279f3f413c5719b8ca8467e53c7cd0cac02a40101f3717186dc0e4e69e5d9c7ac6bf98a76901412d74150b9fc7bfdd2479 21SHA512 (handbrake/libdvdnav-6.0.1.tar.bz2) = 83a015821dacea702eb34abb7a940b9a263918a66fe711fe9a817754f25c2aa0afae3543b4d93673d1c93d3e7914e1b776c10ce50465516f4e3a3d419c15ad9f
22Size (handbrake/libdvdread-6.0.0.tar.bz2) = 394627 bytes 22Size (handbrake/libdvdnav-6.0.1.tar.bz2) = 378491 bytes
23SHA1 (handbrake/libvpx-1.7.0.tar.gz) = fb3d4b80596d1e3b1a7f53757d63e7d2b3eeb7c9 23SHA1 (handbrake/libdvdread-6.0.2.tar.bz2) = a3d4b85cbe52b11cff7587ed010fa38ce512fd95
24RMD160 (handbrake/libvpx-1.7.0.tar.gz) = 3af78fbfad1c3a2398054c6cf6df626216b67160 24RMD160 (handbrake/libdvdread-6.0.2.tar.bz2) = 811f3199acabd487edce8741060e6499b53deb68
25SHA512 (handbrake/libvpx-1.7.0.tar.gz) = 8b3b766b550f8d86907628d7ed88035f9a2612aac21542e0fd5ad35b905eb82cbe1be02a1a24afce7a3bcc4766f62611971f72724761996b392136c40a1e7ff0 25SHA512 (handbrake/libdvdread-6.0.2.tar.bz2) = e8831a67bbf1a144e9298b59e5462889c8b0197592a3c169523b5d84d9b9c1aaa719ccde2aa98c490e04f2a94c3fa7244b286e8faed674ae8c70400a0ece9c6c
26Size (handbrake/libvpx-1.7.0.tar.gz) = 2679797 bytes 26Size (handbrake/libdvdread-6.0.2.tar.bz2) = 405298 bytes
27SHA1 (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = d500263b2fd92a32ac383ac87762648ecf8d325b 27SHA1 (handbrake/x265_3.2.1.tar.gz) = 0bd4889ff3ad596372ce2338f2d896947a2eec53
28RMD160 (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = 50efbad1155bfebfb2fe340ed6dd88ddfb5b8aac 28RMD160 (handbrake/x265_3.2.1.tar.gz) = 7386c00a49a2fc143cd3c8cea657872235a8ba77
29SHA512 (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = daa45ae8bcc11eb6b8d671c2d720d5c3edce9e4ef68f913ed25a8c4d1a4b165e0576b03eff9ce2fe355156ab5a5d8d74573158ef190feec5cfb5ac0838e0caa7 29SHA512 (handbrake/x265_3.2.1.tar.gz) = 5cb29b9d4475c1f686f6e31e47ccddde3db1639d5dcf9c058513389a9fdeb35a83b14e30e59498a76dec74bb0b410b6d8f5b1b45d18927be9811bb6a40d8d568
30Size (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = 53627 bytes 30Size (handbrake/x265_3.2.1.tar.gz) = 1426255 bytes
31SHA1 (handbrake/x265_2.9.tar.gz) = 3c005b4ab409c6f996b36ad88d780ff85fbc9abf 31SHA1 (patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch) = c3ecbaa85bfc23021fd8474774a710f1e9068a18
32RMD160 (handbrake/x265_2.9.tar.gz) = ea6772ec426c141eb1756cdf6bb2def3d6319f47 32SHA1 (patch-libhb_fifo.c) = 46c5ec1f2c665da297830c326e703160e3e911d2
33SHA512 (handbrake/x265_2.9.tar.gz) = 270818c7fd84947fde371e32bef225c1880cfb0bcd95378d95b51f50577a134d7cd585fcdfa43b103a24d76c5ad826b09509a07eb9e208e8f2b56f2f77365cf3 
34Size (handbrake/x265_2.9.tar.gz) = 1385848 bytes 
35SHA1 (patch-contrib_libbluray_P02-netbsd-configure.patch) = 00faf70aa66f15936a833aa22f9e656265143d69 
36SHA1 (patch-libhb_fifo.c) = 4644cd76e40dd9969136516a532bad86ab0d1df1 
37SHA1 (patch-libhb_module.defs) = 237c0e86ac2ced0c8266c88403506bcf0e8d6bde 
38SHA1 (patch-make_configure.py) = eed0c1f7ce970d0bd57883612f130e30f323f816 
39SHA1 (patch-make_include_main.defs) = a605c6d45d3b7d9f5f55873a5a7f3a483d49d65d 
40SHA1 (patch-make_variant_netbsd.defs) = aa8e1c8dc51b7c426426e671970253a1ad05c98f 

File Deleted: pkgsrc/multimedia/handbrake/patches/Attic/patch-contrib_libbluray_P02-netbsd-configure.patch

File Deleted: pkgsrc/multimedia/handbrake/patches/Attic/patch-libhb_module.defs

File Deleted: pkgsrc/multimedia/handbrake/patches/Attic/patch-make_configure.py

File Deleted: pkgsrc/multimedia/handbrake/patches/Attic/patch-make_include_main.defs

File Deleted: pkgsrc/multimedia/handbrake/patches/Attic/patch-make_variant_netbsd.defs

File Added: pkgsrc/multimedia/handbrake/patches/Attic/patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch
$NetBSD: patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch,v 1.1 2020/02/12 13:54:56 ryoon Exp $

* Fix segafult on recent NetBSD-current.

--- contrib/libbluray/P04-netbsd-pthread_equal-check.patch.orig	2020-02-11 08:09:40.072157575 +0000
+++ contrib/libbluray/P04-netbsd-pthread_equal-check.patch
@@ -0,0 +1,20 @@
+--- libbluray/src/util/mutex.c.orig	2019-06-07 18:00:28.000000000 +0000
++++ libbluray/src/util/mutex.c
+@@ -89,7 +89,7 @@ static int _mutex_init(MUTEX_IMPL *p)
+ 
+ static int _mutex_lock(MUTEX_IMPL *p)
+ {
+-    if (pthread_equal(p->owner, pthread_self())) {
++    if (p->owner == pthread_self()) {
+         /* recursive lock */
+         p->lock_count++;
+         return 0;
+@@ -108,7 +108,7 @@ static int _mutex_lock(MUTEX_IMPL *p)
+ 
+ static int _mutex_unlock(MUTEX_IMPL *p)
+ {
+-    if (!pthread_equal(p->owner, pthread_self())) {
++    if (!(p->owner == pthread_self())) {
+         BD_DEBUG(DBG_BLURAY|DBG_CRIT, "bd_mutex_unlock(): not owner !\n");
+         return -1;
+     }

cvs diff -r1.1 -r1.2 pkgsrc/multimedia/handbrake/patches/Attic/patch-libhb_fifo.c (expand / switch to unified diff)

--- pkgsrc/multimedia/handbrake/patches/Attic/patch-libhb_fifo.c 2019/03/01 23:51:48 1.1
+++ pkgsrc/multimedia/handbrake/patches/Attic/patch-libhb_fifo.c 2020/02/12 13:54:56 1.2
@@ -1,42 +1,15 @@ @@ -1,42 +1,15 @@
1$NetBSD: patch-libhb_fifo.c,v 1.1 2019/03/01 23:51:48 ryoon Exp $ 1$NetBSD: patch-libhb_fifo.c,v 1.2 2020/02/12 13:54:56 ryoon Exp $
2 2
3* NetBSD has no memalign 3* On NetBSD malloc() is defined in stdlib.h.
4 4
5--- libhb/fifo.c.orig 2019-02-22 16:23:51.000000000 +0000 5--- libhb/fifo.c.orig 2020-01-04 16:28:06.000000000 +0000
6+++ libhb/fifo.c 6+++ libhb/fifo.c
7@@ -13,7 +13,7 @@ 7@@ -16,7 +16,7 @@
8 #endif 8 #endif
9  9
10 #ifndef SYS_DARWIN 10 #ifndef SYS_DARWIN
11-#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) 11-#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ )
12+#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined(__NetBSD__) 12+#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined(__NetBSD__)
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #else 14 #else
15 #include <malloc.h> 15 #include <malloc.h>
16@@ -395,7 +395,7 @@ hb_buffer_t * hb_buffer_init_internal( i 
17  
18 if (size) 
19 { 
20-#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) 
21+#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) || defined(__NetBSD__) 
22 b->data = malloc( b->alloc ); 
23 #elif defined( SYS_CYGWIN ) 
24 /* FIXME */ 
25@@ -821,7 +821,7 @@ hb_image_t * hb_image_init(int pix_fmt,  
26 { 
27 return NULL; 
28 } 
29-#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) 
30+#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) || defined(__NetBSD__) 
31 image->data = malloc(size); 
32 #elif defined( SYS_CYGWIN ) 
33 /* FIXME */ 
34@@ -862,7 +862,7 @@ hb_image_t * hb_buffer_to_image(hb_buffe 
35 { 
36 hb_image_t *image = calloc(1, sizeof(hb_image_t)); 
37  
38-#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) 
39+#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) || defined(__NetBSD__) 
40 image->data = malloc( buf->size ); 
41 #elif defined( SYS_CYGWIN ) 
42 /* FIXME */