[Python-modules-commits] r30451 - in packages (15 files)

vicho at users.alioth.debian.org vicho at users.alioth.debian.org
Mon Sep 1 15:06:47 UTC 2014


    Date: Monday, September 1, 2014 @ 15:06:46
  Author: vicho
Revision: 30451

add python-sk1libs, imported from http://anonscm.debian.org/gitweb/?p=users/agmartin/TMP/python-sk1libs.git;a=summary

Added:
  packages/python-sk1libs/
  packages/python-sk1libs/tags/
  packages/python-sk1libs/trunk/
  packages/python-sk1libs/trunk/debian/
  packages/python-sk1libs/trunk/debian/changelog
  packages/python-sk1libs/trunk/debian/compat
  packages/python-sk1libs/trunk/debian/control
  packages/python-sk1libs/trunk/debian/copyright
  packages/python-sk1libs/trunk/debian/patches/
  packages/python-sk1libs/trunk/debian/patches/01_disable-embedded-reportbug+imaging.patch
  packages/python-sk1libs/trunk/debian/patches/series
  packages/python-sk1libs/trunk/debian/python-sk1libs.links
  packages/python-sk1libs/trunk/debian/rules
  packages/python-sk1libs/trunk/debian/source/
  packages/python-sk1libs/trunk/debian/source/format

Added: packages/python-sk1libs/trunk/debian/changelog
===================================================================
--- packages/python-sk1libs/trunk/debian/changelog	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/changelog	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1,17 @@
+sk1libs (0.9.1-1) UNRELEASED; urgency=low
+
+  * New source package with stuff split by upstream from
+    python-uniconvertor and other sources to sk1libs. New
+    python-sk1libs package is a python-uniconvertor dependency.
+    - Source package was initially created in an automatic way by
+      stdeb 0.6.0+git
+    - Upstream tarball contains and builds embedded copies of
+      python-reportlab (as libpdf) and python-imaging PIL (as imaging).
+      New 01_disable-embedded-reportbug+imaging.patch will try to not
+      build those embedded copies. This may require changes in packages
+      by upstream that depend on those embedded modules by really
+      depending on and using python-reportlab and python-imaging.
+    - Use symlinks to avoid installing embedded ttf-bitstream-vera
+      fonts.
+
+ -- Agustin Martin Domingo <agmartin at debian.org>  Mon, 22 Jul 2013 16:19:38 +0200

Added: packages/python-sk1libs/trunk/debian/compat
===================================================================
--- packages/python-sk1libs/trunk/debian/compat	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/compat	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1 @@
+8

Added: packages/python-sk1libs/trunk/debian/control
===================================================================
--- packages/python-sk1libs/trunk/debian/control	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/control	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1,45 @@
+Source: sk1libs
+Maintainer: Agustin Martin Domingo <agmartin at debian.org>
+Section: python
+Priority: optional
+Homepage: http://sk1project.org
+Build-Depends:
+    python-all-dev (>= 2.6.6-3),
+    python-all-dbg,
+    debhelper (>= 8.1.0~),
+    python-support (>= 0.90),
+    liblcms1-dev,
+    libfreetype6-dev,
+    libjpeg62-dev,
+    zlib1g-dev
+Standards-Version: 3.9.4
+
+Package: python-sk1libs
+Architecture: any
+Depends:
+    ${misc:Depends},
+    ${python:Depends},
+    ${shlibs:Depends},
+    python-reportlab,
+    python-imaging,
+    ttf-bitstream-vera
+Description: Set of python non-GUI extensions for sK1 Project
+ sk1libs is a set of python non-GUI extensions for sK1 Project.
+ The package includes multiplatform non-GUI extensions which are
+ usually native extensions.
+
+Package: python-sk1libs-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends:
+    ${python:Depends},
+    ${misc:Depends},
+    ${shlibs:Depends},
+    python-sk1libs (= ${binary:Version})
+Recommends:
+    python-dbg,
+    python-imaging-dbg
+Description: Python support for SK1LIBS (debug extension)
+ sk1libs is a set of python non-GUI extensions for sK1 Project.
+ This package includes the debugging support.

