Saturday, September 03, 2022

[UPDATE+UNBREAK] handbrake

diff -rNcu /usr/ports/multimedia/handbrake/Makefile ./Makefile
--- /usr/ports/multimedia/handbrake/Makefile Fri Sep 2 11:18:59 2022
+++ ./Makefile Sat Sep 3 20:40:06 2022
@@ -1,8 +1,8 @@
-V = 1.3.3
+V = 1.5.1
COMMENT = open source video transcoder
DISTNAME = HandBrake-${V}-source
PKGNAME = handbrake-${V}
-REVISION = 2
+# REVISION = 2
EXTRACT_SUFX = .tar.bz2
CATEGORIES = multimedia x11

@@ -43,6 +43,7 @@
LIB_DEPENDS = devel/jansson \
devel/orc \
graphics/ffmpeg \
+ graphics/jpeg \
multimedia/aom \
multimedia/libbluray \
multimedia/gstreamer1/plugins-base \
@@ -70,8 +71,10 @@
AUTOMAKE_VERSION="${AUTOMAKE_VERSION}" \
MKDIR_P='/bin/mkdir -p'
MAKE_FILE = GNUmakefile
-MAKE_FLAGS = CFLAGS="${CFLAGS} -I${LOCALBASE}/include/libxml2 -D_NO_UPDATE_CHECK" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib -lx265 -liconv"
+MAKE_FLAGS = CFLAGS="${CFLAGS} -I${LOCALBASE}/include/libxml2 \
+ -D_NO_UPDATE_CHECK" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib \
+ -L${X11BASE}/lib -lx265 -liconv"

.if ${MACHINE_ARCH:Mi386}
CFLAGS += -msse2
diff -rNcu /usr/ports/multimedia/handbrake/distinfo ./distinfo
--- /usr/ports/multimedia/handbrake/distinfo Sat Jun 20 23:12:38 2020
+++ ./distinfo Fri Sep 2 12:45:51 2022
@@ -1,2 +1,2 @@
-SHA256 (HandBrake-1.3.3-source.tar.bz2) = IYo32V9ItefPKFNj06sWwxTZdienpxDKs3WJAq6Hf4U=
-SIZE (HandBrake-1.3.3-source.tar.bz2) = 16804119
+SHA256 (HandBrake-1.5.1-source.tar.bz2) = OZn+BtUwnIGXmac6loqOw4QOeEDCtkr49c23/YyUMPA=
+SIZE (HandBrake-1.5.1-source.tar.bz2) = 16137974
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-gtk_configure_ac ./patches/patch-gtk_configure_ac
--- /usr/ports/multimedia/handbrake/patches/patch-gtk_configure_ac Fri Mar 11 20:39:19 2022
+++ ./patches/patch-gtk_configure_ac Sat Sep 3 16:31:28 2022
@@ -4,22 +4,22 @@
Index: gtk/configure.ac
--- gtk/configure.ac.orig
+++ gtk/configure.ac
-@@ -199,7 +199,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
+@@ -203,7 +203,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -

AM_CONDITIONAL([MINGW], [test "x$mingw_flag" = "xyes"])

--HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
-+HB_LIBS="-L../../libhb $HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
+-HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg"
++HB_LIBS="-L../../libhb $HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma -lturbojpeg"
HB_CPPFLAGS="$HB_CPPFLAGS $HBINC"

PKG_CHECK_MODULES([x264], [x264], sys_x264=yes, sys_x264=no)
-@@ -236,6 +236,9 @@ case $host in
- HB_LIBS="$HB_LIBS -lbcrypt -lregex -luuid -lole32"
- ;;
- *-*-freebsd*)
-+ HB_LIBS="$HB_LIBS -lpthread"
-+ ;;
-+ *-*-openbsd*)
- HB_LIBS="$HB_LIBS -lpthread"
- ;;
- *-*-netbsd*)
+@@ -245,6 +245,9 @@ case $host in
+ if test "x$use_qsv" = "xyes" ; then
+ HB_LIBS="$HB_LIBS -lva -lva-drm"
+ fi
++ ;;
++ *-*-openbsd*)
++ HB_LIBS="$HB_LIBS -lpthread"
+ ;;
+ *-*-netbsd*)
+ HB_LIBS="$HB_LIBS -pthread"
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-gtk_src_callbacks_c ./patches/patch-gtk_src_callbacks_c
--- /usr/ports/multimedia/handbrake/patches/patch-gtk_src_callbacks_c Fri Mar 11 20:39:19 2022
+++ ./patches/patch-gtk_src_callbacks_c Sat Sep 3 16:32:37 2022
@@ -8,7 +8,7 @@
#endif

