libmpeg stable port information

Package: libmpeg
Version: 1.3.1
Revision: 7
BuildDependsOnly: true
Maintainer: Alexander Strange
Source: http://us.dl.sourceforge.net/fink/direct_download/source/mpeg_lib-%v.tar.gz
Source-MD5: 9d803be0073f42acf87d5fbb339a183b
SourceDirectory: mpeg_lib-%v
Depends: libmpeg-shlibs (= %v-%r)
BuildDepends: fink ( >= 0.9.9 )
UpdateConfigGuess: true
PatchScript: sed -e 's:@INSTALL_INC@:%i/include:g' -e 's:@INSTALL_LIB@:%i/lib:g' <%a/%n.patch | patch -p1
CompileScript: <<
./configure --disable-dither --without-dmalloc --prefix=%p
make %n.%v.dylib
<<
InstallScript: <<
make install prefix=%i
mkdir -p %i/lib
cp %b/libmpeg.1.3.1.dylib %i/lib
ln -s %p/lib/libmpeg.1.3.1.dylib %i/lib/libmpeg.1.dylib
ln -s %p/lib/libmpeg.1.dylib %i/lib/libmpeg.dylib
<<
DocFiles: CHANGES README
SplitOff: <<
Package: %N-shlibs
Files: lib/libmpeg.1.dylib lib/libmpeg.1.3.1.dylib
Shlibs: %p/lib/libmpeg.1.dylib 1.3.1 %n (>= 1.3.1-6)
Replaces: libmpeg ( << 1.3.1-5 )
DocFiles: CHANGES README
<<
Description: Gimp MPEG library
DescDetail: <<
A library which allows Gimp to manipulate MPEG movies.
<<
License: OSI-Approved
Homepage: http://www.gimp.org

libmpeg stable port .patch

diff -Nurd mpeg_lib-1.3.1/24bit.c mpeg_lib-1.3.1-patched/24bit.c
--- mpeg_lib-1.3.1/24bit.c Fri Jul 23 23:59:25 1999
+++ mpeg_lib-1.3.1-patched/24bit.c Thu Feb 7 22:42:53 2002
@@ -30,7 +30,7 @@
#include "dither.h"
#include "proto.h"
#include
-#include
+#include
#include "my_dmalloc.h"

