r242 - /packages/ming/trunk/debian/

anderson at users.alioth.debian.org anderson at users.alioth.debian.org
Tue May 20 00:49:44 UTC 2008


Author: anderson
Date: Tue May 20 00:49:43 2008
New Revision: 242

URL: http://svn.debian.org/wsvn/?sc=1&rev=242
Log:
Upgraded packaging for a new upstream version

Added:
    packages/ming/trunk/debian/README.Debian
    packages/ming/trunk/debian/changelog
    packages/ming/trunk/debian/compat
    packages/ming/trunk/debian/control
    packages/ming/trunk/debian/copyright
    packages/ming/trunk/debian/docs
    packages/ming/trunk/debian/libming-dev.dirs
    packages/ming/trunk/debian/libming-dev.files
    packages/ming/trunk/debian/libming-util.dirs
    packages/ming/trunk/debian/libming-util.docs
    packages/ming/trunk/debian/libming-util.files
    packages/ming/trunk/debian/libming-util.sgml
    packages/ming/trunk/debian/libming0.dirs
    packages/ming/trunk/debian/libming0.files
    packages/ming/trunk/debian/libswf-perl.dirs
    packages/ming/trunk/debian/libswf-perl.docs
    packages/ming/trunk/debian/libswf-perl.files
    packages/ming/trunk/debian/ming-fonts-dejavu.copyright
    packages/ming/trunk/debian/ming-fonts-dejavu.dirs
    packages/ming/trunk/debian/ming-fonts-dejavu.files
    packages/ming/trunk/debian/ming-fonts-opensymbol.copyright
    packages/ming/trunk/debian/ming-fonts-opensymbol.dirs
    packages/ming/trunk/debian/ming-fonts-opensymbol.files
    packages/ming/trunk/debian/ming.ini
    packages/ming/trunk/debian/mkfontset
    packages/ming/trunk/debian/php5-ming.dirs
    packages/ming/trunk/debian/php5-ming.files
    packages/ming/trunk/debian/php5-ming.postinst
    packages/ming/trunk/debian/php5-ming.prerm
    packages/ming/trunk/debian/pycompat
    packages/ming/trunk/debian/python-ming.dirs
    packages/ming/trunk/debian/python-ming.docs
    packages/ming/trunk/debian/python-ming.files
    packages/ming/trunk/debian/rules   (with props)
    packages/ming/trunk/debian/ttftofft.pl   (with props)
    packages/ming/trunk/debian/watch

Added: packages/ming/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/README.Debian?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/README.Debian (added)
+++ packages/ming/trunk/debian/README.Debian Tue May 20 00:49:43 2008
@@ -1,0 +1,7 @@
+ming for Debian
+---------------
+
+This package is build from a CVS snapshot of the Ming project which can be
+found at http://ming.sourceforge.net/.
+
+ -- Stuart Anderson <anderson at netsweng.com>, Sat, 15 Oct 2005 13:33:29 -0400

Added: packages/ming/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/changelog?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/changelog (added)
+++ packages/ming/trunk/debian/changelog Tue May 20 00:49:43 2008
@@ -1,0 +1,177 @@
+ming (1:0.4.0.beta5.cvs20080518-1) experimental; urgency=low
+
+  * Update to new upstream versions. Closes: #466122 
+
+ -- Stuart R. Anderson <anderson at netsweng.com>  Mon, 19 May 2008 16:25:07 -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 <anderson at netsweng.com>  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 <vorlon at debian.org>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <nordstrom at realnode.com> 
+
+ -- Stuart R. Anderson <anderson at netsweng.com>  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 <anderson at netsweng.com>  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 <anderson at netsweng.com>  Sat, 15 Oct 2005 13:33:29 -0400
+
+libming (0.3beta1-3) unstable; urgency=low
+
+  * cvs update
+
+ -- Klaus Rechert <klaus at geekserver.net>  Wed, 29 Dec 2004 13:10:51 +0100
+
+libming (0.3beta1-2) unstable; urgency=low
+
+  * cvs 18052004 (a number of bugfixes...)
+
+ -- Klaus Rechert <klaus at geekserver.net>  Tue, 18 May 2004 22:21:00 +0200
+
+libming (0.3beta1-1) unstable; urgency=low
+
+  * re-release
+
+ -- Klaus Rechert <rechert at informatik.uni-freiburg.de>  Thu,  11 Mar 2004  16:30:46 +0100
+ 

Added: packages/ming/trunk/debian/compat
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/compat?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/compat (added)
+++ packages/ming/trunk/debian/compat Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+5

