debian/0000755000000000000000000000000012302375777007203 5ustar debian/docs0000644000000000000000000000003511702476050010041 0ustar NEWS RELEASE gst-python.doap debian/python-gst0.10-dev.install0000644000000000000000000000007611702476050013752 0ustar debian/python-gst0.10-dev.rtupdate usr/share/python/runtime.d debian/copyright0000644000000000000000000000420611702476050011125 0ustar This package was debianized by Joe Wreschnig on Wed, 6 Oct 2004 21:54:18 -0500. It was downloaded from http://gstreamer.freedesktop.org/src/gst-python/ Upstream Authors and Copyright Holders: David I. Lehn David Schleef Alessandro Decina Andy Wingo Benjamin Otte , David I. Lehn David Schleef Edward Hervey , Gustavo J. A. M. Carneiro Jan Schmidt Joe Wreschnig Johan Dahlin , Julien MOUTTE Martin Soto Michael Smith Richard Hult Stefan Kost Thomas Vander Stichele Zaheer Abbas Merali (see upstream ChangeLog for an up-to-date list) Copyright (C) 2002, 2004 David I. Lehn Copyright (C) 2004 Johan Dahlin License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/changelog0000644000000000000000000005241512302375777011064 0ustar gst0.10-python (0.10.22-3ubuntu2) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:47:43 +0000 gst0.10-python (0.10.22-3ubuntu1) quantal; urgency=low * Backport upstream commit 574275e7 to expose new gst.preset_{set,get}_app_dir() functions, required by transmageddon (LP: #1031439) -- Iain Lane Sun, 05 Aug 2012 21:31:30 +0100 gst0.10-python (0.10.22-3) unstable; urgency=low * Team upload. * Convert from dh_pycentral to dh_python2. Thanks to Colin Watson for the patch (Closes: #616836) -- Alessio Treglia Sat, 04 Feb 2012 21:24:07 +0100 gst0.10-python (0.10.22-2) unstable; urgency=low * Team upload. * Really remove all *.la files. (Closes: #650260) -- Alessio Treglia Mon, 09 Jan 2012 06:37:49 +0100 gst0.10-python (0.10.22-1) unstable; urgency=low * New upstream stable release, "Ninety Tons of Thunder": + debian/rules: - Ship the new headers in the -dev package. -- Sebastian Dröge Thu, 24 Nov 2011 08:47:11 +0100 gst0.10-python (0.10.21-2) unstable; urgency=low * Upload to unstable. -- Sebastian Dröge Tue, 22 Mar 2011 15:38:31 +0100 gst0.10-python (0.10.21-1) experimental; urgency=low * New upstream stable release, "She used to be an ironhorse, twenty years ago". + debian/control: - Require GStreamer core/base >= 0.10.32. -- Sebastian Dröge Sat, 22 Jan 2011 14:16:57 +0100 gst0.10-python (0.10.20.3-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Require GStreamer core/base >= 0.10.31.2. -- Sebastian Dröge Thu, 13 Jan 2011 14:03:03 +0100 gst0.10-python (0.10.20.2-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Require GStreamer core/base >= 0.10.31.2. -- Sebastian Dröge Mon, 10 Jan 2011 17:35:49 +0100 gst0.10-python (0.10.20-1) experimental; urgency=low * New upstream release, "What Abitbol said before dying". + debian/control: - (Build-) depend on GStreamer core/base >= 0.10.31. -- Sebastian Dröge Thu, 02 Dec 2010 10:38:34 +0100 gst0.10-python (0.10.19.4-1) experimental; urgency=low * New upstream pre-release. -- Sebastian Dröge Mon, 01 Nov 2010 20:56:40 +0100 gst0.10-python (0.10.19.2-1) experimental; urgency=low * New upstream pre-release: + debian/patches/03_pygst-import.patch: - Dropped, merged upstream. + debian/control: - Build depend on GStreamer core/base >= 0.10.30.3. -- Sebastian Dröge Fri, 22 Oct 2010 20:03:26 +0200 gst0.10-python (0.10.19-2) unstable; urgency=low * debian/patches/03_pygst-import.patch: + Patch from upstream GIT to fix spurious exceptions in pygst_require, e.g. when importing the python plugin. -- Sebastian Dröge Thu, 09 Sep 2010 12:59:06 +0200 gst0.10-python (0.10.19-1) unstable; urgency=low * New upstream stable release, "Insert Casablanca quote here": + debian/control: - Build depend on GStreamer 0.10.30. -- Sebastian Dröge Thu, 15 Jul 2010 21:25:26 +0200 gst0.10-python (0.10.18.4-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Build depend on GStreamer 0.10.29.4. -- Sebastian Dröge Wed, 07 Jul 2010 15:45:00 +0200 gst0.10-python (0.10.18.3-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Build depend on GStreamer 0.10.29.3. -- Sebastian Dröge Wed, 30 Jun 2010 10:44:58 +0200 gst0.10-python (0.10.18.2-1) experimental; urgency=low * New upstream pre-release: + debian/rules, debian/compat, debian/control, debian/source/format, debian/patches/*: - Update to debhelper compat level 7. - Update to source format 3.0 (quilt). - Update to Standards-Version 3.8.4. + debian/control: - Build depend on GStreamer 0.10.29.2. + debian/patches/01_gnu-hurd-import.patch: - Dropped, merged upstream. -- Sebastian Dröge Sun, 27 Jun 2010 11:26:38 +0200 gst0.10-python (0.10.18-2) unstable; urgency=low * debian/patches/01_gnu-hurd-import.patch: + Fix module importing on GNU/Hurd (Closes: #573744). Thanks to Emilio Pozuelo Monfort for the patch. -- Sebastian Dröge Mon, 15 Mar 2010 11:38:34 +0100 gst0.10-python (0.10.18-1) unstable; urgency=low * New upstream release, "A pigeon carrying a 500ton block": + debian/control: - Update dependencies. -- Sebastian Dröge Thu, 11 Feb 2010 19:56:44 +0100 gst0.10-python (0.10.17.2-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Update dependencies. + Fixes importing on kFreeBSD (Closes: #563535). + Fixes "'module' object has no attribute 'Element'" import error (Closes: #531347). -- Sebastian Dröge Wed, 27 Jan 2010 08:00:50 +0100 gst0.10-python (0.10.17-1) unstable; urgency=low * New upstream release, 'Shiny new button'. -- Sebastian Dröge Mon, 05 Oct 2009 18:12:28 +0200 gst0.10-python (0.10.16.3-1) experimental; urgency=low * New upstream pre-release. -- Sebastian Dröge Thu, 17 Sep 2009 07:15:06 +0200 gst0.10-python (0.10.16.2-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Update dependencies. * debian/control: + Update Standards-Version to 3.8.3. -- Sebastian Dröge Sat, 12 Sep 2009 13:11:10 +0200 gst0.10-python (0.10.16-1) unstable; urgency=low * New upstream release, 'Distorted memory': + debian/control: - Build depend on latest gstreamer core/base releases. * debian/control: + Fix sections. -- Sebastian Dröge Wed, 05 Aug 2009 06:55:29 +0200 gst0.10-python (0.10.15.3-1) experimental; urgency=low * New upstream pre-release. -- Sebastian Dröge Tue, 21 Jul 2009 09:52:24 +0200 gst0.10-python (0.10.15.2-1) experimental; urgency=low * New upstream release: + debian/control: - Build depend on latest gstreamer core/base pre-releases. * debian/control: + Update Standards-Version to 3.8.2, no additional changes needed. -- Sebastian Dröge Thu, 16 Jul 2009 19:38:26 +0200 gst0.10-python (0.10.15-1) unstable; urgency=low * New upstream release, 'We built a wall': + debian/rules, debian/control, debian/*.{install,postinst,prerm,rtupdate}: - Add a -dev package for the pkg-config files and def files (Closes: #527485). - Don't ship examples twice (Closes: #527498). -- Sebastian Dröge Mon, 11 May 2009 11:03:02 +0200 gst0.10-python (0.10.14.4-2) experimental; urgency=low * debian/control, debian/rules: + Use new features of pycentral 0.6.11, patch by Matthias Klose, taken from the Ubuntu package. -- Sebastian Dröge Thu, 07 May 2009 11:12:37 +0200 gst0.10-python (0.10.14.4-1) experimental; urgency=low * New upstream pre-release: + All Python module code is now LGPL licensed (Closes: #516190), parts of the build system are still GPL licensed. -- Sebastian Dröge Thu, 07 May 2009 09:56:43 +0200 gst0.10-python (0.10.14.3-1) experimental; urgency=low * New upstream pre-release. -- Sebastian Dröge Wed, 22 Apr 2009 09:37:11 +0200 gst0.10-python (0.10.14.2-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Update GStreamer build dependency. * debian/control: + Update Standards-Version to 3.8.0, no additional changes needed. -- Sebastian Dröge Thu, 16 Apr 2009 17:56:43 +0200 gst0.10-python (0.10.14-2) unstable; urgency=low * Upload to unstable. -- Sebastian Dröge Sun, 15 Feb 2009 20:03:41 +0100 gst0.10-python (0.10.14-1) experimental; urgency=low * New upstream release, 'You better think': + debian/control: - Update GStreamer build dependency. -- Sebastian Dröge Tue, 20 Jan 2009 09:13:05 +0100 gst0.10-python (0.10.13.3-1) experimental; urgency=low * New upstream pre-release. -- Sebastian Dröge Sun, 11 Jan 2009 21:22:37 +0100 gst0.10-python (0.10.13.2-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Update build dependencies. + debian/patches/03_rtld-constants.patch, debian/patches/04_import-order.patch: - Dropped, merged upstream. -- Sebastian Dröge Thu, 08 Jan 2009 07:43:13 +0100 gst0.10-python (0.10.13-1) experimental; urgency=low * New upstream release, 'Feel The Sun Rise'. * debian/patches/03_rtld-constants.patch: + Use correct values for RTLD_GLOBAL and RTLD_LAZY on Linux/MIPS as the values are different there from all other Linux platforms. Thanks to Thiemo Seufer for the patch (Closes: #499135). * ACK 0.10.12-1.1 NMU. Thanks to Alexander Wirt for fixing this issue. -- Sebastian Dröge Sun, 05 Oct 2008 15:39:08 +0200 gst0.10-python (0.10.12-1.1) unstable; urgency=low * Non-maintainer upload. * Add dependency to python-libxml2 and change load order in the init of gst0.10-python (Closes: #449341) -- Alexander Wirt Mon, 08 Sep 2008 20:22:47 +0000 gst0.10-python (0.10.12-1) unstable; urgency=low * New upstream release, 'A Wild Finish'. * debian/control: + Update Standards-Version to 3.8.0, no additional changes needed. + Fix typo. -- Sebastian Dröge Wed, 18 Jun 2008 20:20:34 +0200 gst0.10-python (0.10.11.3-1) experimental; urgency=low * debian/rules: + Append -Wno-error to CFLAGS and CXXFLAGS. * New upstream pre-release. -- Sebastian Dröge Thu, 12 Jun 2008 12:30:23 +0200 gst0.10-python (0.10.11.2-1) experimental; urgency=low * New upstream pre-release. -- Sebastian Dröge Thu, 05 Jun 2008 08:40:46 +0200 gst0.10-python (0.10.11-1) unstable; urgency=low * New upstream release, "What I got". -- Sebastian Dröge Fri, 21 Mar 2008 01:18:37 +0100 gst0.10-python (0.10.10.2-1) experimental; urgency=low * New upstream pre-release: + debian/control: - Build depend on gstreamer and gst-plugins-base >= 0.10.17.1. * debian/control: + Add Homepage field. -- Sebastian Dröge Tue, 04 Mar 2008 16:30:10 +0100 gst0.10-python (0.10.10-1) unstable; urgency=low * New upstream release, "Destination Overtime", with API additions: + debian/control: - Build depend on gstreamer/gst-plugins-base >= 0.10.16. -- Sebastian Dröge Tue, 29 Jan 2008 11:46:12 +0100 gst0.10-python (0.10.9.4-1) experimental; urgency=low * New upstream pre-release. -- Sebastian Dröge Tue, 22 Jan 2008 13:24:18 +0100 gst0.10-python (0.10.9.3-1) experimental; urgency=low * New upstream pre-release: + debian/patches/01_pbutils-override.patch: - Dropped, merged upstream. -- Sebastian Dröge Fri, 18 Jan 2008 05:59:24 +0100 gst0.10-python (0.10.9.2-1) experimental; urgency=low * New upstream pre-release: + Update gstreamer build dependencies to >= 0.10.15.1. + debian/patches/01_acinclude-python.patch, debian/patches/99_autoreconf.patch: - Dropped, merged upstream. * debian/patches/01_pbutils-override.patch: + Patch from upstream CVS to fix build with python 2.4. -- Sebastian Dröge Tue, 15 Jan 2008 16:00:59 +0100 gst0.10-python (0.10.9-5) unstable; urgency=low * Upload to unstable. * debian/control: + Drop w3m build dependency as it is not needed (Closes: #454110). + Update Standards-Version to 3.7.3, no additional changes needed. -- Sebastian Dröge Tue, 15 Jan 2008 15:41:27 +0100 gst0.10-python (0.10.9-4) experimental; urgency=low * Add a python-gst0.10-dbg package; from Ubuntu; tweak rules and control. - Target at experimental. * Wrap more fields in control. * Pass CFLAGS to configure; doh! -- Loic Minier Sun, 02 Dec 2007 12:19:28 +0100 gst0.10-python (0.10.9-3) unstable; urgency=high * Fix the path generated in pygst.py by patch 02_pygstdir, it was missing the version of the GStreamer API suffix; closes: #453767. * Wrap build-deps even more. -- Loic Minier Sun, 02 Dec 2007 11:50:49 +0100 gst0.10-python (0.10.9-2) unstable; urgency=low [ Sebastian Dröge ] * Merges from the Ubuntu package: + debian/rules: - Don't ship the *.la files. - Sort python versions and also build for the default python version even if this wasn't requested. + debian/patches/01_acinclude-python.patch, debian/patches/99_autoreconf.patch: - Fix detection of the Python include path. + TODO: add debug package after pygobject got one. * debian/patches/02_pygstdir.patch: + Fix Python packages path for different python versions (Closes: #453402). [ Loic Minier ] * New patch, 02_pygstdir, compute path to gst0.10 module dir at runtime based on the path of pygst.py (usually, it's a symlink). -- Sebastian Dröge Thu, 29 Nov 2007 16:21:29 +0100 gst0.10-python (0.10.9-1) unstable; urgency=low * New upstream release, "I've heard a lot of stories in my time": + Fixes crash at exit (Closes: #448621). * debian/control: + Build depend on gstreamer and gst-plugins-base >= 0.10.15 to get bindings for the new APIs. * debian/rules: + Don't call dh_python anymore. -- Sebastian Dröge Wed, 28 Nov 2007 10:52:09 +0100 gst0.10-python (0.10.8-1) unstable; urgency=low * New upstream release 0.10.8; "This time I know our side will win." * Honor make distclean failures. * List patch in .PHONY. * Misc cleanups. * Fix permissions of the rtupdate script. -- Loic Minier Wed, 01 Aug 2007 22:33:48 +0200 gst0.10-python (0.10.7-1) unstable; urgency=low * New upstream release 0.10.7, "You want to feel sorry for yourself, Don't you ?" * Merge experimental branch and upload to unstable: [ Loic Minier ] + New upstream pre-release 0.10.6.3: - Downgrade libgstreamer-plugins-base0.10-dev build-dep back to >= 0.10.0.2. + New upstream pre-release 0.10.6.1: - Install upstream DOAP file. - Bump up libgstreamer-plugins-base0.10-dev build-dep to >= 0.10.11-3 to workaround a temporary build failure with older gst-plugins-base0.10. + New upstream release 0.10.6, "You're not very subtle, but you are effective". + New upstream pre-release 0.10.5.3: - Target at experimental. - Build-depend on python-gobject-dev >= 2.11.2 instead of python-gtk2-dev; depend on python-gobject >= 2.11.2 instead of python-gtk2. - Drop patch 10_retab-examples, syntax of examples was fixed upstream. + Bump the pygtk dep to >= 2.8. * debian/control: + Add myself to Uploaders. -- Sebastian Dröge Mon, 16 Apr 2007 18:28:38 +0200 gst0.10-python (0.10.5-5) unstable; urgency=medium * Let python-gst0.10 depend on python-gtk2 as gst/__init__.py imports pygtk. * Remove Joe Wreschnig from Uploaders. * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE differ. * Switch back to pycentral as the prefix for Python modules is not distinguishable from the general prefix and this was required for python-support. Such a switch would need a careful review of all types of prefixes in use during the build and at runtime; closes: #390192, #390309. * Add support for patches in debian/patches. - Update config.guess and .sub during build, not in clean. - Backup config.guess and .sub before updating them; restore patches before unpatch. - Build-depend on quilt. - Add an empty patch series. * New patch, 10_retab-examples, to expand tabs in the examples; fixes byte-compilation at installation time; permits keeping pycentral for now. -- Loic Minier Sun, 1 Oct 2006 11:02:53 +0200 gst0.10-python (0.10.5-4) unstable; urgency=high * Add watch file. * Ship rtupdate file, doh; previous installations that went through a default python runtime change are not affected since the .pc files have the same name for python2.3 and python2.4. * Move examples to the Debian location via dh_install as well. * Remove now useless *.dirs / dh_installdirs. * Switch to pysupport as pycentral can't exclude the examples dir from byte compilation. -- Loic Minier Thu, 28 Sep 2006 11:28:39 +0200 gst0.10-python (0.10.5-3) unstable; urgency=low * Add debian/control to the pyversions -r call since it's mandatory, even if the man page claims it's optional. * Fix typo in default python runtime retrieval. -- Loic Minier Sat, 5 Aug 2006 22:08:35 +0200 gst0.10-python (0.10.5-2) unstable; urgency=low * Update rtupdate script to handle calls with three arguments. -- Loic Minier Thu, 3 Aug 2006 23:00:01 +0200 gst0.10-python (0.10.5-1) unstable; urgency=low * New upstream release, "My Little Poney wants some Funk". - Bump up libgstreamer0.10-dev build-dep to >= 0.10.8. * Version the libgstreamer-plugins-base0.10-dev build-dep to >= 0.10.0.2. -- Loic Minier Sun, 30 Jul 2006 14:27:50 +0200 gst0.10-python (0.10.4-5) unstable; urgency=low * Build against per-python runtime pygtk pkg-config files. * Set PKG_CONFIG_PATH to /usr/lib/pkgconfig/ for configure. * Bump up python-gtk2-dev build-dep to >= 2.8.6-4. * Add myself to Uploaders too. * Add dummy binary-indep rule. * Attempt at supporting pkg-config files for multiple Python runtimes: - Move *.pc files for each runtime in /usr/lib/pkg-config/pythonXXX. - Symlink the *.pc files for the default runtime in /usr/lib/pkg-config during python-gst0.10's postinst and remove the symlinks in prerm. - Delete and re-create the symlinks on default runtime change via a *.rtupdate script shipped by python-gst0.10. -- Loic Minier Mon, 24 Jul 2006 20:09:56 +0200 gst0.10-python (0.10.4-4) unstable; urgency=low * Set pkg-gstreamer as Maintainer and make Joe Wreschnig an Uploader; thanks for your work. * Update again for latest Python policy. - Bump up debhelper build-dep to >= 5.0.37.2. - Declare dh_python compatibility level to 2. - Bump up python-all-dev build-dep to >= 2.3.5-11. - Call pyversions without an explicit control file. - Bump up python-central build-dep to >= 0.4.17. * Add autotools-dev to build-deps for config.guess / .sub updates. * Drop most dirs from debian/python-gst0.10.dirs and drop debian/dirs. * Update upstream list of upstream authors / copyright holders and include full license blob. * Misc cleanups. -- Loic Minier Sun, 25 Jun 2006 19:37:45 +0200 gst0.10-python (0.10.4-3) unstable; urgency=low * debian/control: XS-Python-Version: >= 2.3. * debian/rules: Use pyversions to get available versions. * Use python-central/dh_pycentral. -- Joe Wreschnig Mon, 12 Jun 2006 23:09:35 -0500 gst0.10-python (0.10.4-2) unstable; urgency=low * debian/control: python2.3-gst0.10 replaces python-gst0.10 << 0.10.4. (Closes: #370250) -- Joe Wreschnig Sun, 4 Jun 2006 12:51:10 -0500 gst0.10-python (0.10.4-1) unstable; urgency=low * New upstream version. * Provide Python 2.4 packages. (Closes: #363666) * Standards-Version 3.7.2 (no changes necessary). -- Joe Wreschnig Sat, 13 May 2006 02:56:06 -0500 gst0.10-python (0.10.2-1) unstable; urgency=low * New upstream version. * (Build-)Dep on PyGTK >= 2.8 to prevent ABI issue. * debhelper compatibility level 5. -- Joe Wreschnig Tue, 31 Jan 2006 18:57:14 -0600 gst0.10-python (0.10.1-1) unstable; urgency=low * New upstream version. * New source/binary package names for 0.8/0.10 parallel installations. * debian/copyright: LGPL, not GPL. * debian/docs: Remove README, TODO. -- Joe Wreschnig Fri, 30 Dec 2005 03:08:03 -0600 gst-python (0.8.2-1) unstable; urgency=low * New upstream version. (Closes: #318315) * Add AUTHORS to debian/docs, remove README-docs, docs/README.html. * Standards-Version 3.6.2. -- Joe Wreschnig Thu, 28 Jul 2005 00:15:09 -0500 gst-python (0.8.1-2) unstable; urgency=low * Copy documentation from /usr/share/gst-python/examples. (Closes: #291610) * Depend on python-gtk2. (Closes: #304889) -- Joe Wreschnig Sat, 16 Apr 2005 14:34:46 -0500 gst-python (0.8.1-1) unstable; urgency=low * New upstream version. -- Joe Wreschnig Tue, 14 Dec 2004 18:11:50 -0600 gst-python (0.8.0-1) unstable; urgency=low * Build-Depend on libgstreamer-plugins0.8-dev (thanks to Sebastien Bacher). * New upstream version. -- Joe Wreschnig Wed, 17 Nov 2004 14:54:58 -0600 gst-python (0.7.93-1) unstable; urgency=low * Initial Release. (Closes: #201353) -- Joe Wreschnig Wed, 6 Oct 2004 21:54:18 -0500 debian/pycompat0000644000000000000000000000000211702476050010737 0ustar 2 debian/compat0000644000000000000000000000000211702476050010366 0ustar 7 debian/patches/0000755000000000000000000000000012007554007010615 5ustar debian/patches/02_pygstdir.patch0000644000000000000000000000062711702476050014013 0ustar --- gst0.10-python-0.10.9.orig/pygst.py.in 2006-06-09 19:21:40.000000000 +0200 +++ gst0.10-python-0.10.9/pygst.py.in 2007-12-02 11:50:38.000000000 +0100 @@ -25,10 +25,11 @@ # In order to have backward compatibility import sys +import os.path __all__ = ['require'] -_pygst_dir = '@PYGSTDIR@' +_pygst_dir = os.path.dirname(__file__) + '/gst-@GST_MAJORMINOR@' _pygst_version = '@GST_MAJORMINOR@' debian/patches/expose_new_preset_app_dir_functions.patch0000644000000000000000000000133512007554007021164 0ustar From 574275e773f3fbbbc0f980d541eb0d477cdf476e Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Fri, 09 Dec 2011 13:05:12 +0000 Subject: preset: expose new gst.preset_{set,get}_app_dir() on python --- (limited to 'gst/gst.defs') diff --git a/gst/gst.defs b/gst/gst.defs index b39e7eb..5942596 100644 --- a/gst/gst.defs +++ b/gst/gst.defs @@ -5888,6 +5888,19 @@ ) ) +(define-function preset_set_app_dir + (c-name "gst_preset_set_app_dir") + (return-type "gboolean") + (parameters + '("const-gchar*" "app_dir") + ) +) + +(define-function preset_get_app_dir + (c-name "gst_preset_get_app_dir") + (return-type "const-gchar*") +) + ;; From ../gstreamer/gst/gstquery.h -- cgit v0.9.0.2-2-gbebe debian/patches/series0000644000000000000000000000007412007554007012033 0ustar 02_pygstdir.patch expose_new_preset_app_dir_functions.patch debian/control0000644000000000000000000000542012007561677010605 0ustar Source: gst0.10-python Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Maintainers of GStreamer packages Uploaders: Loic Minier , Sebastian Dröge Build-Depends: debhelper (>= 7), pkg-config, libgstreamer0.10-dev (>= 0.10.32), libgstreamer-plugins-base0.10-dev (>= 0.10.32), gstreamer0.10-plugins-base, libxml2-utils, xmlto, libx11-dev, python-dev, python-gobject-dev (>= 2.11.2), python-gobject-dbg, python-all-dev (>= 2.6.6-3~), python-all-dbg, autotools-dev Standards-Version: 3.8.4 X-Python-Version: >= 2.3 Homepage: http://gstreamer.freedesktop.org Package: python-gst0.10 Architecture: any Depends: ${shlibs:Depends}, ${python:Depends}, python-gobject (>= 2.11.2), python-libxml2 Provides: ${python:Provides} Replaces: python2.3-gst0.10, python2.4-gst0.10 Conflicts: python2.3-gst0.10, python2.4-gst0.10 Suggests: python-gst0.10-dev, python-gst0.10-dbg Description: generic media-playing framework (Python bindings) GStreamer is a media processing framework with support for a wide variety of data sources, sinks, and formats through the use of dynamically loaded plugins. . This package contains bindings to access GStreamer from Python. Package: python-gst0.10-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${python:Depends}, python-gobject-dev (>= 2.11.2), libgstreamer0.10-dev (>= 0.10.32), libgstreamer-plugins-base0.10-dev (>= 0.10.32), python-gst0.10 (= ${binary:Version}), python-libxml2 Provides: ${python:Provides} Replaces: python-gst0.10 (<< 0.10.15) Suggests: python-gst0.10-dbg Description: generic media-playing framework (Python bindings) GStreamer is a media processing framework with support for a wide variety of data sources, sinks, and formats through the use of dynamically loaded plugins. . This package contains development files and examples for the GStreamer Python bindings. Package: python-gst0.10-dbg Section: debug Priority: extra Architecture: any Depends: python-gst0.10 (= ${binary:Version}), python-dbg, python-gobject-dbg, ${shlibs:Depends} Description: generic media-playing framework (Python debug bindings) GStreamer is a media processing framework with support for a wide variety of data sources, sinks, and formats through the use of dynamically loaded plugins. . This package contains the extension built for the Python debug interpreter. debian/python-gst0.10-dev.prerm0000644000000000000000000000051711702476050013431 0ustar #!/bin/sh set -e PYTHON_DEFAULT=$(pyversions --default) this="python-gst0.10-dev" pc_files() { runtime="$1" dpkg -L "$this" | sed -n -e "s#^/usr/lib/pkgconfig/$runtime/##p" } if [ "$1" = "remove" ]; then cd /usr/lib/pkgconfig for f in $(pc_files $PYTHON_DEFAULT); do rm -f "$f" done fi #DEBHELPER# debian/python-gst0.10-dev.postinst0000644000000000000000000000054511702476050014170 0ustar #!/bin/sh set -e PYTHON_DEFAULT=$(pyversions --default) this="python-gst0.10-dev" pc_files() { runtime="$1" dpkg -L "$this" | sed -n -e "s#^/usr/lib/pkgconfig/$runtime/##p" } if [ "$1" = "configure" ]; then cd /usr/lib/pkgconfig for f in $(pc_files $PYTHON_DEFAULT); do ln -f -s "$PYTHON_DEFAULT/$f" done fi #DEBHELPER# debian/python-gst0.10-dev.rtupdate0000644000000000000000000000142611702476050014134 0ustar #!/bin/sh # this script updates symlinks to pkg-config files after a Python default # runtime change if [ "$#" != 3 ]; then echo "Usage: $0 {pre-rtupdate|post-rtupdate|rtupdate} " >&2 exit 1 fi action="$1" oldruntime="$2" newruntime="$3" this="python-gst0.10" pc_files() { runtime="$1" dpkg -L "$this" | sed -n -e "s#^/usr/lib/pkgconfig/$runtime/##p" } case "$action" in pre-rtupdate) ;; post-rtupdate) ;; rtupdate) echo "Updating *.pc symlinks for $this..." cd /usr/lib/pkgconfig for f in $(pc_files $oldruntime); do rm -f "$f" done for f in $(pc_files $newruntime); do ln -s "$newruntime/$f" done ;; *) echo "$0 called with unknown argument \`$action'" >&2 exit 0 ;; esac debian/rules0000755000000000000000000001337411713311240010247 0ustar #!/usr/bin/make -f DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) CFLAGS += -Wno-error CXXFLAGS += -Wno-error PY_DEFAULT := $(shell pyversions --default) PY_VERSIONS = $(sort $(shell pyversions --requested) $(PY_DEFAULT)) include /usr/share/python/python.mk PATCH_DIR := debian/patches configure_flags := --prefix=/usr # packages where /usr/share/doc/$p is a symlink USD_SYMLINK_PKGS := python-gst0.10-dbg ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) configure_flags += --build=$(DEB_BUILD_GNU_TYPE) else configure_flags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif patch: patch-stamp patch-stamp: dh_testdir # backup the original files to restore them in the clean target -test -r config.sub && cp config.sub config.sub.orig -test -r config.guess && cp config.guess config.guess.orig -test -r /usr/share/misc/config.sub && \ cp -f /usr/share/misc/config.sub config.sub -test -r /usr/share/misc/config.guess && \ cp -f /usr/share/misc/config.guess config.guess touch $@ build-stamp-%: patch-stamp dh_testdir [ ! -f Makefile ] || $(MAKE) distclean PYTHON=`which $*` PKG_CONFIG_PATH=/usr/lib/pkgconfig/$* CFLAGS="$(CFLAGS)" \ ./configure $(configure_flags) $(MAKE) $(MAKE) install DESTDIR=$(CURDIR)/debian/python-gst0.10 \ PYEXECDIR=$(call py_libdir,$(subst python,,$*)) \ PYLIBDIR=$(call py_libdir,$(subst python,,$*)) \ pyexecdir=$(call py_libdir,$(subst python,,$*)) \ pylibdir=$(call py_libdir,$(subst python,,$*)) # move installed files to a per python runtime location to allow # comparison of the resulting files across runtimes or shipping # multiple versions # pkg-config file (this is shipped twice because of varying pyexecdir) mkdir -p debian/python-gst0.10-dev/usr/lib/pkgconfig/$* mv debian/python-gst0.10/usr/lib/pkgconfig/*.pc debian/python-gst0.10-dev/usr/lib/pkgconfig/$* # defs files, should be the same whatever the build-time python runtime mkdir -p debian/python-gst0.10-dev/usr/share/gst-python/0.10/defs/$* mv debian/python-gst0.10/usr/share/gst-python/0.10/defs/*.defs debian/python-gst0.10-dev/usr/share/gst-python/0.10/defs/$* # examples should be in the -dev package mkdir -p debian/python-gst0.10-dev/usr/share/gst-python/0.10/examples mv debian/python-gst0.10/usr/share/gst-python/0.10/examples/* debian/python-gst0.10-dev/usr/share/gst-python/0.10/examples rmdir debian/python-gst0.10/usr/share/gst-python/0.10/examples # headers should be in the -dev package too mkdir -p debian/python-gst0.10-dev/usr/include/gstreamer-0.10/gst mv debian/python-gst0.10/usr/include/gstreamer-0.10/gst/* debian/python-gst0.10-dev/usr/include/gstreamer-0.10/gst touch $@ dbg-build-stamp-%: patch-stamp dh_testdir [ ! -f Makefile ] || $(MAKE) distclean PYTHON=`which $*-dbg` PKG_CONFIG_PATH=/usr/lib/pkgconfig/$* CFLAGS="$(CFLAGS) -O0" \ ./configure $(configure_flags) $(MAKE) $(MAKE) install DESTDIR=$(CURDIR)/debian/python-gst0.10-dbg \ PYEXECDIR=$(call py_libdir,$(subst python,,$*)) \ PYLIBDIR=$(call py_libdir,$(subst python,,$*)) \ pyexecdir=$(call py_libdir,$(subst python,,$*)) \ pylibdir=$(call py_libdir,$(subst python,,$*)) touch $@ build-arch: $(addprefix build-stamp-, $(PY_VERSIONS)) $(addprefix dbg-build-stamp-, $(PY_VERSIONS)) build: build-arch clean: dh_testdir dh_testroot [ ! -f Makefile ] || $(MAKE) distclean # restore files from backup (before unpatching) -test -r config.sub.orig && mv -f config.sub.orig config.sub -test -r config.guess.orig && mv -f config.guess.orig config.guess rm -f patch-stamp build-stamp-* dbg-build-stamp-* */*.pyc *.pyc dh_clean install: build dh_testdir dh_testroot dh_install # check that all builds with various Python runtimes produced the same # *.defs files (or fail) for v in $(PY_VERSIONS); do \ echo "Comparing defs files for the default Python version ($(PY_DEFAULT)) with defs files for Python $$v"; \ diff --brief --recursive debian/python-gst0.10-dev/usr/share/gst-python/0.10/defs/$(PY_DEFAULT) debian/python-gst0.10-dev/usr/share/gst-python/0.10/defs/$$v; \ done # drop all *.la files find debian/python-gst0.10/usr/lib/ -name '*.la' -print0 | xargs -0r rm -f -- # only keep *.so files and symlinks in the dbg packages find debian/python-*-dbg ! -type d ! -name '*.so' -print0 | xargs -0r rm -f -- find debian/python-*-dbg -depth -empty -exec rmdir -- {} \; # suffix *.so files and symlinks with _d in the dbg packages for i in $$(find debian/python-*-dbg -name '*.so'); do \ b="$$(basename "$$i" .so)"; \ mv "$$i" "$$(dirname "$$i")/$${b}_d.so"; \ done # since all Python runtimes produced the same files, only keep one set @echo "Cleaning up..." mv debian/python-gst0.10-dev/usr/share/gst-python/0.10/defs/$(PY_DEFAULT)/*.defs debian/python-gst0.10-dev/usr/share/gst-python/0.10/defs for v in $(PY_VERSIONS); do \ rm --force --recursive debian/python-gst0.10-dev/usr/share/gst-python/0.10/defs/$$v; \ done # set executable bit on files with a shebang egrep -rlZ '^#!(.*)(python|sh)' debian/python-gst0.10 | xargs -0 chmod a+x -- binary-arch: build install dh_testdir dh_testroot dh_installchangelogs -s $(addprefix -N, $(USD_SYMLINK_PKGS)) ChangeLog dh_installdocs -s $(addprefix -N, $(USD_SYMLINK_PKGS)) dh_link -s dh_link $(addprefix -p, $(USD_SYMLINK_PKGS)) \ $(addprefix usr/share/doc/python-gst0.10 \ usr/share/doc/,$(USD_SYMLINK_PKGS)) dh_strip -s -Npython-gst0.10-dbg --dbg-package=python-gst0.10-dbg dh_compress -s -Xexample dh_fixperms -s dh_python2 -s dh_installdeb -s dh_shlibdeps -s dh_gencontrol -s dh_md5sums -s dh_builddeb -s binary-indep: binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install patch debian/source/0000755000000000000000000000000011702476050010470 5ustar debian/source/format0000644000000000000000000000001411702476050011676 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000022411702476050010605 0ustar [DEFAULT] upstream-branch = upstream debian-branch = master pristine-tar = True upstream-tag = upstream/%(version)s debian-tag = debian/%(version)s debian/watch0000644000000000000000000000013211702476050010215 0ustar version=2 http://gstreamer.freedesktop.org/src/gst-python/gst-python-(0\.10\..*)\.tar\.gz