From owner-svn-ports-all@freebsd.org Mon Dec 7 17:27:15 2015 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 BAF1E9C15CB; Mon, 7 Dec 2015 17:27:15 +0000 (UTC) (envelope-from danfe@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 7DF9A17E5; Mon, 7 Dec 2015 17:27:15 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB7HREYK018743; Mon, 7 Dec 2015 17:27:14 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB7HREAj018739; Mon, 7 Dec 2015 17:27:14 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201512071727.tB7HREAj018739@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 7 Dec 2015 17:27:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403214 - in head/multimedia/bombono: . 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.20 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: Mon, 07 Dec 2015 17:27:15 -0000 Author: danfe Date: Mon Dec 7 17:27:14 2015 New Revision: 403214 URL: https://svnweb.freebsd.org/changeset/ports/403214 Log: - Unbreak on FreeBSD versions where Boost is built with newer GCC: recent FFmpeg made AVFormatContext's data_offset private; seeking to a position below the internal data_offset will get rounded up to that point, so we can simply seek to 0 - While here, optimize away one REINPLACE_CMD by amending existing patch, sanitize port description text, and prefer external Boost libraries Patch by: Andy Whitcroft Obtained from: Ubuntu bombono-dvd package Modified: head/multimedia/bombono/Makefile head/multimedia/bombono/files/patch-SConstruct head/multimedia/bombono/files/patch-src-mgui-ffviewer.cpp head/multimedia/bombono/pkg-descr Modified: head/multimedia/bombono/Makefile ============================================================================== --- head/multimedia/bombono/Makefile Mon Dec 7 16:05:25 2015 (r403213) +++ head/multimedia/bombono/Makefile Mon Dec 7 17:27:14 2015 (r403214) @@ -32,15 +32,16 @@ LDFLAGS+= -L${LOCALBASE}/lib -lintl MAKE_ARGS= DVDREAD_INCLUDE=${LOCALBASE}/include \ DVDREAD_LIBPATH=${LOCALBASE}/lib \ CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ - CC="${CC}" CXX="${CXX}" + CC="${CC}" CXX="${CXX}" USE_EXT_BOOST=true -BROKEN= does not build +.include -post-patch: - @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/SConstruct +.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000023 +BROKEN= does not build on 10.x+ +.endif post-install: cd ${WRKSRC}/docs/man/man1 && ${INSTALL_MAN} bombono-dvd.1 \ mpeg2demux.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.include +.include Modified: head/multimedia/bombono/files/patch-SConstruct ============================================================================== --- head/multimedia/bombono/files/patch-SConstruct Mon Dec 7 16:05:25 2015 (r403213) +++ head/multimedia/bombono/files/patch-SConstruct Mon Dec 7 17:27:14 2015 (r403214) @@ -1,6 +1,15 @@ ---- SConstruct.orig 2012-02-08 13:19:21.000000000 +0100 -+++ SConstruct 2012-02-11 11:16:02.000000000 +0100 -@@ -148,18 +148,6 @@ +--- SConstruct.orig 2013-03-07 21:20:45 UTC ++++ SConstruct +@@ -59,7 +59,7 @@ ThreadOpt = ['-pthread'] + common_warn_flags = [] + cxx_warn_flags = [] + debug_flags = ['-g', '-O0'] +-release_flags = ['-O2'] ++release_flags = [''] + defines = [] + + def CalcCommonFlags(): +@@ -148,18 +148,6 @@ def AdjustConfigOptions(env): #env.Replace (PATH = user_options_dict['PATH']) #env.Replace (AR = user_options_dict['AR']) @@ -19,7 +28,7 @@ # Multithreading, global if IsThreadedBuild: env.Append(CCFLAGS = ThreadOpt, LINKFLAGS = ThreadOpt) -@@ -566,7 +554,6 @@ +@@ -571,7 +559,6 @@ def InstallDir(rel_dst_path, src_dir): BV.InstallDir(mgui_env, data_prefix, src_dir) InstallDir('share/bombono', "resources") Modified: head/multimedia/bombono/files/patch-src-mgui-ffviewer.cpp ============================================================================== --- head/multimedia/bombono/files/patch-src-mgui-ffviewer.cpp Mon Dec 7 16:05:25 2015 (r403213) +++ head/multimedia/bombono/files/patch-src-mgui-ffviewer.cpp Mon Dec 7 17:27:14 2015 (r403214) @@ -1,6 +1,6 @@ ---- src/mgui/ffviewer.cpp.orig 2013-10-24 20:27:18.405577708 +0200 -+++ src/mgui/ffviewer.cpp 2013-10-24 20:29:52.933598308 +0200 -@@ -406,7 +406,7 @@ +--- src/mgui/ffviewer.cpp.orig 2013-03-07 21:20:45 UTC ++++ src/mgui/ffviewer.cpp +@@ -406,7 +406,7 @@ static std::string CodecID2Str(CodecID c #else // CALC_FF_TAG @@ -9,3 +9,16 @@ { return Int2Str(codec_id); } +@@ -1119,8 +1119,10 @@ static bool SeekSetTime(FFViewer& ffv, d + { + bool seek_ok = TimeSeek(ffv, start_time, time); + if( !seek_ok && CanByteSeek(ffv.iCtx) ) +- // тогда переходим в начало файла +- seek_ok = DoSeek(ffv, ffv.iCtx->data_offset, true); ++ // then seek to the file's start; since data_offset is private ++ // now, if we seek to 0 and there is a data_offset our seek will ++ // be rounded to the minimum possible, i.e. data_offset. ++ seek_ok = DoSeek(ffv, /* ffv.iCtx->data_offset */ 0, true); + + // некоторое видео глючит в начале (Hellboy), из-за чего + // последовательный доступ выполняется с перескоками - Modified: head/multimedia/bombono/pkg-descr ============================================================================== --- head/multimedia/bombono/pkg-descr Mon Dec 7 16:05:25 2015 (r403213) +++ head/multimedia/bombono/pkg-descr Mon Dec 7 17:27:14 2015 (r403214) @@ -1,11 +1,10 @@ -Bombono DVD is a DVD authoring program. -It is made easy to use and has nice and clean GUI (Gtk). +Bombono DVD is a DVD authoring program. It is made easy to use and has a +nice and clean GUI (GTK+ based). The main features of Bombono DVD are: -The main features of Bombono DVD are: - +excellent MPEG viewer: Timeline and Monitor - +real WYSIWYG Menu Editor with live thumbnails - +comfortable Drag-n-Drop support - +you can author to folder, make ISO-image or burn directly to DVD - +reauthoring: you can import video from DVD discs. + - Excellent MPEG viewer, with timeline and monitor + - Real WYSIWYG menu editor with live thumbnails + - Comfortable drag-n-drop support + - Can author to a folder, make ISO image, or burn directly to DVD + - Reauthoring: can import video from DVD discs -WWW: http://www.bombono.org +WWW: http://www.bombono.org/