--- pyxine-0.1alpha2.orig/debian/changelog +++ pyxine-0.1alpha2/debian/changelog @@ -0,0 +1,122 @@ +pyxine (0.1alpha2-8) unstable; urgency=low + + * Team upload. + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + + [ Ryan Kavanagh ] + * Add missing build dependency on zlib1g-dev (Closes: #711801) + + -- Ryan Kavanagh Thu, 20 Jun 2013 18:04:40 -0400 + +pyxine (0.1alpha2-7) unstable; urgency=low + + * Team upload. + * Protect for loops in debian/rules with set -e. + * Fix FTBFS with GCC 4.5 (closes: #565068). Thanks to Matthias Klose for the + bug report and the patch. + * Bump standards version to 3.9.2 (no changes needed). + + -- Jakub Wilk Sat, 09 Apr 2011 20:51:06 +0200 + +pyxine (0.1alpha2-6) unstable; urgency=low + + [ Sandro Tosi ] + * debian/rules + - added directory search for empty dirs removal for -dbg package; + thanks to Adeodato Simó for spotting it out + - fixed confusion about spaces and tabs in clean target + * debian/control + - switch Vcs-Browser field to viewsvn + - bump Standards-Version to 3.8.3 + + added debian/README.source + - removed Section field from python-pyxine binary stanza + - added 'Section: debug' to -dbg package + - differentiate -dbg long description (improving also the short one) + * debian/copyright + - link to GPL-2 file + + [ Piotr Ożarowski ] + * Fix debian/watch to handle alpha versions correctly + + [ Julien Lavergne ] + * From Ubuntu, prepare for the future python transition: + - debian/rules: + + Include /usr/share/python/python.mk + + Add $(py_setup_install_args) to setup.py install + - debian/control: + + Bump build-depends to python-all-dev (>= 2.5.4-1~) + + -- Sandro Tosi Fri, 13 Nov 2009 20:07:43 +0100 + +pyxine (0.1alpha2-5) unstable; urgency=low + + * debian/control + - updated my email address + * debian/rules + - remove stuff not needed in the -dbg pkg (to avoid conflicts with + normal pkg); thanks to Lucas Nussbaum for the report; Closes: #502746 + + -- Sandro Tosi Tue, 21 Oct 2008 12:39:02 +0200 + +pyxine (0.1alpha2-4) unstable; urgency=low + + * Adopting package (Closes: #460975) + * debian/compat + - bump to 5 + * debian/control + - set DPMT as maintainer + - set myself as uploader + - bump Standard-Version 3.7.3 + - added homepage field + - added Vcs-{Svn,Browser} fields + - reformat of long description + - added ${misc:Depends} dep on binary package + - added debug package + - switch to python-support + * debian/watch + - added + * debian/copyright + - clear separation of license and copyright + - expanded license text + - added copyright note + - added copyright/license notes for file not sharing the main ones + * debian/rules + - used dpatch.make instead of explicit patch and upatch targets + - build/clean for all supported Python versions + - removed configure target since unneeded + - some commands changes in clean target + - added creation of debug package + - switch to python-support + - removed "-a" parameter from dh_* calls + - added debian/docs to dh_installdocs call + * debian/pycompat + - deleted + * debian/docs + - deleted + * debian/patches/amd64.dpatch + - renamed amd64.patch + - added dpatch header + + -- Sandro Tosi Sat, 16 Feb 2008 22:42:14 +0100 + +pyxine (0.1alpha2-3) unstable; urgency=low + + * Reintroduced into Debian (Closes: #369152) + + -- Jaldhar H. Vyas Wed, 1 Nov 2006 23:41:48 -0500 + +pyxine (0.1alpha2-2) unstable; urgency=low + + * Only build binary packages for the default Python version. + * Patch from Andreas Jochens to fix FTBFS on AMD64. (Closes: #297286) + * Build-Depend on dpatch. + + -- Joe Wreschnig Sun, 03 Apr 2005 18:33:40 -0500 + +pyxine (0.1alpha2-1) unstable; urgency=low + + * Initial Release. (Closes: #220304) + + -- Joe Wreschnig Tue, 11 Nov 2003 12:13:24 -0600 --- pyxine-0.1alpha2.orig/debian/compat +++ pyxine-0.1alpha2/debian/compat @@ -0,0 +1 @@ +5 --- pyxine-0.1alpha2.orig/debian/rules +++ pyxine-0.1alpha2/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +# Support for multiple Python versions inspired by python-pygame by +# Ed Boraas. + +include /usr/share/dpatch/dpatch.make +include /usr/share/python/python.mk + +PYVERS=$(shell pyversions -r) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: patch + +clean: unpatch + dh_testdir + dh_testroot + + rm -f build-stamp configure-stamp + + set -e; \ + for python in ${PYVERS} ; do \ + $$python setup.py clean; \ + $$python-dbg setup.py clean; \ + done + + [ ! -d build ] || rm -rf build + find . -name '*\.py[co]' -delete + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + set -e; \ + for python in ${PYVERS} ; do \ + $$python setup.py install --no-compile \ + --root=$(CURDIR)/debian/python-pyxine \ + $(py_setup_install_args); \ + $$python-dbg setup.py install --no-compile \ + --root=$(CURDIR)/debian/python-pyxine-dbg \ + $(py_setup_install_args); \ + done + + # remove things not needed in a debug package + find debian/python-pyxine-dbg ! -type d ! -name '*_d.so' | xargs rm -f + find debian/python-pyxine-dbg -type d -depth -empty -exec rmdir {} \; + +binary-indep: build install + # Nothing to be done here. + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs ChangeLog + dh_installdocs README TODO PKG-INFO HINTS + #dh_pysupport + dh_installexamples examples/* + dh_link + dh_strip -ppython-pyxine --dbg-package=python-pyxine-dbg + dh_compress -Xexamples + dh_pysupport + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- pyxine-0.1alpha2.orig/debian/copyright +++ pyxine-0.1alpha2/debian/copyright @@ -0,0 +1,72 @@ +This package was debianized by Joe Wreschnig on +Tue, 11 Nov 2003 12:13:24 -0600. + +It was downloaded from http://pyxine.sourceforge.net + +Upstream Author: + + Geoffrey T. Dairiki + +Copyright: + + Copyright (C) 2003 Geoffrey T. Dairiki + +License: + + Pyxine 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. + + Pyxine is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +The GNU GPL v2 is available at /usr/share/common-licenses/GPL-2 +on Debian systems. + +The following files have different copyright information: + +File: pyxine/libxine_wrap.c + This file was automatically generated by : Simplified Wrapper and + Interface Generator (SWIG) Version 1.1 (Patch 5) + + Portions Copyright (c) 1995-1998 + The University of Utah and The Regents of the University of + California. Permission is granted to distribute this file in any + manner provided this notice remains intact. + +File: pyxine/orig_xine + Copyright (C) 2000-2002 the xine project + + This file is part of xine, a free video player. + + xine 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. + + xine is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +File: pxlib/pxlib_wrap.cc + This file was automatically generated by : Simplified Wrapper and + Interface Generator (SWIG) Version 1.1 (Patch 5) + + Portions Copyright (c) 1995-1998 + The University of Utah and The Regents of the University of + California. Permission is granted to distribute this file in any + manner provided this notice remains intact. --- pyxine-0.1alpha2.orig/debian/control +++ pyxine-0.1alpha2/debian/control @@ -0,0 +1,36 @@ +Source: pyxine +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Sandro Tosi +Build-Depends: debhelper (>= 5.0.38), libxext-dev, libxine-dev, python-all-dev (>= 2.5.4-1~), python-all-dbg, python-support (>= 0.6.4), dpatch, zlib1g-dev +XS-Python-Version: all +Standards-Version: 3.9.2 +Homepage: http://pyxine.sourceforge.net/ +Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyxine/trunk/ +Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyxine/trunk/ + +Package: python-pyxine +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +XB-Python-Version: ${python:Versions} +Description: interface to the xine media player for Python + Pyxine provides Python bindings for libxine, the backend of the xine + media player. Using Pyxine, it is possible to write simple (or + complex) user-interfaces to xine. This makes it much easier for one + to write custom xine UIs. Pyxine can also be used as a generic audio + and video playing library for Python. + +Package: python-pyxine-dbg +Priority: extra +Section: debug +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python-pyxine (= ${binary:Version}), python-dbg +Description: interface to the xine media player for Python (debug extension) + Pyxine provides Python bindings for libxine, the backend of the xine + media player. Using Pyxine, it is possible to write simple (or + complex) user-interfaces to xine. This makes it much easier for one + to write custom xine UIs. Pyxine can also be used as a generic audio + and video playing library for Python. + . + This package contains the debug extension for python-pyxine. --- pyxine-0.1alpha2.orig/debian/README.source +++ pyxine-0.1alpha2/debian/README.source @@ -0,0 +1,4 @@ +This package uses dpatch to handle patches against upstream source code; you +can find additional information about dpatch at + + /usr/share/doc/dpatch/ --- pyxine-0.1alpha2.orig/debian/watch +++ pyxine-0.1alpha2/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/alpha/~alpha/ \ +http://sf.net/pyxine/pyxine-(.*)\.tar\.gz --- pyxine-0.1alpha2.orig/debian/patches/00list +++ pyxine-0.1alpha2/debian/patches/00list @@ -0,0 +1,2 @@ +amd64.dpatch +fix-ftbfs-gcc4.5.dpatch --- pyxine-0.1alpha2.orig/debian/patches/fix-ftbfs-gcc4.5.dpatch +++ pyxine-0.1alpha2/debian/patches/fix-ftbfs-gcc4.5.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-ftbfs-gcc4.5.dpatch by Matthias Klose . +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix FTBFS on GCC 4.5. + +@DPATCH@ + +--- pyxine-0.1alpha2.orig/pxlib/Callback.cc ++++ pyxine-0.1alpha2/pxlib/Callback.cc +@@ -84,7 +84,7 @@ + rep->ref_cnt++; + } + +-PythonContext::PythonContext& ++PythonContext& + PythonContext::operator=(const PythonContext& c) + { + if (--rep->ref_cnt == 0) --- pyxine-0.1alpha2.orig/debian/patches/amd64.dpatch +++ pyxine-0.1alpha2/debian/patches/amd64.dpatch @@ -0,0 +1,56 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## amd64.dpatch by Andreas Jochens +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix FTBFS on amd64 box + +@DPATCH@ + +diff -urN ./pxlib/Geometry.cc ./pxlib/Geometry.cc +--- ./pxlib/Geometry.cc 2003-02-12 18:06:18.000000000 +0000 ++++ ./pxlib/Geometry.cc 2005-02-28 13:41:09.861508975 +0000 +@@ -30,7 +30,7 @@ + + BEGIN_PXLIB_NAMESPACE + +-VideoGeometry ++template <> VideoGeometry + Traits::unpack_tuple(PyObject * tuple) + { + VideoGeometry g; +@@ -41,7 +41,7 @@ + return g; + } + +-PyObject * ++template <> PyObject * + Traits::pack_tuple(const VideoGeometry& g) + { + PyObject * tuple = Py_BuildValue("(iid)", +@@ -53,7 +53,7 @@ + + //////////////////////////////////////////////////////////////// + +-VideoOutputGeometry ++template <> VideoOutputGeometry + Traits::unpack_tuple(PyObject * tuple) + { + VideoOutputGeometry g; +@@ -68,7 +68,7 @@ + + //////////////////////////////////////////////////////////////// + +-PyObject * ++template <> PyObject * + Traits::pack_tuple(const WindowGeometry& g) + { + PyObject * tuple = Py_BuildValue("(iiiid)", +@@ -79,7 +79,7 @@ + return tuple; + } + +-std::string ++template <> std::string + Traits::to_string(const WindowGeometry& g) + { + std::ostringstream buf; --- pyxine-0.1alpha2.orig/debian/source/format +++ pyxine-0.1alpha2/debian/source/format @@ -0,0 +1 @@ +1.0