[Python-modules-commits] r18979 - in packages/pythonmagick/trunk/debian (5 files)

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Tue Oct 18 14:48:34 UTC 2011


    Date: Tuesday, October 18, 2011 @ 14:48:32
  Author: sramacher-guest
Revision: 18979

 * Update to new upstream version.
 * Drop the libmagick++ patch (not needed anymore).
 * Update 002_set_minimum_python_verstion_to_2.4.diff to reflect the changes in
   upstream's configure.ac.
 * Update copyright:
   - PythonMagick is released under the ImageMagick license, not GPL3+.
   - Update to recent DEP-5 format.

Modified:
  packages/pythonmagick/trunk/debian/changelog
  packages/pythonmagick/trunk/debian/copyright
  packages/pythonmagick/trunk/debian/patches/002_set_minimum_python_version_to_2.4.diff
  packages/pythonmagick/trunk/debian/patches/series
Deleted:
  packages/pythonmagick/trunk/debian/patches/004_fix_libmagick.diff

Modified: packages/pythonmagick/trunk/debian/changelog
===================================================================
--- packages/pythonmagick/trunk/debian/changelog	2011-10-18 11:07:56 UTC (rev 18978)
+++ packages/pythonmagick/trunk/debian/changelog	2011-10-18 14:48:32 UTC (rev 18979)
@@ -1,4 +1,4 @@
-pythonmagick (0.9.1-4) UNRELEASED; urgency=low
+pythonmagick (0.9.7-1) UNRELEASED; urgency=low
 
   [ Bernd Zeimetz ]
   * Upstream's __init__.py is *WEIRD*. I think I've fixed it as it should be,
@@ -7,6 +7,8 @@
   * Removing myself from uploaders.
 
   [ Sebastian Ramacher ]
