[Python-modules-commits] r4728 - in packages/pyxine/trunk (10 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Mon Mar 3 23:46:06 UTC 2008


    Date: Monday, March 3, 2008 @ 23:46:05
  Author: morph-guest
Revision: 4728

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/pyxine/trunk/debian/
  packages/pyxine/trunk/debian/changelog
  packages/pyxine/trunk/debian/compat
  packages/pyxine/trunk/debian/control
  packages/pyxine/trunk/debian/copyright
  packages/pyxine/trunk/debian/patches/
  packages/pyxine/trunk/debian/patches/00list
  packages/pyxine/trunk/debian/patches/amd64.dpatch
  packages/pyxine/trunk/debian/rules
  packages/pyxine/trunk/debian/watch


Property changes on: packages/pyxine/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/pyxine/trunk/debian/changelog
===================================================================
--- packages/pyxine/trunk/debian/changelog	                        (rev 0)
+++ packages/pyxine/trunk/debian/changelog	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1,60 @@
+pyxine (0.1alpha2-4) UNRELEASED; 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 <matrixhasu at gmail.com>  Sat, 16 Feb 2008 22:42:14 +0100
+
+pyxine (0.1alpha2-3) unstable; urgency=low
+
+  * Reintroduced into Debian (Closes: #369152)
+
+ -- Jaldhar H. Vyas <jaldhar.vyas at linspire.com>  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 <piman at debian.org>  Sun, 03 Apr 2005 18:33:40 -0500
+
+pyxine (0.1alpha2-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #220304)
+
+ -- Joe Wreschnig <piman at debian.org>  Tue, 11 Nov 2003 12:13:24 -0600

Added: packages/pyxine/trunk/debian/compat
===================================================================
--- packages/pyxine/trunk/debian/compat	                        (rev 0)
+++ packages/pyxine/trunk/debian/compat	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1 @@
+5

Added: packages/pyxine/trunk/debian/control
===================================================================
--- packages/pyxine/trunk/debian/control	                        (rev 0)
+++ packages/pyxine/trunk/debian/control	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1,34 @@
+Source: pyxine
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sandro Tosi <matrixhasu at gmail.com>
+Build-Depends: debhelper (>= 5.0.38), libxext-dev, libxine-dev, python-all-dev (>= 2.3.5-11), python-support (>= 0.6.4), dpatch
+XS-Python-Version: all
+Standards-Version: 3.7.3
+Homepage: http://pyxine.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyxine/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyxine/trunk/?op=log
+ 
+Package: python-pyxine
+Section: python
+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
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, python-pyxine (= ${binary:Version}), python-dbg
+Description: interface to the xine media player for Python (debug package)
+ 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.

Added: packages/pyxine/trunk/debian/copyright
===================================================================
--- packages/pyxine/trunk/debian/copyright	                        (rev 0)
+++ packages/pyxine/trunk/debian/copyright	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1,71 @@
+This package was debianized by Joe Wreschnig <piman at yanagi> on
+Tue, 11 Nov 2003 12:13:24 -0600.
+
+It was downloaded from http://pyxine.sourceforge.net
+
+Upstream Author:
+
+    Geoffrey T. Dairiki <dairiki at dairiki.org>
+
+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 is available at /usr/share/common-licenses/GPL 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.

Added: packages/pyxine/trunk/debian/patches/00list
===================================================================
--- packages/pyxine/trunk/debian/patches/00list	                        (rev 0)
+++ packages/pyxine/trunk/debian/patches/00list	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1 @@
+amd64.dpatch

Added: packages/pyxine/trunk/debian/patches/amd64.dpatch
===================================================================
--- packages/pyxine/trunk/debian/patches/amd64.dpatch	                        (rev 0)
+++ packages/pyxine/trunk/debian/patches/amd64.dpatch	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1,56 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## amd64.dpatch by Andreas Jochens <aj at andaco.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix FTBFS on amd64 box
+
+ at 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<VideoGeometry>::unpack_tuple(PyObject * tuple)
+ {
+   VideoGeometry g;
+@@ -41,7 +41,7 @@
+   return g;
+ }
+ 
+-PyObject *
++template <> PyObject *
+ Traits<VideoGeometry>::pack_tuple(const VideoGeometry& g)
+ {
+   PyObject * tuple = Py_BuildValue("(iid)",
+@@ -53,7 +53,7 @@
+ 
+ ////////////////////////////////////////////////////////////////
+ 
+-VideoOutputGeometry
++template <> VideoOutputGeometry
+ Traits<VideoOutputGeometry>::unpack_tuple(PyObject * tuple)
+ {
+   VideoOutputGeometry g;
+@@ -68,7 +68,7 @@
+ 
+ ////////////////////////////////////////////////////////////////
+ 
+-PyObject *
++template <> PyObject *
+ Traits<WindowGeometry>::pack_tuple(const WindowGeometry& g)
+ {
+   PyObject * tuple = Py_BuildValue("(iiiid)",
+@@ -79,7 +79,7 @@
+   return tuple;
+ }
+ 
+-std::string
++template <> std::string
+ Traits<WindowGeometry>::to_string(const WindowGeometry& g)
+ {
+   std::ostringstream buf;


Property changes on: packages/pyxine/trunk/debian/patches/amd64.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/pyxine/trunk/debian/rules
===================================================================
--- packages/pyxine/trunk/debian/rules	                        (rev 0)
+++ packages/pyxine/trunk/debian/rules	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+# Support for multiple Python versions inspired by python-pygame by
+# Ed Boraas.
+
+include /usr/share/dpatch/dpatch.make
+
+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
+
+	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
+
+	for python in ${PYVERS} ; do \
+ 	    $$python setup.py install --no-compile --root=$(CURDIR)/debian/python-pyxine ; \
+ 	    $$python-dbg setup.py install --no-compile --root=$(CURDIR)/debian/python-pyxine-dbg ; \
+	done
+
+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


Property changes on: packages/pyxine/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/pyxine/trunk/debian/watch
===================================================================
--- packages/pyxine/trunk/debian/watch	                        (rev 0)
+++ packages/pyxine/trunk/debian/watch	2008-03-03 23:46:05 UTC (rev 4728)
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/pyxine/pyxine-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list