diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/pyvorbis | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/pyvorbis')
-rw-r--r-- | community/pyvorbis/PKGBUILD | 30 | ||||
-rw-r--r-- | community/pyvorbis/pyogg-ticket2-fix.patch | 27 | ||||
-rw-r--r-- | community/pyvorbis/pyvorbis-1.4-python2.5.patch | 60 |
3 files changed, 0 insertions, 117 deletions
diff --git a/community/pyvorbis/PKGBUILD b/community/pyvorbis/PKGBUILD deleted file mode 100644 index 6e5de6442..000000000 --- a/community/pyvorbis/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 64987 2012-02-19 11:27:59Z jelle $ -# Contributor: Jason Chu <jason@archlinux.org> -# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> - -pkgname=pyvorbis -pkgver=1.4 -pkgrel=6 -pkgdesc="Python vorbis wrapper library" -url="http://ekyo.nerim.net/software/pyogg/index.html" -arch=('i686' 'x86_64') -license=('LGPL') -depends=('python2' 'libvorbis' 'pyogg>=1.3-3') -source=(http://ekyo.nerim.net/software/pyogg/${pkgname}-${pkgver}.tar.gz - pyvorbis-1.4-python2.5.patch - pyogg-ticket2-fix.patch) -md5sums=('b4921e792c0a74f75b9d3057df10ee7c' - 'f971a6f0ebb6cb7fe00dfc1f778b2d0d' - '3547bba78916ef9030bff6fe67194714') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -Np0 -i ${srcdir}/pyvorbis-1.4-python2.5.patch || return 1 - patch -Np0 -i ${srcdir}/pyogg-ticket2-fix.patch || return 1 - python2 ./config_unix.py --prefix=/usr -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - python2 setup.py install --root=${pkgdir} -} diff --git a/community/pyvorbis/pyogg-ticket2-fix.patch b/community/pyvorbis/pyogg-ticket2-fix.patch deleted file mode 100644 index b518b3638..000000000 --- a/community/pyvorbis/pyogg-ticket2-fix.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- src/pyvorbisfile.c 2007-05-14 22:41:05.000000000 +0400 -+++ src/pyvorbisfile.c.new 2007-05-14 22:45:20.000000000 +0400 -@@ -173,9 +173,7 @@ - if (ret == NULL) { - PyObject_Del(newobj); - return NULL; -- } else -- Py_DECREF(ret); -- -+ } - return (PyObject *) newobj; - } - -@@ -191,10 +189,10 @@ - close */ - Py_DECREF(py_self->py_file); - } else { -- /* Otherwise, we opened the file and should close it. */ -- fclose(py_self->c_file); -+ /* Do NOT close the file -- ov_open() takes ownership of the FILE*, -+ and ov_close() is responsible for closing it. */ - } -- -+ free(py_self->ovf); - PyObject_Del(self); - } - diff --git a/community/pyvorbis/pyvorbis-1.4-python2.5.patch b/community/pyvorbis/pyvorbis-1.4-python2.5.patch deleted file mode 100644 index 41386d23e..000000000 --- a/community/pyvorbis/pyvorbis-1.4-python2.5.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- src/pyvorbisinfo.c 2007-03-13 01:23:23.000000000 +0200 -+++ src/pyvorbisinfo.c.new 2007-03-13 01:29:36.000000000 +0200 -@@ -134,7 +134,7 @@ - static void - py_ov_info_dealloc(PyObject *self) - { -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - #define CMP_RET(x) \ -@@ -418,7 +418,7 @@ - free(ovc_self->vc); - } - -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - ---- src/pyvorbiscodec.c 2003-05-13 11:17:13.000000000 +0300 -+++ src/pyvorbiscodec.c.new 2007-03-13 01:31:38.000000000 +0200 -@@ -118,7 +118,7 @@ - { - vorbis_dsp_clear(PY_DSP(self)); - Py_XDECREF(((py_dsp *)self)->parent); -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject* -@@ -447,7 +447,7 @@ - { - vorbis_block_clear(PY_BLOCK(self)); - Py_XDECREF(((py_block *)self)->parent); -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject* ---- src/pyvorbisfile.c 2003-12-19 09:11:02.000000000 +0200 -+++ src/pyvorbisfile.c.new 2007-03-13 01:31:19.000000000 +0200 -@@ -171,7 +171,7 @@ - - ret = py_ov_open(newobj, args); - if (ret == NULL) { -- PyMem_DEL(newobj); -+ PyObject_Del(newobj); - return NULL; - } else - Py_DECREF(ret); -@@ -195,7 +195,7 @@ - fclose(py_self->c_file); - } - -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject * |