diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2006-08-01 17:12:56 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2006-08-01 17:12:56 +0000 |
commit | a44ad57ff9e285042abc191096ffa66ab83c9c61 (patch) | |
tree | 23db0bcd7fa78204e054ab6a01149b26d3cccce0 /media-video/gpac/files | |
parent | Version bump, bug #142375. (diff) | |
download | gentoo-2-a44ad57ff9e285042abc191096ffa66ab83c9c61.tar.gz gentoo-2-a44ad57ff9e285042abc191096ffa66ab83c9c61.tar.bz2 gentoo-2-a44ad57ff9e285042abc191096ffa66ab83c9c61.zip |
Version bump. Add patch to stop the makefile from stripping binaries (bug #137639). Add patch so library has a SONAME field.
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'media-video/gpac/files')
-rw-r--r-- | media-video/gpac/files/digest-gpac-0.4.2 | 5 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-DESTDIR.patch | 95 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-configure-ogg.patch | 25 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-nostrip.patch | 55 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-soname.patch | 11 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-static-defs.patch | 11 |
6 files changed, 202 insertions, 0 deletions
diff --git a/media-video/gpac/files/digest-gpac-0.4.2 b/media-video/gpac/files/digest-gpac-0.4.2 new file mode 100644 index 000000000000..87d70c23fc03 --- /dev/null +++ b/media-video/gpac/files/digest-gpac-0.4.2 @@ -0,0 +1,5 @@ +MD5 cfd9012bff83afdf5ad069b86d3063b6 26104-610.zip 292640 +MD5 e78e35eabe09eea50198f1a27b81eb60 26204-600.zip 255764 +MD5 834910b42ef007410fcc49a5acd4656b gpac-0.4.2.tar.gz 3916608 +RMD160 17d2691651b633497ae96ec71912cfafa864c90a gpac-0.4.2.tar.gz 3916608 +SHA256 0e300b02824f12767e5fa0c70b138b6a17375c3d6000aea2568464a9bb1cd956 gpac-0.4.2.tar.gz 3916608 diff --git a/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch b/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch new file mode 100644 index 000000000000..8fdee1d05942 --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch @@ -0,0 +1,95 @@ +diff -ur gpac.orig/Makefile gpac/Makefile +--- gpac.orig/Makefile 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/Makefile 2006-08-01 11:39:19.000000000 -0400 +@@ -53,13 +53,13 @@ + ( tar zcvf ~/$(FILE).tar.gz ../gpac --exclude CVS --exclude bin --exclude lib --exclude Obj --exclude temp --exclude amr_nb --exclude amr_nb_ft --exclude amr_wb_ft --exclude *.mak --exclude *.o --exclude *.~*) + + install: +- install -d "$(prefix)/bin" +- install $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(prefix)/bin" ++ install -d "$(DESTDIR)$(prefix)/bin" ++ install $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(DESTDIR)$(prefix)/bin" + $(MAKE) -C applications install +- install -d "$(moddir)" +- install bin/gcc/*.$(DYN_LIB_SUFFIX) "$(moddir)" +- rm -f $(moddir)/libgpac.$(DYN_LIB_SUFFIX) +- rm -f $(moddir)/nposmozilla.$(DYN_LIB_SUFFIX) ++ install -d "$(DESTDIR)$(moddir)" ++ install bin/gcc/*.$(DYN_LIB_SUFFIX) "$(DESTDIR)$(moddir)" ++ rm -f $(DESTDIR)$(moddir)/libgpac.$(DYN_LIB_SUFFIX) ++ rm -f $(DESTDIR)$(moddir)/nposmozilla.$(DYN_LIB_SUFFIX) + ifeq ($(CONFIG_WIN32),yes) + install $(INSTFLAGS) -m 755 bin/gcc/libgpac.dll $(prefix)/lib + else +@@ -70,15 +70,15 @@ + install -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac-$(VERSION).$(DYN_LIB_SUFFIX) + ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac.$(DYN_LIB_SUFFIX) + else +- install $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac-$(VERSION).$(DYN_LIB_SUFFIX) +- ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac.$(DYN_LIB_SUFFIX) ++ install $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/lib/libgpac-$(VERSION).$(DYN_LIB_SUFFIX) ++ ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/lib/libgpac.$(DYN_LIB_SUFFIX) + ldconfig || true + endif + endif +- install -d "$(mandir)/man1" +- install -m 644 doc/man/mp4box.1 $(mandir)/man1/ +- install -m 644 doc/man/mp4client.1 $(mandir)/man1/ +- install -m 644 doc/man/gpac.1 $(mandir)/man1/ ++ install -d "$(DESTDIR)$(mandir)/man1" ++ install -m 644 doc/man/mp4box.1 $(DESTDIR)$(mandir)/man1/ ++ install -m 644 doc/man/mp4client.1 $(DESTDIR)$(mandir)/man1/ ++ install -m 644 doc/man/gpac.1 $(DESTDIR)$(mandir)/man1/ + + uninstall: + $(MAKE) -C applications uninstall +@@ -91,14 +91,14 @@ + rm -rf $(mandir)/man1/gpac.1 + + install-lib: +- mkdir -p "$(prefix)/include/gpac" +- install -m 644 $(SRC_PATH)/include/gpac/*.h "$(prefix)/include/gpac" +- mkdir -p "$(prefix)/include/gpac/internal" +- install -m 644 $(SRC_PATH)/include/gpac/internal/*.h "$(prefix)/include/gpac/internal" +- mkdir -p "$(prefix)/include/gpac/modules" +- install -m 644 $(SRC_PATH)/include/gpac/modules/*.h "$(prefix)/include/gpac/modules" +- mkdir -p "$(prefix)/lib" +- install -m 644 "./bin/gcc/libgpac_static.a" "$(prefix)/lib" ++ mkdir -p "$(DESTDIR)$(prefix)/include/gpac" ++ install -m 644 $(SRC_PATH)/include/gpac/*.h "$(DESTDIR)$(prefix)/include/gpac" ++ mkdir -p "$(DESTDIR)$(prefix)/include/gpac/internal" ++ install -m 644 $(SRC_PATH)/include/gpac/internal/*.h "$(DESTDIR)$(prefix)/include/gpac/internal" ++ mkdir -p "$(DESTDIR)$(prefix)/include/gpac/modules" ++ install -m 644 $(SRC_PATH)/include/gpac/modules/*.h "$(DESTDIR)$(prefix)/include/gpac/modules" ++ mkdir -p "$(DESTDIR)$(prefix)/lib" ++ install -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/lib" + + uninstall-lib: + rm -rf "$(prefix)/include/gpac/internal" +Only in gpac: Makefile.orig +diff -ur gpac.orig/applications/mp4client/Makefile gpac/applications/mp4client/Makefile +--- gpac.orig/applications/mp4client/Makefile 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/applications/mp4client/Makefile 2006-08-01 11:36:16.000000000 -0400 +@@ -50,7 +50,7 @@ + + install: clean + make -override BUILD_INSTALL=yes all +- install -c -s -m 755 ../../bin/gcc/MP4Client "$(prefix)/bin" ++ install -c -s -m 755 ../../bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin" + + uninstall: + rm -rf $(prefix)/bin/MP4Client +Only in gpac/applications/mp4client: Makefile.orig +diff -ur gpac.orig/applications/osmo4_wx/Makefile gpac/applications/osmo4_wx/Makefile +--- gpac.orig/applications/osmo4_wx/Makefile 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/applications/osmo4_wx/Makefile 2006-08-01 11:36:16.000000000 -0400 +@@ -65,7 +65,7 @@ + else + rm -f wxOsmo4.o + make -override BUILD_INSTALL=yes all +- install -c -s -m 755 ../../bin/gcc/Osmo4 "$(prefix)/bin" ++ install -c -s -m 755 ../../bin/gcc/Osmo4 "$(DESTDIR)$(prefix)/bin" + endif + + uninstall: +Only in gpac/applications/osmo4_wx: Makefile.orig diff --git a/media-video/gpac/files/gpac-0.4.2-configure-ogg.patch b/media-video/gpac/files/gpac-0.4.2-configure-ogg.patch new file mode 100644 index 000000000000..df3e4de7c91b --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-configure-ogg.patch @@ -0,0 +1,25 @@ +--- configure.orig 2006-07-12 13:25:26.000000000 -0400 ++++ configure 2006-08-01 11:32:47.000000000 -0400 +@@ -143,6 +143,9 @@ + echo " --use-mad=OPT force MAD OPT=[no,local]" + echo " --use-xvid=OPT force XVID OPT=[no,local]" + echo " --use-ffmpeg=OPT force FFMPEG OPT=[no,local]" ++echo " --use-ogg=OPT force OGG OPT=[no,system,local]" ++echo " --use-vorbis=OPT force vorbis OPT=[no,system,local]" ++echo " --use-theora=OPT force theora OPT=[no,system,local]" + echo "" + echo "NOTE: The object files are build at the place where configure is launched" + exit 1 +@@ -786,6 +789,12 @@ + ;; + --use-ffmpeg=*) has_ffmpeg=${opt#--use-ffmpeg=} + ;; ++ --use-ogg=*) has_ogg=${opt#--use-ogg=} ++ ;; ++ --use-vorbis=*) has_vorbis=${opt#--use-vorbis=} ++ ;; ++ --use-theora=*) has_theora=${opt#--use-theora=} ++ ;; + --use-png=*) has_png=${opt#--use-png=} + ;; + esac diff --git a/media-video/gpac/files/gpac-0.4.2-nostrip.patch b/media-video/gpac/files/gpac-0.4.2-nostrip.patch new file mode 100644 index 000000000000..33ba61524891 --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-nostrip.patch @@ -0,0 +1,55 @@ +diff -ur gpac.orig/Makefile gpac/Makefile +--- gpac.orig/Makefile 2006-08-01 12:45:53.000000000 -0400 ++++ gpac/Makefile 2006-08-01 12:50:27.000000000 -0400 +@@ -5,10 +5,7 @@ + + vpath %.c $(SRC_PATH) + +-INSTFLAGS=-s +-ifeq ($(DEBUGBUILD),yes) + INSTFLAGS= +-endif + + all: lib apps mods + +@@ -63,9 +60,6 @@ + ifeq ($(CONFIG_WIN32),yes) + install $(INSTFLAGS) -m 755 bin/gcc/libgpac.dll $(prefix)/lib + else +-ifeq ($(DEBUGBUILD),no) +- $(STRIP) bin/gcc/libgpac.$(DYN_LIB_SUFFIX) +-endif + ifeq ($(CONFIG_DARWIN),yes) + install -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac-$(VERSION).$(DYN_LIB_SUFFIX) + ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac.$(DYN_LIB_SUFFIX) +diff -ur gpac.orig/applications/mp4client/Makefile gpac/applications/mp4client/Makefile +--- gpac.orig/applications/mp4client/Makefile 2006-08-01 12:45:53.000000000 -0400 ++++ gpac/applications/mp4client/Makefile 2006-08-01 12:44:17.000000000 -0400 +@@ -50,7 +50,7 @@ + + install: clean + make -override BUILD_INSTALL=yes all +- install -c -s -m 755 ../../bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin" ++ install -c -m 755 ../../bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin" + + uninstall: + rm -rf $(prefix)/bin/MP4Client +diff -ur gpac.orig/applications/osmo4_wx/Makefile gpac/applications/osmo4_wx/Makefile +--- gpac.orig/applications/osmo4_wx/Makefile 2006-08-01 12:45:53.000000000 -0400 ++++ gpac/applications/osmo4_wx/Makefile 2006-08-01 12:44:17.000000000 -0400 +@@ -59,13 +59,13 @@ + $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/Resources/English.lproj/InfoPlist.strings + cp ./Darwin.Osmo.icns \ + $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/Resources/Osmo.icns +- install -c -s -m 755 ../../bin/gcc/Osmo4 \ ++ install -c -m 755 ../../bin/gcc/Osmo4 \ + $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/MacOS + echo -n 'APPLOsm4' > $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/PkgInfo + else + rm -f wxOsmo4.o + make -override BUILD_INSTALL=yes all +- install -c -s -m 755 ../../bin/gcc/Osmo4 "$(DESTDIR)$(prefix)/bin" ++ install -c -m 755 ../../bin/gcc/Osmo4 "$(DESTDIR)$(prefix)/bin" + endif + + uninstall: diff --git a/media-video/gpac/files/gpac-0.4.2-soname.patch b/media-video/gpac/files/gpac-0.4.2-soname.patch new file mode 100644 index 000000000000..e5951b33358e --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-soname.patch @@ -0,0 +1,11 @@ +--- gpac.orig/src/Makefile 2006-07-11 11:53:44.000000000 -0400 ++++ gpac/src/Makefile 2006-08-01 12:58:38.000000000 -0400 +@@ -197,7 +197,7 @@ + $(LIB): $(LIBGPAC_UTILS) $(LIBGPAC_IETF) $(LIBGPAC_BIFS) $(LIBGPAC_ODF) $(LIBGPAC_LASER) isomedia scenegraph mcrypt mediatools sceneman term render + ar cr ../bin/gcc/libgpac_static.a $(OBJS) + ranlib ../bin/gcc/libgpac_static.a +- $(CC) $(SHFLAGS) $(LDFLAGS) -o ../bin/gcc/$@ $(OBJS) $(EXTRALIBS) ++ $(CC) $(SHFLAGS) -Wl,-soname,$(LIB) $(LDFLAGS) -o ../bin/gcc/$@ $(OBJS) $(EXTRALIBS) + + dep: depend + diff --git a/media-video/gpac/files/gpac-0.4.2-static-defs.patch b/media-video/gpac/files/gpac-0.4.2-static-defs.patch new file mode 100644 index 000000000000..06e19fc19519 --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-static-defs.patch @@ -0,0 +1,11 @@ +--- gpac.orig/modules/svg_loader/svg_parser.c 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/modules/svg_loader/svg_parser.c 2006-08-01 11:52:13.000000000 -0400 +@@ -365,7 +365,7 @@ + return ID; + } + +-static u32 svg_get_node_id(SVGParser *parser, xmlChar *nodename) ++u32 svg_get_node_id(SVGParser *parser, xmlChar *nodename) + { + GF_Node *n; + u32 ID; |