/*
diff -Nurd mpeg_lib-1.3.1/Makefile.in mpeg_lib-1.3.1-patched/Makefile.in
--- mpeg_lib-1.3.1/Makefile.in Thu Nov 26 11:03:29 1998
+++ mpeg_lib-1.3.1-patched/Makefile.in Thu Feb 7 22:47:26 2002
@@ -7,7 +7,7 @@

# Compiler and compiler/preprocessor flags
CC = @CC@
-OPTIMIZE = @OPTIMIZE@
+OPTIMIZE = @OPTIMIZE@ -O3 -fno-common
EXTRA_CFLAGS = @EXTRA_CFLAGS@
INCLUDE_DIRS = -I. @INCLUDE_DIRS@
DEFINES = @DEFINES@
@@ -17,14 +17,14 @@
# Installation directories (and install program)
prefix = @prefix@
exec_prefix = @exec_prefix@
-INSTALL_INCLUDE = @includedir@
-INSTALL_LIBRARY = @libdir@
+INSTALL_INCLUDE = @INSTALL_INC@
+INSTALL_LIBRARY = @INSTALL_LIB@
INSTALL = @INSTALL@

# Other miscellaneous programs
AR = @AR@
-ARFLAGS = -ru
-RANLIB = @RANLIB@
+ARFLAGS = -cruv
+RANLIB = @RANLIB@ -s


# Source for the library itself -- note that we define LIBSRC and
@@ -42,7 +42,7 @@
# Other files of interest

LIBRARY = libmpeg.a
-SHLIB = libmpeg.so
+SHLIB = libmpeg.1.3.1.dylib
HEADER = mpeg.h
EXTRAS = @extras@

@@ -64,7 +64,7 @@
$(RANLIB) $(LIBRARY)

$(SHLIB): $(LIBOBJ)
- $(CC) -shared -o $(SHLIB) $(LIBOBJ)
+ $(CC) -dynamiclib -install_name @libdir@/libmpeg.1.dylib -current_version 1.3.1 -compatibility_version 1.3.1 -o $(SHLIB) $(LIBOBJ) -L@libdir@

install: $(LIBRARY)
$(INSTALL) -d $(INSTALL_INCLUDE) $(INSTALL_LIBRARY)
diff -Nurd mpeg_lib-1.3.1/configure mpeg_lib-1.3.1-patched/configure
--- mpeg_lib-1.3.1/configure Sun Aug 8 20:36:05 1999
+++ mpeg_lib-1.3.1-patched/configure Thu Feb 7 22:42:53 2002
@@ -1915,6 +1915,7 @@
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
+s%@PREFIX@%$PREFIX%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
diff -Nurd mpeg_lib-1.3.1/gdith.c mpeg_lib-1.3.1-patched/gdith.c
--- mpeg_lib-1.3.1/gdith.c Sat Jul 24 00:04:42 1999
+++ mpeg_lib-1.3.1-patched/gdith.c Thu Feb 7 22:42:53 2002
@@ -21,7 +21,7 @@


#include
-#include
+#include
#include
#include "mpeg.h"
#include "dither.h"
diff -Nurd mpeg_lib-1.3.1/wrapper.c mpeg_lib-1.3.1-patched/wrapper.c
--- mpeg_lib-1.3.1/wrapper.c Sun Aug 8 20:22:14 1999
+++ mpeg_lib-1.3.1-patched/wrapper.c Thu Feb 7 22:42:53 2002
@@ -44,7 +44,7 @@
---------------------------------------------------------------------------- */

#include
-#include
+#include
#include
#include
#include

libmpeg _unstable_ port information

Package: libmpeg
Version: 1.3.1
Revision: 7
BuildDependsOnly: true
Maintainer: Alexander Strange
Source: http://us.dl.sourceforge.net/fink/direct_download/source/mpeg_lib-%v.tar.gz
Source-MD5: 9d803be0073f42acf87d5fbb339a183b
SourceDirectory: mpeg_lib-%v
Depends: libmpeg-shlibs (= %v-%r)
BuildDepends: fink ( >= 0.9.9 )
UpdateConfigGuess: true
PatchScript: sed -e 's:@INSTALL_INC@:%i/include:g' -e 's:@INSTALL_LIB@:%i/lib:g' <%a/%n.patch | patch -p1
CompileScript: <<
./configure --disable-dither --without-dmalloc --prefix=%p
make %n.%v.dylib
<<
InstallScript: <<
make install prefix=%i
mkdir -p %i/lib
cp %b/libmpeg.1.3.1.dylib %i/lib
ln -s %p/lib/libmpeg.1.3.1.dylib %i/lib/libmpeg.1.dylib
ln -s %p/lib/libmpeg.1.dylib %i/lib/libmpeg.dylib
<<
DocFiles: CHANGES README
SplitOff: <<
Package: %N-shlibs
Files: lib/libmpeg.1.dylib lib/libmpeg.1.3.1.dylib
Shlibs: %p/lib/libmpeg.1.dylib 1.3.1 %n (>= 1.3.1-6)
Replaces: libmpeg ( << 1.3.1-5 )
DocFiles: CHANGES README
<<
Description: Gimp MPEG library
DescDetail: <<
A library which allows Gimp to manipulate MPEG movies.
<<
License: OSI-Approved
Homepage: http://www.gimp.org

libmpeg _unstable_ port .patch

