From owner-svn-ports-all@freebsd.org Tue Apr 4 17:48:27 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F32AED2E516; Tue, 4 Apr 2017 17:48:27 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB77FADF; Tue, 4 Apr 2017 17:48:27 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v34HmQPP096175; Tue, 4 Apr 2017 17:48:26 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v34HmOra096152; Tue, 4 Apr 2017 17:48:24 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201704041748.v34HmOra096152@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Tue, 4 Apr 2017 17:48:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437745 - in head/multimedia/handbrake: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 17:48:28 -0000 Author: riggs Date: Tue Apr 4 17:48:24 2017 New Revision: 437745 URL: https://svnweb.freebsd.org/changeset/ports/437745 Log: Update to upstream version 1.0.3 PR: 218288 Submitted by: naito.yuichiro@gmail.com Reviewed by: riggs Added: head/multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch (contents, props changed) head/multimedia/handbrake/files/patch-gtk_configure.ac (contents, props changed) head/multimedia/handbrake/files/patch-libhb_fifo.c (contents, props changed) head/multimedia/handbrake/files/patch-libhb_module.defs (contents, props changed) head/multimedia/handbrake/files/patch-libhb_nlmeans.c (contents, props changed) head/multimedia/handbrake/files/patch-libhb_nlmeans__x86.c (contents, props changed) head/multimedia/handbrake/files/patch-scripts_build-presets.sh (contents, props changed) head/multimedia/handbrake/files/patch-scripts_create__resources.py (contents, props changed) head/multimedia/handbrake/files/patch-scripts_mac-toolchain-build (contents, props changed) head/multimedia/handbrake/files/patch-scripts_manicure.rb (contents, props changed) head/multimedia/handbrake/files/patch-scripts_mingw-w64-build (contents, props changed) head/multimedia/handbrake/files/patch-scripts_quotestring.py (contents, props changed) head/multimedia/handbrake/files/patch-scripts_repo-info.sh (contents, props changed) head/multimedia/handbrake/files/patch-scripts_tag-release.sh (contents, props changed) head/multimedia/handbrake/files/patch-test_module.defs (contents, props changed) head/multimedia/handbrake/files/patch-version.txt (contents, props changed) head/multimedia/handbrake/pkg-plist (contents, props changed) Deleted: head/multimedia/handbrake/files/patch-build_contrib_x264_x264_configure head/multimedia/handbrake/files/patch-contrib-ffmpeg-A04-x86-asm-h.patch head/multimedia/handbrake/files/patch-contrib-mp4v2-P01-freebsd-clang-namespace.patch head/multimedia/handbrake/files/patch-contrib_ffmpeg_A90-libvpx-1.5.0.patch head/multimedia/handbrake/files/patch-contrib_ffmpeg_module.defs head/multimedia/handbrake/files/patch-custom.defs head/multimedia/handbrake/files/patch-make_include_contrib.defs head/multimedia/handbrake/files/patch-make_include_gcc.defs head/multimedia/handbrake/files/patch-make_include_select.defs Modified: head/multimedia/handbrake/Makefile head/multimedia/handbrake/distinfo head/multimedia/handbrake/files/patch-gtk_src_callbacks.c head/multimedia/handbrake/files/patch-make_configure.py head/multimedia/handbrake/files/patch-make_include_main.defs head/multimedia/handbrake/pkg-descr Modified: head/multimedia/handbrake/Makefile ============================================================================== --- head/multimedia/handbrake/Makefile Tue Apr 4 17:32:08 2017 (r437744) +++ head/multimedia/handbrake/Makefile Tue Apr 4 17:48:24 2017 (r437745) @@ -2,25 +2,8 @@ # $FreeBSD$ PORTNAME= handbrake -PORTVERSION= 0.10.5 -PORTREVISION= 5 +PORTVERSION= 1.0.3 CATEGORIES= multimedia -MASTER_SITES= http://download.handbrake.fr/releases/${PORTVERSION}/ \ - http://download.handbrake.fr/handbrake/contrib/:contrib \ - http://download.handbrake.fr/contrib/:contrib -DISTFILES= HandBrake-${PORTVERSION}.tar.bz2 \ - a52dec-0.7.4.tar.gz:contrib \ - faac-1.28.tar.gz:contrib \ - faad2-2.7.tar.gz:contrib \ - fdk-aac-v0.1.1-6-gbae4553.tar.bz2:contrib \ - libav-v10.1.tar.bz2:contrib \ - libbluray-0.5.0.tar.bz2:contrib \ - libdca-r81-strapped.tar.gz:contrib \ - libdvdnav-5.0.1-0-gaa3659d.tar.gz:contrib \ - libdvdread-5.0.0-6-gcb1ae87.tar.gz:contrib \ - libvpx-v1.3.0.tar.bz2:contrib \ - x264-r2479-dd79a61.tar.gz:contrib \ - x265_1.9.tar.gz:contrib DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org @@ -29,9 +12,12 @@ COMMENT= Versatile DVD ripper and video LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= yasm:devel/yasm \ +BUILD_DEPENDS= bash:shells/bash \ + yasm:devel/yasm \ cmake:devel/cmake -LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ +LIB_DEPENDS= libdbus-1.so:devel/dbus \ + libharfbuzz.so:print/harfbuzz \ + libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libxml2.so:textproc/libxml2 \ @@ -43,31 +29,48 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/ libtheoraenc.so:multimedia/libtheora \ libsamplerate.so:audio/libsamplerate \ libx264.so:multimedia/libx264 \ - libmp3lame.so:audio/lame + libmp3lame.so:audio/lame \ + libopus.so:audio/opus \ + libjansson.so:devel/jansson BROKEN_aarch64= Fails to build: invokes x86 asm BROKEN_armv6= Fails to build: invokes x86 asm +USE_GITHUB= yes +XGH_ACCOUNT= HandBrake +XGH_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 +DISTFILES+= ${CONTRIB_FILES:S/$/:contrib/} + .if !defined(PACKAGE_BUILDING) # DVDCSS version hardcoded in contrib/libdvdread/libdvdread-5.0.0-6-gcb1ae87/src/dvd_input.c (dlopen'ed) -LIB_DEPENDS+= libdvdcss.so.2:multimedia/libdvdcss +LIB_DEPENDS+= libdvdcss.so:multimedia/libdvdcss .endif GNU_CONFIGURE= yes +USE_GCC= yes USES= autoreconf:build compiler:features gmake iconv \ libtool:build localbase:ldflags pkgconfig python:build -MAKE_ENV= V=1 +MAKE_ENV= V=1 ACLOCAL=${LOCALBASE}/bin/aclocal WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION} -PLIST_FILES= bin/HandBrakeCLI -CONFIGURE_ARGS= --force +CONFIGURE_ARGS= --force --enable-x265 CONFIGURE_TARGET= build BUILD_WRKSRC= ${WRKSRC}/build +INSTALL_WRKSRC= ${WRKSRC}/build MAKEFILE= GNUmakefile ALL_TARGET= # -MAKE_JOBS_UNSAFE= yes +INSTALL_TARGET= install-strip NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 @@ -77,16 +80,18 @@ LDFLAGS+= -L${BUILD_WRKSRC}/contrib/lib # Enforce linking to the system c++ standard lib LDFLAGS+= -l${COMPILER_FEATURES:Mlib*c++:S/lib//} -OPTIONS_DEFINE= FDK_AAC X11 +OPTIONS_DEFINE= FDK_AAC X11 OPTIONS_DEFAULT= X11 +OPTIONS_SUB= yes + FDK_AAC_DESC= Enable non-free Fraunhofer FDK AAC codec X11_DESC= Build GTK+3 based GUI program FDK_AAC_CONFIGURE_ENABLE= fdk-aac FDK_AAC_VARS= LICENSE+=FDK_AAC LICENSE_COMB=multi LICENSE_NAME_FDK_AAC= Software License for The Fraunhofer FDK AAC Codec Library for Android -LICENSE_FILE_FDK_AAC= ${BUILD_WRKSRC}/contrib/fdkaac/${DISTFILES:Mfdk*:R:R}/NOTICE +LICENSE_FILE_FDK_AAC= ${WRKDIR}/${DISTFILES:Mfdk*:R:R}/NOTICE LICENSE_PERMS_FDK_AAC= dist-mirror pkg-mirror auto-accept .include @@ -94,119 +99,28 @@ LICENSE_PERMS_FDK_AAC= dist-mirror pkg- # Recent GNU binutils are required to handle inline SSSE3 asm (in x264), and # to support --exclude-libs option for ld(1) when building GUI program .if ${PORT_OPTIONS:MX11} -BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin -LIB_DEPENDS+= libvpx.so:multimedia/libvpx -.endif -CC!=/usr/bin/which ${CC} -MAKE_ENV+=ACLOCAL=${LOCALBASE}/bin/aclocal - -.if ${PORT_OPTIONS:MX11} CONFIGURE_ARGS+= --disable-gtk-update-checks --disable-gst -LIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib \ +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 -USE_GNOME+= gtk30 intltool -PLIST_FILES+= bin/HandBrake - -DESKTOP_ENTRIES="HandBrake" \ - "${COMMENT}" \ - "" \ - "HandBrake" \ - "AudioVideo;" \ - false +USE_GNOME+= gtk30 intltool cairo gdkpixbuf2 .else CONFIGURE_ARGS+= --disable-gtk .endif # HandBrake tries to fetch its dependencies during build phase, which is not -# considered good in FreeBSD. Instead, we will prepare everything manually. +# considered good in FreeBSD. Instead, we will provided the downloaded files. post-extract: .SILENT -# Unversioned directories can be copied in a loop -.for d in a52dec libdca x264 - ${MKDIR} ${BUILD_WRKSRC}/contrib/${d} - ${MV} ${WRKDIR}/${d} ${BUILD_WRKSRC}/contrib/${d} + ${MKDIR} ${WRKSRC}/download +.for f in ${CONTRIB_FILES} + ${CP} ${DISTDIR}/${DIST_SUBDIR}/${f} ${WRKSRC}/download .endfor -# Others had to be processed one by one due to irregular (versioned) names - cd ${BUILD_WRKSRC}/contrib && ${MKDIR} faac faad2 ffmpeg libbluray libdvdnav \ - libdvdread libvpx x265 - ${MV} ${WRKDIR}/faac-1.28 ${BUILD_WRKSRC}/contrib/faac - ${MV} ${WRKDIR}/faad2-2.7 ${BUILD_WRKSRC}/contrib/faad2 - ${MV} ${WRKDIR}/libav-v10.1 ${BUILD_WRKSRC}/contrib/ffmpeg/libav-v10.1 - ${MV} ${WRKDIR}/libbluray-0.5.0 ${BUILD_WRKSRC}/contrib/libbluray - ${MV} ${WRKDIR}/libdvdnav-5.0.1-0-gaa3659d ${BUILD_WRKSRC}/contrib/libdvdnav - ${MV} ${WRKDIR}/libdvdread-5.0.0-6-gcb1ae87 ${BUILD_WRKSRC}/contrib/libdvdread - ${MV} ${WRKDIR}/libvpx-v1.3.0 ${BUILD_WRKSRC}/contrib/libvpx - ${MV} ${WRKDIR}/x265_1.9 ${BUILD_WRKSRC}/contrib/x265 -# Avoid conflict with `print/harfbuzz' (also installs "hb.h") - ${MV} ${WRKSRC}/libhb/hb.h ${WRKSRC}/libhb/hb-of-handbrake.h -# Mark all bundled dependencies as extracted - ${TOUCH} ${BUILD_WRKSRC}/contrib/a52dec/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/faac/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/faad2/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/ffmpeg/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/libbluray/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/libdca/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/libdvdnav/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/libdvdread/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/libvpx/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/x264/.stamp.extract - ${TOUCH} ${BUILD_WRKSRC}/contrib/x265/.stamp.extract - -post-extract-FDK_AAC-on: - ${MKDIR} ${BUILD_WRKSRC}/contrib/fdkaac - ${MV} ${WRKDIR}/fdk-aac-v0.1.1-6-gbae4553 ${BUILD_WRKSRC}/contrib/fdkaac - ${TOUCH} ${BUILD_WRKSRC}/contrib/fdkaac/.stamp.extract - -post-patch: - @${REINPLACE_CMD} -e 's|machine/soundcard|sys/soundcard|' \ - ${BUILD_WRKSRC}/contrib/a52dec/a52dec/libao/audio_out_oss.c - @${REINPLACE_CMD} -e 's|-ldl|-lc| ; s|\[dl\]|[c]| ; s|ACLOCAL=.*|ACLOCAL=aclocal|g' \ - ${BUILD_WRKSRC}/contrib/libbluray/libbluray-0.5.0/configure - @${REINPLACE_CMD} -e 's|ACLOCAL = @ACLOCAL@|ACLOCAL = ${LOCALBASE}/bin/aclocal|g' \ - -e 's|-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT||g' \ - ${BUILD_WRKSRC}/contrib/libbluray/libbluray-0.5.0/Makefile.in \ - ${BUILD_WRKSRC}/contrib/libbluray/libbluray-0.5.0/src/Makefile.in - @${REINPLACE_CMD} \ - -e '/GHB_PACKAGES=/s/gthread-2.0/& gmodule-2.0/' \ - -e 's/-lhb/& ${ICONV_LIB}/' \ - -e 's/-lhandbrake/& ${ICONV_LIB}/' \ - -e 's:-lxml2:& ../../contrib/lib/libx265.a:g' \ - ${WRKSRC}/gtk/configure.ac - @${REINPLACE_CMD} -e 's| ${WRKDIR}/A06-frame-threading-state.patch - @${MV} ${WRKDIR}/A06-frame-threading-state.patch ${WRKSRC}/contrib/ffmpeg/ - @${REINPLACE_CMD} -E \ - -e 's|%%REP_CC%%|${CC}|g' \ - -e 's|%%REP_CXX%%|${CXX}|g' \ - -e 's|%%REP_I%%|-I./contrib/include -I${LOCALBASE}/include|g' \ - -e 's|%%REP_L%%|-L${LOCALBASE}/lib|g' \ - -e 's|%%REP_ARCHS%%|${CPUTYPE}|g' \ - -e 's|%%REP_ICONV%%|${ICONV_LIB:S/-l//}|g' \ - ${WRKSRC}/custom.defs - -post-patch-X11-off: - @${REINPLACE_CMD} -e 's:--enable-libvpx:--disable-libvpx:' ${WRKSRC}/contrib/ffmpeg/module.defs - @${REINPLACE_CMD} -e 's| vpx | |' \ - ${WRKSRC}/libhb/module.defs ${WRKSRC}/test/module.defs - -post-patch-FDK_AAC-on: - @${REINPLACE_CMD} -e 's:/lib/cpp:${CPP}:g' ${BUILD_WRKSRC}/contrib/fdkaac/fdk-aac-v0.1.1-6-gbae4553/configure - @${REINPLACE_CMD} -e 's:-lxml2:& ../../contrib/lib/libfdk-aac.a:g' \ - ${WRKSRC}/gtk/configure.ac - -do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/HandBrakeCLI ${STAGEDIR}${PREFIX}/bin -do-install-X11-on: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gtk/src/ghb ${STAGEDIR}${PREFIX}/bin/HandBrake +post-install-X11-on: + ${LN} -sf ghb ${STAGEDIR}${PREFIX}/bin/HandBrake .include Modified: head/multimedia/handbrake/distinfo ============================================================================== --- head/multimedia/handbrake/distinfo Tue Apr 4 17:32:08 2017 (r437744) +++ head/multimedia/handbrake/distinfo Tue Apr 4 17:48:24 2017 (r437745) @@ -1,26 +1,17 @@ -SHA256 (handbrake/HandBrake-0.10.5.tar.bz2) = fb9230dd121b456f6829d1d25ac8bbf76e503b51c4efc70f0a7fd2bb8607e2f0 -SIZE (handbrake/HandBrake-0.10.5.tar.bz2) = 10452839 -SHA256 (handbrake/a52dec-0.7.4.tar.gz) = 54981ab08fc09a675b9924372cf0cca5aa5363b918c4c19065c2d40e2858be47 -SIZE (handbrake/a52dec-0.7.4.tar.gz) = 242978 -SHA256 (handbrake/faac-1.28.tar.gz) = c5141199f4cfb17d749c36ba8cfe4b25f838da67c22f0fec40228b6b9c3d19df -SIZE (handbrake/faac-1.28.tar.gz) = 678891 -SHA256 (handbrake/faad2-2.7.tar.gz) = ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330 -SIZE (handbrake/faad2-2.7.tar.gz) = 1137407 -SHA256 (handbrake/fdk-aac-v0.1.1-6-gbae4553.tar.bz2) = f08584d59a02db5facf548ae860c64d2870db63477f605af763c161a1508dcbc -SIZE (handbrake/fdk-aac-v0.1.1-6-gbae4553.tar.bz2) = 1843256 -SHA256 (handbrake/libav-v10.1.tar.bz2) = bc3807426d4e73fe8c245730b0df4ba95766cf7e17e47c738ee302f73d066ac9 -SIZE (handbrake/libav-v10.1.tar.bz2) = 5325944 -SHA256 (handbrake/libbluray-0.5.0.tar.bz2) = d414b548ff97c081e1a2f337c0904f44e65d91a00d2efa4a46a1ecd3de285b4d -SIZE (handbrake/libbluray-0.5.0.tar.bz2) = 555298 -SHA256 (handbrake/libdca-r81-strapped.tar.gz) = ab2519af6c2f12411a2bd674b83615af9b0d5fb09f28ad5dab714ea1bfab9df1 -SIZE (handbrake/libdca-r81-strapped.tar.gz) = 523282 -SHA256 (handbrake/libdvdnav-5.0.1-0-gaa3659d.tar.gz) = 574b7af7ff52e21048ab62c0b14271e651faafb5d46f8efc64dbd82ff34e162b -SIZE (handbrake/libdvdnav-5.0.1-0-gaa3659d.tar.gz) = 127921 +TIMESTAMP = 1491071513 +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-v1.3.0.tar.bz2) = d3dcc8d84af51c6c382b214397c62402e37a799e8ebcda6f4217aef0010451a9 -SIZE (handbrake/libvpx-v1.3.0.tar.bz2) = 2084229 -SHA256 (handbrake/x264-r2479-dd79a61.tar.gz) = 7307a83085f4110f8ae690748f00b5acb4882ec34b83ef260fec264c018c49e9 -SIZE (handbrake/x264-r2479-dd79a61.tar.gz) = 785781 -SHA256 (handbrake/x265_1.9.tar.gz) = 3e4654133ed957a98708fdb4cb9a154d9e80922b84e26e43fc462a101c5b15c8 -SIZE (handbrake/x265_1.9.tar.gz) = 956101 +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.3_GH0.tar.gz) = 83ae65cb84b0e9356d9fdc6e82cea65c0aef21d33a38f1e77731d66b501e6504 +SIZE (handbrake/handbrake-handbrake-1.0.3_GH0.tar.gz) = 13086610 Added: head/multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,17 @@ +--- 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 + ++--- Makefile.in.orig 2017-03-25 19:30:14 UTC +++++ 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) \ Added: head/multimedia/handbrake/files/patch-gtk_configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-gtk_configure.ac Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,12 @@ +--- 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" + ;; Modified: head/multimedia/handbrake/files/patch-gtk_src_callbacks.c ============================================================================== --- head/multimedia/handbrake/files/patch-gtk_src_callbacks.c Tue Apr 4 17:32:08 2017 (r437744) +++ head/multimedia/handbrake/files/patch-gtk_src_callbacks.c Tue Apr 4 17:48:24 2017 (r437745) @@ -1,10 +1,17 @@ ---- ./gtk/src/callbacks.c.orig 2012-08-23 21:44:53.000000000 +0800 -+++ ./gtk/src/callbacks.c 2012-08-23 21:45:09.000000000 +0800 -@@ -34,6 +34,7 @@ +--- gtk/src/callbacks.c.orig 2017-02-25 20:56:19 UTC ++++ gtk/src/callbacks.c +@@ -46,6 +46,9 @@ #include #include ++#if defined( __FreeBSD__ ) +#include ++#endif #include #include +@@ -5537,4 +5540,3 @@ void ghb_container_empty(GtkContainer *c + { + gtk_container_foreach(c, container_empty_cb, NULL); + } +- Added: head/multimedia/handbrake/files/patch-libhb_fifo.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-libhb_fifo.c Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,11 @@ +--- 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 + #endif + Added: head/multimedia/handbrake/files/patch-libhb_module.defs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-libhb_module.defs Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,29 @@ +--- libhb/module.defs.orig 2017-02-25 20:56:19 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 + 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) Added: head/multimedia/handbrake/files/patch-libhb_nlmeans.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-libhb_nlmeans.c Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,11 @@ +--- libhb/nlmeans.c.orig 2017-02-25 20:56:19 UTC ++++ libhb/nlmeans.c +@@ -786,7 +786,7 @@ static int nlmeans_init(hb_filter_object + NLMeansFunctions *functions = &pv->functions; + + functions->build_integral = build_integral_scalar; +-#if defined(ARCH_X86) ++#if defined(ARCH_X86) && defined(__X86_64) + nlmeans_init_x86(functions); + #endif + Added: head/multimedia/handbrake/files/patch-libhb_nlmeans__x86.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-libhb_nlmeans__x86.c Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,11 @@ +--- libhb/nlmeans_x86.c.orig 2017-02-25 20:56:19 UTC ++++ libhb/nlmeans_x86.c +@@ -10,7 +10,7 @@ + + #include "hb.h" // needed for ARCH_X86 + +-#if defined(ARCH_X86) ++#if defined(ARCH_X86) && defined(__X86_64) + + #include + Modified: head/multimedia/handbrake/files/patch-make_configure.py ============================================================================== --- head/multimedia/handbrake/files/patch-make_configure.py Tue Apr 4 17:32:08 2017 (r437744) +++ head/multimedia/handbrake/files/patch-make_configure.py Tue Apr 4 17:48:24 2017 (r437745) @@ -1,31 +1,63 @@ ---- ./make/configure.py.orig 2011-01-03 15:32:27.000000000 -0500 -+++ ./make/configure.py 2011-05-24 05:50:46.069810487 -0400 -@@ -1249,7 +1249,7 @@ - xcodebuild = ToolProbe( 'XCODEBUILD.exe', 'xcodebuild', abort=False ) - lipo = ToolProbe( 'LIPO.exe', 'lipo', abort=False ) - -- fetch = SelectTool( 'FETCH.select', 'fetch', ['wget',wget], ['curl',curl] ) -+ #fetch = SelectTool( 'FETCH.select', 'fetch', ['wget',wget], ['curl',curl] ) - - ## run tool probes - for tool in ToolProbe.tools: -@@ -1512,16 +1512,16 @@ +--- make/configure.py.orig 2017-02-25 20:56:19 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 ) + +@@ -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 = '' - if build.match( 'i?86-*' ): - asm = 'x86' -- doc.add( 'LIBHB.GCC.D', 'HAVE_MMX', append=True ) -+ #doc.add( 'LIBHB.GCC.D', 'HAVE_MMX', append=True ) - doc.add( 'LIBHB.YASM.D', 'ARCH_X86', append=True ) - if build.match( '*-*-darwin*' ): - doc.add( 'LIBHB.YASM.f', 'macho32' ) +@@ -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( 'amd64-*' ): ++ elif build.match( 'x86_64-*' ) or build.match( 'amd64-*' ): asm = 'x86' -- doc.add( 'LIBHB.GCC.D', 'HAVE_MMX ARCH_X86_64', append=True ) -+ #doc.add( 'LIBHB.GCC.D', 'HAVE_MMX ARCH_X86_64', append=True ) + doc.add( 'LIBHB.GCC.D', 'HAVE_MMX ARCH_X86_64', append=True ) if build.match( '*-*-darwin*' ): - doc.add( 'LIBHB.YASM.D', 'ARCH_X86_64 PIC', append=True ) - doc.add( 'LIBHB.YASM.f', 'macho64' ) Modified: head/multimedia/handbrake/files/patch-make_include_main.defs ============================================================================== --- head/multimedia/handbrake/files/patch-make_include_main.defs Tue Apr 4 17:32:08 2017 (r437744) +++ head/multimedia/handbrake/files/patch-make_include_main.defs Tue Apr 4 17:48:24 2017 (r437745) @@ -1,15 +1,6 @@ ---- make/include/main.defs.orig 2014-10-16 01:32:41.000000000 +0200 -+++ make/include/main.defs 2015-03-29 17:09:49.690928000 +0200 -@@ -62,7 +62,7 @@ - endif - - MODULES += contrib/ffmpeg --MODULES += contrib/libvpx -+#MODULES += contrib/libvpx - MODULES += contrib/libdvdread - MODULES += contrib/libdvdnav - MODULES += contrib/libbluray -@@ -125,6 +125,11 @@ +--- 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 @@ -18,6 +9,6 @@ + MODULES += gtk +endif + - ifeq (1,$(FEATURE.local_yasm)) - MODULES += contrib/yasm - endif + ifeq (1-kfreebsd,$(FEATURE.gtk)-$(BUILD.system)) + ## build gtk when gtk+kfreebsd + MODULES += gtk Added: head/multimedia/handbrake/files/patch-scripts_build-presets.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_build-presets.sh Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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]}" Added: head/multimedia/handbrake/files/patch-scripts_create__resources.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_create__resources.py Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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 Added: head/multimedia/handbrake/files/patch-scripts_mac-toolchain-build ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_mac-toolchain-build Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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 Added: head/multimedia/handbrake/files/patch-scripts_manicure.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_manicure.rb Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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. Added: head/multimedia/handbrake/files/patch-scripts_mingw-w64-build ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_mingw-w64-build Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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 Added: head/multimedia/handbrake/files/patch-scripts_quotestring.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_quotestring.py Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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 Added: head/multimedia/handbrake/files/patch-scripts_repo-info.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_repo-info.sh Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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} + Added: head/multimedia/handbrake/files/patch-scripts_tag-release.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-scripts_tag-release.sh Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,8 @@ +--- 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 [] + # Added: head/multimedia/handbrake/files/patch-test_module.defs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-test_module.defs Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,11 @@ +--- 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 \ Added: head/multimedia/handbrake/files/patch-version.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/files/patch-version.txt Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,12 @@ +--- version.txt.orig 2017-03-29 00:53:31 UTC ++++ version.txt +@@ -0,0 +1,9 @@ ++URL=https://github.com/HandBrake/HandBrake.git ++HASH=5ecc600a805c6dc2632f4ca6d3beb4fbb8cbefd0 ++SHORTHASH=5ecc600 ++TAG=1.0.3 ++TAG_HASH=5ecc600a805c6dc2632f4ca6d3beb4fbb8cbefd0 ++REV=0 ++BRANCH= ++REMOTE=https://github.com/HandBrake/HandBrake.git ++DATE=2017-02-25 15:56:19 -0500 Modified: head/multimedia/handbrake/pkg-descr ============================================================================== --- head/multimedia/handbrake/pkg-descr Tue Apr 4 17:32:08 2017 (r437744) +++ head/multimedia/handbrake/pkg-descr Tue Apr 4 17:48:24 2017 (r437745) @@ -11,7 +11,8 @@ Supported sources: Outputs: * File (container) format: MP4 (M4V) and MKV - * Video: H.264 (x264), MPEG-2/MPEG-4 (ffmpeg), or Theora (libtheora) + * Video: H.264 (x264), H.265 (x265), MPEG-2/MPEG-4 (ffmpeg), + or Theora (libtheora) * Audio: AAC, CoreAudio AAC/HE-AAC (OS X only), MP3, FLAC, AC3, or Vorbis; AC-3, DTS, DTS-HD, AAC, and MP3 pass-through Added: head/multimedia/handbrake/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/handbrake/pkg-plist Tue Apr 4 17:48:24 2017 (r437745) @@ -0,0 +1,19 @@ +bin/HandBrakeCLI +%%X11%%bin/ghb +%%X11%%bin/HandBrake +%%X11%%share/applications/ghb.desktop +%%X11%%share/icons/hicolor/scalable/apps/hb-icon.svg +%%X11%%share/locale/cs/LC_MESSAGES/ghb.mo +%%X11%%share/locale/da/LC_MESSAGES/ghb.mo +%%X11%%share/locale/de/LC_MESSAGES/ghb.mo +%%X11%%share/locale/es/LC_MESSAGES/ghb.mo +%%X11%%share/locale/fr/LC_MESSAGES/ghb.mo +%%X11%%share/locale/it_IT/LC_MESSAGES/ghb.mo +%%X11%%share/locale/ja_JP/LC_MESSAGES/ghb.mo +%%X11%%share/locale/ko/LC_MESSAGES/ghb.mo +%%X11%%share/locale/no/LC_MESSAGES/ghb.mo +%%X11%%share/locale/pt_BR/LC_MESSAGES/ghb.mo +%%X11%%share/locale/ro_RO/LC_MESSAGES/ghb.mo +%%X11%%share/locale/ru/LC_MESSAGES/ghb.mo +%%X11%%share/locale/th/LC_MESSAGES/ghb.mo +%%X11%%share/locale/zh_CN/LC_MESSAGES/ghb.mo