FreeBSD Bugzilla – Attachment 192341 Details for
Bug 227374
[UPDATE] multimedia/handbrake to 1.1.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
handbrake-1.1.0.patch
handbrake-1.1.0.patch (text/plain), 29.74 KB, created by
Yuichiro NAITO
on 2018-04-08 15:08:33 UTC
(
hide
)
Description:
handbrake-1.1.0.patch
Filename:
MIME Type:
Creator:
Yuichiro NAITO
Created:
2018-04-08 15:08:33 UTC
Size:
29.74 KB
patch
obsolete
>Index: multimedia/handbrake/Makefile >=================================================================== >--- multimedia/handbrake/Makefile (revision 466769) >+++ multimedia/handbrake/Makefile (working copy) >@@ -2,17 +2,24 @@ > # $FreeBSD$ > > PORTNAME= handbrake >-PORTVERSION= 1.0.7 >-PORTREVISION= 5 >+PORTVERSION= 1.1.0 > CATEGORIES= multimedia > DIST_SUBDIR= ${PORTNAME} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= naito.yuichiro@gmail.com > COMMENT= Versatile DVD ripper and video transcoder > > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/COPYING > >+BROKEN_aarch64= invokes x86 assembler >+BROKEN_armv6= invokes x86 assembler >+BROKEN_armv7= invokes x86 assembler >+BROKEN_mips= invokes x86 assembler >+BROKEN_mips64= invokes x86 assembler >+BROKEN_sparc64= invokes x86 assembler >+BROKEN_powerpc64= invokes x86 assembler >+ > BUILD_DEPENDS= bash:shells/bash \ > yasm:devel/yasm \ > cmake:devel/cmake >@@ -34,26 +41,14 @@ > libopus.so:audio/opus \ > libjansson.so:devel/jansson > >-BROKEN_aarch64= invokes x86 assembler >-BROKEN_armv6= invokes x86 assembler >-BROKEN_armv7= invokes x86 assembler >-BROKEN_mips= invokes x86 assembler >-BROKEN_mips64= invokes x86 assembler >-BROKEN_sparc64= invokes x86 assembler >-BROKEN_powerpc64= invokes x86 assembler >- >-USE_GITHUB= yes >-GH_ACCOUNT= HandBrake >-GH_PROJECT= HandBrake >- >-CONTRIB_FILES= fdk-aac-0.1.4.tar.gz \ >- libav-12.tar.gz \ >- libbluray-0.9.3.tar.bz2 \ >- libdvdnav-5.0.1.tar.bz2 \ >- libdvdread-5.0.0-6-gcb1ae87.tar.gz \ >- libvpx-1.5.0.tar.bz2 \ >- x265_2.1-1.tar.gz >-MASTER_SITES+= http://download.handbrake.fr/contrib/:contrib >+CONTRIB_FILES= fdk-aac-0.1.5.tar.gz \ >+ libav-12.3.tar.gz \ >+ libbluray-1.0.2.tar.bz2 \ >+ libdvdnav-5.0.3.tar.bz2 \ >+ libdvdread-5.0.3.tar.bz2 \ >+ libvpx-1.6.1.tar.bz2 \ >+ x265_2.6.tar.gz >+MASTER_SITES+= https://download.handbrake.fr/contrib/:contrib > DISTFILES+= ${CONTRIB_FILES:S/$/:contrib/} > > .if !defined(PACKAGE_BUILDING) >@@ -62,11 +57,22 @@ > .endif > > GNU_CONFIGURE= yes >-USE_GCC= yes > USES= autoreconf:build compiler:features gmake iconv \ > libtool:build localbase:ldflags pkgconfig python:2.7,build >-MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal >+MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal JDK_HOME=${JAVA_HOME} > >+USE_GITHUB= yes >+GH_ACCOUNT= HandBrake >+GH_PROJECT= HandBrake >+ >+USE_GCC= yes >+# libbluray requires jni.h, so we provide java in build environment. >+# Besides gcc6 port includes gcj, gcc7 omitted it. >+# JDK_HOME must be contained in MAKE_ENV >+# to pass JAVA_HOME to Handbrake's configure.py. >+USE_JAVA= yes >+JAVA_BUILD= yes >+ > CONFIGURE_ARGS= --force --enable-x265 > CONFIGURE_TARGET= build > >@@ -105,13 +111,13 @@ > .if ${PORT_OPTIONS:MX11} > CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin > MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin >-CONFIGURE_ARGS+= --disable-gtk-update-checks --disable-gst >+CONFIGURE_ARGS+= --disable-gtk-update-checks > BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils > LIB_DEPENDS+= libvpx.so:multimedia/libvpx \ >- libdbus-glib-1.so:devel/dbus-glib \ > libnotify.so:devel/libnotify > USES+= gettext desktop-file-utils > USE_GNOME+= gtk30 intltool cairo gdkpixbuf2 >+USE_GSTREAMER1= gdkpixbuf > .else > CONFIGURE_ARGS+= --disable-gtk > .endif >Index: multimedia/handbrake/distinfo >=================================================================== >--- multimedia/handbrake/distinfo (revision 466769) >+++ multimedia/handbrake/distinfo (working copy) >@@ -1,17 +1,17 @@ >-TIMESTAMP = 1491873041 >-SHA256 (handbrake/fdk-aac-0.1.4.tar.gz) = 5910fe788677ca13532e3f47b7afaa01d72334d46a2d5e1d1f080f1173ff15ab >-SIZE (handbrake/fdk-aac-0.1.4.tar.gz) = 1986515 >-SHA256 (handbrake/libav-12.tar.gz) = ca5cb22ba660f0bdc47817fdb9d99059a71f9eb0776c68cf8bef769a5ccc7534 >-SIZE (handbrake/libav-12.tar.gz) = 7578674 >-SHA256 (handbrake/libbluray-0.9.3.tar.bz2) = a6366614ec45484b51fe94fcd1975b3b8716f90f038a33b24d59978de3863ce0 >-SIZE (handbrake/libbluray-0.9.3.tar.bz2) = 722686 >-SHA256 (handbrake/libdvdnav-5.0.1.tar.bz2) = 72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9 >-SIZE (handbrake/libdvdnav-5.0.1.tar.bz2) = 354568 >-SHA256 (handbrake/libdvdread-5.0.0-6-gcb1ae87.tar.gz) = d2e4200c3c5d5f812892f9c14851c94e2f707d54e7328946c6397ac999f15f17 >-SIZE (handbrake/libdvdread-5.0.0-6-gcb1ae87.tar.gz) = 124494 >-SHA256 (handbrake/libvpx-1.5.0.tar.bz2) = 306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797 >-SIZE (handbrake/libvpx-1.5.0.tar.bz2) = 1906571 >-SHA256 (handbrake/x265_2.1-1.tar.gz) = 88fcb9af4ba52c0757ac9c0d8cd5ec79951a22905ae886897e06954353d6a643 >-SIZE (handbrake/x265_2.1-1.tar.gz) = 1036921 >-SHA256 (handbrake/HandBrake-HandBrake-1.0.7_GH0.tar.gz) = 4f24f623d3078e3a5603a25ff718d75216d8eec7e25eb9a8cb267f28a0688fe7 >-SIZE (handbrake/HandBrake-HandBrake-1.0.7_GH0.tar.gz) = 13167548 >+TIMESTAMP = 1523151983 >+SHA256 (handbrake/fdk-aac-0.1.5.tar.gz) = 2164592a67b467e5b20fdcdaf5bd4c50685199067391c6fcad4fa5521c9b4dd7 >+SIZE (handbrake/fdk-aac-0.1.5.tar.gz) = 2091081 >+SHA256 (handbrake/libav-12.3.tar.gz) = 115b659022dd387f662e26fbc5bc0cc14ec18daa100003ffd34f4da0479b272e >+SIZE (handbrake/libav-12.3.tar.gz) = 7582844 >+SHA256 (handbrake/libbluray-1.0.2.tar.bz2) = 6d9e7c4e416f664c330d9fa5a05ad79a3fb39b95adfc3fd6910cbed503b7aeff >+SIZE (handbrake/libbluray-1.0.2.tar.bz2) = 733058 >+SHA256 (handbrake/libdvdnav-5.0.3.tar.bz2) = 5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d >+SIZE (handbrake/libdvdnav-5.0.3.tar.bz2) = 372203 >+SHA256 (handbrake/libdvdread-5.0.3.tar.bz2) = 321cdf2dbdc83c96572bc583cd27d8c660ddb540ff16672ecb28607d018ed82b >+SIZE (handbrake/libdvdread-5.0.3.tar.bz2) = 394885 >+SHA256 (handbrake/libvpx-1.6.1.tar.bz2) = 1c2c0c2a97fba9474943be34ee39337dee756780fc12870ba1dc68372586a819 >+SIZE (handbrake/libvpx-1.6.1.tar.bz2) = 1959534 >+SHA256 (handbrake/x265_2.6.tar.gz) = 1bf0036415996af841884802161065b9e6be74f5f6808ac04831363e2549cdbf >+SIZE (handbrake/x265_2.6.tar.gz) = 1271976 >+SHA256 (handbrake/HandBrake-HandBrake-1.1.0_GH0.tar.gz) = c51f25e8fa2e979295bed281b050186d36f48d9ed0fc3cb7e4f5497985d000b0 >+SIZE (handbrake/HandBrake-HandBrake-1.1.0_GH0.tar.gz) = 15797528 >Index: multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch >=================================================================== >--- multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch (revision 466769) >+++ multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch (nonexistent) >@@ -1,18 +0,0 @@ >---- contrib/libbluray/A02-expose-clip_id.patch.orig 2017-02-25 >-20:56:19 UTC >-+++ contrib/libbluray/A02-expose-clip_id.patch >-@@ -35,3 +35,14 @@ index 3cd7118..177b3d4 100644 >- -- >- 2.5.5 >- >-+--- a/Makefile.in.orig 2017-03-25 19:30:14 UTC >-++++ b/Makefile.in 2017-03-25 19:30:36 UTC >-+@@ -772,7 +772,7 @@ >-+ MOSTLYCLEANFILES = $(DX_CLEANFILES) >-+ @ENABLE_UDF_FALSE@POSIX_C_SOURCE = 200112L >-+ @ENABLE_UDF_TRUE@POSIX_C_SOURCE = 200809L >-+-SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT >-++SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT -D_XOPEN_SOURCE=700 >-+ SET_INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libbluray -I$(top_builddir)/src/libbluray $(BDJAVA_CFLAGS) >-+ AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) \ >-+ $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS) \ > >Property changes on: multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-contrib_x265__10bit_module.defs >=================================================================== >--- multimedia/handbrake/files/patch-contrib_x265__10bit_module.defs (nonexistent) >+++ multimedia/handbrake/files/patch-contrib_x265__10bit_module.defs (working copy) >@@ -0,0 +1,13 @@ >+--- contrib/x265_10bit/module.defs.orig 2017-12-24 00:33:48 UTC >++++ contrib/x265_10bit/module.defs >+@@ -19,6 +19,10 @@ X265_10.CONFIGURE.static = >+ X265_10.CONFIGURE.shared = -DENABLE_SHARED=OFF >+ X265_10.CONFIGURE.extra = -DENABLE_CLI=OFF -DHIGH_BIT_DEPTH=ON -DENABLE_LIBNUMA=OFF -DEXPORT_C_API=OFF >+ >++ifneq (x86_64,$(BUILD.machine)) >++ X265_10.CONFIGURE.extra += -DENABLE_ASSEMBLY=0 >++endif >++ >+ ifneq (none,$(X265_10.GCC.g)) >+ X265_10.CONFIGURE.extra += -DCMAKE_BUILD_TYPE=Debug >+ endif > >Property changes on: multimedia/handbrake/files/patch-contrib_x265__10bit_module.defs >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-contrib_x265__12bit_module.defs >=================================================================== >--- multimedia/handbrake/files/patch-contrib_x265__12bit_module.defs (nonexistent) >+++ multimedia/handbrake/files/patch-contrib_x265__12bit_module.defs (working copy) >@@ -0,0 +1,13 @@ >+--- contrib/x265_12bit/module.defs.orig 2017-12-24 00:33:48 UTC >++++ contrib/x265_12bit/module.defs >+@@ -19,6 +19,10 @@ X265_12.CONFIGURE.static = >+ X265_12.CONFIGURE.shared = -DENABLE_SHARED=OFF >+ X265_12.CONFIGURE.extra = -DENABLE_CLI=OFF -DHIGH_BIT_DEPTH=ON -DENABLE_LIBNUMA=OFF -DEXPORT_C_API=OFF -DMAIN12=ON >+ >++ifneq (x86_64,$(BUILD.machine)) >++ X265_12.CONFIGURE.extra += -DENABLE_ASSEMBLY=0 >++endif >++ >+ ifneq (none,$(X265_12.GCC.g)) >+ X265_12.CONFIGURE.extra += -DCMAKE_BUILD_TYPE=Debug >+ endif > >Property changes on: multimedia/handbrake/files/patch-contrib_x265__12bit_module.defs >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-gtk_configure.ac >=================================================================== >--- multimedia/handbrake/files/patch-gtk_configure.ac (revision 466769) >+++ multimedia/handbrake/files/patch-gtk_configure.ac (nonexistent) >@@ -1,12 +0,0 @@ >---- gtk/configure.ac.orig 2017-02-25 20:56:19 UTC >-+++ gtk/configure.ac >-@@ -182,6 +182,9 @@ case $host in >- fi >- HB_LIBS="$HB_LIBS -lregex -luuid" >- ;; >-+ *-*-freebsd*) >-+ HB_LIBS="$HB_LIBS -lpthread" >-+ ;; >- *) >- HB_LIBS="$HB_LIBS -ldl -lpthread" >- ;; > >Property changes on: multimedia/handbrake/files/patch-gtk_configure.ac >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-gtk_src_callbacks.c >=================================================================== >--- multimedia/handbrake/files/patch-gtk_src_callbacks.c (revision 466769) >+++ multimedia/handbrake/files/patch-gtk_src_callbacks.c (nonexistent) >@@ -1,17 +0,0 @@ >---- gtk/src/callbacks.c.orig 2017-02-25 20:56:19 UTC >-+++ gtk/src/callbacks.c >-@@ -46,6 +46,9 @@ >- #include <dbus/dbus-glib.h> >- #include <dbus/dbus-glib-lowlevel.h> >- >-+#if defined( __FreeBSD__ ) >-+#include <sys/socket.h> >-+#endif >- #include <netinet/in.h> >- #include <netdb.h> >- >-@@ -5537,4 +5540,3 @@ void ghb_container_empty(GtkContainer *c >- { >- gtk_container_foreach(c, container_empty_cb, NULL); >- } >-- > >Property changes on: multimedia/handbrake/files/patch-gtk_src_callbacks.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-libhb_fifo.c >=================================================================== >--- multimedia/handbrake/files/patch-libhb_fifo.c (revision 466769) >+++ multimedia/handbrake/files/patch-libhb_fifo.c (nonexistent) >@@ -1,11 +0,0 @@ >---- libhb/fifo.c.orig 2017-02-25 20:56:19 UTC >-+++ libhb/fifo.c >-@@ -13,7 +13,7 @@ >- #include "qsv_libav.h" >- #endif >- >--#ifndef SYS_DARWIN >-+#if !defined(SYS_DARWIN) && !defined(SYS_FREEBSD) >- #include <malloc.h> >- #endif >- > >Property changes on: multimedia/handbrake/files/patch-libhb_fifo.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-libhb_module.defs >=================================================================== >--- multimedia/handbrake/files/patch-libhb_module.defs (revision 466769) >+++ multimedia/handbrake/files/patch-libhb_module.defs (working copy) >@@ -1,29 +1,11 @@ >---- libhb/module.defs.orig 2017-02-25 20:56:19 UTC >+--- libhb/module.defs.orig 2018-01-13 05:30:25 UTC > +++ libhb/module.defs >-@@ -47,7 +47,7 @@ LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB >- ifneq (,$(filter $(BUILD.system),darwin cygwin mingw)) >- LIBHB.GCC.I += $(CONTRIB.build/)include/libxml2 >+@@ -49,7 +49,7 @@ LIBHB.GCC.D += __LIBHB__ USE_PTHREAD >+ LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB.build/)include >+ >+ ifeq ($(BUILD.system),freebsd) >+- LIBHB.GCC.I += /usr/local/include/libxml2 >++ LIBHB.GCC.I += $(LOCALBASE)/include/libxml2 >+ else ifneq (,$(filter $(BUILD.system),darwin cygwin mingw)) >+ LIBHB.GCC.I += $(CONTRIB.build/)include/libxml2 > else >--LIBHB.GCC.I += /usr/include/libxml2 >-+LIBHB.GCC.I += /usr/local/include/libxml2 >- endif >- >- ifeq ($(BUILD.system),cygwin) >-@@ -58,6 +58,8 @@ else ifeq ($(BUILD.system),darwin) >- LIBHB.m += $(wildcard $(LIBHB.src/)platform/macosx/*.m) >- else ifeq ($(BUILD.system),linux) >- LIBHB.GCC.D += SYS_LINUX _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 >-+else ifeq ($(BUILD.system),freebsd) >-+ LIBHB.GCC.D += SYS_FREEBSD _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 >- else ifeq ($(BUILD.system),mingw) >- LIBHB.GCC.D += SYS_MINGW >- ifneq ($(HAS.pthread),1) >-@@ -188,4 +190,8 @@ endif >- >- ############################################################################### >- >-+ifeq ($(HAS.pthread),1) >-+ LIBHB.GCC.l += pthread >-+endif >-+ >- BUILD.out += $(LIBHB.out) >Index: multimedia/handbrake/files/patch-libhb_nlmeans.c >=================================================================== >--- multimedia/handbrake/files/patch-libhb_nlmeans.c (revision 466769) >+++ multimedia/handbrake/files/patch-libhb_nlmeans.c (working copy) >@@ -1,6 +1,6 @@ >---- libhb/nlmeans.c.orig 2017-02-25 20:56:19 UTC >+--- libhb/nlmeans.c.orig 2017-10-05 21:17:34 UTC > +++ libhb/nlmeans.c >-@@ -786,7 +786,7 @@ static int nlmeans_init(hb_filter_object >+@@ -787,7 +787,7 @@ static int nlmeans_init(hb_filter_object > NLMeansFunctions *functions = &pv->functions; > > functions->build_integral = build_integral_scalar; >Index: multimedia/handbrake/files/patch-libhb_nlmeans__x86.c >=================================================================== >--- multimedia/handbrake/files/patch-libhb_nlmeans__x86.c (revision 466769) >+++ multimedia/handbrake/files/patch-libhb_nlmeans__x86.c (working copy) >@@ -1,4 +1,4 @@ >---- libhb/nlmeans_x86.c.orig 2017-02-25 20:56:19 UTC >+--- libhb/nlmeans_x86.c.orig 2017-10-05 21:17:34 UTC > +++ libhb/nlmeans_x86.c > @@ -10,7 +10,7 @@ > >Index: multimedia/handbrake/files/patch-make_configure.py >=================================================================== >--- multimedia/handbrake/files/patch-make_configure.py (revision 466769) >+++ multimedia/handbrake/files/patch-make_configure.py (working copy) >@@ -1,72 +1,11 @@ >---- make/configure.py.orig 2017-02-25 20:56:19 UTC >+--- make/configure.py.orig 2018-01-13 05:30:25 UTC > +++ make/configure.py >-@@ -590,6 +590,9 @@ class ArchAction( Action ): >- pass >- elif host.match( '*-*-solaris*' ): >- pass >-+ elif host.match( '*-*-freebsd.*' ): >-+ self.mode['i386'] = 'i386-portsbuild-freebsd%s' % (host.release) >-+ self.mode['amd64'] = 'amd64-portsbuild-freebsd%s' % (host.release) >- else: >- self.msg_pass = 'WARNING' >- >-@@ -1294,13 +1297,13 @@ def createCLI(): >- h = IfHost( 'enable assembly code in non-contrib modules', 'NOMATCH*-*-darwin*', 'NOMATCH*-*-linux*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--enable-asm', default=False, action='store_true', help=h ) >- >-- h = IfHost( 'disable GTK GUI', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value >-+ h = IfHost( 'disable GTK GUI', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--disable-gtk', default=False, action='store_true', help=h ) >-- h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value >-+ h = IfHost( 'disable GTK GUI update checks', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--disable-gtk-update-checks', default=False, action='store_true', help=h ) >- h = IfHost( 'enable GTK GUI (mingw)', '*-*-mingw*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--enable-gtk-mingw', default=False, action='store_true', help=h ) >-- h = IfHost( 'disable gstreamer (live preview)', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value >-+ h = IfHost( 'disable gstreamer (live preview)', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--disable-gst', default=False, action='store_true', help=h ) >- h = IfHost( 'enable use of Intel Quick Sync Video hardware acceleration', '*-*-*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--enable-qsv', default=False, action='store_true', help=h ) >-@@ -1352,7 +1355,7 @@ def createCLI(): >- h = IfHost( 'Build and use local pkg-config', '*-*-darwin*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--enable-local-pkgconfig', default=False, action='store_true', help=h ) >- >-- h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', none=optparse.SUPPRESS_HELP ).value >-+ h = IfHost( 'Build extra contribs for flatpak packaging', '*-*-linux*', '*-*-freebsd*', none=optparse.SUPPRESS_HELP ).value >- grp.add_option( '--flatpak', default=False, action='store_true', help=h ) >- cli.add_option_group( grp ) >- >-@@ -1517,7 +1520,7 @@ try: >+@@ -1515,7 +1515,7 @@ try: > class Tools: > ar = ToolProbe( 'AR.exe', 'ar' ) > cp = ToolProbe( 'CP.exe', 'cp' ) > - gcc = ToolProbe( 'GCC.gcc', 'gcc', IfHost( 'gcc-4', '*-*-cygwin*' )) >-+ gcc = ToolProbe( 'GCC.gcc', 'gcc', IfHost( os.environ['CC'], '*-*-freebsd*' )) >++ gcc = ToolProbe( 'GCC.gcc', 'gcc', IfHost( os.environ['CC'], '*-*-freebsd*' ), IfHost( 'gcc-4', '*-*-cygwin*' )) > > if host.match( '*-*-darwin*' ): > gmake = ToolProbe( 'GMAKE.exe', 'make', 'gmake' ) >-@@ -1924,10 +1927,15 @@ int main() >- doc.add( 'GCC.sysroot', '' ) >- doc.add( 'GCC.minver', '' ) >- >-+ if build.match( '*-*-freebsd*' ): >-+ doc.add( 'HAS.pthread', 1 ) >-+ >- if build.match( 'i?86-*' ): >- doc.add( 'LIBHB.GCC.D', 'ARCH_X86_32', append=True ) >- elif build.match( 'x86_64-*' ): >- doc.add( 'LIBHB.GCC.D', 'ARCH_X86_64', append=True ) >-+ elif build.match( 'amd64-*' ): >-+ doc.add( 'LIBHB.GCC.D', 'ARCH_X86_64', append=True ) >- >- if options.enable_asm and ( not Tools.yasm.fail or options.enable_local_yasm ): >- asm = '' >-@@ -1940,7 +1948,7 @@ int main() >- else: >- doc.add( 'LIBHB.YASM.f', 'elf32' ) >- doc.add( 'LIBHB.YASM.m', 'x86' ) >-- elif build.match( 'x86_64-*' ): >-+ elif build.match( 'x86_64-*' ) or build.match( 'amd64-*' ): >- asm = 'x86' >- doc.add( 'LIBHB.GCC.D', 'HAVE_MMX ARCH_X86_64', append=True ) >- if build.match( '*-*-darwin*' ): >Index: multimedia/handbrake/files/patch-make_include_main.defs >=================================================================== >--- multimedia/handbrake/files/patch-make_include_main.defs (revision 466769) >+++ multimedia/handbrake/files/patch-make_include_main.defs (nonexistent) >@@ -1,14 +0,0 @@ >---- make/include/main.defs.orig 2017-02-25 20:56:19 UTC >-+++ make/include/main.defs >-@@ -134,6 +134,11 @@ ifeq (1-linux,$(FEATURE.gtk)-$(BUILD.sys >- MODULES += gtk >- endif >- >-+ifeq (1-freebsd,$(FEATURE.gtk)-$(BUILD.system)) >-+ ## build gtk when gtk+freebsd >-+ MODULES += gtk >-+endif >-+ >- ifeq (1-kfreebsd,$(FEATURE.gtk)-$(BUILD.system)) >- ## build gtk when gtk+kfreebsd >- MODULES += gtk > >Property changes on: multimedia/handbrake/files/patch-make_include_main.defs >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_build-presets.sh >=================================================================== >--- multimedia/handbrake/files/patch-scripts_build-presets.sh (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_build-presets.sh (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/build-presets.sh.orig 2017-02-25 20:56:19 UTC >-+++ scripts/build-presets.sh >-@@ -1,4 +1,4 @@ >--#!/bin/bash >-+#!/usr/bin/env bash >- # usage: build-presets >- >- SELF="${BASH_SOURCE[0]}" > >Property changes on: multimedia/handbrake/files/patch-scripts_build-presets.sh >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_create__resources.py >=================================================================== >--- multimedia/handbrake/files/patch-scripts_create__resources.py (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_create__resources.py (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/create_resources.py.orig 2017-02-25 20:56:19 UTC >-+++ scripts/create_resources.py >-@@ -1,4 +1,4 @@ >--#! /usr/bin/python >-+#! /usr/bin/env python >- # >- >- import types > >Property changes on: multimedia/handbrake/files/patch-scripts_create__resources.py >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_mac-toolchain-build >=================================================================== >--- multimedia/handbrake/files/patch-scripts_mac-toolchain-build (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_mac-toolchain-build (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/mac-toolchain-build.orig 2017-02-25 20:56:19 UTC >-+++ scripts/mac-toolchain-build >-@@ -1,4 +1,4 @@ >--#!/bin/bash >-+#!/usr/bin/env bash >- >- # mac only >- if [[ "$(uname)" != "Darwin" ]]; then > >Property changes on: multimedia/handbrake/files/patch-scripts_mac-toolchain-build >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_manicure.rb >=================================================================== >--- multimedia/handbrake/files/patch-scripts_manicure.rb (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_manicure.rb (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/manicure.rb.orig 2017-02-25 20:56:19 UTC >-+++ scripts/manicure.rb >-@@ -1,4 +1,4 @@ >--#! /usr/bin/ruby >-+#! /usr/bin/env ruby >- # manincure.rb version 0.66 >- >- # This file is part of the HandBrake source code. > >Property changes on: multimedia/handbrake/files/patch-scripts_manicure.rb >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_mingw-w64-build >=================================================================== >--- multimedia/handbrake/files/patch-scripts_mingw-w64-build (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_mingw-w64-build (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/mingw-w64-build.orig 2017-02-25 20:56:19 UTC >-+++ scripts/mingw-w64-build >-@@ -1,4 +1,4 @@ >--#!/bin/bash >-+#!/usr/bin/env bash >- # mingw-w64-build - download and build mingw-w64 toolchain >- # >- # Project: https://github.com/bradleysepos/mingw-w64-build > >Property changes on: multimedia/handbrake/files/patch-scripts_mingw-w64-build >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_quotestring.py >=================================================================== >--- multimedia/handbrake/files/patch-scripts_quotestring.py (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_quotestring.py (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/quotestring.py.orig 2017-02-25 20:56:19 UTC >-+++ scripts/quotestring.py >-@@ -1,4 +1,4 @@ >--#! /usr/bin/python >-+#! /usr/bin/env python >- >- import re >- import getopt > >Property changes on: multimedia/handbrake/files/patch-scripts_quotestring.py >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_repo-info.sh >=================================================================== >--- multimedia/handbrake/files/patch-scripts_repo-info.sh (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_repo-info.sh (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/repo-info.sh.orig 2017-02-25 20:56:19 UTC >-+++ scripts/repo-info.sh >-@@ -1,4 +1,4 @@ >--#! /bin/bash >-+#!/usr/bin/env bash >- # >- # Retrieves git repository info for directory ${1} using command ${2} >- > >Property changes on: multimedia/handbrake/files/patch-scripts_repo-info.sh >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-scripts_tag-release.sh >=================================================================== >--- multimedia/handbrake/files/patch-scripts_tag-release.sh (revision 466769) >+++ multimedia/handbrake/files/patch-scripts_tag-release.sh (nonexistent) >@@ -1,8 +0,0 @@ >---- scripts/tag-release.sh.orig 2017-02-25 20:56:19 UTC >-+++ scripts/tag-release.sh >-@@ -1,4 +1,4 @@ >--#! /bin/bash >-+#!/usr/bin/env bash >- # >- # Usage: tag-release.sh <release-ver> [<ref>] >- # > >Property changes on: multimedia/handbrake/files/patch-scripts_tag-release.sh >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-test_module.defs >=================================================================== >--- multimedia/handbrake/files/patch-test_module.defs (revision 466769) >+++ multimedia/handbrake/files/patch-test_module.defs (nonexistent) >@@ -1,11 +0,0 @@ >---- test/module.defs.orig 2017-02-25 20:56:19 UTC >-+++ test/module.defs >-@@ -13,7 +13,7 @@ TEST.GCC.L = $(CONTRIB.build/)lib >- >- TEST.libs = $(LIBHB.a) >- >--TEST.GCC.l = \ >-+TEST.GCC.l = pthread \ >- ass avresample avformat avcodec avfilter avutil mp3lame dvdnav \ >- dvdread fontconfig fribidi \ >- samplerate swscale vpx theoraenc theoradec vorbis vorbisenc ogg x264 \ > >Property changes on: multimedia/handbrake/files/patch-test_module.defs >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: multimedia/handbrake/files/patch-version.txt >=================================================================== >--- multimedia/handbrake/files/patch-version.txt (revision 466769) >+++ multimedia/handbrake/files/patch-version.txt (working copy) >@@ -2,11 +2,11 @@ > +++ version.txt > @@ -0,0 +1,9 @@ > +URL=https://github.com/HandBrake/HandBrake.git >-+HASH=91ed34ff38d46f389e841c46fe27b7cbfed8467c >-+SHORTHASH=91ed34f >-+TAG=1.0.7 >-+TAG_HASH=91ed34ff38d46f389e841c46fe27b7cbfed8467c >++HASH=b463d33a4ed4c9da5fb6432e7fb7e08422fc1aad >++SHORTHASH=b463d33 >++TAG=1.1.0 >++TAG_HASH=b463d33a4ed4c9da5fb6432e7fb7e08422fc1aad > +REV=0 > +BRANCH= > +REMOTE=https://github.com/HandBrake/HandBrake.git >-+DATE=2017-04-09 23:31:00 +0300 >++DATE=2018-04-08 15:16:00 +0900
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227374
: 192341 |
192388