diff -Nurd mpeg_lib-1.3.1/24bit.c mpeg_lib-1.3.1-patched/24bit.c
--- mpeg_lib-1.3.1/24bit.c Fri Jul 23 23:59:25 1999
+++ mpeg_lib-1.3.1-patched/24bit.c Thu Feb 7 22:42:53 2002
@@ -30,7 +30,7 @@
#include "dither.h"
#include "proto.h"
#include
-#include
+#include
#include "my_dmalloc.h"

/*
diff -Nurd mpeg_lib-1.3.1/Makefile.in mpeg_lib-1.3.1-patched/Makefile.in
--- mpeg_lib-1.3.1/Makefile.in Thu Nov 26 11:03:29 1998
+++ mpeg_lib-1.3.1-patched/Makefile.in Thu Feb 7 22:47:26 2002
@@ -7,7 +7,7 @@

# Compiler and compiler/preprocessor flags
CC = @CC@
-OPTIMIZE = @OPTIMIZE@
+OPTIMIZE = @OPTIMIZE@ -O3 -fno-common
EXTRA_CFLAGS = @EXTRA_CFLAGS@
INCLUDE_DIRS = -I. @INCLUDE_DIRS@
DEFINES = @DEFINES@
@@ -17,14 +17,14 @@
# Installation directories (and install program)
prefix = @prefix@
exec_prefix = @exec_prefix@
-INSTALL_INCLUDE = @includedir@
-INSTALL_LIBRARY = @libdir@
+INSTALL_INCLUDE = @INSTALL_INC@
+INSTALL_LIBRARY = @INSTALL_LIB@
INSTALL = @INSTALL@

# Other miscellaneous programs
AR = @AR@
-ARFLAGS = -ru
-RANLIB = @RANLIB@
+ARFLAGS = -cruv
+RANLIB = @RANLIB@ -s


# Source for the library itself -- note that we define LIBSRC and
@@ -42,7 +42,7 @@
# Other files of interest

LIBRARY = libmpeg.a
-SHLIB = libmpeg.so
+SHLIB = libmpeg.1.3.1.dylib
HEADER = mpeg.h
EXTRAS = @extras@

@@ -64,7 +64,7 @@
$(RANLIB) $(LIBRARY)

$(SHLIB): $(LIBOBJ)
- $(CC) -shared -o $(SHLIB) $(LIBOBJ)
+ $(CC) -dynamiclib -install_name @libdir@/libmpeg.1.dylib -current_version 1.3.1 -compatibility_version 1.3.1 -o $(SHLIB) $(LIBOBJ) -L@libdir@

install: $(LIBRARY)
$(INSTALL) -d $(INSTALL_INCLUDE) $(INSTALL_LIBRARY)
diff -Nurd mpeg_lib-1.3.1/configure mpeg_lib-1.3.1-patched/configure
--- mpeg_lib-1.3.1/configure Sun Aug 8 20:36:05 1999
+++ mpeg_lib-1.3.1-patched/configure Thu Feb 7 22:42:53 2002
@@ -1915,6 +1915,7 @@
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
+s%@PREFIX@%$PREFIX%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
diff -Nurd mpeg_lib-1.3.1/gdith.c mpeg_lib-1.3.1-patched/gdith.c
--- mpeg_lib-1.3.1/gdith.c Sat Jul 24 00:04:42 1999
+++ mpeg_lib-1.3.1-patched/gdith.c Thu Feb 7 22:42:53 2002
@@ -21,7 +21,7 @@


#include
-#include
+#include
#include
#include "mpeg.h"
#include "dither.h"
diff -Nurd mpeg_lib-1.3.1/wrapper.c mpeg_lib-1.3.1-patched/wrapper.c
--- mpeg_lib-1.3.1/wrapper.c Sun Aug 8 20:22:14 1999
+++ mpeg_lib-1.3.1-patched/wrapper.c Thu Feb 7 22:42:53 2002
@@ -44,7 +44,7 @@
---------------------------------------------------------------------------- */

#include
-#include
+#include
#include
#include
#include