FreeBSD Bugzilla – Attachment 203725 Details for
Bug 237320
multimedia/lives: Fix build and packaging failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to multimedia/lives
lives-ver1.diff (text/plain), 28.55 KB, created by
Hiroo Ono
on 2019-04-16 20:57:24 UTC
(
hide
)
Description:
patch to multimedia/lives
Filename:
MIME Type:
Creator:
Hiroo Ono
Created:
2019-04-16 20:57:24 UTC
Size:
28.55 KB
patch
obsolete
>Index: multimedia/lives/Makefile >=================================================================== >--- multimedia/lives/Makefile (revision 498475) >+++ multimedia/lives/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= lives > PORTVERSION= 2.10.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= multimedia > MASTER_SITES= http://lives-video.com/releases/ > DISTNAME= LiVES-${PORTVERSION} >@@ -14,10 +14,11 @@ > LICENSE= GPLv3+ > LICENSE_FILE= ${WRKSRC}/COPYING > >-BROKEN= fails to patch >- >+OCV_VERSION= 3.4 > BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ >- ${LOCALBASE}/bin/analyseplugin:audio/ladspa >+ ${LOCALBASE}/bin/analyseplugin:audio/ladspa \ >+ ${LOCALBASE}/lib/opencv${OCV_VERSION}/libopencv_calib3d.so:graphics/opencv3 \ >+ ${LOCALBASE}/lib/opencv${OCV_VERSION}/libopencv_core.so:graphics/opencv3-core > LIB_DEPENDS= libasound.so:audio/alsa-lib \ > libjack.so:audio/jack \ > libogg.so:audio/libogg \ >@@ -25,8 +26,6 @@ > liboil-0.3.so:devel/liboil \ > libprojectM.so:graphics/libprojectm \ > libvisual-0.4.so:graphics/libvisual04 \ >- libopencv_calib3d.so:graphics/opencv \ >- libopencv_core.so:graphics/opencv-core \ > libpng.so:graphics/png \ > libfftw3.so:math/fftw3 \ > libfftw3f.so:math/fftw3-float \ >@@ -46,12 +45,16 @@ > ogmmerge:multimedia/ogmtools \ > transcode:multimedia/transcode \ > x264:multimedia/x264 \ >- cdrecord:sysutils/cdrtools >+ cdrecord:sysutils/cdrtools \ >+ ${LOCALBASE}/lib/opencv${OCV_VERSION}/libopencv_calib3d.so:graphics/opencv3 \ >+ ${LOCALBASE}/lib/opencv${OCV_VERSION}/libopencv_core.so:graphics/opencv3-core > > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > >-USES= compiler:c++11-lib gettext-runtime ghostscript:run libtool \ >- localbase pathfix perl5 pkgconfig python shebangfix tar:bzip2 >+USES= autoreconf compiler:c++11-lib gettext-runtime gettext-tools \ >+ ghostscript:run gl gnome \ >+ libtool localbase pathfix perl5 pkgconfig python sdl \ >+ shebangfix tar:bzip2 > SHEBANG_FILES= build-lives-rfx-plugin build-lives-rfx-plugin-multi \ > smogrify tools/autolives.pl lives-plugins/plugins/encoders/*_encoder \ > lives-plugins/marcos-encoders/*encoder* \ >@@ -111,7 +114,7 @@ > ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} > > post-install-DOXYGEN-on: >- @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR:S|${PREFIX}/||}/html \ >- ! -type d >> ${TMPPLIST}) >+ @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR_REL}/html \ >+ -not -type d >> ${TMPPLIST}) > > .include <bsd.port.mk> >Index: multimedia/lives/files/patch-Makefile.am >=================================================================== >--- multimedia/lives/files/patch-Makefile.am (nonexistent) >+++ multimedia/lives/files/patch-Makefile.am (working copy) >@@ -0,0 +1,11 @@ >+--- Makefile.am.orig 2019-04-16 07:43:04 UTC >++++ Makefile.am >+@@ -35,7 +35,7 @@ endif >+ SUBDIRS = $(OSC_SUBDIRS) intl $(WEED_SUBDIRS) src m4 lives-plugins po resources >+ PACKAGE_CAPITALISED = LiVES >+ >+-docdir = "$(prefix)/share/doc/$(PACKAGE)-$(VERSION)" >++docdir = "$(prefix)/share/doc/$(PACKAGE)" >+ sharedir = "$(prefix)/share" >+ >+ if HAVE_DOXYGEN > >Property changes on: multimedia/lives/files/patch-Makefile.am >___________________________________________________________________ >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/lives/files/patch-configure >=================================================================== >--- multimedia/lives/files/patch-configure (revision 498475) >+++ multimedia/lives/files/patch-configure (nonexistent) >@@ -1,42 +0,0 @@ >---- configure.orig 2015-12-23 17:59:14 UTC >-+++ configure >-@@ -28352,7 +28352,6 @@ if test -n "$WEED_CFLAGS"; then >- test $ac_status = 0; }; then >- pkg_cv_WEED_CFLAGS=`$PKG_CONFIG --cflags "libweed >= 0.8.0" 2>/dev/null` >- test "x$?" != "x0" && pkg_failed=yes >--else >- pkg_failed=yes >- fi >- else >-@@ -28441,7 +28440,6 @@ if test -n "$WEED_SLICE_CFLAGS"; then >- test $ac_status = 0; }; then >- pkg_cv_WEED_SLICE_CFLAGS=`$PKG_CONFIG --cflags "libweed_slice >= 0.8.0" 2>/dev/null` >- test "x$?" != "x0" && pkg_failed=yes >--else >- pkg_failed=yes >- fi >- else >-@@ -28531,7 +28529,6 @@ if test -n "$WEED_UTILS_CFLAGS"; then >- test $ac_status = 0; }; then >- pkg_cv_WEED_UTILS_CFLAGS=`$PKG_CONFIG --cflags "libweed-utils >= 0.8.0" 2>/dev/null` >- test "x$?" != "x0" && pkg_failed=yes >--else >- pkg_failed=yes >- fi >- else >-@@ -28620,7 +28617,6 @@ if test -n "$WEED_COMPAT_CFLAGS"; then >- test $ac_status = 0; }; then >- pkg_cv_WEED_COMPAT_CFLAGS=`$PKG_CONFIG --cflags "libweed-compat >= 0.9.0" 2>/dev/null` >- test "x$?" != "x0" && pkg_failed=yes >--else >- pkg_failed=yes >- fi >- else >-@@ -28709,7 +28705,6 @@ if test -n "$WEED_PLUGIN_CFLAGS"; then >- test $ac_status = 0; }; then >- pkg_cv_WEED_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "libweed-plugin >= 0.13.0" 2>/dev/null` >- test "x$?" != "x0" && pkg_failed=yes >--else >- pkg_failed=yes >- fi >- else > >Property changes on: multimedia/lives/files/patch-configure >___________________________________________________________________ >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/lives/files/patch-configure.ac >=================================================================== >--- multimedia/lives/files/patch-configure.ac (nonexistent) >+++ multimedia/lives/files/patch-configure.ac (working copy) >@@ -0,0 +1,22 @@ >+--- configure.ac.orig 2019-01-08 13:49:30 UTC >++++ configure.ac >+@@ -520,14 +520,16 @@ HAVE_OPENCV=false >+ >+ dnl check for opencv >+ >+-PKG_CHECK_MODULES(OPENCV, opencv >= 2.3.1, HAVE_OPENCV=true, HAVE_OPENCV=false) >++PKG_CHECK_MODULES(OPENCV, opencv3 >= 2.3.1, HAVE_OPENCV=true, HAVE_OPENCV=false) >+ >+-if test "HAVE_OPENCV" = "true" ; then >+-OPENCV_LIBS_ONLY_L = `pkg-config opencv --libs-only-L` >++if test "$HAVE_OPENCV" = "true" ; then >++OPENCV_LIBS_ONLY_L=`$PKG_CONFIG opencv3 --libs-only-L` >++OPENCV_LIBS_ONLY_OTHER=`$PKG_CONFIG opencv3 --libs-only-other` >+ fi >+ >+ AC_SUBST(OPENCV_CFLAGS) >+ AC_SUBST(OPENCV_LIBS_ONLY_L) >++AC_SUBST(OPENCV_LIBS_ONLY_OTHER) >+ >+ AM_CONDITIONAL(HAVE_OPENCV,$HAVE_OPENCV) >+ > >Property changes on: multimedia/lives/files/patch-configure.ac >___________________________________________________________________ >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/lives/files/patch-ffmpeg4 >=================================================================== >--- multimedia/lives/files/patch-ffmpeg4 (revision 498475) >+++ multimedia/lives/files/patch-ffmpeg4 (nonexistent) >@@ -1,343 +0,0 @@ >-https://sourceforge.net/p/lives/code/2742/ >-https://sourceforge.net/p/lives/code/2745/ >- >---- configure.orig 2017-06-29 01:44:43 UTC >-+++ configure >-@@ -787,6 +787,8 @@ HAVE_AVFORMAT_NEW_STREAM_FALSE >- HAVE_AVFORMAT_NEW_STREAM_TRUE >- HAVE_AV_CODEC_SET_PKT_TIMEBASE_FALSE >- HAVE_AV_CODEC_SET_PKT_TIMEBASE_TRUE >-+HAVE_AVCODEC_GET_NAME_FALSE >-+HAVE_AVCODEC_GET_NAME_TRUE >- HAVE_AVCODEC_ALLOC_CONTEXT3_FALSE >- HAVE_AVCODEC_ALLOC_CONTEXT3_TRUE >- HAVE_AVCODEC_OPEN2_FALSE >-@@ -26007,6 +26009,7 @@ fi >- >- HAVE_AVCODEC_OPEN2=false >- HAVE_AVCODEC_ALLOC_CONTEXT3=false >-+HAVE_AVCODEC_GET_NAME=false >- HAVE_AV_CODEC_SET_PKT_TIMEBASE=false >- HAVE_AVFORMAT_NEW_STREAM=false >- HAVE_AVFORMAT_FIND_STREAM_INFO=false >-@@ -26103,6 +26106,48 @@ else >- HAVE_AVCODEC_ALLOC_COBTEXT3=false >- fi >- >-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_get_name in -lavcodec" >&5 >-+$as_echo_n "checking for avcodec_get_name in -lavcodec... " >&6; } >-+if ${ac_cv_lib_avcodec_avcodec_get_name+:} false; then : >-+ $as_echo_n "(cached) " >&6 >-+else >-+ ac_check_lib_save_LIBS=$LIBS >-+LIBS="-lavcodec $LIBS" >-+cat confdefs.h - <<_ACEOF >conftest.$ac_ext >-+/* end confdefs.h. */ >-+ >-+/* Override any GCC internal prototype to avoid an error. >-+ Use char because int might match the return type of a GCC >-+ builtin and then its argument prototype would still apply. */ >-+#ifdef __cplusplus >-+extern "C" >-+#endif >-+char avcodec_get_name (); >-+int >-+main () >-+{ >-+return avcodec_get_name (); >-+ ; >-+ return 0; >-+} >-+_ACEOF >-+if ac_fn_c_try_link "$LINENO"; then : >-+ ac_cv_lib_avcodec_avcodec_get_name=yes >-+else >-+ ac_cv_lib_avcodec_avcodec_get_name=no >-+fi >-+rm -f core conftest.err conftest.$ac_objext \ >-+ conftest$ac_exeext conftest.$ac_ext >-+LIBS=$ac_check_lib_save_LIBS >-+fi >-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_get_name" >&5 >-+$as_echo "$ac_cv_lib_avcodec_avcodec_get_name" >&6; } >-+if test "x$ac_cv_lib_avcodec_avcodec_get_name" = xyes; then : >-+ HAVE_AVCODEC_GET_NAME=true >-+else >-+ HAVE_AVCODEC_GET_NAME=false >-+fi >-+ >- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_codec_set_pkt_timebase in -lavcodec" >&5 >- $as_echo_n "checking for av_codec_set_pkt_timebase in -lavcodec... " >&6; } >- if ${ac_cv_lib_avcodec_av_codec_set_pkt_timebase+:} false; then : >-@@ -26525,6 +26570,14 @@ else >- HAVE_AVCODEC_ALLOC_CONTEXT3_FALSE= >- fi >- >-+ if $HAVE_AVCODEC_GET_NAME; then >-+ HAVE_AVCODEC_GET_NAME_TRUE= >-+ HAVE_AVCODEC_GET_NAME_FALSE='#' >-+else >-+ HAVE_AVCODEC_GET_NAME_TRUE='#' >-+ HAVE_AVCODEC_GET_NAME_FALSE= >-+fi >-+ >- if $HAVE_AV_CODEC_SET_PKT_TIMEBASE; then >- HAVE_AV_CODEC_SET_PKT_TIMEBASE_TRUE= >- HAVE_AV_CODEC_SET_PKT_TIMEBASE_FALSE='#' >-@@ -29545,6 +29598,10 @@ Usually this means the macro was only invoked conditio >- fi >- if test -z "${HAVE_AVCODEC_ALLOC_CONTEXT3_TRUE}" && test -z "${HAVE_AVCODEC_ALLOC_CONTEXT3_FALSE}"; then >- as_fn_error $? "conditional \"HAVE_AVCODEC_ALLOC_CONTEXT3\" was never defined. >-+Usually this means the macro was only invoked conditionally." "$LINENO" 5 >-+fi >-+if test -z "${HAVE_AVCODEC_GET_NAME_TRUE}" && test -z "${HAVE_AVCODEC_GET_NAME_FALSE}"; then >-+ as_fn_error $? "conditional \"HAVE_AVCODEC_GET_NAME\" was never defined. >- Usually this means the macro was only invoked conditionally." "$LINENO" 5 >- fi >- if test -z "${HAVE_AV_CODEC_SET_PKT_TIMEBASE_TRUE}" && test -z "${HAVE_AV_CODEC_SET_PKT_TIMEBASE_FALSE}"; then >---- lives-plugins/plugins/decoders/asf_decoder.c.orig 2017-05-24 02:07:10 UTC >-+++ lives-plugins/plugins/decoders/asf_decoder.c >-@@ -439,7 +439,7 @@ static int get_next_video_packet(const lives_clip_data >- >- >- if (tdts == -1) { >-- priv->avpkt.size = priv->def_packet_size + FF_INPUT_BUFFER_PADDING_SIZE; >-+ priv->avpkt.size = priv->def_packet_size + AV_INPUT_BUFFER_PADDING_SIZE; >- priv->avpkt.data = malloc(priv->avpkt.size); >- memset(priv->avpkt.data, 0, priv->avpkt.size); >- } >-@@ -714,10 +714,10 @@ static int get_next_video_packet(const lives_clip_data >- fprintf(stderr, "asf_decoder: buffer overflow reading vid packet (%d + %d > %d),\n increasing buffer size\n", >- asf->packet_frag_offset, asf->packet_frag_size, priv->avpkt.size); >- >-- priv->avpkt.data = realloc(priv->avpkt.data, priv->def_packet_size * 2 + FF_INPUT_BUFFER_PADDING_SIZE); >-+ priv->avpkt.data = realloc(priv->avpkt.data, priv->def_packet_size * 2 + AV_INPUT_BUFFER_PADDING_SIZE); >- memset(priv->avpkt.data + priv->avpkt.size, 0, priv->def_packet_size); >- priv->def_packet_size *= 2; >-- priv->avpkt.size = priv->def_packet_size + FF_INPUT_BUFFER_PADDING_SIZE; >-+ priv->avpkt.size = priv->def_packet_size + AV_INPUT_BUFFER_PADDING_SIZE; >- } >- >- if (read(priv->fd, priv->avpkt.data + asf->packet_frag_offset, asf->packet_frag_size) >-@@ -1436,8 +1436,8 @@ seek_skip: >- if (!got_vidst) { >- priv->st->codec->extradata_size = size - 40; >- >-- priv->st->codec->extradata = malloc(priv->st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); >-- memset(priv->st->codec->extradata, 0, priv->st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); >-+ priv->st->codec->extradata = malloc(priv->st->codec->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); >-+ memset(priv->st->codec->extradata, 0, priv->st->codec->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); >- >- if (read(priv->fd, priv->st->codec->extradata, >- priv->st->codec->extradata_size) < priv->st->codec->extradata_size) { >---- lives-plugins/plugins/decoders/avformat_decoder.c.orig 2017-05-12 12:35:30 UTC >-+++ lives-plugins/plugins/decoders/avformat_decoder.c >-@@ -368,8 +368,12 @@ skip_init: >- >- get_samps_and_signed(cc->sample_fmt, &cdata->asamps, &cdata->asigned); >- >-- sprintf(cdata->audio_name, "%s", cc->codec_name); >-- >-+#ifdef HAVE_AVCODEC_GET_NAME >-+ sprintf(cdata->audio_name, "%s", avcodec_get_name(cc->codec_id)); >-+#else >-+ sprintf(cdata->audio_name, "%s", cc->codec->name); >-+#endif >-+ >- priv->astream = i; >- break; >- >-@@ -408,7 +412,11 @@ skip_init: >- return FALSE; >- } >- >-- sprintf(cdata->video_name, "%s", cc->codec_name); >-+#ifdef HAVE_AVCODEC_GET_NAME >-+ sprintf(cdata->video_name, "%s", avcodec_get_name(cc->codec_id)); >-+#else >-+ sprintf(cdata->video_name, "%s", cc->codec->name); >-+#endif >- >- cdata->par = cc->sample_aspect_ratio.num / cc->sample_aspect_ratio.den; >- if (cdata->par == 0) cdata->par = 1; >---- lives-plugins/plugins/decoders/flv_decoder.c.orig 2017-05-11 22:46:57 UTC >-+++ lives-plugins/plugins/decoders/flv_decoder.c >-@@ -465,7 +465,7 @@ static int flv_get_extradata(lives_clip_data_t *cdata, >- lives_flv_priv_t *priv = cdata->priv; >- >- av_free(priv->ctx->extradata); >-- priv->ctx->extradata = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE); >-+ priv->ctx->extradata = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); >- if (priv->ctx->extradata == NULL) return AVERROR(ENOMEM); >- priv->ctx->extradata_size = size; >- dummy = read(priv->fd, priv->ctx->extradata, priv->ctx->extradata_size); >-@@ -1143,12 +1143,12 @@ static boolean attach_stream(lives_clip_data_t *cdata, >- >- if (isclone) return TRUE; >- >-- pack.data = malloc(pack.size - priv->pack_offset + FF_INPUT_BUFFER_PADDING_SIZE); >-+ pack.data = malloc(pack.size - priv->pack_offset + AV_INPUT_BUFFER_PADDING_SIZE); >- >- av_init_packet(&priv->avpkt); >- >- priv->avpkt.size = read(priv->fd, pack.data, pack.size - priv->pack_offset); >-- memset(pack.data + priv->avpkt.size, 0, FF_INPUT_BUFFER_PADDING_SIZE); >-+ memset(pack.data + priv->avpkt.size, 0, AV_INPUT_BUFFER_PADDING_SIZE); >- priv->input_position += pack.size + 4; >- priv->avpkt.data = pack.data; >- priv->avpkt.dts = priv->avpkt.pts = pack.dts; >-@@ -1206,10 +1206,10 @@ static boolean attach_stream(lives_clip_data_t *cdata, >- continue; >- } >- >-- pack.data = malloc(pack.size - priv->pack_offset + FF_INPUT_BUFFER_PADDING_SIZE); >-+ pack.data = malloc(pack.size - priv->pack_offset + AV_INPUT_BUFFER_PADDING_SIZE); >- if (priv->pack_offset != 5) lseek(priv->fd, priv->pack_offset - 5, SEEK_CUR); >- priv->avpkt.size = read(priv->fd, pack.data, pack.size - priv->pack_offset); >-- memset(pack.data + priv->avpkt.size, 0, FF_INPUT_BUFFER_PADDING_SIZE); >-+ memset(pack.data + priv->avpkt.size, 0, AV_INPUT_BUFFER_PADDING_SIZE); >- priv->avpkt.data = pack.data; >- break; >- } >-@@ -1709,12 +1709,12 @@ boolean get_frame(const lives_clip_data_t *cdata, int6 >- continue; >- } >- >-- pack.data = malloc(pack.size - priv->pack_offset + FF_INPUT_BUFFER_PADDING_SIZE); >-+ pack.data = malloc(pack.size - priv->pack_offset + AV_INPUT_BUFFER_PADDING_SIZE); >- >- if (priv->pack_offset != 1) lseek(priv->fd, priv->pack_offset - 1, SEEK_CUR); >- >- priv->avpkt.size = read(priv->fd, pack.data, pack.size - priv->pack_offset); >-- memset(pack.data + priv->avpkt.size, 0, FF_INPUT_BUFFER_PADDING_SIZE); >-+ memset(pack.data + priv->avpkt.size, 0, AV_INPUT_BUFFER_PADDING_SIZE); >- priv->avpkt.data = pack.data; >- priv->avpkt.dts = priv->avpkt.pts = pack.dts; >- >---- lives-plugins/plugins/decoders/libav_helper.h.orig 2017-05-12 05:48:30 UTC >-+++ lives-plugins/plugins/decoders/libav_helper.h >-@@ -117,6 +117,21 @@ static UNUSED void av_set_pts_info(AVStream *s, int pt >- #define av_get_bits_per_sample(a) (av_get_bytes_per_sample(a) * 8) >- #endif >- >-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(56, 56, 0) >-+#ifndef FF_INPUT_BUFFER_PADDING_SIZE >-+#define AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_MIN_SIZE >-+#else >-+#define AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_PADDING_SIZE >-+#endif >-+#else >-+#ifndef AV_INPUT_BUFFER_PADDING_SIZE >-+#define AV_INPUT_BUFFER_PADDING_SIZE AV_INPUT_BUFFER_MIN_SIZE >-+#endif >-+#endif >-+ >-+#ifndef AV_CODEC_FLAG_GLOBAL_HEADER >-+#define AV_CODEC_FLAG_GLOBAL_HEADER CODEC_FLAG_GLOBAL_HEADER >-+#endif >- >- >- #endif // HAVE_LIBAV_LIBS >---- lives-plugins/plugins/decoders/mkv_decoder.c.orig 2017-05-12 08:39:45 UTC >-+++ lives-plugins/plugins/decoders/mkv_decoder.c >-@@ -883,7 +883,7 @@ static void matroska_fix_ass_packet(MatroskaDemuxConte >- es = ec / 100; >- ec -= 100 * es; >- *ptr++ = '\0'; >-- len = 50 + end - ptr + FF_INPUT_BUFFER_PADDING_SIZE; >-+ len = 50 + end - ptr + AV_INPUT_BUFFER_PADDING_SIZE; >- if (!(line = malloc(len))) >- return; >- snprintf(line, len, "Dialogue: %s,%d:%02d:%02d.%02d,%d:%02d:%02d.%02d,%s\r\n", >-@@ -1544,7 +1544,7 @@ static int lives_mkv_read_header(lives_clip_data_t *cd >- st->codec->extradata_size = extradata_size; >- } else if (track->codec_priv.data && track->codec_priv.size > 0) { >- st->codec->extradata = calloc(track->codec_priv.size + >-- FF_INPUT_BUFFER_PADDING_SIZE, 1); >-+ AV_INPUT_BUFFER_PADDING_SIZE, 1); >- if (st->codec->extradata == NULL) { >- fprintf(stderr, >- "mkv_decoder: Out of memory\n"); >---- lives-plugins/plugins/decoders/mpegts_decoder.c.orig 2017-05-12 12:37:42 UTC >-+++ lives-plugins/plugins/decoders/mpegts_decoder.c >-@@ -125,7 +125,7 @@ static inline void skip_bits(GetBitContext *s, int n) >- >- /** >- * init GetBitContext. >-- * @param buffer bitstream buffer, must be FF_INPUT_BUFFER_PADDING_SIZE bytes larger than the actual read bits >-+ * @param buffer bitstream buffer, must be AV_INPUT_BUFFER_PADDING_SIZE bytes larger than the actual read bits >- * because some optimized bitstream readers read 32 or 64 bit at once and could read over the end >- * @param bit_size the size of the buffer in bits >- * >-@@ -337,6 +337,7 @@ struct MpegTSContext { >- MpegTSFilter *pids[NB_PID_MAX]; >- }; >- >-+/* >- static const AVOption options[] = { >- { >- "compute_pcr", "Compute exact PCR for each transport stream packet.", offsetof(MpegTSContext, mpeg2ts_compute_pcr), AV_OPT_TYPE_INT, >-@@ -344,6 +345,7 @@ static const AVOption options[] = { >- }, >- { NULL }, >- }; >-+*/ >- >- /* TS stream handling */ >- >-@@ -1035,7 +1037,7 @@ static void new_pes_packet(PESContext *pes, AVPacket * >- fprintf(stderr, "mpegts_decoder: PES packet size mismatch\n"); >- //pes->flags |= AV_PKT_FLAG_CORRUPT; >- } >-- memset(pkt->data + pkt->size, 0, FF_INPUT_BUFFER_PADDING_SIZE); >-+ memset(pkt->data + pkt->size, 0, AV_INPUT_BUFFER_PADDING_SIZE); >- >- // Separate out the AC3 substream from an HDMV combined TrueHD/AC3 PID >- if (pes->sub_st && pes->stream_type == 0x83 && pes->extended_stream_id == 0x76) >-@@ -1192,7 +1194,7 @@ static int mpegts_push_data(lives_clip_data_t *cdata, >- pes->total_size = MAX_PES_PAYLOAD; >- >- /* allocate pes buffer */ >-- pes->buffer = av_malloc(pes->total_size + FF_INPUT_BUFFER_PADDING_SIZE); >-+ pes->buffer = av_malloc(pes->total_size + AV_INPUT_BUFFER_PADDING_SIZE); >- if (!pes->buffer) >- return AVERROR(ENOMEM); >- >-@@ -1289,7 +1291,7 @@ skip: >- if (pes->data_index > 0 && pes->data_index + buf_size > pes->total_size) { >- new_pes_packet(pes, ts->pkt); >- pes->total_size = MAX_PES_PAYLOAD; >-- pes->buffer = av_malloc(pes->total_size + FF_INPUT_BUFFER_PADDING_SIZE); >-+ pes->buffer = av_malloc(pes->total_size + AV_INPUT_BUFFER_PADDING_SIZE); >- if (!pes->buffer) >- return AVERROR(ENOMEM); >- ts->stop_parse = 1; >-@@ -1454,7 +1456,7 @@ int ff_mp4_read_dec_config_descr(lives_clip_data_t *cd >- if (!len || (uint64_t)len > (1 << 30)) >- return -1; >- av_free(st->codec->extradata); >-- st->codec->extradata = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE); >-+ st->codec->extradata = av_mallocz(len + AV_INPUT_BUFFER_PADDING_SIZE); >- if (!st->codec->extradata) >- return AVERROR(ENOMEM); >- memcpy(st->codec->extradata, p, len); >-@@ -1802,7 +1804,7 @@ int ff_parse_mpeg2_descriptor(lives_clip_data_t *cdata >- //if (st->codec->extradata_size == 4 && memcmp(st->codec->extradata, *pp, 4)) >- //av_log_ask_for_sample(fc, "DVB sub with multiple IDs\n"); >- //} else { >-- st->codec->extradata = av_malloc(4 + FF_INPUT_BUFFER_PADDING_SIZE); >-+ st->codec->extradata = av_malloc(4 + AV_INPUT_BUFFER_PADDING_SIZE); >- if (st->codec->extradata) { >- st->codec->extradata_size = 4; >- memcpy(st->codec->extradata, *pp, 4); >-@@ -3141,8 +3143,8 @@ skip_det: >- >- priv->codec = codec; >- >-- if (codec->capabilities & CODEC_CAP_TRUNCATED) >-- ctx->flags |= CODEC_FLAG_TRUNCATED; >-+ if (codec->capabilities & AV_CODEC_CAP_TRUNCATED) >-+ ctx->flags |= AV_CODEC_FLAG_TRUNCATED; >- >- // re-scan with avcodec; priv->data_start holds video data start position >- > >Property changes on: multimedia/lives/files/patch-ffmpeg4 >___________________________________________________________________ >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/lives/files/patch-lives-plugins_weed-plugins_Makefile.am >=================================================================== >--- multimedia/lives/files/patch-lives-plugins_weed-plugins_Makefile.am (nonexistent) >+++ multimedia/lives/files/patch-lives-plugins_weed-plugins_Makefile.am (working copy) >@@ -0,0 +1,12 @@ >+--- lives-plugins/weed-plugins/Makefile.am.orig 2019-04-14 20:00:14 UTC >++++ lives-plugins/weed-plugins/Makefile.am >+@@ -85,7 +85,8 @@ endif >+ >+ if HAVE_OPENCV >+ farneback_analyser_libs = farneback_analyser.la >+-farneback_analyser_la_LDFLAGS = $(AM_LDFLAGS) $(OPENCV_LIBS_ONLY_L) -lopencv_core -lopencv_video >++farneback_analyser_la_LDFLAGS = $(AM_LDFLAGS) $(OPENCV_LIBS_ONLY_L) $(OPENCV_LIBS_ONLY_OTHER) -lopencv_core -lopencv_video >++farneback_analyser_la_CXXFLAGS = $(OPENCV_CFLAGS) >+ farneback_analyser_la_CPPFLAGS = $(AM_CPPFLAGS) >+ farneback_analyser_la_SOURCES = farneback_analyser.cpp >+ > >Property changes on: multimedia/lives/files/patch-lives-plugins_weed-plugins_Makefile.am >___________________________________________________________________ >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/lives/files/patch-lives-plugins_weed-plugins_gdk_Makefile.am >=================================================================== >--- multimedia/lives/files/patch-lives-plugins_weed-plugins_gdk_Makefile.am (nonexistent) >+++ multimedia/lives/files/patch-lives-plugins_weed-plugins_gdk_Makefile.am (working copy) >@@ -0,0 +1,13 @@ >+--- lives-plugins/weed-plugins/gdk/Makefile.am.orig 2019-04-15 10:55:37 UTC >++++ lives-plugins/weed-plugins/gdk/Makefile.am >+@@ -59,8 +59,8 @@ EXTRA_DIST=data icons >+ >+ install-data-local: >+ mkdir -p "$(DESTDIR)$(fxpluginslibdir)" >+- cp -rf data/ "$(DESTDIR)$(fxpluginslibdir)" && chmod -R a+r "$(DESTDIR)$(fxpluginslibdir)/data/" >+- cp -rf icons/ "$(DESTDIR)$(fxpluginslibdir)" && chmod -R a+r "$(DESTDIR)$(fxpluginslibdir)/icons/" >++ cp -rf data "$(DESTDIR)$(fxpluginslibdir)" && chmod -R a+r "$(DESTDIR)$(fxpluginslibdir)/data" >++ cp -rf icons "$(DESTDIR)$(fxpluginslibdir)" && chmod -R a+r "$(DESTDIR)$(fxpluginslibdir)/icons" >+ $(MAKE) -i install-data-local-remove-vcs-files >+ >+ install-data-local-remove-vcs-files: > >Property changes on: multimedia/lives/files/patch-lives-plugins_weed-plugins_gdk_Makefile.am >___________________________________________________________________ >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/lives/pkg-plist >=================================================================== >--- multimedia/lives/pkg-plist (revision 498475) >+++ multimedia/lives/pkg-plist (working copy) >@@ -76,11 +76,6 @@ > lib/lives/plugins/effects/realtime/weed/colorkey.so > lib/lives/plugins/effects/realtime/weed/comic.so > lib/lives/plugins/effects/realtime/weed/compositor.so >-lib/lives/plugins/effects/realtime/weed/data/fourKlives/songs/examples.txt >-lib/lives/plugins/effects/realtime/weed/data/fourKlives/songs/modulations.txt >-lib/lives/plugins/effects/realtime/weed/data/fourKlives/songs/newlives.txt >-lib/lives/plugins/effects/realtime/weed/data/fourKlives/songs/regrlives.txt >-lib/lives/plugins/effects/realtime/weed/data/fourKlives/songs/roselives.txt > lib/lives/plugins/effects/realtime/weed/data_processor.so > lib/lives/plugins/effects/realtime/weed/data_unpacker.so > lib/lives/plugins/effects/realtime/weed/deinterlace.so >@@ -88,8 +83,13 @@ > lib/lives/plugins/effects/realtime/weed/farneback_analyser.so > lib/lives/plugins/effects/realtime/weed/fg_bg_removal.so > lib/lives/plugins/effects/realtime/weed/fireTV.so >+%%FREI0R%%lib/lives/plugins/effects/realtime/weed/frei0r/frei0r.so > lib/lives/plugins/effects/realtime/weed/fourKlives.so >-%%FREI0R%%lib/lives/plugins/effects/realtime/weed/frei0r/frei0r.so >+lib/lives/plugins/effects/realtime/weed/fourKlives/songs/examples.txt >+lib/lives/plugins/effects/realtime/weed/fourKlives/songs/modulations.txt >+lib/lives/plugins/effects/realtime/weed/fourKlives/songs/newlives.txt >+lib/lives/plugins/effects/realtime/weed/fourKlives/songs/regrlives.txt >+lib/lives/plugins/effects/realtime/weed/fourKlives/songs/roselives.txt > lib/lives/plugins/effects/realtime/weed/gdk_fast_resize.so > lib/lives/plugins/effects/realtime/weed/haar_analyser.so > lib/lives/plugins/effects/realtime/weed/haip.so >@@ -200,12 +200,11 @@ > lib/lives/plugins/playback/audiostream/audiostreamer.pl > lib/lives/plugins/playback/video/SDL.so > lib/lives/plugins/playback/video/icecast_output.so >+lib/lives/plugins/playback/video/libav_stream.so > lib/lives/plugins/playback/video/lives2lives_stream.so >-lib/lives/plugins/playback/video/libav_stream.so > lib/lives/plugins/playback/video/oggstream.so > lib/lives/plugins/playback/video/openGL.so > lib/lives/plugins/playback/video/vloopback.so >-lib/lives/plugins/playback/video/vloopback2.so > lib/lives/plugins/playback/video/yuv4mpeg_stream.so > libdata/pkgconfig/libweed-compat.pc > libdata/pkgconfig/libweed-plugin.pc >@@ -214,13 +213,6 @@ > libdata/pkgconfig/libweed_slice.pc > share/app-install/icons/lives.png > share/applications/LiVES.desktop >-share/icons/hicolor/128x128/apps/lives.png >-share/icons/hicolor/16x16/apps/lives.png >-share/icons/hicolor/22x22/apps/lives.png >-share/icons/hicolor/256x256/apps/lives.png >-share/icons/hicolor/32x32/apps/lives.png >-share/icons/hicolor/64x64/apps/lives.png >-share/pixmaps/lives.png > %%PORTDOCS%%%%DOCSDIR%%/AUTHORS > %%PORTDOCS%%%%DOCSDIR%%/BUGS > %%PORTDOCS%%%%DOCSDIR%%/ChangeLog >@@ -231,11 +223,18 @@ > %%PORTDOCS%%%%DOCSDIR%%/README.multi_encoder > %%PORTDOCS%%%%DOCSDIR%%/RFX.spec > %%PORTDOCS%%%%DOCSDIR%%/clip_format.txt >+%%PORTDOCS%%%%DOCSDIR%%/c++-bindings.odt > %%PORTDOCS%%%%DOCSDIR%%/lives-OMC.txt > %%PORTDOCS%%%%DOCSDIR%%/rfxbuilder.odt > %%PORTDOCS%%%%DOCSDIR%%/weedevents.txt > %%PORTDOCS%%%%DOCSDIR%%/weedspec.txt >+share/icons/hicolor/128x128/apps/lives.png >+share/icons/hicolor/16x16/apps/lives.png >+share/icons/hicolor/22x22/apps/lives.png >+share/icons/hicolor/256x256/apps/lives.png >+share/icons/hicolor/32x32/apps/lives.png > share/icons/hicolor/48x48/apps/lives.png >+share/icons/hicolor/64x64/apps/lives.png > %%DATADIR%%/default.keymap > %%DATADIR%%/icons/audio.png > %%DATADIR%%/icons/fullscreen.png >@@ -372,6 +371,8 @@ > %%NLS%%share/locale/uk/LC_MESSAGES/lives.mo > %%NLS%%share/locale/uz/LC_MESSAGES/lives.mo > %%NLS%%share/locale/zh_CN/LC_MESSAGES/lives.mo >+share/pixmaps/lives.png > share/pixmaps/lives.xpm >+@dir lib/lives/plugins/effects/realtime/weed/data >+@dir lib/lives/plugins/effects/realtime/weed/icons > @dir %%DATADIR%%/devicemaps >-@dir lib/lives/plugins/effects/realtime/weed/icons
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 237320
:
203725
|
203813
|
207303
|
207305
|
207319