debian/0000755000000000000000000000000012313576610007172 5ustar debian/libshiboken-py3-1.2.install0000644000000000000000000000004512043441315014052 0ustar usr/lib/*/libshiboken.cpython-*.so.* debian/shiboken.install0000644000000000000000000000005711764131705012367 0ustar usr/bin/shiboken usr/share/man/man1/shiboken.1 debian/shiboken-dbg.lintian-overrides0000644000000000000000000000045011636637663015122 0ustar # This package contains debug versions of libshiboken package-name-doesnt-match-sonames # Nobody should depend on them no-symbols-control-file # We ship the convenience symlinks non-dev-pkg-with-shlib-symlink # A debug package doesn't need that anyway missing-pre-dependency-on-multiarch-support debian/copyright0000644000000000000000000001057412303617476011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: shiboken Upstream-Contact: PySide team Source: http://qt-project.org/wiki/PySideDownloads Files: * Copyright: 2002-2005, Roberto Raggi 2013, Digia Plc and/or its subsidiary(-ies) License: GPL-2.0 Files: libshiboken/* Copyright: 2013, Digia Plc and/or its subsidiary(-ies) License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. Files: ext/sparsehash/* Copyright: 2005, Google Inc License: BSD-3-Clause * 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 Google Inc. 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 COPYRIGHT OWNER 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: debian/* Copyright: 2009-2013, Didier Raboud License: LGPL-2.1+ or GPL-2.0 License: GPL-2.0 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. debian/libshiboken1.2.lintian-overrides0000644000000000000000000000020711701122336015253 0ustar # We ship compiled versions for each supported python version, with a symlink to the default version package-name-doesnt-match-sonames debian/changelog0000644000000000000000000004265512313576610011060 0ustar shiboken (1.2.1-3build1) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:08 +0000 shiboken (1.2.1-3) unstable; urgency=low [ Dmitry Shachnev ] * Drop refcounting extension, removed in Sphinx 1.2 (Closes: #735835) [ Didier Raboud ] * Blacklist some tests in the testsuite for the debug flavour of Python3.4 * Re-order debian/copyright for CF-1.0 conformance * Bump Standards-Version to 3.9.5 without changes needed -- Didier Raboud Thu, 27 Feb 2014 18:23:00 +0100 shiboken (1.2.1-2) unstable; urgency=low * Rewrite debian/copyright with CF-1.0 (Closes: #722504) * Correct the default python suffix for python3, make sure cmake's default is python2's -- Didier Raboud Wed, 18 Sep 2013 20:07:19 +0200 shiboken (1.2.1-1) unstable; urgency=low * New 1.2.1 upstream release. [ Bart Martens ] * Update debian/watch [ Didier Raboud ] * Bump libshiboken SOVERSION to 1.2, update symbols - Add four new 1.2.1 symbols * Drop upstream-imported patches, refresh the other * Add patch to fix one test's exceptions' Python3 syntax * Drop the explicit dependencies of Libs and Cflags in pkg-config in favour of a Requires (LP: #1155595) * Drop obsolete source lintian override for dh 9 * Replaced Nokia with Digia in debian/copyright * Delete static-override-fix.patch as it was fixed differently by upstream -- Didier Raboud Tue, 10 Sep 2013 10:36:46 +0200 shiboken (1.1.2-4) unstable; urgency=low * Update patches to ensure that the Python3 builds occur against the correct Python3 libraries, also add the needed tweaks in debian/rules. * Fix watch file * Bump debhelper build-depends to 9, to align with compat. * Bump Standards-Version to 3.9.4 without changes needed. -- Didier Raboud Wed, 12 Jun 2013 14:04:31 +0200 shiboken (1.1.2-3) unstable; urgency=low * Upload to unstable. [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Julian Taylor ] * Add python3.3-and-multiarch.patch to add python3.3 to list of python versions and deal with multiarch include paths * Add memleak-instead-crash.patch to avoid crash on dereferencing object in tests introduce an intentional memleak until we have a proper fix. * Add static-override-fix.patch to fix broken static/non-static overloads in python3. * update debian/shiboken-dbg.install and debian/rules makeshlibs override for new python abi suffixes not having "u". [ Didier Raboud ] * Import all upstream patches on top of 1.1.2, refresh affected patches. * Make the Python3 only build on >= 3.3, as the 3.2 build fails to have running tests. * Patch sample_overflow test to use int( instead of long( as per PEP- 0237. -- Didier Raboud Tue, 11 Jun 2013 10:49:54 +0200 shiboken (1.1.2-2) experimental; urgency=low * Add python{,3}-numpy-dbg to Build-Depends to have all tests pass. * Make dbg tests build-critical. -- Didier Raboud Mon, 29 Oct 2012 10:06:19 +0100 shiboken (1.1.2-1) experimental; urgency=low * New 1.1.2 "Alaursa" release. - Add 6 1.1.2-specific symbols; * Update B-Ds: - add python{,3}-numpy to succeed all tests. -- Didier Raboud Tue, 04 Sep 2012 08:47:15 +0200 shiboken (1.1.1-1) unstable; urgency=low * New 1.1.1 "Free Hugs" release. "Unified toolchain! No more GeneratorRunner and ApiExtractor, now you just need Shiboken to compile PySide." * Update B-Ds: - drop generatorrunner; - drop apiextractor; - add libxml2-dev (>= 2.6.32); - add libxslt1-dev (>= 1.1.19). * Drop generatorrunner depends. * Don't try to install the shiboken generatorrunner plugin which is no more built. * Update packages descriptions to drop the bit about apiextractor and generatorrunner. * Refresh patches. -- Didier Raboud Fri, 20 Apr 2012 11:21:42 +0200 shiboken (1.1.0-2) unstable; urgency=low * Update one exported symbol to cope with size_t size differences between 32-64 bit machines. -- Didier Raboud Thu, 05 Jan 2012 10:45:20 +0100 shiboken (1.1.0-1) unstable; urgency=low * New 1.1.0 upstream release. - Bump libshiboken SOVERSION to 1.1, update symbols: * Remove one 1.0-specific symbol; * Add 55 1.1-specific symbols; * Put the SOVERSION as debian/rules parameter; * Rename libshiboken and libshiboken-py3 packages. - Bump B-Ds: * on generatorrunner to 0.6.16; * on apiextractor to 0.10.10. -- Didier Raboud Tue, 03 Jan 2012 20:58:04 +0100 shiboken (1.0.10-1) unstable; urgency=low * New 1.0.10 upstream release. * Bump B-Ds: - on generatorrunner to 0.6.15; - on apiextractor to 0.10.9. * Upload the python3 flavours to unstable. * In clean, remove upstream .pyc files changed by the build process. -- Didier Raboud Thu, 08 Dec 2011 11:37:59 +0100 shiboken (1.0.9-3+py3~exp1) experimental; urgency=low * Add patch from upstream #1037 to fix build on !64bits architectures. -- Didier Raboud Mon, 31 Oct 2011 23:20:34 +0100 shiboken (1.0.9-3+py3~exp0) experimental; urgency=low * Also build for python3 versions: - Add python3-all-{dev,dbg} build-depends; - Add X-Python3-Version entry in debian/control; - Add a new libshiboken-py3-1.0 package; - Make sure symbols are also tracked for this new library; -- Didier Raboud Thu, 27 Oct 2011 10:13:31 +0200 shiboken (1.0.9-3) unstable; urgency=low * Brown-paper bag: Fix symbols typo from previous upload. -- Didier Raboud Wed, 26 Oct 2011 15:21:55 +0200 shiboken (1.0.9-2) unstable; urgency=low * Update symbols to cope with size_t size differences between 32-64 bit machines. -- Didier Raboud Wed, 26 Oct 2011 12:27:24 +0200 shiboken (1.0.9-1) unstable; urgency=low * New 1.0.9 upstream release. * Bump B-Ds: - on generatorrunner to 0.6.14; - on apiextractor to 0.10.8. * Add 12 new symbols for 1.0.9. * Update packaging to 1.0.9: - Refresh patches, add pythonversionindep.patch to allow picking a specific python version. - Make sure the picked pkg-config file is the default one. - Update the cmake configuration calls. -- Didier Raboud Wed, 26 Oct 2011 10:56:09 +0200 shiboken (1.0.7-1) unstable; urgency=low * New 1.0.7 upstream release. * Bump B-Ds: - on generatorrunner to 0.6.13; - on apiextractor to 0.10.7. * Add two 1.0.7 symbols. * Update lintian overrides for the -dbg package. -- Didier Raboud Thu, 22 Sep 2011 14:13:20 +0200 shiboken (1.0.6-1) unstable; urgency=low * New 1.0.6 upstream release. - Fixes the documentation generation. - Bump B-Ds: - on generatorrunner to 0.6.12; - on apiextractor to 0.10.6. * Add 9 new symbols for 1.0.6. * Don't dh_auto_install in -indep as it's not needed. * Use dh_sphinxdoc to handle the generated documentation. - Replace libjs-jquery by ${sphinxdoc:Depends} in Depends. - Drop shiboken-doc.links including explicit symlink to libjs-jquery. - Conditionally use dh_sphinxdoc when needed. * Multiarch-update the shiboken generatorrunner plugin path. - Bump B-D on generatorrunner to a multiarch'ed version. * Convert library to multiarch. - Bump B-D: - on debhelper to 8.9.3. - on cmake to 2.8.4+dfsg.1-3~. - Bump debhelper compatibility level to 9. - Override lintian warning about debhelper being too young. - Update *.install files to cope with new library paths. - Update .so symlinks paths. - Initialize D_H_MULTIARCH from dpkg-architectures, use it in the LIB_SUFFIX cmake variable - Add a Pre-Depends on multiarch-support to the libshiboken package. - Add Multi-Arch: same to the libshiboken package. -- Didier Raboud Tue, 23 Aug 2011 14:59:16 +0200 shiboken (1.0.5-2) unstable; urgency=low * Update buildsystem (again) to cleanly separate arch-{all,indep}. - Bump compat and B-D on debhelper to 8. - Update rules to build documentation at the right moment. * Drop three noisy sparc symbols. -- Didier Raboud Tue, 02 Aug 2011 17:23:03 +0200 shiboken (1.0.5-1) unstable; urgency=low * New 1.0.5 upstream "And no name was given that day" release - Bump B-Ds: - on apiextractor to 0.10.5. - Add 3 symbols to libshiboken1.0 symbol file. -- Didier Raboud Fri, 22 Jul 2011 23:50:11 +0200 shiboken (1.0.4-2) unstable; urgency=low * Update symbols: - cope with size_t size differences between 32-64 bit machines. - sparc-specific updates. -- Didier Raboud Fri, 24 Jun 2011 13:54:05 +0200 shiboken (1.0.4-1) unstable; urgency=low * New 1.0.4 upstream "The winter is coming" release - Bump B-Ds: - on generatorrunner to 0.6.11. - on apiextractor to 0.10.4. * Add 13 symbols for 1.0.4. -- Didier Raboud Thu, 23 Jun 2011 16:56:20 +0200 shiboken (1.0.3-1) unstable; urgency=low * New 1.0.3 upstream release - Bump B-Ds: - on generatorrunner to 0.6.10. - on apiextractor to 0.10.3. -- Didier Raboud Thu, 26 May 2011 17:25:19 +0200 shiboken (1.0.2-2) unstable; urgency=low * Bump Build-Depends on libsparsehash-dev to 1.6-1.1~ to circumvent #624819. * Update symbols: - Drop 6 symbols no more exported with g++ > 4.6. + Add 4 new template instantiation symbols. -- Didier Raboud Mon, 02 May 2011 13:06:33 +0200 shiboken (1.0.2-1) unstable; urgency=low * New 1.0.2 upstream release - Bump B-Ds: - on generatorrunner to 0.6.9. - on apiextractor to 0.10.2. * Bump Standards-Version to 3.9.2 without changes needed. -- Didier Raboud Sat, 30 Apr 2011 01:20:21 +0200 shiboken (1.0.1-3) unstable; urgency=low * Add a Python_ADDITIONAL_VERSIONS variable definition to cope with cmake 2.8.4. * Build for python2.7 too (no specific action taken). -- Didier Raboud Mon, 18 Apr 2011 12:37:39 +0200 shiboken (1.0.1-2) unstable; urgency=low * Mark one symbol as optional to fix FTBFS on sparc and s390. -- Didier Raboud Sat, 02 Apr 2011 15:50:32 +0200 shiboken (1.0.1-1) unstable; urgency=low * New 1.0.1 upstream release - Bump B-Ds: - on generatorrunner to 0.6.7 - on apiextractor to 0.10.1 * Use dh_python2. * Drop $(shell indirections from debian/rules. * Don't fix links for the tests anymore; fixed. -- Didier Raboud Fri, 01 Apr 2011 11:25:43 +0200 shiboken (1.0.0-2) unstable; urgency=low * Upload to unstable. -- Didier Raboud Thu, 10 Mar 2011 14:35:24 +0100 shiboken (1.0.0-1) experimental; urgency=low * New 1.0.0 upstream release. - Bump B-D on generatorrunner to 0.6.7. -- Didier Raboud Fri, 04 Mar 2011 13:26:14 +0100 shiboken (1.0.0~rc1-1) experimental; urgency=low * New 1.0.0~rc1 upstream release - Bump B-Ds: libapiextractor to 0.10.0-2~, generatorrunner to 0.6.6. * debian/watch: update to handle Release Candidates too. * Bump XS-Python-Version to >= 2.6. -- Didier Raboud Fri, 18 Feb 2011 17:13:37 +0100 shiboken (1.0.0~beta5-1) experimental; urgency=low * New 1.0.0~beta5 upstream release - Bump libshiboken SOVERSION to 1.0 - Bump B-Ds: libapiextractor to 0.9.4, generatorrunner to 0.6.5, Qt to 4:4.7.0 - Install upstream's manpage. * Patches: - Update the patch to allow better Python version specification. - Remove the allowMultipleShibokenVersions patch; somehow incorporated upstream. * Rewrite completely the symbols handling: - Split them to track them across various distributions and gcc versions. - Generate the symbols files for the concerned python versions * debian/watch: update to handle betas too. * Use my @d.o address and remove the DMUA flag. -- Didier Raboud Mon, 14 Feb 2011 16:16:03 +0100 shiboken (0.5.1-3) unstable; urgency=low * Update symbols for GCC-4.5 and python2.7 (LP: #675729). -- Didier Raboud Wed, 17 Nov 2010 19:11:12 +0100 shiboken (0.5.1-2) unstable; urgency=low * Fix convenience symlinks (Closes: #603088) -- Didier Raboud Wed, 10 Nov 2010 22:34:53 +0100 shiboken (0.5.1-1) unstable; urgency=low * New 0.5.1 minor upstream release - Update symbols - Bump apiextractor and generatorrunner B-D versions - Update patches. - Update the documentation building process. * Bump Standards version to 3.9.1.0 -- Didier Raboud Tue, 19 Oct 2010 20:59:49 +0200 shiboken (0.5.0-1) UNRELEASED; urgency=low * New 0.5.0 upstream release - Bump libshiboken SOVERSION to 0.5 - Add the new 0.5 symbols. * Patches - u_1eda671_fix_type_resolver_algorithm.patch (Remove, was from upstream) - u_46ab0d6_generated_original_name_with_star_for_object_classes.patch (Remove, was from upstream) + allowCustomShibokenPostfix.patch (Refresh) * Bump the apiextractor B-D. -- Didier Raboud Sun, 26 Sep 2010 23:48:50 +0200 shiboken (0.4.0-1~exp1) experimental; urgency=low * Patches: - u_46ab0d6_generated_original_name_with_star_for_object_classes.patch Import from upstream for bug #311. - u_1eda671_fix_type_resolver_algorithm.patch: Import from upstream for bug #243. * Bump libapiextractor B-D to 0.7.0-1~exp2, to correct qtgui_qwidget test segfault in pyside, together with the above patch. * Update symbols file. * Make sure DMUA is set (correct 0.3.2-1 changelog to match real uploads). -- Didier Raboud Fri, 03 Sep 2010 10:29:27 +0200 shiboken (0.4.0-1~exp0) experimental; urgency=low * New 0.4.0 upstream release - Bump libshiboken SONAME to 0.4 - Bump libapiextractor B-D to 0.7 - Bump generatorrunner B-D to 0.6 - Update install and symbol files * Patches: - u_4bab9a8_fix_Hurd_FTBFS.patch Drop; was from upstream. - u_2f7c242_fidDebugBuild.patch Drop; was from upstream. - u_1b40948_fix_protected_test.patch Drop; was from upstream. - use_original_sparsehash.patch Drop; somehow included upstream. - fix_tests.patch Drop; no more needed. -- Didier Raboud Wed, 04 Aug 2010 14:23:00 +0200 shiboken (0.3.2-3) unstable; urgency=low * Add allowCustomShibokenPostfix.patch to allow choice of python-specific version. * Remove custom cmake files in favour of cmake-data's. - Remove debian/cmake/*. - Bump cmake B-D to 2.8.2 - Adapt debian/rules. - Update debian/copyright to remove the mentions of the hand-patched files. * Bump Standards to 3.9.0.0 -- Didier Raboud Thu, 22 Jul 2010 14:57:49 +0200 shiboken (0.3.2-2) unstable; urgency=low * Add debug-built versions to fix PySide's debug build - Import u_2f7c242_fidDebugBuild.patch from upstream - Add lintian overrides * Fix the Hurd FTBFS by importing u_4bab9a8_fix_Hurd_FTBFS.patch from upstream. -- Didier Raboud Thu, 24 Jun 2010 16:49:50 +0200 shiboken (0.3.2-1) unstable; urgency=low [ Didier Raboud ] * New 0.3.2 upstream release - Bump B-D on apiextractor and generatorrunner. - Add {set,get}TypeUserData symbols. * Patches: - u_ftbfs_missing_file_44071543.patch: Remove, included upstream. - debian_buildoptions.patch: Remove, somehow included upstream. × Refresh others. * Make docs in binary-indep. [ Piotr Ożarowski ] * Set DMUA flag to yes -- Didier Raboud Wed, 09 Jun 2010 12:11:42 +0200 shiboken (0.3.1-3) unstable; urgency=low * Patch upstream CMakeLists.txt to use the provided buildflags - Drop ftbfs_mips.patch - Add debian_buildoptions.patch This should fix the mips{,el} FTBFSes. -- Didier Raboud Fri, 28 May 2010 13:16:16 +0200 shiboken (0.3.1-2) unstable; urgency=low * shiboken depends on generatorrunner (Closes: #581215) * Fix various FTBFSes: - On mips{,el} by adding ftbfs_mips.patch to use hash-style=both on all arches. - On ia64, powerpc and s390 by stealing u_ftbfs_missing_file_44071543.patch from upstream to fix declaration of class SimpleFile. -- Didier Raboud Thu, 27 May 2010 18:02:34 +0200 shiboken (0.3.1-1) unstable; urgency=low * New 0.3.1 upstream release - Bump libshiboken SONAME to 0.3 - Update symbols - Upload to unstable as dpkg-dev is now available * Patches + use_soname_from_version.patch: remove, incorporated upstream. -- Didier Raboud Thu, 06 May 2010 11:59:58 +0200 shiboken (0.2.0-1) experimental; urgency=low * Initial upload (Closes: #569173). * Add symbols for libshiboken0 using (c++) filter. * Build for multiple python versions. * Build -doc package. * Update Build-Depends. * Enable the build-tests. * Add debian/watch file. * Add help2man manpage for shiboken. * Patches + use_original_sparsehash.patch: Don't use embedded sparsehash. + fix_tests.patch: Work for different python versions. + use_soname_from_version.patch: Force a SONAME (MAJOR_version) to libshiboken -- Didier Raboud Tue, 20 Apr 2010 14:21:43 +0200 debian/libshiboken1.2.install0000644000000000000000000000004312043441315013262 0ustar usr/lib/*/libshiboken-python*.so.* debian/libshiboken-py3-1.2.lintian-overrides0000644000000000000000000000021012021363367016042 0ustar # We ship compiled versions for each supported python3 version, with a symlink to the default version package-name-doesnt-match-sonames debian/shiboken-doc.doc-base0000644000000000000000000000045611474162063013143 0ustar Document: shiboken-documentation Title: Shiboken Documentation Author: PySide team Abstract: This manual describes the shiboken API and internals Section: Programming Format: HTML Index: /usr/share/doc/shiboken-doc/html/index.html Files: /usr/share/doc/shiboken-doc/html/*.html debian/compat0000644000000000000000000000000212043441315010361 0ustar 9 debian/shiboken-dbg.install0000644000000000000000000000011312155562223013110 0ustar usr/lib/*/*.so* usr/lib/*/cmake/*/*-dbg.cmake usr/lib/*/cmake/*/*dm*.cmake debian/patches/0000755000000000000000000000000012303642340010612 5ustar debian/patches/memleak-instead-crash.patch0000644000000000000000000000477712213113503016002 0ustar Description: exchange crash with a memleak the code in question looks horrible, it dereferences an object and keeps using it, but thats not even the cause of the crash. Intentionally add memleak which is better than crashing in all python versions for now. Bug: https://bugreports.qt-project.org/browse/PYSIDE-121 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/shiboken/+bug/1070772 Author: Julian Taylor Last-Update: <2013-02-23> --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -1141,7 +1141,7 @@ if (!hasParent && self->d->containsCppWrapper && !self->d->hasOwnership) { // Remove extra ref used by c++ object this will case the pyobject destruction // This can cause the object death - Py_DECREF((PyObject*)self); + //Py_DECREF((PyObject*)self); } //Python Object is not destroyed yet --- a/tests/samplebinding/objecttype_test.py +++ b/tests/samplebinding/objecttype_test.py @@ -77,7 +77,7 @@ o.getCppParent().setObjectName('parent') self.assertEqual(sys.getrefcount(o), 3) o.destroyCppParent() - self.assertEqual(sys.getrefcount(o), 2) + self.assertEqual(sys.getrefcount(o), 3) def testNextInFocusChainCycle(self): parent = ObjectType() --- a/tests/samplebinding/ownership_delete_parent_test.py +++ b/tests/samplebinding/ownership_delete_parent_test.py @@ -45,7 +45,7 @@ del parent self.assertRaises(RuntimeError, child.objectName) - self.assertEqual(sys.getrefcount(child), refcount_before-1) + self.assertEqual(sys.getrefcount(child), refcount_before) def testParentDestructorMultipleChildren(self): '''Delete parent object should invalidate all children''' @@ -58,7 +58,7 @@ del parent for i, child in enumerate(children): self.assertRaises(RuntimeError, child.objectName) - self.assertEqual(sys.getrefcount(child), 4) + self.assertEqual(sys.getrefcount(child), 5) def testRecursiveParentDelete(self): '''Delete parent should invalidate grandchildren''' @@ -68,9 +68,9 @@ del parent self.assertRaises(RuntimeError, child.objectName) - self.assertEqual(sys.getrefcount(child), 2) + self.assertEqual(sys.getrefcount(child), 3) self.assertRaises(RuntimeError, grandchild.objectName) - self.assertEqual(sys.getrefcount(grandchild), 2) + self.assertEqual(sys.getrefcount(grandchild), 3) if __name__ == '__main__': debian/patches/pkg-config-depend-on-python.patch0000644000000000000000000000153612213554613017057 0ustar Description: Drop the explicit dependencies of Libs and Cflags in pkg-config in favour of a versioned Requires. Author: Didier Raboud Origin: vendor Bug-Ubuntu: https://bugs.launchpad.net/bugs/1155595 Last-Update: 2013-09-10 --- a/data/shiboken.pc.in +++ b/data/shiboken.pc.in @@ -9,5 +9,6 @@ Name: shiboken Description: Support library for Python bindings created with Shiboken generator. Version: @shiboken_VERSION@ -Libs: @SBK_PYTHON_LIBRARIES@ -L${libdir} -lshiboken@shiboken_SUFFIX@@PYTHON_SUFFIX@@LIBRARY_OUTPUT_SUFFIX@ -Cflags: -I@SBK_PYTHON_INCLUDE_DIR@ -I${includedir}/@shiboken_SUFFIX@@SBK_PKG_CONFIG_PY_DEBUG_DEFINITION@ +Requires: python-@CMAKE_USE_PYTHON_VERSION@ +Libs: -L${libdir} -lshiboken@shiboken_SUFFIX@@PYTHON_SUFFIX@@LIBRARY_OUTPUT_SUFFIX@ +Cflags: -I${includedir}/@shiboken_SUFFIX@@SBK_PKG_CONFIG_PY_DEBUG_DEFINITION@ debian/patches/pythonversionindep.patch0000644000000000000000000000337312156060746015622 0ustar Description: Allow the packaging definitions to pick the desired python version and compilation flags in both Python2 and Python3. Author: Didier Raboud Last-Update: 2013-06-12 --- a/cmake/Modules/FindPythonInterpWithDebug.cmake +++ b/cmake/Modules/FindPythonInterpWithDebug.cmake @@ -1,4 +1,4 @@ -find_program(PYTHON_EXECUTABLE NAMES python2.7 python2.6 python2.5) +# find_program(PYTHON_EXECUTABLE NAMES python2.7 python2.6 python2.5) if (NOT PYTHON_EXECUTABLE) find_package(PythonInterp REQUIRED) --- a/cmake/Modules/FindPython3Interp.cmake +++ b/cmake/Modules/FindPython3Interp.cmake @@ -19,6 +19,8 @@ # (To distributed this file outside of CMake, substitute the full # License text for the above reference.) +IF(NOT DEFINED PYTHON3_EXECUTABLE) + FIND_PROGRAM(PYTHON3_EXECUTABLE NAMES python3.2mu python3.2m python3.2u python3.2 python3.1 python3.0 python3 PATHS @@ -35,6 +37,7 @@ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.0\\InstallPath] ) +ENDIF() # handle the QUIETLY and REQUIRED arguments and set PYTHONINTERP_FOUND to TRUE if # all listed variables are TRUE --- a/cmake/Modules/FindPython3Libs.cmake +++ b/cmake/Modules/FindPython3Libs.cmake @@ -27,13 +27,13 @@ # Search for the python framework on Apple. # CMAKE_FIND_FRAMEWORKS(Python) -FOREACH(_CURRENT_VERSION 3.2 3.1 3.0) +FOREACH(_CURRENT_VERSION ${CMAKE_USE_PYTHON_VERSION}) IF(_CURRENT_VERSION GREATER 3.1) SET(_32FLAGS "m" "u" "mu" "dm" "du" "dmu" "") ELSE() SET(_32FLAGS "") ENDIF() - FOREACH(_COMPILATION_FLAGS ${_32FLAGS}) + FOREACH(_COMPILATION_FLAGS ${CMAKE_USE_PYTHON_COMPILATION_FLAGS}) STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION}) IF(WIN32) IF(_CURRENT_VERSION GREATER 3.1) debian/patches/cmake_selectDefaultPython.patch0000644000000000000000000000110611651751335016771 0ustar Description: Use the _default_ Python version as fallback default. Author: Didier Raboud Origin: vendor Last-Update: 2011-10-25 --- a/data/ShibokenConfig.cmake.in +++ b/data/ShibokenConfig.cmake.in @@ -1,5 +1,5 @@ if (NOT PYTHON_SUFFIX) - message(STATUS "Using default python: @PYTHON_SUFFIX@") - SET(PYTHON_SUFFIX @PYTHON_SUFFIX@) + message(STATUS "Using default python: @DEFAULT_PYTHON_SUFFIX@") + SET(PYTHON_SUFFIX @DEFAULT_PYTHON_SUFFIX@) endif() include(@LIB_INSTALL_DIR@/cmake/Shiboken-@shiboken_VERSION@/ShibokenConfig${PYTHON_SUFFIX}.cmake) debian/patches/python3.3-nolong.patch0000644000000000000000000000201512144134267014677 0ustar Description: PEP-0237 deprecated long( in favour of the old int(. Author: Didier Raboud Last-Update: 2013-05-13 --- a/tests/samplebinding/overflow_test.py +++ b/tests/samplebinding/overflow_test.py @@ -45,7 +45,7 @@ '''C++ function receives an long long argument and raise OverflowError if the value is negative.''' val = 100 self.assertEqual(doubleLongLong(val), 2 * val) - val = long(100) + val = int(100) self.assertEqual(doubleLongLong(val), 2 * val) val = (2 << 64) + 1 self.assertRaises(OverflowError, doubleLongLong, val) @@ -54,7 +54,7 @@ '''C++ function receives an unsigned long long argument and raise OverflowError if the value is negative.''' val = 100 self.assertEqual(doubleUnsignedLongLong(val), 2 * val) - val = long(100) + val = int(100) self.assertEqual(doubleUnsignedLongLong(val), 2 * val) val *= -1 self.assertRaises(OverflowError, doubleUnsignedLongLong, val) debian/patches/python3.3-and-multiarch.patch0000644000000000000000000000172512214032371016131 0ustar Bug: https://bugreports.qt-project.org/browse/PYSIDE-146 Forwarded: yes --- a/cmake/Modules/FindPython3Libs.cmake +++ b/cmake/Modules/FindPython3Libs.cmake @@ -114,11 +114,19 @@ PYTHON3_INCLUDE_DIR ) +execute_process( + COMMAND ${PYTHON3_EXECUTABLE} -c "from distutils import sysconfig; \\ + print(sysconfig.get_python_inc(plat_specific=True));" + OUTPUT_VARIABLE PYTHON3_PLAT_INCDIR + OUTPUT_STRIP_TRAILING_WHITESPACE) + +message("PYTHON PLAT INC: ${PYTHON3_PLAT_INCDIR}") + # We use PYTHON3_INCLUDE_DIR, PYTHON3_LIBRARY and PYTHON3_DEBUG_LIBRARY for the # cache entries because they are meant to specify the location of a single # library. We now set the variables listed by the documentation for this # module. -SET(PYTHON3_INCLUDE_DIRS "${PYTHON3_INCLUDE_DIR}") +SET(PYTHON3_INCLUDE_DIRS "${PYTHON3_INCLUDE_DIR}" "${PYTHON3_PLAT_INCDIR}") SET(PYTHON3_LIBRARIES "${PYTHON3_LIBRARY}") SET(PYTHON3_DEBUG_LIBRARIES "${PYTHON3_DEBUG_LIBRARY}") debian/patches/series0000644000000000000000000000037212303642340012031 0ustar # Debian-specific patches cmake_selectDefaultPython.patch pythonversionindep.patch python3.3-and-multiarch.patch python3.3-nolong.patch memleak-instead-crash.patch fix_py3_expect.patch pkg-config-depend-on-python.patch no-refcounting-extension.patch debian/patches/no-refcounting-extension.patch0000644000000000000000000000121112303405743016601 0ustar Description: disable refcounting extension, removed in Sphinx 1.2 Author: Dmitry Shachnev Forwarded: no Last-Update: 2014-02-19 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -22,7 +22,7 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.refcounting', 'sphinx.ext.coverage'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.coverage'] rst_epilog = """ .. |project| replace:: Shiboken debian/patches/fix_py3_expect.patch0000644000000000000000000000054212213554323014570 0ustar Description: Fix the except syntax to be Python3-compatible, PEP-3110 Origin: vendor Author: Didier Raboud Last-Update: 2013-09-10 --- a/tests/minimalbinding/typedef_test.py +++ b/tests/minimalbinding/typedef_test.py @@ -30,7 +30,7 @@ try: import numpy as np -except ImportError, e: +except ImportError as e: np = None debian/control0000644000000000000000000000756012303672126010603 0ustar Source: shiboken Section: devel Priority: optional Maintainer: Debian Python Modules Team Uploaders: Didier Raboud Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 9), cmake (>= 2.8.4+dfsg.1-3~), libqt4-dev (>= 4:4.7.0), libsparsehash-dev (>= 1.6-1.1~), libxml2-dev (>= 2.6.32), libxslt1-dev (>= 1.1.19), python-all-dev (>= 2.6.6-3), python-all-dbg (>= 2.6.6-3), python-numpy, python-numpy-dbg, python3-all-dev, python3-all-dbg, python3-numpy, python3-numpy-dbg Build-Depends-Indep: python-sphinx X-Python-Version: >= 2.6 X-Python3-Version: >= 3.3 Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/shiboken/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/shiboken/trunk/ Homepage: http://www.pyside.org/ Package: shiboken Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: CPython bindings generator for C++ libraries Shiboken is a bindings generator for C++ libraries that outputs CPython source code. It collects information from library headers, and then merges modifications and handwritten code defined in the typesystem description. . Shiboken is the binding generator used to create the PySide bindings. Package: shiboken-doc Architecture: all Depends: ${misc:Depends}, ${sphinxdoc:Depends} Section: doc Description: CPython bindings generator for C++ libraries documentation Shiboken is a bindings generator for C++ libraries that outputs CPython source code. It collects information from library headers, and then merges modifications and handwritten code defined in the typesystem description. . Shiboken is the binding generator used to create the PySide bindings; this package contains its documentation. Package: libshiboken1.2 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: CPython bindings generator for C++ libraries - shared library Shiboken is a bindings generator for C++ libraries that outputs CPython source code. It collects information from library headers, and then merges modifications and handwritten code defined in the typesystem description. . This is the shared library used by shiboken. Package: libshiboken-py3-1.2 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: CPython3 bindings generator for C++ libraries - shared library Shiboken is a bindings generator for C++ libraries that outputs CPython source code. It collects information from library headers, and then merges modifications and handwritten code defined in the typesystem description. . This is the shared library used by shiboken when used with python3. Package: libshiboken-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python-dev, libshiboken1.2 (= ${binary:Version}), libshiboken-py3-1.2 (= ${binary:Version}) Description: development files for the shiboken bindings generator library Shiboken is a bindings generator for C++ libraries that outputs CPython source code. It collects information from library headers, and then merges modifications and handwritten code defined in the typesystem description. . This package contains the development files for the library. Package: shiboken-dbg Section: debug Architecture: any Priority: extra Depends: ${shlibs:Depends}, ${misc:Depends}, libshiboken1.2 (= ${binary:Version}), shiboken (= ${binary:Version}) Description: debugging symbols for shiboken and its library Shiboken is a bindings generator for C++ libraries that outputs CPython source code. It collects information from library headers, and then merges modifications and handwritten code defined in the typesystem description. . This package contains the debugging symbols for shiboken and libshiboken. debian/libshiboken1.2.symbols.g++-ge-4.50000644000000000000000000000132412021363367014565 0ustar # Symbols only in g++ >= 4.5 _ZN8Shiboken10AutoDecRefD2Ev@Base 1.0.0~beta3 (optional=templinst)_ZNSt10_List_baseIP13SbkObjectTypeSaIS1_EE8_M_clearEv@Base 1.0.0~beta3 (optional=templinst)_ZNSt10_List_baseIP9SbkObjectSaIS1_EE8_M_clearEv@Base 1.0.0~beta3 (optional=templinst)_ZNSt12_Destroy_auxILb0EE9__destroyIPSt4pairIKP13SbkObjectTypeSt4listIS4_SaIS4_EEEEEvT_SB_@Base 1.0.0~beta3 (optional=templinst)_ZNSt12_Destroy_auxILb0EE9__destroyIPSt4pairIKSsPN8Shiboken12TypeResolverEEEEvT_S9_@Base 1.0.0~beta3 (optional=templinst)_ZNSt8_Rb_treeIP9SbkObjectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EED1Ev@Base 1.0.0~beta3 (optional=templinst)_ZNSt8_Rb_treeIP9SbkObjectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EED2Ev@Base 1.0.0~beta3 debian/libshiboken1.2.symbols.pristine0000644000000000000000000004110112213572455015151 0ustar # Symbols common to all Python versions and all gcc versions. SbkDeallocWrapper@Base 1.0.0~beta2 SbkDeallocWrapperWithPrivateDtor@Base 1.0.0~beta2 SbkEnumType_Type@Base 1.0.0~beta2 SbkObjectTpNew@Base 1.0.0~beta2 SbkObjectType_Type@Base 1.0.0~beta2 SbkObject_Type@Base 1.0.0~beta2 (optional=destructor)_ZN8Shiboken10AutoDecRefD1Ev@Base 1.0.0~beta2 _ZN8Shiboken10AutoDecRefD2Ev@Base 1.1.0 _ZN8Shiboken10ObjectType10isUserTypeEP11_typeobject@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType15getOriginalNameEP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType15getTypeUserDataEP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType15initPrivateDataEP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType15setCastFunctionEP13SbkObjectTypePFPvS3_S2_E@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType15setOriginalNameEP13SbkObjectTypePKc@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType15setTypeUserDataEP13SbkObjectTypePvPFvS3_E@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType18canCallConstructorEP11_typeobjectS2_@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType18setSubTypeInitHookEP13SbkObjectTypePFvS2_P7_objectS4_E@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType20introduceWrapperTypeEP7_objectPKcS4_P13SbkObjectTypePFvPvES6_S2_b@Base 1.0.6 _ZN8Shiboken10ObjectType21isExternalConvertibleEP13SbkObjectTypeP7_object@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType21setDestructorFunctionEP13SbkObjectTypePFvPvE@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType22copyMultimpleheritanceEP13SbkObjectTypeS2_@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType24getTypeDiscoveryFunctionEP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType24setTypeDiscoveryFunctionEP13SbkObjectTypePFS2_PvS2_E@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType25callExternalCppConversionEP13SbkObjectTypeP7_object@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType25hasExternalCppConversionsEP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType26setTypeDiscoveryFunctionV2EP13SbkObjectTypePFPvS3_S2_E@Base 1.0.7 _ZN8Shiboken10ObjectType29getMultipleIheritanceFunctionEP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType29setMultipleIheritanceFunctionEP13SbkObjectTypePFPiPKvE@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType32setExternalCppConversionFunctionEP13SbkObjectTypePFPvP7_objectE@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType32setExternalIsConvertibleFunctionEP13SbkObjectTypePFbP7_objectE@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType4castEP13SbkObjectTypeP9SbkObjectP11_typeobject@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType7hasCastEP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken10ObjectType9checkTypeEP11_typeobject@Base 1.0.0~beta2 _ZN8Shiboken11Conversions10cppPointerEP11_typeobjectP9SbkObject@Base 1.1.0 _ZN8Shiboken11Conversions12copyToPythonEP12SbkConverterPKv@Base 1.1.0 _ZN8Shiboken11Conversions12copyToPythonEP13SbkObjectTypePKv@Base 1.1.0 _ZN8Shiboken11Conversions12getConverterEPKc@Base 1.1.0 _ZN8Shiboken11Conversions14checkDictTypesEP11_typeobjectS2_P7_object@Base 1.1.0 _ZN8Shiboken11Conversions14checkPairTypesEP11_typeobjectS2_P7_object@Base 1.1.0 _ZN8Shiboken11Conversions15createConverterEP11_typeobjectPFP7_objectPKvE@Base 1.1.0 _ZN8Shiboken11Conversions15createConverterEP13SbkObjectTypePFvP7_objectPvEPFS7_S4_EPFS4_PKvESD_@Base 1.1.0 _ZN8Shiboken11Conversions15deleteConverterEP12SbkConverter@Base 1.1.0 _ZN8Shiboken11Conversions15pointerToPythonEP12SbkConverterPKv@Base 1.1.0 _ZN8Shiboken11Conversions15pointerToPythonEP13SbkObjectTypePKv@Base 1.1.0 _ZN8Shiboken11Conversions15pythonToCppCopyEP12SbkConverterP7_objectPv@Base 1.1.0 _ZN8Shiboken11Conversions15pythonToCppCopyEP13SbkObjectTypeP7_objectPv@Base 1.1.0 _ZN8Shiboken11Conversions17SpecificConverter5toCppEP7_objectPv@Base 1.1.0 _ZN8Shiboken11Conversions17SpecificConverter8toPythonEPKv@Base 1.1.0 _ZN8Shiboken11Conversions17SpecificConverterC1EPKc@Base 1.1.0 _ZN8Shiboken11Conversions17SpecificConverterC2EPKc@Base 1.1.0 _ZN8Shiboken11Conversions17referenceToPythonEP12SbkConverterPKv@Base 1.1.0 _ZN8Shiboken11Conversions17referenceToPythonEP13SbkObjectTypePKv@Base 1.1.0 _ZN8Shiboken11Conversions18checkSequenceTypesEP11_typeobjectP7_object@Base 1.1.0 _ZN8Shiboken11Conversions18pythonToCppPointerEP12SbkConverterP7_objectPv@Base 1.1.0 _ZN8Shiboken11Conversions18pythonToCppPointerEP13SbkObjectTypeP7_objectPv@Base 1.1.0 _ZN8Shiboken11Conversions19getPythonTypeObjectEP12SbkConverter@Base 1.1.0 _ZN8Shiboken11Conversions19getPythonTypeObjectEPKc@Base 1.1.0 _ZN8Shiboken11Conversions20convertibleDictTypesEP12SbkConverterbS2_bP7_object@Base 1.1.0 _ZN8Shiboken11Conversions20convertiblePairTypesEP12SbkConverterbS2_bP7_object@Base 1.1.0 _ZN8Shiboken11Conversions20isImplicitConversionEP13SbkObjectTypePFvP7_objectPvE@Base 1.1.0 _ZN8Shiboken11Conversions21pythonTypeIsValueTypeEP12SbkConverter@Base 1.1.0 _ZN8Shiboken11Conversions21registerConverterNameEP12SbkConverterPKc@Base 1.1.0 _ZN8Shiboken11Conversions22nonePythonToCppNullPtrEP7_objectPv@Base 1.1.0 _ZN8Shiboken11Conversions22primitiveTypeConverterEi@Base 1.1.0 _ZN8Shiboken11Conversions22pythonTypeIsObjectTypeEP12SbkConverter@Base 1.1.0 _ZN8Shiboken11Conversions23pythonTypeIsWrapperTypeEP12SbkConverter@Base 1.1.0 _ZN8Shiboken11Conversions24convertibleSequenceTypesEP12SbkConverterP7_object@Base 1.1.0 _ZN8Shiboken11Conversions24convertibleSequenceTypesEP13SbkObjectTypeP7_object@Base 1.1.0 _ZN8Shiboken11Conversions24isPythonToCppConvertibleEP12SbkConverterP7_object@Base 1.1.0 _ZN8Shiboken11Conversions29addPythonToCppValueConversionEP12SbkConverterPFvP7_objectPvEPFS7_S4_E@Base 1.1.0 _ZN8Shiboken11Conversions29addPythonToCppValueConversionEP13SbkObjectTypePFvP7_objectPvEPFS7_S4_E@Base 1.1.0 _ZN8Shiboken11Conversions29isPythonToCppValueConvertibleEP13SbkObjectTypeP7_object@Base 1.1.0 _ZN8Shiboken11Conversions29setCppPointerToPythonFunctionEP12SbkConverterPFP7_objectPKvE@Base 1.1.0 _ZN8Shiboken11Conversions30setPythonToCppPointerFunctionsEP12SbkConverterPFvP7_objectPvEPFS7_S4_E@Base 1.1.0 _ZN8Shiboken11Conversions31isPythonToCppPointerConvertibleEP13SbkObjectTypeP7_object@Base 1.1.0 _ZN8Shiboken11Conversions33isPythonToCppReferenceConvertibleEP13SbkObjectTypeP7_object@Base 1.1.0 _ZN8Shiboken12TypeResolver10pythonTypeEv@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolver18createTypeResolverEPKcPFP7_objectPvEPFvS4_PS5_EP11_typeobject@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolver3getEPKc@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolver5toCppEP7_objectPPv@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolver7getTypeEPKc@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolver8toPythonEPv@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolverC1Ev@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolverC2Ev@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolverD1Ev@Base 1.0.0~beta2 _ZN8Shiboken12TypeResolverD2Ev@Base 1.0.0~beta2 _ZN8Shiboken12importModuleEPKcPPP11_typeobject@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager10hasWrapperEPKv@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager11getOverrideEPKvPKc@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager11resolveTypeEPPvP13SbkObjectType@Base 1.0.7 _ZN8Shiboken14BindingManager11resolveTypeEPvP13SbkObjectType@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager14releaseWrapperEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager15getAllPyObjectsEv@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager15registerWrapperEP9SbkObjectPv@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager15retrieveWrapperEPKv@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager17visitAllPyObjectsEPFvP9SbkObjectPvES3_@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager19addClassInheritanceEP13SbkObjectTypeS2_@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager21BindingManagerPrivate13assignWrapperEP9SbkObjectPKv@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager21BindingManagerPrivate14releaseWrapperEPv@Base 1.0.0~beta2 _ZN8Shiboken14BindingManager8instanceEv@Base 1.0.0~beta2 _ZN8Shiboken14BindingManagerC1Ev@Base 1.0.0~beta2 _ZN8Shiboken14BindingManagerC2Ev@Base 1.0.0~beta2 _ZN8Shiboken14BindingManagerD1Ev@Base 1.0.0~beta2 _ZN8Shiboken14BindingManagerD2Ev@Base 1.0.0~beta2 _ZN8Shiboken16ThreadStateSaver4saveEv@Base 1.0.0~beta2 _ZN8Shiboken16ThreadStateSaver7restoreEv@Base 1.0.0~beta2 _ZN8Shiboken16ThreadStateSaverC1Ev@Base 1.0.0~beta2 _ZN8Shiboken16ThreadStateSaverC2Ev@Base 1.0.0~beta2 _ZN8Shiboken16ThreadStateSaverD1Ev@Base 1.0.0~beta2 _ZN8Shiboken16ThreadStateSaverD2Ev@Base 1.0.0~beta2 _ZN8Shiboken18sequenceToArgcArgvEP7_objectPiPPPcPKc@Base 1.0.0~beta2 _ZN8Shiboken18sequenceToIntArrayEP7_objectb@Base 1.0.0~beta2 _ZN8Shiboken27setErrorAboutWrongArgumentsEP7_objectPKcPS3_@Base 1.0.0~beta2 _ZN8Shiboken4Enum10getCppNameEP11_typeobject@Base 1.0.5 _ZN8Shiboken4Enum15newTypeWithNameEPKcS2_@Base 1.0.5 _ZN8Shiboken4Enum16createGlobalEnumEP7_objectPKcS4_S4_P11_typeobject@Base 1.0.6 _ZN8Shiboken4Enum16createScopedEnumEP13SbkObjectTypePKcS4_S4_P11_typeobject@Base 1.0.6 _ZN8Shiboken4Enum16getTypeConverterEP11_typeobject@Base 1.1.0 _ZN8Shiboken4Enum16setTypeConverterEP11_typeobjectP12SbkConverter@Base 1.1.0 _ZN8Shiboken4Enum20createGlobalEnumItemEP11_typeobjectP7_objectPKcl@Base 1.0.6 _ZN8Shiboken4Enum20createScopedEnumItemEP11_typeobjectP13SbkObjectTypePKcl@Base 1.0.6 _ZN8Shiboken4Enum20getEnumItemFromValueEP11_typeobjectl@Base 1.0.0~beta5 _ZN8Shiboken4Enum5checkEP7_object@Base 1.0.9 _ZN8Shiboken4Enum7newItemEP11_typeobjectlPKc@Base 1.0.0~beta2 _ZN8Shiboken4Enum7newTypeEPKc@Base 1.0.0~beta2 _ZN8Shiboken4Enum8getValueEP7_object@Base 1.0.0~beta2 _ZN8Shiboken4initEv@Base 1.0.0~beta2 (regex)"^_ZN8Shiboken6Buffer10getPointerEP7_objectP[li]@Base" 1.0.4 _ZN8Shiboken6Buffer9checkTypeEP7_object@Base 1.0.4 _ZN8Shiboken6Module13registerTypesEP7_objectPP11_typeobject@Base 1.0.6 _ZN8Shiboken6Module17getTypeConvertersEP7_object@Base 1.1.0 _ZN8Shiboken6Module22registerTypeConvertersEP7_objectPP12SbkConverter@Base 1.1.0 _ZN8Shiboken6Module6createEPKcPv@Base 1.0.6 _ZN8Shiboken6Module6importEPKc@Base 1.0.6 _ZN8Shiboken6Module8getTypesEP7_object@Base 1.0.6 (regex)"^_ZN8Shiboken6Buffer9newObjectEPKv[li]@Base" 1.0.4 (regex)"^_ZN8Shiboken6Buffer9newObjectEPv[li]NS0_4TypeE@Base" 1.0.4 _ZN8Shiboken6Object10cppPointerEP9SbkObjectP11_typeobject@Base 1.0.0~beta2 _ZN8Shiboken6Object10invalidateEP7_object@Base 1.0.0~beta2 _ZN8Shiboken6Object10invalidateEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object10isUserTypeEP7_object@Base 1.0.0~beta2 _ZN8Shiboken6Object11cppPointersEP9SbkObject@Base 1.1.0 _ZN8Shiboken6Object11setValidCppEP9SbkObjectb@Base 1.0.0~beta2 _ZN8Shiboken6Object12getOwnershipEP7_object@Base 1.0.0~beta2 _ZN8Shiboken6Object12getOwnershipEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object12hasOwnershipEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object12removeParentEP9SbkObjectbb@Base 1.0.0~beta2 _ZN8Shiboken6Object13hasCppWrapperEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object13hasParentInfoEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object13keepReferenceEP9SbkObjectPKcP7_objectb@Base 1.0.0~beta2 _ZN8Shiboken6Object13setCppPointerEP9SbkObjectP11_typeobjectPv@Base 1.0.0~beta2 _ZN8Shiboken6Object15getTypeUserDataEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object15removeReferenceEP9SbkObjectPKcP7_object@Base 1.0.4 _ZN8Shiboken6Object15setTypeUserDataEP9SbkObjectPvPFvS3_E@Base 1.0.0~beta2 _ZN8Shiboken6Object16releaseOwnershipEP7_object@Base 1.0.0~beta2 _ZN8Shiboken6Object16releaseOwnershipEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object16setHasCppWrapperEP9SbkObjectb@Base 1.0.0~beta2 _ZN8Shiboken6Object18callCppDestructorsEP9SbkObject@Base 1.1.0 _ZN8Shiboken6Object18wasCreatedByPythonEP9SbkObject@Base 1.1.0 _ZN8Shiboken6Object4hashEP7_object@Base 1.1.2 _ZN8Shiboken6Object4infoEP9SbkObject@Base 1.1.0 _ZN8Shiboken6Object7destroyEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object7destroyEP9SbkObjectPv@Base 1.0.0~beta2 _ZN8Shiboken6Object7isValidEP7_object@Base 1.0.0~beta2 _ZN8Shiboken6Object7isValidEP7_objectb@Base 1.0.4 _ZN8Shiboken6Object7isValidEP9SbkObjectb@Base 1.0.0~beta4 _ZN8Shiboken6Object9checkTypeEP7_object@Base 1.0.0~beta2 _ZN8Shiboken6Object9makeValidEP9SbkObject@Base 1.0.0~beta2 _ZN8Shiboken6Object9newObjectEP13SbkObjectTypePvbbPKc@Base 1.0.0~beta2 _ZN8Shiboken6String10fromFormatEPKcz@Base 1.0.9 _ZN8Shiboken6String11fromCStringEPKc@Base 1.0.9 _ZN8Shiboken6String11fromCStringEPKci@Base 1.1.0 _ZN8Shiboken6String13isConvertibleEP7_object@Base 1.0.9 (regex)"^_ZN8Shiboken6String17fromStringAndSizeEPKc[li]@Base" 1.0.9 _ZN8Shiboken6String3lenEP7_object@Base 1.0.9 _ZN8Shiboken6String5checkEP7_object@Base 1.0.9 _ZN8Shiboken6String6concatEPP7_objectS2_@Base 1.0.9 _ZN8Shiboken6String7compareEP7_objectPKc@Base 1.0.9 _ZN8Shiboken6String9checkCharEP7_object@Base 1.0.9 _ZN8Shiboken6String9checkTypeEP11_typeobject@Base 1.0.9 _ZN8Shiboken6Object9setParentEP7_objectS2_@Base 1.0.0~beta2 (regex)"^_ZN8Shiboken6String9toCStringEP7_objectP[li]@Base" 1.1.0 _ZN8Shiboken7warningEP7_objectiPKcz@Base 1.0.4 _ZN8Shiboken8GilState7releaseEv@Base 1.0.0~beta2 _ZN8Shiboken8GilStateC1Ev@Base 1.0.0~beta2 _ZN8Shiboken8GilStateC2Ev@Base 1.0.0~beta2 _ZN8Shiboken8GilStateD1Ev@Base 1.0.0~beta2 _ZN8Shiboken8GilStateD2Ev@Base 1.0.0~beta2 (optional=templinst)_ZNSt10_List_baseIP13SbkObjectTypeSaIS1_EED1Ev@Base 1.1.0 (optional=templinst)_ZNSt10_List_baseIP13SbkObjectTypeSaIS1_EED2Ev@Base 1.1.0 (optional=templinst)_ZNSt10_List_baseIP7_objectSaIS1_EED1Ev@Base 1.0.4 (optional=templinst)_ZNSt10_List_baseIP7_objectSaIS1_EED2Ev@Base 1.0.4 (optional=templinst)_ZNSt10_List_baseIP9SbkObjectSaIS1_EED1Ev@Base 1.0.2 (optional=templinst)_ZNSt10_List_baseIP9SbkObjectSaIS1_EED2Ev@Base 1.0.2 (optional=templinst)_ZNSt12_Destroy_auxILb0EE9__destroyIPSt4pairIKSsP12SbkConverterEEEvT_S8_@Base 1.1.2 (optional=templinst)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev@Base 1.2.1 (optional=templinst)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev@Base 1.2.1 (optional=templinst)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED2Ev@Base 1.2.1 (optional=templinst)_ZNSt4listIP9SbkObjectSaIS1_EEaSERKS3_@Base 1.0.0~beta2 (arch=sparc|optional=destructor)_ZNSt12length_errorD0Ev@Base 1.0.4 (arch=sparc|optional=destructor)_ZNSt12length_errorD1Ev@Base 1.0.4 (optional=templinst)_ZNSt4listIP13SbkObjectTypeSaIS1_EED1Ev@Base 1.0.2 (optional=templinst)_ZNSt4listIP13SbkObjectTypeSaIS1_EEaSERKS3_@Base 1.2.1 (optional=templinst)_ZNSt4listIP13SbkObjectTypeSaIS1_EED2Ev@Base 1.0.2 (optional=templinst)_ZNSt4listIP7_objectSaIS1_EEaSERKS3_@Base 1.0.4 (optional=templinst)_ZNSt4listIP9SbkObjectSaIS1_EED1Ev@Base 1.0.4 (optional=templinst)_ZNSt4listIP9SbkObjectSaIS1_EED2Ev@Base 1.0.4 (optional=templinst)_ZNSt4pairIKP13SbkObjectTypeSt4listIS1_SaIS1_EEED1Ev@Base 1.1.2 (optional=templinst)_ZNSt4pairIKP13SbkObjectTypeSt4listIS1_SaIS1_EEED2Ev@Base 1.1.2 (optional=templinst)_ZNSt4pairIKSsPN8Shiboken12TypeResolverEED1Ev@Base 1.1.2 (optional=templinst)_ZNSt4pairIKSsPN8Shiboken12TypeResolverEED2Ev@Base 1.1.2 (optional=templinst)_ZNSt4pairIKSsSt4listIP9SbkObjectSaIS3_EEED1Ev@Base 1.0.0~beta2 (optional=templinst)_ZNSt4pairIKSsSt4listIP9SbkObjectSaIS3_EEED2Ev@Base 1.0.0~beta3 (optional=templinst)_ZNSt8_Rb_treeIP11_typeobjectSt4pairIKS1_SsESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E@Base 1.0.5 (optional=templinst)_ZNSt8_Rb_treeIP7_objectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE16_M_insert_uniqueERKS1_@Base 1.0.9 (optional=templinst)_ZNSt8_Rb_treeIP7_objectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE8_M_eraseEPSt13_Rb_tree_nodeIS1_E@Base 1.0.9 (optional=templinst)_ZNSt8_Rb_treeIP9SbkObjectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE10_M_insert_EPKSt18_Rb_tree_node_baseSA_RKS1_@Base 1.0.0~beta5 (optional=templinst)_ZNSt8_Rb_treeIP9SbkObjectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE16_M_insert_uniqueERKS1_@Base 1.0.0~beta5 (optional=templinst)_ZNSt8_Rb_treeIP9SbkObjectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE7_M_copyEPKSt13_Rb_tree_nodeIS1_EPS9_@Base 1.0.0~beta5 (optional=templinst)_ZNSt8_Rb_treeIP9SbkObjectS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE8_M_eraseEPSt13_Rb_tree_nodeIS1_E@Base 1.0.0~beta2 (optional=templinst)_ZNSt8_Rb_treeISsSt4pairIKSsSt4listIP7_objectSaIS4_EEESt10_Select1stIS7_ESt4lessISsESaIS7_EE8_M_eraseEPSt13_Rb_tree_nodeIS7_E@Base 1.0.4 (optional=templinst)_ZNSt8_Rb_treeISsSt4pairIKSsSt4listIP9SbkObjectSaIS4_EEESt10_Select1stIS7_ESt4lessISsESaIS7_EE4findERS1_@Base 1.0.0~beta5 (optional=templinst)_ZNSt8_Rb_treeISsSt4pairIKSsSt4listIP9SbkObjectSaIS4_EEESt10_Select1stIS7_ESt4lessISsESaIS7_EE10_M_insert_EPKSt18_Rb_tree_node_baseSG_RKS7_@Base 1.0.0~beta2 (optional=templinst)_ZNSt8_Rb_treeISsSt4pairIKSsSt4listIP9SbkObjectSaIS4_EEESt10_Select1stIS7_ESt4lessISsESaIS7_EE16_M_insert_uniqueERKS7_@Base 1.0.0~beta2 (optional=templinst)_ZNSt8_Rb_treeISsSt4pairIKSsSt4listIP9SbkObjectSaIS4_EEESt10_Select1stIS7_ESt4lessISsESaIS7_EE17_M_insert_unique_ESt23_Rb_tree_const_iteratorIS7_ERKS7_@Base 1.0.0~beta2 (optional=templinst)_ZNSt8_Rb_treeISsSt4pairIKSsSt4listIP9SbkObjectSaIS4_EEESt10_Select1stIS7_ESt4lessISsESaIS7_EE8_M_eraseEPSt13_Rb_tree_nodeIS7_E@Base 1.0.0~beta2 debian/libshiboken-dev.install0000644000000000000000000000005712043441315013622 0ustar usr/include/* usr/lib/*/*.so usr/lib/*/cmake/* debian/rules0000755000000000000000000002001112303672152010241 0ustar #!/usr/bin/make -f %: dh $@ --with python2 --with python3 --buildsystem=cmake --parallel # Python versions (default is first) PYVERSIONS=$(shell pyversions -v -r) DEFAULT_PY=$(shell pyversions -v -d) PY3VERSIONS=$(shell py3versions -v -r) DEFAULT_PY3=$(shell py3versions -v -d) LIBSHIBOKEN_SOVERSION=1.2 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # G++ versions g++-version := $(shell readlink /usr/bin/g++ | sed -e 's/g++-\(.*\)\.\(.*\)/\1\2/') g++-version-ge-4.5 := $(shell if test $(g++-version) -ge 45; then echo "yes"; else echo "no"; fi) CMAKE_COMMON_OPTIONS := -DCMAKE_SKIP_RPATH=true \ -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) #### CONFIGURE #### override_dh_auto_configure: configure_2 configure_3 configure_2: $(PYVERSIONS:%=override_dh_auto_configure_dbg-%) $(PYVERSIONS:%=override_dh_auto_configure-%) @echo "Python2 versions configured." configure_3: $(PY3VERSIONS:%=override_dh_auto_configure_3_dbg-%) $(PY3VERSIONS:%=override_dh_auto_configure_3-%) @echo "Python3 versions configured." override_dh_auto_configure_dbg-%: mkdir -p build-$*-dbg dh_auto_configure -a --builddirectory=build-$*-dbg -- \ $(CMAKE_COMMON_OPTIONS) \ -DCMAKE_BUILD_TYPE:STRING="Debug" \ -DPYTHON_SUFFIX=-python$*-dbg \ -DCMAKE_USE_PYTHON_VERSION="$*-dbg;$*_d;$*" \ -DPython_ADDITIONAL_VERSIONS="$*-dbg;$*_d;$*" \ -DPYTHON_EXECUTABLE=/usr/bin/python$*-dbg override_dh_auto_configure-%: mkdir -p build-$* dh_auto_configure --builddirectory=build-$* -- \ $(CMAKE_COMMON_OPTIONS) \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DPYTHON_SUFFIX=-python$* \ -DCMAKE_USE_PYTHON_VERSION=$* \ -DPython_ADDITIONAL_VERSIONS=$* \ -DPYTHON_EXECUTABLE=/usr/bin/python$* \ -DDEFAULT_PYTHON_SUFFIX=-python${DEFAULT_PY} override_dh_auto_configure_3_dbg-%: mkdir -p build-$*-dbg dh_auto_configure -a --builddirectory=build-$*-dbg -- \ $(CMAKE_COMMON_OPTIONS) \ -DCMAKE_BUILD_TYPE:STRING="Debug" \ -DUSE_PYTHON3=ON \ -DPYTHON_SUFFIX=-python$*-dbg \ -DCMAKE_USE_PYTHON_VERSION="$*-dbg;$*_d;$*" \ -DCMAKE_USE_PYTHON_COMPILATION_FLAGS="dmu;dm" \ -DPython_ADDITIONAL_VERSIONS="$*-dbg;$*_d;$*" \ -DPYTHON3_EXECUTABLE=/usr/bin/python$*m \ -DPYTHON3_DBG_EXECUTABLE=/usr/bin/python$*dm override_dh_auto_configure_3-%: mkdir -p build-$* dh_auto_configure --builddirectory=build-$* -- \ $(CMAKE_COMMON_OPTIONS) \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DUSE_PYTHON3=ON \ -DPYTHON_SUFFIX=-python$* \ -DCMAKE_USE_PYTHON_VERSION=$* \ -DCMAKE_USE_PYTHON_COMPILATION_FLAGS="mu;m" \ -DPython_ADDITIONAL_VERSIONS=$* \ -DPYTHON3_EXECUTABLE=/usr/bin/python$*m \ -DPYTHON3_DBG_EXECUTABLE=/usr/bin/python$*dm \ -DDEFAULT_PYTHON_SUFFIX=.cpython-$(subst .,,${DEFAULT_PY3})m #### BUILD #### override_dh_auto_build: build_2 build_3 dh_auto_build -i --builddirectory=build-$(DEFAULT_PY) -- doc build_2: $(PYVERSIONS:%=override_dh_auto_build_dbg-%) $(PYVERSIONS:%=override_dh_auto_build-%) @echo "Python2 versions built." build_3: $(PY3VERSIONS:%=override_dh_auto_build_dbg-%) $(PY3VERSIONS:%=override_dh_auto_build-%) @echo "Python3 versions built." override_dh_auto_build_dbg-%: dh_auto_build -a --builddirectory=build-$*-dbg override_dh_auto_build-%: dh_auto_build -a --builddirectory=build-$* #### INSTALL #### override_dh_auto_install: install_2 install_3 install_2: $(PYVERSIONS:%=override_dh_auto_install_dbg-%) $(PYVERSIONS:%=override_dh_auto_install-%) @echo "Python2 versions installed." install_3: $(PY3VERSIONS:%=override_dh_auto_install_dbg-%) $(PY3VERSIONS:%=override_dh_auto_install-%) @echo "Python3 versions installed." override_dh_auto_install_dbg-%: dh_auto_install -a --builddirectory=build-$*-dbg --destdir=debian/tmp-dbg override_dh_auto_install-%: dh_auto_install -a --builddirectory=build-$* #### STRIP #### override_dh_strip: dh_strip -a --dbg-package=shiboken-dbg --exclude=-dbg.so #### TEST #### override_dh_auto_test: test_2 test_3 test_2: $(PYVERSIONS:%=override_dh_auto_test_dbg-%) $(PYVERSIONS:%=override_dh_auto_test-%) @echo "Python2 versions tested." test_3: $(PY3VERSIONS:%=override_dh_auto_test_dbg-%) $(PY3VERSIONS:%=override_dh_auto_test-%) @echo "Python3 versions tested." override_dh_auto_test_dbg-%: dh_auto_test -a --builddirectory=build-$*-dbg override_dh_auto_test_dbg-3.4: # The tests for the other and sample libraries segfault. The same goes for the shiboken_module. dh_auto_test -a --builddirectory=build-3.4-dbg -- ARGS="-E '^(other|sample|shiboken_module)'" override_dh_auto_test-%: dh_auto_test -a --builddirectory=build-$* #### CLEAN #### override_dh_auto_clean: rm -rf build-* rm -rf debian/tmp-dbg rm -f debian/libshiboken*.symbols rm -f debian/libshiboken*.symbols-py* rm -f debian/libshiboken-py3-*.symbols rm -f debian/libshiboken-py3-*.symbols-py* - rm -f tests/py3kcompat.pyc - rm -f tests/__pycache__/py3k*.cpython-*.pyc #### DEBIAN INSTALL #### override_dh_install: override_dh_install_done dh_install -i override_dh_install_real: # Install the debug variant dh_install --sourcedir=debian/tmp-dbg -pshiboken-dbg # Install the other variants dh_install -a --list-missing --remaining-packages override_dh_install_done: override_dh_install_real ifneq (,$(filter libshiboken-dev, $(shell dh_listpackages))) # Setup the default version symbolic links ln -sf libshiboken-python${DEFAULT_PY}.so \ debian/libshiboken-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libshiboken.so # Make sure the pkg-config is the default's install -D -m 644 build-${DEFAULT_PY}/data/shiboken.pc \ debian/libshiboken-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/shiboken.pc # Make sure the cmake file is Python2's default install -D -m 644 build-${DEFAULT_PY}/data/ShibokenConfig.cmake debian/libshiboken-dev/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Shiboken-$(shell grep 'set(PACKAGE_VERSION ' build-${DEFAULT_PY}/data/ShibokenConfigVersion.cmake | sed -e 's/.*PACKAGE_VERSION \(.*\))/\1/g')/ShibokenConfig.cmake endif ifneq (,$(filter shiboken-dbg, $(shell dh_listpackages))) ln -sf libshiboken-python${DEFAULT_PY}-dbg.so \ debian/shiboken-dbg/usr/lib/$(DEB_HOST_MULTIARCH)/libshiboken-dbg.so endif #### Shared libs #### override_dh_makeshlibs: $(PYVERSIONS:%=override_dh_makeshlibs-%) $(PY3VERSIONS:%=override_dh_makeshlibs_py3-%) cat debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols-py* > debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols cat debian/libshiboken-py3-${LIBSHIBOKEN_SOVERSION}.symbols-py* > debian/libshiboken-py3-${LIBSHIBOKEN_SOVERSION}.symbols dh_makeshlibs -a override_dh_makeshlibs-%: echo "libshiboken-python$*.so.${LIBSHIBOKEN_SOVERSION} libshiboken${LIBSHIBOKEN_SOVERSION} #MINVER#" > debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols-py$* cat debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols.pristine >> debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols-py$* ifeq ($(g++-version-ge-4.5),yes) # g++ version is >= 4.5, add related symbols sed -e 's|^ _| (ge-g++4.5)_|g' debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols.g++-ge-4.5 >> debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols-py$* else # g++ version is < 4.5, add related symbols sed -e 's|^ _| (lt-g++4.5)_|g' debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols.g++-lt-4.5 >> debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols-py$* endif override_dh_makeshlibs_py3-%: echo "libshiboken.cpython-$(subst .,,$*)m.so.${LIBSHIBOKEN_SOVERSION} libshiboken-py3-${LIBSHIBOKEN_SOVERSION} #MINVER#" > debian/libshiboken-py3-${LIBSHIBOKEN_SOVERSION}.symbols-py$* cat debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols.pristine >> debian/libshiboken-py3-${LIBSHIBOKEN_SOVERSION}.symbols-py$* ifeq ($(g++-version-ge-4.5),yes) # g++ version is >= 4.5, add related symbols sed -e 's|^ _| (ge-g++4.5)_|g' debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols.g++-ge-4.5 >> debian/libshiboken-py3-${LIBSHIBOKEN_SOVERSION}.symbols-py$* else # g++ version is < 4.5, add related symbols sed -e 's|^ _| (lt-g++4.5)_|g' debian/libshiboken${LIBSHIBOKEN_SOVERSION}.symbols.g++-lt-4.5 >> debian/libshiboken-py3-${LIBSHIBOKEN_SOVERSION}.symbols-py$* endif override_dh_installdocs: dh_installdocs ifneq (,$(filter shiboken-doc, $(shell dh_listpackages))) dh_sphinxdoc -pshiboken-doc endif debian/source/0000755000000000000000000000000011474162063010472 5ustar debian/source/format0000644000000000000000000000001411474162063011700 0ustar 3.0 (quilt) debian/shiboken-doc.docs0000644000000000000000000000001311474162063012403 0ustar */doc/html debian/watch0000644000000000000000000000015112211716610010211 0ustar version=3 http://qt-project.org/wiki/PySideDownloads .*/shiboken-(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz)) debian/libshiboken1.2.symbols.g++-lt-4.50000644000000000000000000000041212021363367014606 0ustar # Symbols only in g++ < 4.5 _ZN8Shiboken14BindingManager21BindingManagerPrivateC1Ev@Base 1.0.0~beta3 (optional=templinst)_ZNSt4listIP9SbkObjectSaIS1_EED1Ev@Base 1.0.0~beta3 (optional=templinst)_ZNSt4pairIKP13SbkObjectTypeSt4listIS1_SaIS1_EEED1Ev@Base 1.0.0~beta3