Added: packages/ming/trunk/debian/control
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/control?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/control (added)
+++ packages/ming/trunk/debian/control Tue May 20 00:49:43 2008
@@ -1,0 +1,121 @@
+Source: ming
+Section: libs
+Priority: optional
+Maintainer: Stuart R. Anderson <anderson at netsweng.com>
+Build-Depends: debhelper (>= 5.0.37.2), docbook-to-man, swig, python-all-dev (>= 2.3.5-11), libungif4-dev, libgif-dev, libpng12-dev, libz-dev, perl (>= 5.10.0), autotools-dev, flex, bison, libfreetype6-dev, ttf-dejavu, ttf-opensymbol, python-central (>= 0.5), php5-dev, automake1.9
+XS-Python-Version: all
+Standards-Version: 3.7.3
+Homepage: http://ming.sourceforge.net/
+
+Package: libming0
+Section: libs
+Architecture: any
+Depends: ${shlibs: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: libming0 (= ${Source-Version})
+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
+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
+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: libming0 (= ${Source-Version}), ${shlibs:Depends}, ${perl: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}
+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}
+XB-Python-Version: ${python:Versions}
+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}
+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.
+

Added: packages/ming/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/copyright?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/copyright (added)
+++ packages/ming/trunk/debian/copyright Tue May 20 00:49:43 2008
@@ -1,0 +1,75 @@
+This package was debianized by Erich Schubert <debian at vitavonni.de> on
+Sat, 25 Aug 2001 15:05:42 +0200.
+This package was adopted by Mattias Nordstrom <nordstrom at realnode.com> on
+Sat, 27 Aug 2005 15:00:00 +0300.
+This package was adopted by Stuart R. Anderson <anderson at netsweng.com> on
+Mon, 28 Nov 2005 09:36:39 -0500
+
+Project Homepage: http://ming.sourceforge.net/
+CVS Access:       :pserver:anonymous at cvs.sourceforge.net:/cvsroot/ming
+
+Upstream Author: Dave <ming at opaque.net>
+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" <strk at keybit.net>
+ *  Copyright (C) 2005-2006 "Stuart R. Anderson" <anderson at netsweng.com>
+
+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-2006 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 at php.net so we can mail you a copy immediately.               |
+  +----------------------------------------------------------------------+
+  | Authors: Dave Hayden <dave at opaque.net>                               |
+  |          Frank M. Kromann <fmk at php.net>                              |
+  |          Stuart R. Anderson <anderson at netsweng.com>                  |
+  +----------------------------------------------------------------------+
+*/

Added: packages/ming/trunk/debian/docs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/docs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/docs (added)
+++ packages/ming/trunk/debian/docs Tue May 20 00:49:43 2008
@@ -1,0 +1,3 @@
+NEWS
+README
+TODO

Added: packages/ming/trunk/debian/libming-dev.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming-dev.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming-dev.dirs (added)
+++ packages/ming/trunk/debian/libming-dev.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,3 @@
+usr/lib
+usr/lib/pkgconfig
+usr/include

Added: packages/ming/trunk/debian/libming-dev.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming-dev.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming-dev.files (added)
+++ packages/ming/trunk/debian/libming-dev.files Tue May 20 00:49:43 2008
@@ -1,0 +1,4 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig

Added: packages/ming/trunk/debian/libming-util.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming-util.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming-util.dirs (added)
+++ packages/ming/trunk/debian/libming-util.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/share/man/man1

Added: packages/ming/trunk/debian/libming-util.docs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming-util.docs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming-util.docs (added)
+++ packages/ming/trunk/debian/libming-util.docs Tue May 20 00:49:43 2008
@@ -1,0 +1,2 @@
+util/README
+util/TODO

