diff options
author | Olivier Crête <tester@gentoo.org> | 2007-04-17 21:28:36 +0000 |
---|---|---|
committer | Olivier Crête <tester@gentoo.org> | 2007-04-17 21:28:36 +0000 |
commit | 7224929349f40db9bf6e1499f79b5503f1053542 (patch) | |
tree | bae79e91cb776129e52df9f6a61c200633bd5f1b /media-video/mpeg4ip/files | |
parent | ao and sdl at the same time doesn't work. Added a clarification (diff) | |
download | gentoo-2-7224929349f40db9bf6e1499f79b5503f1053542.tar.gz gentoo-2-7224929349f40db9bf6e1499f79b5503f1053542.tar.bz2 gentoo-2-7224929349f40db9bf6e1499f79b5503f1053542.zip |
Add --as-need patch from Gergan Penkov, fixes bug #129472
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-video/mpeg4ip/files')
-rw-r--r-- | media-video/mpeg4ip/files/digest-mpeg4ip-1.5.0.1-r2 | 3 | ||||
-rw-r--r-- | media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-as-needed.patch | 132 |
2 files changed, 135 insertions, 0 deletions
diff --git a/media-video/mpeg4ip/files/digest-mpeg4ip-1.5.0.1-r2 b/media-video/mpeg4ip/files/digest-mpeg4ip-1.5.0.1-r2 new file mode 100644 index 000000000000..c15cf36b860f --- /dev/null +++ b/media-video/mpeg4ip/files/digest-mpeg4ip-1.5.0.1-r2 @@ -0,0 +1,3 @@ +MD5 f53b06c62e914ab724bda9d9af041e08 mpeg4ip-1.5.0.1.tar.gz 4826180 +RMD160 fee5c21c17a470e6de349e07d233a1eb46b2064a mpeg4ip-1.5.0.1.tar.gz 4826180 +SHA256 23535dd818898ec75ffa0df22d9f27189e77361ce8a500d58328073ee247bcb6 mpeg4ip-1.5.0.1.tar.gz 4826180 diff --git a/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-as-needed.patch b/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-as-needed.patch new file mode 100644 index 000000000000..6cc9dbaa8430 --- /dev/null +++ b/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-as-needed.patch @@ -0,0 +1,132 @@ +--- lib/mpeg2ps/Makefile.am.orig 2005-09-28 22:38:27.000000000 +0200 ++++ lib/mpeg2ps/Makefile.am 2006-06-10 21:08:09.000000000 +0200 +@@ -11,11 +11,10 @@ + AM_CXXFLAGS = -D_REENTRANT @BILLS_CPPWARNINGS@ + + bin_PROGRAMS = mpeg_ps_info mpeg_ps_extract +-prog_libadd = \ +- $(top_builddir)/lib/gnu/libmpeg4ip_gnu.la \ ++prog_libadd = libmpeg2_program.la \ + $(top_builddir)/lib/mp4av/libmp4av.la \ + $(top_builddir)/lib/mp4v2/libmp4v2.la \ +- libmpeg2_program.la ++ $(top_builddir)/lib/gnu/libmpeg4ip_gnu.la + + mpeg_ps_info_SOURCES = ps_info.cpp + mpeg_ps_info_LDADD = $(prog_libadd) +@@ -25,10 +24,9 @@ + + mpeg2ps_test_SOURCES = test.cpp + mpeg2ps_test_LDADD = libmpeg2_program.la \ +- $(top_builddir)/lib/gnu/libmpeg4ip_gnu.la \ + $(top_builddir)/lib/mp4av/libmp4av.la \ + $(top_builddir)/lib/mp4v2/libmp4v2.la \ +- libmpeg2_program.la ++ $(top_builddir)/lib/gnu/libmpeg4ip_gnu.la + + EXTRA_DIST=libmpeg2ps.dsp + +--- lib/mp4av/Makefile.am.orig 2006-05-11 20:17:56.000000000 +0200 ++++ lib/mp4av/Makefile.am 2006-06-10 23:00:01.000000000 +0200 +@@ -49,5 +49,8 @@ + rfch264.cpp + + ++libmp4av_la_LIBADD = \ ++ $(top_builddir)/lib/mp4v2/libmp4v2.la ++ + EXTRA_DIST = libmp4av.dsp + +--- lib/Makefile.am.orig 2006-03-21 00:08:20.000000000 +0100 ++++ lib/Makefile.am 2006-06-10 23:44:39.000000000 +0200 +@@ -8,4 +8,4 @@ + endif + endif + +-SUBDIRS = utils audio avi fposrec gnu ismacryp mp4av mp4 mp4v2 msg_queue rtp sdp mpeg2t mpeg2ps srtp $(extradir) ++SUBDIRS = utils audio avi fposrec gnu ismacryp mp4 mp4v2 mp4av mp4v2/util msg_queue rtp sdp mpeg2t mpeg2ps srtp $(extradir) +--- lib/mp4v2/Makefile.am 2006-06-11 00:02:16.000000000 +0200 ++++ lib/mp4v2/Makefile.am.orig 2006-05-11 20:17:56.000000000 +0200 +@@ -1,4 +1,4 @@ +-SUBDIRS = . test util ++SUBDIRS = . test + + INCLUDES = -I$(top_srcdir)/include + +--- configure.in.orig 2006-05-11 20:18:04.000000000 +0200 ++++ configure.in 2006-06-11 02:15:47.000000000 +0200 +@@ -351,6 +351,21 @@ + [player=true]) + AM_CONDITIONAL(PLAYER, [test x$player = xtrue]) + ++dnl We need -lX11 as they are using XMoveWindow from it ++if test $player=true ; then ++ dnl Xorg or XFree86 ++ AC_PATH_XTRA ++ ++ if test "$no_x" = "yes" ; then ++ AC_MSG_WARN([--enable-player was passed to configure, but we will not build it because the X11 headers/libraries were not found]) ++ player=false ++ else ++ XLIB_LIBS='$(X_LIBS) $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)' ++ fi ++ ++ AC_SUBST([XLIB_LIBS]) ++fi ++ + #autoconf is slightly confusing here: + #enableval will be 'no' if --disable-* is present and '' if it isn't + AC_ARG_ENABLE(srtp,[AC_HELP_STRING([--disable-srtp],[disable use of installed SRTP library])], +--- server/mp4live/Makefile.am.orig 2006-03-21 00:08:29.000000000 +0100 ++++ server/mp4live/Makefile.am 2006-06-11 02:51:43.000000000 +0200 +@@ -151,12 +151,8 @@ + -D_REENTRANT -DNOCONTROLS -fexceptions @BILLS_CPPWARNINGS@ + + mp4live_LDADD = \ +- @GTK_LIBS@ @GLIB_LIBS@ \ +- @FAAC_LIB@ \ +- @LAME_LIB@ \ +- ./h261/libmp4live_h261.la \ + $(GUIADD) \ + libmp4live.la \ + $(top_builddir)/lib/mpeg2ps/libmpeg2_program.la \ + $(top_builddir)/lib/msg_queue/libmsg_queue.la \ + $(top_builddir)/lib/mp4v2/libmp4v2.la \ +@@ -166,9 +160,14 @@ + $(top_builddir)/lib/gnu/libmpeg4ip_gnu.la \ + $(top_builddir)/lib/utils/libutils.la \ + $(top_builddir)/lib/srtp/libsrtpif.la \ +- @SRTPLIB@ \ +- -lpthread \ ++ ./h261/libmp4live_h261.la \ + @SDL_LIBS@ $(GUILIBS) @FFMPEG_LIB@ @LIBVORBIS_LIB@ $(XVID_LIB) \ +- @X264_LIB@ ++ @GTK_LIBS@ @GLIB_LIBS@ \ ++ @FAAC_LIB@ \ ++ @LAME_LIB@ \ ++ @SRTPLIB@ \ ++ @X264_LIB@ \ ++ -lpthread ++ + + EXTRA_DIST = $(ed2) video_v4l_source.cpp +--- player/src/Makefile.am.orig 2007-04-17 16:58:13.000000000 -0400 ++++ player/src/Makefile.am 2007-04-17 17:03:27.000000000 -0400 +@@ -196,7 +196,6 @@ + + mp4player_LDFLAGS = $(SDL_AUDIO_FLAGS) + mp4player_LDADD = \ +- -lm $(SDL_AUDIO_LIB) \ + libmp4player.la \ + libmp4syncbase.la \ + libmp4syncsdl.la \ +@@ -206,7 +205,8 @@ + $(top_builddir)/lib/audio/libaudio.la \ + $(top_builddir)/lib/ismacryp/libismacryp.la \ + $(top_builddir)/lib/srtp/libsrtpif.la \ +- @SDL_LIBS@ -lX11 @SRTPLIB@ ++ $(SDL_AUDIO_LIB) -lm \ ++ @SDL_LIBS@ @XLIB_LIBS@ @SRTPLIB@ + + gmp4player_LDFLAGS= $(SDL_AUDIO_FLAGS) + gmp4player_LDADD = $(mp4player_LDADD) \ |