the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libming1-shlibs
Version: 0.4.2
Revision: 4
BuildDepends: autoconf2.6, automake1.11, fink (>= 0.24.12-1), freetype219, giflib, libpng15, libtool2, pkgconfig, x11-dev
Depends: freetype219-shlibs, giflib-shlibs, libpng15-shlibs
Source: mirror:sourceforge:ming/ming-%v.tar.gz
Source-MD5: b44da4985037241eda6da13d724eb935
PatchFile: %n.patch
PatchFile-MD5: 8ce6ed88a6a4911f797e0e7749c162f3
ConfigureParams: --with-freetype-config=%p/lib/freetype219/bin/freetype-config --disable-python --disable-perl --disable-php --disable-tcl --with-pic --enable-shared --enable-static --mandir=%p/share/man --disable-dependency-tracking
CompileScript: <<
#!/bin/bash -ev
./configure %c
make
<<
InstallScript: make install DESTDIR=%d
DocFiles: AUTHORS COPYING ChangeLog HISTORY INSTALL LICENSE LICENSE_GPL2 NEWS README
Shlibs: %p/lib/libming.1.dylib 6.0.0 %n (>= 0.4.2-1)
SplitOff: <<
Package: libming1-dev
Depends: libming1-shlibs (= %v-%r)
Replaces: ming, libming-dev
Conflicts: ming, libming-dev
BuildDependsOnly: True
Files: <<
include
lib/pkgconfig
lib/libming.dylib
lib/libming.la
lib/libming.a
share/man/man3
<<
DocFiles: AUTHORS COPYING ChangeLog HISTORY INSTALL LICENSE LICENSE_GPL2 NEWS README
Description: Library to generate SWF (Flash) Files (development files)
DescDetail: <<
Ming is an SWF (Flash) file format output library.
It is written in C, with wrappers for C++, Perl, Python,
PHP and experimental support for Ruby and Java.
This package contains the development headers for C and C++.
<<
<<
SplitOff2: <<
Package: libming-utils
Conflicts: swftools
Depends: libming1-shlibs (>= %v-%r), freetype219-shlibs, giflib-shlibs, libpng15-shlibs
Files: <<
bin
share/man/man1
<<
DocFiles: AUTHORS COPYING ChangeLog HISTORY INSTALL LICENSE LICENSE_GPL2 NEWS README
Description: Library to generate SWF (Flash) Files - Utilities
DescDetail: <<
Ming is an SWF (Flash) file format output library.
It is written in C, with wrappers for C++, Perl, Python,
PHP and experimental support for Ruby and Java.
This package contains some utilities like:
swftophp - SWF to PHP converter
makefdb - Font Definition Ripper
listfdb - List Font Definition
listjpeg - List JPEGs
listswf - SWF Disassembler
listaction - Actions Script Disassembler
png2dbl - PNG convert
gif2dbl - GIF converter
gif2mask - GIF Mask extractor
raw2adpcm - Audio Converter
<<
<<
Description: Library to generate SWF (Flash) Files
DescDetail: <<
Ming is an SWF (Flash) file format output library.
It is written in C, with wrappers for C++, Perl, Python,
PHP and experimental support for Ruby and Java.
This package contains the C and C++ library.
<<
DescPackaging: <<
C++ bindings appear to be implemented in headers only,
not compiled. C++ is also used in tests, but no compiled
C++ leaks into the installed binaries.
<<
License: GPL
HomePage: http://www.libming.org
Maintainer: Pierre-Henri Lavigne
diff -Nurd -x'*~' ming-0.4.2.orig/src/blocks/pngdbl.c ming-0.4.2/src/blocks/pngdbl.c
--- ming-0.4.2.orig/src/blocks/pngdbl.c 2008-04-09 17:43:50.000000000 -0400
+++ ming-0.4.2/src/blocks/pngdbl.c 2011-07-30 13:08:41.000000000 -0400
@@ -59,7 +59,7 @@
}
static int pngReadFunc(png_structp png, unsigned char *buf, int len)
-{ SWFInput input = (SWFInput) png->io_ptr;
+{ SWFInput input = (SWFInput) png_get_io_ptr(png);
return SWFInput_read(input, buf, len);
}
@@ -125,7 +125,7 @@
return 0;
}
- if(setjmp(png_ptr->jmpbuf))
+ if(setjmp(png_jmpbuf(png_ptr)))
{
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
return 0;
diff -Nurd -x'*~' ming-0.4.2.orig/util/png2dbl.c ming-0.4.2/util/png2dbl.c
--- ming-0.4.2.orig/util/png2dbl.c 2007-10-30 15:26:56.000000000 -0400
+++ ming-0.4.2/util/png2dbl.c 2011-07-30 13:19:32.000000000 -0400
@@ -87,7 +87,7 @@
error("Couldn't create end_info\n");
}
- if(setjmp(png_ptr->jmpbuf))
+ if(setjmp(png_jmpbuf(png_ptr)))
{
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
fclose(fp);