Added: packages/python-sk1libs/trunk/debian/copyright
===================================================================
--- packages/python-sk1libs/trunk/debian/copyright	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/copyright	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1,112 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sk1libs
+Upstream-Contact: Igor E. Novikov <igor.e.novikov at gmail.com>
+Source:  http://sk1project.org/
+
+Files: ./src/imaging/*
+       ./src/pycms/Imaging.h
+Copyright: 1997-2009 by Secret Labs AB
+           1995-2009 by Fredrik Lundh
+	   1998, Toby J Sargeant
+	   2004, Bob Ippolito
+	   2004, Health Research Inc. (HRI) RENSSELAER, NY 12144
+	   2004, William Baxter
+	   2008, Karsten Hiddemann
+	   1998-2001, Marti Maria
+	   2002-2003, Kevin Cazabon
+License: BSD-3-clause like
+ Python Imaging Library
+ .
+ By obtaining, using, and/or copying this software and/or its
+ associated documentation, you agree that you have read, understood,
+ and will comply with the following terms and conditions:
+ .
+ Permission to use, copy, modify, and distribute this software and its
+ associated documentation for any purpose and without fee is hereby
+ granted, provided that the above copyright notice appears in all
+ copies, and that both that copyright notice and this permission notice
+ appear in supporting documentation, and that the name of Secret Labs
+ AB or the author not be used in advertising or publicity pertaining to
+ distribution of the software without specific, written prior
+ permission.
+ .
+ SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS.  IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Files: ./src/libpdf/*
+Copyright: 2000-2008 ReportLab Inc. <info at reportlab.com>
+ ReportLab Europe Ltd. 2000-2010
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+  * 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.
+  * Neither the name of the company 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 COPYRIGHT HOLDERS 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 OFFICERS
+ 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.
+
+Files: ./src/filters/*
+Copyright: 1997-2003, Bernhard Herzog
+           2003-2010, Igor Novikov
+	   2009, Barabash Maxim
+	   2001-2002, David Boddie
+License: LGPL-2+
+ On Debian systems, the complete text of the GNU Library General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: ./src/filters/formats/drawfile.py
+ ./src/filters/formats/spritefile.py
+Copyright: David Boddie 2001-2002
+License: public-domain
+ This module may be freely distributed and modified.
+
+Files: ./src/pycms/__init__.py
+ ./src/pycms/_pycms.c
+ ./src/utils/system.py
+Copyright: 2009-2010, Igor E.Novikov
+License: LGPL-2+
+
+Files: ./setup.py
+ ./setup_win32.py
+Copyright: 2009-2010, Igor E. Novikov
+License: LGPL-2.1+
+
+Files: ./src/ft2engine/libft2/ft2module.c
+Copyright: 2002, Abel Deuring <a.deuring at satzbau-gmbh.de>
+  2007, Igor E.Novikov <igor.e.novikov at gmail.com>
+License: GPL-2+
+
+License: GPL-2+
+ On Debian systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2+
+ On Debian systems, the complete text of the GNU Library General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+License: LGPL-2.1+
+ On Debian systems, the complete text of the GNU Library General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.

Added: packages/python-sk1libs/trunk/debian/patches/01_disable-embedded-reportbug+imaging.patch
===================================================================
--- packages/python-sk1libs/trunk/debian/patches/01_disable-embedded-reportbug+imaging.patch	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/patches/01_disable-embedded-reportbug+imaging.patch	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1,55 @@
+Author: Agustin Martin Domingo <agmartin at debian.org>
+Description: Avoid embedded copies of python-{imaging,reportlab} libraries.
+
+sk1libs contains embedded copies of python-{imaging,reportlab} libraries.
+While they are supposed to contain patches not accepted by different
+upstreams and other fixes, we better try to use standard Debian
+python-{imaging,reportlab} libraries, so we do not install the embedded
+copies.
+
+For reportlab this should not be a problem as sk1libs already used a
+'reportlab' alias to the newly named module 'libpdf', but all references
+used the 'reportlab' naming.
+
+For PIL, the reference in the embedded copy has been changed to
+'sk1libs.imaging' and used by that name in the different programs.
+I try a hack to define 'sk1libs.imaging' as an alias to standard PIL,
+do not know if this will work, I do not speak Python.
+
+Index: python-sk1libs/setup.py
+===================================================================
+--- python-sk1libs.orig/setup.py	2013-07-11 15:04:09.000000000 +0200
++++ python-sk1libs/setup.py	2013-07-11 15:08:01.221520712 +0200
+@@ -155,11 +155,6 @@
+ 		packages = ['sk1libs',
+ 				'sk1libs.pycms',
+ 				'sk1libs.ft2engine',
+-				'sk1libs.imaging',
+-				'sk1libs.libpdf',
+-				'sk1libs.libpdf.lib',
+-				'sk1libs.libpdf.pdfbase',
+-				'sk1libs.libpdf.pdfgen',
+ 				'sk1libs.utils',
+ 				'sk1libs.filters',
+ 				'sk1libs.filters.formats',
+@@ -182,8 +177,7 @@
+ 		package_data = {'sk1libs.filters': ['import/*.py','export/*.py','parsing/*.py','preview/*.py'], 
+ 					'sk1libs.ft2engine': ['fallback_fonts/*.*'],'sk1libs.pycms': ['profiles/*.*'],},
+ 		
+-		ext_modules = [pycms_module, imaging_module, immath_module, 
+-					imcms_module, imft_module, ft2_module])
++		ext_modules = [pycms_module, ft2_module])
+ 	
+ ##############################################
+ # This section for developing purpose only
+Index: python-sk1libs/src/__init__.py
+===================================================================
+--- python-sk1libs.orig/src/__init__.py	2013-07-11 15:04:42.153042062 +0200
++++ python-sk1libs/src/__init__.py	2013-07-11 15:07:23.715691397 +0200
+@@ -1,3 +1,3 @@
+ 
+-import sys, libpdf
+-sys.modules['reportlab'] = libpdf
+\ No newline at end of file
++import sys, reportlab, PIL
++sys.modules['sk1libs.imaging'] = PIL

Added: packages/python-sk1libs/trunk/debian/patches/series
===================================================================
--- packages/python-sk1libs/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/patches/series	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1 @@
+01_disable-embedded-reportbug+imaging.patch

Added: packages/python-sk1libs/trunk/debian/python-sk1libs.links
===================================================================
--- packages/python-sk1libs/trunk/debian/python-sk1libs.links	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/python-sk1libs.links	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1,4 @@
+usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf   usr/share/pyshared/sk1libs/ft2engine/fallback_fonts/Vera.ttf
+usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf usr/share/pyshared/sk1libs/ft2engine/fallback_fonts/VeraBI.ttf
+usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf usr/share/pyshared/sk1libs/ft2engine/fallback_fonts/VeraBd.ttf
+usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf usr/share/pyshared/sk1libs/ft2engine/fallback_fonts/VeraIt.ttf

Added: packages/python-sk1libs/trunk/debian/rules
===================================================================
--- packages/python-sk1libs/trunk/debian/rules	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/rules	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+package = sk1libs
+
+# Adapted from file originally generated by stdeb 0.6.0+git and
+# enhanced with some bits from http://wiki.debian.org/Python/DbgBuilds
+
+%:
+	dh $@ --with python2 --buildsystem=python_distutils
+
+override_dh_install:
+        # Install everything excluding the *_d.so debug extensions to python-$(package)
+	dh_install -X"*_d.so" "debian/tmp/*" -p python-$(package)
+
+        # Install the debug extensions to python-$(package)-dbg
+	dh_install "`find debian/tmp/usr/lib -name '*_d.so'`" -p python-$(package)-dbg
+
+        # Continue with regular dh_install
+	dh_install
+
+override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+        # Stripped symbols go into python-$(package)-dbg
+	dh_strip --dbg-package=python-$(package)-dbg
+
+        # Rename pyshared to pymodules
+        # FIXME: Is this realy needed? Seems to install in python2.7, not pyshared
+	# cd debian/python-$(package)-dbg/usr/lib/debug/usr/lib && mv pyshared pymodules
+endif


Property changes on: packages/python-sk1libs/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-sk1libs/trunk/debian/source/format
===================================================================
--- packages/python-sk1libs/trunk/debian/source/format	                        (rev 0)
+++ packages/python-sk1libs/trunk/debian/source/format	2014-09-01 15:06:46 UTC (rev 30451)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the Python-modules-commits mailing list