-#if defined( __FreeBSD__ )
-+#if defined( __FreeBSD__ ) || defined( __OpenBSD__ )
++#if defined( __FreeBSD__ ) || defined ( __OpenBSD__ )
#include <sys/socket.h>
#endif
#include <netinet/in.h>
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-libhb_decsrtsub_c ./patches/patch-libhb_decsrtsub_c
--- /usr/ports/multimedia/handbrake/patches/patch-libhb_decsrtsub_c Fri Mar 11 20:39:19 2022
+++ ./patches/patch-libhb_decsrtsub_c Fri Sep 2 16:52:56 2022
@@ -3,7 +3,7 @@
Index: libhb/decsrtsub.c
--- libhb/decsrtsub.c.orig
+++ libhb/decsrtsub.c
-@@ -271,7 +271,7 @@ static int utf8_fill( hb_work_private_t * pv )
+@@ -123,7 +123,7 @@ static int utf8_fill( hb_work_private_t * pv )
q = pv->utf8_buf + pv->utf8_end;
in_size = pv->end - pv->pos;

@@ -12,7 +12,7 @@
if (q != pv->utf8_buf + pv->utf8_end)
{
conversion = 1;
-@@ -672,7 +672,7 @@ static int decsrtInit( hb_work_object_t * w, hb_job_t
+@@ -544,7 +544,7 @@ static int decsrtInit( hb_work_object_t * w, hb_job_t
pv->start_time = AV_NOPTS_VALUE;
}

@@ -21,8 +21,8 @@
if( pv->iconv_context == (iconv_t) -1 )
{
hb_error("Could not open the iconv library with those file formats\n");
-@@ -703,7 +703,7 @@ fail:
- {
+@@ -576,7 +576,7 @@ fail:
+ decavsubClose(pv->ctx);
if (pv->iconv_context != (iconv_t) -1)
{
- iconv_close(pv->iconv_context);
@@ -30,12 +30,12 @@
}
if (pv->file != NULL)
{
-@@ -754,7 +754,7 @@ static void decsrtClose( hb_work_object_t * w )
- if (pv != NULL)
+@@ -616,7 +616,7 @@ static void decsrtClose( hb_work_object_t * w )
{
+ decavsubClose(pv->ctx);
fclose( pv->file );
- iconv_close(pv->iconv_context);
+ libiconv_close(pv->iconv_context);
free( w->private_data );
}
- }
+ w->private_data = NULL;
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-libhb_encavcodecaudio_c ./patches/patch-libhb_encavcodecaudio_c
--- /usr/ports/multimedia/handbrake/patches/patch-libhb_encavcodecaudio_c Wed Jul 27 17:14:10 2022
+++ ./patches/patch-libhb_encavcodecaudio_c Thu Jan 1 01:00:00 1970
@@ -1,20 +0,0 @@
-Fix missing audio tracks.
-
- * https://bugzilla.rpmfusion.org/show_bug.cgi?id=6006
- * https://github.com/HandBrake/HandBrake/commit/f28289fb06ab461ea082b4be56d6d1504c0c31c2
-
-Index: libhb/encavcodecaudio.c
---- libhb/encavcodecaudio.c.orig
-+++ libhb/encavcodecaudio.c
-@@ -409,7 +409,10 @@ static void Encode(hb_work_object_t *w, hb_buffer_list
-
- // Prepare input frame
- int out_size;
-- AVFrame frame = { .nb_samples = pv->samples_per_frame, };
-+ AVFrame frame = { .nb_samples = pv->samples_per_frame,
-+ .format = pv->context->sample_fmt,
-+ .channels = pv->context->channels
-+ };
-
- out_size = av_samples_get_buffer_size(NULL,
- pv->context->channels,
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-libhb_fifo_c ./patches/patch-libhb_fifo_c
--- /usr/ports/multimedia/handbrake/patches/patch-libhb_fifo_c Fri Mar 11 20:39:19 2022
+++ ./patches/patch-libhb_fifo_c Sat Sep 3 16:33:50 2022
@@ -7,8 +7,8 @@
#endif

#ifndef SYS_DARWIN
--#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ )
-+#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined ( __OpenBSD__ )
+-#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined(SYS_NETBSD)
++#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined ( __OpenBSD__) || defined(SYS_NETBSD)
#include <stdlib.h>
#else
#include <malloc.h>
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-make_configure_py ./patches/patch-make_configure_py
--- /usr/ports/multimedia/handbrake/patches/patch-make_configure_py Fri Mar 11 20:39:19 2022
+++ ./patches/patch-make_configure_py Sat Sep 3 19:03:19 2022
@@ -4,16 +4,17 @@
Index: make/configure.py
--- make/configure.py.orig
+++ make/configure.py
-@@ -682,6 +682,8 @@ class ArchAction( Action ):
+@@ -700,6 +700,9 @@ class ArchAction( Action ):
elif host_tuple.match( '*-*-freebsd*' ):
self.mode['i386'] = 'i386-portsbuild-freebsd%s' % (host_tuple.release)
self.mode['amd64'] = 'amd64-portsbuild-freebsd%s' % (host_tuple.release)
+ elif host_tuple.match( '*-*-openbsd*' ):
-+ pass
++ self.mode['i386'] = 'i386-unknown-openbsd%s' % (host_tuple.release)
++ self.mode['amd64'] = 'amd64-unknown-openbsd%s' % (host_tuple.release)
else:
self.msg_pass = 'WARNING'

-@@ -1338,7 +1340,7 @@ def createCLI( cross = None ):
+@@ -1361,7 +1364,7 @@ def createCLI( cross = None ):
## add build options
grp = cli.add_argument_group( 'Build Options' )
grp.add_argument( '--snapshot', default=False, action='store_true', help='Force a snapshot build' )
@@ -22,29 +23,29 @@
grp.add_argument( '--flatpak', default=False, action='store_true', help=h )
cli.add_argument_group( grp )

-@@ -1378,10 +1380,10 @@ def createCLI( cross = None ):
+@@ -1404,10 +1407,10 @@ def createCLI( cross = None ):
h = IfHost( 'enable assembly code in non-contrib modules', 'NOMATCH*-*-darwin*', 'NOMATCH*-*-linux*', none=argparse.SUPPRESS ).value
grp.add_argument( '--enable-asm', default=False, action='store_true', help=h )

-- h = IfHost( 'disable GTK GUI', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
+- h = IfHost( 'disable GTK GUI', '*-*-linux*', '*-*-freebsd*', '*-*-netbsd*', none=argparse.SUPPRESS ).value
+ h = IfHost( 'disable GTK GUI', '*-*-linux*', '*-*-freebsd*', '*-*-openbsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--disable-gtk', default=False, action='store_true', help=h )

-- h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
+- h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', '*-*-freebsd*', '*-*-netbsd*', none=argparse.SUPPRESS ).value
+ h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', '*-*-freebsd*', '*-*-openbsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--disable-gtk-update-checks', default=False, action='store_true', help=h )

h = 'enable GTK GUI for Windows' if (cross is not None and 'mingw' in cross) else argparse.SUPPRESS
-@@ -1390,7 +1392,7 @@ def createCLI( cross = None ):
+@@ -1416,7 +1419,7 @@ def createCLI( cross = None ):
h = IfHost( 'Build GUI with GTK4', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--enable-gtk4', default=False, action='store_true', help=h )

-- h = IfHost( 'disable GStreamer (live preview)', '*-*-linux*', '*-*-freebsd*', none=argparse.SUPPRESS ).value
+- h = IfHost( 'disable GStreamer (live preview)', '*-*-linux*', '*-*-freebsd*', '*-*-netbsd*', none=argparse.SUPPRESS ).value
+ h = IfHost( 'disable GStreamer (live preview)', '*-*-linux*', '*-*-freebsd*', '*-*-openbsd*', none=argparse.SUPPRESS ).value
grp.add_argument( '--disable-gst', default=False, action='store_true', help=h )

h = IfHost( 'x265 video encoder', '*-*-*', none=argparse.SUPPRESS ).value
-@@ -1581,13 +1583,10 @@ try:
+@@ -1629,13 +1632,10 @@ try:
class Tools:
ar = ToolProbe( 'AR.exe', 'ar', 'ar', abort=True )
cp = ToolProbe( 'CP.exe', 'cp', 'cp', abort=True )
@@ -58,11 +59,11 @@
python = ToolProbe( 'PYTHON.exe', 'python', os.path.basename(sys.executable), abort=True )

gcc_tools = ['GCC.gcc',
-@@ -1602,14 +1601,9 @@ try:
+@@ -1650,14 +1650,9 @@ try:
else:
gmake = ToolProbe( 'GMAKE.exe', 'make', 'gmake', 'make', abort=True )

-- autoconf = ToolProbe( 'AUTOCONF.exe', 'autoconf', 'autoconf', abort=True, minversion=[2,69,0] )
+- autoconf = ToolProbe( 'AUTOCONF.exe', 'autoconf', 'autoconf', abort=True, minversion=([2,71,0] if build_tuple.match('*-*-darwin*') else [2,69,0]) )
- automake = ToolProbe( 'AUTOMAKE.exe', 'automake', 'automake', abort=True, minversion=[1,13,0] )
libtool = ToolProbe( 'LIBTOOL.exe', 'libtool', 'libtool', abort=True )
lipo = ToolProbe( 'LIPO.exe', 'lipo', 'lipo', abort=False )
@@ -71,14 +72,12 @@
- nasm = ToolProbe( 'NASM.exe', 'asm', 'nasm', abort=True, minversion=[2,13,0] )
- ninja = ToolProbe( 'NINJA.exe', 'ninja', 'ninja-build', 'ninja', abort=True )

- xcodebuild = ToolProbe( 'XCODEBUILD.exe', 'xcodebuild', 'xcodebuild', abort=(True if (build_tuple.match('*-*-darwin*') and cross is None) else False), versionopt='-version', minversion=[10,3,0] )
+ xcodebuild = ToolProbe( 'XCODEBUILD.exe', 'xcodebuild', 'xcodebuild', abort=(True if (not xcode_opts['disabled'] and (build_tuple.match('*-*-darwin*') and cross is None)) else False), versionopt='-version', minversion=[10,3,0] )

-@@ -1695,12 +1689,6 @@ try:
- if options.flatpak or host_tuple.match('*-*-darwin*', '*-*-mingw'):
- # Requires Jansson which requires CMake 3.1.0 or later
- Tools.cmake = ToolProbe('CMAKE.exe', 'cmake', 'cmake', abort=True, minversion=[3,1,0])
-- else:
-- Tools.cmake = ToolProbe('CMAKE.exe', 'cmake', 'cmake', abort=True, minversion=[2,8,12])
+@@ -1749,10 +1744,6 @@ try:
+ #####################################
+ # Requires oneVPL which requires CMake 3.16.3 or later
+ Tools.cmake = ToolProbe('CMAKE.exe', 'cmake', 'cmake', abort=True, minversion=[3,16,3])
- Tools.cmake.__init__( Tools.cmake.var, Tools.cmake.option, Tools.cmake.name, **Tools.cmake.kwargs )
- Tools.cmake.run()
- for action in Action.actions:
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-make_include_gcc_defs ./patches/patch-make_include_gcc_defs
--- /usr/ports/multimedia/handbrake/patches/patch-make_include_gcc_defs Fri Mar 11 20:39:19 2022
+++ ./patches/patch-make_include_gcc_defs Sat Sep 3 16:35:10 2022
@@ -4,25 +4,27 @@
Index: make/include/gcc.defs
--- make/include/gcc.defs.orig
+++ make/include/gcc.defs
-@@ -60,16 +60,16 @@ GCC.args.g.none = -g0
- GCC.args.g.min = -gdwarf-2 -g1
- GCC.args.g.std = -gdwarf-2
- GCC.args.g.max = -gdwarf-2 -g3
--GCC.args.O.none = -O0
--GCC.args.O.size = -Os
--GCC.args.O.speed = -O3
-+GCC.args.O.none =
-+GCC.args.O.size =
-+GCC.args.O.speed =
- GCC.args.D = -D$(1)
--GCC.args.I = -I$(1)
-+GCC.args.I = -I$(1) -I$(LOCALBASE)/include -I$(X11BASE)/include -I$(LOCALBASE)/include/libavcodec
- GCC.args.muldefs = -Wl,--allow-multiple-definition
- GCC.args.start = -Wl,--start-group
- GCC.args.F = -F$(1)
- GCC.args.f = -framework $(1)
--GCC.args.L = -L$(1)
-+GCC.args.L = -L$(1) -L$(LOCALBASE)/lib -L$(X11BASE)/lib
- GCC.args.l = -l$(1)
- GCC.args.end = -Wl,--end-group
+@@ -60,17 +60,17 @@ GCC.args.g.none = -g0
+ GCC.args.g.min = -gdwarf-2 -g1
+ GCC.args.g.std = -gdwarf-2
+ GCC.args.g.max = -gdwarf-2 -g3
+-GCC.args.O.none = -O0
+-GCC.args.O.size = -Os
+-GCC.args.O.size-aggressive = -Oz
+-GCC.args.O.speed = -O3
++GCC.args.O.none =
++GCC.args.O.size =
++GCC.args.O.size-aggressive =
++GCC.args.O.speed =
+ GCC.args.D = -D$(1)
+-GCC.args.I = -I$(1)
++GCC.args.I = -I$(1) -I$(LOCALBASE)/include -I$(X11BASE)/include -I$(LOCALBASE)/include/libavcodec
+ GCC.args.muldefs = -Wl,--allow-multiple-definition
+ GCC.args.start = -Wl,--start-group
+ GCC.args.F = -F$(1)
+ GCC.args.f = -framework $(1)
+-GCC.args.L = -L$(1)
++GCC.args.L = -L$(1) -L$(LOCALBASE)/lib -L$(X11BASE)/lib
+ GCC.args.l = -l$(1)
+ GCC.args.end = -Wl,--end-group

diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-make_include_main_defs ./patches/patch-make_include_main_defs
--- /usr/ports/multimedia/handbrake/patches/patch-make_include_main_defs Fri Mar 11 20:39:19 2022
+++ ./patches/patch-make_include_main_defs Sat Sep 3 16:35:41 2022
@@ -4,7 +4,7 @@
Index: make/include/main.defs
--- make/include/main.defs.orig
+++ make/include/main.defs
-@@ -7,87 +7,6 @@ include $(SRC/)make/include/tool.defs
+@@ -7,91 +7,7 @@ include $(SRC/)make/include/tool.defs

###############################################################################

@@ -13,7 +13,7 @@
- MODULES += contrib/bzip2
-endif
-endif
--
+
-ifneq (,$(filter $(HOST.system),darwin cygwin mingw))
- MODULES += contrib/freetype
- MODULES += contrib/fribidi
@@ -29,6 +29,7 @@
- MODULES += contrib/x264
- MODULES += contrib/jansson
- MODULES += contrib/libvpx
+- MODULES += contrib/libjpeg-turbo
-endif
-
-ifeq (1,$(FEATURE.flatpak))
@@ -48,14 +49,17 @@
-endif
-
-MODULES += contrib/libdav1d
+-MODULES += contrib/zimg
-MODULES += contrib/ffmpeg
-MODULES += contrib/libdvdread
-MODULES += contrib/libdvdnav
-MODULES += contrib/libbluray
-
-ifeq (1,$(FEATURE.qsv))
-- MODULES += contrib/libmfx
+-ifeq (,$(filter $(HOST.system),freebsd))
+- MODULES += contrib/libvpl
-endif
+-endif
-
-ifeq (1,$(FEATURE.vce))
- MODULES += contrib/amf
@@ -92,7 +96,7 @@
## these must come after contrib since some contrib modules are optional
MODULES += libhb

-@@ -122,6 +41,11 @@ endif
+@@ -126,6 +42,11 @@ endif

ifeq (1-gnu,$(FEATURE.gtk)-$(HOST.system))
## build gtk when gtk+gnu
diff -rNcu /usr/ports/multimedia/handbrake/patches/patch-test_module_defs ./patches/patch-test_module_defs
--- /usr/ports/multimedia/handbrake/patches/patch-test_module_defs Thu Jan 1 01:00:00 1970
+++ ./patches/patch-test_module_defs Sat Sep 3 19:48:32 2022
@@ -0,0 +1,15 @@
+This patch is non portable.
+Remove linking to zimg.
+
+Index: test/module.defs
+--- test/module.defs.orig
++++ test/module.defs
+@@ -17,7 +17,7 @@ TEST.GCC.l = \
+ ass avformat avfilter avcodec avutil swresample postproc mp3lame dvdnav \
+ dvdread fribidi swscale vpx theoraenc theoradec vorbis vorbisenc ogg \
+ x264 bluray freetype xml2 bz2 z jansson harfbuzz opus speex lzma dav1d \
+- turbojpeg zimg
++ turbojpeg
+
+ ifeq (,$(filter $(HOST.system),darwin cygwin mingw))
+ TEST.GCC.l += fontconfig
diff -rNcu /usr/ports/multimedia/handbrake/pkg/PLIST ./pkg/PLIST
--- /usr/ports/multimedia/handbrake/pkg/PLIST Fri Mar 11 20:39:19 2022
+++ ./pkg/PLIST Sat Sep 3 13:04:23 2022
@@ -5,12 +5,16 @@
share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg
share/icons/hicolor/scalable/apps/hb-icon.svg
share/locale/af/LC_MESSAGES/ghb.mo
+share/locale/co/
+share/locale/co/LC_MESSAGES/
+share/locale/co/LC_MESSAGES/ghb.mo
share/locale/cs/LC_MESSAGES/ghb.mo
share/locale/da/LC_MESSAGES/ghb.mo
share/locale/de/LC_MESSAGES/ghb.mo
share/locale/es/LC_MESSAGES/ghb.mo
share/locale/eu/LC_MESSAGES/ghb.mo
share/locale/fr/LC_MESSAGES/ghb.mo
+share/locale/he/LC_MESSAGES/ghb.mo
share/locale/hr/LC_MESSAGES/ghb.mo
share/locale/it/LC_MESSAGES/ghb.mo
share/locale/ja/LC_MESSAGES/ghb.mo
@@ -22,7 +26,11 @@
share/locale/pt_BR/LC_MESSAGES/ghb.mo
share/locale/ro/LC_MESSAGES/ghb.mo
share/locale/ru/LC_MESSAGES/ghb.mo
+share/locale/si/LC_MESSAGES/ghb.mo
share/locale/sk/LC_MESSAGES/ghb.mo
+share/locale/sl_SI/
+share/locale/sl_SI/LC_MESSAGES/
+share/locale/sl_SI/LC_MESSAGES/ghb.mo
share/locale/sv/LC_MESSAGES/ghb.mo
share/locale/th/LC_MESSAGES/ghb.mo
share/locale/tr/LC_MESSAGES/ghb.mo
@@ -30,6 +38,7 @@
share/locale/uk_UA/LC_MESSAGES/
share/locale/uk_UA/LC_MESSAGES/ghb.mo
share/locale/zh_CN/LC_MESSAGES/ghb.mo
+share/locale/zh_TW/LC_MESSAGES/ghb.mo
share/metainfo/
share/metainfo/fr.handbrake.ghb.metainfo.xml
@tag update-desktop-database
Hello!

The HandBrake version actually in ports seems to suffer from audio
encoding issues, so I have taken the liberty to play around a bit and
update the port. I have encoded some test videos with it and so far it
looks like it is working. A copy of this email is being sent to the
official port maintainer.

I am attaching a patch for the port. Since changes are so huge, I am
attaching a whole copy of the port too for convenience.

The patch for test/module.defs is a bit dirty so I take suggestions
as to how to do it in a more portable way.

Cheers!

--
OpenPGP Key Fingerprint:
543F EB89 7FDE 8E33 AFF7 E794 E4AB 4807 58F7 6C76

No comments:

Post a Comment