debian/0000755000000000000000000000000011656603247007200 5ustar debian/compat0000644000000000000000000000000211211242132010351 0ustar 7 debian/patches/0000755000000000000000000000000011656603247010627 5ustar debian/patches/series0000644000000000000000000000004711564457161012045 0ustar no_docs platform_startswith opengl_fix debian/patches/opengl_fix0000644000000000000000000000152211564457161012704 0ustar Description: This corrects import error when compiled with new g++ linker. Author: Julian Taylor Index: pyfltk-1.1.5/setup.py =================================================================== --- pyfltk-1.1.5.orig/setup.py 2011-05-16 16:52:59.000000000 -0500 +++ pyfltk-1.1.5/setup.py 2011-05-16 16:53:44.000000000 -0500 @@ -241,7 +241,7 @@ lowercase_item = item.lower() if string.find(lowercase_item, "pthread") >= 0: doMulti = True - if string.find(lowercase_item, "fltk") < 0 and string.find(lowercase_item, "gl") >= 0: + if string.find(lowercase_item, "fltk") >= 0 and string.find(lowercase_item, "gl") >= 0: doOpenGL = True if string.find(lowercase_item, "fltk") >= 0 and string.find(lowercase_item, "forms") >= 0: doForms = True debian/patches/no_docs0000644000000000000000000000116111564457161012175 0ustar Description: Do not install documentation files with distutils, ship them in a separate package. Author: Luca Falavigna Index: pyfltk-1.1.3/setup.py =================================================================== --- pyfltk-1.1.3.orig/setup.py 2009-03-10 19:47:59.853448944 +0100 +++ pyfltk-1.1.3/setup.py 2009-03-10 19:48:16.597764723 +0100 @@ -306,7 +306,7 @@ description = 'This is a wrapper for the FLTK', ext_modules = [module1], packages = ['fltk'], - package_data={'fltk': ['test/*.*', 'docs/*.*']}, + package_data={'fltk': ['test/*.*']}, ) debian/patches/platform_startswith0000644000000000000000000000204111564457161014667 0ustar Description: Do not check only for "linux2" string when determining platform. Author: Luca Falavigna Index: pyfltk-1.1.4/setup.py =================================================================== --- pyfltk-1.1.4.orig/setup.py 2009-09-02 22:15:04.000000000 +0000 +++ pyfltk-1.1.4/setup.py 2009-09-02 22:15:00.000000000 +0000 @@ -76,8 +76,8 @@ lib_dir_list = [fltk_lib_dir] lib_list = ["fltk", "kernel32", "user32", "gdi32", "winspool", "comdlg32", "Comctl32", "advapi32", "shell32", "oleaut32", "odbc32", "odbccp32", "stdc++", "msvcr71"] #link_arg_list=["-Wl,--enable-runtime-pseudo-reloc", "-Wl,--enable-auto-import"] -elif sys.platform == 'linux2': - print "Building for Linux" +elif sys.platform.startswith('linux2') or sys.platform.startswith('gnukfreebsd') or sys.platform.startswith('gnu0'): + print "Building for Linux, or GNU/kFreeBSD, or GNU/Hurd" # ugly hack to force distutils to use g++ instead of gcc for linking from distutils import sysconfig # changes the linker from gcc to g++ debian/rules0000755000000000000000000000015111524072773010253 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_strip: dh_strip --dbg-package=python-fltk-dbg debian/docs0000644000000000000000000000000711156041613010034 0ustar README debian/python-fltk-doc.doc-base0000644000000000000000000000046711402664316013621 0ustar Document: python-fltk Title: python-fltk documentation Author: Andreas Held Abstract: This manual describes what python-fltk is and how it can be used to integrate with Fltk. Section: Help/Books Format: HTML Index: /usr/share/doc/python-fltk-doc/CH0_Preface.html Files: /usr/share/doc/python-fltk-doc/*.html debian/control0000644000000000000000000000330411655447637010613 0ustar Source: pyfltk Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Charlie Smotherman Build-Depends: debhelper (>= 7.3.5), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~), libfltk1.3-dev, mesa-common-dev X-Python-Version: >= 2.6 Standards-Version: 3.9.2 Homepage: http://pyfltk.sourceforge.net/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyfltk/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyfltk/trunk/ Package: python-fltk Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Breaks: ${python:Breaks} Description: Python wrapper for the Fast Light Toolkit pyFltk provides a Python wrapper for the Fast Light Tool Kit cross-platform graphical user-interface library (http://www.fltk.org/). . This package contains the wrapper itself. Package: python-fltk-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: python-fltk Description: Documentation for pyFltk pyFltk provides a Python wrapper for the Fast Light Tool Kit cross-platform graphical user-interface library (http://www.fltk.org/). . This package contains pyFltk documentation. Package: python-fltk-dbg Section: debug Priority: extra Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-dbg (>= 2.6.6-3), python-fltk (= ${binary:Version}) Description: Python wrapper for the Fast Light Toolkit - Debugging symbols pyFltk provides a Python wrapper for the Fast Light Tool Kit cross-platform graphical user-interface library (http://www.fltk.org/). . This package contains debugging symbols. debian/python-fltk-dbg.install0000644000000000000000000000007011233430405013557 0ustar debian/tmp/usr/lib/python2.*/*-packages/fltk/_fltk_d.so debian/changelog0000644000000000000000000000733511656603007011054 0ustar pyfltk (1.3.0-1) unstable; urgency=low * New upstream release. * Increased libfltk1.1 to libfltk1.3 in debian/control. * Increased Standards Version to 3.9.2, no changes needed. * Corrected some spacing in debian/control for consistency. * Update debian copyright to newest version of DEP5 -- Charlie Smotherman Wed, 02 Nov 2011 16:03:14 -0500 pyfltk (1.1.5-4) unstable; urgency=low * Added debian/patches/opengl_fix. This corrects the inability to import pyfltk when compiled with the new g++ linker. Thx Julian Taylor for the patch. (Closes: #626120 LP: #779340) * Updated debian/patches/platform_startswith, debian/patches/no_docs with DEP3 info. * Updated debian/copyright to DEP5 rev173 -- Charlie Smotherman Mon, 17 May 2011 17:09:57 -0500 pyfltk (1.1.5-3) unstable; urgency=low * debian/control: - after a discussion with Luca Falavigna, I am taking over maintenance of the package. Added my info to Maintainers: field. - bumped Standards-Version to 3.9.1, no changes needed. - increased python version to (>=2.6.6-3). - use X-P-V and increase to >=2.6 - removed dummy package stanza's. - drop Conflicts/Replaces fields. * debian/rules - added "--with python2". * Removed debian/pyversions as it is no longer needed. -- Charlie Smotherman Mon, 07 Feb 2011 04:18:27 -0500 pyfltk (1.1.5-2) unstable; urgency=low * debian/patches/platform_startswith: - Allow support for GNU/Hurd too. * debian/control: - Bump Standards-Version to 3.8.4, no changes required. * python-fltk-doc.doc-base: - Provide doc-base registration. -- Luca Falavigna Sun, 06 Jun 2010 11:22:37 +0200 pyfltk (1.1.5-1) unstable; urgency=low * New upstream release. * Switch to format 3.0 (quilt). * debian/patches/force_opengl_support: - Removed, proper fix has been implemented upstream. -- Luca Falavigna Sat, 09 Jan 2010 15:51:20 +0100 pyfltk (1.1.4-3) unstable; urgency=low * debian/patches/platform_startswith: - Do not check only for "linux2" string when determining platform, some do use of "linux2-*" or "gnukfreebsd-*", fix FTBFS. Thanks to Cyril Brulebois for his patch! (Closes: #544780). -- Luca Falavigna Thu, 03 Sep 2009 00:17:12 +0200 pyfltk (1.1.4-2) unstable; urgency=low * Update my e-mail address. * Remove DM-Upload-Allowed field. * Switch to debhelper 7, and use the feature to build the extension for every supported Python version. * Bump python-all-dev and libfltk1.1-dev build-dependencies to match versions supported upstream. * Rename python-pyfltk and python-pyfltk-doc respectively to python-fltk and python-fltk-doc to match module name, also provide transitional packages to ease upgrades. * Provide python-fltk-dbg package. * Add ${misc:Depends} to some build packages. * Bump Standards-Version to 3.8.3, no changes needed. -- Luca Falavigna Sat, 29 Aug 2009 20:31:13 +0200 pyfltk (1.1.4-1) unstable; urgency=low * New upstream release. * Refresh patches for new upstream release: - debian/patches/no_docs - debian/patches/force_opengl_support * Remove patches applied upstream: - debian/patches/Py_ssize_t * Add Provides: ${python:Provides} field. -- Luca Falavigna Tue, 12 May 2009 21:52:10 +0200 pyfltk (1.1.3-1) unstable; urgency=low [ Luca Falavigna ] * Initial release (Closes: #506646). [ Aaron M. Ucko ] * Set DM-Upload-Allowed so that Luca can upload future revisions directly. (FTR, I'm sponsoring this initial upload.) -- Aaron M. Ucko Fri, 13 Mar 2009 20:47:00 -0400 debian/install0000644000000000000000000000023211233430405010547 0ustar debian/tmp/usr/lib/python2.*/*-packages/fltk/_fltk.so debian/tmp/usr/lib/python2.*/*-packages/fltk/*.py debian/tmp/usr/lib/python2.*/*-packages/fltk/test debian/copyright0000644000000000000000000001766511655447637011162 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: pyFltk Upstream-Contact: Andreas Held Source: http://pyfltk.sourceforge.net/ Files: contrib/* Copyright: 2002, Greg Ercolano License: LGPL-2 Files: contrib/Fl_Table.cxx contrib/Fl_Table.H Copyright: 2002, Greg Ercolano Copyright: 2004, O'ksi'D License: LGPL-2 Files: fltk/docs/* Copyright: 1998-2006, Bill Spitzak 1998-2006, Michael Sweet 1998-2006, Craig P. Earls License: LGPL-2 Files: fltk/test/* Copyright: 1998-2003, Bill Spitzak and others 2003-2006, Andreas Held and others License: LGPL-2 Files: fltk/test/fltk_threads.py fltk/test/sudoku.py Copyright: 2005-2006, Michael Sweet. 1998-1999, Bill Spitzak and others 2003, Andreas Held and others License: LGPL-2 Files: fltk/test/simple_table.py fltk/test/table.py Copyright: 2003, Greg Ercolano 2003, Andreas Held and others 1998-1999, Bill Spitzak and others License: LGPL-2 Files: fltk/test/TextEditor.py Copyright: 2004, Chris Green 2003, Andreas Held and others 1998-1999, Bill Spitzak and others License: LGPL-2 License: LGPL-2 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 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 Library General Public License for more details. . You should have received a copy of the GNU Library 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 complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2'. Files: swig/* Copyright: 1995-1998, The University of Utah and the Regents of the University of California 1998-2005, University of Chicago 2005-2006, Arizona Board of Regents (University of Arizona) License: Expat License: Expat I. Copyright (c) 1995-1998 The University of Utah and the Regents of the University of California All Rights Reserved . Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that (1) The above copyright notice and the following two paragraphs appear in all copies of the source code and (2) redistributions including binaries reproduces these notices in the supporting documentation. Substantial modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated in all files where they apply. . IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . II. This software includes contributions that are Copyright (c) 1998-2005 University of Chicago. All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the University of Chicago 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 UNIVERSITY OF CHICAGO 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 UNIVERSITY OF CHICAGO 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. . III. This software includes contributions that are Copyright (c) 2005-2006 Arizona Board of Regents (University of Arizona). All Rights Reserved . Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that (1) The above copyright notice and the following two paragraphs appear in all copies of the source code and (2) redistributions including binaries reproduces these notices in the supporting documentation. Substantial modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated in all files where they apply. . THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA 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 UNIVERSITY OF ARIZONA 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, Luca Falavigna 2011, Charlie Smotherman License: GPL-3 License: GPL-3 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/python-fltk-doc.docs0000644000000000000000000000001411211252244013047 0ustar fltk/docs/* debian/source/0000755000000000000000000000000011656603247010500 5ustar debian/source/format0000644000000000000000000000001411322103003011655 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007111156041613010213 0ustar version=3 http://sf.net/pyfltk/pyFltk-([0-9.]*)\.tar\.gz