+  * New upstream release (Closes: #625581).
+    - debian/control: Bump Build-Dep of libmagick++-dev to 8:6.6.7-9.
   * Drop autotools related diffs and run dh --with autoreconf instead.
     - debian/control: Add Build-Dep on dh-autoreconf.
     - debian/rules: call dh with --with autoreconf.
@@ -16,14 +18,10 @@
   * Build for all supported Python versions.
     - debian/control: Build-Dep on python-all-dev instead of python-dev.
     - debian/rules: Build for all supported Python versions.
-  * Fix build issues with recent libmagick++ (Closes: #625581)
-    - debian/control: Bump Build-Dep of libmagick++-dev to 8:6.6.7-9.
-    - debian/patches: add patch from David Sveningsson <ext at sidvind.com> to
-      fix the build issues.
   * debian/patches: Format according to DEP-3.
   * debian/control: Bump Standards-Version (no changes required).
 
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Mon, 17 Oct 2011 20:31:09 +0200
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Mon, 17 Oct 2011 21:24:42 +0200
 
 pythonmagick (0.9.1-3) unstable; urgency=low
 

Modified: packages/pythonmagick/trunk/debian/copyright
===================================================================
--- packages/pythonmagick/trunk/debian/copyright	2011-10-18 11:07:56 UTC (rev 18978)
+++ packages/pythonmagick/trunk/debian/copyright	2011-10-18 14:48:32 UTC (rev 18979)
@@ -1,12 +1,21 @@
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=48
-Name: PythonMagick
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=166
+Upstream-Name: PythonMagick
 Source: http://www.imagemagick.org/download/python/
 
-Copyright: © 1999-2009 ImageMagick Studio LLC
-License: GPL-3+
- On Debian systems the full text of the GNU General Public 
- License can be found in the `/usr/share/common-licenses/GPL-3'
- file.
+Files: *
+Copyright: © 1999-2011 ImageMagick Studio LLC
+License:
+ Licensed under the ImageMagick License (the "License"); you may not use
+ this file except in compliance with the License.  You may obtain a copy
+ of the License at
+ .
+   http://www.imagemagick.org/script/license.php
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ License for the specific language governing permissions and limitations
+ under the License.
 
 Files: debian/*
 Copyright: © 2007-2009 Carl Fürstenberg
@@ -15,3 +24,12 @@
  modification, are permitted in any medium without royalty
  provided the copyright notice and this notice are
  preserved.
+
+Files: debian/*
+Copyright: 2011 Sebastian Ramacher <s.ramacher at gmx.at>
+License: BSD-3-clause
+ Copying and distribution of this package, with or without
+ modification, are permitted in any medium without royalty
+ provided the copyright notice and this notice are
+ preserved.
+

Modified: packages/pythonmagick/trunk/debian/patches/002_set_minimum_python_version_to_2.4.diff
===================================================================
--- packages/pythonmagick/trunk/debian/patches/002_set_minimum_python_version_to_2.4.diff	2011-10-18 11:07:56 UTC (rev 18978)
+++ packages/pythonmagick/trunk/debian/patches/002_set_minimum_python_version_to_2.4.diff	2011-10-18 14:48:32 UTC (rev 18979)
@@ -10,7 +10,7 @@
  AC_PROG_LN_S
  AC_PROG_MAKE_SET
  AC_PROG_LIBTOOL
--AM_PATH_PYTHON(2.6)
+-AM_PATH_PYTHON(3.1)
 +AM_PATH_PYTHON(2.4)
  PKG_PROG_PKG_CONFIG
  

Deleted: packages/pythonmagick/trunk/debian/patches/004_fix_libmagick.diff
===================================================================
--- packages/pythonmagick/trunk/debian/patches/004_fix_libmagick.diff	2011-10-18 11:07:56 UTC (rev 18978)
+++ packages/pythonmagick/trunk/debian/patches/004_fix_libmagick.diff	2011-10-18 14:48:32 UTC (rev 18979)
@@ -1,397 +0,0 @@
-Description: Fix a FTBFS with magickcore3 libraries, because of ABI changes
-Author: David Sveningsson <ext at sidvind.com>
-Origin: http://studio.imagemagick.org/pipermail/magick-bugs/2010-July/003388.html
-Last-Update: 2011-07-11
-
-diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashArray.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableDashArray.cpp
---- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashArray.cpp	2010-07-02 17:42:13.000000000 +0200
-+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableDashArray.cpp	2010-07-02 17:51:46.000000000 +0200
-@@ -19,7 +19,7 @@
-     Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const double* p0):
-         Magick::DrawableDashArray(p0), py_self(py_self_) {}
- 
--    Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const unsigned int* p0):
-+    Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const size_t* p0):
-         Magick::DrawableDashArray(p0), py_self(py_self_) {}
- 
-     Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const Magick::DrawableDashArray& p0):
-@@ -37,7 +37,7 @@
- void Export_pyste_src_DrawableDashArray()
- {
-     class_< Magick::DrawableDashArray, Magick_DrawableDashArray_Wrapper >("DrawableDashArray", init< const double* >())
--        .def(init< const unsigned int* >())
-+        .def(init< const size_t* >())
-         .def(init< const Magick::DrawableDashArray& >())
-     ;
- 
-diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMiterLimit.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableMiterLimit.cpp
---- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMiterLimit.cpp	2010-07-02 17:42:13.000000000 +0200
-+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableMiterLimit.cpp	2010-07-02 17:52:36.000000000 +0200
-@@ -31,8 +31,8 @@
- void Export_pyste_src_DrawableMiterLimit()
- {
-     class_< Magick::DrawableMiterLimit, boost::noncopyable, Magick_DrawableMiterLimit_Wrapper >("DrawableMiterLimit", init< unsigned int >())
--        .def("miterlimit", (void (Magick::DrawableMiterLimit::*)(unsigned int) )&Magick::DrawableMiterLimit::miterlimit)
--        .def("miterlimit", (unsigned int (Magick::DrawableMiterLimit::*)() const)&Magick::DrawableMiterLimit::miterlimit)
-+        .def("miterlimit", (void (Magick::DrawableMiterLimit::*)(size_t) )&Magick::DrawableMiterLimit::miterlimit)
-+        .def("miterlimit", (size_t (Magick::DrawableMiterLimit::*)() const)&Magick::DrawableMiterLimit::miterlimit)
-     ;
- 
- }
-diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableViewbox.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableViewbox.cpp
---- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableViewbox.cpp	2010-07-02 17:42:13.000000000 +0200
-+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableViewbox.cpp	2010-07-02 17:52:02.000000000 +0200
-@@ -31,14 +31,14 @@
- void Export_pyste_src_DrawableViewbox()
- {
-     class_< Magick::DrawableViewbox, boost::noncopyable, Magick_DrawableViewbox_Wrapper >("DrawableViewbox", init< long unsigned int, long unsigned int, long unsigned int, long unsigned int >())
--        .def("x1", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::x1)
--        .def("x1", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x1)
--        .def("y1", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::y1)
--        .def("y1", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y1)
--        .def("x2", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::x2)
--        .def("x2", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x2)
--        .def("y2", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::y2)
--        .def("y2", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y2)
-+        .def("x1", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::x1)
-+        .def("x1", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x1)
-+        .def("y1", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::y1)
-+        .def("y1", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y1)
-+        .def("x2", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::x2)
-+        .def("x2", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x2)
-+        .def("y2", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::y2)
-+        .def("y2", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y2)
-     ;
- 
- }
-diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_Geometry.cpp PythonMagick-0.9.1/pythonmagick_src/_Geometry.cpp
---- PythonMagick-0.9.1.orig/pythonmagick_src/_Geometry.cpp	2010-07-02 17:41:47.000000000 +0200
-+++ PythonMagick-0.9.1/pythonmagick_src/_Geometry.cpp	2010-07-02 17:52:17.000000000 +0200
-@@ -7,25 +7,26 @@
- #include <Magick++/Geometry.h>
- 
- // Using =======================================================================
--using namespace boost::python;
-+//using namespace boost::python;
- 
- // Module ======================================================================
- void Export_pyste_src_Geometry()
-+
- {
--    class_< Magick::Geometry >("Geometry", init<  >())
--        .def(init< unsigned int, unsigned int, optional< unsigned int, unsigned int, bool, bool > >())
--        .def(init< const std::string& >())
--        .def(init< const char* >())
--        .def(init< const Magick::Geometry& >())
--        .def(init< const MagickCore::RectangleInfo& >())
--        .def("width", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::width)
--        .def("width", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::width)
--        .def("height", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::height)
--        .def("height", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::height)
--        .def("xOff", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::xOff)
--        .def("xOff", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::xOff)
--        .def("yOff", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::yOff)
--        .def("yOff", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::yOff)
-+	boost::python::class_< Magick::Geometry >("Geometry", boost::python::init<  >())
-+        .def(boost::python::init< unsigned int, unsigned int, boost::python::optional< unsigned int, unsigned int, bool, bool > >())
-+        .def(boost::python::init< const std::string& >())
-+        .def(boost::python::init< const char* >())
-+        .def(boost::python::init< const Magick::Geometry& >())
-+        .def(boost::python::init< const MagickCore::RectangleInfo& >())
-+        .def("width", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::width)
-+        .def("width", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::width)
-+        .def("height", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::height)
-+        .def("height", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::height)
-+        .def("xOff", (void (Magick::Geometry::*)(ssize_t) )&Magick::Geometry::xOff)
-+        .def("xOff", (ssize_t (Magick::Geometry::*)() const)&Magick::Geometry::xOff)
-+        .def("yOff", (void (Magick::Geometry::*)(ssize_t) )&Magick::Geometry::yOff)
-+        .def("yOff", (ssize_t (Magick::Geometry::*)() const)&Magick::Geometry::yOff)
-         .def("xNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::xNegative)
-         .def("xNegative", (bool (Magick::Geometry::*)() const)&Magick::Geometry::xNegative)
-         .def("yNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::yNegative)
-@@ -40,15 +41,15 @@
-         .def("less", (bool (Magick::Geometry::*)() const)&Magick::Geometry::less)
-         .def("isValid", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::isValid)
-         .def("isValid", (bool (Magick::Geometry::*)() const)&Magick::Geometry::isValid)
--        .def( self <= self )
--        .def( self == self )
--        .def( self > self )
--        .def( self != self )
--        .def( self < self )
--        .def( self >= self )
-+        .def( boost::python::self <= boost::python::self )
-+        .def( boost::python::self == boost::python::self )
-+        .def( boost::python::self > boost::python::self )
-+        .def( boost::python::self != boost::python::self )
-+        .def( boost::python::self < boost::python::self )
-+        .def( boost::python::self >= boost::python::self )
-         .def("to_std_string", &Magick::Geometry::operator std::string)
-         .def("to_MagickCore_RectangleInfo", &Magick::Geometry::operator MagickCore::RectangleInfo)
-     ;
- 
--implicitly_convertible<std::string,Magick::Geometry>();}
-+boost::python::implicitly_convertible<std::string,Magick::Geometry>();}
- 
-diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_Image.cpp PythonMagick-0.9.1/pythonmagick_src/_Image.cpp
---- PythonMagick-0.9.1.orig/pythonmagick_src/_Image.cpp	2010-07-02 17:41:47.000000000 +0200
-+++ PythonMagick-0.9.1/pythonmagick_src/_Image.cpp	2010-07-02 17:50:50.000000000 +0200
-@@ -6,12 +6,12 @@
- // Includes ====================================================================
- #include <Magick++/Image.h>
- 
--// Using =======================================================================
--using namespace boost::python;
--
- // Declarations ================================================================
- namespace  {
- 
-+// Using =======================================================================
-+//using namespace boost::python;
-+
- BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_adaptiveThreshold_overloads_2_3, adaptiveThreshold, 2, 3)
- 
- BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_blur_overloads_0_2, blur, 0, 2)
-@@ -65,17 +65,17 @@
- // Module ======================================================================
- void Export_pyste_src_Image()
- {
--    class_< Magick::Image >("Image", init<  >())
--        .def(init< const std::string& >())
--        .def(init< const Magick::Geometry&, const Magick::Color& >())
--        .def(init< const Magick::Blob& >())
--        .def(init< const Magick::Blob&, const Magick::Geometry& >())
--        .def(init< const Magick::Blob&, const Magick::Geometry&, const unsigned int >())
--        .def(init< const Magick::Blob&, const Magick::Geometry&, const unsigned int, const std::string& >())
--        .def(init< const Magick::Blob&, const Magick::Geometry&, const std::string& >())
--        .def(init< const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, const void* >())
--        .def(init< const Magick::Image& >())
--        .def(init< MagickCore::Image* >())
-+	boost::python::class_< Magick::Image >("Image", boost::python::init<  >())
-+        .def(boost::python::init< const std::string& >())
-+        .def(boost::python::init< const Magick::Geometry&, const Magick::Color& >())
-+        .def(boost::python::init< const Magick::Blob& >())
-+        .def(boost::python::init< const Magick::Blob&, const Magick::Geometry& >())
-+        .def(boost::python::init< const Magick::Blob&, const Magick::Geometry&, const unsigned int >())
-+        .def(boost::python::init< const Magick::Blob&, const Magick::Geometry&, const unsigned int, const std::string& >())
-+        .def(boost::python::init< const Magick::Blob&, const Magick::Geometry&, const std::string& >())
-+        .def(boost::python::init< const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, const void* >())
-+        .def(boost::python::init< const Magick::Image& >())
-+        .def(boost::python::init< MagickCore::Image* >())
-         .def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
-         .def("addNoise", &Magick::Image::addNoise)
-         .def("affineTransform", &Magick::Image::affineTransform)
-@@ -86,15 +86,15 @@
-         .def("blur", &Magick::Image::blur, Magick_Image_blur_overloads_0_2())
-         .def("border", &Magick::Image::border, Magick_Image_border_overloads_0_1())
-         .def("channel", &Magick::Image::channel)
--        .def("channelDepth", (void (Magick::Image::*)(const MagickCore::ChannelType, const unsigned int) )&Magick::Image::channelDepth)
--        .def("channelDepth", (unsigned int (Magick::Image::*)(const MagickCore::ChannelType) )&Magick::Image::channelDepth)
-+        .def("channelDepth", (void (Magick::Image::*)(const MagickCore::ChannelType, const size_t) )&Magick::Image::channelDepth)
-+        .def("channelDepth", (size_t (Magick::Image::*)(const MagickCore::ChannelType) )&Magick::Image::channelDepth)
-         .def("charcoal", &Magick::Image::charcoal, Magick_Image_charcoal_overloads_0_2())
-         .def("chop", &Magick::Image::chop)
-         .def("colorize", (void (Magick::Image::*)(const unsigned int, const unsigned int, const unsigned int, const Magick::Color&) )&Magick::Image::colorize)
-         .def("colorize", (void (Magick::Image::*)(const unsigned int, const Magick::Color&) )&Magick::Image::colorize)
-         .def("comment", (void (Magick::Image::*)(const std::string&) )&Magick::Image::comment)
-         .def("compare", &Magick::Image::compare)
--        .def("composite", (void (Magick::Image::*)(const Magick::Image&, const int, const int, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_3_4())
-+        .def("composite", (void (Magick::Image::*)(const Magick::Image&, const ssize_t, const ssize_t, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_3_4())
-         .def("composite", (void (Magick::Image::*)(const Magick::Image&, const Magick::Geometry&, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_2_3())
-         .def("composite", (void (Magick::Image::*)(const Magick::Image&, const MagickCore::GravityType, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_2_3())
-         .def("contrast", &Magick::Image::contrast)
-@@ -111,18 +111,18 @@
-         .def("equalize", &Magick::Image::equalize)
-         .def("erase", &Magick::Image::erase)
-         .def("flip", &Magick::Image::flip)
--        .def("floodFillColor", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Color&) )&Magick::Image::floodFillColor)
-+        .def("floodFillColor", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Color&) )&Magick::Image::floodFillColor)
-         .def("floodFillColor", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Color&) )&Magick::Image::floodFillColor)
--        .def("floodFillColor", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Color&, const Magick::Color&) )&Magick::Image::floodFillColor)
-+        .def("floodFillColor", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Color&, const Magick::Color&) )&Magick::Image::floodFillColor)
-         .def("floodFillColor", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Color&, const Magick::Color&) )&Magick::Image::floodFillColor)
-         .def("floodFillOpacity", &Magick::Image::floodFillOpacity)
--        .def("floodFillTexture", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Image&) )&Magick::Image::floodFillTexture)
-+        .def("floodFillTexture", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Image&) )&Magick::Image::floodFillTexture)
-         .def("floodFillTexture", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Image&) )&Magick::Image::floodFillTexture)
--        .def("floodFillTexture", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Image&, const Magick::Color&) )&Magick::Image::floodFillTexture)
-+        .def("floodFillTexture", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Image&, const Magick::Color&) )&Magick::Image::floodFillTexture)
-         .def("floodFillTexture", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Image&, const Magick::Color&) )&Magick::Image::floodFillTexture)
-         .def("flop", &Magick::Image::flop)
-         .def("frame", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::frame, Magick_Image_frame_overloads_0_1())
--        .def("frame", (void (Magick::Image::*)(const unsigned int, const unsigned int, const int, const int) )&Magick::Image::frame, Magick_Image_frame_overloads_2_4())
-+        .def("frame", (void (Magick::Image::*)(const size_t, const size_t, const ssize_t, const ssize_t) )&Magick::Image::frame, Magick_Image_frame_overloads_2_4())
-         .def("gamma", (void (Magick::Image::*)(const double) )&Magick::Image::gamma)
-         .def("gamma", (void (Magick::Image::*)(const double, const double, const double) )&Magick::Image::gamma)
-         .def("gaussianBlur", &Magick::Image::gaussianBlur)
-@@ -148,14 +148,14 @@
-         .def("read", (void (Magick::Image::*)(const Magick::Geometry&, const std::string&) )&Magick::Image::read)
-         .def("read", (void (Magick::Image::*)(const Magick::Blob&) )&Magick::Image::read)
-         .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&) )&Magick::Image::read)
--        .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const unsigned int) )&Magick::Image::read)
--        .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const unsigned int, const std::string&) )&Magick::Image::read)
-+        .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const size_t) )&Magick::Image::read)
-+        .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const size_t, const std::string&) )&Magick::Image::read)
-         .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const std::string&) )&Magick::Image::read)
--        .def("read", (void (Magick::Image::*)(const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, const void*) )&Magick::Image::read)
-+        .def("read", (void (Magick::Image::*)(const size_t, const size_t, const std::string&, const MagickCore::StorageType, const void*) )&Magick::Image::read)
-         .def("reduceNoise", (void (Magick::Image::*)() )&Magick::Image::reduceNoise)
-         .def("reduceNoise", (void (Magick::Image::*)(const double) )&Magick::Image::reduceNoise)
-         .def("roll", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::roll)
--        .def("roll", (void (Magick::Image::*)(const unsigned int, const unsigned int) )&Magick::Image::roll)
-+        .def("roll", (void (Magick::Image::*)(const size_t, const size_t) )&Magick::Image::roll)
-         .def("rotate", &Magick::Image::rotate)
-         .def("sample", &Magick::Image::sample)
-         .def("scale", &Magick::Image::scale)
-@@ -181,17 +181,17 @@
-         .def("write", (void (Magick::Image::*)(const std::string&) )&Magick::Image::write)
-         .def("write", (void (Magick::Image::*)(Magick::Blob*) )&Magick::Image::write)
-         .def("write", (void (Magick::Image::*)(Magick::Blob*, const std::string&) )&Magick::Image::write)
--        .def("write", (void (Magick::Image::*)(Magick::Blob*, const std::string&, const unsigned int) )&Magick::Image::write)
--        .def("write", (void (Magick::Image::*)(const int, const int, const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, void*) )&Magick::Image::write)
-+        .def("write", (void (Magick::Image::*)(Magick::Blob*, const std::string&, const size_t) )&Magick::Image::write)
-+        .def("write", (void (Magick::Image::*)(const ssize_t, const ssize_t, const size_t, const size_t, const std::string&, const MagickCore::StorageType, void*) )&Magick::Image::write)
-         .def("zoom", &Magick::Image::zoom)
-         .def("adjoin", (void (Magick::Image::*)(const bool) )&Magick::Image::adjoin)
-         .def("adjoin", (bool (Magick::Image::*)() const)&Magick::Image::adjoin)
-         .def("antiAlias", (void (Magick::Image::*)(const bool) )&Magick::Image::antiAlias)
-         .def("antiAlias", (bool (Magick::Image::*)() )&Magick::Image::antiAlias)
--        .def("animationDelay", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::animationDelay)
--        .def("animationDelay", (unsigned int (Magick::Image::*)() const)&Magick::Image::animationDelay)
--        .def("animationIterations", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::animationIterations)
--        .def("animationIterations", (unsigned int (Magick::Image::*)() const)&Magick::Image::animationIterations)
-+        .def("animationDelay", (void (Magick::Image::*)(const size_t) )&Magick::Image::animationDelay)
-+        .def("animationDelay", (size_t (Magick::Image::*)() const)&Magick::Image::animationDelay)
-+        .def("animationIterations", (void (Magick::Image::*)(const size_t) )&Magick::Image::animationIterations)
-+        .def("animationIterations", (size_t (Magick::Image::*)() const)&Magick::Image::animationIterations)
-         .def("attribute", (void (Magick::Image::*)(const std::string, const std::string) )&Magick::Image::attribute)
-         .def("attribute", (std::string (Magick::Image::*)(const std::string) )&Magick::Image::attribute)
-         .def("backgroundColor", (void (Magick::Image::*)(const Magick::Color&) )&Magick::Image::backgroundColor)
-@@ -221,10 +221,10 @@
-         .def("clipMask", (Magick::Image (Magick::Image::*)() const)&Magick::Image::clipMask)
-         .def("colorFuzz", (void (Magick::Image::*)(const double) )&Magick::Image::colorFuzz)
-         .def("colorFuzz", (double (Magick::Image::*)() const)&Magick::Image::colorFuzz)
--        .def("colorMap", (void (Magick::Image::*)(const unsigned int, const Magick::Color&) )&Magick::Image::colorMap)
--        .def("colorMap", (Magick::Color (Magick::Image::*)(const unsigned int) const)&Magick::Image::colorMap)
--        .def("colorMapSize", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::colorMapSize)
--        .def("colorMapSize", (unsigned int (Magick::Image::*)() )&Magick::Image::colorMapSize)
-+        .def("colorMap", (void (Magick::Image::*)(const size_t, const Magick::Color&) )&Magick::Image::colorMap)
-+        .def("colorMap", (Magick::Color (Magick::Image::*)(const size_t) const)&Magick::Image::colorMap)
-+        .def("colorMapSize", (void (Magick::Image::*)(const size_t) )&Magick::Image::colorMapSize)
-+        .def("colorMapSize", (size_t (Magick::Image::*)() )&Magick::Image::colorMapSize)
-         .def("colorSpace", (void (Magick::Image::*)(const MagickCore::ColorspaceType) )&Magick::Image::colorSpace)
-         .def("colorSpace", (MagickCore::ColorspaceType (Magick::Image::*)() const)&Magick::Image::colorSpace)
-         .def("columns", &Magick::Image::columns)
-@@ -241,8 +241,8 @@
-         .def("defineSet", (bool (Magick::Image::*)(const std::string&, const std::string&) const)&Magick::Image::defineSet)
-         .def("density", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::density)
-         .def("density", (Magick::Geometry (Magick::Image::*)() const)&Magick::Image::density)
--        .def("depth", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::depth)
--        .def("depth", (unsigned int (Magick::Image::*)() const)&Magick::Image::depth)
-+        .def("depth", (void (Magick::Image::*)(const size_t) )&Magick::Image::depth)
-+        .def("depth", (size_t (Magick::Image::*)() const)&Magick::Image::depth)
-         .def("directory", &Magick::Image::directory)
-         .def("endian", (void (Magick::Image::*)(const MagickCore::EndianType) )&Magick::Image::endian)
-         .def("endian", (MagickCore::EndianType (Magick::Image::*)() const)&Magick::Image::endian)
-@@ -265,8 +265,8 @@
-         .def("format", &Magick::Image::format)
-         .def("gamma", (double (Magick::Image::*)() const)&Magick::Image::gamma)
-         .def("geometry", &Magick::Image::geometry)
--        .def("gifDisposeMethod", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::gifDisposeMethod)
--        .def("gifDisposeMethod", (unsigned int (Magick::Image::*)() const)&Magick::Image::gifDisposeMethod)
-+        .def("gifDisposeMethod", (void (Magick::Image::*)(const size_t) )&Magick::Image::gifDisposeMethod)
-+        .def("gifDisposeMethod", (size_t (Magick::Image::*)() const)&Magick::Image::gifDisposeMethod)
-         .def("iccColorProfile", (void (Magick::Image::*)(const Magick::Blob&) )&Magick::Image::iccColorProfile)
-         .def("iccColorProfile", (Magick::Blob (Magick::Image::*)() const)&Magick::Image::iccColorProfile)
-         .def("interlaceType", (void (Magick::Image::*)(const MagickCore::InterlaceType) )&Magick::Image::interlaceType)
-@@ -285,8 +285,8 @@
-         .def("matteColor", (void (Magick::Image::*)(const Magick::Color&) )&Magick::Image::matteColor)
-         .def("matteColor", (Magick::Color (Magick::Image::*)() const)&Magick::Image::matteColor)
-         .def("meanErrorPerPixel", &Magick::Image::meanErrorPerPixel)
--        .def("modulusDepth", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::modulusDepth)
--        .def("modulusDepth", (unsigned int (Magick::Image::*)() const)&Magick::Image::modulusDepth)
-+        .def("modulusDepth", (void (Magick::Image::*)(const size_t) )&Magick::Image::modulusDepth)
-+        .def("modulusDepth", (size_t (Magick::Image::*)() const)&Magick::Image::modulusDepth)
-         .def("montageGeometry", &Magick::Image::montageGeometry)
-         .def("monochrome", (void (Magick::Image::*)(const bool) )&Magick::Image::monochrome)
-         .def("monochrome", (bool (Magick::Image::*)() const)&Magick::Image::monochrome)
-@@ -298,27 +298,27 @@
-         .def("penColor", (Magick::Color (Magick::Image::*)() const)&Magick::Image::penColor)
-         .def("penTexture", (void (Magick::Image::*)(const Magick::Image&) )&Magick::Image::penTexture)
-         .def("penTexture", (Magick::Image (Magick::Image::*)() const)&Magick::Image::penTexture)
--        .def("pixelColor", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Color&) )&Magick::Image::pixelColor)
--        .def("pixelColor", (Magick::Color (Magick::Image::*)(const unsigned int, const unsigned int) const)&Magick::Image::pixelColor)
-+        .def("pixelColor", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Color&) )&Magick::Image::pixelColor)
-+        .def("pixelColor", (Magick::Color (Magick::Image::*)(const ssize_t, const ssize_t) const)&Magick::Image::pixelColor)
-         .def("profile", (void (Magick::Image::*)(const std::string, const Magick::Blob&) )&Magick::Image::profile)
-         .def("profile", (Magick::Blob (Magick::Image::*)(const std::string) const)&Magick::Image::profile)
--        .def("quality", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::quality)
--        .def("quality", (unsigned int (Magick::Image::*)() const)&Magick::Image::quality)
--        .def("quantizeColors", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::quantizeColors)
--        .def("quantizeColors", (unsigned int (Magick::Image::*)() const)&Magick::Image::quantizeColors)
-+        .def("quality", (void (Magick::Image::*)(const size_t) )&Magick::Image::quality)
-+        .def("quality", (size_t (Magick::Image::*)() const)&Magick::Image::quality)
-+        .def("quantizeColors", (void (Magick::Image::*)(const size_t) )&Magick::Image::quantizeColors)
-+        .def("quantizeColors", (size_t (Magick::Image::*)() const)&Magick::Image::quantizeColors)
-         .def("quantizeColorSpace", (void (Magick::Image::*)(const MagickCore::ColorspaceType) )&Magick::Image::quantizeColorSpace)
-         .def("quantizeColorSpace", (MagickCore::ColorspaceType (Magick::Image::*)() const)&Magick::Image::quantizeColorSpace)
-         .def("quantizeDither", (void (Magick::Image::*)(const bool) )&Magick::Image::quantizeDither)
-         .def("quantizeDither", (bool (Magick::Image::*)() const)&Magick::Image::quantizeDither)
--        .def("quantizeTreeDepth", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::quantizeTreeDepth)
--        .def("quantizeTreeDepth", (unsigned int (Magick::Image::*)() const)&Magick::Image::quantizeTreeDepth)
-+        .def("quantizeTreeDepth", (void (Magick::Image::*)(const size_t) )&Magick::Image::quantizeTreeDepth)
-+        .def("quantizeTreeDepth", (size_t (Magick::Image::*)() const)&Magick::Image::quantizeTreeDepth)
-         .def("renderingIntent", (void (Magick::Image::*)(const MagickCore::RenderingIntent) )&Magick::Image::renderingIntent)
-         .def("renderingIntent", (MagickCore::RenderingIntent (Magick::Image::*)() const)&Magick::Image::renderingIntent)
-         .def("resolutionUnits", (void (Magick::Image::*)(const MagickCore::ResolutionType) )&Magick::Image::resolutionUnits)
-         .def("resolutionUnits", (MagickCore::ResolutionType (Magick::Image::*)() const)&Magick::Image::resolutionUnits)
-         .def("rows", &Magick::Image::rows)
--        .def("scene", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::scene)
--        .def("scene", (unsigned int (Magick::Image::*)() const)&Magick::Image::scene)
-+        .def("scene", (void (Magick::Image::*)(const size_t) )&Magick::Image::scene)
-+        .def("scene", (size_t (Magick::Image::*)() const)&Magick::Image::scene)
-         .def("signature", &Magick::Image::signature, Magick_Image_signature_overloads_0_1())
-         .def("size", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::size)
-         .def("size", (Magick::Geometry (Magick::Image::*)() const)&Magick::Image::size)
-@@ -333,16 +333,16 @@
-         .def("strokeLineCap", (MagickCore::LineCap (Magick::Image::*)() const)&Magick::Image::strokeLineCap)
-         .def("strokeLineJoin", (void (Magick::Image::*)(const MagickCore::LineJoin) )&Magick::Image::strokeLineJoin)
-         .def("strokeLineJoin", (MagickCore::LineJoin (Magick::Image::*)() const)&Magick::Image::strokeLineJoin)
--        .def("strokeMiterLimit", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::strokeMiterLimit)
--        .def("strokeMiterLimit", (unsigned int (Magick::Image::*)() const)&Magick::Image::strokeMiterLimit)
-+        .def("strokeMiterLimit", (void (Magick::Image::*)(const size_t) )&Magick::Image::strokeMiterLimit)
-+        .def("strokeMiterLimit", (size_t (Magick::Image::*)() const)&Magick::Image::strokeMiterLimit)
-         .def("strokePattern", (void (Magick::Image::*)(const Magick::Image&) )&Magick::Image::strokePattern)
-         .def("strokePattern", (Magick::Image (Magick::Image::*)() const)&Magick::Image::strokePattern)
-         .def("strokeWidth", (void (Magick::Image::*)(const double) )&Magick::Image::strokeWidth)
-         .def("strokeWidth", (double (Magick::Image::*)() const)&Magick::Image::strokeWidth)
--        .def("subImage", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::subImage)
--        .def("subImage", (unsigned int (Magick::Image::*)() const)&Magick::Image::subImage)
--        .def("subRange", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::subRange)
--        .def("subRange", (unsigned int (Magick::Image::*)() const)&Magick::Image::subRange)
-+        .def("subImage", (void (Magick::Image::*)(const size_t) )&Magick::Image::subImage)
-+        .def("subImage", (size_t (Magick::Image::*)() const)&Magick::Image::subImage)
-+        .def("subRange", (void (Magick::Image::*)(const size_t) )&Magick::Image::subRange)
-+        .def("subRange", (size_t (Magick::Image::*)() const)&Magick::Image::subRange)
-         .def("textEncoding", (void (Magick::Image::*)(const std::string&) )&Magick::Image::textEncoding)
-         .def("textEncoding", (std::string (Magick::Image::*)() const)&Magick::Image::textEncoding)
-         .def("tileName", (void (Magick::Image::*)(const std::string&) )&Magick::Image::tileName)
-@@ -370,12 +370,12 @@
-         .def("registerId", &Magick::Image::registerId)
-         .def("unregisterId", &Magick::Image::unregisterId)
-         .staticmethod("cacheThreshold")
--        .def( self == self )
--        .def( self != self )
--        .def( self > self )
--        .def( self < self )
--        .def( self >= self )
--        .def( self <= self )
-+        .def( boost::python::self == boost::python::self )
-+        .def( boost::python::self != boost::python::self )
-+        .def( boost::python::self > boost::python::self )
-+        .def( boost::python::self < boost::python::self )
-+        .def( boost::python::self >= boost::python::self )
-+        .def( boost::python::self <= boost::python::self )
-     ;
- 
- }
-

Modified: packages/pythonmagick/trunk/debian/patches/series
===================================================================
--- packages/pythonmagick/trunk/debian/patches/series	2011-10-18 11:07:56 UTC (rev 18978)
+++ packages/pythonmagick/trunk/debian/patches/series	2011-10-18 14:48:32 UTC (rev 18979)
@@ -2,4 +2,3 @@
 001_autofoo_fixes.diff
 002_set_minimum_python_version_to_2.4.diff
 003_detect_py27.diff
-004_fix_libmagick.diff




More information about the Python-modules-commits mailing list