parent
19b7cc56e8
commit
aaba9611bd
@ -1 +1 @@
|
||||
gpac-20080217.tar.bz2
|
||||
gpac-0.4.5-repack.tar.bz2
|
||||
|
@ -0,0 +1,34 @@
|
||||
diff -up gpac/configure.lib64 gpac/configure
|
||||
--- gpac/configure.lib64 2008-12-17 14:25:31.000000000 +0100
|
||||
+++ gpac/configure 2008-12-17 14:26:24.000000000 +0100
|
||||
@@ -1126,10 +1126,10 @@ if test "$disable_opengl" = "no" ; then
|
||||
fi
|
||||
if $cc -o $TMPO $TMPC $LINK3D 2> /dev/null ; then
|
||||
has_opengl="yes"
|
||||
- elif $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib 2> /dev/null ; then
|
||||
+ elif $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib64 2> /dev/null ; then
|
||||
has_opengl="yes"
|
||||
INCL3D="-I$X11_PATH/include"
|
||||
- LINK3D="-L$X11_PATH/lib $LINK3D"
|
||||
+ LINK3D="-L$X11_PATH/lib64 $LINK3D"
|
||||
fi
|
||||
if test "$has_opengl" = "no" ; then
|
||||
LINK3D=""
|
||||
@@ -1186,7 +1186,7 @@ cat > $TMPC << EOF
|
||||
#include <X11/Xlib.h>
|
||||
int main( void ) { return 0; }
|
||||
EOF
|
||||
-if $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib 2> /dev/null ; then
|
||||
+if $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib64 2> /dev/null ; then
|
||||
has_x11="yes"
|
||||
|
||||
#look for X11 shared memory support
|
||||
@@ -1198,7 +1198,7 @@ cat > $TMPC << EOF
|
||||
int main( void ) { return 0; }
|
||||
EOF
|
||||
|
||||
-if $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib 2> /dev/null ; then
|
||||
+if $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib64 2> /dev/null ; then
|
||||
has_x11_shm="yes"
|
||||
fi
|
||||
|
@ -0,0 +1,63 @@
|
||||
diff -up gpac/Makefile.makefix gpac/Makefile
|
||||
--- gpac/Makefile.makefix 2008-10-23 17:40:38.000000000 +0200
|
||||
+++ gpac/Makefile 2008-12-17 12:10:45.000000000 +0100
|
||||
@@ -53,9 +53,8 @@ install:
|
||||
install $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(DESTDIR)$(prefix)/bin"
|
||||
$(MAKE) -C applications install
|
||||
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)
|
||||
+ install bin/gcc/gm*.$(DYN_LIB_SUFFIX) "$(DESTDIR)$(moddir)"
|
||||
+
|
||||
ifeq ($(CONFIG_WIN32),yes)
|
||||
install $(INSTFLAGS) -m 755 bin/gcc/libgpac.dll $(prefix)/$(libdir)
|
||||
else
|
||||
@@ -66,19 +65,18 @@ ifeq ($(CONFIG_DARWIN),yes)
|
||||
install -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac-$(VERSION).$(DYN_LIB_SUFFIX)
|
||||
ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX)
|
||||
else
|
||||
- install $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac-$(VERSION).$(DYN_LIB_SUFFIX)
|
||||
- ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX)
|
||||
- ldconfig || true
|
||||
+ install $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX).$(VERSION)
|
||||
+ ln -sf libgpac.$(DYN_LIB_SUFFIX).$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/libgpac.$(DYN_LIB_SUFFIX)
|
||||
endif
|
||||
endif
|
||||
install -d "$(DESTDIR)$(mandir)"
|
||||
install -d "$(DESTDIR)$(mandir)/man1"
|
||||
if [ -d doc ] ; then \
|
||||
- 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/ ; \
|
||||
+ install -pm 644 doc/man/mp4box.1 $(DESTDIR)$(mandir)/man1/ ; \
|
||||
+ install -pm 644 doc/man/mp4client.1 $(DESTDIR)$(mandir)/man1/ ; \
|
||||
+ install -pm 644 doc/man/gpac.1 $(DESTDIR)$(mandir)/man1/ ; \
|
||||
install -d "$(DESTDIR)$(prefix)/share/gpac" ; \
|
||||
- install -m 644 doc/gpac.mp4 $(DESTDIR)$(prefix)/share/gpac/ ; \
|
||||
+ install -pm 644 doc/gpac.mp4 $(DESTDIR)$(prefix)/share/gpac/ ; \
|
||||
fi
|
||||
|
||||
uninstall:
|
||||
@@ -94,17 +92,15 @@ uninstall:
|
||||
|
||||
install-lib:
|
||||
mkdir -p "$(DESTDIR)$(prefix)/include/gpac"
|
||||
- install -m 644 $(SRC_PATH)/include/gpac/*.h "$(DESTDIR)$(prefix)/include/gpac"
|
||||
+ install -pm 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"
|
||||
+ install -pm 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"
|
||||
+ install -pm 644 $(SRC_PATH)/include/gpac/modules/*.h "$(DESTDIR)$(prefix)/include/gpac/modules"
|
||||
ifeq ($(GPAC_ENST), yes)
|
||||
mkdir -p "$(DESTDIR)$(prefix)/include/gpac/enst"
|
||||
- install -m 644 $(SRC_PATH)/include/gpac/enst/*.h "$(DESTDIR)$(prefix)/include/gpac/enst"
|
||||
+ install -pm 644 $(SRC_PATH)/include/gpac/enst/*.h "$(DESTDIR)$(prefix)/include/gpac/enst"
|
||||
endif
|
||||
- mkdir -p "$(DESTDIR)$(prefix)/lib"
|
||||
- install -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/lib"
|
||||
mkdir -p "$(DESTDIR)$(prefix)/$(libdir)"
|
||||
install -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/$(libdir)"
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -up gpac/src/Makefile.soname gpac/src/Makefile
|
||||
--- gpac/src/Makefile.soname 2008-02-17 13:56:20.000000000 +0100
|
||||
+++ gpac/src/Makefile 2008-02-17 13:56:20.000000000 +0100
|
||||
@@ -159,6 +159,7 @@ ifeq ($(CONFIG_DARWIN),yes)
|
||||
--- gpac/src/Makefile.soname 2008-12-02 15:01:08.000000000 +0100
|
||||
+++ gpac/src/Makefile 2008-12-17 11:55:52.000000000 +0100
|
||||
@@ -171,6 +171,7 @@ ifeq ($(CONFIG_DARWIN),yes)
|
||||
LDFLAGS+=-install_name $(prefix)/lib/$(LIB)
|
||||
endif
|
||||
EXTRALIBS+=$(GPAC_SH_FLAGS)
|
@ -1,77 +0,0 @@
|
||||
diff -up gpac/Makefile.libdir gpac/Makefile
|
||||
--- gpac/Makefile.libdir 2007-08-28 14:51:16.000000000 +0200
|
||||
+++ gpac/Makefile 2008-02-17 14:47:22.000000000 +0100
|
||||
@@ -63,11 +63,11 @@ ifeq ($(DEBUGBUILD),no)
|
||||
$(STRIP) bin/gcc/libgpac.$(DYN_LIB_SUFFIX)
|
||||
endif
|
||||
ifeq ($(CONFIG_DARWIN),yes)
|
||||
- install -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)
|
||||
+ install -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(libdir)/libgpac-$(VERSION).$(DYN_LIB_SUFFIX)
|
||||
+ ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(DESTDIR)$(libdir)/libgpac.$(DYN_LIB_SUFFIX)
|
||||
else
|
||||
- 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)
|
||||
+ install $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(DESTDIR)$(libdir)/libgpac-$(VERSION).$(DYN_LIB_SUFFIX)
|
||||
+ ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(DESTDIR)$(libdir)/libgpac.$(DYN_LIB_SUFFIX)
|
||||
ldconfig || true
|
||||
endif
|
||||
endif
|
||||
@@ -98,7 +98,7 @@ install-lib:
|
||||
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"
|
||||
+ install -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(libdir)"
|
||||
|
||||
uninstall-lib:
|
||||
rm -rf "$(prefix)/include/gpac/internal"
|
||||
diff -up gpac/configure.libdir gpac/configure
|
||||
--- gpac/configure.libdir 2007-10-25 11:39:51.000000000 +0200
|
||||
+++ gpac/configure 2008-02-17 14:53:30.000000000 +0100
|
||||
@@ -106,6 +106,7 @@ EOF
|
||||
echo "GPAC configuration options:"
|
||||
echo " --help print this message"
|
||||
echo " --prefix=PREFIX install in PREFIX [$prefix]"
|
||||
+echo " --libdir=LIBDIR system libs in DIR [$libdir]"
|
||||
echo " --mandir=DIR man documentation in DIR [PREFIX/man]"
|
||||
echo ""
|
||||
echo " --source-path=PATH path of source code [$source_path]"
|
||||
@@ -167,6 +168,8 @@ for opt do
|
||||
case "$opt" in
|
||||
--prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
|
||||
;;
|
||||
+ --libdir=*) libdir=`echo $opt | cut -d '=' -f 2`
|
||||
+ ;;
|
||||
--mandir=*) mandir=`echo $opt | cut -d '=' -f 2`
|
||||
;;
|
||||
--source-path=*) source_path=`echo $opt | cut -d '=' -f 2`
|
||||
@@ -479,7 +482,7 @@ fi
|
||||
|
||||
if $cc -o $TMPO $TMPC $LINK3D 2> /dev/null ; then
|
||||
has_opengl="yes"
|
||||
-elif $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib 2> /dev/null ; then
|
||||
+elif $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib -L${libdir} 2> /dev/null ; then
|
||||
has_opengl="yes"
|
||||
fi
|
||||
|
||||
@@ -895,7 +898,7 @@ cat > $TMPC << EOF
|
||||
#include <X11/Xlib.h>
|
||||
int main( void ) { return 0; }
|
||||
EOF
|
||||
-if $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib 2> /dev/null ; then
|
||||
+if $cc -o $TMPO $TMPC -I$X11_PATH/include -L$X11_PATH/lib -L${libdir} 2> /dev/null ; then
|
||||
has_x11="yes"
|
||||
|
||||
#look for X11 shared memory support
|
||||
@@ -1173,8 +1176,9 @@ fi
|
||||
fi
|
||||
|
||||
echo "prefix=$prefix" >> config.mak
|
||||
+echo "libdir=$libdir" >> config.mak
|
||||
echo "DESTDIR=$DESTDIR" >> config.mak
|
||||
-echo "moddir=$prefix/lib/gpac" >> config.mak
|
||||
+echo "moddir=$libdir/gpac" >> config.mak
|
||||
echo "mandir=$mandir" >> config.mak
|
||||
echo "MAKE=$make" >> config.mak
|
||||
echo "CC=$cc" >> config.mak
|
@ -1,45 +0,0 @@
|
||||
diff -up gpac/Makefile.timestramps gpac/Makefile
|
||||
--- gpac/Makefile.timestramps 2008-02-17 15:34:31.000000000 +0100
|
||||
+++ gpac/Makefile 2008-02-17 15:36:34.000000000 +0100
|
||||
@@ -54,8 +54,8 @@ install:
|
||||
$(MAKE) -C applications install
|
||||
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)
|
||||
+ #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
|
||||
@@ -73,11 +73,11 @@ endif
|
||||
endif
|
||||
install -d "$(DESTDIR)$(mandir)"
|
||||
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/
|
||||
+ install -pm 644 doc/man/mp4box.1 $(DESTDIR)$(mandir)/man1/
|
||||
+ install -pm 644 doc/man/mp4client.1 $(DESTDIR)$(mandir)/man1/
|
||||
+ install -pm 644 doc/man/gpac.1 $(DESTDIR)$(mandir)/man1/
|
||||
install -d "$(DESTDIR)$(prefix)/share/gpac"
|
||||
- install -m 644 doc/gpac.mp4 $(DESTDIR)$(prefix)/share/gpac/
|
||||
+ install -pm 644 doc/gpac.mp4 $(DESTDIR)$(prefix)/share/gpac/
|
||||
|
||||
uninstall:
|
||||
$(MAKE) -C applications uninstall
|
||||
@@ -92,11 +92,11 @@ uninstall:
|
||||
|
||||
install-lib:
|
||||
mkdir -p "$(DESTDIR)$(prefix)/include/gpac"
|
||||
- install -m 644 $(SRC_PATH)/include/gpac/*.h "$(DESTDIR)$(prefix)/include/gpac"
|
||||
+ install -pm 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"
|
||||
+ install -pm 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"
|
||||
+ install -pm 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)$(libdir)"
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.old 2008-02-11 18:31:29.000000000 -0500
|
||||
+++ Makefile 2008-02-11 18:15:30.000000000 -0500
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
vpath %.c $(SRC_PATH)/src
|
||||
|
||||
-CFLAGS= $(OPTFLAGS) -Wall -I$(SRC_PATH)/include
|
||||
+CFLAGS= $(OPTFLAGS) -Wall -I$(SRC_PATH)/include -D_GNU_SOURCE=1
|
||||
|
||||
ifeq ($(DEBUGBUILD), yes)
|
||||
CFLAGS+=-g
|
@ -1,23 +0,0 @@
|
||||
--- Makefile.old 2008-02-11 18:27:28.000000000 -0500
|
||||
+++ Makefile 2008-02-11 18:28:13.000000000 -0500
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
V4STUDIODIR=
|
||||
INSTDIRS=mp4client
|
||||
-ifeq ($(TARGET_ARCH_ARMV4L),yes)
|
||||
-else
|
||||
-ifeq ($(CONFIG_LINUX),yes)
|
||||
-INSTDIRS+=osmozilla
|
||||
-APPDIRS+=osmozilla
|
||||
-endif
|
||||
-endif
|
||||
+#ifeq ($(TARGET_ARCH_ARMV4L),yes)
|
||||
+#else
|
||||
+#ifeq ($(CONFIG_LINUX),yes)
|
||||
+#INSTDIRS+=osmozilla
|
||||
+#APPDIRS+=osmozilla
|
||||
+#endif
|
||||
+#endif
|
||||
|
||||
ifeq ($(USE_WXWIDGETS), yes)
|
||||
APPDIRS+=osmo4_wx
|
Loading…
Reference in new issue