[Python-modules-commits] r17931 - in packages/python-gd/trunk (21 files)
jump-guest at users.alioth.debian.org
jump-guest at users.alioth.debian.org
Fri Jul 29 05:32:19 UTC 2011
Date: Friday, July 29, 2011 @ 05:32:17
Author: jump-guest
Revision: 17931
[svn-inject] Applying Debian modifications (0.56+dfsg-3) to trunk
Added:
packages/python-gd/trunk/debian/
packages/python-gd/trunk/debian/CHANGES
packages/python-gd/trunk/debian/README.Debian
packages/python-gd/trunk/debian/changelog
packages/python-gd/trunk/debian/compat
packages/python-gd/trunk/debian/control
packages/python-gd/trunk/debian/copyright
packages/python-gd/trunk/debian/patches/
packages/python-gd/trunk/debian/patches/01_fonts.diff
packages/python-gd/trunk/debian/patches/02_setup.diff
packages/python-gd/trunk/debian/patches/03_fixgccwarnings.diff
packages/python-gd/trunk/debian/patches/series
packages/python-gd/trunk/debian/python-gd.doc-base
packages/python-gd/trunk/debian/python-gd.docs
packages/python-gd/trunk/debian/python-gd.examples
packages/python-gd/trunk/debian/python-gd.install
packages/python-gd/trunk/debian/rules
packages/python-gd/trunk/debian/source/
packages/python-gd/trunk/debian/source/format
packages/python-gd/trunk/debian/source/options
packages/python-gd/trunk/debian/watch
Property changes on: packages/python-gd/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/python-gd/trunk/debian/CHANGES
===================================================================
--- packages/python-gd/trunk/debian/CHANGES (rev 0)
+++ packages/python-gd/trunk/debian/CHANGES 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,96 @@
+ * Version 0.56
+ Revised 03/10/2005 by Chris Gonnerman
+ + added support for GIF files.
+ + the minimum gd library version for this gdmodule version is
+ 2.0.23.
+ * Version 0.55
+ Revised 03/10/2005 by Chris Gonnerman
+ + corrected error in the gd.image() constructor, pointed out by
+ Betty Li.
+ + corrected yet another obvious error reported by Greg Hewgill,
+ regarding an incorrect call to gdImagePolygon when fillcolor
+ is not equal to 1.
+ + implemented the saveAlpha and alphaBlending features as
+ suggested by Christopher Stone.
+ + fixed memory management issue regarding image deallocation
+ reported by Matti Jagula.
+ + fixed memory management issue in image_filledpolygon reported
+ by Sadruddin Rejeb.
+ + the minimum gd library version for this gdmodule version is
+ 2.0.22.
+ * Version 0.54
+ Revised 03/03/2005 by Chris Gonnerman
+ + this version has been withdrawn and replaced with 0.55, above.
+ * Version 0.53
+ Revised 06/10/2004 by Chris Gonnerman
+ + corrected obvious error in image_settile(), as pointed out by
+ Dan Mosedale.
+ + applied some patches provided by John Hunter. Several are for
+ Windows compatibility, but this should be considered a "work
+ in progress" in this version.
+ + corrected another obvious error (and an ancient one too)
+ reported by Greg Hewgill, regarding the foreground color being
+ used rather than the fill color in the image_polygon function.
+ + the minimum gd library version for this gdmodule version is
+ 2.0.22.
+ * Version 0.52
+ Revised 02/03/2004 by Chris Gonnerman
+ + incorporated new functions from the matplotlib project
+ (provided by John Hunter)
+ + corrected error in PyObject_HEAD_INIT() call noted by Stefan R
+ Kuzminski (thanks!)
+ * Version 0.50
+ Revised 09/13/2003 by Chris Gonnerman
+ + Documentation change: version 2.0.8 or higher of GD has been
+ required since version 0.41 of gdmodule.
+ + The library search order has been changed; /usr/local/lib is
+ now the first in the search path. This is intended to support
+ those trying to build against newer versions of GD which might
+ conflict with an older version installed with the Linux or BSD
+ distibution.
+ * Version 0.42
+ Revised 06/10/2003 by Chris Gonnerman
+ + implemented patch by Gregory P. Smith to support writing to
+ arbitrary objects, superceding the patch in 0.41 from Andreas
+ Rottman. gddemo.py contains Rottman's example (which works
+ with Smith's patched version) as well as an example (by me) of
+ reading an image from a URL. The documentation was updated to
+ reflect these changes.
+ * Version 0.41
+ Revised 05/29/2003 by Chris Gonnerman
+ + implemented big patch by Andreas Rottmann to support writing
+ images to memory via StringIO/CStringIO. Currently the only
+ documentation is an example in gddemo.py.
+ + implemented patch by Bob Galloway to remove the "specialness"
+ of negative coordinates in the string_ttf/string_ft methods.
+ + implemented patch by Nathan Robertson to enable MacOSX fink
+ builds.
+ + fixed bugs in the proxy class with regard to passing of
+ _gd.image types.
+ * Version 0.40
+ Revised 09/18/2002 by Chris Gonnerman
+ + updated to deal with incomplete library installs
+ * Version 0.30
+ Revised 06/12/2002 by Chris Gonnerman
+ + initial conversion to two-tier design
+ * Version 0.26
+ Revised 12/10/2001 by Chris Gonnerman
+ + made unicode optional via define Py_UNICODEOBJECT_H
+ * Version 0.25
+ Revised 09/15/2001 by Chris Gonnerman
+ + implemented patch by Mike Romberg:
+ o adds additional image methods, available only if GD
+ 2.0.1+ is installed.
+ * Version 0.24
+ Revised 08/08/2001 by Chris Gonnerman
+ + implemented patch by Mike Romberg:
+ o supports GCC 3.0 and GD 2.0.1
+ o adds public C function makeGDImage()
+ # It allows C or C++ code which uses the gd library
+ directly to make an imageobject instance.
+ * Version 0.23
+ Revised 11/22/2000 by Chris Gonnerman
+ + included the patch from Tanimoto Osamu
+ + updated support to GD version 1.8.3
+ + cleaned up code, added ANSI prototypes
+
Added: packages/python-gd/trunk/debian/README.Debian
===================================================================
--- packages/python-gd/trunk/debian/README.Debian (rev 0)
+++ packages/python-gd/trunk/debian/README.Debian 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,8 @@
+python-gd for Debian
+-------------------
+
+Mantainer: The original source was renamed from gdmodule to python-gd to fit debian package name on repository.
+
+Also, the file adventure.ttf was removed for copyright issues and upstream tarball was repackaged adding +dfsg suffix.
+
+ -- Julián Moreno Patiño <darkjunix at gmail.com> Mon, 23 Nov 2009 15:31:27 -0500
Added: packages/python-gd/trunk/debian/changelog
===================================================================
--- packages/python-gd/trunk/debian/changelog (rev 0)
+++ packages/python-gd/trunk/debian/changelog 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,222 @@
+python-gd (0.56+dfsg-3) unstable; urgency=low
+
+ * Generate python-gd-dbg
+ + Thanks to Matthias Klose
+ * Update B-D:
+ + Add libx11-dev
+ + Change libjpeg62-dev to libjpeg-dev. (Closes: #635490)
+ + Change libpng12-dev to libpng-dev
+ + Update debhelper to v8
+ * Bump Standards-Version to 3.9.2 (no changes)
+ * Switch compat level 7 to 8
+ * Use binary compression package
+ + Thanks to Raphaël Hertzog
+ * Update patches
+ * Set Python Modules Team as Maintainer
+ * Add myself to Uploaders
+ * Add Vcs-Svn and Vcs-Browser fields
+
+ -- Julián Moreno Patiño <darkjunix at gmail.com> Fri, 29 Jul 2011 00:20:30 -0500
+
+python-gd (0.56+dfsg-2) unstable; urgency=low
+
+ * Added libgif-dev in B-D
+ + Added GIF support to the description
+ * Used 3.0 (quilt) format
+ + Removed --with quilt in dh call.
+ + Removed quilt (>= 0.46-7~) in B-D
+ * Bumped Standards-Version to 3.9.1 (no changes).
+ * Adopted DEP5 format.
+ * Used debhelper 7.0.50~ overrides
+ + Added debhelper 7.0.50~ to B-D
+ * Set python-support to python-support (>= 0.90)
+ * Renamed patch to 01_fonts.diff
+ + Best description.
+ + Fixed font path function
+ * Added patch 02_setup.diff
+ + To avoid unnecessary linking
+ * Added 03_fixgccwarnings.diff
+ + Fix incompatible pointer types
+ + Fix declaration isn't a prototype
+ * Removed Replaces and Conflicts
+ + python2.4-gd, python2.5-gd don't exist
+ into Debian repository
+
+ -- Julián Moreno Patiño <darkjunix at gmail.com> Tue, 15 Feb 2011 00:46:33 -0500
+
+python-gd (0.56+dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Repackaged upstream tarball without adventure.ttf font.
+ * debian/patches: Added.
+ * debian/control: Updated dependencies field.
+ - Removed Suggest field.
+ - Added quilt dependency.
+ - Moved ttf-freefont to Depends.
+ - Added Homepage field.
+ * Updated standards version to 3.8.3
+ * debian/copyright: Updated download link and copyrigth.
+ * debian/rules: Added quilt support.
+ * debian/python-gd.docs: Added.
+ * debian/CHANGES: Copied changes from gd-ref.html
+ * debian/source/format: Added.
+ * debian/source/options: bzip2 -9 compression.
+ * New maintainer. Closes: #553075
+
+ -- Julián Moreno Patiño <darkjunix at gmail.com> Sat, 21 Nov 2009 21:30:16 -0500
+
+python-gd (0.52debian-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Changes ttf-bitstream-vera suggestion (Closes: #461286)
+ * Updating Standards-Version to 3.7.3.
+
+ -- Jose Parrella <bureado at debian.org> Mon, 07 Apr 2008 15:09:41 -0430
+
+python-gd (0.52debian-3) unstable; urgency=low
+
+ * New Maintainer (closes: #223755).
+
+ -- Ernesto Nadir Crespo Avila <ecrespo at debianvenezuela.org> Sat, 3 Feb 2007 23:11:03 -0400
+
+python-gd (0.52debian-2) unstable; urgency=medium
+
+ * QA upload.
+ * Change build dep on libgd2-noxpm-dev to libgd2-xpm-dev (Closes: #379750).
+ * Acknowledge NMUs (Closes: #343917, #346270, #373537).
+
+ -- Luk Claes <luk at debian.org> Thu, 3 Aug 2006 20:27:25 +0200
+
+python-gd (0.52debian-1.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update for the new python policy. Closes: #373537
+ * Switch to debhelper 5.
+
+ -- Raphael Hertzog <hertzog at debian.org> Sun, 25 Jun 2006 17:46:33 +0200
+
+python-gd (0.52debian-1.2) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Remove xlibs-dev build-dep (Closes: #346270).
+
+ -- Luk Claes <luk at debian.org> Sat, 7 Jan 2006 00:30:59 +0100
+
+python-gd (0.52debian-1.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Update build-dep on gd to libgd2-noxpm-dev (Closes: #343917).
+
+ -- Luk Claes <luk at debian.org> Sun, 1 Jan 2006 15:22:59 +0100
+
+python-gd (0.52debian-1) unstable; urgency=low
+
+ * Applied ubuntu patch. Closes: #298510.
+
+ -- Ben Pfaff <pfaffben at debian.org> Wed, 9 Mar 2005 10:53:58 -0800
+
+python-gd (0.52.0-0ubuntu1) hoary; urgency=low
+
+ * Remove non distributable font used in example. Ubuntu #7296.
+ * Fix demo to run with installed fonts.
+
+ -- Matthias Klose <doko at ubuntu.com> Tue, 8 Mar 2005 17:01:18 +0100
+
+python-gd (0.52-0.1) unstable; urgency=low
+
+ * NMU, based on Vittorio Palmisano packaging of 0.52.
+ * New upstream version.
+ * Add build dependency on python.
+
+ -- Matthias Klose <doko at debian.org> Sat, 24 Apr 2004 07:43:22 +0200
+
+python-gd (0.42-7) unstable; urgency=low
+
+ * Rebuild to update library dependencies now that xlibs has been broken
+ up. Closes: #240785.
+
+ -- Ben Pfaff <pfaffben at debian.org> Sat, 3 Apr 2004 16:02:09 -0800
+
+python-gd (0.42-6) unstable; urgency=low
+
+ * Add support for the gdImageTrueColorToPalette function. Closes:
+ #223654.
+
+ -- Ben Pfaff <pfaffben at debian.org> Thu, 11 Dec 2003 19:49:28 -0800
+
+python-gd (0.42-5) unstable; urgency=low
+
+ * Byte-compile Python files. (Oops!) Closes: #213099.
+
+ -- Ben Pfaff <pfaffben at debian.org> Sun, 28 Sep 2003 13:12:38 -0700
+
+python-gd (0.42-4) unstable; urgency=low
+
+ * Add Build-Depends for lots of libraries. Closes: #206659.
+
+ -- Ben Pfaff <pfaffben at debian.org> Fri, 22 Aug 2003 22:28:30 -0700
+
+python-gd (0.42-3) unstable; urgency=low
+
+ * Compile against python2.3. Closes: #205414.
+
+ -- Ben Pfaff <pfaffben at debian.org> Sun, 17 Aug 2003 19:23:26 -0700
+
+python-gd (0.42-2) unstable; urgency=low
+
+ * Change section from graphics to python.
+
+ -- Ben Pfaff <pfaffben at debian.org> Wed, 18 Jun 2003 18:24:44 -0700
+
+python-gd (0.42-1) unstable; urgency=low
+
+ * New upstream release. Closes: #194420.
+
+ -- Ben Pfaff <pfaffben at debian.org> Tue, 17 Jun 2003 23:03:22 -0700
+
+python-gd (0.26-7) unstable; urgency=low
+
+ * debian/control: Change from libgd-dev to libgd2-dev. Closes: #165003.
+
+ -- Ben Pfaff <pfaffben at debian.org> Wed, 16 Oct 2002 23:05:57 -0700
+
+python-gd (0.26-6) unstable; urgency=low
+
+ * debian/rules: Force Python 2.2 for build, try #2. Closes: #160167.
+
+ * gddemo.py: Force Python 2.2.
+
+ -- Ben Pfaff <pfaffben at debian.org> Sun, 8 Sep 2002 20:28:37 -0700
+
+python-gd (0.26-5) unstable; urgency=low
+
+ * rules: Force Python 2.2 for build. Closes: #159978.
+
+ -- Ben Pfaff <pfaffben at debian.org> Sun, 8 Sep 2002 11:52:48 -0700
+
+python-gd (0.26-4) unstable; urgency=low
+
+ * Update and recompile for Python 2.2. Closes: #159568.
+
+ -- Ben Pfaff <pfaffben at debian.org> Wed, 4 Sep 2002 23:19:59 -0700
+
+python-gd (0.26-3) unstable; urgency=low
+
+ * Add Build-Depends: on libgd-dev. Closes: Bug#134438.
+
+ -- Ben Pfaff <blp at cs.stanford.edu> Sun, 17 Feb 2002 10:52:48 -0800
+
+python-gd (0.26-2) unstable; urgency=low
+
+ * GdCreateFromXpm() should have been GdImageCreateFromXpm(), but I was
+ misled by the incorrect header file.
+
+ -- Ben Pfaff <blp at cs.stanford.edu> Tue, 12 Feb 2002 22:54:31 -0800
+
+python-gd (0.26-1) unstable; urgency=low
+
+ * Initial Release. Closes: Bug#133281.
+
+ -- Ben Pfaff <blp at cs.stanford.edu> Tue, 12 Feb 2002 09:30:14 -0800
+
+
Added: packages/python-gd/trunk/debian/compat
===================================================================
--- packages/python-gd/trunk/debian/compat (rev 0)
+++ packages/python-gd/trunk/debian/compat 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1 @@
+8
Added: packages/python-gd/trunk/debian/control
===================================================================
--- packages/python-gd/trunk/debian/control (rev 0)
+++ packages/python-gd/trunk/debian/control 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,34 @@
+Source: python-gd
+Section: python
+Priority: extra
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Julián Moreno Patiño <darkjunix at gmail.com>
+Build-Depends: debhelper (>= 8), libgd2-xpm-dev (>= 2.0.23), libjpeg-dev, libpng-dev,
+ libgif-dev, zlib1g-dev, libfreetype6-dev, python-all-dev, python-all-dbg, libx11-dev
+Standards-Version: 3.9.2
+X-Python-Version: >= 2.5
+Homepage: http://newcenturycomputers.net/projects/gdmodule.html
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-gd/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-gd/trunk/
+
+Package: python-gd
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, ttf-freefont
+Provides: ${python:Provides}
+Suggests: python-gd-dbg
+Description: Python module wrapper for libgd
+ Provides PNG, JPEG, GIF and XPM creation and manipulation routines
+ through the libgd library.
+ .
+ Also allows use of TrueType fonts in images created.
+
+Package: python-gd-dbg
+Section: debug
+Architecture: any
+Depends: python-gd (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Suggests: ttf-dejavu | ttf-bitstream-vera | ttf-freefont
+Description: Python module wrapper for libgd (debug extension)
+ Provides PNG, JPEG, and XPM creation and manipulation routines
+ through the libgd library.
+ .
+ This package contains the extension built for the Python debug interpreter.
Added: packages/python-gd/trunk/debian/copyright
===================================================================
--- packages/python-gd/trunk/debian/copyright (rev 0)
+++ packages/python-gd/trunk/debian/copyright 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,27 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: python-gd
+Source: http://newcenturycomputers.net/projects/gdmodule.html
+
+Copyright: 1995, Richard Jones <richard at bofh.asn.au>
+License: BSD
+
+Files: debian/*
+Copyright: 2002, Ben Pfaff <pfaffben at debian.org>
+ 2009, Julián Moreno Patiño <darkjunix at gmail.com>
+License: BSD
+
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted under the terms of the BSD License.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
Added: packages/python-gd/trunk/debian/patches/01_fonts.diff
===================================================================
--- packages/python-gd/trunk/debian/patches/01_fonts.diff (rev 0)
+++ packages/python-gd/trunk/debian/patches/01_fonts.diff 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,41 @@
+Description: Fix copyright font problem.
+Forwarded: no
+Author: Julián Moreno Patiño <darkjunix at gmail.com>
+Last-Update: 2011-02-15
+--- a/gddemo.py
++++ b/gddemo.py
+@@ -2,9 +2,26 @@
+
+ import gd, os, cStringIO, urllib2
+
+-os.environ["GDFONTPATH"] = "."
+-
+-FONT = "adventure"
++fontlist = [
++ '/usr/share/fonts/truetype/freefont/FreeSerif.ttf',
++ '/usr/share/fonts/truetype/freefont/FreeSans.ttf',
++ '/usr/share/fonts/truetype/freefont/FreeMono.ttf'
++ ]
++
++fontpath = '.'
++for f in fontlist:
++ if os.path.exists(f):
++ fontpath = fontpath + ':' + os.path.dirname(f)
++ FONT = os.path.abspath(f)
++ break
++
++os.environ["GDFONTPATH"] = "fontpath"
++
++try:
++ FONT
++except NameError:
++ print "no fonts found"
++ sys.exit(1)
+
+ def simple():
+ im = gd.image((200, 200))
+@@ -44,4 +61,3 @@
+ print "GNU Image Size:", im.size()
+
+ simple()
+-
Added: packages/python-gd/trunk/debian/patches/02_setup.diff
===================================================================
--- packages/python-gd/trunk/debian/patches/02_setup.diff (rev 0)
+++ packages/python-gd/trunk/debian/patches/02_setup.diff 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,47 @@
+Description: Avoid linking with thread library and find all libraries.
+Forwarded: no
+Author: Julián Moreno Patiño <darkjunix at gmail.com>
+Last-Update: 2011-07-26
+--- a/Setup.py
++++ b/Setup.py
+@@ -1,11 +1,16 @@
+ # Setup for gdmodule 0.50 and later
+
+ from distutils.core import setup, Extension
++from distutils import sysconfig
+ import os, glob, sys, string
+
+ # version of this gdmodule package
+ this_version = "0.56"
+
++# Define overrides of CC and LDSHARED
++CC = 'gcc'
++LDSHARED = ' -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
++
+ # directory existence tester
+
+ def dirtest(lst):
+@@ -62,7 +67,7 @@
+ "ttf", "freetype",
+ ]
+
+-libs = filetest(libdirs, want_libs)
++libs = want_libs
+
+ missing = []
+
+@@ -98,6 +103,14 @@
+ for l in libs:
+ macros.append(( "HAVE_LIB%s" % l.upper(), None ))
+
++given_cc = sysconfig.get_config_var('CC')
++if given_cc != CC and given_cc[0] != '/':
++ try:
++ sysconfig._config_vars['CC'] = CC
++ sysconfig._config_vars['LDSHARED'] = CC + LDSHARED
++ except AttributeError:
++ pass
++
+ # OK, now do it!
+
+ setup(name="gdmodule", version=this_version,
Added: packages/python-gd/trunk/debian/patches/03_fixgccwarnings.diff
===================================================================
--- packages/python-gd/trunk/debian/patches/03_fixgccwarnings.diff (rev 0)
+++ packages/python-gd/trunk/debian/patches/03_fixgccwarnings.diff 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,61 @@
+Description: Fix gcc warnings.
+Forwarded: no
+Author: Julián Moreno Patiño <darkjunix at gmail.com>
+Last-Update: 2010-12-10
+--- a/_gdmodule.c
++++ b/_gdmodule.c
+@@ -149,7 +149,9 @@
+
+
+ static PyObject *ErrorObject;
++#ifndef errno
+ extern int errno;
++#endif
+
+ /*
+ ** Declarations for objects of type image
+@@ -166,7 +168,7 @@
+
+
+ // 2.0.22 replaces gdFontTinyRep with gdFontGetTiny, and so on
+-typedef gdFontPtr (*ptrGetFontFunction)();
++typedef gdFontPtr (*ptrGetFontFunction)(void);
+ typedef struct {
+ char *name;
+ ptrGetFontFunction func;
+@@ -986,7 +988,7 @@
+ static PyObject *image_string(imageobject *self, PyObject *args)
+ {
+ int x,y,font,color;
+- char *str;
++ unsigned char *str;
+
+ if(!PyArg_ParseTuple(args, "i(ii)si", &font,&x,&y,&str,&color))
+ return NULL;
+@@ -1000,7 +1002,7 @@
+ static PyObject *image_string16(imageobject *self, PyObject *args)
+ {
+ int x,y,font,color;
+- Py_UNICODE *ustr;
++ unsigned short *ustr; //Py_UNICODE *ustr;
+
+ if(!PyArg_ParseTuple(args, "i(ii)ui", &font,&x,&y,&ustr,&color))
+ return NULL;
+@@ -1015,7 +1017,7 @@
+ static PyObject *image_stringup(imageobject *self, PyObject *args)
+ {
+ int x,y,font,color;
+- char *str;
++ unsigned char *str;
+
+ if(!PyArg_ParseTuple(args, "i(ii)si", &font,&x,&y,&str,&color))
+ return NULL;
+@@ -1029,7 +1031,7 @@
+ static PyObject *image_stringup16(imageobject *self, PyObject *args)
+ {
+ int x,y,font,color;
+- Py_UNICODE *ustr;
++ unsigned short *ustr; //Py_UNICODE *ustr;
+
+ if(!PyArg_ParseTuple(args, "i(ii)ui", &font,&x,&y,&ustr,&color))
+ return NULL;
Added: packages/python-gd/trunk/debian/patches/series
===================================================================
--- packages/python-gd/trunk/debian/patches/series (rev 0)
+++ packages/python-gd/trunk/debian/patches/series 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,3 @@
+01_fonts.diff
+02_setup.diff
+03_fixgccwarnings.diff
Added: packages/python-gd/trunk/debian/python-gd.doc-base
===================================================================
--- packages/python-gd/trunk/debian/python-gd.doc-base (rev 0)
+++ packages/python-gd/trunk/debian/python-gd.doc-base 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,15 @@
+Document: python-gd
+Title: Debian python-gd Manual
+Author: Richard Jones
+Abstract: The User Reference Manual for python-gd
+ gd is a graphics library. It allows your code to quickly draw images
+ complete with lines, arcs, text, multiple colors, cut and paste from
+ other images, and flood fills, and write out the result as a PNG or
+ JPEG file. This is particularly useful in World Wide Web applications,
+ where PNG and JPEG are two of the formats accepted for inline images
+ by most browsers.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-gd/html/gd-ref.html
+Files: /usr/share/doc/python-gd/html/*.html
Added: packages/python-gd/trunk/debian/python-gd.docs
===================================================================
--- packages/python-gd/trunk/debian/python-gd.docs (rev 0)
+++ packages/python-gd/trunk/debian/python-gd.docs 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1 @@
+README
Added: packages/python-gd/trunk/debian/python-gd.examples
===================================================================
--- packages/python-gd/trunk/debian/python-gd.examples (rev 0)
+++ packages/python-gd/trunk/debian/python-gd.examples 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1 @@
+gddemo.py
Added: packages/python-gd/trunk/debian/python-gd.install
===================================================================
--- packages/python-gd/trunk/debian/python-gd.install (rev 0)
+++ packages/python-gd/trunk/debian/python-gd.install 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1 @@
+gd-ref.html ./usr/share/doc/python-gd/html/
Added: packages/python-gd/trunk/debian/rules
===================================================================
--- packages/python-gd/trunk/debian/rules (rev 0)
+++ packages/python-gd/trunk/debian/rules 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -r)
+
+%:
+ dh $@ --with python2
+
+override_dh_auto_install:
+ set -e; \
+ for PYTHON in $(PYVERS); do \
+ $$PYTHON ./Setup.py install --root=debian/python-gd --install-layout=deb; \
+ done
+ set -e; \
+ for PYTHON in $(PYVERS); do \
+ $$PYTHON-dbg ./Setup.py install --root=debian/python-gd-dbg --install-layout=deb; \
+ done
+ find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f
+ find debian/python-*-dbg -depth -empty -exec rmdir {} \;
+
+override_dh_installchangelogs:
+ dh_installchangelogs debian/CHANGES
+
+override_dh_strip:
+ dh_strip -ppython-gd --dbg-package=python-gd-dbg
+
+override_dh_builddeb:
+ dh_builddeb -- -Zbzip2
Property changes on: packages/python-gd/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-gd/trunk/debian/source/format
===================================================================
--- packages/python-gd/trunk/debian/source/format (rev 0)
+++ packages/python-gd/trunk/debian/source/format 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/python-gd/trunk/debian/source/options
===================================================================
--- packages/python-gd/trunk/debian/source/options (rev 0)
+++ packages/python-gd/trunk/debian/source/options 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,2 @@
+compression = "bzip2"
+compression-level = 9
Added: packages/python-gd/trunk/debian/watch
===================================================================
--- packages/python-gd/trunk/debian/watch (rev 0)
+++ packages/python-gd/trunk/debian/watch 2011-07-29 05:32:17 UTC (rev 17931)
@@ -0,0 +1,4 @@
+version=3
+opts=dversionmangle=s/[\.+]dfsg// \
+http://newcenturycomputers.net/projects/gdmodule.html \
+ download.cgi/gdmodule-(.*)\.tar\.gz
More information about the Python-modules-commits
mailing list