--- pyglet-1.1.2.dfsg.orig/debian/pycompat +++ pyglet-1.1.2.dfsg/debian/pycompat @@ -0,0 +1 @@ +2 --- pyglet-1.1.2.dfsg.orig/debian/control +++ pyglet-1.1.2.dfsg/debian/control @@ -0,0 +1,29 @@ +Source: pyglet +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Michael Hanke , + Per B. Sederberg , + Ondrej Certik , Stephan Peijnik +Build-Depends: cdbs, debhelper (>= 5), python-support (>= 0.6), python +Standards-Version: 3.8.0 +Homepage: http://www.pyglet.org +Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyglet/trunk +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyglet/trunk/?op=log +XS-DM-Upload-Allowed: yes + + +Package: python-pyglet +Architecture: all +Depends: ${shlibs:Depends}, ${python:Depends}, python-ctypes | python (>= 2.5), libgtk2.0-0, libgl1 | libgl1-mesa-swx11, libglu1 | libglu1-mesa +Recommends: libasound2 | libopenal0a +Provides: ${python:Provides} +Description: a cross-platform windowing and multimedia library + This library provides an object-oriented programming interface for developing + games and other visually-rich applications with Python. + pyglet has virtually no external dependencies. For most applications and game + requirements, pyglet needs nothing else besides Python, simplifying + distribution and installation. It also handles multiple windows and + fully aware of multi-monitor setups. + . + pyglet might be seen as an alternative to PyGame. --- pyglet-1.1.2.dfsg.orig/debian/TODO +++ pyglet-1.1.2.dfsg/debian/TODO @@ -0,0 +1,20 @@ +A permanent TODO for the maintainer is to track the library dependencies. +Pyglet does not link to any library but loads them dynamically. Therefore +it is the maintainers duty to track the package dependencies. + +Dependencies as of 1.0beta3: + * libasound2 + * libopenal0a + * libfreetype (libfontconfig1) + * libgtk2.0-0 (libx11-6, libxinerama1) + * libgl1 + * libglu1 + +Currently only of the ALSA and OPENAL drivers has to be present to fulfill the +package dependencies. + + +Package contains examples which use resources, such as sound or image files, +wich are explicitly marked as being non-free, so we need to repackage +it and remove those directories. Upstream has been notified about this and +is working to get these problems solved by the next upstream release. --- pyglet-1.1.2.dfsg.orig/debian/compat +++ pyglet-1.1.2.dfsg/debian/compat @@ -0,0 +1 @@ +5 --- pyglet-1.1.2.dfsg.orig/debian/copyright +++ pyglet-1.1.2.dfsg/debian/copyright @@ -0,0 +1,56 @@ +This package was debianized by Per B. Sederberg on +Thu, 18 Oct 2007 11:16:28 -0400. + +It was downloaded from http://www.pyglet.org + +The doc directory was removed due to missing sources to generate the pdf and +html documentation. + +Upstream Author: + + Alex Holkner + +Copyright: + + Copyright 2006-2007 Alex Holkner + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + +pyglet includes contributions from the following organisations and +individuals: + +Blue Box Devices +Anthony Baxter +Alan Green +Richard Jones +Tobias Sargeant + +pyglet/window/win32/constants.py is derived from Python for Windows +Extensions. Copyright 1994-2001 Mark Hammond. + +pyglet/image/codecs/pypng.py is derived from png.py. Copyright 2006 +Johann C. Rocholl. + +The Debian packaging is (C) 2007, Per B. Sederberg + 2007-2008, Michael Hanke + 2008, Ondrej Certik , + 2008, Stephan Peijnik +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pyglet-1.1.2.dfsg.orig/debian/pyversions +++ pyglet-1.1.2.dfsg/debian/pyversions @@ -0,0 +1 @@ +2.4- --- pyglet-1.1.2.dfsg.orig/debian/changelog +++ pyglet-1.1.2.dfsg/debian/changelog @@ -0,0 +1,52 @@ +pyglet (1.1.2.dfsg-1) unstable; urgency=low + + * New upstream release. + * Updated debian/rules: get-orig-sources now also removes the documentation + due to unclean licensing in pyglet-1.1.2. + * Added PYGLET_VERSION variable in debian/rules to simplify + updating of get-orig-sources. + + -- Stephan Peijnik Fri, 31 Oct 2008 00:29:13 +0100 + +pyglet (1.1.1.dfsg.2-1) unstable; urgency=low + + * Removed examples broken by the removal of non-free files as per the + upstream maintainer's request. + * Updated debian/copyright: + - Removed notices for files not in upstream tarball anymore. + - Added myself to copyright holders of Debian packaging. + * Updated debian/rules: + - Repackaging as pyglet-1.1.1.dfsg.2. + + -- Stephan Peijnik Tue, 16 Sep 2008 11:48:42 +0200 + +pyglet (1.1.1.dfsg-1) unstable; urgency=low + + [ Stephan Peijnik ] + * New upstream release (Closes: #494367). + * Updated debian/control: + - Added myself as uploader. + - Updated Standards-Version. + * Updated debian/rules: Updated get-orig-sources to remove non-free examples. + * Updated debian/TODO: + - Removed note about documentation + - Added information about non-free files being removed. + * Updated debian/watch: Added dversionmangle option. + + -- Ondrej Certik Sun, 14 Sep 2008 23:56:18 +0200 + +pyglet (1.0.dfsg-1) unstable; urgency=low + + [ Michael Hanke ] + * Initial release (Closes: #459729). + * The whole debian packaging, except the changes described below: + + [ Ondrej Certik ] + * debian/watch fixed to work with the latest pyglet release (1.0) + * maintainer changed to Debian Python Modules Team + * Vcs-Browser and Vcs-Svn fields changed to the DPMT svn repository + * Ondrej Certik added to uploaders + * DM-Upload-Allowed: yes field added + * get-orig-sources rule added to debian/rules to create the dfsg.orig.tar.gz + + -- Ondrej Certik Sat, 16 Feb 2008 13:13:35 +0100 --- pyglet-1.1.2.dfsg.orig/debian/docs +++ pyglet-1.1.2.dfsg/debian/docs @@ -0,0 +1,3 @@ +README +doc/* +tools --- pyglet-1.1.2.dfsg.orig/debian/rules +++ pyglet-1.1.2.dfsg/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +DEB_PYTHON_SYSTEM = pysupport +include /usr/share/cdbs/1/class/python-distutils.mk + + +DEB_COMPRESS_EXCLUDE := .py +DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG +PYGLET_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p' | sed -rne 's,\.dfsg.*$\,,p') + +get-orig-sources: + wget http://pyglet.googlecode.com/files/pyglet-$(PYGLET_VERSION).tar.gz + tar xzf pyglet-$(PYGLET_VERSION).tar.gz + # Remove examples with unclean licensing. + # + # Resources (images, sound files, etc.) needed by these examples + # have no license attached and thus are non-free. + rm -rf pyglet-$(PYGLET_VERSION)/examples/astraea/ + rm -rf pyglet-$(PYGLET_VERSION)/examples/noisy/ + rm -rf pyglet-$(PYGLET_VERSION)/examples/soundspace/ + rm -f pyglet-$(PYGLET_VERSION)/examples/pyglet.png + rm -f pyglet-$(PYGLET_VERSION)/examples/html_label.py + rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/animation.py + rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/image_viewer.py + rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/dinosaur.gif + rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/kitten.jpg + + # Remove complete doc/ folder (unclean licensing). Present in + # pyglet-1.1.2. + rm -rf pyglet-$(PYGLET_VERSION)/doc + + # Remove tools that come without copyright and/or license notice. + rm -f pyglet-$(PYGLET_VERSION)/tools/inspect_font.py + + tar czf pyglet_$(PYGLET_VERSION).dfsg.orig.tar.gz pyglet-$(PYGLET_VERSION) + rm -r pyglet-$(PYGLET_VERSION) pyglet-$(PYGLET_VERSION).tar.gz --- pyglet-1.1.2.dfsg.orig/debian/python-pyglet.examples +++ pyglet-1.1.2.dfsg/debian/python-pyglet.examples @@ -0,0 +1,2 @@ +examples/* + --- pyglet-1.1.2.dfsg.orig/debian/watch +++ pyglet-1.1.2.dfsg/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=dversionmangle=s/\.dfsg\.\d+$// \ + http://code.google.com/p/pyglet/ \ + http://pyglet.googlecode.com/files/pyglet-(.*)\.tar\.gz