30 August 2002 (Version 1.3): [pb] -Added support and fixes for mpeg2 muxed files. mpgtx should now split and join mpeg2 files correct [pb] - Improved mpgtx knowledge about length of mpeg2 movies [pb] - removed bug which was introduced in 1.2 where demuxing was broken 18 August 2002 (Version 1.2): [pb] - mpgtx is now able to search for a valid pack through a whole file (-X) [pb] - added option to suppress progress output (faster) (-N) [pb] - fixed a bug where a buffer is at end and data could not be processed -> unplayable movies [pb] - increased file buffer for better performace to 2MB [pb] - added option to change the aspect ratio of a movie (-A ) [pb] - added option to keep junk headers in splits (-P) 27 August 2001: [la] - mpgtx now supports MPEG streams with leading zeros and skip them gracefully [la] - added some support for ill-formed system streams that don't begin with a PACK header. (both, thank to Søren Roug) 22 August 2001: [la] - Created a home made configure script that automagically checks Large File support and GCC 3.0 tricks to produce correct CFLAGS and LFLAGS. 20 August 2001: [la] - Restored compatibility for systems older than glibc2.2+ to enable large file support build with `make lfs-support' 10 August 2001: (large file support) [ms] - support for files larger than 2GB on systems supporting Single UNIX Specification 2.0. Requires glibc2.1+ for build but actual support requires both glibc2.2+ and Linux kernel 2.4+ [la] - Cosmetic changes (The Entire Large File Support code is the courtesy of Mattias Sandgren Please stand up and applause ) 6 August 2001 [la] - tagmp3 used to return 1 even on success. changed that so that it could be used in scripts. (A big thank to C. R. Johnson for that.)
62 lines
2.1 KiB
Text
62 lines
2.1 KiB
Text
$NetBSD: patch-ab,v 1.1 2003/10/11 14:59:58 cube Exp $
|
|
|
|
--- configure.orig 2002-08-30 18:03:12.000000000 +0200
|
|
+++ configure
|
|
@@ -76,6 +76,7 @@ do
|
|
-stat | -static | --stat | --static) static="yes";;
|
|
-par | -parachute | --par | --parachute) parachute="yes";;
|
|
-prefix=* | --prefix=*) prefix=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
|
+ -manprefix=* | --manprefix=*) manprefix=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
|
-dist | dist | --distrib | -distrib) rm -f Makefile && cat << EOF >makefile && exit 0;;
|
|
# Dummy Makefile, please run ./configure
|
|
default:
|
|
@@ -134,7 +135,7 @@ done
|
|
# gcc 3 does not seem to like -O3 with mpgtx very much
|
|
|
|
# next line is from Chris Danis
|
|
-gcc_major=`gcc --version | cut -b 1`
|
|
+gcc_major=`gcc -dumpversion | cut -b 1`
|
|
|
|
if test $gcc_major = "3"; then
|
|
optimization_cflags="-O2";
|
|
@@ -243,7 +244,7 @@ cat << EOF >>$makefilename
|
|
|
|
# Now onto the targets
|
|
|
|
-default: warn mpgtx
|
|
+all: warn mpgtx
|
|
@echo "----------------------------------------------------------------------"
|
|
@echo "Success building mpgtx. Now type \"make install\" to install it"
|
|
@echo "----------------------------------------------------------------------"
|
|
@@ -293,21 +294,16 @@ clean :
|
|
|
|
|
|
install:
|
|
- ln -sf mpgtx mpgjoin
|
|
- ln -sf mpgtx mpgsplit
|
|
- ln -sf mpgtx mpgcat
|
|
- ln -sf mpgtx mpginfo
|
|
- ln -sf mpgtx mpgdemux
|
|
- ln -sf mpgtx tagmp3
|
|
- install -d -m 755 \$(INSTALLDIR)
|
|
- install -d -m 755 \$(MANDIR)
|
|
- install -s -m 755 mpgtx \$(INSTALLDIR)
|
|
- cp -\$(cpflags)f mpgdemux mpgjoin mpgcat mpginfo mpgsplit tagmp3 \$(INSTALLDIR)
|
|
- install -m 644 man/mpgtx.1 man/tagmp3.1 \$(MANDIR)
|
|
- cd man ; make
|
|
- cd ..
|
|
- cp -\$(cpflags)f ./man/mpgdemux.1 ./man/mpgjoin.1 man/mpgsplit.1 man/mpgcat.1 man/mpginfo.1 \$(MANDIR)
|
|
-
|
|
+ \$(BSD_INSTALL_PROGRAM) mpgtx \$(INSTALLDIR)
|
|
+ for prog in mpgjoin mpgsplit mpgcat mpginfo mpgdemux tagmp3 ; \\
|
|
+ do \\
|
|
+ ln -sf mpgtx \$(INSTALLDIR)/\$\$prog ; \\
|
|
+ done ;
|
|
+ \$(BSD_INSTALL_MAN) man/mpgtx.1 man/tagmp3.1 \$(MANDIR)
|
|
+ for prog in mpgjoin mpgsplit mpgcat mpginfo mpgdemux ; \\
|
|
+ do \\
|
|
+ ln -f \$(MANDIR)/mpgtx.1 \$(MANDIR)/\$\$prog.1 ; \\
|
|
+ done ;
|
|
|
|
uninstall:
|
|
rm -f \$(INSTALLDIR)/mpgtx
|