pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/handbrake
Module Name: pkgsrc
Committed By: ryoon
Date: Wed Aug 12 03:42:13 UTC 2026
Modified Files:
pkgsrc/multimedia/handbrake: Makefile distinfo
pkgsrc/multimedia/handbrake/patches: patch-make-include-main.defs
Added Files:
pkgsrc/multimedia/handbrake/patches: patch-gtk_po_zh__CN.po
Log Message:
multimedia/handbrake: Update to 1.11.2
* Use internal libjpeg-turbo only when pkgsrc does not use libjpeg-turbo
as jpeg library.
Changelog:
## HandBrake 1.11.2
### All platforms
#### Video
- Fixed a crash that happened when doing a 2-pass lossless x265 encode
- Fixed a memory leak that happened when doing a 2-pass MPEG-4/MPEG-2/VP9/FFV1 encode
#### Audio
- Updated the list of supported dithers and encoders combinations
- Fixed the Core Audio AAC encoder 7.1 channel layout
#### Subtitles
- Fixed the VobSub palette creation in the MP4 container
#### Build system
- Improved build system compatibility with older build tools
#### Third-party libraries
- Updated libraries
- FFmpeg 8.0.2 (decoding and filters)
- SVT-AV1 4.1.0 (AV1 video encoding)
### Linux
- Added WebM MIME type to the list of the supported formats
### Mac
- Improved handling of unsupported presets
- Updated Sparkle automatic update library
### Windows
- Improved handling of unsupported presets
- Improved queue low space pause behaviour
- Fixed the automatic audio track name generation
- Fixed the summary description of HDR video
## HandBrake 1.11.1
### All platforms
#### Audio
- Fixed a crash that could happen when scanning a PCM track in a DVD-Video or Blu-ray
#### Third-party libraries
- Updated libraries
- Jansson 2.15.0 (JSON architecture)
- zlib 1.3.2 (general)
### Windows
- Removed dependency on having Microsoft .NET 8 Desktop Runtime installed
- Fixed the file type selection in the save panel
- Fixed a number of issues that impacted screen reader tools ability to read combo box controls
## HandBrake 1.11.0
### All platforms
#### General
- Added encoding to MOV container format
- Added AV1 VCN 2160p 4K preset
- For AMD 9000 series GPU hardware and newer
- Output dimensions may be incorrect on AMD 7000 series GPU hardware; this is unfixable in software
- Added Production DNxHR presets
- MOV container
- Any resolution video using HQX and SQ encoder presets
- 2160p, 1080p, and 540p resolution proxy (LB) presets
- 24-bit PCM multi-channel audio with pass through support
- Added Production ProRes presets
- MOV container
- Any resolution video using standard, HQ, and LT encoder presets
- 2160p, 1080p, and 540p resolution proxy presets
- 24-bit PCM multi-channel audio with pass through support
- Added Preservation FFV1 FLAC and PCM presets
- Same as Preservation FFV1 with single-codec audio
- Updated Preservation FFV1 preset to pass through all supported audio codecs
- Adds Apple Lossless, PCM, and Vorbis to pass through list
- Properly handle the case in which the first chapter timestamp is not zero
#### Video
- Added DNxHR encoder
- Added ProRes encoder
- Added AMD VCN AV1 10-bit encoder
- Added MPEG-2 profile and level selection
- Allowed muxing FFV1 in the MP4 container
- Improved AV1 in MP4 seeking on Apple software
- Dolby Vision profile 5 video is now tagged with a proper color tag
#### Audio
- Added PCM encoding and passthru
- Added support for custom channels order (#7265)
#### Build system
- Updated mingw-w64-build to version 11.0.0.
- Updated mac-toolchain-build script to version 2.15.0
#### Third-party libraries
- Updated libraries
- AMF 1.5.0 (AMD VCN video encoding)
- FFmpeg 8.0.1 (decoding and filters)
- HarfBuzz 12.2.0 (subtitles)
- Jansson 2.14.1 (JSON architecture)
- libbluray 1.4.0 (Blu-ray decoding)
- libdav1d 1.5.3 (AV1 decoding)
- libdvdnav 7.0.0 (DVD decoding)
- libdvdread 7.0.1 (DVD decoding)
- libjpeg-turbo 3.1.3 (preview image compression)
- liblzma (xz) 5.8.2 (LZMA video decoding, e.g. TIFF)
- libopus 1.6.1 (Opus audio encoding)
- libvpx 1.16.0 (VP8/VP9 video encoding)
- oneVPL 2.16.0 (Intel QSV video encoding/decoding)
- SVT-AV1 4.0.1 (AV1 video encoding)
- x265 r13309 (H.265/HEVC video encoding)
### Linux
- Uses GtkFileLauncher to open files in sandboxed apps
- Added buttons to cycle through previews on summary page
- Added an option to change the UI display language
- Improved display of file sizes
- Fixed the disk space checks
- Fixed a crash that could happen when a preset category contains the ' character
- Updated existing and maintained locales
### Mac
- Notifications sound is now played back when HandBrake is in the foreground
- File name labels in queue are now truncated in the middle, same behaviour as the Finder
- Minor miscellaneous fixes
- Updated existing and maintained locales
### Windows
- The UI now requires Microsoft .NET Desktop Runtime 10.0.x. .NET 8 is no longer required
- Support for Intel HyperEncode has been removed as the feature is deprecated upstream
- Minor miscellaneous fixes
- Updated existing and maintained locales
## HandBrake 1.10.2
### All platforms
#### Video
- Fixed a crash that could happen when encoding high depth video
#### Third-party libraries
- Updated libraries
- HarfBuzz 11.4.5 (subtitles)
- SVT-AV1 3.1.2 (AV1 video encoding)
### Mac
- Added a workaround to avoid a rare crash on Apple Silicon Macs
### Windows
- Fixed some incorrect behaviour on CQ/RF calcuations and handling of presets
- The app will now automatically disable QSV or NVDec decoders if an out-of-date driver is detected.
## HandBrake 1.10.1
### All platforms
#### Video
- Fixed a visual corruption issue that could happen when encoding with x265
- Fixed SVT-AV1 presets 10, 9, and 8 not working properly with SSIM tune
#### Third-party libraries
- Updated libraries
- HarfBuzz 11.4.2 (subtitles)
### Linux
- Fixed preview audio when running the flatpak build
- Fixed Vorbis passthru checkbox not being applied when the title changes
### Mac
- Improved custom border color validation
### Windows
- Added new translation
- Romanian (Română)
- Fixed arm64 build
- Fixed audio track name generation
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 pkgsrc/multimedia/handbrake/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/multimedia/handbrake/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/multimedia/handbrake/patches/patch-gtk_po_zh__CN.po
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/handbrake/Makefile
diff -u pkgsrc/multimedia/handbrake/Makefile:1.130 pkgsrc/multimedia/handbrake/Makefile:1.131
--- pkgsrc/multimedia/handbrake/Makefile:1.130 Mon Jul 13 04:36:20 2026
+++ pkgsrc/multimedia/handbrake/Makefile Wed Aug 12 03:42:13 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.130 2026/07/13 04:36:20 wiz Exp $
+# $NetBSD: Makefile,v 1.131 2026/08/12 03:42:13 ryoon Exp $
-DISTNAME= HandBrake-1.10.0-source
+DISTNAME= HandBrake-1.11.2-source
PKGNAME= ${DISTNAME:tl:S/-source//}
-PKGREVISION= 6
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=HandBrake/}
EXTRACT_SUFX= .tar.bz2
@@ -18,16 +17,28 @@ DIST_SUBDIR= handbrake
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+.include "../../mk/jpeg.buildlink3.mk"
+.if ${JPEG_TYPE} != "libjpeg-turbo" || make(distinfo)
# see contrib/libjpeg-turbo/module.defs for required version
-LIBJPEG_TURBO= libjpeg-turbo-3.1.1.tar.gz
+LIBJPEG_TURBO= libjpeg-turbo-3.1.3.tar.gz
EXTRA_FILES+= ${LIBJPEG_TURBO}
SITES.${LIBJPEG_TURBO}= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/
+NEED_JPEGTURBO= # empty
+.else
+NEED_JPEGTURBO= \#
+.endif
+
+SUBST_CLASSES+= jpeg
+SUBST_STAGE.jpeg= pre-configure
+SUBST_MESSAGE.jpeg= Selecting libjpeg.
+SUBST_FILES.jpeg+= make/include/main.defs
+SUBST_VARS.jpeg+= NEED_JPEGTURBO
-FFMPEG= ffmpeg-7.1.1.tar.bz2
+FFMPEG= ffmpeg-8.0.2.tar.bz2
EXTRA_FILES+= ${FFMPEG}
SITES.${FFMPEG}= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/
-X265= x265-snapshot-20250729-13276.tar.gz
+X265= x265-snapshot-20260216-13309.tar.gz
EXTRA_FILES+= ${X265}
SITES.${X265}= https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/
@@ -81,7 +92,8 @@ pre-build:
.endfor
BROKEN_GETTEXT_DETECTION= yes
-GHB_LOCALES= bg ca co de es eu fi fr it ja ko nl pt_BR sl_SI sv zh_CN
+GHB_LOCALES= bg ca co de es eu fi fr gl_ES it ja ko nl pt_BR ru
+GHB_LOCALES+= sl_SI sv zh_CN
.PHONY: post-build-gtk4
post-build-gtk4:
@@ -109,7 +121,8 @@ post-build-gtk4:
.include "../../graphics/zimg/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../multimedia/dav1d/buildlink3.mk"
-#.include "../../multimedia/ffmpeg5/buildlink3.mk"
+# Th custom patched ffmpeg8 is required.
+#.include "../../multimedia/ffmpeg8/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../multimedia/libass/buildlink3.mk"
.include "../../multimedia/libbluray/buildlink3.mk"
@@ -119,6 +132,7 @@ post-build-gtk4:
.include "../../multimedia/libvpx/buildlink3.mk"
.include "../../multimedia/svt-av1/buildlink3.mk"
.include "../../multimedia/x264/buildlink3.mk"
+# Th custom patched x265 is required.
#.include "../../multimedia/x265/buildlink3.mk"
.include "../../textproc/jansson/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/multimedia/handbrake/distinfo
diff -u pkgsrc/multimedia/handbrake/distinfo:1.23 pkgsrc/multimedia/handbrake/distinfo:1.24
--- pkgsrc/multimedia/handbrake/distinfo:1.23 Sat Aug 30 04:45:32 2025
+++ pkgsrc/multimedia/handbrake/distinfo Wed Aug 12 03:42:13 2026
@@ -1,16 +1,17 @@
-$NetBSD: distinfo,v 1.23 2025/08/30 04:45:32 ryoon Exp $
+$NetBSD: distinfo,v 1.24 2026/08/12 03:42:13 ryoon Exp $
-BLAKE2s (handbrake/HandBrake-1.10.0-source.tar.bz2) = b4e7e0d95fa2eacc6874d93b7ca844b0daa23dede0f1d6244bd3c1a6522d654f
-SHA512 (handbrake/HandBrake-1.10.0-source.tar.bz2) = d03f6c60bde5d968c92044fee68afe533ce394eb9952ec330b06f6250197c99bbef46265393aa346816f3b8e816e453472a8ebd116b7c388a12e8b9142029cfc
-Size (handbrake/HandBrake-1.10.0-source.tar.bz2) = 9452293 bytes
-BLAKE2s (handbrake/ffmpeg-7.1.1.tar.bz2) = 95f62af1eb95f5c8bded7d0876e01a2b34c28879b1532654fa43d0d125e0292a
-SHA512 (handbrake/ffmpeg-7.1.1.tar.bz2) = db2682bd3f7dbfe4a33a5a7f0803010258d14f92e98ff2a5fdd17197422bc5cbfd992a63b93c9c5fb2b2420371a82e34a16e155f135a2aaf03764ed71adbc16b
-Size (handbrake/ffmpeg-7.1.1.tar.bz2) = 13278839 bytes
-BLAKE2s (handbrake/libjpeg-turbo-3.1.1.tar.gz) = b1c21dac0e2a2231ac6e0a63eedf13b6d6ec159899e6abb1275d9d43596756f9
-SHA512 (handbrake/libjpeg-turbo-3.1.1.tar.gz) = 4937b63a27818cdb5087091b2d78837f7f385fd6b4d3e3fcaf4d9ad2944fed4a00020dcacb33e9c2fd4b0f9d9851fb4051ed3da86f606aca5167357262a73e89
-Size (handbrake/libjpeg-turbo-3.1.1.tar.gz) = 2506010 bytes
-BLAKE2s (handbrake/x265-snapshot-20250729-13276.tar.gz) = 122bcf8aa664cdf163a33549d5bc45b27249b2769f52ab3bb2c5b1c7598f68ba
-SHA512 (handbrake/x265-snapshot-20250729-13276.tar.gz) = 50648176cf1e20e384be4145a525c193f515b73d3ff96ae2042b393ebb3ee3a8cab031e1c5314bdd67f53a6a00010226a5709cdb720dec47142a93c6828469af
-Size (handbrake/x265-snapshot-20250729-13276.tar.gz) = 1738652 bytes
+BLAKE2s (handbrake/HandBrake-1.11.2-source.tar.bz2) = 394b1b4c6179a28b0167759d0b7e459f65baec8c7c48f1ba6580709b7b535aaf
+SHA512 (handbrake/HandBrake-1.11.2-source.tar.bz2) = cff45f284b4bda479d0ed5a84859807524fefce3345d8dc1c80ffe0c271559e315f4e6c96b9df07147f02f73d8b309f969d3371f0613221983761f73f26db419
+Size (handbrake/HandBrake-1.11.2-source.tar.bz2) = 11761530 bytes
+BLAKE2s (handbrake/ffmpeg-8.0.2.tar.bz2) = e3c8847f939e9a22652b79e25cd3ec8f03d1a4e0120635db2a7f3dbdd3857326
+SHA512 (handbrake/ffmpeg-8.0.2.tar.bz2) = 23ebb5a3820771aeaa48f03f160476a80dcfe322f95dc2ce9fe0b03618915acf5fc6896d065f9061b2d80665e74206382752782bfa9da10cbf91380c3f7e5c97
+Size (handbrake/ffmpeg-8.0.2.tar.bz2) = 13716142 bytes
+BLAKE2s (handbrake/libjpeg-turbo-3.1.3.tar.gz) = 223fefe2f26be34ab608d85395f61e8b218e1c2c905115554eccf5c721de8265
+SHA512 (handbrake/libjpeg-turbo-3.1.3.tar.gz) = d95bf0689fb2862ad5ea9e902b73724098d911d9c312aa69157bec9de77f32e4d5ac7dfa105d844110cc66dbdb0336056ba7f96781fcbc848b72fd0661604d50
+Size (handbrake/libjpeg-turbo-3.1.3.tar.gz) = 2516606 bytes
+BLAKE2s (handbrake/x265-snapshot-20260216-13309.tar.gz) = b731481450cf3978932dc312096585e2fef569552ec52ffeae510f3ccf210784
+SHA512 (handbrake/x265-snapshot-20260216-13309.tar.gz) = 33d2400059694f689cf6a607291df43eef99f1583e499f9ce6dd82db778ff4d8f53217fdc439f87ec50e4e400c9eaae22d45a5d60ee0672699e655859a3772a4
+Size (handbrake/x265-snapshot-20260216-13309.tar.gz) = 1806557 bytes
SHA1 (patch-contrib_libjpeg-turbo_module.defs) = ab3829aa63f286854893d0297d0f33707b2698bd
-SHA1 (patch-make-include-main.defs) = 9c0553a25cc8c376287e7272422dcea245b89aef
+SHA1 (patch-gtk_po_zh__CN.po) = 773e748feb3e35a466eb018ca8daee16a7d04116
+SHA1 (patch-make-include-main.defs) = c91777c5af22aa17056b0d27d5a1169955ee13c8
Index: pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs
diff -u pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.6 pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.7
--- pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.6 Sat Aug 30 04:45:32 2025
+++ pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs Wed Aug 12 03:42:13 2026
@@ -1,11 +1,10 @@
-$NetBSD: patch-make-include-main.defs,v 1.6 2025/08/30 04:45:32 ryoon Exp $
+$NetBSD: patch-make-include-main.defs,v 1.7 2026/08/12 03:42:13 ryoon Exp $
-Use comon pkgsrc libraries, except for libjpeg-turbo which is required but
-cannot coexist with libjpeg (required by gtk3)
+* Make libjpeg-turbo selectable,
---- make/include/main.defs.orig 2025-08-08 16:41:24.000000000 +0000
+--- make/include/main.defs.orig 2026-06-07 13:36:41.000000000 +0000
+++ make/include/main.defs
-@@ -14,23 +14,6 @@ ifneq ($(HAS.bz2),1)
+@@ -14,23 +14,6 @@ endif
endif
endif
@@ -29,7 +28,7 @@ cannot coexist with libjpeg (required by
ifeq (1,$(FEATURE.flatpak))
MODULES += contrib/libass
MODULES += contrib/jansson
-@@ -48,13 +31,7 @@ ifeq (1,$(FEATURE.x265))
+@@ -48,13 +31,7 @@ endif
MODULES += contrib/x265_12bit
endif
@@ -43,7 +42,7 @@ cannot coexist with libjpeg (required by
ifeq (1,$(FEATURE.qsv))
ifeq (,$(filter $(HOST.system),freebsd))
-@@ -70,10 +47,6 @@ ifeq (1,$(FEATURE.nvenc))
+@@ -70,10 +47,6 @@ endif
MODULES += contrib/nvenc
endif
@@ -54,3 +53,15 @@ cannot coexist with libjpeg (required by
ifneq (,$(filter $(HOST.system),darwin))
MODULES += contrib/xz
MODULES += contrib/bin2c
+@@ -98,10 +71,7 @@ endif
+ MODULES += contrib/libiconv
+ endif
+
+-ifneq (,$(filter $(HOST.system),netbsd))
+- # needed to avoid conflict with jpeg-9e
+- MODULES += contrib/libjpeg-turbo
+-endif
++@NEED_JPEGTURBO@MODULES += contrib/libjpeg-turbo
+
+ ## these must come after contrib since some contrib modules are optional
+ MODULES += libhb
Added files:
Index: pkgsrc/multimedia/handbrake/patches/patch-gtk_po_zh__CN.po
diff -u /dev/null pkgsrc/multimedia/handbrake/patches/patch-gtk_po_zh__CN.po:1.1
--- /dev/null Wed Aug 12 03:42:13 2026
+++ pkgsrc/multimedia/handbrake/patches/patch-gtk_po_zh__CN.po Wed Aug 12 03:42:13 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-gtk_po_zh__CN.po,v 1.1 2026/08/12 03:42:13 ryoon Exp $
+
+* Fix for msgfmt(1) of NetBSD.
+
+--- gtk/po/zh_CN.po.orig 2026-08-12 02:16:09.019439873 +0000
++++ gtk/po/zh_CN.po
+@@ -2825,7 +2825,7 @@ msgid "%s in %d seconds…"
+ #: src/callbacks.c:3908
+ #, c-format
+ msgid "%s in %d seconds…"
+-msgstr " 在 %d 秒内 %s…"
++msgstr " 秒内 %s…(在 %d)"
+
+ #: src/callbacks.c:4114
+ msgid "Stop Encoding?"
Home |
Main Index |
Thread Index |
Old Index