Added: packages/ming/trunk/debian/libming-util.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming-util.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming-util.files (added)
+++ packages/ming/trunk/debian/libming-util.files Tue May 20 00:49:43 2008
@@ -1,0 +1,2 @@
+usr/bin/*
+usr/share/man/man1/*

Added: packages/ming/trunk/debian/libming-util.sgml
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming-util.sgml?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming-util.sgml (added)
+++ packages/ming/trunk/debian/libming-util.sgml Tue May 20 00:49:43 2008
@@ -1,0 +1,156 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > 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.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Mattias</firstname>">
+  <!ENTITY dhsurname   "<surname>Nordstrom</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>Aug 27, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>nordstrom at realnode.com</email>">
+  <!ENTITY dhusername  "Mattias Nordstrom">
+  <!ENTITY dhucpackage "<refentrytitle>LIBMING-UTIL</refentrytitle>">
+  <!ENTITY dhpackage   "libming-util">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2005</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>Utilities for libming, a library to generate SWF (Flash) Files</refpurpose>
+  </refnamediv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> package.</para>
+
+    <para><command>&dhpackage;</command> contains some utilities like:</para>
+
+<variablelist>
+ <varlistentry>
+  <term>swftophp</term><listitem><para>SWF to PHP converter</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>makefdb</term><listitem><para>Font Definition Ripper</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>listfdb</term><listitem><para>List Font Definition</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>listjpeg</term><listitem><para>List JPEGs</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>listswf</term><listitem><para>SWF Disassembler</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>listaction</term><listitem><para>Actions Script Disassembler</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>png2dbl</term><listitem><para>PNG convert</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>gif2dbl</term><listitem><para>GIF converter</para></listitem>
+ </varlistentry>
+ <varlistentry>
+  <term>gif2mask</term><listitem><para>GIF Mask extractor</para></listitem>
+ </varlistentry>
+</variablelist>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>The programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option> <option>--help</option></term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>http://ming.sf.net/</para>
+
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>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.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

Added: packages/ming/trunk/debian/libming0.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming0.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming0.dirs (added)
+++ packages/ming/trunk/debian/libming0.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/lib

Added: packages/ming/trunk/debian/libming0.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libming0.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libming0.files (added)
+++ packages/ming/trunk/debian/libming0.files Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/lib/lib*.so.*

Added: packages/ming/trunk/debian/libswf-perl.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libswf-perl.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libswf-perl.dirs (added)
+++ packages/ming/trunk/debian/libswf-perl.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,3 @@
+usr/lib/perl5/SWF
+usr/lib/perl5/auto/SWF
+usr/share/man/man3

Added: packages/ming/trunk/debian/libswf-perl.docs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libswf-perl.docs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libswf-perl.docs (added)
+++ packages/ming/trunk/debian/libswf-perl.docs Tue May 20 00:49:43 2008
@@ -1,0 +1,3 @@
+perl_ext/README
+perl_ext/TODO
+perl_ext/examples

Added: packages/ming/trunk/debian/libswf-perl.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/libswf-perl.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/libswf-perl.files (added)
+++ packages/ming/trunk/debian/libswf-perl.files Tue May 20 00:49:43 2008
@@ -1,0 +1,4 @@
+usr/lib/perl5/SWF/*
+usr/lib/perl5/SWF.pm
+usr/lib/perl5/auto/SWF/*
+usr/share/man/man3/SWF*

Added: packages/ming/trunk/debian/ming-fonts-dejavu.copyright
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ming-fonts-dejavu.copyright?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ming-fonts-dejavu.copyright (added)
+++ packages/ming/trunk/debian/ming-fonts-dejavu.copyright Tue May 20 00:49:43 2008
@@ -1,0 +1,58 @@
+This package was first debianized by Stuart R. Anderson <anderson at netsweng.com>
+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:
+	<fonts at gnome.org>.

Added: packages/ming/trunk/debian/ming-fonts-dejavu.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ming-fonts-dejavu.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ming-fonts-dejavu.dirs (added)
+++ packages/ming/trunk/debian/ming-fonts-dejavu.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/share/ming/fonts/ttf-dejavu/fdb

Added: packages/ming/trunk/debian/ming-fonts-dejavu.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ming-fonts-dejavu.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ming-fonts-dejavu.files (added)
+++ packages/ming/trunk/debian/ming-fonts-dejavu.files Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/share/ming/fonts/ttf-dejavu/fdb

Added: packages/ming/trunk/debian/ming-fonts-opensymbol.copyright
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ming-fonts-opensymbol.copyright?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ming-fonts-opensymbol.copyright (added)
+++ packages/ming/trunk/debian/ming-fonts-opensymbol.copyright Tue May 20 00:49:43 2008
@@ -1,0 +1,18 @@
+This package was first debianized by Stuart R. Anderson <anderson at netsweng.com>
+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.
+

Added: packages/ming/trunk/debian/ming-fonts-opensymbol.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ming-fonts-opensymbol.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ming-fonts-opensymbol.dirs (added)
+++ packages/ming/trunk/debian/ming-fonts-opensymbol.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/share/ming/fonts/opensymbol/fdb

Added: packages/ming/trunk/debian/ming-fonts-opensymbol.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ming-fonts-opensymbol.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ming-fonts-opensymbol.files (added)
+++ packages/ming/trunk/debian/ming-fonts-opensymbol.files Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/share/ming/fonts/opensymbol/fdb

Added: packages/ming/trunk/debian/ming.ini
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ming.ini?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ming.ini (added)
+++ packages/ming/trunk/debian/ming.ini Tue May 20 00:49:43 2008
@@ -1,0 +1,2 @@
+# configuration for php MING module
+extension=ming.so

Added: packages/ming/trunk/debian/mkfontset
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/mkfontset?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/mkfontset (added)
+++ packages/ming/trunk/debian/mkfontset Tue May 20 00:49:43 2008
@@ -1,0 +1,29 @@
+#!/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 $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
+	mv $topdir/fonts/$dstname/fdb/font0.fdb $topdir/fonts/$dstname/fdb/$fname.fdb
+done

Added: packages/ming/trunk/debian/php5-ming.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/php5-ming.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/php5-ming.dirs (added)
+++ packages/ming/trunk/debian/php5-ming.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/lib/php5

Added: packages/ming/trunk/debian/php5-ming.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/php5-ming.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/php5-ming.files (added)
+++ packages/ming/trunk/debian/php5-ming.files Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/lib/php5/*/*

