* [gentoo-commits] repo/gentoo:master commit in: media-video/gpac/files/
@ 2017-01-04 10:15 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-01-04 10:15 UTC (permalink / raw
To: gentoo-commits
commit: fbf3e88e6e861a7af1da540a811cdfc82cad5b19
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Dec 30 14:27:54 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 10:13:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf3e88e
media-video/gpac: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3286
media-video/gpac/files/210_all_system_libogg.patch | 28 ---
.../gpac/files/gpac-0.5.0-build-fixes.patch | 113 -----------
media-video/gpac/files/gpac-0.5.0-ffmpeg2.patch | 28 ---
media-video/gpac/files/gpac-0.5.0-libav9.patch | 93 ----------
media-video/gpac/files/gpac-0.5.0-mp42ts.patch | 17 --
.../gpac/files/gpac-0.5.0-respect_ldflags.patch | 45 -----
.../gpac/files/gpac-0.5.1-build-fixes.patch | 206 ---------------------
7 files changed, 530 deletions(-)
diff --git a/media-video/gpac/files/210_all_system_libogg.patch b/media-video/gpac/files/210_all_system_libogg.patch
deleted file mode 100644
index e09f57c..00000000
--- a/media-video/gpac/files/210_all_system_libogg.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- src/Makefile.old 2012-07-15 15:34:54.000000000 +0200
-+++ src/Makefile 2012-07-15 15:39:51.000000000 +0200
-@@ -92,9 +92,6 @@
- ifeq ($(DISABLE_M2PS), no)
- LIBGPAC_MEDIATOOLS+=media_tools/mpeg2_ps.o
- endif
--ifeq ($(DISABLE_OGG), no)
--LIBGPAC_MEDIATOOLS+=media_tools/gpac_ogg.o
--endif
- ifeq ($(DISABLE_MCRYPT), no)
- LIBGPAC_MEDIATOOLS+=media_tools/ismacryp.o
- endif
-@@ -230,6 +227,15 @@
- endif
- endif
-
-+#6 - OGG support
-+ifeq ($(CONFIG_OGG), no)
-+else
-+LINKLIBS+= -logg
-+ifeq ($(CONFIG_OGG), local)
-+NEED_LOCAL_LIB="yes"
-+MEDIATOOLS_CFLAGS+=-I"$(LOCAL_INC_PATH)/ogg"
-+endif
-+endif
-
- ## libgpac compositor compilation options
- COMPOSITOR_CFLAGS=
diff --git a/media-video/gpac/files/gpac-0.5.0-build-fixes.patch b/media-video/gpac/files/gpac-0.5.0-build-fixes.patch
deleted file mode 100644
index 741fd28..00000000
--- a/media-video/gpac/files/gpac-0.5.0-build-fixes.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-diff -ur gpac/configure gpac.new/configure
---- gpac/configure 2012-05-25 08:05:57.000000000 -0400
-+++ gpac.new/configure 2012-10-04 13:59:58.000000000 -0400
-@@ -103,6 +103,7 @@
- has_openjpeg="no"
- gprof_build="no"
- static_build="no"
-+static_libs="no"
- want_pic="no"
- has_joystick="no"
- has_xul="no"
-@@ -221,6 +222,7 @@
- --disable-platinum disable Platinum UPnP support
- --disable-alsa disable Alsa audio
- --disable-oss-audio disable OSS audio
-+ --disable-sdl disable SDL support
- --enable-jack enable Jack audio
- --disable-jack disable Jack audio
- --enable-pulseaudio enable Pulse audio
-@@ -236,6 +238,7 @@
- --enable-amr-wb enable AMR WB library
- --enable-amr enable both AMR NB and WB libraries
- --enable-static-bin GPAC static build
-+ --enable-static-lib GPAC static libraries build
- --static-mp4box configure for static linking of MP4Box.
- --enable-depth enables depth handling in the compositor
-
-@@ -1607,6 +1610,8 @@
- ;;
- --enable-static-bin) static_build="yes";
- ;;
-+ --enable-static-lib) static_libs="yes";
-+ ;;
- --disable-ipv6) has_ipv6="no"
- ;;
- --disable-wx) has_wx="no"
-@@ -1615,6 +1620,8 @@
- ;;
- --disable-oss-audio) has_oss_audio="no"
- ;;
-+ --disable-sdl) has_sdl="no"
-+ ;;
- --disable-x11-shm) has_x11_shm="no"
- ;;
- --disable-x11-xv) has_x11_xv="no"
-@@ -2157,6 +2164,7 @@
- echo "debug version: $debuginfo"
- echo "GProf enabled: $gprof_build"
- echo "Static build enabled: $static_build"
-+echo "Static libs build enabled: $static_libs"
- echo "Memory tracking enabled: $use_memory_tracking"
- echo "Use standard memory allocator: $use_std_alloc"
- echo "fixed-point version: $use_fixed_point"
-@@ -2700,6 +2708,7 @@
- echo "DEBUGBUILD=$debuginfo" >> config.mak
- echo "GPROFBUILD=$gprof_build" >> config.mak
- echo "STATICBUILD=$static_build" >> config.mak
-+echo "STATICLIBS=$static_libs" >> config.mak
-
- echo "CONFIG_IPV6=$has_ipv6" >> config.mak
- if test "$has_ipv6" = "yes" ; then
-@@ -2893,8 +2893,6 @@
- mkdir ./bin/gcc/temp
- fi
-
--echo '%.opic : %.c' >> config.mak
--echo ' $(CC) $(CFLAGS) $(PIC_CFLAGS) -c $< -o $@' >> config.mak
-
- #pkg-config
- echo "prefix=$prefix" > gpac.pc
-diff -ur gpac/Makefile gpac.new/Makefile
---- gpac/Makefile 2012-05-25 08:05:57.000000000 -0400
-+++ gpac.new/Makefile 2012-10-04 14:05:08.000000000 -0400
-@@ -119,9 +119,6 @@
- $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME)
- ln -sf libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME) $(DESTDIR)$(prefix)/$(libdir)/libgpac.so.$(VERSION_MAJOR)
- ln -sf libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME) $(DESTDIR)$(prefix)/$(libdir)/libgpac.so
--ifeq ($(DESTDIR)$(prefix),$(prefix))
-- ldconfig || true
--endif
- endif
- endif
-
-@@ -138,7 +135,9 @@
- $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/include/gpac/enst/*.h "$(DESTDIR)$(prefix)/include/gpac/enst"
- endif
- mkdir -p "$(DESTDIR)$(prefix)/$(libdir)"
-+ifeq ($(STATICLIBS),yes)
- $(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(libdir)"
-+endif
- $(MAKE) installdylib
-
- uninstall-lib:
-diff -ur gpac/src/Makefile gpac.new/src/Makefile
---- gpac/src/Makefile 2012-10-04 14:14:18.000000000 -0400
-+++ gpac.new/src/Makefile 2012-10-04 13:59:58.000000000 -0400
-@@ -291,12 +291,16 @@
-
- $(LIB): $(LIBGPAC_UTILS) $(LIBGPAC_IETF) $(LIBGPAC_BIFS) $(LIBGPAC_ODF) $(LIBGPAC_LASER) $(LIBGPAC_ISOM) $(LIBGPAC_SCENEMANAGER) $(LIBGPAC_TERMINAL) compositor scenegraph mediatools mcrypt $(OBJS)
- ifeq ($(CONFIG_DARWIN),yes)
-+ifeq ($(STATICLIBS),yes)
- libtool -s -o ../bin/gcc/libgpac_static.a $(OBJS)
- ranlib ../bin/gcc/libgpac_static.a
-+endif
- $(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o ../bin/gcc/$@ $(OBJS) $(EXTRALIBS)
- else
-+ifeq ($(STATICLIBS),yes)
- ar cr ../bin/gcc/libgpac_static.a $(OBJS)
- ranlib ../bin/gcc/libgpac_static.a
-+endif
- $(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o ../bin/gcc/$@ $(OBJS) $(EXTRALIBS)
- ifeq (,$(findstring yes, $(CONFIG_WIN32)))
- mv ../bin/gcc/$@ ../bin/gcc/$@.$(VERSION_SONAME)
diff --git a/media-video/gpac/files/gpac-0.5.0-ffmpeg2.patch b/media-video/gpac/files/gpac-0.5.0-ffmpeg2.patch
deleted file mode 100644
index f9dd4ba..00000000
--- a/media-video/gpac/files/gpac-0.5.0-ffmpeg2.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: gpac/modules/ffmpeg_in/ffmpeg_demux.c
-===================================================================
---- gpac.orig/modules/ffmpeg_in/ffmpeg_demux.c
-+++ gpac/modules/ffmpeg_in/ffmpeg_demux.c
-@@ -614,7 +614,7 @@ static GF_Err FFD_ConnectService(GF_Inpu
- }
- /*setup downloader*/
- av_in->flags |= AVFMT_NOFILE;
--#if (LIBAVFORMAT_VERSION_MAJOR < 55) /*commit ffmpeg 603b8bc2a109978c8499b06d2556f1433306eca7*/
-+#if (LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,4,0)) /*commit ffmpeg 603b8bc2a109978c8499b06d2556f1433306eca7*/
- res = avformat_open_input(&ffd->ctx, szName, av_in, NULL);
- #else
- res = av_open_input_stream(&ffd->ctx, &ffd->io, szName, av_in, NULL);
-Index: gpac/modules/ffmpeg_in/ffmpeg_in.h
-===================================================================
---- gpac.orig/modules/ffmpeg_in/ffmpeg_in.h
-+++ gpac/modules/ffmpeg_in/ffmpeg_in.h
-@@ -96,6 +96,10 @@ void gf_av_vlog(void* avcl, int level, c
- #endif
-
-
-+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
-+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
-+#endif
-+
-
-
- /*FFMPEG decoder module */
diff --git a/media-video/gpac/files/gpac-0.5.0-libav9.patch b/media-video/gpac/files/gpac-0.5.0-libav9.patch
deleted file mode 100644
index 687bffc..00000000
--- a/media-video/gpac/files/gpac-0.5.0-libav9.patch
+++ /dev/null
@@ -1,93 +0,0 @@
---- ./work/gpac/modules/ffmpeg_in/ffmpeg_decode.c.original 2012-02-29 18:24:24.000000000 +0200
-+++ ./work/gpac/modules/ffmpeg_in/ffmpeg_decode.c 2013-05-28 13:45:02.415980878 +0300
-@@ -169,7 +169,7 @@ static GF_Err FFDEC_AttachStream(GF_Base
- frame = &ffd->base_frame;
- }
- if (!(*ctx)){
-- *ctx = avcodec_alloc_context();
-+ *ctx = avcodec_alloc_context3(NULL);
- }
-
- /*private FFMPEG DSI*/
-@@ -317,7 +317,7 @@ static GF_Err FFDEC_AttachStream(GF_Base
- (*ctx)->pix_fmt = ffd->raw_pix_fmt;
- if ((*ctx)->extradata && strstr((*ctx)->extradata, "BottomUp")) ffd->flipped = 1;
- } else {
-- if (avcodec_open((*ctx), (*codec) )<0) return GF_NON_COMPLIANT_BITSTREAM;
-+ if (avcodec_open2((*ctx), (*codec), NULL)<0) return GF_NON_COMPLIANT_BITSTREAM;
- }
-
- /*setup audio streams*/
-@@ -749,7 +749,7 @@ redecode:
- here this means the DSI was broken, so no big deal*/
- avcodec_close(ctx);
- *codec = avcodec_find_decoder(CODEC_ID_H263);
-- if (! (*codec) || (avcodec_open(ctx, *codec)<0)) return GF_NON_COMPLIANT_BITSTREAM;
-+ if (! (*codec) || (avcodec_open2(ctx, *codec, NULL)<0)) return GF_NON_COMPLIANT_BITSTREAM;
- #if USE_AVCODEC2
- if (avcodec_decode_video2(ctx, frame, &gotpic, &pkt) < 0) {
- #else
-@@ -759,7 +759,7 @@ redecode:
- avcodec_close(ctx);
- *codec = avcodec_find_decoder(old_codec);
- assert(*codec);
-- avcodec_open(ctx, *codec);
-+ avcodec_open2(ctx, *codec, NULL);
- return GF_NON_COMPLIANT_BITSTREAM;
- }
- }
---- ./work/gpac/modules/ffmpeg_in/ffmpeg_demux.c.original 2012-04-04 15:57:37.000000000 +0300
-+++ ./work/gpac/modules/ffmpeg_in/ffmpeg_demux.c 2013-05-28 13:58:57.416188668 +0300
-@@ -290,7 +290,7 @@ static Bool FFD_CanHandleURL(GF_InputSer
- return 0;
- }
- }
-- if (!ctx || av_find_stream_info(ctx) <0) goto exit;
-+ if (!ctx || avformat_find_stream_info(ctx, NULL) <0) goto exit;
-
- /*figure out if we can use codecs or not*/
- has_video = has_audio = 0;
-@@ -614,7 +614,7 @@ static GF_Err FFD_ConnectService(GF_Inpu
- }
- /*setup downloader*/
- av_in->flags |= AVFMT_NOFILE;
--#if FF_API_FORMAT_PARAMETERS /*commit ffmpeg 603b8bc2a109978c8499b06d2556f1433306eca7*/
-+#if (LIBAVFORMAT_VERSION_MAJOR < 55) /*commit ffmpeg 603b8bc2a109978c8499b06d2556f1433306eca7*/
- res = avformat_open_input(&ffd->ctx, szName, av_in, NULL);
- #else
- res = av_open_input_stream(&ffd->ctx, &ffd->io, szName, av_in, NULL);
-@@ -637,7 +637,7 @@ static GF_Err FFD_ConnectService(GF_Inpu
-
- GF_LOG(GF_LOG_DEBUG, GF_LOG_CONTAINER, ("[FFMPEG] looking for streams in %s - %d streams - type %s\n", ffd->ctx->filename, ffd->ctx->nb_streams, ffd->ctx->iformat->name));
-
-- res = av_find_stream_info(ffd->ctx);
-+ res = avformat_find_stream_info(ffd->ctx, NULL);
- if (res <0) {
- GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[FFMPEG] cannot locate streams - error %d\n", res));
- e = GF_NOT_SUPPORTED;
-@@ -699,7 +699,7 @@ static GF_Err FFD_ConnectService(GF_Inpu
- if (!ffd->seekable) {
- av_close_input_file(ffd->ctx);
- open_file(&ffd->ctx, szName, av_in);
-- av_find_stream_info(ffd->ctx);
-+ avformat_find_stream_info(ffd->ctx, NULL);
- }
- }
-
---- ./work/gpac/modules/redirect_av/ffmpeg_ts_muxer.c.original 2011-05-03 16:00:46.000000000 +0300
-+++ ./work/gpac/modules/redirect_av/ffmpeg_ts_muxer.c 2013-05-28 13:39:10.694202510 +0300
-@@ -231,12 +231,12 @@ GF_AbstractTSMuxer * ts_amux_new(GF_AVRe
- dump_format(ts->oc, 0, avr->destination, 1);
- GF_LOG(GF_LOG_INFO, GF_LOG_MODULE, ("[AVRedirect] DUMPING to %s...\n", ts->destination));
-
-- if (avcodec_open(ts->video_st->codec, avr->videoCodec) < 0) {
-+ if (avcodec_open2(ts->video_st->codec, avr->videoCodec, NULL) < 0) {
- GF_LOG(GF_LOG_ERROR, GF_LOG_MODULE, ("[AVRedirect] failed to open video codec\n"));
- return NULL;
- }
- #if REDIRECT_AV_AUDIO_ENABLED
-- if (avcodec_open(ts->audio_st->codec, avr->audioCodec) < 0) {
-+ if (avcodec_open2(ts->audio_st->codec, avr->audioCodec, NULL) < 0) {
- GF_LOG(GF_LOG_ERROR, GF_LOG_MODULE, ("[AVRedirect] failed to open audio codec\n"));
- return NULL;
- }
diff --git a/media-video/gpac/files/gpac-0.5.0-mp42ts.patch b/media-video/gpac/files/gpac-0.5.0-mp42ts.patch
deleted file mode 100644
index 2ab9b54..00000000
--- a/media-video/gpac/files/gpac-0.5.0-mp42ts.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-It is built but not installed.
-https://bugs.gentoo.org/show_bug.cgi?id=459630
-
-Index: gpac/Makefile
-===================================================================
---- gpac.orig/Makefile
-+++ gpac/Makefile
-@@ -59,6 +59,9 @@ install:
- $(INSTALL) -d "$(DESTDIR)$(prefix)/bin"
- ifeq ($(DISABLE_ISOFF), no)
- $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(DESTDIR)$(prefix)/bin"
-+ifeq ($(DISABLE_M2TS), no)
-+ $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/mp42ts "$(DESTDIR)$(prefix)/bin"
-+endif
- endif
- ifeq ($(DISABLE_PLAYER), no)
- $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin"
diff --git a/media-video/gpac/files/gpac-0.5.0-respect_ldflags.patch b/media-video/gpac/files/gpac-0.5.0-respect_ldflags.patch
deleted file mode 100644
index 3b37cfe..00000000
--- a/media-video/gpac/files/gpac-0.5.0-respect_ldflags.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-http://bugs.gentoo.org/258331
-http://bugs.gentoo.org/310257
-http://bugs.gentoo.org/331067
-
-Also fix underlinkage of the pulse module.
-
-Index: gpac/modules/jack/Makefile
-===================================================================
---- gpac.orig/modules/jack/Makefile
-+++ gpac/modules/jack/Makefile
-@@ -25,7 +25,7 @@ LIB=gm_jack.$(DYN_LIB_SUFFIX)
- all: $(LIB)
-
- $(LIB): $(OBJS)
-- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -ljack
-+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -ljack
-
-
- %.o: %.c
-Index: gpac/modules/oss_audio/Makefile
-===================================================================
---- gpac.orig/modules/oss_audio/Makefile
-+++ gpac/modules/oss_audio/Makefile
-@@ -35,7 +35,7 @@ LIB=gm_oss_audio.$(DYN_LIB_SUFFIX)
- all: $(LIB)
-
- $(LIB): $(OBJS)
-- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac $(OSS_LDFLAGS)
-+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac $(OSS_LDFLAGS)
- ifeq ($(STATICBUILD),yes)
- $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/gm_oss_audio-static.$(DYN_LIB_SUFFIX) $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac_static $(OSS_LDFLAGS)
- endif
-Index: gpac/modules/pulseaudio/Makefile
-===================================================================
---- gpac.orig/modules/pulseaudio/Makefile
-+++ gpac/modules/pulseaudio/Makefile
-@@ -25,7 +25,7 @@ LIB=gm_pulseaudio.$(DYN_LIB_SUFFIX)
- all: $(LIB)
-
- $(LIB): $(OBJS)
-- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -lpulse-simple
-+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -lpulse-simple -lpulse
-
-
- %.o: %.c
diff --git a/media-video/gpac/files/gpac-0.5.1-build-fixes.patch b/media-video/gpac/files/gpac-0.5.1-build-fixes.patch
deleted file mode 100644
index c28e803..00000000
--- a/media-video/gpac/files/gpac-0.5.1-build-fixes.patch
+++ /dev/null
@@ -1,206 +0,0 @@
-Index: Makefile
-===================================================================
---- Makefile (revision 5456)
-+++ Makefile (working copy)
-@@ -78,6 +78,9 @@
- ifeq ($(DISABLE_ISOFF), no)
- $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(DESTDIR)$(prefix)/bin"
- endif
-+ifeq ($(DISABLE_M2TS), no)
-+ $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/mp42ts "$(DESTDIR)$(prefix)/bin"
-+endif
- ifeq ($(DISABLE_PLAYER), no)
- $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin"
- endif
-@@ -142,9 +145,6 @@
- $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME)
- ln -sf libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME) $(DESTDIR)$(prefix)/$(libdir)/libgpac.so.$(VERSION_MAJOR)
- ln -sf libgpac.$(DYN_LIB_SUFFIX).$(VERSION_SONAME) $(DESTDIR)$(prefix)/$(libdir)/libgpac.so
--ifeq ($(DESTDIR)$(prefix),$(prefix))
-- ldconfig || true
--endif
- endif
- endif
-
-@@ -161,7 +161,9 @@
- $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/include/gpac/enst/*.h "$(DESTDIR)$(prefix)/include/gpac/enst"
- endif
- mkdir -p "$(DESTDIR)$(prefix)/$(libdir)"
-+ifeq ($(STATICLIBS),yes)
- $(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(libdir)"
-+endif
- $(MAKE) installdylib
-
- uninstall-lib:
-Index: applications/mp4box/main.c
-===================================================================
---- applications/mp4box/main.c (revision 5456)
-+++ applications/mp4box/main.c (working copy)
-@@ -1508,10 +1508,10 @@
- (*descs)[(*nb_descs)-1][len] = 0;
- }
- else if (!strnicmp(opts, "xlink=", 6)) {
-- if (strlen(opts+6) > 199) {
-+ if (strlen(opts+6) > 99) {
- GF_LOG(GF_LOG_ERROR, GF_LOG_DASH, ("[DASH] XLink cannot exceed 99 characters in MP4Box, truncating ...\n"));
- }
-- strncpy(di->xlink, opts+6, 199);
-+ strncpy(di->xlink, opts+6, 99);
- }
-
- if (!sep) break;
-Index: configure
-===================================================================
---- configure (revision 5456)
-+++ configure (working copy)
-@@ -101,6 +101,7 @@
- has_openjpeg="no"
- gprof_build="no"
- static_build="no"
-+static_libs="no"
- want_pic="no"
- has_joystick="no"
- has_xul="no"
-@@ -230,6 +231,7 @@
- --disable-platinum disable Platinum UPnP support
- --disable-alsa disable Alsa audio
- --disable-oss-audio disable OSS audio
-+ --disable-sdl disable SDL support
- --enable-jack enable Jack audio
- --disable-jack disable Jack audio
- --enable-pulseaudio enable Pulse audio
-@@ -245,6 +247,7 @@
- --enable-amr-wb enable AMR WB library
- --enable-amr enable both AMR NB and WB libraries
- --enable-static-bin GPAC static build
-+ --enable-static-lib GPAC static libraries build
- --static-mp4box configure for static linking of MP4Box.
- --enable-depth enables depth handling in the compositor
-
-@@ -1761,6 +1764,8 @@
- ;;
- --enable-static-bin) static_build="yes";
- ;;
-+ --enable-static-lib) static_libs="yes";
-+ ;;
- --disable-ipv6) has_ipv6="no"
- ;;
- --disable-wx) has_wx="no"
-@@ -1769,6 +1774,8 @@
- ;;
- --disable-oss-audio) has_oss_audio="no"
- ;;
-+ --disable-sdl) has_sdl="no"
-+ ;;
- --disable-x11-shm) has_x11_shm="no"
- ;;
- --disable-x11-xv) has_x11_xv="no"
-@@ -2422,6 +2429,7 @@
- echo "debug version: $debuginfo"
- echo "GProf enabled: $gprof_build"
- echo "Static build enabled: $static_build"
-+echo "Static libs build enabled: $static_libs"
- echo "Memory tracking enabled: $use_memory_tracking"
- echo "Use standard memory allocator: $use_std_alloc"
- echo "Fixed-Point Version: $use_fixed_point"
-@@ -3039,6 +3047,7 @@
- echo "DEBUGBUILD=$debuginfo" >> config.mak
- echo "GPROFBUILD=$gprof_build" >> config.mak
- echo "STATICBUILD=$static_build" >> config.mak
-+echo "STATICLIBS=$static_libs" >> config.mak
-
- echo "CONFIG_IPV6=$has_ipv6" >> config.mak
- if test "$has_ipv6" = "yes" ; then
-@@ -3237,12 +3246,6 @@
- fi
-
-
--echo '%.opic : %.c' >> config.mak
--if test "$verbose" = "no" ; then
--echo ' @echo " CC $<"' >> config.mak
--fi
--echo ' $(CC) $(CFLAGS) $(PIC_CFLAGS) -c $< -o $@' >> config.mak
--
- echo '%.o : %.c' >> config.mak
- if test "$verbose" = "no" ; then
- echo ' @echo " CC $<"' >> config.mak
-Index: modules/jack/Makefile
-===================================================================
---- modules/jack/Makefile (revision 5456)
-+++ modules/jack/Makefile (working copy)
-@@ -25,7 +25,7 @@
- all: $(LIB)
-
- $(LIB): $(OBJS)
-- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -ljack
-+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -ljack
-
- clean:
- rm -f $(OBJS) ../../bin/gcc/$(LIB)
-Index: modules/oss_audio/Makefile
-===================================================================
---- modules/oss_audio/Makefile (revision 5456)
-+++ modules/oss_audio/Makefile (working copy)
-@@ -35,7 +35,7 @@
- all: $(LIB)
-
- $(LIB): $(OBJS)
-- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac $(OSS_LDFLAGS)
-+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac $(OSS_LDFLAGS)
- ifeq ($(STATICBUILD),yes)
- $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/gm_oss_audio-static.$(DYN_LIB_SUFFIX) $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac_static $(OSS_LDFLAGS)
- endif
-Index: modules/pulseaudio/Makefile
-===================================================================
---- modules/pulseaudio/Makefile (revision 5456)
-+++ modules/pulseaudio/Makefile (working copy)
-@@ -25,7 +25,7 @@
- all: $(LIB)
-
- $(LIB): $(OBJS)
-- $(CC) $(SHFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -lpulse-simple
-+ $(CC) $(SHFLAGS) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(EXTRALIBS) -L../../bin/gcc -lgpac -L/usr/lib -lpulse-simple -lpulse
-
- clean:
- rm -f $(OBJS) ../../bin/gcc/$(LIB)
-Index: modules/vtt_in/vtt_dec.c
-===================================================================
---- modules/vtt_in/vtt_dec.c (revision 5456)
-+++ modules/vtt_in/vtt_dec.c (working copy)
-@@ -128,6 +128,7 @@
-
- case GPAC_OTI_SCENE_VTT_MP4:
- {
-+#ifdef GPAC_HAS_SPIDERMONKEY
- char start[100], end[100];
- GF_List *cues;
- cues = gf_webvtt_parse_cues_from_data(inBuffer, inBufferLength, 0);
-@@ -142,6 +143,7 @@
- }
- }
- gf_list_del(cues);
-+#endif
- }
- break;
-
-Index: src/Makefile
-===================================================================
---- src/Makefile (revision 5456)
-+++ src/Makefile (working copy)
-@@ -607,12 +607,16 @@
- @echo "OBJS $(OBJS)"
- @echo "LIBS $(EXTRALIBS)"
- ifeq ($(CONFIG_DARWIN),yes)
-+ifeq ($(STATICLIBS),yes)
- $(LIBTOOL) -s -o ../bin/gcc/libgpac_static.a $(OBJS)
- $(RANLIB) ../bin/gcc/libgpac_static.a
-+endif
- $(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
- else
-+ifeq ($(STATICLIBS),yes)
- $(AR) cr ../bin/gcc/libgpac_static.a $(OBJS)
- $(RANLIB) ../bin/gcc/libgpac_static.a
-+endif
- $(CC) $(SHFLAGS) $(LD_SONAME) $(LDFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
- ifeq (,$(findstring yes, $(CONFIG_WIN32)))
- mv $@ $@.$(VERSION_SONAME)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/gpac/files/
@ 2020-09-17 6:18 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2020-09-17 6:18 UTC (permalink / raw
To: gentoo-commits
commit: 427db0fe3c70631bba70533b8bbfc7b85a1c55d0
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Sep 16 17:18:03 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 06:18:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=427db0fe
media-video/gpac: remove unused patch
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17567
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-video/gpac/files/gpac-1.0.0-makefile-debian.patch | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/media-video/gpac/files/gpac-1.0.0-makefile-debian.patch b/media-video/gpac/files/gpac-1.0.0-makefile-debian.patch
deleted file mode 100644
index 8bb8074b1ce..00000000000
--- a/media-video/gpac/files/gpac-1.0.0-makefile-debian.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/Makefile b/Makefile
-index b147725..244b07c 100644
---- a/Makefile
-+++ b/Makefile
-@@ -164,7 +164,7 @@ ifneq ($(CONFIG_DARWIN),yes)
- $(INSTALL) -d "$(DESTDIR)$(prefix)/share/pixmaps"
- $(INSTALL) -d "$(DESTDIR)$(prefix)/share/applications"
-
--ifeq ($(IS_DEB_MAKE),undefined)
-+ifeq ($(IS_DEB_MAKE),)
- ln -sf $(DESTDIR)$(prefix)/share/gpac/res/gpac.png $(DESTDIR)/usr/share/pixmaps/gpac.png
- $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/share/gpac.desktop "$(DESTDIR)/usr/share/applications/"
- else
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-video/gpac/files/
@ 2022-11-15 22:43 Conrad Kostecki
0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2022-11-15 22:43 UTC (permalink / raw
To: gentoo-commits
commit: 79920e7ac5dbecd1c6b9001e4266bd027a7aaf8f
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Nov 14 17:49:23 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 22:43:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79920e7a
media-video/gpac: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
media-video/gpac/files/gpac-1.0.1-configure.patch | 117 ----------------------
1 file changed, 117 deletions(-)
diff --git a/media-video/gpac/files/gpac-1.0.1-configure.patch b/media-video/gpac/files/gpac-1.0.1-configure.patch
deleted file mode 100644
index e471157af6b6..000000000000
--- a/media-video/gpac/files/gpac-1.0.1-configure.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-* Makes static libs optional
-* Removes auto-SSE2 detection
-----
-diff --git a/Makefile b/Makefile
-index 303a413..1ef750e 100644
---- a/Makefile
-+++ b/Makefile
-@@ -284,8 +284,9 @@ ifeq ($(GPAC_ENST),yes)
- endif
-
- $(INSTALL) -d "$(DESTDIR)$(prefix)/$(lib_dir)"
-+ifeq ($(STATIC_LIBS), yes)
- $(INSTALL) $(INSTFLAGS) -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(lib_dir)" || true
--
-+endif
- $(INSTALL) -d $(DESTDIR)$(prefix)/$(lib_dir)/pkgconfig
- $(INSTALL) $(INSTFLAGS) -m 644 gpac.pc "$(DESTDIR)$(prefix)/$(lib_dir)/pkgconfig"
-
-diff --git a/configure b/configure
-index de8ea99..4f5a6a8 100755
---- a/configure
-+++ b/configure
-@@ -105,6 +105,7 @@ has_dvb4linux="no"
- has_openjpeg="no"
- gprof_build="no"
- static_build="no"
-+static_libs="no"
- want_pic="no"
- want_gcov="no"
- has_joystick="no"
-@@ -264,6 +265,7 @@ GPAC configuration options:
- --enable-amr-wb enable AMR WB library
- --enable-amr enable both AMR NB and WB libraries
- --enable-static-bin link statically against libgpac
-+ --enable-static-lib GPAC static libraries build
- --static-mp4box configure for static linking of MP4Box only.
- --enable-depth enables depth handling in the compositor
-
-@@ -706,14 +708,6 @@ if docc -lz -Wno-pointer-sign ; then
- fi
-
-
--#GCC opt
--if test "$no_gcc_opt" = "no"; then
-- CFLAGS="-O3 $CFLAGS"
--else
-- CFLAGS="-O0 $CFLAGS"
--fi
--
--
- #GCC PIC
- if test "$cross_prefix" != "" ; then
- want_pic="no"
-@@ -1710,6 +1704,8 @@ for opt do
- ;;
- --enable-static-bin) static_build="yes";
- ;;
-+ --enable-static-libs) static_libs="yes";
-+ ;;
- --disable-ipv6) has_ipv6="no"
- ;;
- --disable-platinum) has_platinum="no"
-@@ -2357,6 +2353,7 @@ echo "** GPAC $version rev$revision Core Configuration **"
- echo "debug version: $debuginfo"
- echo "GProf enabled: $gprof_build"
- echo "Static build enabled: $static_build"
-+echo "Static libs enabled: $static_libs"
- echo "Memory tracking enabled: $use_memory_tracking"
- echo "Sanitizer enabled: $enable_sanitizer"
- echo "Fixed-Point Version: $use_fixed_point"
-@@ -3049,6 +3046,7 @@ echo "DEBUGBUILD=$debuginfo" >> config.mak
- echo "GPROFBUILD=$gprof_build" >> config.mak
- echo "MP4BOX_STATIC=$static_mp4box" >> config.mak
- echo "STATICBUILD=$static_build" >> config.mak
-+echo "STATICLIBS=$static_libs" >> config.mak
-
- echo "CONFIG_IPV6=$has_ipv6" >> config.mak
- if test "$has_ipv6" = "yes" ; then
-diff --git a/src/Makefile b/src/Makefile
-index c483c8d..b24d5bb 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -347,7 +347,6 @@ filters_svc: $(LIBGPAC_FILTERS_SVC)
- @echo "LIBS $(EXTRALIBS)"
-
- ifeq ($(CONFIG_DARWIN),yes)
--
- $(LIBTOOL) -s -o ../bin/gcc/libgpac_static.a $(OBJS)
- $(RANLIB) ../bin/gcc/libgpac_static.a
- ifneq ($(STATICBUILD),yes)
-@@ -355,9 +354,10 @@ ifneq ($(STATICBUILD),yes)
- endif
-
- else
--
-+ifeq ($(STATICLIBS), yes)
- $(AR) cr ../bin/gcc/libgpac_static.a $(OBJS)
- $(RANLIB) ../bin/gcc/libgpac_static.a
-+endif
- ifneq ($(STATICBUILD),yes)
- $(CC) $(SHFLAGS) $(LD_SONAME) -o $@ $(OBJS) $(EXTRALIBS) $(LDFLAGS)
- mv $@ $@.$(VERSION_SONAME)
-diff --git a/configure b/configure
-index 4f5a6a8..baba248 100755
---- a/configure
-+++ b/configure
-@@ -735,10 +735,6 @@ cat > $TMPC << EOF
- int main( void ) { return 0; }
- EOF
-
--if docc -msse2 $LDFLAGS ; then
-- CFLAGS="$CFLAGS -msse2"
--fi
--
-
- #look for zlib
- cat > $TMPC << EOF
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-15 22:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 10:15 [gentoo-commits] repo/gentoo:master commit in: media-video/gpac/files/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2020-09-17 6:18 Sam James
2022-11-15 22:43 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox