--- ming-0.4.5.orig/Makefile.in +++ ming-0.4.5/Makefile.in @@ -59,9 +59,10 @@ DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/ming.spec.in $(top_srcdir)/configure AUTHORS COPYING \ - ChangeLog INSTALL NEWS TODO config/compile config/config.guess \ - config/config.sub config/depcomp config/install-sh \ - config/ltmain.sh config/missing + ChangeLog INSTALL NEWS TODO config.guess config.sub \ + config/compile config/config.guess config/config.sub \ + config/depcomp config/install-sh config/ltmain.sh \ + config/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/macros/libtool.m4 \ $(top_srcdir)/macros/ltoptions.m4 \ --- ming-0.4.5.orig/configure +++ ming-0.4.5/configure @@ -2989,7 +2989,7 @@ INTERFACE_CURRENT=5 INTERFACE_AGE=4 -INTERFACE_REVISION=4 +INTERFACE_REVISION=5 --- ming-0.4.5.orig/configure.in +++ ming-0.4.5/configure.in @@ -22,7 +22,7 @@ dnl -- INTERFACE_CURRENT=5 INTERFACE_AGE=4 -INTERFACE_REVISION=4 +INTERFACE_REVISION=5 AC_SUBST(INTERFACE_CURRENT) AC_SUBST(INTERFACE_REVISION) --- ming-0.4.5.orig/debian/README.Debian +++ ming-0.4.5/debian/README.Debian @@ -0,0 +1,7 @@ +ming for Debian +--------------- + +This package is build from a release of the Ming project which can be +found at http://ming.sourceforge.net/. + + -- Stuart Anderson , Sat, 6 Jan 2010 13:33:29 -0400 --- ming-0.4.5.orig/debian/changelog +++ ming-0.4.5/debian/changelog @@ -0,0 +1,427 @@ +ming (1:0.4.5-1ubuntu5) trusty; urgency=medium + + * No change rebuild for phpapi-20121212+lfs (LFS ABI break on 32-bit + arches). + + -- Robie Basak Wed, 19 Feb 2014 08:21:27 +0000 + +ming (1:0.4.5-1ubuntu4) trusty; urgency=low + + * Update python build bits to use multiarch lib path, resolving + FTBFS. + + -- Daniel T Chen Wed, 15 Jan 2014 14:16:05 -0500 + +ming (1:0.4.5-1ubuntu3) trusty; urgency=low + + * Use dh_autotools-dev to update config.{sub,guess} for new ports. + + -- Adam Conrad Wed, 23 Oct 2013 16:53:10 -0600 + +ming (1:0.4.5-1ubuntu2) trusty; urgency=low + + * Rebuild for Perl 5.18. + + -- Colin Watson Mon, 21 Oct 2013 14:32:01 +0100 + +ming (1:0.4.5-1ubuntu1) saucy; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Change build dependency from ttf-opensymbol to fonts-opensymbol. + + -- Colin Watson Tue, 23 Jul 2013 08:02:55 +0100 + +ming (1:0.4.5-1) unstable; urgency=low + + * New Upstream release (Closes: 664992) + * Fix the php .ini file syntax (Closes: 571735) + * Change the Build-Depends from libpng12-dev to libpng-dev (Closes: #662433) + * Updated the HomePage and Standards Version + * Use php5enmode and php5dismod (Closes: #667770) + + -- Stuart R. Anderson Sat, 08 Jun 2013 16:59:42 -0400 + +ming (1:0.4.4-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Convert to dh_python2 (Closes: #616907). + + -- Luca Falavigna Sat, 01 Jun 2013 13:44:53 +0200 + +ming (1:0.4.4-1.1ubuntu3) saucy; urgency=low + + * Rebuild for PHP 5.5. + + -- Colin Watson Tue, 16 Jul 2013 09:07:36 +0100 + +ming (1:0.4.4-1.1ubuntu2) quantal; urgency=low + + * Change build dependency from ttf-opensymbol to fonts-opensymbol. + + -- Ilya Barygin Sun, 09 Sep 2012 15:29:02 +0400 + +ming (1:0.4.4-1.1ubuntu1) quantal; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Python 2.6 transition: + - debian/rules: + + Include /usr/share/python/python.mk. + + Add py_setup_install_args macro to setup.py install. + + Installed modules differ between python versions and can't be + shared, use DH_PYCENTRAL=nomove. + - Remove unnecessary debian/python-ming.{dirs,files}, Python 2.3 is + not supported anymore. + + -- Colin Watson Fri, 10 Aug 2012 13:50:15 +0100 + +ming (1:0.4.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Imported Upstream version 0.4.4 + * Update patches for 0.4.4 release + * Add PHP_API_VERSION < 20100412 check to compile with PHP 5.4 + * font0.fdb was renamed to font2.fdb, adapt debian/mkfontset + + -- Ondřej Surý Mon, 05 Mar 2012 14:51:41 +0100 + +ming (1:0.4.3-1.2ubuntu2) precise; urgency=low + + * Rebuild for Perl 5.14. + + -- Colin Watson Wed, 16 Nov 2011 00:33:41 +0000 + +ming (1:0.4.3-1.2ubuntu1) precise; urgency=low + + * Resynchronise with Debian. Remaining changes: + - Python 2.6 transition: + - debian/rules: + + Include /usr/share/python/python.mk. + + Add py_setup_install_args macro to setup.py install. + + Installed modules differ between python versions and can't be + shared, use DH_PYCENTRAL=nomove. + - Remove unnecessary debian/python-ming.{dirs,files}, Python 2.3 is + not supported anymore. + + -- Colin Watson Mon, 14 Nov 2011 13:44:39 +0000 + +ming (1:0.4.3-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Apply patch from Niko Tyni to fix FTBFS with perl 5.14. + (Closes: #628501) + + new patch: 07-GvCV-isn-t-an-lvalue-since-Perl-5.13.10.patch + * Apply patch from Nobuhiro Iwamatsu to fix FTBFS + with libpng 1.5. (Closes: #636005) + + new patch: 08_libpng15.patch + * debian/rules: Make build-indep-stamp depend on build-arch-stamp as it uses + programs that are built there. + + -- Ansgar Burchardt Sat, 03 Sep 2011 20:05:38 +0200 + +ming (1:0.4.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with ld --no-add-needed using the patch provided by + Matthias Klose . (Closes: 606006) + + new patch: 06_ld_no_add_needed.diff + * debian/control: Removing trailing empty lines from package descriptions. + * debian/control: Add missing comma before ${misc:Depends}. + + -- Ansgar Burchardt Sat, 07 May 2011 13:56:45 +0200 + +ming (1:0.4.3-1ubuntu5) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Mon, 09 May 2011 10:15:59 +0100 + +ming (1:0.4.3-1ubuntu4) natty; urgency=low + + * Fix build failure with ld --no-add-needed. + + -- Matthias Klose Sun, 05 Dec 2010 13:22:33 +0100 + +ming (1:0.4.3-1ubuntu3) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:04:49 +0000 + +ming (1:0.4.3-1ubuntu2) lucid; urgency=low + + * No-change rebuild with PHP 5.3. + + -- Michael Bienia Fri, 12 Mar 2010 18:37:50 +0100 + +ming (1:0.4.3-1ubuntu1) lucid; urgency=low + + * Merge from Debian unstable (LP: #192664), remaining changes: + - Python 2.6 transition: + - debian/rules: + + Include /usr/share/python/python.mk. + + Add py_setup_install_args macro to setup.py install. + + Installed modules differ between python versions and can't be shared, + use DH_PYCENTRAL=nomove. + - Remove unnecessary debian/python-ming.{dirs,files}, Python 2.3 is not + supported anymore. + * debian/control: separate dependencies by commas. + + -- Ilya Barygin Thu, 11 Feb 2010 10:57:41 +0300 + +ming (1:0.4.3-1) unstable; urgency=low + + * New Upstream Release + + -- Stuart R. Anderson Sat, 06 Feb 2010 23:06:39 -0500 + +ming (1:0.4.2-5) unstable; urgency=low + + * New upstream release 0.4.2 move to unstable (Closes: #509401) + * Add missing man pages + * Fix problem with newer bison (Closes: #519406) + * Gif library transition (Closes: #487845) + * Deal with a FTBFS (CLoses: #527710) + * Update the policy version and fix errors + + -- Stuart R. Anderson Thu, 26 Nov 2009 03:08:33 +0000 + +ming (1:0.4.2-4) experimental; urgency=low + + * 05_shared_perl: Let the perl module link with the shared library instead + of forcing the archive. This is needed for work on hppa, where using -fPIC + alone is not enough. (Closes: #510154) + + -- Stuart R. Anderson Tue, 30 Dec 2008 10:54:15 -0500 + +ming (1:0.4.2-3) experimental; urgency=low + + * 04_PIC: turn on -fPIC for alpha, ia64, and hppa + + -- Stuart R. Anderson Mon, 29 Dec 2008 14:43:53 -0500 + +ming (1:0.4.2-2) experimental; urgency=low + + * Inline the text of the PHP license for completeness, + and policy conformance. + * Note that the new version should also fix a FTBFS. (Closes: #497749) + + -- Stuart R. Anderson Fri, 26 Dec 2008 10:46:49 -0500 + +ming (1:0.4.2-1) experimental; urgency=low + + * New upstream release 0.4.2. (Closes: #509401) + + -- Stuart R. Anderson Mon, 22 Dec 2008 10:19:04 -0500 + +ming (1:0.4.0.beta5.cvs20080518-1) experimental; urgency=low + + * Update to new upstream versions. (Closes: #466122) + + -- Stuart R. Anderson Mon, 19 May 2008 16:25:07 -0400 + +ming (1:0.3.0-14ubuntu2) jaunty; urgency=low + + * No-change rebuild to fix lpia shared library dependencies. + + -- Matthias Klose Sun, 22 Mar 2009 16:49:07 +0100 + +ming (1:0.3.0-14ubuntu1) jaunty; urgency=low + + * Python 2.6 transition: + - debian/rules: + + Include /usr/share/python/python.mk. + + Add py_setup_install_args macro to setup.py install. + + Installed modules differ between python versions and can't be shared, + use DH_PYCENTRAL=nomove. + - Remove unnecessary debian/python-ming.{dirs,files}, Python 2.3 is not + supported anymore. + + -- Alessio Treglia Sun, 15 Mar 2009 11:09:32 +0100 + +ming (1:0.3.0-14) unstable; urgency=low + + * Fix Build-Depends on libgif. (Closes #487845) + + -- Stuart R. Anderson Mon, 07 Jul 2008 11:26:35 -0400 + +ming (1:0.3.0-13) unstable; urgency=high + + * I lost. Packaging the new upstream version didn't get finished soon + enough, so fix this FTBFS to get the package back in the archive while + I finish up the new upstream version. High urgency as there are other + packages which build-depend on this one still in the archive. + Closes: #466776 + + -- Stuart R. Anderson Mon, 19 May 2008 11:07:50 -0400 + +ming (1:0.3.0-12) unstable; urgency=low + + * The phpN-ming package should be in section web instead of + inheriting lib from the source package. + * Ack the NMU. + + -- Stuart R. Anderson Thu, 20 Sep 2007 08:16:58 -0400 + +ming (1:0.3.0-11.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfixes. + * Drop hard-coded dependency on obsolete package name giflib4g, the correct + dependency is already being picked up via shlibs. Closes: #424401. + * Drop the php4-ming package, because php4 is going away for lenny. + Closes: #424806. + * Move the libming-util programs from /usr/lib/ming/bin to /usr/bin; + these are end-user binaries, not helper binaries for the library, so + shipping them under /usr/lib is an FHS violation. + * Rename png2swf to png2swf-ming, to eliminate the file conflict with + swftools since the two programs don't have compatible commandline + syntax. Also fix the name displayed in png2swf's usage function, + which was inaccurate anyway. Closes: #421988. + * Take care to remove the build-php5 directory and the generated + libming-util.1 manpage in the clean target. Closes: #424573. + * Clean perl_ext before cleaning the toplevel dir, to avoid leaving + "Makefile.old" around as cruft in the diff. + * Fix up several manpage symlinks to match the binary names actually + being shipped. + + -- Steve Langasek Tue, 22 May 2007 04:00:31 -0700 + +ming (1:0.3.0-11) unstable; urgency=high + + * Fix phpN-ming package to use new php config mechanism. (Closes #404159) + + -- Stuart R. Anderson Sun, 4 Mar 2007 11:10:09 -0500 + +ming (1:0.3.0-10) unstable; urgency=high + + * Fix improper use of PHP_FUNCTION() (Closes: #402897) + * Fix from upstream to avoid ambiguous pointer increment timing + + -- Stuart R. Anderson Wed, 13 Dec 2006 08:26:57 -0500 + +ming (1:0.3.0-9) unstable; urgency=low + + * autofoo adjustment to make sure the module is properly linked against + libming0 (Closes: #395481) + + -- Stuart R. Anderson Fri, 27 Oct 2006 07:44:00 -0400 + +ming (1:0.3.0-8) unstable; urgency=low + + * Build php4-ming (Closes: #385983) + * Build php5-ming (Closes: #385984) + * move dh_fixperms above dh_strip (Closes: #390375) + * Only 1 font, so make description singular (Closes: #383580) + + -- Stuart R. Anderson Fri, 22 Sep 2006 16:01:19 -0400 + +ming (1:0.3.0-7) unstable; urgency=low + + * Add ttftofft from upstream CVS, and add missing ming-font packages. + * Update to follow the new Python policy (Closes: #380870: Python transition + (#2): you are building a private python module !) + * Fix a bug where font properties was being generated incorrectly. + + -- Stuart R. Anderson Tue, 27 Jun 2006 13:42:49 -0400 + +ming (1:0.3.0-6) unstable; urgency=low + + * debian/copyright was incomplete. Filled in missing information. + + -- Stuart R. Anderson Sat, 24 Jun 2006 14:32:55 -0400 + +ming (1:0.3.0-5) unstable; urgency=low + + * Remove the PHP extension code that inadvertantly leaked into the source + tarball. + + -- Stuart R. Anderson Fri, 2 Jun 2006 11:42:48 -0400 + +ming (1:0.3.0-4) unstable; urgency=low + + * Initial release. (Closes: #340489: ITP: libming -- Library to + generate SWF (Flash) Files - Debian Bug report logs) + + -- Stuart R. Anderson Fri, 26 May 2006 18:13:57 -0400 + +ming (1:0.3.0-3) unstable; urgency=low + + * Fix a few lintian/linda warnings + + -- Stuart R. Anderson Tue, 18 Apr 2006 20:39:17 -0400 + +ming (1:0.3.0-2) unstable; urgency=low + + * Add bison as a build-depend + * update the version in the perl extension to be 0.3.0. + + -- Stuart R. Anderson Mon, 17 Apr 2006 23:38:53 -0400 + +ming (1:0.3.0-1) unstable; urgency=low + + * Upstream release of Ming 0.3.0 + * Bump the epoch because I did the beta version wrong + + -- Stuart R. Anderson Wed, 15 Feb 2006 10:14:07 -0500 + +ming (0.3.beta2-1) unstable; urgency=low + + * New upstream release of 0.3.0-beta2 + + -- Stuart R. Anderson Mon, 30 Jan 2006 08:19:09 -0500 + +ming (0.3.beta1.cvs20060106-1) unstable; urgency=low + + * New upstream snapshot from cvs + * Remove the php and java extensions due to licensing conflict + + -- Stuart R. Anderson Fri, 6 Jan 2006 10:42:26 -0500 + +ming (0.3.beta1.cvs20051128-2) unstable; urgency=low + + * Fix some packaging issues that Mattias had but I missed + + -- Stuart R. Anderson Tue, 29 Nov 2005 09:08:20 -0500 + +ming (0.3.beta1.cvs20051128-1) unstable; urgency=low + + * Fresh import from upstream, cvs 20051128 + + -- Stuart R. Anderson Mon, 28 Nov 2005 18:16:00 -0500 + +ming (0.3.beta1.cvs20051015-3) unstable; urgency=low + + * Merge in better packaging files from Mattias Nordstrom + + -- Stuart R. Anderson Mon, 28 Nov 2005 09:36:39 -0500 + +ming (0.3.beta1.cvs20051015-2) unstable; urgency=low + + * Fix missing bounds check in the AS5 scanner. + + -- Stuart R. Anderson Tue, 18 Oct 2005 18:04:08 -0400 + +ming (0.3.beta1.cvs20051015-1) unstable; urgency=low + + * cvs update. Lots of fixes and a new implementation of many of the utils. + + -- Stuart R. Anderson Sat, 15 Oct 2005 13:33:29 -0400 + +libming (0.3beta1-3) unstable; urgency=low + + * cvs update + + -- Klaus Rechert Wed, 29 Dec 2004 13:10:51 +0100 + +libming (0.3beta1-2) unstable; urgency=low + + * cvs 18052004 (a number of bugfixes...) + + -- Klaus Rechert Tue, 18 May 2004 22:21:00 +0200 + +libming (0.3beta1-1) unstable; urgency=low + + * re-release + + -- Klaus Rechert Thu, 11 Mar 2004 16:30:46 +0100 + --- ming-0.4.5.orig/debian/compat +++ ming-0.4.5/debian/compat @@ -0,0 +1 @@ +9 --- ming-0.4.5.orig/debian/control +++ ming-0.4.5/debian/control @@ -0,0 +1,114 @@ +Source: ming +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Stuart R. Anderson +Build-Depends: debhelper (>= 5.0.37.2), docbook-to-man, swig, python-all-dev (>= 2.7.3), libgif-dev, libpng-dev, libz-dev, perl (>= 5.10.0), autotools-dev, flex, bison, libfreetype6-dev, ttf-dejavu, fonts-opensymbol, php5-dev, php5-cli, automake1.10, autoconf2.59, quilt, chrpath +Standards-Version: 3.9.3 +Homepage: http://www.libming.net/ + +Package: libming1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libming (<= 0.2a.cvs20020110-1) +Replaces: libming (<= 0.2a.cvs20020110-1) +Description: Library to generate SWF (Flash) Files + 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. + +Package: libming-dev +Section: libdevel +Architecture: any +Depends: libming1 (= ${binary:Version}), ${misc:Depends} +Description: Library to generate SWF (Flash) Files (development files) + 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++. + +Package: ming-fonts-dejavu +Section: web +Architecture: all +Depends: ${misc:Depends} +Description: Ming format DejaVue Fonts + 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 DejaVu Fonts in the ming format. + +Package: ming-fonts-opensymbol +Section: web +Architecture: all +Depends: ${misc:Depends} +Conflicts: libming-fonts-openoffice +Replaces: libming-fonts-openoffice +Provides: libming-fonts-openoffice +Description: Ming format Opensymbol Fonts + 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 Opensymbol Font in the ming format. + +Package: libswf-perl +Architecture: any +Section: perl +Depends: libming1, ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends} +Suggests: libming-fonts-openoffice +Description: Ming (SWF) module for Perl + 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 Perl Module. + +Package: libming-util +Section: devel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library to generate SWF (Flash) Files - Utilities + 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 + +Package: python-ming +Architecture: any +Section: python +Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends} +Provides: ${python:Provides} +Description: Ming (SWF) module for Python + 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 Python module and development files. + +Package: php5-ming +Architecture: any +Section: web +Depends: ${shlibs:Depends}, ${php:Depends}, ${misc:Depends} +Description: Ming module for php5 + This package provides a module for Ming functions in PHP scripts. + . + PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed + from C, Java and Perl with a couple of unique PHP-specific features thrown + in. The goal of the language is to allow web developers to write + dynamically generated pages quickly. --- ming-0.4.5.orig/debian/copyright +++ ming-0.4.5/debian/copyright @@ -0,0 +1,147 @@ +This package was debianized by Erich Schubert on +Sat, 25 Aug 2001 15:05:42 +0200. +This package was adopted by Mattias Nordstrom on +Sat, 27 Aug 2005 15:00:00 +0300. +This package was adopted by Stuart R. Anderson on +Mon, 28 Nov 2005 09:36:39 -0500 + +Project Homepage: http://ming.sourceforge.net/ +CVS Access: :pserver:anonymous@cvs.sourceforge.net:/cvsroot/ming + +Upstream Author: Dave +see CREDITS as well + +Copyright: + Copyright (C) 2002 Opaque Industries - http://www.opaque.net/ + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301 USA + + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +Some parts are licensed under the GPL. +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The utility code under util is released under the GNU GPL with the following +copyright holders: + * Copyright (C) 2003-2006 "Sandro Santilli" + * Copyright (C) 2005-2006 "Stuart R. Anderson" + +The perl extension code in perl_ext is released under the following copyright: + * Copyright (c) 2000-2001 by Soheil Seyfaie. All rights reserved. + * This program is free software; you can redistribute it and/or modify + * it under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. + +The PHP extension code in php_ext is released under the PHP 3.01 license per +the following copyright: +/* + +----------------------------------------------------------------------+ + | PHP Version 5 | + +----------------------------------------------------------------------+ + | Copyright (c) 1997-2008 The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 3.01 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available through the world-wide-web at the following url: | + | http://www.php.net/license/3_01.txt | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Authors: Dave Hayden | + | Frank M. Kromann | + | Stuart R. Anderson | + | Klaus Rechert | + +----------------------------------------------------------------------+ +*/ + +The text of the PHP licesne is: + +-------------------------------------------------------------------- + The PHP License, version 3.01 +Copyright (c) 1999 - 2008 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP software, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + +PHP includes the Zend Engine, freely available at +. --- ming-0.4.5.orig/debian/docs +++ ming-0.4.5/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- ming-0.4.5.orig/debian/libing-util.install +++ ming-0.4.5/debian/libing-util.install @@ -0,0 +1,2 @@ +usr/bin/* +usr/share/man/man1/* --- ming-0.4.5.orig/debian/libming-dev.dirs +++ ming-0.4.5/debian/libming-dev.dirs @@ -0,0 +1,3 @@ +usr/lib +usr/lib/pkgconfig +usr/include --- ming-0.4.5.orig/debian/libming-dev.install +++ ming-0.4.5/debian/libming-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/share/man/man3/* --- ming-0.4.5.orig/debian/libming-util.dirs +++ ming-0.4.5/debian/libming-util.dirs @@ -0,0 +1 @@ +usr/share/man/man1 --- ming-0.4.5.orig/debian/libming-util.docs +++ ming-0.4.5/debian/libming-util.docs @@ -0,0 +1,2 @@ +util/README +util/TODO --- ming-0.4.5.orig/debian/libming-util.install +++ ming-0.4.5/debian/libming-util.install @@ -0,0 +1,2 @@ +usr/bin/* +usr/share/man/man1/* --- ming-0.4.5.orig/debian/libming-util.sgml +++ ming-0.4.5/debian/libming-util.sgml @@ -0,0 +1,135 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +libming-util.1: libming-util.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Mattias"> + Nordstrom"> + + Aug 27, 2005"> + + 1"> + nordstrom@realnode.com"> + + LIBMING-UTIL"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2005 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Utilities for libming, a library to generate SWF (Flash) Files + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; package. + + &dhpackage; contains some utilities like: + + + + listswfSWF Disassembler + + + listactionActions Script Disassembler + + + + + + OPTIONS + + The programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. + + + + + + Show summary of options. + + + + + + SEE ALSO + + http://ming.sf.net/ + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail;. Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + --- ming-0.4.5.orig/debian/libming1.dirs +++ ming-0.4.5/debian/libming1.dirs @@ -0,0 +1 @@ +usr/lib --- ming-0.4.5.orig/debian/libming1.install +++ ming-0.4.5/debian/libming1.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- ming-0.4.5.orig/debian/libswf-perl.dirs +++ ming-0.4.5/debian/libswf-perl.dirs @@ -0,0 +1,3 @@ +usr/lib/perl5/SWF +usr/lib/perl5/auto/SWF +usr/share/man/man3 --- ming-0.4.5.orig/debian/libswf-perl.docs +++ ming-0.4.5/debian/libswf-perl.docs @@ -0,0 +1,3 @@ +perl_ext/README +perl_ext/TODO +perl_ext/examples --- ming-0.4.5.orig/debian/libswf-perl.install +++ ming-0.4.5/debian/libswf-perl.install @@ -0,0 +1,3 @@ +usr/lib/perl5/SWF/* +usr/lib/perl5/SWF.pm +usr/lib/perl5/auto/SWF/* --- ming-0.4.5.orig/debian/ming-fonts-dejavu.copyright +++ ming-0.4.5/debian/ming-fonts-dejavu.copyright @@ -0,0 +1,58 @@ +This package was first debianized by Stuart R. Anderson +on Fri Aug 11 08:37:38 EDT 2006. + +It was built by converting the fonts installed by the ttf-dejavu package. + +The dejaVu fonts were built from the ttf-dejavu package, which contains fonts +which are derived from the Bitstream Vera fonts which are under the following +license. DejaVu changes are in the public domain. + +Copyright Holder: Bitstream, Inc. + +License: + + Copyright (C) 2003 Bitstream, Inc. + All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute + the Font Software, including without limitation the rights to use, copy, + merge, publish, distribute, and/or sell copies of the Font Software, and + to permit persons to whom the Font Software is furnished to do so, + subject to the following conditions: + + The above copyright and trademark notices and this permission notice + shall be included in all copies of one or more of the Font Software + typefaces. + + The Font Software may be modified, altered, or added to, and in + particular the designs of glyphs or characters in the Fonts may be + modified and additional glyphs or characters may be added to the Fonts, + only if the fonts are renamed to names not containing either the words + "Bitstream" or the word "Vera". + + This License becomes null and void to the extent applicable to Fonts or + Font Software that has been modified and is distributed under the + "Bitstream Vera" names. + + The Font Software may be sold as part of a larger software package but + no copy of one or more of the Font Software typefaces may be sold by + itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL + BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, + OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT + SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font + Software without prior written authorization from the Gnome Foundation + or Bitstream Inc., respectively. For further information, contact: + . --- ming-0.4.5.orig/debian/ming-fonts-dejavu.dirs +++ ming-0.4.5/debian/ming-fonts-dejavu.dirs @@ -0,0 +1 @@ +usr/share/ming/fonts/ttf-dejavu/fdb --- ming-0.4.5.orig/debian/ming-fonts-dejavu.install +++ ming-0.4.5/debian/ming-fonts-dejavu.install @@ -0,0 +1 @@ +usr/share/ming/fonts/ttf-dejavu/fdb/* --- ming-0.4.5.orig/debian/ming-fonts-opensymbol.copyright +++ ming-0.4.5/debian/ming-fonts-opensymbol.copyright @@ -0,0 +1,18 @@ +This package was first debianized by Stuart R. Anderson +on Fri Aug 11 08:37:38 EDT 2006. + +It was built by converting the fonts installed by the ttf-opensymbol package. + +The opensymbol fonts were built from the ttf-opensymbol package, which contains fonts +which contain the following copyright notice: + + +This product is made available subject to the terms of GNU Lesser General +Public License Version 2.1. A copy of the LGPL license can be found +http://www.openoffice.org/project/www/license.html + +Copyright 2002,2005 Sun Microsystems, Inc. + +On Debian systems, a copy of the LGPL can also be found in +/usr/share/common-licenses/LGPL. + --- ming-0.4.5.orig/debian/ming-fonts-opensymbol.dirs +++ ming-0.4.5/debian/ming-fonts-opensymbol.dirs @@ -0,0 +1 @@ +usr/share/ming/fonts/opensymbol/fdb --- ming-0.4.5.orig/debian/ming-fonts-opensymbol.install +++ ming-0.4.5/debian/ming-fonts-opensymbol.install @@ -0,0 +1 @@ +usr/share/ming/fonts/opensymbol/fdb/* --- ming-0.4.5.orig/debian/ming.ini +++ ming-0.4.5/debian/ming.ini @@ -0,0 +1,2 @@ +; configuration for php MING module +extension=ming.so --- ming-0.4.5.orig/debian/mkfontset +++ ming-0.4.5/debian/mkfontset @@ -0,0 +1,30 @@ +#!/bin/sh + +set -x +# This script uses the tools we just build to convert Truetype fonts into +# the format used by Ming. + +setname=$1 +dstname=$setname +if [ "$2" != "" ] +then + dstname=$2 +fi + +mkdir -p fonts/$dstname +mkdir -p fonts/$dstname/fft +mkdir -p fonts/$dstname/fdb + +topdir=`pwd` +export PERL5LIB=$topdir/perl_ext/blib/lib:$topdir/perl_ext/blib/arch/ + +for font in /usr/share/fonts/truetype/$setname/*.ttf +do + fname=`basename $font .ttf` + cd $topdir/fonts/$dstname/fft + LD_LIBRARY_PATH=$topdir/src/.libs perl $topdir/debian/ttftofft.pl $setname $fname + cd $topdir/fonts/$dstname/fdb + LD_LIBRARY_PATH=$topdir/src/.libs $topdir/util/makefdb $topdir/fonts/$dstname/fft/$fname.fft + rm -f $topdir/fonts/$dstname/fft/$fname.fft + mv $topdir/fonts/$dstname/fdb/font2.fdb $topdir/fonts/$dstname/fdb/$fname.fdb +done --- ming-0.4.5.orig/debian/patches/01_perl_vendor +++ ming-0.4.5/debian/patches/01_perl_vendor @@ -0,0 +1,13 @@ +Index: ming-0.4.0.beta5.cvs20080518/perl_ext/Makefile.am +=================================================================== +--- ming-0.4.0.beta5.cvs20080518.orig/perl_ext/Makefile.am 2008-05-20 10:35:21.000000000 -0400 ++++ ming-0.4.0.beta5.cvs20080518/perl_ext/Makefile.am 2008-05-20 10:35:54.000000000 -0400 +@@ -38,7 +38,7 @@ + $(MAKE) -f Makefile.perl install PREFIX=$(prefix) + + Makefile.perl: Makefile.PL +- srcdir=$(srcdir) builddir=$(abs_builddir) $(PERL) $< PREFIX=$(prefix) FIRST_MAKEFILE=Makefile.perl ++ srcdir=$(srcdir) builddir=$(abs_builddir) $(PERL) $< PREFIX=$(prefix) FIRST_MAKEFILE=Makefile.perl INSTALLDIRS=vendor + + clean-local: Makefile.perl + $(MAKE) -f Makefile.perl realclean --- ming-0.4.5.orig/debian/patches/02_php_ext +++ ming-0.4.5/debian/patches/02_php_ext @@ -0,0 +1,10 @@ +--- a/php_ext/Makefile.am ++++ b/php_ext/Makefile.am +@@ -39,5 +39,5 @@ ming_la_CFLAGS = `php-config --includes` + -UHAVE_CONFIG_H + + install: all +- $(INSTALL) -d "$(DESTDIR)"/`php-config --extension-dir` +- $(INSTALL) -m 755 .libs/ming.so "$(DESTDIR)"/`php-config --extension-dir` ++ $(INSTALL) -d `dirname $(prefix)`/`php-config --extension-dir` ++ $(INSTALL) -m 755 .libs/ming.so `dirname $(prefix)`/`php-config --extension-dir` --- ming-0.4.5.orig/debian/patches/03_py_ext +++ ming-0.4.5/debian/patches/03_py_ext @@ -0,0 +1,55 @@ +Index: ming-0.4.5/py_ext/Makefile.am +=================================================================== +--- ming-0.4.5.orig/py_ext/Makefile.am 2014-01-15 15:08:25.658878692 -0500 ++++ ming-0.4.5/py_ext/Makefile.am 2014-01-15 15:19:26.527632799 -0500 +@@ -18,7 +18,7 @@ + rm -Rf test.swf build + + install: +- $(PYTHON) setup.py install --prefix $(prefix) --root "/$(DESTDIR)" ++ $(PYTHON) setup.py install --prefix $(prefix) --root `dirname $(prefix)` + + test.swf: + $(PYTHON) shape.py +Index: ming-0.4.5/py_ext/setup.py +=================================================================== +--- ming-0.4.5.orig/py_ext/setup.py 2014-01-15 15:08:25.630874255 -0500 ++++ ming-0.4.5/py_ext/setup.py 2014-01-15 15:20:07.670154741 -0500 +@@ -19,7 +19,7 @@ + mylibs.append('png') + + if "-lgif": +- mylibs.append("ungif") ++ mylibs.append("gif") + + + setup(name = "mingc", version = "0.4.5", +@@ -27,6 +27,6 @@ + py_modules = ['ming', 'mingc'], + ext_modules = [Extension("_mingc", ["%s/ming_wrap.c" %srcdir], + include_dirs=['/usr/local/include',os.path.join(os.path.join(curdir, '..'),'src')], +- library_dirs=['../src/.libs','/usr/local/lib/'], ++ library_dirs=['../src/.libs','/usr/local/lib/','/usr/lib/'+os.environ['MULTIARCH']], + libraries=mylibs)]) + +Index: ming-0.4.5/py_ext/setup.py.in +=================================================================== +--- ming-0.4.5.orig/py_ext/setup.py.in 2014-01-15 15:08:25.642876156 -0500 ++++ ming-0.4.5/py_ext/setup.py.in 2014-01-15 15:19:52.943820399 -0500 +@@ -19,7 +19,7 @@ + mylibs.append('png') + + if "@GIFLIB@": +- mylibs.append("ungif") ++ mylibs.append("gif") + + + setup(name = "mingc", version = "@MING_VERSION@", +@@ -27,6 +27,6 @@ + py_modules = ['ming', 'mingc'], + ext_modules = [Extension("_mingc", ["%s/ming_wrap.c" %srcdir], + include_dirs=['/usr/local/include',os.path.join(os.path.join(curdir, '..'),'src')], +- library_dirs=['../src/.libs','/usr/local/lib/'], ++ library_dirs=['../src/.libs','/usr/local/lib/','/usr/lib/'+os.environ['MULTIARCH']], + libraries=mylibs)]) + --- ming-0.4.5.orig/debian/patches/04_PIC +++ ming-0.4.5/debian/patches/04_PIC @@ -0,0 +1,28 @@ +--- ming-0.4.2.orig/configure.in 2008-12-29 14:40:35.000000000 -0500 ++++ ming-0.4.2/configure.in 2008-12-29 14:42:26.000000000 -0500 +@@ -338,9 +338,23 @@ + + CFLAGS="$CFLAGS -Wall" + MACHINE=`uname -m` +-if test "$MACHINE" = "x86_64"; then ++case "$MACHINE" in ++"x86_64") + CFLAGS="$CFLAGS -fPIC" +-fi ++ ;; ++"alpha") ++ CFLAGS="$CFLAGS -fPIC" ++ ;; ++"ia64") ++ CFLAGS="$CFLAGS -fPIC" ++ ;; ++"hppa") ++ CFLAGS="$CFLAGS -fPIC" ++ ;; ++*) ++ ;; ++esac ++ + + dnl ------------------------------------------- + dnl Byteorder check --- ming-0.4.5.orig/debian/patches/05_shared_perl +++ ming-0.4.5/debian/patches/05_shared_perl @@ -0,0 +1,15 @@ +--- ming/perl_ext/Makefile.PL.orig 2008-12-30 11:50:15.000000000 -0500 ++++ ming-0.4.2/perl_ext/Makefile.PL 2008-12-30 11:52:52.000000000 -0500 +@@ -146,11 +146,10 @@ + clean => { + FILES => "@do_clean", + }, +- 'MYEXTLIB' => $MING_TOP_BUILDDIR . '/src/.libs/libming.a', + 'OBJECT' => "$XS_OBJECTS", + 'LDFROM' => "$LD_OBJECTS", + 'INC' => "-I$MING_TOP_SRCDIR/src -I$BUILDDIR -I$MING_TOP_BUILDDIR/src -I$SRCDIR", +- 'LIBS' => [ $libs ], ++ 'LIBS' => [ '-L'.$MING_TOP_BUILDDIR . '/src/.libs -lming '.$libs ], + 'PM' => $PM_HASH, + 'MAN3PODS' => $MAN3_HASH, + 'TYPEMAPS' => ["$SRCDIR/typemap"], --- ming-0.4.5.orig/debian/patches/06_ld_no_add_needed.diff +++ ming-0.4.5/debian/patches/06_ld_no_add_needed.diff @@ -0,0 +1,28 @@ +From: Matthias Klose +Date: Sun, 05 Dec 2010 15:04:54 +0100 +Subject: Fix FTBFS with ld --no-add-needed +Bug-Debian: http://bugs.debian.org/606006 + +--- ming.orig/util/Makefile.am ++++ ming/util/Makefile.am +@@ -114,16 +114,16 @@ + makefdb_CFLAGS = -DMAKE_FDB + + gif2mask_SOURCES = gif2mask.c +-gif2mask_LDADD = $(top_builddir)/src/libming.la ++gif2mask_LDADD = $(top_builddir)/src/libming.la $(GIFLIB) $(MATHLIB) $(ZLIB) + + png2dbl_SOURCES = png2dbl.c +-png2dbl_LDADD = $(top_builddir)/src/libming.la ++png2dbl_LDADD = $(top_builddir)/src/libming.la $(PNGLIB) $(MATHLIB) $(ZLIB) + + dbl2png_SOURCES = dbl2png.c +-dbl2png_LDADD = $(top_builddir)/src/libming.la ++dbl2png_LDADD = $(top_builddir)/src/libming.la $(PNGLIB) $(ZLIB) + + gif2dbl_SOURCES = gif2dbl.c +-gif2dbl_LDADD = $(top_builddir)/src/libming.la ++gif2dbl_LDADD = $(top_builddir)/src/libming.la $(GIFLIB) $(MATHLIB) $(ZLIB) + + makeswf_SOURCES = makeswf.c makeswf_utils.c + makeswf_LDADD = $(top_builddir)/src/libming.la --- ming-0.4.5.orig/debian/patches/07-GvCV-isn-t-an-lvalue-since-Perl-5.13.10.patch +++ ming-0.4.5/debian/patches/07-GvCV-isn-t-an-lvalue-since-Perl-5.13.10.patch @@ -0,0 +1,32 @@ +From: Niko Tyni +Date: Sun, 10 Jul 2011 21:46:09 +0300 +Subject: [PATCH] GvCV() isn't an lvalue since Perl 5.13.10 +Bug-Debian: http://bugs.debian.org/628501 + +GvCV() can't be assigned to anymore with recent perls, so use the new +GvCV_set() macro when available or implement it the old way if it isn't. + +--- ming.orig/perl_ext/Exports.c ++++ ming/perl_ext/Exports.c +@@ -190,7 +190,7 @@ + SvPVX(caller), sub, SvPVX(class), sub); + #endif + gv = gv_fetchpv(form("%s::%s",SvPVX( caller), sub), TRUE, SVt_PVCV); +- GvCV(gv) = perl_get_cv(form("%s::%s", SvPVX(class), sub), TRUE); ++ GvCV_set(gv, perl_get_cv(form("%s::%s", SvPVX(class), sub), TRUE)); + GvIMPORTED_CV_on(gv); + GvMULTI_on(gv); + } +--- ming.orig/perl_ext/perl_swf.h ++++ ming/perl_ext/perl_swf.h +@@ -58,6 +58,10 @@ + #define aTHXo_ + #endif + ++#ifndef GvCV_set ++# define GvCV_set(G, C) (GvCV(G) = (C)) ++#endif ++ + #ifndef S_DEBUG + #define swf_debug 0 /* Should we get this from, say, $SWF::debug? */ + #define S_DEBUG(level,code) if (swf_debug >= level) { code; } --- ming-0.4.5.orig/debian/patches/08_libpng15.patch +++ ming-0.4.5/debian/patches/08_libpng15.patch @@ -0,0 +1,48 @@ +From: Nobuhiro Iwamatsu +Date: Sat, 30 Jul 2011 16:45:17 +0900 +Subject: FTBFS with libpng 1.5 +Bug-Debian: http://bugs.debian.org/636005 + +--- a/util/png2dbl.c ++++ b/util/png2dbl.c +@@ -91,7 +91,11 @@ struct pngdata readPNG(FILE *fp) + error("Couldn't create end_info\n"); + } + +- if(setjmp(png_jmpbuf(png_ptr))) ++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 ++ if (setjmp(png_jmpbuf((png_ptr)))) ++#else ++ if(setjmp(png_ptr->jmpbuf)) ++#endif + { + png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); + fclose(fp); +--- a/src/blocks/pngdbl.c ++++ b/src/blocks/pngdbl.c +@@ -61,7 +61,12 @@ static png_structp openPngFromFile(FILE + } + + static int pngReadFunc(png_structp png, unsigned char *buf, int len) +-{ SWFInput input = (SWFInput) png_get_io_ptr(png); ++{ ++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 ++ SWFInput input = (SWFInput) png_get_io_ptr(png); ++#else ++ SWFInput input = (SWFInput) png->io_ptr; ++#endif + return SWFInput_read(input, buf, len); + } + +@@ -127,7 +132,11 @@ static int readPNG(png_structp png_ptr, + return 0; + } + ++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 ++ if (setjmp(png_jmpbuf(png_ptr))) ++#else + if(setjmp(png_jmpbuf(png_ptr))) ++#endif + { + png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); + return 0; --- ming-0.4.5.orig/debian/patches/09-php5.4.patch +++ ming-0.4.5/debian/patches/09-php5.4.patch @@ -0,0 +1,22 @@ +--- a/php_ext/ming.c ++++ b/php_ext/ming.c +@@ -87,10 +87,17 @@ static SWFCXform getCXform(zval *id TSRM + static SWFMatrix getMatrix(zval *id TSRMLS_DC); + #endif + ++#if PHP_API_VERSION < 20100412 + #define PHP_MING_FILE_CHK(file) \ +- if ((PG(safe_mode) && !php_checkuid((file), NULL, CHECKUID_CHECK_FILE_AND_DIR)) || php_check_open_basedir((file) TSRMLS_CC)) { \ ++ if ((PG(safe_mode) && !php_checkuid((file), NULL, CHECKUID_CHECK_FILE_AND_DIR) || php_check_open_basedir((file) TSRMLS_CC)) { \ + RETURN_FALSE; \ +- } \ ++ } ++#else ++#define PHP_MING_FILE_CHK(file) \ ++ if (php_check_open_basedir((file) TSRMLS_CC)) { \ ++ RETURN_FALSE; \ ++ } ++#endif + + /* {{{ proto void ming_setcubicthreshold (int threshold) + Set cubic threshold (?) */ --- ming-0.4.5.orig/debian/patches/series +++ ming-0.4.5/debian/patches/series @@ -0,0 +1,3 @@ +01_perl_vendor +02_php_ext +03_py_ext --- ming-0.4.5.orig/debian/php5-ming.dirs +++ ming-0.4.5/debian/php5-ming.dirs @@ -0,0 +1 @@ +usr/lib/php5 --- ming-0.4.5.orig/debian/php5-ming.install +++ ming-0.4.5/debian/php5-ming.install @@ -0,0 +1 @@ +usr/lib/php5/*/* --- ming-0.4.5.orig/debian/php5-ming.postinst +++ ming-0.4.5/debian/php5-ming.postinst @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +# Source debconf library. +#. /usr/share/debconf/confmodule + +#DEBHELPER# + +if [ "$1" = "configure" ]; then + php5enmod ming +fi + +exit 0 --- ming-0.4.5.orig/debian/php5-ming.prerm +++ ming-0.4.5/debian/php5-ming.prerm @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +#DEBHELPER# + +if [ "$1" = "remove" ]; then + php5dismod ming +fi + +#. /usr/share/debconf/confmodule + +exit 0 --- ming-0.4.5.orig/debian/pycompat +++ ming-0.4.5/debian/pycompat @@ -0,0 +1 @@ +2 --- ming-0.4.5.orig/debian/python-ming.dirs +++ ming-0.4.5/debian/python-ming.dirs @@ -0,0 +1 @@ +usr/lib/python*/dist-packages --- ming-0.4.5.orig/debian/python-ming.docs +++ ming-0.4.5/debian/python-ming.docs @@ -0,0 +1,2 @@ +py_ext/README +py_ext/TODO --- ming-0.4.5.orig/debian/python-ming.install +++ ming-0.4.5/debian/python-ming.install @@ -0,0 +1 @@ +usr/lib/python*/dist-packages/* --- ming-0.4.5.orig/debian/rules +++ ming-0.4.5/debian/rules @@ -0,0 +1,212 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +SOURCE_VERSION = $(shell dpkg-parsechangelog | grep ^Version | sed "s/Version: //") + +#Deal with the hardening stuff +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#DPKG_EXPORT_BUILDFLAGS = 1 +#include /usr/share/dpkg/buildflags.mk + +PYDEF=$(shell pyversions -d) +PYVERS=$(shell pyversions -r) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + + $(MAKE) -f /usr/share/quilt/quilt.make patch + + dh_autotools-dev_updateconfig + ./autogen.sh + + CFLAGS="$(CFLAGS)" ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --disable-rpath \ + --enable-perl \ + --enable-php \ + --enable-python + + touch configure-stamp + +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: configure-stamp + + # Add here commands to compile the arch part of the package. + $(MAKE) + + # Some tests are missing upstream, so this fails + #$(MAKE) check + + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: configure-stamp build-arch-stamp + + $(SHELL) debian/mkfontset ttf-dejavu + #Move file name to be the same as in 0.3.0 for compatability + mv fonts/ttf-dejavu/fdb/DejaVuSans-BoldOblique.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans-B-I.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSans-Bold.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans-B.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSans-Oblique.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans-I.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSans.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSansMono-BoldOblique.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans Mono-B-I.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSansMono-Bold.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans Mono-B.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSansMono-Oblique.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans Mono-I.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSansMono.fdb "fonts/ttf-dejavu/fdb/DejaVu Sans Mono.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSerif-BoldItalic.fdb "fonts/ttf-dejavu/fdb/DejaVu Serif-B-I.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSerif-Bold.fdb "fonts/ttf-dejavu/fdb/DejaVu Serif-B.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSerif-Italic.fdb "fonts/ttf-dejavu/fdb/DejaVu Serif-I.fdb" + mv fonts/ttf-dejavu/fdb/DejaVuSerif.fdb "fonts/ttf-dejavu/fdb/DejaVu Serif.fdb" + + $(SHELL) debian/mkfontset openoffice opensymbol + #Move file name to be the same as in 0.3.0 for compatability + mv fonts/opensymbol/fdb/opens___.fdb fonts/opensymbol/fdb/OpenSymbol.fdb + + touch build-indep-stamp + +clean: + dh_testdir + dh_testroot + + if [ -f Makefile ] ;\ + then \ + $(MAKE) clean; \ + fi + rm -f macros/libtool.m4 macros/ltoptions.m4 macros/ltsugar.m4 macros/ltversion.m4 macros/lt~obsolete.m4 + rm -f config/ltmain.sh + + rm -rf fonts + rm -f build-arch-stamp build-indep-stamp configure-stamp + + # Add here commands to clean up after the build process. + rm -f libming-util.1 + if [ -f Makefile ]; then $(MAKE) distclean; fi + rm -f config.log + dh_autotools-dev_restoreconfig + + $(MAKE) -f /usr/share/quilt/quilt.make unpatch + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep -a + dh_installdirs -a + + # Add here commands to install the arch part of the package into + # debian/tmp. + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + + chrpath -d debian/tmp/usr/lib/perl5/auto/SWF/SWF.so + chrpath -d debian/tmp/usr/lib/php5/*/ming.so + + # 0.4.5 has the man pages we were mising + docbook-to-man debian/libming-util.sgml > libming-util.1 + dh_installman -p libming-util libming-util.1 + +# # Perl extension +# strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/tmp/usr/lib/perl5/auto/SWF/SWF.so + + # install Python extension + for python in $(PYVERS); do \ + python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \ + (cd py_ext;$$python setup.py install --root=../debian/tmp --install-layout=deb; )\ + done + + install -d debian/php5-ming/etc/php5/mods-available + install -m 644 -o root -g root debian/ming.ini debian/php5-ming/etc/php5/mods-available/ming.ini + + # Ming format fonts + install -d debian/tmp/usr/share/ming/fonts + cp -a fonts debian/tmp/usr/share/ming + + # Documentation + install -d debian/tmp/usr/share/man/man1 + ln -fs libming-util.1.gz debian/tmp/usr/share/man/man1/listaction.1.gz + ln -fs libming-util.1.gz debian/tmp/usr/share/man/man1/listaction_d.1.gz + ln -fs libming-util.1.gz debian/tmp/usr/share/man/man1/listswf.1.gz + ln -fs libming-util.1.gz debian/tmp/usr/share/man/man1/listswf_d.1.gz + + cd docs/man && $(MAKE) install-man prefix=$(CURDIR)/debian/tmp/usr + +binary-arch: install + dh_testdir + dh_testroot + + dh_installdocs -s + # These man pages are empty, so remove them + rm -f debian/libswf-perl/usr/share/man/man3/SWF::BrowserFont.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::Character.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::Fill.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::Font.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::FontCollection.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::Gradient.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::SoundInstance.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::SoundStream.3pm.gz + rm -f debian/libswf-perl/usr/share/man/man3/SWF::Text.3pm.gz + # Put the perl man pages in the perl package + mv debian/tmp/usr/share/man/man3/SWF::* debian/libswf-perl/usr/share/man/man3 + mv debian/tmp/usr/share/man/man3/SWF.3pm* debian/libswf-perl/usr/share/man/man3 + dh_install -s --list-missing -v + dh_installchangelogs -s + dh_installman -s + dh_lintian -s + dh_link -s + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_perl -s perl_ext + dh_python2 -s + dh_makeshlibs -s + dh_shlibdeps -s + echo "php:Depends=phpapi-`php-config5 --phpapi`" >> debian/php5-ming.substvars + dh_installdeb -s + + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary-indep: install + dh_testdir + dh_testroot + + dh_installdocs -i + dh_installchangelogs -i + dh_installman -i + dh_link -i + dh_install -i --list-missing + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-indep binary-arch + +.PHONY: build clean binary-arch binary-indep binary install install-arch --- ming-0.4.5.orig/debian/ttftofft.pl +++ ming-0.4.5/debian/ttftofft.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl -w + +die "Usage: ".$0." \n" unless @ARGV; +$setname=$ARGV[0]; +$fontname=$ARGV[1]; +$ttfdir="/usr/share/fonts/truetype/$setname/"; + +use SWF qw(:ALL); + +$m = new SWF::Movie(); + +print STDERR "Adding $ttfdir/$fontname\n"; +$t = new SWF::Text(2); +$f = new SWF::Font($ttfdir."/".$fontname.".ttf"); +$t->setFont($f); +$t->addString($fontname); +$m->add($t); +$m->nextFrame(); +print STDERR "Writing $fontname.fft\n"; +$m->save($fontname.".fft"); --- ming-0.4.5.orig/debian/watch +++ ming-0.4.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qa.debian.org/watch/sf.php/ming/ ming-([\d.]+)\.tar\.gz --- ming-0.4.5.orig/docs/man/Makefile +++ ming-0.4.5/docs/man/Makefile @@ -48,8 +48,8 @@ NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = i686-pc-linux-gnu -host_triplet = i686-pc-linux-gnu +build_triplet = i486-pc-linux-gnu +host_triplet = i486-pc-linux-gnu subdir = docs/man DIST_COMMON = $(dist_man1_MANS) $(dist_man3_MANS) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in @@ -112,21 +112,21 @@ NROFF = nroff MANS = $(dist_man1_MANS) $(dist_man3_MANS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/anderson/ming/libming/config/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/anderson/alioth/ming/config/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AR = ar -AUTOCONF = ${SHELL} /home/anderson/ming/libming/config/missing --run autoconf -AUTOHEADER = ${SHELL} /home/anderson/ming/libming/config/missing --run autoheader -AUTOMAKE = ${SHELL} /home/anderson/ming/libming/config/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/anderson/alioth/ming/config/missing --run autoconf +AUTOHEADER = ${SHELL} /home/anderson/alioth/ming/config/missing --run autoheader +AUTOMAKE = ${SHELL} /home/anderson/alioth/ming/config/missing --run automake-1.11 AWK = gawk -CC = gcc +CC = i486-linux-gnu-gcc CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 -Wall -DSWF_LITTLE_ENDIAN -CPP = gcc -E +CFLAGS = -Wall -g -O2 -Wall -DSWF_LITTLE_ENDIAN +CPP = i486-linux-gnu-gcc -E CPPFLAGS = -CXX = g++ -CXXCPP = g++ -E +CXX = i486-linux-gnu-g++ +CXXCPP = i486-linux-gnu-g++ -E CXXDEPMODE = depmode=gcc3 CXXFLAGS = -g -O2 CYGPATH_W = echo @@ -152,7 +152,7 @@ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s INTERFACE_AGE = 4 INTERFACE_CURRENT = 5 -INTERFACE_REVISION = 4 +INTERFACE_REVISION = 5 LD = /usr/bin/ld LDFLAGS = LEX = flex @@ -164,7 +164,7 @@ LTLIBOBJS = MAINT = # MAJOR_VERSION = 0 -MAKEINFO = ${SHELL} /home/anderson/ming/libming/config/missing --run makeinfo +MAKEINFO = ${SHELL} /home/anderson/alioth/ming/config/missing --run makeinfo MANIFEST_TOOL = : MATHLIB = -lm MICRO_VERSION = 5 @@ -190,17 +190,17 @@ PHPIZE = /usr/bin/phpize PNGLIB = -lpng PYTHON = /usr/bin/python -PYTHON_CPPFLAGS = -PYTHON_EXTRA_LDFLAGS = -PYTHON_EXTRA_LIBS = -PYTHON_LDFLAGS = -PYTHON_SITE_PKG = +PYTHON_CPPFLAGS = -I/usr/include/python2.7 +PYTHON_EXTRA_LDFLAGS = -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions +PYTHON_EXTRA_LIBS = -L/usr/lib -lz -lpthread -ldl -lutil +PYTHON_LDFLAGS = -L/usr/lib/python2.7 -lpython2.7 +PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages PYTHON_VERSION = RANLIB = ranlib SED = /bin/sed SET_MAKE = SHCFLAGS = -SHELL = /bin/sh +SHELL = /bin/bash STRIP = strip TCL = /usr/bin/tclsh TCL_INC_DIR = @@ -209,13 +209,13 @@ XLIB = YACC = bison -y ZLIB = -lz -abs_builddir = /home/anderson/ming/libming/docs/man -abs_srcdir = /home/anderson/ming/libming/docs/man -abs_top_builddir = /home/anderson/ming/libming -abs_top_srcdir = /home/anderson/ming/libming +abs_builddir = /home/anderson/alioth/ming/docs/man +abs_srcdir = /home/anderson/alioth/ming/docs/man +abs_top_builddir = /home/anderson/alioth/ming +abs_top_srcdir = /home/anderson/alioth/ming ac_ct_AR = ar -ac_ct_CC = gcc -ac_ct_CXX = g++ +ac_ct_CC = +ac_ct_CXX = ac_ct_DUMPBIN = am__include = include am__leading_dot = . @@ -223,9 +223,9 @@ am__tar = $${TAR-tar} chof - "$$tardir" am__untar = $${TAR-tar} xf - bindir = ${exec_prefix}/bin -build = i686-pc-linux-gnu -build_alias = -build_cpu = i686 +build = i486-pc-linux-gnu +build_alias = i486-linux-gnu +build_cpu = i486 build_os = linux-gnu build_vendor = pc builddir = . @@ -235,24 +235,24 @@ dvidir = ${docdir} exec_prefix = ${prefix} ft_config = /usr/bin/freetype-config -host = i686-pc-linux-gnu -host_alias = -host_cpu = i686 +host = i486-pc-linux-gnu +host_alias = i486-linux-gnu +host_cpu = i486 host_os = linux-gnu host_vendor = pc htmldir = ${docdir} includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/anderson/ming/libming/config/install-sh +infodir = ${prefix}/share/info +install_sh = ${SHELL} /home/anderson/alioth/ming/config/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale localstatedir = ${prefix}/var -mandir = ${datarootdir}/man +mandir = ${prefix}/share/man mkdir_p = /bin/mkdir -p oldincludedir = /usr/include pdfdir = ${docdir} -prefix = /usr/local +prefix = /usr program_transform_name = s,x,x, psdir = ${docdir} sbindir = ${exec_prefix}/sbin @@ -281,7 +281,18 @@ swftotcl.1 dist_man3_MANS = \ + destroySWFAction.3 \ + destroySWFBinaryData.3 \ + destroySWFBitmap.3 \ + destroySWFBrowserFont.3 \ + destroySWFCXform.3 \ destroySWFMovie.3 \ + destroySWFMovieClip.3 \ + destroySWFPrebuiltClip.3 \ + destroySWFSoundInstance.3 \ + dumpJpegBlock.3 \ + getMP3Duration.3 \ + getMP3Flags.3 \ Ming_getScale.3 \ Ming_init.3 \ Ming_setCubicThreshold.3 \ @@ -290,33 +301,169 @@ Ming_setSWFCompression.3 \ Ming_setWarnFunction.3 \ Ming_useSWFVersion.3 \ + newBevelFilter.3 \ + newBlurFilter.3 \ + newColorMatrixFilter.3 \ + newConvolutionFilter.3 \ + newDropShadowFilter.3 \ + newGlowFilter.3 \ + newGradientBevelFilter.3 \ + newGradientGlowFilter.3 \ + newSizedSWFOutput.3 \ + newSWFAction.3 \ + newSWFAction_fromFile.3 \ + newSWFAddCXform.3 \ + newSWFBinaryData.3 \ + newSWFBlur.3 \ + newSWFBrowserFont.3 \ + newSWFCXform.3 \ + newSWFFilterMatrix.3 \ + newSWFFontCollection_fromFile.3 \ + newSWFFont_fromFile.3 \ + newSWFInitAction.3 \ + newSWFInitAction_withId.3 \ + newSWFInput_allocedBuffer.3 \ + newSWFInput_bufferCopy.3 \ + newSWFJpegWithAlpha_fromInput.3 \ + newSWFLineStyle2.3 \ + newSWFLineStyle2_filled.3 \ + newSWFLineStyle.3 \ + newSWFMatrix.3 \ newSWFMovie.3 \ + newSWFMovieClip.3 \ newSWFMovieWithVersion.3 \ + newSWFMultCXform.3 \ + newSWFPlaceObjectBlock.3 \ + newSWFPosition.3 \ + newSWFPrebuiltClip_fromFile.3 \ + newSWFPrebuiltClip_fromInput.3 \ + newSWFShadow.3 \ newSWFShapeFromBitmap.3 \ + newSWFSound.3 \ + newSWFSoundFromFileno.3 \ + newSWFSound_fromSoundStream.3 \ + newSWFSoundInstance.3 \ + newSWFText2.3 \ newSWFVideoStream.3 \ newSWFVideoStream_fromFile.3 \ newSWFVideoStream_fromInput.3 \ + readMP3Header.3 \ + SWFAction_compile.3 \ + SWFAction_getByteCode.3 \ + SWFAction_setDebug.3 \ + SWFBlock_isCharacter.3 \ + SWFBlockList_getLastBlock.3 \ + SWFButton_addAction.3 \ + SWFButton_addCharacter.3 \ + SWFButton_addShape.3 \ + SWFButtonRecord_addFilter.3 \ + SWFButtonRecord_setBlendMode.3 \ + SWFButton_removeScalingGrid.3 \ + SWFButton_setScalingGrid.3 \ + SWFCharacter_getHeight.3 \ + SWFCharacter_getWidth.3 \ + SWFCXform_setColorAdd.3 \ + SWFCXform_setColorMult.3 \ + SWFDisplayItem_addFilter.3 \ + SWFDisplayItem_cacheAsBitmap.3 \ + SWFDisplayItem_flush.3 \ + SWFDisplayItem_get_x.3 \ + SWFDisplayItem_setBlendMode.3 \ + SWFDisplayItem_setMaskLevel.3 \ + SWFDisplayItem_setName.3 \ + SWFFontCharacter_addAllChars.3 \ + SWFFontCharacter_addChars.3 \ + SWFFontCharacter_addUTF8Chars.3 \ + SWFFont_getScaledAscent.3 \ + SWFGradient_addEntry.3 \ + SWFGradient_setFocalPoint.3 \ + SWFGradient_setInterpolationMode.3 \ + SWFGradient_setSpreadMode.3 \ + SWFMatrix_leftMultiply.3 \ + SWFMatrix_multiply.3 \ SWFMovie_add.3 \ + SWFMovie_addExport.3 \ + SWFMovie_addFont.3 \ + SWFMovie_add_internal.3 \ + SWFMovie_addMetadata.3 \ + SWFMovie_assignSymbol.3 \ + SWFMovieClip_add.3 \ + SWFMovieClip_addInitAction.3 \ + SWFMovieClip_labelFrame.3 \ + SWFMovieClip_nextFrame.3 \ + SWFMovieClip_remove.3 \ + SWFMovieClip_removeScalingGrid.3\ + SWFMovieClip_setNumberOfFrames.3\ + SWFMovieClip_setScalingGrid.3 \ + SWFMovieClip_setSoundStream.3 \ + SWFMovieClip_setSoundStreamAt.3 \ + SWFMovieClip_startSound.3 \ + SWFMovieClip_stopSound.3 \ + SWFMovie_defineScene.3 \ + SWFMovie_getRate.3 \ + SWFMovie_importCharacter.3 \ + SWFMovie_importFont.3 \ SWFMovie_labelFrame.3 \ SWFMovie_namedAnchor.3 \ + SWFMovie_nextFrame.3 \ + SWFMovie_output.3 \ + SWFMovie_output_to_stream.3 \ SWFMovie_protect.3 \ + SWFMovie_remove.3 \ + SWFMovie_replace_internal.3 \ + SWFMovie_save.3 \ + SWFMovie_setBackground.3 \ SWFMovie_setDimension.3 \ + SWFMovie_setNetworkAccess.3 \ SWFMovie_setNumberOfFrames.3 \ - SWFMovie_setBackground.3 \ SWFMovie_setRate.3 \ - SWFDisplayItem_addFilter.3 \ - SWFDisplayItem_cacheAsBitmap.3 \ - SWFDisplayItem_get_x.3 \ - SWFDisplayItem_setBlendMode.3 \ + SWFMovie_setScriptLimits.3 \ + SWFMovie_setSoundStream.3 \ + SWFMovie_setSoundStreamAt.3 \ + SWFMovie_setTabIndex.3 \ + SWFMovie_startSound.3 \ + SWFMovie_stopSound.3 \ + SWFMovie_writeExports.3 \ + SWFOutput_checkSize.3 \ + SWFOutput_writeFloat16.3 \ + SWFPlaceObject2Block_addFilter.3 \ + SWFPlaceObject2Block_setBlendMode.3 \ + SWFPlaceObject2Block_setCacheFlag.3 \ + SWFRect_includePoint.3 \ SWFShape_drawArc.3 \ SWFShape_drawCubic.3 \ SWFShape_drawScaledLineTo.3 \ + SWFShape_getVersion.3 \ SWFShape_movePenTo.3 \ SWFShape_moveScaledPenTo.3 \ + SWFShape_setLine2.3 \ + SWFShape_setLine2Filled.3 \ + SWFShape_setLine.3 \ + SWFShape_setLineStyle2filled_internal.3 \ + SWFShape_setLineStyle2_internal.3 \ + SWFShape_setLineStyle_internal.3 \ + SWFShape_setRenderHintingFlags.3 \ + SWFShape_useVersion.3 \ + SWFSoundInstance_addEnvelope.3 \ + SWFSoundInstance_setLoopCount.3 \ + SWFSoundInstance_setLoopInPoint.3 \ + SWFSoundInstance_setLoopOutPoint.3 \ + SWFSoundInstance_setNoMultiple.3\ + SWFSoundStream_getDuration.3 \ + SWFSoundStream_getFrames.3 \ + SWFSoundStream_rewind.3 \ + SWFText_addWideString.3 \ + SWFTextField_setFont.3 \ + SWFTextField_setFontCharacter.3 \ + SWFText_resolveCodes.3 \ SWFVideoStream_getNumFrames.3 \ SWFVideoStream_getVideoFrame.3 \ SWFVideoStream_hasAudio.3 \ - SWFVideoStream_setDimension.3 + SWFVideoStream_nextFrame.3 \ + SWFVideoStream_seek.3 \ + SWFVideoStream_setDimension.3 \ + SWFVideoStream_setFrameMode.3 \ + writeSWFButtonSoundToMethod.3 all: all-am --- ming-0.4.5.orig/docs/man/Makefile.am +++ ming-0.4.5/docs/man/Makefile.am @@ -16,7 +16,18 @@ swftotcl.1 dist_man3_MANS = \ + destroySWFAction.3 \ + destroySWFBinaryData.3 \ + destroySWFBitmap.3 \ + destroySWFBrowserFont.3 \ + destroySWFCXform.3 \ destroySWFMovie.3 \ + destroySWFMovieClip.3 \ + destroySWFPrebuiltClip.3 \ + destroySWFSoundInstance.3 \ + dumpJpegBlock.3 \ + getMP3Duration.3 \ + getMP3Flags.3 \ Ming_getScale.3 \ Ming_init.3 \ Ming_setCubicThreshold.3 \ @@ -25,30 +36,166 @@ Ming_setSWFCompression.3 \ Ming_setWarnFunction.3 \ Ming_useSWFVersion.3 \ + newBevelFilter.3 \ + newBlurFilter.3 \ + newColorMatrixFilter.3 \ + newConvolutionFilter.3 \ + newDropShadowFilter.3 \ + newGlowFilter.3 \ + newGradientBevelFilter.3 \ + newGradientGlowFilter.3 \ + newSizedSWFOutput.3 \ + newSWFAction.3 \ + newSWFAction_fromFile.3 \ + newSWFAddCXform.3 \ + newSWFBinaryData.3 \ + newSWFBlur.3 \ + newSWFBrowserFont.3 \ + newSWFCXform.3 \ + newSWFFilterMatrix.3 \ + newSWFFontCollection_fromFile.3 \ + newSWFFont_fromFile.3 \ + newSWFInitAction.3 \ + newSWFInitAction_withId.3 \ + newSWFInput_allocedBuffer.3 \ + newSWFInput_bufferCopy.3 \ + newSWFJpegWithAlpha_fromInput.3 \ + newSWFLineStyle2.3 \ + newSWFLineStyle2_filled.3 \ + newSWFLineStyle.3 \ + newSWFMatrix.3 \ newSWFMovie.3 \ + newSWFMovieClip.3 \ newSWFMovieWithVersion.3 \ + newSWFMultCXform.3 \ + newSWFPlaceObjectBlock.3 \ + newSWFPosition.3 \ + newSWFPrebuiltClip_fromFile.3 \ + newSWFPrebuiltClip_fromInput.3 \ + newSWFShadow.3 \ newSWFShapeFromBitmap.3 \ + newSWFSound.3 \ + newSWFSoundFromFileno.3 \ + newSWFSound_fromSoundStream.3 \ + newSWFSoundInstance.3 \ + newSWFText2.3 \ newSWFVideoStream.3 \ newSWFVideoStream_fromFile.3 \ newSWFVideoStream_fromInput.3 \ + readMP3Header.3 \ + SWFAction_compile.3 \ + SWFAction_getByteCode.3 \ + SWFAction_setDebug.3 \ + SWFBlock_isCharacter.3 \ + SWFBlockList_getLastBlock.3 \ + SWFButton_addAction.3 \ + SWFButton_addCharacter.3 \ + SWFButton_addShape.3 \ + SWFButtonRecord_addFilter.3 \ + SWFButtonRecord_setBlendMode.3 \ + SWFButton_removeScalingGrid.3 \ + SWFButton_setScalingGrid.3 \ + SWFCharacter_getHeight.3 \ + SWFCharacter_getWidth.3 \ + SWFCXform_setColorAdd.3 \ + SWFCXform_setColorMult.3 \ + SWFDisplayItem_addFilter.3 \ + SWFDisplayItem_cacheAsBitmap.3 \ + SWFDisplayItem_flush.3 \ + SWFDisplayItem_get_x.3 \ + SWFDisplayItem_setBlendMode.3 \ + SWFDisplayItem_setMaskLevel.3 \ + SWFDisplayItem_setName.3 \ + SWFFontCharacter_addAllChars.3 \ + SWFFontCharacter_addChars.3 \ + SWFFontCharacter_addUTF8Chars.3 \ + SWFFont_getScaledAscent.3 \ + SWFGradient_addEntry.3 \ + SWFGradient_setFocalPoint.3 \ + SWFGradient_setInterpolationMode.3 \ + SWFGradient_setSpreadMode.3 \ + SWFMatrix_leftMultiply.3 \ + SWFMatrix_multiply.3 \ SWFMovie_add.3 \ + SWFMovie_addExport.3 \ + SWFMovie_addFont.3 \ + SWFMovie_add_internal.3 \ + SWFMovie_addMetadata.3 \ + SWFMovie_assignSymbol.3 \ + SWFMovieClip_add.3 \ + SWFMovieClip_addInitAction.3 \ + SWFMovieClip_labelFrame.3 \ + SWFMovieClip_nextFrame.3 \ + SWFMovieClip_remove.3 \ + SWFMovieClip_removeScalingGrid.3\ + SWFMovieClip_setNumberOfFrames.3\ + SWFMovieClip_setScalingGrid.3 \ + SWFMovieClip_setSoundStream.3 \ + SWFMovieClip_setSoundStreamAt.3 \ + SWFMovieClip_startSound.3 \ + SWFMovieClip_stopSound.3 \ + SWFMovie_defineScene.3 \ + SWFMovie_getRate.3 \ + SWFMovie_importCharacter.3 \ + SWFMovie_importFont.3 \ SWFMovie_labelFrame.3 \ SWFMovie_namedAnchor.3 \ + SWFMovie_nextFrame.3 \ + SWFMovie_output.3 \ + SWFMovie_output_to_stream.3 \ SWFMovie_protect.3 \ + SWFMovie_remove.3 \ + SWFMovie_replace_internal.3 \ + SWFMovie_save.3 \ + SWFMovie_setBackground.3 \ SWFMovie_setDimension.3 \ + SWFMovie_setNetworkAccess.3 \ SWFMovie_setNumberOfFrames.3 \ - SWFMovie_setBackground.3 \ SWFMovie_setRate.3 \ - SWFDisplayItem_addFilter.3 \ - SWFDisplayItem_cacheAsBitmap.3 \ - SWFDisplayItem_get_x.3 \ - SWFDisplayItem_setBlendMode.3 \ + SWFMovie_setScriptLimits.3 \ + SWFMovie_setSoundStream.3 \ + SWFMovie_setSoundStreamAt.3 \ + SWFMovie_setTabIndex.3 \ + SWFMovie_startSound.3 \ + SWFMovie_stopSound.3 \ + SWFMovie_writeExports.3 \ + SWFOutput_checkSize.3 \ + SWFOutput_writeFloat16.3 \ + SWFPlaceObject2Block_addFilter.3 \ + SWFPlaceObject2Block_setBlendMode.3 \ + SWFPlaceObject2Block_setCacheFlag.3 \ + SWFRect_includePoint.3 \ SWFShape_drawArc.3 \ SWFShape_drawCubic.3 \ SWFShape_drawScaledLineTo.3 \ + SWFShape_getVersion.3 \ SWFShape_movePenTo.3 \ SWFShape_moveScaledPenTo.3 \ + SWFShape_setLine2.3 \ + SWFShape_setLine2Filled.3 \ + SWFShape_setLine.3 \ + SWFShape_setLineStyle2filled_internal.3 \ + SWFShape_setLineStyle2_internal.3 \ + SWFShape_setLineStyle_internal.3 \ + SWFShape_setRenderHintingFlags.3 \ + SWFShape_useVersion.3 \ + SWFSoundInstance_addEnvelope.3 \ + SWFSoundInstance_setLoopCount.3 \ + SWFSoundInstance_setLoopInPoint.3 \ + SWFSoundInstance_setLoopOutPoint.3 \ + SWFSoundInstance_setNoMultiple.3\ + SWFSoundStream_getDuration.3 \ + SWFSoundStream_getFrames.3 \ + SWFSoundStream_rewind.3 \ + SWFText_addWideString.3 \ + SWFTextField_setFont.3 \ + SWFTextField_setFontCharacter.3 \ + SWFText_resolveCodes.3 \ SWFVideoStream_getNumFrames.3 \ SWFVideoStream_getVideoFrame.3 \ SWFVideoStream_hasAudio.3 \ - SWFVideoStream_setDimension.3 + SWFVideoStream_nextFrame.3 \ + SWFVideoStream_seek.3 \ + SWFVideoStream_setDimension.3 \ + SWFVideoStream_setFrameMode.3 \ + writeSWFButtonSoundToMethod.3 --- ming-0.4.5.orig/docs/man/Makefile.in +++ ming-0.4.5/docs/man/Makefile.in @@ -281,7 +281,18 @@ swftotcl.1 dist_man3_MANS = \ + destroySWFAction.3 \ + destroySWFBinaryData.3 \ + destroySWFBitmap.3 \ + destroySWFBrowserFont.3 \ + destroySWFCXform.3 \ destroySWFMovie.3 \ + destroySWFMovieClip.3 \ + destroySWFPrebuiltClip.3 \ + destroySWFSoundInstance.3 \ + dumpJpegBlock.3 \ + getMP3Duration.3 \ + getMP3Flags.3 \ Ming_getScale.3 \ Ming_init.3 \ Ming_setCubicThreshold.3 \ @@ -290,33 +301,169 @@ Ming_setSWFCompression.3 \ Ming_setWarnFunction.3 \ Ming_useSWFVersion.3 \ + newBevelFilter.3 \ + newBlurFilter.3 \ + newColorMatrixFilter.3 \ + newConvolutionFilter.3 \ + newDropShadowFilter.3 \ + newGlowFilter.3 \ + newGradientBevelFilter.3 \ + newGradientGlowFilter.3 \ + newSizedSWFOutput.3 \ + newSWFAction.3 \ + newSWFAction_fromFile.3 \ + newSWFAddCXform.3 \ + newSWFBinaryData.3 \ + newSWFBlur.3 \ + newSWFBrowserFont.3 \ + newSWFCXform.3 \ + newSWFFilterMatrix.3 \ + newSWFFontCollection_fromFile.3 \ + newSWFFont_fromFile.3 \ + newSWFInitAction.3 \ + newSWFInitAction_withId.3 \ + newSWFInput_allocedBuffer.3 \ + newSWFInput_bufferCopy.3 \ + newSWFJpegWithAlpha_fromInput.3 \ + newSWFLineStyle2.3 \ + newSWFLineStyle2_filled.3 \ + newSWFLineStyle.3 \ + newSWFMatrix.3 \ newSWFMovie.3 \ + newSWFMovieClip.3 \ newSWFMovieWithVersion.3 \ + newSWFMultCXform.3 \ + newSWFPlaceObjectBlock.3 \ + newSWFPosition.3 \ + newSWFPrebuiltClip_fromFile.3 \ + newSWFPrebuiltClip_fromInput.3 \ + newSWFShadow.3 \ newSWFShapeFromBitmap.3 \ + newSWFSound.3 \ + newSWFSoundFromFileno.3 \ + newSWFSound_fromSoundStream.3 \ + newSWFSoundInstance.3 \ + newSWFText2.3 \ newSWFVideoStream.3 \ newSWFVideoStream_fromFile.3 \ newSWFVideoStream_fromInput.3 \ + readMP3Header.3 \ + SWFAction_compile.3 \ + SWFAction_getByteCode.3 \ + SWFAction_setDebug.3 \ + SWFBlock_isCharacter.3 \ + SWFBlockList_getLastBlock.3 \ + SWFButton_addAction.3 \ + SWFButton_addCharacter.3 \ + SWFButton_addShape.3 \ + SWFButtonRecord_addFilter.3 \ + SWFButtonRecord_setBlendMode.3 \ + SWFButton_removeScalingGrid.3 \ + SWFButton_setScalingGrid.3 \ + SWFCharacter_getHeight.3 \ + SWFCharacter_getWidth.3 \ + SWFCXform_setColorAdd.3 \ + SWFCXform_setColorMult.3 \ + SWFDisplayItem_addFilter.3 \ + SWFDisplayItem_cacheAsBitmap.3 \ + SWFDisplayItem_flush.3 \ + SWFDisplayItem_get_x.3 \ + SWFDisplayItem_setBlendMode.3 \ + SWFDisplayItem_setMaskLevel.3 \ + SWFDisplayItem_setName.3 \ + SWFFontCharacter_addAllChars.3 \ + SWFFontCharacter_addChars.3 \ + SWFFontCharacter_addUTF8Chars.3 \ + SWFFont_getScaledAscent.3 \ + SWFGradient_addEntry.3 \ + SWFGradient_setFocalPoint.3 \ + SWFGradient_setInterpolationMode.3 \ + SWFGradient_setSpreadMode.3 \ + SWFMatrix_leftMultiply.3 \ + SWFMatrix_multiply.3 \ SWFMovie_add.3 \ + SWFMovie_addExport.3 \ + SWFMovie_addFont.3 \ + SWFMovie_add_internal.3 \ + SWFMovie_addMetadata.3 \ + SWFMovie_assignSymbol.3 \ + SWFMovieClip_add.3 \ + SWFMovieClip_addInitAction.3 \ + SWFMovieClip_labelFrame.3 \ + SWFMovieClip_nextFrame.3 \ + SWFMovieClip_remove.3 \ + SWFMovieClip_removeScalingGrid.3\ + SWFMovieClip_setNumberOfFrames.3\ + SWFMovieClip_setScalingGrid.3 \ + SWFMovieClip_setSoundStream.3 \ + SWFMovieClip_setSoundStreamAt.3 \ + SWFMovieClip_startSound.3 \ + SWFMovieClip_stopSound.3 \ + SWFMovie_defineScene.3 \ + SWFMovie_getRate.3 \ + SWFMovie_importCharacter.3 \ + SWFMovie_importFont.3 \ SWFMovie_labelFrame.3 \ SWFMovie_namedAnchor.3 \ + SWFMovie_nextFrame.3 \ + SWFMovie_output.3 \ + SWFMovie_output_to_stream.3 \ SWFMovie_protect.3 \ + SWFMovie_remove.3 \ + SWFMovie_replace_internal.3 \ + SWFMovie_save.3 \ + SWFMovie_setBackground.3 \ SWFMovie_setDimension.3 \ + SWFMovie_setNetworkAccess.3 \ SWFMovie_setNumberOfFrames.3 \ - SWFMovie_setBackground.3 \ SWFMovie_setRate.3 \ - SWFDisplayItem_addFilter.3 \ - SWFDisplayItem_cacheAsBitmap.3 \ - SWFDisplayItem_get_x.3 \ - SWFDisplayItem_setBlendMode.3 \ + SWFMovie_setScriptLimits.3 \ + SWFMovie_setSoundStream.3 \ + SWFMovie_setSoundStreamAt.3 \ + SWFMovie_setTabIndex.3 \ + SWFMovie_startSound.3 \ + SWFMovie_stopSound.3 \ + SWFMovie_writeExports.3 \ + SWFOutput_checkSize.3 \ + SWFOutput_writeFloat16.3 \ + SWFPlaceObject2Block_addFilter.3 \ + SWFPlaceObject2Block_setBlendMode.3 \ + SWFPlaceObject2Block_setCacheFlag.3 \ + SWFRect_includePoint.3 \ SWFShape_drawArc.3 \ SWFShape_drawCubic.3 \ SWFShape_drawScaledLineTo.3 \ + SWFShape_getVersion.3 \ SWFShape_movePenTo.3 \ SWFShape_moveScaledPenTo.3 \ + SWFShape_setLine2.3 \ + SWFShape_setLine2Filled.3 \ + SWFShape_setLine.3 \ + SWFShape_setLineStyle2filled_internal.3 \ + SWFShape_setLineStyle2_internal.3 \ + SWFShape_setLineStyle_internal.3 \ + SWFShape_setRenderHintingFlags.3 \ + SWFShape_useVersion.3 \ + SWFSoundInstance_addEnvelope.3 \ + SWFSoundInstance_setLoopCount.3 \ + SWFSoundInstance_setLoopInPoint.3 \ + SWFSoundInstance_setLoopOutPoint.3 \ + SWFSoundInstance_setNoMultiple.3\ + SWFSoundStream_getDuration.3 \ + SWFSoundStream_getFrames.3 \ + SWFSoundStream_rewind.3 \ + SWFText_addWideString.3 \ + SWFTextField_setFont.3 \ + SWFTextField_setFontCharacter.3 \ + SWFText_resolveCodes.3 \ SWFVideoStream_getNumFrames.3 \ SWFVideoStream_getVideoFrame.3 \ SWFVideoStream_hasAudio.3 \ - SWFVideoStream_setDimension.3 + SWFVideoStream_nextFrame.3 \ + SWFVideoStream_seek.3 \ + SWFVideoStream_setDimension.3 \ + SWFVideoStream_setFrameMode.3 \ + writeSWFButtonSoundToMethod.3 all: all-am --- ming-0.4.5.orig/perl_ext/Makefile.in +++ ming-0.4.5/perl_ext/Makefile.in @@ -463,7 +463,7 @@ $(MAKE) -f Makefile.perl install PREFIX=$(prefix) Makefile.perl: Makefile.PL - srcdir=$(srcdir) builddir=$(abs_builddir) $(PERL) $< PREFIX=$(prefix) FIRST_MAKEFILE=Makefile.perl + srcdir=$(srcdir) builddir=$(abs_builddir) $(PERL) $< PREFIX=$(prefix) FIRST_MAKEFILE=Makefile.perl INSTALLDIRS=vendor clean-local: Makefile.perl $(MAKE) -f Makefile.perl realclean --- ming-0.4.5.orig/php_ext/Makefile.in +++ ming-0.4.5/php_ext/Makefile.in @@ -649,8 +649,8 @@ install: all - $(INSTALL) -d "$(DESTDIR)"/`php-config --extension-dir` - $(INSTALL) -m 755 .libs/ming.so "$(DESTDIR)"/`php-config --extension-dir` + $(INSTALL) -d `dirname $(prefix)`/`php-config --extension-dir` + $(INSTALL) -m 755 .libs/ming.so `dirname $(prefix)`/`php-config --extension-dir` # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. --- ming-0.4.5.orig/py_ext/Makefile.in +++ ming-0.4.5/py_ext/Makefile.in @@ -443,7 +443,7 @@ rm -Rf test.swf build install: - $(PYTHON) setup.py install --prefix $(prefix) --root "/$(DESTDIR)" + $(PYTHON) setup.py install --prefix $(prefix) --root `dirname $(prefix)` test.swf: $(PYTHON) shape.py