Added: packages/ming/trunk/debian/php5-ming.postinst
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/php5-ming.postinst?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/php5-ming.postinst (added)
+++ packages/ming/trunk/debian/php5-ming.postinst Tue May 20 00:49:43 2008
@@ -1,0 +1,14 @@
+#!/bin/bash
+
+set -e
+
+# Source debconf library.
+#. /usr/share/debconf/confmodule
+
+#DEBHELPER#
+
+if [ "$1" != "configure" ]; then
+	exit 0
+fi
+
+exit 0

Added: packages/ming/trunk/debian/php5-ming.prerm
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/php5-ming.prerm?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/php5-ming.prerm (added)
+++ packages/ming/trunk/debian/php5-ming.prerm Tue May 20 00:49:43 2008
@@ -1,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "remove" -a "$1" != "purge" ]; then
+	exit 0
+fi
+
+#. /usr/share/debconf/confmodule
+
+exit 0

Added: packages/ming/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/pycompat?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/pycompat (added)
+++ packages/ming/trunk/debian/pycompat Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+2

Added: packages/ming/trunk/debian/python-ming.dirs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/python-ming.dirs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/python-ming.dirs (added)
+++ packages/ming/trunk/debian/python-ming.dirs Tue May 20 00:49:43 2008
@@ -1,0 +1,2 @@
+usr/lib/python2.3/site-packages
+

Added: packages/ming/trunk/debian/python-ming.docs
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/python-ming.docs?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/python-ming.docs (added)
+++ packages/ming/trunk/debian/python-ming.docs Tue May 20 00:49:43 2008
@@ -1,0 +1,2 @@
+py_ext/README
+py_ext/TODO

Added: packages/ming/trunk/debian/python-ming.files
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/python-ming.files?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/python-ming.files (added)
+++ packages/ming/trunk/debian/python-ming.files Tue May 20 00:49:43 2008
@@ -1,0 +1,1 @@
+usr/lib/python2.3/site-packages/*

Added: packages/ming/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/rules?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/rules (added)
+++ packages/ming/trunk/debian/rules Tue May 20 00:49:43 2008
@@ -1,0 +1,232 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# 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)
+SOURCE_VERSION       = $(shell dpkg-parsechangelog | grep ^Version | sed "s/Version: //")
+
+PYDEF=$(shell pyversions -d)
+PYVERS=$(shell pyversions -r)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS)" ./configure \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--enable-perl \
+		--enable-php \
+		--enable-python
+#	# PHP5
+#	rm -rf build-php5 && mkdir build-php5
+#	cp php_ext/* build-php5
+#	-cd build-php5 && phpize5
+#	cd build-php5 && ./configure --build=$(DEB_BUILD_GNU_TYPE) \
+#	  	--host=$(DEB_HOST_GNU_TYPE) \
+#		--prefix=/usr \
+#		--with-php-config=/usr/bin/php-config5 \
+#		--disable-rpath \
+#		--disable-static \
+#		--with-ming
+
+
+
+#Architecture 
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp:  config.status
+
+	# Add here commands to compile the arch part of the package.
+	$(MAKE)
+
+	#$(MAKE) check
+
+	# Perl extension
+#	cd perl_ext \
+#	&& perl Makefile.PL INSTALLDIRS=vendor \
+#	&& $(MAKE) OPTIMIZE="-O2 -Wall"
+#
+#	# Python extension
+#	for python in $(PYVERS); do \
+#		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+#		(cd py_ext;$$python setup.py build;) \
+#	done
+#
+#	# PHP5
+#	cd build-php5 && $(MAKE) CFLAGS="$(CFLAGS)"
+
+	touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp:  config.status
+
+	# Add here commands to compile the indep part of the package.
+	#$(MAKE) doc
+	$(SHELL) debian/mkfontset ttf-dejavu
+	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
+	mv fonts/opensymbol/fdb/opens___.fdb fonts/opensymbol/fdb/OpenSymbol.fdb
+	touch build-indep-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+#	# Perl extension
+#	-cd perl_ext && $(MAKE) realclean && rm SWF.h t/config.pl
+
+	-$(MAKE) clean
+
+#	# Python extension
+#	-for python in $(PYVERS); do \
+#		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
+#		(cd py_ext;$$python setup.py clean;) \
+#	done
+
+	rm -rf debian/ming
+	rm -rf fonts
+	rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
+
+	# Add here commands to clean up after the build process.
+#	rm -rf build-php5
+	rm -f libming-util.1
+	-$(MAKE) distclean
+	dh_clean 
+
+install: install-arch install-indep
+install-indep: build-indep
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i 
+	dh_installdirs -i
+
+	# Add here commands to install the indep part of the package into
+	# debian/<package>-doc.
+	#INSTALLDOC#
+
+	# Ming format fonts
+	install -d debian/ming/usr/share/ming/fonts
+	cp -a fonts debian/ming/usr/share/ming
+
+	dh_install --sourcedir debian/ming -i
+
+install-arch: build-arch
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s 
+	dh_installdirs -s
+
+	# Add here commands to install the arch part of the package into 
+	# debian/ming.
+	$(MAKE) install prefix=$(CURDIR)/debian/ming/usr
+
+	docbook-to-man debian/libming-util.sgml > libming-util.1
+	dh_installman -p libming-util libming-util.1
+
+#	# Perl extension
+#	cd perl_ext && $(MAKE) install PREFIX=$(CURDIR)/debian/ming/usr
+#	strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/ming/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/python-ming; )\
+	done
+
+#	# PHP5
+#	(ext=`/usr/bin/php-config5 --extension-dir`;mkdir -p debian/php5-ming/$${ext};install -m 644 -o root -g root build-php5/modules/ming.so debian/php5-ming/$${ext}/ming.so;)
+	install -d debian/php5-ming/etc/php5/conf.d
+	install -m 644 -o root -g root debian/ming.ini debian/php5-ming/etc/php5/conf.d/ming.ini
+
+	# rename to avoid conflict with swftools
+	mv debian/ming/usr/bin/png2swf debian/ming/usr/bin/png2swf-ming
+	
+	# Documentation
+	install -d debian/ming/usr/share/man/man1
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/listaction.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/listaction_d.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/listswf.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/listswf_d.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/png2dbl.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/png2swf-ming.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/swftoperl.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/swftophp.1.gz
+	ln -fs libming-util.1.gz debian/ming/usr/share/man/man1/swftopython.1.gz
+
+	dh_install --sourcedir debian/ming -s
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_movefiles --sourcedir debian/ming
+	#dh_install --sourcedir debian/ming
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_link
+	dh_compress 
+	dh_fixperms
+	dh_strip
+	dh_perl perl_ext
+	dh_pycentral
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	echo "php:Depends=phpapi-`php-config5 --phpapi`" >> debian/php5-ming.substvars
+
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-arch binary install install-arch 

Propchange: packages/ming/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/ming/trunk/debian/ttftofft.pl
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/ttftofft.pl?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/ttftofft.pl (added)
+++ packages/ming/trunk/debian/ttftofft.pl Tue May 20 00:49:43 2008
@@ -1,0 +1,20 @@
+#!/usr/bin/perl -w
+
+die "Usage: ".$0." <fontname>\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");

Propchange: packages/ming/trunk/debian/ttftofft.pl
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/ming/trunk/debian/watch
URL: http://svn.debian.org/wsvn/packages/ming/trunk/debian/watch?rev=242&op=file
==============================================================================
--- packages/ming/trunk/debian/watch (added)
+++ packages/ming/trunk/debian/watch Tue May 20 00:49:43 2008
@@ -1,0 +1,2 @@
+version=3
+http://qa.debian.org/watch/sf.php/ming/ ming-([\d.]+)\.tar\.gz




More information about the pkg-flash-devel mailing list