debian/0000775000000000000000000000000012321607025007166 5ustar debian/copyright0000664000000000000000000012261612321607025011131 0ustar kdebindings was originally debianized by the Debian Qt/KDE maintainers in 2008. pykde4 was debianized by Modestas Vainius on Sun, 05 Jun 2011 and maintained by Debian Qt/KDE maintainers since then. Original source package was downloaded from ftp://ftp.kde.org/pub/kde/stable/ or ftp://ftp.kde.org/pub/kde/unstable/. Debian packaging (debian/*) is licensed under GPL version 2 or later. Please see /usr/share/common-licenses/GPL-2 for details. Debian patches (debian/patches/* if any) fall under the same license as the original files they patch. Upstream authors: Jim Bublitz (jbublitz@nwinternet.com) PyKDE(KDE2, KDE3, KDE4) Phil Thompson (phil@river-bank.demon.co.uk) sip, PyQt, original PyKDE (KDE1) and loads of good advice and help Upstream copyright holders: Copyright: © 2007-2010 Simon Edwards Copyright: © 1998-2008 Jim Bublitz Copyright: © 2008-2009 Daniel Nicoletti Copyright: © 2009 Michal Malek Copyright: © 2011 Luca Beltrame Copyright: © 2011 Shaheed Haque Copyright: © 2009 Alexander Neundorf Copyright: © 2009 Dario Freddi Copyright: © 2008 David Boddie Copyright: © 2006 Chusslove Illich debian/patches/pythonpluginfactory_python3.diff Copyright (C) 2012 Barry A. Warsaw General licensing information (extracted from docs/html/General): PyKDE4 is licensed under the GNU Lesser (or Library) General Public License (LGPL) version 2. That means non-open source software can use and link to the PyKDE4 libraries, as long as no substantial modifications are made to those libraries. A copy of the LGPL license should have been included with PyKDE4 in the file COPYING.LESSER. If not, you can find a copy online at the http://www.gnu.org [Debian-LGPL] The PyKDE4 documentation viewer (pykdedocs) and example code produced by the PyKDE4 authors are licensed under the GNU General Public License (GPL) version 2 [Debian-GPL]. Tutorials and other text information produced by the PyKDE4 authors is licensed under the Creative Commons License [Debian-CC-BY-SA-3.0]. Materials contributed to PyKDE4 are licensed as specified by the material's respective authors - see the individual files for license terms. All code and text included in the PyKDE4 and pykdedocs packages may be freely distributed in its original form. If you need to modify any of the code or text and want to distribute the modified code, your modified code must be licensed under the GPL version 2 or later. If this is a problem, contact the author(s) of the material to be modified. All code and text in PyKDE4 and pykdedocs is copyrighted and owned by the code's or text's respective authors - see specific files for more information. Disclaimer pykdedocs is capable of interacting with external web sites via the internet. Use of the internet may expose you or your computer to well known risks. pykdedocs and PyKDE4 are licensed for your use only under the GNU General Public License (GPL) version 2. The GPL includes the following disclaimers which apply to both internet access using pykdedocs, and the use of pykdedocs and PyKDE4 in general. A copy of the GPL can be found in the file documentation/COPYING at the location where pykdedocs documentation files were installed. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Specific licensing information: -- cmake/modules/FindPolkitQt.cmake: Copyright © 2009, Daniel Nicoletti, Copyright © 2009, Dario Freddi, Copyright © 2009, Michal Malek, Copyright © 2009, Alexander Neundorf, cmake/modules/* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. -- -- docs/tutorials/* docs/* Creative Commons Attribution Share-Alike (CC-BY-SA) 3.0 Unported. See [Debian-CC-BY-SA-3.0] below. Please note that some of API documentation is generated from KDE Development Platform system headers so portions of it may fall under GNU LGPL version 2 or later. See /usr/share/common-licenses/LGPL-{2,2.1,3} for more information on the terms of the license. -- -- GNU Library General Public License, version 2 or later (LGPL-2+) kpythonpluginfactory/* + sip/akonadi/abstractdifferencesreporter.sip + sip/akonadi/addressattribute.sip + sip/akonadi/agentactionmanager.sip + sip/akonadi/agentbase.sip + sip/akonadi/agentfactory.sip + sip/akonadi/agentsearchinterface.sip + sip/akonadi/agenttypedialog.sip + sip/akonadi/akonadimod.sip + sip/akonadi/collectionattributessynchronizationjob.sip + sip/akonadi/collectioncombobox.sip + sip/akonadi/collectionfetchscope.sip + sip/akonadi/collectionmovejob.sip + sip/akonadi/collectionquotaattribute.sip + sip/akonadi/differencesalgorithminterface.sip + sip/akonadi/entitydisplayattribute.sip + sip/akonadi/entityhiddenattribute.sip + sip/akonadi/entitylistview.sip + sip/akonadi/entitymimetypefiltermodel.sip + sip/akonadi/entityorderproxymodel.sip + sip/akonadi/entityrightsfiltermodel.sip + sip/akonadi/entitytreemodel.sip + sip/akonadi/entitytreeview.sip + sip/akonadi/entitytreeviewstatesaver.sip + sip/akonadi/etmviewstatesaver.sip + sip/akonadi/favoritecollectionsmodel.sip + sip/akonadi/indexpolicyattribute.sip + sip/akonadi/itemsearchjob.sip + sip/akonadi/linkjob.sip + sip/akonadi/messageflags.sip + sip/akonadi/messagefolderattribute.sip + sip/akonadi/messagestatus.sip + sip/akonadi/partfetcher.sip + sip/akonadi/persistentsearchattribute.sip + sip/akonadi/preprocessorbase.sip + sip/akonadi/recursivecollectionfilterproxymodel.sip + sip/akonadi/recursiveitemfetchjob.sip + sip/akonadi/resourcebase.sip + sip/akonadi/resourcebasesettings.sip + sip/akonadi/resourcesettings.sip + sip/akonadi/resourcesynchronizationjob.sip + sip/akonadi/selectionproxymodel.sip + sip/akonadi/servermanager.sip + sip/akonadi/specialcollections.sip + sip/akonadi/specialcollectionsrequestjob.sip + sip/akonadi/specialmailcollections.sip + sip/akonadi/specialmailcollectionsrequestjob.sip + sip/akonadi/standardmailactionmanager.sip + sip/akonadi/statisticsproxymodel.sip + sip/akonadi/transportresourcebase.sip + sip/akonadi/unlinkjob.sip + sip/dnssd/dnssdmod.sip + sip/kdecore/globals.sip + sip/kdecore/kauthaction.sip + sip/kdecore/kauthactionreply.sip + sip/kdecore/kauthactionwatcher.sip + sip/kdecore/kauthhelpersupport.sip + sip/kdecore/kcurrencycode.sip + sip/kdecore/kdecoremod.sip + sip/kdecore/kencodingprober.sip + sip/kdecore/klocalizeddate.sip + sip/kdeui/dictionarycombobox.sip + sip/kdeui/kactioncategory.sip + sip/kdeui/kbreadcrumbselectionmodel.sip + sip/kdeui/kcapacitybar.sip + sip/kdeui/kcheckableproxymodel.sip + sip/kdeui/kdescendantsproxymodel.sip + sip/kdeui/kdeuimod.sip + sip/kdeui/kdualaction.sip + sip/kdeui/keditlistwidget.sip + sip/kdeui/kfilterproxysearchline.sip + sip/kdeui/kglobalshortcutinfo.sip + sip/kdeui/kidentityproxymodel.sip + sip/kdeui/klinkitemselectionmodel.sip + sip/kdeui/kmodelindexproxymapper.sip + sip/kdeui/kpixmapsequence.sip + sip/kdeui/kpixmapsequenceoverlaypainter.sip + sip/kdeui/kpixmapsequencewidget.sip + sip/kdeui/krecursivefilterproxymodel.sip + sip/kdeui/kselectionproxymodel.sip + sip/kdeui/kstatusnotifieritem.sip + sip/kdeui/ksystemeventfilter.sip + sip/kdeui/kviewstatemaintainer.sip + sip/kdeui/kviewstatesaver.sip + sip/khtml/khtmlmod.sip + sip/kio/kdiskfreespaceinfo.sip + sip/kio/kfileitemactionplugin.sip + sip/kio/kfilemetadataconfigurationwidget.sip + sip/kio/kfilemetadatawidget.sip + sip/kio/kfilepreviewgenerator.sip + sip/kio/kiomod.sip + sip/kio/knameandurlinputdialog.sip + sip/kio/knewfilemenu.sip sip/knewstuff/* excluding: -+ sip/knewstuff/author.sip -+ sip/knewstuff/category.sip -+ sip/knewstuff/engine.sip -+ sip/knewstuff/entry.sip -+ sip/knewstuff/installation.sip -+ sip/knewstuff/knewstuffaction.sip -+ sip/knewstuff/ktranslatable.sip + sip/kparts/browseropenorsavequestion.sip + sip/kparts/fileinfoextension.sip + sip/kparts/htmlextension.sip + sip/kparts/kpartsmod.sip + sip/kparts/scriptableextension.sip + sip/kparts/textextension.sip + sip/kutils/kidletime.sip + sip/kutils/kutilsmod.sip sip/nepomuk/* excluding: -+ sip/nepomuk/class.sip -+ sip/nepomuk/entity.sip -+ sip/nepomuk/global.sip -+ sip/nepomuk/kmetadatatagcloud.sip -+ sip/nepomuk/ktagcloudwidget.sip -+ sip/nepomuk/ktagdisplaywidget.sip -+ sip/nepomuk/literal.sip -+ sip/nepomuk/nepomukontologyloader.sip -+ sip/nepomuk/nepomukservice.sip -+ sip/nepomuk/ontology.sip -+ sip/nepomuk/property.sip -+ sip/nepomuk/resource.sip -+ sip/nepomuk/resourcemanager.sip -+ sip/nepomuk/tag.sip -+ sip/nepomuk/tagwidget.sip -+ sip/nepomuk/tools.sip -+ sip/nepomuk/variant.sip + sip/phonon/abstractaudiodataoutput.sip + sip/phonon/abstractaudiooutput.sip + sip/phonon/abstractvideodataoutput.sip + sip/phonon/audiodataoutput.sip + sip/phonon/audiodataoutputinterface.sip + sip/phonon/audioformat.sip + sip/phonon/avcapture.sip + sip/phonon/globalconfig.sip + sip/phonon/packet.sip + sip/phonon/packetpool.sip + sip/phonon/phononmod.sip + sip/phonon/pulsesupport.sip + sip/phonon/snapshotinterface.sip + sip/phonon/videodataoutput.sip + sip/phonon/videodataoutput2.sip + sip/phonon/videodataoutputinterface.sip + sip/phonon/videoframe.sip + sip/phonon/videoframe2.sip + sip/phonon/visualization.sip sip/plasma/* excluding: -+ sip/plasma/extendergroup.sip -+ sip/plasma/runnersyntax.sip -+ sip/plasma/scrollwidget.sip -+ sip/plasma/servicejob.sip -+ sip/plasma/spinbox.sip -+ sip/plasma/textbrowser.sip -+ sip/plasma/videowidget.sip sip/polkitqt/* + sip/solid/internetgateway.sip + sip/solid/solidmod.sip + sip/soprano/asyncquery.sip + sip/soprano/asyncresult.sip + sip/soprano/nodeiterator.sip + sip/soprano/queryresultiterator.sip + sip/soprano/simplestatementiterator.sip + sip/soprano/sopranomod.sip + sip/soprano/sparqlmodel.sip + sip/soprano/statementiterator.sip tools/pykdeuic4/* On Debian systems, the complete text of the GNU Library General Public License version 2 can be found in /usr/share/common-licenses/LGPL-2 -- -- GNU Lesser General Public License, version 2.1 or later (LGPL-2.1+) + examples/kpartsExamples/konsolepart.py sip/akonadi/* excluding: -+ sip/akonadi/abstractdifferencesreporter.sip -+ sip/akonadi/addressattribute.sip -+ sip/akonadi/agentactionmanager.sip -+ sip/akonadi/agentbase.sip -+ sip/akonadi/agentfactory.sip -+ sip/akonadi/agentsearchinterface.sip -+ sip/akonadi/agenttypedialog.sip -+ sip/akonadi/akonadimod.sip -+ sip/akonadi/collectionattributessynchronizationjob.sip -+ sip/akonadi/collectioncombobox.sip -+ sip/akonadi/collectionfetchscope.sip -+ sip/akonadi/collectionmovejob.sip -+ sip/akonadi/collectionquotaattribute.sip -+ sip/akonadi/differencesalgorithminterface.sip -+ sip/akonadi/entitydisplayattribute.sip -+ sip/akonadi/entityhiddenattribute.sip -+ sip/akonadi/entitylistview.sip -+ sip/akonadi/entitymimetypefiltermodel.sip -+ sip/akonadi/entityorderproxymodel.sip -+ sip/akonadi/entityrightsfiltermodel.sip -+ sip/akonadi/entitytreemodel.sip -+ sip/akonadi/entitytreeview.sip -+ sip/akonadi/entitytreeviewstatesaver.sip -+ sip/akonadi/etmviewstatesaver.sip -+ sip/akonadi/favoritecollectionsmodel.sip -+ sip/akonadi/indexpolicyattribute.sip -+ sip/akonadi/itemsearchjob.sip -+ sip/akonadi/linkjob.sip -+ sip/akonadi/messageflags.sip -+ sip/akonadi/messagefolderattribute.sip -+ sip/akonadi/messagestatus.sip -+ sip/akonadi/partfetcher.sip -+ sip/akonadi/persistentsearchattribute.sip -+ sip/akonadi/preprocessorbase.sip -+ sip/akonadi/recursivecollectionfilterproxymodel.sip -+ sip/akonadi/recursiveitemfetchjob.sip -+ sip/akonadi/resourcebase.sip -+ sip/akonadi/resourcebasesettings.sip -+ sip/akonadi/resourcesettings.sip -+ sip/akonadi/resourcesynchronizationjob.sip -+ sip/akonadi/selectionproxymodel.sip -+ sip/akonadi/servermanager.sip -+ sip/akonadi/specialcollections.sip -+ sip/akonadi/specialcollectionsrequestjob.sip -+ sip/akonadi/specialmailcollections.sip -+ sip/akonadi/specialmailcollectionsrequestjob.sip -+ sip/akonadi/standardmailactionmanager.sip -+ sip/akonadi/statisticsproxymodel.sip -+ sip/akonadi/transportresourcebase.sip -+ sip/akonadi/unlinkjob.sip sip/dnssd/* excluding: -+ sip/dnssd/dnssdmod.sip sip/kdecore/* excluding: -+ sip/kdecore/globals.sip -+ sip/kdecore/kauthaction.sip -+ sip/kdecore/kauthactionreply.sip -+ sip/kdecore/kauthactionwatcher.sip -+ sip/kdecore/kauthhelpersupport.sip -+ sip/kdecore/kcurrencycode.sip -+ sip/kdecore/kdecoremod.sip -+ sip/kdecore/kencodingprober.sip -+ sip/kdecore/klocalizeddate.sip -+ sip/kdecore/ksystemtimezone.sip -+ sip/kdecore/ktzfiletimezone.sip sip/kdeui/* excluding: -+ sip/kdeui/dictionarycombobox.sip -+ sip/kdeui/kactioncategory.sip -+ sip/kdeui/kbreadcrumbselectionmodel.sip -+ sip/kdeui/kcapacitybar.sip -+ sip/kdeui/kcheckableproxymodel.sip -+ sip/kdeui/kdescendantsproxymodel.sip -+ sip/kdeui/kdeuimod.sip -+ sip/kdeui/kdualaction.sip -+ sip/kdeui/keditlistwidget.sip -+ sip/kdeui/kfilterproxysearchline.sip -+ sip/kdeui/kglobalshortcutinfo.sip -+ sip/kdeui/kidentityproxymodel.sip -+ sip/kdeui/klinkitemselectionmodel.sip -+ sip/kdeui/kmodelindexproxymapper.sip -+ sip/kdeui/kpalette.sip -+ sip/kdeui/kpixmapsequence.sip -+ sip/kdeui/kpixmapsequenceoverlaypainter.sip -+ sip/kdeui/kpixmapsequencewidget.sip -+ sip/kdeui/krecursivefilterproxymodel.sip -+ sip/kdeui/kselectionproxymodel.sip -+ sip/kdeui/kstatusnotifieritem.sip -+ sip/kdeui/ksystemeventfilter.sip -+ sip/kdeui/ktimezone.sip -+ sip/kdeui/kviewstatemaintainer.sip -+ sip/kdeui/kviewstatesaver.sip sip/khtml/* excluding: -+ sip/khtml/khtmlmod.sip sip/kio/* excluding: -+ sip/kio/kdirnotify.sip -+ sip/kio/kdiskfreespaceinfo.sip -+ sip/kio/kfileitemactionplugin.sip -+ sip/kio/kfilemetadataconfigurationwidget.sip -+ sip/kio/kfilemetadatawidget.sip -+ sip/kio/kfilepreviewgenerator.sip -+ sip/kio/kiomod.sip -+ sip/kio/knameandurlinputdialog.sip -+ sip/kio/knewfilemenu.sip + sip/knewstuff/author.sip + sip/knewstuff/category.sip + sip/knewstuff/engine.sip + sip/knewstuff/entry.sip + sip/knewstuff/installation.sip + sip/knewstuff/knewstuffaction.sip + sip/knewstuff/ktranslatable.sip sip/kparts/* excluding: -+ sip/kparts/browseropenorsavequestion.sip -+ sip/kparts/fileinfoextension.sip -+ sip/kparts/htmlextension.sip -+ sip/kparts/kpartsmod.sip -+ sip/kparts/scriptableextension.sip -+ sip/kparts/textextension.sip sip/kterminal/* sip/ktexteditor/* sip/kutils/* excluding: -+ sip/kutils/kidletime.sip -+ sip/kutils/kutilsmod.sip + sip/nepomuk/class.sip + sip/nepomuk/entity.sip + sip/nepomuk/global.sip + sip/nepomuk/kmetadatatagcloud.sip + sip/nepomuk/ktagcloudwidget.sip + sip/nepomuk/ktagdisplaywidget.sip + sip/nepomuk/literal.sip + sip/nepomuk/nepomukontologyloader.sip + sip/nepomuk/nepomukservice.sip + sip/nepomuk/ontology.sip + sip/nepomuk/property.sip + sip/nepomuk/resource.sip + sip/nepomuk/resourcemanager.sip + sip/nepomuk/tag.sip + sip/nepomuk/tagwidget.sip + sip/nepomuk/tools.sip + sip/nepomuk/variant.sip sip/phonon/* excluding: -+ sip/phonon/abstractaudiodataoutput.sip -+ sip/phonon/abstractaudiooutput.sip -+ sip/phonon/abstractvideodataoutput.sip -+ sip/phonon/audiodataoutput.sip -+ sip/phonon/audiodataoutputinterface.sip -+ sip/phonon/audioformat.sip -+ sip/phonon/avcapture.sip -+ sip/phonon/globalconfig.sip -+ sip/phonon/packet.sip -+ sip/phonon/packetpool.sip -+ sip/phonon/phononmod.sip -+ sip/phonon/pulsesupport.sip -+ sip/phonon/snapshotinterface.sip -+ sip/phonon/videodataoutput.sip -+ sip/phonon/videodataoutput2.sip -+ sip/phonon/videodataoutputinterface.sip -+ sip/phonon/videoframe.sip -+ sip/phonon/videoframe2.sip -+ sip/phonon/visualization.sip + sip/plasma/extendergroup.sip + sip/plasma/runnersyntax.sip + sip/plasma/scrollwidget.sip + sip/plasma/servicejob.sip + sip/plasma/spinbox.sip + sip/plasma/textbrowser.sip + sip/plasma/videowidget.sip sip/solid/* excluding: -+ sip/solid/internetgateway.sip -+ sip/solid/solidmod.sip sip/soprano/* excluding: -+ sip/soprano/asyncquery.sip -+ sip/soprano/asyncresult.sip -+ sip/soprano/nodeiterator.sip -+ sip/soprano/queryresultiterator.sip -+ sip/soprano/simplestatementiterator.sip -+ sip/soprano/sopranomod.sip -+ sip/soprano/sparqlmodel.sip -+ sip/soprano/statementiterator.sip On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1 -- -- GNU General Public License, version 2 examples/* examples/kdecoreExamples/* examples/kdeuiExamples/* examples/khtmlExamples/* examples/kioExamples/* examples/kpartsExamples/* excluding: -+ examples/kpartsExamples/konsolepart.py examples/kutilsExamples/* examples/polkitqtExamples/* examples/solidExamples/* + sip/kdecore/ksystemtimezone.sip + sip/kdecore/ktzfiletimezone.sip + sip/kdeui/kpalette.sip + sip/kdeui/ktimezone.sip + sip/kio/kdirnotify.sip tests/* tools/* tools/cmake_project/sample_project/* tools/cmake_project/sample_project/cmake/modules/* tools/cmake_project/sample_project/src/* tools/kcmodule_example/* On Debian systems, the complete text of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2 -- [Debian-LGPL] /usr/share/common-licenses/LGPL-{2,2.1} on Debian systems. [Debian-GPL] /usr/share/common-licenses/GPL-2 on Debian systems. [Debian-CC-BY-SA-3.0] docs/html/CREATIVECOMMONS.html Creative Commons Attribution Share-Alike (CC-BY-SA) 3.0 Unported THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. . BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. . 1. Definitions . a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. . b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. . c. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. . d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. . e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. . f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. . g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. . h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. . i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. . j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. . k. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. . 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. . 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: . a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; . b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcae or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; . c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, . d. to Distribute and Publicly Perform Adaptations. . e. For the avoidance of doubt: i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; . ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, . iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. . The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. . 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: . a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. . b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. . c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. . d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. . 5. Representations, Warranties and Disclaimer . UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. . 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . 7. Termination . a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. . b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. . 8. Miscellaneous . a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. . b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. . c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. . d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. . e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. . f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. debian/python-kde4.postinst0000664000000000000000000000040712321607025013142 0ustar #! /bin/sh ## python-central does not clean up after itself, so we have to do it. ## http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479852 if dpkg --compare-versions "$2" lt-nl "4:4.2.0-1" then rm -rf /usr/lib/python2.*/site-packages/PyKDE4/ fi #DEBHELPER# debian/python3-pykde4.docs0000664000000000000000000000000712321607025012637 0ustar README debian/watch0000664000000000000000000000012312321607025010213 0ustar version=3 ftp://ftp.kde.org/pub/kde/unstable/([\d\.]*)/src/pykde4-([\d\.]*).tar.xz debian/rules0000775000000000000000000000544112321607025010252 0ustar #! /usr/bin/make -f dh = --with=python2,python3 include /usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk pyversions = $(shell pyversions -vr) pydefaultversion = $(shell pyversions -vd) pyshared_nondefault = $(foreach v,$(filter-out $(pydefaultversion),$(pyversions)),\ usr/lib/pyshared/python$v/PyKDE4 usr/lib/python$v/dist-packages/PyKDE4) py3versions = $(shell py3versions -vr) PYTHONDONTWRITEBYTECODE = True export PYTHONDONTWRITEBYTECODE DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) define nl endef override_dh_auto_configure: $(if $(pyversions),,$(error "no suitable pythonversion found, failing")) $(foreach v,$(pyversions),$(overridden_command) --builddirectory=builddir-$v -- \ -DPYTHON_EXECUTABLE=/usr/bin/python$v \ -DPYTHON_INCLUDE_PATH=/usr/include/python$v \ -DPYTHON_INCLUDE_DIR2=/usr/include/$(DEB_HOST_MULTIARCH)/python$v \ -DDEFAULT_PYTHON_VERSION=$(if $(filter $(pydefaultversion),$v),true,false) \ $(nl)) $(foreach v,$(py3versions),$(overridden_command) --builddirectory=builddir-$v -- \ -DPYTHON_EXECUTABLE=/usr/bin/python$v \ -DPYTHON_INCLUDE_PATH=/usr/include/python$v$(if $(filter 3.2,$(v)),mu,m) \ -DPYTHON_INCLUDE_DIR2=/usr/include/$(DEB_HOST_MULTIARCH)/python$v$(if $(filter 3.2,$(v)),mu,m) \ -DPYTHON_LIBRARY=/usr/lib/$(if $(filter 3.2,$(v)),libpython3.2mu.so,$(DEB_HOST_MULTIARCH)/libpython$(v)m.so) \ -DPYTHON_SITE_PACKAGES_INSTALL_DIR=/usr/lib/python3/dist-packages \ -DDEFAULT_PYTHON_VERSION=false \ $(nl)) override_dh_auto_build override_dh_auto_test override_dh_auto_clean: $(foreach v,$(pyversions),$(overridden_command) --builddirectory=builddir-$v $(nl)) $(foreach v,$(py3versions),$(overridden_command) --builddirectory=builddir-$v $(nl)) override_dh_auto_install: $(foreach v,$(pyversions),dh_auto_install --builddirectory=builddir-$v $(nl)) $(foreach v,$(py3versions),dh_auto_install --builddirectory=builddir-$v --destdir=debian/tmp-$v $(nl) ABITAG=`python$(v) -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))"`; for f in `find debian/tmp-$v/ -name '*.so' ! -name '*.cpython*.so'`; do mv $$f $${f%.so}.$$ABITAG.so; done;) $(foreach v,$(py3versions), cp -rv debian/tmp-$v/* debian/tmp/ $(nl)) override_dh_python3: $(overridden_command) dh_sip3 -ppython3-pykde4 override_dh_python2: $(overridden_command) dh_sip -ppython-kde4 override_dh_strip: $(overridden_command) -ppython-kde4 --dbg-package=python-kde4-dbg $(overridden_command) -ppython3-pykde4 --dbg-package=python3-pykde4-dbg override_dh_shlibdeps: if [ -d debian/python-kde4 ]; then \ dh_shlibdeps -ppython-kde4 $(foreach s,$(pyshared_nondefault),-X'$s/') -- \ -dSuggests $(foreach s,$(pyshared_nondefault),debian/python-kde4/$s/*.so) -dDepends; \ fi $(overridden_command) --remaining-packages debian/source/0000775000000000000000000000000012321607025010466 5ustar debian/source/format0000664000000000000000000000001412321607025011674 0ustar 3.0 (quilt) debian/python-kde4-dev.install0000664000000000000000000000007312321607025013500 0ustar usr/bin/pykdeuic4 usr/bin/pykdeuic4-* usr/share/sip/PyKDE4 debian/changelog0000664000000000000000000004265012321607025011047 0ustar pykde4 (4:4.13.0-0ubuntu1) trusty; urgency=medium * New upstream KDE Software Compilation release -- Jonathan Riddell Thu, 10 Apr 2014 22:33:07 +0100 pykde4 (4:4.12.97-0ubuntu1) trusty; urgency=medium * New upstream release candidate -- Philip Muškovac Wed, 02 Apr 2014 11:59:56 +0200 pykde4 (4:4.12.95-0ubuntu2) trusty; urgency=medium * Don't hard-code python versions in .install files. -- Matthias Klose Sun, 23 Mar 2014 19:59:48 +0100 pykde4 (4:4.12.95-0ubuntu1) trusty; urgency=medium [ Rohan Garg ] * New upstream beta release [ Dmitry Shachnev ] * Add watch file (set up to track unstable releases). -- Rohan Garg Thu, 20 Mar 2014 20:47:35 +0100 pykde4 (4:4.12.90-0ubuntu1) trusty; urgency=medium * Install /usr/bin/pykdeuic4-3.4 * New upstream beta release -- Jonathan Riddell Wed, 19 Mar 2014 12:09:24 +0000 pykde4 (4:4.12.3-0ubuntu1) trusty; urgency=medium * New upstream bugfix release -- Rohan Garg Tue, 04 Mar 2014 21:20:52 +0100 pykde4 (4:4.12.2-0ubuntu1) trusty; urgency=medium * New upstream bugfix release -- Rohan Garg Wed, 05 Feb 2014 00:35:25 +0000 pykde4 (4:4.12.1-0ubuntu1) trusty; urgency=low * New upstream bugfix release -- Rohan Garg Thu, 16 Jan 2014 08:50:11 +0000 pykde4 (4:4.12.0-0ubuntu2) trusty; urgency=medium * debian/rules: Fix support for multiple Python 3 versions. -- William Grant Mon, 30 Dec 2013 13:38:41 +1100 pykde4 (4:4.12.0-0ubuntu1) trusty; urgency=low * New upstream release -- Jonathan Riddell Wed, 18 Dec 2013 17:52:06 +0000 pykde4 (4:4.11.97-0ubuntu1) trusty; urgency=low * New upstream RC release -- Jonathan Riddell Fri, 29 Nov 2013 13:50:30 +0000 pykde4 (4:4.11.95-0ubuntu1) trusty; urgency=low * New upstream beta release -- Rohan Garg Mon, 25 Nov 2013 18:44:35 +0100 pykde4 (4:4.11.80-0ubuntu1) trusty; urgency=low * New upstream beta release * Update boost to 1.54 -- Rohan Garg Sat, 23 Nov 2013 18:06:47 +0100 pykde4 (4:4.11.2-0ubuntu2) saucy; urgency=low * Switch to unversioned libboost-dev depends to match other Kubuntu packages - Mixing boost versions in the KDEs stack is like crossing the streams -- Scott Kitterman Mon, 14 Oct 2013 15:49:13 -0400 pykde4 (4:4.11.2-0ubuntu1) saucy; urgency=low * New upstream release -- Jonathan Riddell Mon, 30 Sep 2013 15:01:05 +0100 pykde4 (4:4.11.1+git20130916-0ubuntu3) saucy; urgency=low * Build-depend on Pyqt 4.10.3-1ubuntu1 * Remove kplotaxis_qreal_fix.patch, now works with PyQt changes -- Jonathan Riddell Fri, 20 Sep 2013 07:59:03 +0100 pykde4 (4:4.11.1+git20130916-0ubuntu2) saucy; urgency=low * Switch QList to in sip/kdeui/kplotaxis.sip to fix FTBFS on armhf -- Scott Kitterman Thu, 19 Sep 2013 23:46:15 -0400 pykde4 (4:4.11.1+git20130916-0ubuntu1) saucy; urgency=low * Upstream snapshot to complete fix for sip4 4.15 breakage fixes - Drop debian/patches/pykde4.11_protected_public.patch, was backported from upstream, no longer required - Refreshed patches -- Scott Kitterman Mon, 16 Sep 2013 23:57:35 -0400 pykde4 (4:4.11.1-0ubuntu2) saucy; urgency=low * Add debian/patches/pykde4.11_protected_public.patch to fix breakage with sip4 4.15/4.15.1 (LP: #1220675) * Bump minimum sip4 version requirement -- Scott Kitterman Sat, 07 Sep 2013 13:23:04 -0400 pykde4 (4:4.11.1-0ubuntu1) saucy; urgency=low * New upstream bugfix release. -- Philip Muškovac Fri, 06 Sep 2013 22:45:13 +0100 pykde4 (4:4.11.0-0ubuntu1) saucy; urgency=low [ Howard Chan ] * New upstream release [ Jonathan Riddell ] * New upstream release -- Jonathan Riddell Wed, 14 Aug 2013 00:45:15 +0100 pykde4 (4:4.10.97-0ubuntu1) saucy; urgency=low * New upstream RC 2 release -- Jonathan Riddell Fri, 26 Jul 2013 20:13:49 +0100 pykde4 (4:4.10.95-0ubuntu1) saucy; urgency=low * New upstream RC release -- Rohan Garg Fri, 19 Jul 2013 12:33:38 +0000 pykde4 (4:4.10.90-0ubuntu1) saucy; urgency=low * New upstream bet release -- Michał Zając Fri, 28 Jun 2013 18:35:59 +0100 pykde4 (4:4.10.80-0ubuntu1) saucy; urgency=low * New upstream release -- Rohan Garg Fri, 21 Jun 2013 02:03:19 +0100 pykde4 (4:4.10.4-0ubuntu2) saucy; urgency=low * Rebuild against sip-api-10 -- Scott Kitterman Thu, 20 Jun 2013 11:54:09 -0400 pykde4 (4:4.10.4-0ubuntu1) saucy-proposed; urgency=low * New upstream bugfix release -- Rohan Garg Fri, 07 Jun 2013 00:56:52 +0100 pykde4 (4:4.10.2-0ubuntu1) raring; urgency=low * New upstream bugfix release - refresh optional_install_sip_files.diff -- Philip Muškovac Sun, 31 Mar 2013 15:06:05 +0200 pykde4 (4:4.10.1-0ubuntu1) raring-proposed; urgency=low * New upstream bugfix release * debian/rules: Instead of fixing the abi-tags after build which fails as cmake just re-creates the original libs, install 3.* builds into a folder, fix the tags and then move everything into the same place again (LP: #1124479) -- Philip Muškovac Tue, 05 Mar 2013 16:59:58 +0000 pykde4 (4:4.10.0-0ubuntu1) raring-proposed; urgency=low [ Rohan Garg ] * New upstream release [ Philip Muškovac ] * Add python-version-specific pykdeuic4 links to python-kde4-dev.install -- Philip Muškovac Wed, 06 Feb 2013 12:24:34 +0000 pykde4 (4:4.9.98-0ubuntu2) raring; urgency=low * Add kubuntu_kpythonpluginfactory_3.2support.diff so KPythonPluginFactory can load KCM's with python >= 3.2 -- Philip Muškovac Wed, 30 Jan 2013 21:50:11 +0100 pykde4 (4:4.9.98-0ubuntu1) raring-proposed; urgency=low [ Philip Muškovac ] * New upstream release candidate - refresh add_qt_kde_definitions.diff, optional_install_sip_files.diff, python3.3.diff, pythonpluginfactory_python3.diff [ Jonathan Riddell ] * New upstream release candidate * Add kubuntu_include_dirs.diff to use multiarch include dirs -- Jonathan Riddell Fri, 18 Jan 2013 16:34:47 +0000 pykde4 (4:4.9.95-0ubuntu1) raring; urgency=low [ Scott Kitterman ] * Add missing attribution/copyright information to debian/patches/pythonpluginfactory_python3.diff * Update debian/copyright [ Jonathan Riddell ] * New upstream RC release -- Jonathan Riddell Tue, 18 Dec 2012 23:50:52 +0000 pykde4 (4:4.9.90-0ubuntu2) raring; urgency=low [ Philip Muškovac ] * Bump build-dep on python-sip-dev to >= 4.14 * Bump build-dep on python-qt4 and python-qt4-dev to >= 4.9 [ Scott Kitterman ] * Add debian/patches/pythonpluginfactory_python3.diff to support KCMs written in Python 3 * Update debian/python3-pykde4.install * Update debian/rules to proved version specific ABI tags for Python 3 variants of kpythonplugingactory * Update debian/not-installed -- Scott Kitterman Sat, 08 Dec 2012 14:17:32 -0500 pykde4 (4:4.9.90-0ubuntu1) raring-proposed; urgency=low * New upstream beta release * Add pkg-config build-dep * Refresh patches -- Jonathan Riddell Fri, 07 Dec 2012 18:20:46 +0000 pykde4 (4:4.9.80-0ubuntu2) raring; urgency=low * Re-upload to deal with failure to upload on armhf -- Scott Kitterman Thu, 22 Nov 2012 11:30:16 -0500 pykde4 (4:4.9.80-0ubuntu1) raring; urgency=low [ Jonathan Riddell ] * New upstream beta release [ Scott Kitterman ] * Add build-dep on pkg-config -- Jonathan Riddell Mon, 19 Nov 2012 16:27:55 +0000 pykde4 (4:4.9.3-0ubuntu1) raring; urgency=low * New upstream release (LP: #1074747) - drop xxx.diff, applied upstream -- Philip Muškovac Tue, 06 Nov 2012 22:51:57 +0100 pykde4 (4:4.9.2-0ubuntu3) raring; urgency=low * Fix building for python3.3. * Fix installation of multiple python3 extensions. -- Matthias Klose Fri, 26 Oct 2012 18:11:10 +0200 pykde4 (4:4.9.2-0ubuntu2) quantal; urgency=low * Rebuild to get missing binaries that were lost due to being copied from proposed to release before they were built -- Scott Kitterman Fri, 05 Oct 2012 01:18:48 -0400 pykde4 (4:4.9.2-0ubuntu1) quantal-proposed; urgency=low * New upstream bugfix release -- Jonathan Riddell Tue, 02 Oct 2012 15:47:12 +0100 pykde4 (4:4.9.1-0ubuntu1) quantal; urgency=low * New upstream release -- Harald Sitter Tue, 04 Sep 2012 15:33:15 +0530 pykde4 (4:4.9.0-0ubuntu2) quantal; urgency=low * Revert incorrect build-dep version bump for libqt4-dev in last upload -- Scott Kitterman Fri, 03 Aug 2012 03:18:21 -0400 pykde4 (4:4.9.0-0ubuntu1) quantal; urgency=low * Use direct build-depends versions rather than kde-sc-dev-latest * New upstream release -- Jonathan Riddell Thu, 26 Jul 2012 22:49:48 +0100 pykde4 (4:4.8.90-0ubuntu2) quantal; urgency=low * Additional changes from Debian: - Set minimum shared-desktop-ontologies build-depend version to (>= 0.8) - Drop redundant build-depend on python - Set miniumum python-all-dev build-depend version to (>= 2.6.6-3~) - Add python-dbg and python3-dbg to python-kde4-dbg and python3-kde4-dbg depends - Use sip3:Depends instead of sip:Depends for python3-pykde4 - Remove unneeeded python:Provides and python3:Provides - Move dh_python3 override before dh_pyhon2 -- Scott Kitterman Sat, 16 Jun 2012 22:33:46 -0400 pykde4 (4:4.8.90-0ubuntu1) quantal; urgency=low [ Philip Muškovac ] * Merge python3 changes with debian - drop cmake_no_bytecode.diff and instead build-depend on kdelibs5-dev >= 4:4.8.80 which now provides PYTHONDONTWRITEBYTECODE to disable bytecode generation - use PYTHONDONTWRITEBYTECODE in debian/rules - set X-Python3-Version: >= 3.2 * Bump standards version to 3.9.3, no changes required [ Felix Geyer ] * New upstream beta release. * Add files to not-installed that are renamed by dh_python3. -- Felix Geyer Wed, 13 Jun 2012 08:25:54 +0200 pykde4 (4:4.8.3-0ubuntu2) quantal; urgency=low * Switch boost build-dep to 1.49 -- Philip Muškovac Tue, 15 May 2012 20:54:34 +0200 pykde4 (4:4.8.3-0ubuntu1) quantal; urgency=low [ Jonathan Kolberg ] * New upstream release [ Philip Muškovac ] * Add python3 support from Colin Watson - add python3-all-dev, python3-sip-de and python3-pyqt4 to build-depends - add new packages: python3-pykde4 python3-pykde4-dbg - add python3 support in rules - adjust python-kde4.install to only install python2 files - add cmake_no_bytecode.diff with a custom PythonMacros.cmake to work around PythonMacros.cmake from kde4libs breaking with python3 -- Philip Muškovac Tue, 15 May 2012 17:49:49 +0200 pykde4 (4:4.8.2-0ubuntu1) precise; urgency=low * New upstream release -- Philip Muškovac Sat, 31 Mar 2012 21:20:19 +0200 pykde4 (4:4.8.1-0ubuntu1) precise; urgency=low * New upstream release -- Philip Muškovac Sat, 03 Mar 2012 19:20:33 +0100 pykde4 (4:4.8.0-0ubuntu2) precise; urgency=low * Rebuild against python-qt4 4.9-2ubuntu3. (LP: #922721) -- Felix Geyer Sat, 28 Jan 2012 12:40:46 +0100 pykde4 (4:4.8.0-0ubuntu1) precise; urgency=low * New upstream release -- Jonathan Riddell Thu, 19 Jan 2012 12:01:24 +0000 pykde4 (4:4.7.97-0ubuntu1) precise; urgency=low * New upstream RC release -- Jonathan Riddell Wed, 04 Jan 2012 13:14:59 +0000 pykde4 (4:4.7.95-0ubuntu1) precise; urgency=low * New upstream release candidate -- Philip Muškovac Sat, 24 Dec 2011 17:33:53 +0100 pykde4 (4:4.7.90-0ubuntu1) precise; urgency=low * New upstream beta release -- Jonathan Riddell Sat, 17 Dec 2011 19:30:20 +0000 pykde4 (4:4.7.3-0ubuntu1) precise; urgency=low * New upstream release * Merge with Debian, remaining changes: - version number in boost build-dep -- Jonathan Riddell Fri, 25 Nov 2011 22:18:54 +0000 pykde4 (4:4.7.2-0r1) raring; urgency=low [ Modestas Vainius ] * Bump python-qt4 dependencies to 4.8.3-3~ (dh_python2 based). * Remove a hack for python-qt4 python-support. * Really make python-kde4 break plasma-scriptengine-python (fix a typo). [ José Manuel Santamaría Lema ] * Require KDE SC 4.7.2. * Bump soprano build depend to 2.7.0. * Update not-installed file. -- Modestas Vainius Sat, 30 Jul 2011 01:05:50 +0300 pykde4 (4:4.6.80-3) unstable; urgency=low * Add plasma-scriptengine-python (<< 4:4.6.5) to python-kde4 Breaks. Needed as python-support based plasma-scriptengine-python does not work with dh_python2 based python-kde4. * Fix GitWeb Vcs URL. * Move non-default python library to Suggests again. * Introduce a hack to restore compatibility with python-support based python-qt4. (Closes: #633499) -- Modestas Vainius Fri, 22 Jul 2011 12:10:12 +0300 pykde4 (4:4.6.80-2) unstable; urgency=low * "Bye bye to you, ugly monolithic kdebindings" release. [ Pino Toscano ] * Update the patches: - refresh - optional_install_sip_files.diff: fix small if()/endif() mismatch * Small touches to the descriptions. [ Modestas Vainius ] * Upload to unstable. -- Debian Qt/KDE Maintainers Mon, 04 Jul 2011 15:56:07 +0300 pykde4 (4:4.6.80-1) experimental; urgency=low * Initial standalone release: split off from kdebindings. * Below you will find notable changes from previous kdebindings packaging. [ Modestas Vainius ] * Require KDE SC 4.6.3. * Bump Standards-Version to 3.9.2: no changes needed. * Switch debian/rules engine to dhmk based debian-qt-kde.mk. * Pick pykde4 related patches from the kdebindings package and include them in this package. * Strip sequence numbers from the patch filenames. * Clean up Uploaders list. * Clean up Build-Depends list. * Add libboost-dev to Build-Depends. * Fix binNMUability of python-kde4-dev: depend on python-kde4 (>= ${source:Version}) rather than ${binary:Version}. python-kde4-dev is arch:all. * Switch to dh_python2 (thanks to Scott Kitterman): - drop python-support from Build-Depends; - use python2 dh addon in place of python-support; - drop XB-Python-Version control field and remove debian/pyversions; - add "X-Python-Version: >= 2.5" to the source section; - remove python-support specific hacks from debian/not-installed. * Drop pydefault make variable, not used anymore. * Execute pyversions "on demand". * Drop ${python:Depends} from python-kde4-dev Depends. * Add "Provides: ${python:Provides}" to python-kde4. * Optimize $(pyversions) check. * Improve python-kde4-doc description. * Add lintian overrides for usr/share/doc/python-kde4-doc/html/common/*-license. These are valid part of documentation. * Add kdebindings-dbg to python-kde4-dbg Breaks/Replaces. * Update debian/coypright. * Document all Debian patches. * Replace include_default_settings_in_python_cmakelist.diff patch with add_qt_kde_definitions.diff. Only add_definitions() part moved to the proper place remains. -- Modestas Vainius Thu, 30 Jun 2011 21:29:02 +0300 pykde4 (4:4.7.2-0ubuntu1) oneiric-proposed; urgency=low * New upstream release (LP: #872506) -- Jonathan Kolberg Thu, 13 Oct 2011 12:29:27 +0200 pykde4 (4:4.7.1-0ubuntu1) oneiric; urgency=low * New upstream release -- Jonathan Kolberg Sun, 04 Sep 2011 00:22:44 +0200 pykde4 (4:4.7.0-0ubuntu3) oneiric; urgency=low * No change rebuild against new PyQt (LP: #826321) -- Philip Muškovac Sun, 14 Aug 2011 16:54:58 +0200 pykde4 (4:4.7.0-0ubuntu2) oneiric; urgency=low * Finish switch to dh_python2 (cherrypick from Debian qt-kde git) - Bump python-qt/-dev depends/build-depends requirements to match dh_python2 versions - Drop build-dep on python-support * Drop obsolete XB-Python-Version field from debian/control -- Scott Kitterman Mon, 01 Aug 2011 12:45:23 -0400 pykde4 (4:4.7.0-0ubuntu1) oneiric; urgency=low * New upstream release -- Romain Perier Sat, 23 Jul 2011 09:58:56 +0200 pykde4 (4:4.6.90-0ubuntu2) oneiric; urgency=low * Only suggest libpython2.6 (i.e. libpython for the non-default python) so we don't pull python2.6 onto the CD * Update location for Vcs-* branch -- Scott Kitterman Thu, 21 Jul 2011 23:16:31 -0400 pykde4 (4:4.6.90-0ubuntu1) oneiric; urgency=low [ Romain Perier ] * Initial release: split off from kdebindings. * Packages rules synced with debian. [ Felix Geyer ] * Fix lintian warning not-binnmuable-all-depends-any python-kde4-dev -> python-kde4. -- Romain Perier Mon, 11 Jul 2011 12:42:17 +0200 debian/compat0000664000000000000000000000000212321607025010364 0ustar 7 debian/python-kde4.docs0000664000000000000000000000000712321607025012203 0ustar README debian/python-kde4-dev.links0000664000000000000000000000007412321607025013153 0ustar usr/share/pyshared/PyQt4/uic/pykdeuic4.py usr/bin/pykdeuic4 debian/control0000664000000000000000000001134312321607025010573 0ustar Source: pykde4 Section: python Priority: optional Maintainer: Kubuntu Developers XSBC-Original-Maintainer: Debian Qt/KDE Maintainers Build-Depends: debhelper (>= 7.3), cmake, pkg-kde-tools (>= 0.12), kdelibs5-dev (>= 4:4.13.0), kdepimlibs5-dev (>= 4:4.13.0), libphonon-dev (>= 4:4.6.0really4.4.4), libsoprano-dev (>= 2.7.0), libqt4-dev (>= 4:4.7.1), libqt4-opengl-dev (>= 4:4.7.1), libqtwebkit-dev, libboost1.54-dev, shared-desktop-ontologies (>= 0.8), python-all-dev (>= 2.6.6-3~), python3-all-dev, python-sip-dev (>= 4.15.2~), python3-sip-dev, pkg-config, python-qt4 (>= 4.10.3-1ubuntu1), python3-pyqt4, python-qt4-dev (>= 4.9) Uploaders: Sune Vuorela , Modestas Vainius , Michael Meskes Standards-Version: 3.9.3 X-Python-Version: >= 2.5 X-Python3-Version: >= 3.2 Homepage: http://www.kde.org Vcs-Browser: http://bazaar.launchpad.net/~kubuntu-packagers/kubuntu-packaging/pykde4 Vcs-Bzr: https://code.launchpad.net/~kubuntu-packagers/kubuntu-packaging/pykde4 X-Debian-Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-sc/pykde4.git X-Debian-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-sc/pykde4.git Package: python-kde4 Architecture: any Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, python-qt4 (>= 4.8.3-3~), ${sip:Depends}, python-sip Suggests: ${shlibs:Suggests} Breaks: plasma-scriptengine-python (<< 4:4.6.5), python-qt4 (<< 4.8.3-3~) Description: Python bindings for the KDE Development Platform This package contains PyKDE, the Python bindings for the KDE libraries, that allow you to write KDE programs using Python instead of C++. It contains at least the following modules under the PyKDE namespace: . * dnssd * kdecore * kdeui * khtml * kio * knewstuff * kparts * kterminal * ktexteditor * kutils * nepomuk * plasma * solid . And a few KDE related technologies like: . * akonadi * phonon * soprano . This package provides modules for all supported Python versions. Package: python-kde4-dev Architecture: all Depends: ${misc:Depends}, python-kde4 (>= ${source:Version}), python-qt4 (>= 4.8.3-3~) Breaks: python-kde4 (<< ${source:Version}) Description: UIC compiler and SIP files for PyKDE This package contains pykdeuic4, a wrapper around PyQt's own UIC (user interface compiler). It is needed to generate code from Qt Designer's UI files. You want to install this package if you are writing a PyKDE application which has .ui files, or running one of these applications from source. . It also contains the .sip files for PyKDE, needed to build packages with classes based on PyKDE. Package: python-kde4-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: documentation and examples for PyKDE This package contains API documentation for PyKDE, and some example code showing how to use it. You will probably want to install this package if you are developing applications based on PyKDE. Package: python-kde4-dbg Section: debug Architecture: any Priority: extra Depends: ${misc:Depends}, kdelibs5-dbg, python-kde4 (= ${binary:Version}), python-dbg Recommends: python-qt4-dbg Breaks: kdebindings-dbg Replaces: kdebindings-dbg Description: debugging symbols for the PyKDE bindings This package contains debugging files used to investigate problems with Python bindings for the KDE Development Platform. Install this package if you are experiencing crashes of the PyKDE application and wish to report a problem to the developers. Package: python3-pykde4 Architecture: any Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends}, python3-pyqt4, ${sip3:Depends}, python3-sip Description: Python 3 bindings for the KDE Development Platform This package contains PyKDE, the Python 3 bindings for the KDE libraries, that allow you to write KDE programs using Python 3 instead of C++. It contains at least the following modules under the PyKDE namespace: . * dnssd * kdecore * kdeui * khtml * kio * knewstuff * kparts * kterminal * ktexteditor * kutils * nepomuk * plasma * solid . And a few KDE related technologies like: . * akonadi * phonon * soprano . This package provides modules for all supported Python 3 versions. Package: python3-pykde4-dbg Section: debug Architecture: any Priority: extra Depends: ${misc:Depends}, kdelibs5-dbg, python3-pykde4 (= ${binary:Version}), python3-dbg Recommends: python3-pyqt4-dbg Description: debugging symbols for PyKDE bindings for Python 3 This package contains debugging files used to investigate problems with Python 3 bindings for the KDE Development Platform. Install this package if you are experiencing crashes of the PyKDE application and wish to report a problem to the developers. debian/python-kde4.lintian-overrides0000664000000000000000000000006712321607025014717 0ustar python-kde4: maintainer-script-ignores-errors postinst debian/python3-pykde4.install0000664000000000000000000000044012321607025013356 0ustar usr/lib/kde4/kpythonpluginfactory.cpython-* usr/lib/python3/*-packages/PyKDE4/*.so usr/lib/python3/*-packages/PyKDE4/__init__.py usr/lib/python3/*-packages/PyKDE4/pykdeconfig.py usr/lib/python3/*-packages/PyQt4/uic/pykdeuic4.py usr/lib/python3/*-packages/PyQt4/uic/widget-plugins/kde4.py debian/patches/0000775000000000000000000000000012321607025010615 5ustar debian/patches/optional_install_sip_files.diff0000664000000000000000000000304312321607025017057 0ustar From: Sune Vuorela Subject: Install sip files only when building for default python version Forwarded: not-needed Origin: vendor Last-Update: 2011-07-01 Make it possible to only install the sip files under some conditions Index: b/CMakeLists.txt =================================================================== --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -280,16 +280,21 @@ python_install(${CMAKE_CURRENT_BINARY_DI # Install the .sip files for anyone that wants to build bindings on top of PyKDE4. # (Don't forget the / at the end of sip/.) -install(DIRECTORY sip/ DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4 - PATTERN "*~" EXCLUDE # This sucks, why can't I just whitelist what I _do_ want? - PATTERN ".svn" EXCLUDE - PATTERN "*.in" EXCLUDE) +if(DEFAULT_PYTHON_VERSION) + install(DIRECTORY sip/ DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4 + PATTERN "*~" EXCLUDE # This sucks, why can't I just whitelist what I _do_ want? + PATTERN ".svn" EXCLUDE + PATTERN "*.in" EXCLUDE) + message("Installing sip files in this build pass") +else(DEFAULT_PYTHON_VERSION) + message("Not installing sip files in this build pass") +endif(DEFAULT_PYTHON_VERSION) add_subdirectory(tools) #add_subdirectory(docs) add_subdirectory(examples) -if (PYTHON_VERSION_MAJOR LESS 3) +if (PYTHON_VERSION_MAJOR LESS 3 AND DEFAULT_PYTHON_VERSION) add_subdirectory(kpythonpluginfactory) -endif () +endif (PYTHON_VERSION_MAJOR LESS 3 AND DEFAULT_PYTHON_VERSION) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) debian/patches/pythonpluginfactory_use_versioned_python_lib.diff0000664000000000000000000000131312321607025022756 0ustar From: Sune Vuorela Subject: Make kpythonfactory dlopen versioned python library. Bug-Debian: http://bugs.debian.org/524685 Bug-Debian: http://bugs.debian.org/541999 Last-Update: 2009-09-19 Forwarded: no Origin: vendor Otherwise, python-dev would be needed for Python Plugin factory to work. --- a/kpythonpluginfactory/kpythonpluginfactory.cpp +++ b/kpythonpluginfactory/kpythonpluginfactory.cpp @@ -307,7 +307,7 @@ QLibrary *LoadPythonLibrary() { QLibrary *pythonLib = new QLibrary(); pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint); - pythonLib->setFileName(LIB_PYTHON); + pythonLib->setFileName(LIB_PYTHON ".1"); pythonLib->load(); return pythonLib; } debian/patches/kubuntu_include_dirs.diff0000664000000000000000000000213112321607025015665 0ustar Description: use multiarch include dirs --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- pykde4-4.9.98.orig/CMakeLists.txt +++ pykde4-4.9.98/CMakeLists.txt @@ -8,6 +8,7 @@ find_package(KDE4 4.9.4 REQUIRED) # Match what's used in the main macros cmake_policy(SET CMP0002 OLD) find_package(PythonLibrary) +find_package(PythonLibs) @@ -82,6 +83,7 @@ set_package_properties(PolkitQt PROPERTI "Required to build Python Polkit bindings") include_directories( + ${PYTHON_INCLUDE_DIRS} ${PYTHON_INCLUDE_PATH} ${SIP_INCLUDE_DIR} ${QT_INCLUDE_DIR} debian/patches/series0000664000000000000000000000053412321607025012034 0ustar python_modules_dont_link_against_libpython.diff add_qt_kde_definitions.diff fix_kpythonpluginfactory_build.diff make_pykde4_respect_sip_flags.diff pythonpluginfactory_use_versioned_python_lib.diff optional_install_sip_files.diff python3.3.diff pythonpluginfactory_python3.diff kubuntu_include_dirs.diff kubuntu_kpythonpluginfactory_3.2support.diff debian/patches/python3.3.diff0000664000000000000000000000110012321607025013204 0ustar Index: pykde4-4.11.1+git20130916/CMakeLists.txt =================================================================== --- pykde4-4.11.1+git20130916.orig/CMakeLists.txt 2013-09-17 00:00:49.654363162 -0400 +++ pykde4-4.11.1+git20130916/CMakeLists.txt 2013-09-17 00:00:49.646363163 -0400 @@ -15,6 +15,9 @@ include(MacroLibrary) include(PythonMacros) include(FeatureSummary) +find_package(PkgConfig REQUIRED) +# this doesn't work ... +pkg_check_modules(PYTHON xpython${_CURRENT_VERSION}) option(PYKDEUIC4_ALTINSTALL "Enable parallel-installation of the PyKDE4 tools" FALSE) debian/patches/python_modules_dont_link_against_libpython.diff0000664000000000000000000000225512321607025022363 0ustar From: Adeodato Simó Subject: Do not let python modules link against libpython. Forwarded: no Origin: vendor Last-Update: 2008-01-25 Do not link python modules against -lpython2.X. Since KDE4's cmake file uses --no-undefined by default, we have to remove that from the default CMAKE_SHARED_LINKER_FLAGS variable, but only for the pykde4 subdirectory. Index: pykde4-4.11.1+git20130916/CMakeLists.txt =================================================================== --- pykde4-4.11.1+git20130916.orig/CMakeLists.txt 2013-09-17 00:00:11.334364295 -0400 +++ pykde4-4.11.1+git20130916/CMakeLists.txt 2013-09-17 00:00:11.326364295 -0400 @@ -129,6 +129,9 @@ add_definitions(-D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DUSING_SOPRANO_NRLMODEL_UNSTABLE_API -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public) +# Do not use --no-undefined for python modules. +STRING(REPLACE -Wl,--no-undefined "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}") + file(GLOB kdecore_files_sip sip/kdecore/*.sip) set(SIP_EXTRA_FILES_DEPEND ${kdecore_files_sip}) add_sip_python_module(PyKDE4.kdecore sip/kdecore/kdecoremod.sip ${KDE4_KDECORE_LIBS} ${KDE4_KPTY_LIBS} ${QT_QTNETWORK_LIBRARY}) debian/patches/fix_kpythonpluginfactory_build.diff0000664000000000000000000000147012321607025020001 0ustar From: Modestas Vainius Subject: Include Python.h first as Qt includes steal "slots" keyword Forwarded: no Origin: vendor Last-Update: 2008-12-05 Index: pykde4-4.9.80/kpythonpluginfactory/kpythonpluginfactory.cpp =================================================================== --- pykde4-4.9.80.orig/kpythonpluginfactory/kpythonpluginfactory.cpp 2012-11-14 16:14:05.000000000 +0000 +++ pykde4-4.9.80/kpythonpluginfactory/kpythonpluginfactory.cpp 2012-11-19 17:23:32.497203781 +0000 @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ +#include #include #include #include @@ -25,7 +26,6 @@ #include #include #include -#include #include #include debian/patches/kubuntu_kpythonpluginfactory_3.2support.diff0000664000000000000000000000215512321607025021551 0ustar Index: b/kpythonpluginfactory/kpythonpluginfactory.cpp =================================================================== --- a/kpythonpluginfactory/kpythonpluginfactory.cpp +++ b/kpythonpluginfactory/kpythonpluginfactory.cpp @@ -33,6 +33,12 @@ #define PY3 #endif +#if PY_MAJOR_VERSION >= 3 +#if PY_MINOR_VERSION >= 2 +#define PY3.2 +#endif +#endif + /* This implements a plugin factory for running Python plugins. It also supports io-slaves with a kdemain() entry point. @@ -106,8 +112,13 @@ void KPythonPluginFactory::initialize() kDebug() << "Initializing Python interpreter."; pythonLib = LoadPythonLibrary(); +#ifdef PY3.2 + Py_Initialize (); + PyEval_InitThreads (); +#else PyEval_InitThreads (); Py_Initialize (); +#endif if (!Py_IsInitialized ()) { //pythonInit = 0; @@ -117,8 +128,10 @@ void KPythonPluginFactory::initialize() kDebug() << "Succesfully initialized Python interpreter."; threadState = PyThreadState_GET(); +#ifndef PY3.2 // free the lock PyEval_ReleaseLock(); +#endif } } debian/patches/add_qt_kde_definitions.diff0000664000000000000000000000124112321607025016117 0ustar From: Sune Vuorela From: Modestas Vainius Subject: define Qt/KDE definitions when building standalone Forwarded: no Last-Update: 2011-06-30 Origin: vendor Index: b/CMakeLists.txt =================================================================== --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,8 @@ set_package_properties(PythonInterp PROP include_directories(${KDE4_INCLUDES}) +add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT3_SUPPORT) + find_package(SIP) set_package_properties(SIP PROPERTIES DESCRIPTION "The SIP binding generator" URL "http://riverbankcomputing.com" TYPE REQUIRED debian/patches/pythonpluginfactory_python3.diff0000664000000000000000000000763512321607025017276 0ustar Enable kpythonpluginfactory to build for Python 3 as well. Should be upstreamed after more testing. Note: It is OK for the Python and Python3 versions to have the same name because of the version specific ABI tags in Python 3 so files and the fact that Python 3 interpreters will search for those first. Copyright (C) 2012 Barry A. Warsaw Index: pykde4-4.11.1+git20130916/kpythonpluginfactory/kpythonpluginfactory.cpp =================================================================== --- pykde4-4.11.1+git20130916.orig/kpythonpluginfactory/kpythonpluginfactory.cpp 2013-09-17 00:01:03.134362764 -0400 +++ pykde4-4.11.1+git20130916/kpythonpluginfactory/kpythonpluginfactory.cpp 2013-09-17 00:01:03.126362764 -0400 @@ -29,6 +29,10 @@ #include #include +#if PY_MAJOR_VERSION >= 3 +#define PY3 +#endif + /* This implements a plugin factory for running Python plugins. It also supports io-slaves with a kdemain() entry point. @@ -347,17 +351,48 @@ PyObject *pModule; char *protocol = argv[1]; +#ifdef PY3 + /* Python 3 requires wchar_t*s for its Py_SetProgramName() and + PySys_SetArgv() calls. Python 2 uses the typical char*s. This is + probably not the best way to do it, but the algorithm is based on + Python 3's main(). + */ + wchar_t **program_args = (wchar_t **)PyMem_Malloc( + sizeof(wchar_t *) * (argc + 1)); + char *old_locale; + const char *argv_i; + + if (!program_args) { + /* out of memory */ + Py_FatalError("out of memory"); + } + for (int i = 0; i < argc; i++) { + program_args[i] = (wchar_t *)PyMem_Malloc( + sizeof(wchar_t) * (strlen(argv[i]) + 1)); + if (!program_args[i]) { + Py_FatalError("out of memory"); + } + argv_i = argv[i]; + if (mbsrtowcs(program_args[i], &argv_i, strlen(argv[i]), NULL) < 0) { + /* The conversion failed. */ + Py_FatalError("conversion to wchar_t* failed"); + } + } +#else + char **program_args = argv; +#endif // PY3 + kDebug() << "Python kioslave starting"; KComponentData slave(protocol); kDebug() << "Created KComponentData for protocol " << protocol; QLibrary *pyLib = LoadPythonLibrary(); - Py_SetProgramName(argv[0]); + Py_SetProgramName(program_args[0]); Py_Initialize(); //PyEval_InitThreads(); - PySys_SetArgv(1, argv); + PySys_SetArgv(1, program_args); QString completePath = KStandardDirs::locate("data", QString("kio_python/%1/%2.py").arg(protocol).arg(protocol)); kDebug() << "Path to Python kioslace is " << completePath; @@ -388,8 +423,8 @@ } PyObject *pClass, *pArgs, *pArg1, *pArg2; pArgs = PyTuple_New(2); - pArg1 = PyString_FromString(argv[2]); - pArg2 = PyString_FromString(argv[3]); + pArg1 = PyBytes_FromString(argv[2]); + pArg2 = PyBytes_FromString(argv[3]); PyTuple_SetItem(pArgs, 0, pArg1); PyTuple_SetItem(pArgs, 1, pArg2); RunFunction(factoryFunction, pArgs); Index: pykde4-4.11.1+git20130916/CMakeLists.txt =================================================================== --- pykde4-4.11.1+git20130916.orig/CMakeLists.txt 2013-09-17 00:01:03.134362764 -0400 +++ pykde4-4.11.1+git20130916/CMakeLists.txt 2013-09-17 00:01:03.126362764 -0400 @@ -296,8 +296,10 @@ add_subdirectory(tools) #add_subdirectory(docs) add_subdirectory(examples) -if (PYTHON_VERSION_MAJOR LESS 3 AND DEFAULT_PYTHON_VERSION) +# Due to version specific ABI tagging in Python 3 so files, we can build for +# all Python 3 versions without a problem. +if ((PYTHON_VERSION_MAJOR LESS 3 AND DEFAULT_PYTHON_VERSION) OR PYTHON_VERSION_MAJOR GREATER 2) add_subdirectory(kpythonpluginfactory) -endif (PYTHON_VERSION_MAJOR LESS 3 AND DEFAULT_PYTHON_VERSION) +endif ((PYTHON_VERSION_MAJOR LESS 3 AND DEFAULT_PYTHON_VERSION) OR PYTHON_VERSION_MAJOR GREATER 2) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) debian/patches/make_pykde4_respect_sip_flags.diff0000664000000000000000000000211312321607025017415 0ustar From: Michael Casadevall Subject: Respect Qt SIP flags Forwarded: no Origin: Last-Update: 2009-04-15 Corrects FTBFS on armel by making sure pykde4 properly parses the python-qt4 flags passed from PythonQt4's cmake file. Index: pykde4-4.11.1+git20130916/CMakeLists.txt =================================================================== --- pykde4-4.11.1+git20130916.orig/CMakeLists.txt 2013-09-17 00:00:30.678363723 -0400 +++ pykde4-4.11.1+git20130916/CMakeLists.txt 2013-09-17 00:00:30.670363723 -0400 @@ -103,6 +103,9 @@ ${KDEPIMLIBS_INCLUDE_DIRS} ) +# Pull in ARM configuration options if needed +STRING(REGEX MATCH "PyQt_qreal_double" SIP_ARM_HACK ${PYQT4_SIP_FLAGS} "") + set(SIP_INCLUDES ${PYQT4_SIP_DIR} sip) set(SIP_CONCAT_PARTS 8) if (WIN32) @@ -110,7 +113,7 @@ else () set(SIP_TAGS ALL WS_X11 ${PYQT4_VERSION_TAG}) endif () -set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug) +set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug ${SIP_ARM_HACK}) # Use an extra option when compiling on Python 3. if (PYTHON_VERSION_MAJOR GREATER 2) debian/python-kde4.install0000664000000000000000000000044312321607025012725 0ustar usr/lib/kde4/kpythonpluginfactory.so usr/lib/python2.*/*-packages/PyKDE4/*.so usr/lib/python2.*/*-packages/PyKDE4/__init__.py usr/lib/python2.*/*-packages/PyKDE4/pykdeconfig.py usr/lib/python2.*/*-packages/PyQt4/uic/pykdeuic4.py usr/lib/python2.*/*-packages/PyQt4/uic/widget-plugins/kde4.py debian/python-kde4-doc.install0000664000000000000000000000016112321607025013465 0ustar #usr/share/doc/kde/HTML/en/pykde4/ usr/share/kde4/apps/pykde4/examples docs/html usr/share/doc/python-kde4-doc/ debian/python-kde4-doc.lintian-overrides0000664000000000000000000000041712321607025015461 0ustar python-kde4-doc: extra-license-file usr/share/doc/python-kde4-doc/html/common/fdl-license python-kde4-doc: extra-license-file usr/share/doc/python-kde4-doc/html/common/gpl-license python-kde4-doc: extra-license-file usr/share/doc/python-kde4-doc/html/common/lgpl-license debian/not-installed0000664000000000000000000000431612321607025011672 0ustar #Python *.pyc files. ./usr/lib/python2.7/dist-packages/PyKDE4/__init__.pyc ./usr/lib/python2.7/dist-packages/PyKDE4/pykdeconfig.pyc ./usr/lib/python2.7/dist-packages/PyQt4/uic/pykdeuic4.pyc ./usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/kde4.pyc # dh_python3 renames them ./usr/lib/python3/dist-packages/PyKDE4/akonadi.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/dnssd.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/kdecore.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/kdeui.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/khtml.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/kio.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/knewstuff.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/kparts.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/kterminal.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/ktexteditor.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/kutils.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/nepomuk.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/phonon.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/plasma.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/solid.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/soprano.cpython-33m.so ./usr/lib/python3/dist-packages/PyKDE4/akonadi.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/dnssd.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/kdecore.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/kdeui.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/khtml.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/kio.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/knewstuff.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/kparts.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/kterminal.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/ktexteditor.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/kutils.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/nepomuk.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/phonon.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/plasma.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/solid.cpython-34m.so ./usr/lib/python3/dist-packages/PyKDE4/soprano.cpython-34m.so