[Python-modules-commits] r4828 - in packages/python-uniconvertor/trunk (12 files)
awen-guest at users.alioth.debian.org
awen-guest at users.alioth.debian.org
Sun Mar 16 01:10:52 UTC 2008
Date: Sunday, March 16, 2008 @ 01:10:51
Author: awen-guest
Revision: 4828
[svn-inject] Applying Debian modifications to trunk
Added:
packages/python-uniconvertor/trunk/debian/
packages/python-uniconvertor/trunk/debian/changelog
packages/python-uniconvertor/trunk/debian/compat
packages/python-uniconvertor/trunk/debian/control
packages/python-uniconvertor/trunk/debian/copyright
packages/python-uniconvertor/trunk/debian/patches/
packages/python-uniconvertor/trunk/debian/patches/00list
packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch
packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch
packages/python-uniconvertor/trunk/debian/pycompat
packages/python-uniconvertor/trunk/debian/rules
packages/python-uniconvertor/trunk/debian/uniconvertor.pod
Property changes on: packages/python-uniconvertor/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/python-uniconvertor/trunk/debian/changelog
===================================================================
--- packages/python-uniconvertor/trunk/debian/changelog (rev 0)
+++ packages/python-uniconvertor/trunk/debian/changelog 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,5 @@
+python-uniconvertor (1.1.1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #457908)
+
+ -- Andreas Wenning <awen at awen.dk> Thu, 13 Mar 2008 23:46:37 +0100
Added: packages/python-uniconvertor/trunk/debian/compat
===================================================================
--- packages/python-uniconvertor/trunk/debian/compat (rev 0)
+++ packages/python-uniconvertor/trunk/debian/compat 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1 @@
+5
Added: packages/python-uniconvertor/trunk/debian/control
===================================================================
--- packages/python-uniconvertor/trunk/debian/control (rev 0)
+++ packages/python-uniconvertor/trunk/debian/control 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,49 @@
+Source: python-uniconvertor
+Section: python
+Priority: optional
+Maintainer: Andreas Wenning <uniconvertor at awen.dk>
+Uploaders: Andreas Wenning <awen at awen.dk>, Luis Uribe <acme at eviled.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Homepage: http://sk1project.org/modules.php?name=Products&product=uniconvertor
+Build-Depends: python-all-dev (>= 2.4), python-all-dbg (>= 2.4), debhelper (>= 5.0.51), dpatch, python-central (>= 0.6), perl
+XS-Python-Version: all
+Standards-Version: 3.7.3
+
+Package: python-uniconvertor
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, python-imaging
+Provides: ${python:Provides}
+Suggests: python-uniconvertor-dbg
+XB-Python-Version: ${python:Versions}
+Description: Universal vector graphics translator
+ UniConvertor is a multiplatform universal vector graphics translator.
+ It uses sK1 engine to convert one format to another.
+ .
+ Import filters:
+ * CorelDRAW ver.7-X3,X4 (CDR/CDT/CCX/CDRX/CMX)
+ * Adobe Illustrator up to 9 ver. (AI postscript based)
+ * Postscript (PS)
+ * Encapsulated Postscript (EPS)
+ * Computer Graphics Metafile (CGM)
+ * Windows Metafile (WMF)
+ * XFIG
+ * Scalable Vector Graphics (SVG)
+ * Skencil/Sketch/sK1 (SK and SK1)
+ * Acorn Draw (AFF)
+ .
+ Export filters:
+ * AI (Postscript based Adobe Illustrator 5.0 format)
+ * SVG (Scalable Vector Graphics)
+ * SK (Sketch/Skencil format)
+ * SK1 (sK1 format)
+ * CGM (Computer Graphics Metafile)
+ * WMF (Windows Metafile)
+
+Package: python-uniconvertor-dbg
+Architecture: any
+Priority: extra
+Depends: python-dbg, ${shlibs:Depends}, python-imaging, python-uniconvertor (= ${binary:Version})
+Description: Universal vector graphics translator (debug extension)
+ UniConvertor is a multiplatform universal vector graphics translator.
+ It uses sK1 engine to convert one format to another.
+ .
+ This package contains the extension built for the Python debug interpreter.
Added: packages/python-uniconvertor/trunk/debian/copyright
===================================================================
--- packages/python-uniconvertor/trunk/debian/copyright (rev 0)
+++ packages/python-uniconvertor/trunk/debian/copyright 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,25 @@
+This package was debianized by Andreas Wenning <awen at awen.dk> on
+Mon, 10 Mar 2008 22:42:50 +0100
+
+It was downloaded from:
+http://sk1project.org/modules.php?name=Products&product=uniconvertor
+
+Copyright (C) 2007 by Igor E. Novikov, Valek Fillipov
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of GNU Library General Public
+License and some files under terms of 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 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.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL-2 file.
+
+The filters are released under GNU Library General Public
+License, on Debian systems the complete text can be found in
+/usr/share/common-licenses/LGPL-2 file.
Added: packages/python-uniconvertor/trunk/debian/patches/00list
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/00list (rev 0)
+++ packages/python-uniconvertor/trunk/debian/patches/00list 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,2 @@
+01_rename_uniconv.dpatch
+02_exec_uniconvertor.dpatch
Added: packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch (rev 0)
+++ packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_rename_uniconv.dpatch by Andreas Wenning <awen at awen.dk>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The main binary is renamed to uniconvertor. Patching the help text.
+
+ at DPATCH@
+diff -urNad uniconvertor-1.1.1~/src/__init__.py uniconvertor-1.1.1/src/__init__.py
+--- uniconvertor-1.1.1~/src/__init__.py 2008-03-13 00:10:44.000000000 +0100
++++ uniconvertor-1.1.1/src/__init__.py 2008-03-15 11:38:34.000000000 +0100
+@@ -7,7 +7,7 @@
+ # For more info see COPYRIGHTS file in root directory.
+
+ '''
+-USAGE: uniconv [INPUT FILE] [OUTPUT FILE]
++USAGE: uniconvertor [INPUT FILE] [OUTPUT FILE]
+
+ Converts one vector graphics format to another using sK1 engine.
+ sK1 Team (http://sk1project.org), copyright (C) 2007 by Igor E. Novikov, Valek Filippov
+@@ -34,7 +34,7 @@
+ SK - Sketch/Skencil files
+ SK1 - sK1 vector graphics files
+
+-Example: uniconv drawing.cdr drawing.svg\n
++Example: uniconvertor drawing.cdr drawing.svg\n
+ '''
+
+ import sys, os, string
Property changes on: packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch (rev 0)
+++ packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_exec_uniconvertor.dpatch by Andreas Wenning <awen at awen.dk>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Use exec to start uniconvertor.
+
+ at DPATCH@
+diff -urNad python-uniconvertor-1.1.1~/src/uniconv python-uniconvertor-1.1.1/src/uniconv
+--- python-uniconvertor-1.1.1~/src/uniconv 2008-03-13 00:10:44.000000000 +0100
++++ python-uniconvertor-1.1.1/src/uniconv 2008-03-15 15:11:01.000000000 +0100
+@@ -20,4 +20,4 @@
+ #
+
+
+-python -c "import uniconvertor" "$1" "$2"
+\ No newline at end of file
++exec python -c "import uniconvertor" "$1" "$2"
Property changes on: packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/python-uniconvertor/trunk/debian/pycompat
===================================================================
--- packages/python-uniconvertor/trunk/debian/pycompat (rev 0)
+++ packages/python-uniconvertor/trunk/debian/pycompat 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1 @@
+2
\ No newline at end of file
Added: packages/python-uniconvertor/trunk/debian/rules
===================================================================
--- packages/python-uniconvertor/trunk/debian/rules (rev 0)
+++ packages/python-uniconvertor/trunk/debian/rules 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+include /usr/share/dpatch/dpatch.make
+
+p:=debian/python-uniconvertor
+pd:=debian/python-uniconvertor-dbg
+
+PYVERS := $(shell pyversions -vs)
+PYVER := $(shell pyversions -vd)
+
+build: clean patch-stamp build-stamp
+ pod2man --section=1 --release=$(VERSION) debian/uniconvertor.pod > uniconvertor.1
+ mkdir -p $(p)
+
+build-stamp: $(PYVERS:%=build-python%) $(PYVERS:%=dbg-build-python%)
+
+build-python%:
+ python$* setup.py install --no-compile --root $(p)
+
+dbg-build-python%:
+ python$*-dbg setup.py install --no-compile --root $(pd)
+
+clean: unpatch
+ dh_testdir
+ dh_clean -i -a
+ python setup.py clean
+ rm -rf build
+ rm -f uniconvertor.1
+
+install: build install-python dbg-install-python
+
+install-python:
+ mv $(p)/usr/bin/uniconv $(p)/usr/bin/uniconvertor
+ chmod 755 `find $(p) -wholename "*/uniconvertor/__init__.py"`
+ find $(p) -type f -name 'GNU_*GPL_v2' | xargs rm -f
+ find $(p) -type f -name 'COPYRIGHTS' | xargs rm -f
+
+dbg-install-python:
+ find $(pd) ! -type d ! -name '*_d.so' | xargs rm -f
+ find $(pd) -depth -empty -exec rmdir {} \;
+ dh_link -ppython-uniconvertor-dbg /usr/share/doc/python-uniconvertor /usr/share/doc/python-uniconvertor-dbg
+
+binary-indep:
+ # Nothing to do.
+
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installman uniconvertor.1
+ dh_installdocs
+ dh_installchangelogs
+ dh_strip -ppython-uniconvertor --dbg-package=python-uniconvertor-dbg
+ dh_compress -a -X.py
+ dh_fixperms -a
+ dh_pycentral -a
+ dh_makeshlibs -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a -- -Z bzip2
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary binary-indep binary-arch install
Property changes on: packages/python-uniconvertor/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/python-uniconvertor/trunk/debian/uniconvertor.pod
===================================================================
--- packages/python-uniconvertor/trunk/debian/uniconvertor.pod (rev 0)
+++ packages/python-uniconvertor/trunk/debian/uniconvertor.pod 2008-03-16 01:10:51 UTC (rev 4828)
@@ -0,0 +1,51 @@
+=head1 NAME
+
+UniConvertor -- command line tool to convert vector graphic files
+
+=head1 SYNOPSIS
+
+uniconvertor [input file] [output file]
+
+=head1 DESCRIPTION
+
+Converts one vector graphics format to another using sK1 engine.
+
+Allowed input formats:
+ AI - Adobe Illustrator files (postscript based)
+ CDR - CorelDRAW Graphics files (7-X3,X4 versions)
+ CDT - CorelDRAW templates files (7-X3 versions)
+ CCX - Corel Compressed Exchange files
+ CMX - Corel Presentation Exchange files (CMX1 format)
+ SVG - Scalable Vector Graphics files
+ FIG - XFig files
+ CGM - Computer Graphics Metafile files
+ AFF - Draw files
+ WMF - Windows Metafile files
+ SK - Sketch/Skencil files
+ SK1 - sK1 vector graphics files
+
+Allowed output formats:
+ AI - Adobe Illustrator files (postscript based)
+ SVG - Scalable Vector Graphics files
+ CGM - Computer Graphics Metafile files
+ WMF - Windows Metafile files
+ SK - Sketch/Skencil files
+ SK1 - sK1 vector graphics files
+
+=head1 EXAMPLES
+
+B<uniconvertor> drawing.cdr drawing.svg
+
+=head1 AUTHORS
+
+UniConvertor is written by sK1 Team (http://sk1project.org), copyright (C) 2007 by Igor E. Novikov, Valek Filippov.
+
+This manual page was written by Andreas Wenning <awen at awen.dk>, for the Debian project (but may be used by others).
+
+=head1 COPYRIGHT
+
+UniConvertor is released under GNU General Public License; on Debian systems the complete text can be found in /usr/share/common-licenses/GPL-2 file.
+
+The filters are released under GNU Library General Public License; on Debian systems the complete text can be found in /usr/share/common-licenses/LGPL-2 file.
+
+=cut
More information about the Python-modules-commits
mailing list