Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics In directory vz-cvs-3.sog:/tmp/cvs-serv28551
Added Files: mpeg2dec.info mpeg2dec.patch ttf2eot.info ttf2eot.patch Log Message: Move to 10.7. --- NEW FILE: ttf2eot.patch --- diff -ru ttf2eot-0.0.2-2.orig/ttf2eot.cpp ttf2eot-0.0.2-2/ttf2eot.cpp --- ttf2eot-0.0.2-2.orig/ttf2eot.cpp 2009-04-30 05:18:46.000000000 -0400 +++ ttf2eot-0.0.2-2/ttf2eot.cpp 2009-08-30 13:06:47.000000000 -0400 @@ -5,6 +5,7 @@ #include <assert.h> #include <limits.h> #include <string.h> +#include <errno.h> #include <vector> @@ -56,13 +57,13 @@ } else { input = fopen(argv[1], "rb"); if (input == NULL) { - fprintf(stderr, "could not open input file %s, %m\n", argv[1]); + fprintf(stderr, "could not open input file %s, %s\n", argv[1], strerror (errno)); return 1; } } if ((fontData = (unsigned char *) malloc(fontSize = kFontInitSize)) == NULL) { - fprintf(stderr, "Allocation failure, %m\n"); + fprintf(stderr, "Allocation failure, %s\n", strerror (errno)); return 1; } @@ -71,11 +72,11 @@ if (ret && fontSize <= SIZE_MAX / 2) { fontOff += ret; if ((fontData = (unsigned char *) realloc(fontData, fontSize *= 2)) == NULL) { - fprintf(stderr, "Allocation failure, %m\n"); + fprintf(stderr, "Allocation failure, %s\n", strerror (errno)); return 1; } } else if (ret) { - fprintf(stderr, "Too much data, %m\n"); + fprintf(stderr, "Too much data, %s\n", strerror (errno)); return 1; } else { fontData = (unsigned char *) realloc(fontData, fontSize = fontOff); @@ -88,7 +89,7 @@ fwrite(fontData, fontSize, 1, stdout); return 0; } else { - fprintf(stderr, "unknown error parsing input font, %m\n"); + fprintf(stderr, "unknown error parsing input font, %s\n", strerror (errno)); return 1; } } --- NEW FILE: mpeg2dec.info --- Package: mpeg2dec Version: 0.5.1 Revision: 102 Maintainer: Daniel Johnson <dan...@daniel-johnson.org> Depends: %N-shlibs (= %v-%r), x11, sdl-shlibs (>= 1.2.9-1001) BuildDepends: sdl (>= 1.2.9-1001), x11-dev, fink (>= 0.24.12) Source: http://libmpeg2.sourceforge.net/files/libmpeg2-%v.tar.gz Source-MD5: 0f92c7454e58379b4a5a378485bbd8ef PatchFile: %n.patch PatchFile-MD5: 88339213f31f433656d93c55c7ae9687 SetLDFLAGS: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib ConfigureParams: --enable-shared --mandir=%p/share/man --disable-dependency-tracking --with-pic --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib InstallScript: make install DESTDIR=%d DocFiles: ChangeLog COPYING NEWS README TODO SplitOff: << Package: %N-shlibs Files: lib/*.*.dylib Shlibs: << %p/lib/libmpeg2.0.dylib 2.0.0 %n (>= 0.5.1-1) %p/lib/libmpeg2convert.0.dylib 1.0.0 %n (>= 0.4.0b-4) << DocFiles: COPYING README << SplitOff2: << Package: %N-dev Depends: %N-shlibs (= %v-%r) Replaces: %N (<< 0.4.0b-4) Files: include lib DocFiles: COPYING README BuildDependsOnly: True << Description: MPEG-2 video stream decoder DescDetail: << mpeg2dec decodes mpeg-1 and mpeg-2 video streams and also includes a demultiplexer for mpeg-1 and mpeg-2 program streams. << DescPackaging: << Originally packaged by Matt Stephenson. << License: GPL Homepage: http://libmpeg2.sourceforge.net --- NEW FILE: ttf2eot.info --- Package: ttf2eot Version: 0.0.2 Revision: 2.1 #Doesn't currently work on powerpc due to endian issues. Architecture: i386, x86_64 Description: Utility to convert TTF files to EOT DescDetail: << EOT is used by Internet Explorer to support css @font-face declarations. << DescUsage: << Converts stdin to stdout. Example: ttf2eot <nicefont.ttf >nicefont.eot << License: BSD Homepage: http://code.google.com/p/ttf2eot/ Maintainer: Daniel Johnson <dan...@daniel-johnson.org> Source: http://ttf2eot.googlecode.com/files/%n-%v-2.tar.gz Source-MD5: 97c9ceb0ded362bf2e6dd3a3a9360f8d SourceDirectory: %n-%v-2 #Patch to remove linux-only %m from format strings. PatchFile: %n.patch PatchFile-MD5: eca7b106516c633f1dd6e725e97ad238 BuildDepends: fink (>= 0.24.12) CompileScript: << make head -n 26 OpenTypeUtilities.h >LICENSE << InstallScript: << install -d %i/bin install -m 0755 ttf2eot %i/bin/ttf2eot << DocFiles: ChangeLog README LICENSE --- NEW FILE: mpeg2dec.patch --- diff -ru mpeg2dec-0.4.1.orig/configure mpeg2dec-0.4.1/configure --- mpeg2dec-0.4.1.orig/configure 2006-02-15 11:34:16.000000000 -0500 +++ mpeg2dec-0.4.1/configure 2006-09-22 19:56:07.000000000 -0400 @@ -4081,6 +4081,7 @@ _ACEOF case "$host" in + i?86-apple-darwin*) TRY_CFLAGS="$OPT_CFLAGS";; i386-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i386";; i486-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=i486";; i586-*) TRY_CFLAGS="$OPT_CFLAGS -mcpu=pentium";; ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs