r128 - in /packages/swftools/trunk: debian/ debian/patches/ lib/ lib/swf/

swk-guest at users.alioth.debian.org swk-guest at users.alioth.debian.org
Fri Jun 29 17:26:50 UTC 2007


Author: swk-guest
Date: Fri Jun 29 17:26:50 2007
New Revision: 128

URL: http://svn.debian.org/wsvn/?sc=1&rev=128
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/swftools/trunk/debian/   (with props)
    packages/swftools/trunk/debian/changelog
    packages/swftools/trunk/debian/compat
    packages/swftools/trunk/debian/control
    packages/swftools/trunk/debian/copyright
    packages/swftools/trunk/debian/librfxswf-dev.README.Debian
    packages/swftools/trunk/debian/librfxswf-dev.install
    packages/swftools/trunk/debian/patches/
    packages/swftools/trunk/debian/patches/00list
    packages/swftools/trunk/debian/patches/01_manpages.dpatch   (with props)
    packages/swftools/trunk/debian/patches/02_faq.dpatch   (with props)
    packages/swftools/trunk/debian/patches/03_configure.dpatch   (with props)
    packages/swftools/trunk/debian/patches/04_makefile.dpatch   (with props)
    packages/swftools/trunk/debian/python2.4-rfxswf.README.Debian
    packages/swftools/trunk/debian/python2.4-rfxswf.install
    packages/swftools/trunk/debian/rules   (with props)
    packages/swftools/trunk/debian/swftools.README.Debian
    packages/swftools/trunk/debian/swftools.docs
    packages/swftools/trunk/debian/swftools.examples
    packages/swftools/trunk/debian/swftools.install
    packages/swftools/trunk/debian/swftools.links
    packages/swftools/trunk/debian/watch
    packages/swftools/trunk/lib/
    packages/swftools/trunk/lib/swf/
    packages/swftools/trunk/lib/swf/Makefile

Propchange: packages/swftools/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/swftools/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/changelog?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/changelog (added)
+++ packages/swftools/trunk/debian/changelog Fri Jun 29 17:26:50 2007
@@ -1,0 +1,15 @@
+swftools (0.8.1-1) unstable; urgency=low
+
+  * New upstream release 
+  * Fixed the debian/copyright to include the exceptions in MD5.c and
+    pdf2swf/fonts/*
+  * Disabled the failing check for gcc 2.95 compiler
+
+ -- Simo Kauppi <swk at nic.fi>  Sun,  4 Mar 2007 10:02:33 +0200
+
+swftools (0.8.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #187275: ITP: swftools -- collection of
+    SWF (Flash) manipulation and generation - Debian Bug report logs)
+
+ -- Simo Kauppi <swk at nic.fi>  Wed, 31 Jan 2007 17:46:16 +0200

Added: packages/swftools/trunk/debian/compat
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/compat?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/compat (added)
+++ packages/swftools/trunk/debian/compat Fri Jun 29 17:26:50 2007
@@ -1,0 +1,1 @@
+5

Added: packages/swftools/trunk/debian/control
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/control?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/control (added)
+++ packages/swftools/trunk/debian/control Fri Jun 29 17:26:50 2007
@@ -1,0 +1,81 @@
+Source: swftools
+Section: utils
+Priority: extra
+Maintainer: Simo Kauppi <swk at nic.fi>
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, dpatch (>= 2.0.21 ), libfontconfig1-dev (>= 2.4.2-1), libfreetype6-dev (>= 2.2.1-5), libjpeg62-dev (>= 6b-13), libt1-dev (>= 5.1.0-2), libungif4-dev (>= 4.1.4-4), zlib1g-dev (>= 1:1.2.3-13), libart-2.0-dev (>= 2.3.17-1) | libart-dev (>= 1.4.2-34), python2.4-dev (>= 2.4.4-2), python-imaging (>= 1.1.5-11)
+Standards-Version: 3.7.2
+
+Package: swftools
+Section: utils
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, gsfonts
+Suggests: gs-common
+Description: Collection of utilities for SWF file manipulation/creation
+ SWF Tools is a collection of SWF (Flash) manipulation and creation utilities.
+ .
+ This package includes: pdf2swf, jpeg2swf, png2swf, gif2swf, font2swf,
+ wav2swf, swfcombine, swfextract, swfdump, swfstrings, swfbbox and swfc.
+ .
+  * pdf2swf is a PDF to SWF Converter. It generates one frame per page and
+    enables you to have fully formatted text, including tables, formulas etc.
+    inside your Flash Movie. It's based on the xpdf PDF parser from
+    Derek B. Noonburg.
+  * jpeg2swf takes one or more JPEG pictures and generates an SWF slideshow.
+  * png2swf takes one or more PNG pictures and generates an SWF slideshow.
+  * gif2swf converts GIFs into SWF. It is also able to handle animated gifs.
+  * font2swf converts font files (TTF, Type1) into SWF.
+  * wav2swf converts WAV files into SWF.
+  * swfcombine is a tool for inserting SWFs into Wrapper SWFs. (Templates)
+    E.g. for including the pdf2swf SWFs into some sort of Browsing-SWF.
+  * swfextract allows to extract Movieclips, Sounds, Images etc. from SWF
+    files.
+  * swfdump prints out various informations about SWFs.
+  * swfstrings scans SWFs for text data.
+  * swfbbox allows to readjust SWF bounding boxes.
+  * swfc is a tool for creating SWF files from simple script files.
+ .
+  Homepage: http://www.swftools.org/
+
+Package: python2.4-rfxswf
+Section: python
+Architecture: any
+Depends: libc6 (>= 2.3.6.ds1-8), libfontconfig1 (>= 2.4.2-1), libfreetype6 (>= 2.2.1-5), libjpeg62, libt1-5 (>= 5.1.0-2), libungif4g (>= 4.1.4-4), zlib1g (>= 1:1.2.3-13), libexpat1 (>= 1.95.8-3.3), python2.4 (>= 2.4.4-2), python-imaging (>= 1.1.5-11)
+Description: Python wrapper for the rfxswf library
+ RFXSWF library is a fully featured library which can be used for standalone
+ SWF generation. It includes support for Bitmaps, Buttons, Shapes, Text, Fonts,
+ Sound etc. It also has support for ActionScript using the Ming ActionCompiler.
+ .
+ This is the wrapper for using the rfxswf library from the Python scripting
+ language. The rfxswf library is in the librfxswf-dev package.
+ .
+  Homepage: http://www.swftools.org/
+
+Package: python-rfxswf
+Section: python
+Architecture: any
+Depends: python2.4-rfxswf
+Description: Python wrapper for the rfxswf library
+ RFXSWF library is a fully featured library which can be used for standalone
+ SWF generation. It includes support for Bitmaps, Buttons, Shapes, Text, Fonts,
+ Sound etc. It also has support for ActionScript using the Ming ActionCompiler.
+ .
+ This is the wrapper for using the rfxswf library from the Python scripting
+ language. The rfxswf library is in the librfxswf-dev package.
+ .
+  Homepage: http://www.swftools.org/
+
+Package: librfxswf-dev
+Section: libdevel
+Architecture: any
+Depends: libfontconfig1-dev (>= 2.4.2-1 ), libfreetype6-dev (>= 2.2.1-5 ), libjpeg62-dev (>= 6b-13 ), libungif4-dev (>= 4.1.4-4), libt1-dev (>= 5.1.0-2 ), zlib1g-dev (>= 1:1.2.3-13)
+Description: RFXSWF library for SWF (Flash) generation
+ RFXSWF library is a fully featured library which can be used for standalone
+ SWF generation. It includes support for Bitmaps, Buttons, Shapes, Text, Fonts,
+ Sound etc. It also has support for ActionScript using the Ming ActionCompiler.
+ .
+ This package includes the static library and the header files.
+ .
+ There is also a wrapper for using the rfxswf library from the Python scripting
+ language. The wrapper is in the python2.x-rfxswf package.
+ .
+  Homepage: http://www.swftools.org/

Added: packages/swftools/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/copyright?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/copyright (added)
+++ packages/swftools/trunk/debian/copyright Fri Jun 29 17:26:50 2007
@@ -1,0 +1,109 @@
+This package was debianized by Simo Kauppi <swk at nic.fi> on
+Mon, 31 Jan 2007 17:44:23 +0200.
+
+It was downloaded from http://www.swftools.org/
+
+Copyright Holders:
+
+ Copyright (C) 2000-2007 Matthias Kramm <kramm at quiss.org>
+ Copyright (C) 2000-2003 Rainer Böhme <rfxswf at reflex-studio.de>
+ Copyright (C) 2005 Daichi Shinozaki <dseg at shield.jp>
+ Copyright (C) 1996-2007 Glyph & Cog, LLC
+ Copyright (C) 1998-2001 Raph Levien
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002 Opaque Industries - http://www.opaque.net/
+ Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
+ Copyright (C) 2003 Poul-Henning Kamp
+ Copyright (C) 2004 Mederra Oy <http://www.mederra.fi>
+ Copyright (C) 2005 Joel Yliluoma <bisqwit at iki.fi>
+ Copyright (C) 1997 URW Software
+ Copyright (C) 1999 (URW)++ Design & Development
+
+The authors of the swftools can be contacted via the swftools mailing list in
+http://mail.nongnu.org/mailman/listinfo/swftools-common
+
+Most of this package is licensed under the GNU General Public License except
+for the following:
+
+ libart library is licensed under the GNU Library General Public License.
+
+ The pdf2swf/fonts/* are licensed under the GNU General Public License with the
+ following exception:
+
+   "As a special exception, permission is granted to include this font
+   program in a Postscript or PDF file that consists of a document that
+   contains text to be displayed or printed using this font, regardless
+   of the conditions or license applying to the document itself."
+
+ lib/MD5.c is licensed under the following terms:
+
+  All rights reserved.
+  
+  Redistribution and use in source and binary forms, with or without
+  modification, are 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. Neither the name of the project nor the names of its contributors
+     may be used to endorse or promote products derived from this software
+     without specific prior written permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS 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 PROJECT OR 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.
+
+
+Licenses:
+
+GNU General Public License
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This package 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 General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+GNU Library General Public License
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public
+   License as published by the Free Software Foundation; either
+   version 2 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
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Library General
+Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+The Debian packaging is (C) 2007, Simo Kauppi, and is licensed under
+the GPL, see above.
+

Added: packages/swftools/trunk/debian/librfxswf-dev.README.Debian
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/librfxswf-dev.README.Debian?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/librfxswf-dev.README.Debian (added)
+++ packages/swftools/trunk/debian/librfxswf-dev.README.Debian Fri Jun 29 17:26:50 2007
@@ -1,0 +1,12 @@
+rfxswf library for Debian
+--------------------------
+
+rfxswf library is part of the swftools software.
+
+See http://www.swftools.org/examples.html for examples how to use the rfxswf
+library.
+
+There is also a wrapper for using the library from the Python scripting
+language. The wrapper is in the python2.x-rfxswf package.
+
+ -- Simo Kauppi <swk at nic.fi>, Mon, 19 Dec 2005 17:44:23 +0200

Added: packages/swftools/trunk/debian/librfxswf-dev.install
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/librfxswf-dev.install?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/librfxswf-dev.install (added)
+++ packages/swftools/trunk/debian/librfxswf-dev.install Fri Jun 29 17:26:50 2007
@@ -1,0 +1,2 @@
+usr/lib/librfxswf.a
+usr/include

Added: packages/swftools/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/patches/00list?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/patches/00list (added)
+++ packages/swftools/trunk/debian/patches/00list Fri Jun 29 17:26:50 2007
@@ -1,0 +1,20 @@
+#------------------------------------------------------------------------
+# Manpage fixes
+# - Replaced 'ö' with '\[:o]'
+01_manpages.dpatch
+#------------------------------------------------------------------------
+# FAQ
+# Removed the compilation and installation related questions until
+# the FAQ is split in to two seaprate FAQs.
+02_faq.dpatch
+#------------------------------------------------------------------------
+# Configure
+# - Ran aclocal and autoconf from automake 1.9 and autoconf 2.59
+03_configure.dpatch
+#------------------------------------------------------------------------
+# Makefile fixes
+# - Removed ../lib/art/libart from src/Makefile.in and lib/Makefile to
+#   build against Debian libart
+# - Added LDFLAGS to Makefile.common.in
+04_makefile.dpatch
+#------------------------------------------------------------------------

Added: packages/swftools/trunk/debian/patches/01_manpages.dpatch
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/patches/01_manpages.dpatch?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/patches/01_manpages.dpatch (added)
+++ packages/swftools/trunk/debian/patches/01_manpages.dpatch Fri Jun 29 17:26:50 2007
@@ -1,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01-manpages.dpatch by Simo Kauppi <swk at nic.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch fixes the jpg2swf.1 and swfstrings.1 manpages, which
+## DP: have the letter 'ö' in the author's name.
+
+ at DPATCH@
+diff -urNad swftools-0.8.0~/src/jpeg2swf.1 swftools-0.8.0/src/jpeg2swf.1
+--- swftools-0.8.0~/src/jpeg2swf.1	2006-01-07 12:14:05.000000000 +0200
++++ swftools-0.8.0/src/jpeg2swf.1	2006-02-05 14:07:31.000000000 +0200
+@@ -54,7 +54,7 @@
+     Make importable as asset with \fIassetname\fR
+ .SH AUTHORS
+ 
+-Rainer Böhme <rfxswf at reflex-studio.de>
++Rainer B\[:o]hme <rfxswf at reflex-studio.de>
+ .TP
+ Matthias Kramm
+ 
+diff -urNad swftools-0.8.0~/src/swfstrings.1 swftools-0.8.0/src/swfstrings.1
+--- swftools-0.8.0~/src/swfstrings.1	2006-01-04 11:15:11.000000000 +0200
++++ swftools-0.8.0/src/swfstrings.1	2006-02-05 14:08:03.000000000 +0200
+@@ -20,5 +20,5 @@
+ 
+ .SH AUTHOR
+ 
+-Rainer Böhme <rfxswf at reflex-studio.de>
++Rainer B\[:o]hme <rfxswf at reflex-studio.de>
+ 

Propchange: packages/swftools/trunk/debian/patches/01_manpages.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/swftools/trunk/debian/patches/02_faq.dpatch
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/patches/02_faq.dpatch?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/patches/02_faq.dpatch (added)
+++ packages/swftools/trunk/debian/patches/02_faq.dpatch Fri Jun 29 17:26:50 2007
@@ -1,0 +1,102 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_faq.dpatch by Simo Kauppi <swk at nic.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch removes the compilation and installation related
+## DP: questions from the FAQ file.
+
+ at DPATCH@
+diff -urNad swftools-0.8.1~/FAQ swftools-0.8.1/FAQ
+--- swftools-0.8.1~/FAQ	2007-02-05 15:26:39.000000000 +0200
++++ swftools-0.8.1/FAQ	2007-03-04 08:09:25.000000000 +0200
+@@ -3,89 +3,7 @@
+     SWFTools is free of charge, and is released under the GPL
+     (http://www.gnu.org/licenses/gpl.html).
+ 
+-2.) How to compile/link swftools on Unix/Linux/BSD?
+-
+-    Download swftools-0.x.x.tar.gz. Then type, on the
+-    command-line:
+-
+-    tar -zvxf swftools-0.x.x.tar
+-    cd swftools-0.x.x
+-    ./configure
+-    make 
+-    make install
+-
+-    (you will have to be root for the last step)
+-
+-3.) What libraries do I need to compile swftools on Unix/Linux/BSD?
+-
+-    You need t1lib, freetype and jpeglib to compile pdf2swf.
+-    Links:
+-	freetype:
+-	 http://www.freetype.org
+-	t1lib: 
+-	 ftp://sunsite.unc.edu/pub/linux/libs/graphics/t1lib-1.3.1.tar.gz
+-	t1lib (mirrored here): 
+-	 http://www.quiss.org/swftools/t1lib-1.3.1.tar.gz
+-	jpeglib: 
+-	 http://www.ijg.org/files/jpegsrc.v6b.tar.gz
+-
+-    Furthermore, if you want to compile avi2swf, you need the avifile library:
+-        http://avifile.sourceforge.net
+-    .
+-
+-4.) when compiling the sourcecode version, configure doesn't find my jpeglib / my t1lib!
+-
+-    In case some of your libraries/include files are installed in /usr/local,
+-    try the following:
+-
+-    rm -f config.cache
+-    LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure
+-
+-    Furthermore, a new installation of jpeglib (the following assumes it's in
+-    /usr/local/lib) often requires doing a
+-
+-    ranlib /usr/local/lib/libjpeg.a
+-    ldconfig /usr/local/lib
+-
+-    In order to install jpeglib, it's furthermore been remarked that you need
+-    to do
+-    make install-lib
+-    make install-headers
+-    .
+-
+-    If it still doesn't work, try removing the file "config.cache"
+-    before running configure again.
+-
+-5.) There are problems during compilation:
+-    Error messages complain about "undefined reference to `operator new(unsigned)'"
+-    as well as "undefined reference to `__gxx_personality_v0'".
+-
+-    Try running configure as
+-
+-    LDFLAGS=-lstdc++ ./configure
+-
+-6.) How do I compile swftools on Mac OS X?
+-
+-    You need to get fink (http://fink.sourceforge.net), and install it.
+-    After this, you need to install all the required libs (jpeg, freetype, lame):
+-   
+-    fink install libjpeg libjpeg-shlibs freetype2 freetype2-shlibs lame lame-shlibs
+-
+-    Then, you have to inform configure of where they are:
+-
+-    LDFLAGS="-L/sw/lib" CPPFLAGS="-I/sw/include -I/sw/include/lame" ./configure
+-    make
+-    sudo make install
+-
+-    If this doesn't work, especially if you want to use the python library and
+-    get weird exceptions, try to remove all versions of jpeglib, freetype and 
+-    lame from /usr/lib and /usr/local/lib, and then run configure / make / make install
+-    again.
+-
+-    If you also want to use the python interface, you may have to copy the
+-    Imaging headers (Imaging.h, ImPlatform.h, ImConfig.h) to
+-      /System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/
+-    before running configure.
++2.-6.) Install/compile related FAQs are removed from the Debian package.
+ 
+ 7.) Is there a pdf2swf/avi2swf for Windows?
+ 

Propchange: packages/swftools/trunk/debian/patches/02_faq.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/swftools/trunk/debian/patches/03_configure.dpatch
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/patches/03_configure.dpatch?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/patches/03_configure.dpatch (added)
+++ packages/swftools/trunk/debian/patches/03_configure.dpatch Fri Jun 29 17:26:50 2007
@@ -1,0 +1,80 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_configure.dpatch by Simo Kauppi <swk at nic.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch patches the configure script, which was generated
+## DP: by running the latest aclocal and autoconf.
+## DP: The upstream package does not have all the m4 files in the
+## DP: tar ball, so this is probably a better way than trying to create
+## DP: the configure script at build time.
+## DP: Disabled the failing checking for gcc 2.95 as we depend on
+## DP: gcc >=4.1.1
+
+ at DPATCH@
+diff -urNad swftools-0.8.1~/configure swftools-0.8.1/configure
+--- swftools-0.8.1~/configure	2007-03-04 09:30:58.000000000 +0200
++++ swftools-0.8.1/configure	2007-03-04 09:34:54.000000000 +0200
+@@ -3250,7 +3250,7 @@
+ { echo "$as_me:$LINENO: checking whether gcc supports lazy variable declaration" >&5
+ echo $ECHO_N "checking whether gcc supports lazy variable declaration... $ECHO_C" >&6; }
+ 
+-cat > conftest.c << EOF
++cat > conftest.cpp << EOF
+ #include <stdlib.h>
+ #include <stdio.h>
+ 
+@@ -3264,21 +3264,22 @@
+ }
+ EOF
+ 
+-testprog_link='$CC $CPPFLAGS $CFLAGS conftest.c -o conftest${ac_exeext}'
+-if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext}; then
++testprog_link='$CC $CPPFLAGS $CFLAGS conftest.cpp -o conftest${ac_exeext}'
++if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then
+   { echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6; }
+   GCC_IS_OK=true
+   export GCC_IS_OK
+ else
+   echo "configure: failed program was:" >&5
+-  cat conftest.c >&5
++  cat conftest.cpp >&5
+   { echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6; }
+ fi
+ rm -f conftest*
+ 
+ 
++export GCC_IS_OK=true
+ if test "x$GCC_IS_OK" '=' "x";then
+     echo "***************************************************"
+     echo "* Your gcc is too old to compile this!"
+@@ -3896,7 +3897,7 @@
+ #define WIN32 1
+ _ACEOF
+ 
+-	LIBS="$LIBS -lws2_32 -lgdi32"
++	LIBS="$LIBS -lws2_32"
+ 	{ echo "$as_me:$LINENO: result: mingw" >&5
+ echo "${ECHO_T}mingw" >&6; }
+     else
+@@ -8921,10 +8922,6 @@
+ _ACEOF
+ 
+ 	cat >>confdefs.h <<_ACEOF
+-#define HAVE_FREETYPE_FREETYPE_H 1
+-_ACEOF
+-
+-	cat >>confdefs.h <<_ACEOF
+ #define USE_FREETYPE 1
+ _ACEOF
+   # for ttf2tp1
+@@ -9479,7 +9476,7 @@
+ EOF
+ 
+ if test "x$AVIFILE_CONFIG" '!=' "x";then
+-    AVIFILE_LIBS=`$AVIFILE_CONFIG --libs`
++    AVIFILE_LIBS=`$AVIFILE_CONFIG --libs |sed 's/-Wl,-rpath,^:space:*//g'`
+     AVIFILE_CFLAGS=`$AVIFILE_CONFIG --cflags`
+     avifile_link='$CXX $CPPFLAGS $CXXFLAGS $AVIFILE_CFLAGS conftest.cpp $AVIFILE_LIBS -o conftest${ac_exeext}'
+     if { (eval echo avi2swf.m4:71: \"$avifile_link\") 1>&5; (eval $avifile_link) 2>&5; } && test -s conftest${ac_exeext} && ./conftest${ac_exeext}; then

Propchange: packages/swftools/trunk/debian/patches/03_configure.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/swftools/trunk/debian/patches/04_makefile.dpatch
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/patches/04_makefile.dpatch?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/patches/04_makefile.dpatch (added)
+++ packages/swftools/trunk/debian/patches/04_makefile.dpatch Fri Jun 29 17:26:50 2007
@@ -1,0 +1,49 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04-makefile.dpatch by Simo Kauppi <swk at nic.fi>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This patch adds the LDFLAGS to linker in Makefile.common.in to pass
+## DP: the -WL,-z defs parameters.
+## DP: This patch also removes the libart from the lib/Makefile.in and
+## DP: src/Makefile.in, because we use the Debian libart instead of the
+## DP: one included in the upstream tar ball.
+
+ at DPATCH@
+diff -urNad swftools-0.8.0~/Makefile.common.in swftools-0.8.0/Makefile.common.in
+--- swftools-0.8.0~/Makefile.common.in	2007-02-01 17:34:27.000000000 +0200
++++ swftools-0.8.0/Makefile.common.in	2007-02-01 17:35:12.000000000 +0200
+@@ -10,8 +10,8 @@
+ INCLUDES=
+ C=@CC@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CFLAGS@
+ CC=@CXX@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CXXFLAGS@
+-L=@CC@ $(DEFS)
+-LL=@CXX@ $(DEFS)
++L=@CC@ $(DEFS) $(LDFLAGS)
++LL=@CXX@ $(DEFS) $(LDFLAGS)
+ AR=@AR@
+ LIBTOOL=@LIBTOOL@
+ SC=$(LIBTOOL) @CC@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CFLAGS@
+diff -urNad swftools-0.8.0~/lib/Makefile.in swftools-0.8.0/lib/Makefile.in
+--- swftools-0.8.0~/lib/Makefile.in	2007-02-01 17:34:27.000000000 +0200
++++ swftools-0.8.0/lib/Makefile.in	2007-02-01 17:34:45.000000000 +0200
+@@ -7,7 +7,7 @@
+           devices/arts.$(O) devices/record.$(O) devices/ops.$(O) \
+ 	  devices/rescale.$(O) devices/bbox.$(O) #devices/lrf.$(O) devices/opengl.$(O)
+ 
+-all: librfxswf$(A) libpdf$(A) q.$(O) mem.$(O) os.$(O) gfxtools.$(O) gfxfont.$(O) art/libart$(A) png.$(O) mp3.$(O) wav.$(O) $(DEVICES)
++all: librfxswf$(A) libpdf$(A) q.$(O) mem.$(O) os.$(O) gfxtools.$(O) gfxfont.$(O) png.$(O) mp3.$(O) wav.$(O) $(DEVICES)
+ 
+ 
+ lame_objects = @lame_objects@
+diff -urNad swftools-0.8.0~/src/Makefile.in swftools-0.8.0/src/Makefile.in
+--- swftools-0.8.0~/src/Makefile.in	2007-02-01 17:34:27.000000000 +0200
++++ swftools-0.8.0/src/Makefile.in	2007-02-01 17:34:45.000000000 +0200
+@@ -87,7 +87,7 @@
+ 	$(L) swfrender.$(O) -o $@ ../lib/librfxswf$(A) ../lib/png.$(O) $(LIBS)
+ 	$(STRIP) $@
+ pdf2swf$(E): pdf2swf.$(O) ../lib/librfxswf$(A) ../lib/libpdf$(A) ../lib/devices/ops.$(O) ../lib/devices/arts.$(O) ../lib/devices/swf.$(O) ../lib/devices/render.$(O)
+-	$(LL) pdf2swf.$(O) -o $@ ../lib/librfxswf$(A) ../lib/libpdf$(A) ../lib/gfxtools.$(O) ../lib/gfxfont.$(O) ../lib/os.$(O) ../lib/devices/swf.$(O) ../lib/devices/arts.$(O) ../lib/devices/ops.$(O) ../lib/devices/record.$(O) ../lib/devices/render.$(O) ../lib/art/libart$(A) $(LIBS) $(CXXLIBS)
++	$(LL) pdf2swf.$(O) -o $@ ../lib/librfxswf$(A) ../lib/libpdf$(A) ../lib/gfxtools.$(O) ../lib/gfxfont.$(O) ../lib/os.$(O) ../lib/devices/swf.$(O) ../lib/devices/arts.$(O) ../lib/devices/ops.$(O) ../lib/devices/record.$(O) ../lib/devices/render.$(O) $(LIBS) $(CXXLIBS)
+ 	$(STRIP) $@
+ swfc$(E): parser.$(O) swfc.$(O) ../lib/q.$(O) ../lib/mp3.$(O) ../lib/wav.$(O) ../lib/png.$(O) ../lib/librfxswf$(A)
+ 	$(L) parser.$(O) swfc.$(O) ../lib/q.$(O) ../lib/mp3.$(O) ../lib/wav.$(O) ../lib/png.$(O) -o $@ ../lib/librfxswf$(A) $(LIBS)

Propchange: packages/swftools/trunk/debian/patches/04_makefile.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/swftools/trunk/debian/python2.4-rfxswf.README.Debian
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/python2.4-rfxswf.README.Debian?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/python2.4-rfxswf.README.Debian (added)
+++ packages/swftools/trunk/debian/python2.4-rfxswf.README.Debian Fri Jun 29 17:26:50 2007
@@ -1,0 +1,12 @@
+python2.4-rfxswf for Debian
+--------------------------
+
+rfxswf library is part of the swftools software.
+
+See http://www.swftools.org/examples.html for examples how to use the rfxswf
+library.
+
+This is the wrapper for using the library from the Python scripting
+language. The actual library is in the librfxswf-dev package.
+
+ -- Simo Kauppi <swk at nic.fi>, Sun, 11 Dec 2005 17:44:23 +0200

Added: packages/swftools/trunk/debian/python2.4-rfxswf.install
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/python2.4-rfxswf.install?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/python2.4-rfxswf.install (added)
+++ packages/swftools/trunk/debian/python2.4-rfxswf.install Fri Jun 29 17:26:50 2007
@@ -1,0 +1,1 @@
+usr/lib/python2.4/site-packages/SWF.so

Added: packages/swftools/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/rules?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/rules (added)
+++ packages/swftools/trunk/debian/rules Fri Jun 29 17:26:50 2007
@@ -1,0 +1,172 @@
+#!/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.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# 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)
+
+PYTHON_MAJOR_VERSIONS = 2
+PYTHON_MINOR_VERSIONS = 4
+PYTHON_VERSION = $(PYTHON_MAJOR).$(PYTHON_MINOR)
+python_targets = $(foreach PYTHON_MAJOR, $(PYTHON_MAJOR_VERSIONS),\
+                 $(foreach PYTHON_MINOR, $(PYTHON_MINOR_VERSIONS),\
+                 python$(PYTHON_VERSION)))
+PYTHON_LIB = -l$@ /usr/lib/$@/site-packages/PIL/_imaging.so
+PYTHON_INCLUDES = -I/usr/include/$@
+
+ifneq (,$(wildcard /usr/bin/libart2-config))
+LIBART = libart2
+else
+ifneq (,$(wildcard /usr/bin/libart-config))
+LIBART = libart
+endif
+endif
+LIBART_LIBS = $(shell $(LIBART)-config --libs)
+LIBART_CFLAGS = $(shell $(LIBART)-config --cflags)
+
+LIBPOPPLER_CFLAGS = -I/usr/include/poppler
+LIBPOPPLER_LIBS = -lpoppler
+
+# --enable-warnings sets CFLAGS to
+# "-Wall -Wno-unused -Wno-format -Wno-redundant-decls"
+# --enable-debug sets CFLAGS to "-O2 -g"
+# in the configure script
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS = -g
+	CFGFLAGS = --enable-warnings
+else
+	CFGFLAGS = --enable-warnings --enable-debug
+endif
+
+patch-stamp:
+	dpatch apply-all
+	touch $@
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched
+
+config.status: patch-stamp configure
+	dh_testdir
+	ln -sf /usr/share/misc/config.sub .
+	ln -sf /usr/share/misc/config.guess .
+	# Add here commands to configure the package.
+	LDFLAGS="-Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info $(CFGFLAGS)
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	#
+	# Add libart stuff into the Makefile.common
+	cp Makefile.common Makefile.common.bak
+	echo "C += $(LIBART_CFLAGS)" >>Makefile.common
+	echo "CC += $(LIBART_CFLAGS)" >>Makefile.common
+	echo "LIBS += $(LIBART_LIBS)" >>Makefile.common
+	$(MAKE) -C lib
+	$(MAKE) -C src
+	mv Makefile.common.bak Makefile.common
+	# Don't bother to compile until it works without lame
+	# avi2swf is outdated anyway, so it will probaly be removed
+	# from the future releases
+	# $(MAKE) -C avi2swf
+	$(MAKE) -C swfs
+	touch $@
+
+clean: clean-patched unpatch
+
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp shared-lib-stamp python*-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	# lib/h.263 and lib/devices should be cleaned from the lib/Makefile
+	rm -f lib/h.263/*.o
+	rm -f lib/devices/*.o
+	# These should be cleaned by the main Makefile
+	rm -f config.log lib/action/Makefile lib/art/Makefile swfs/Makefile lib/pdf/Makefile
+	# Remove our own stuff
+	rm -rf lib/python/usr
+	rm -f config.guess config.sub
+
+
+	dh_clean 
+
+$(python_targets):
+	$(MAKE) -C lib/python clean
+	# Fix the PYHTON_LIB and PYTHON_INCLUDES in the Makefile.common
+	cp Makefile.common Makefile.common.bak
+	sed -i s,"\(PYTHON_LIB=\).*","\1$(PYTHON_LIB)", Makefile.common
+	sed -i s,"\(PYTHON_INCLUDES=\).*","\1$(PYTHON_INCLUDES)", Makefile.common
+	# Make the module
+	$(MAKE) -C lib/python
+	# Copy the module to safe, so we can compile another one
+	mkdir -p lib/python/usr/lib/$@/site-packages
+	/usr/bin/install -m 644 lib/python/SWF.so lib/python/usr/lib/$@/site-packages/SWF.so
+	mv Makefile.common.bak Makefile.common
+	touch $@-stamp
+
+install: build $(python_targets)
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/swftools.
+	mkdir -p debian/tmp/usr/lib
+	mkdir -p debian/tmp/usr/include/rfxswf
+	/usr/bin/install -m 644 lib/librfxswf.a debian/tmp/usr/lib/
+	/usr/bin/install -m 644 config.h lib/rfxswf.h lib/bitio.h lib/drawer.h lib/mem.h lib/types.h debian/tmp/usr/include/rfxswf/
+	
+	$(MAKE) -C src install prefix=$(CURDIR)/debian/tmp/usr
+	# Remove the fonts, since we use the gsfonts package
+	rm -rf debian/tmp/usr/share/swftools/fonts
+	# Don't install until it works without lame
+	# avi2swf is outdated anyway, so it will probaly be removed
+	# from the future releases
+	#$(MAKE) -C avi2swf install prefix=$(CURDIR)/debian/tmp/usr
+	$(MAKE) -C swfs install prefix=$(CURDIR)/debian/tmp/usr
+	
+	# Remove one dot from the rfxswf.h include line
+	sed -i s/"\(#include \"\.\)\.\(\/config\.h\"\)"/"\1\2"/ debian/tmp/usr/include/rfxswf/rfxswf.h
+	cp -a lib/python/usr debian/tmp/
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install --list-missing --sourcedir=debian/tmp
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_shlibdeps -XSWF.so
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.NOTPARALLEL:
+.PHONY: build clean binary-indep binary-arch binary install $(python_targets) unpatch clean-patched

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

Added: packages/swftools/trunk/debian/swftools.README.Debian
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/swftools.README.Debian?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/swftools.README.Debian (added)
+++ packages/swftools/trunk/debian/swftools.README.Debian Fri Jun 29 17:26:50 2007
@@ -1,0 +1,11 @@
+swftools for Debian
+--------------------------
+
+This version of swftools is compiled without the L.A.M.E support. The L.A.M.E
+support in the original swftools is used to convert wave sound format into MPEG
+1 audio layer 3 format for the SWF file.
+
+There is an unofficial version of the swftools, which depends on the lame. The
+unofficial version is called swftools-nonfree.
+
+ -- Simo Kauppi <swk at nic.fi>, Mon, 19 Dec 2005 17:44:23 +0200

Added: packages/swftools/trunk/debian/swftools.docs
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/swftools.docs?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/swftools.docs (added)
+++ packages/swftools/trunk/debian/swftools.docs Fri Jun 29 17:26:50 2007
@@ -1,0 +1,4 @@
+FAQ
+TODO
+AUTHORS
+pdf2swf/HOWTO_pdf2swf

Added: packages/swftools/trunk/debian/swftools.examples
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/swftools.examples?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/swftools.examples (added)
+++ packages/swftools/trunk/debian/swftools.examples Fri Jun 29 17:26:50 2007
@@ -1,0 +1,1 @@
+doc/fileformat.sc

Added: packages/swftools/trunk/debian/swftools.install
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/swftools.install?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/swftools.install (added)
+++ packages/swftools/trunk/debian/swftools.install Fri Jun 29 17:26:50 2007
@@ -1,0 +1,2 @@
+usr/bin
+usr/share

Added: packages/swftools/trunk/debian/swftools.links
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/swftools.links?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/swftools.links (added)
+++ packages/swftools/trunk/debian/swftools.links Fri Jun 29 17:26:50 2007
@@ -1,0 +1,3 @@
+usr/share/swftools/swfs/tessel_loader.swf usr/share/swftools/swfs/default_loader.swf
+usr/share/swftools/swfs/simple_viewer.swf usr/share/swftools/swfs/default_viewer.swf
+usr/share/fonts/type1/gsfonts usr/share/swftools/fonts

Added: packages/swftools/trunk/debian/watch
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/debian/watch?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/debian/watch (added)
+++ packages/swftools/trunk/debian/watch Fri Jun 29 17:26:50 2007
@@ -1,0 +1,4 @@
+version=3
+
+http://www.swftools.org/download.html (?:.*/)?swftools-(\d.*)\.tar\.gz debian uupdate
+

Added: packages/swftools/trunk/lib/swf/Makefile
URL: http://svn.debian.org/wsvn/packages/swftools/trunk/lib/swf/Makefile?rev=128&op=file
==============================================================================
--- packages/swftools/trunk/lib/swf/Makefile (added)
+++ packages/swftools/trunk/lib/swf/Makefile Fri Jun 29 17:26:50 2007
@@ -1,0 +1,28 @@
+# Generated automatically from Makefile.in by configure.
+top_builddir = ../..
+srcdir = .
+top_srcdir = ../..
+include ../../Makefile.common
+
+all: ../libswf$(A)
+
+libswf: ../libswf$(A)
+
+swf.$(O): swf.c swf.h
+	$(C) swf.c -o swf.$(O)
+
+libswf_objects = swf.$(O) 
+
+../libswf$(A): $(libswf_objects)
+	$(AR) r ../libswf$(A)
+	$(RANLIB) ../libswf$(A)
+
+swfrender: $(libswf_objects) ../../src/swfrender.c ../devices/render.$(O)
+	$(L) ../../src/swfrender.c $(libswf_objects) ../librfxswf$(A) ../gfxtools.$(O) ../png.$(O) ../devices/render.$(O) -o swfrender $(LIBS)
+
+install:
+uninstall:
+
+clean: 
+	rm -f *.o *.obj *.lo *.a *.lib *.la gmon.out
+




More information about the pkg-flash-devel mailing list