diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-02 23:57:30 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-02 23:57:30 +0000 |
commit | 83d3f930291781dcab72463efa344f09942d6ff0 (patch) | |
tree | f948e7ef872b914cbc8ba41f1424864b1c782bae /kde-base/artsplugin-akode | |
parent | Masking app-misc/colortail pending removal (diff) | |
download | historical-83d3f930291781dcab72463efa344f09942d6ff0.tar.gz historical-83d3f930291781dcab72463efa344f09942d6ff0.tar.bz2 historical-83d3f930291781dcab72463efa344f09942d6ff0.zip |
Add patch to avoid memory leak in arts when using akode plugin. Thanks to Matthew Stapleton for the patch in bug #128574.
Package-Manager: portage-2.1_pre7-r3
Diffstat (limited to 'kde-base/artsplugin-akode')
5 files changed, 94 insertions, 1 deletions
diff --git a/kde-base/artsplugin-akode/ChangeLog b/kde-base/artsplugin-akode/ChangeLog index bc35c166e348..84a7730fd3b1 100644 --- a/kde-base/artsplugin-akode/ChangeLog +++ b/kde-base/artsplugin-akode/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for kde-base/artsplugin-akode # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/artsplugin-akode/ChangeLog,v 1.16 2006/03/28 04:47:46 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/artsplugin-akode/ChangeLog,v 1.17 2006/04/02 23:55:27 flameeyes Exp $ + +*artsplugin-akode-3.5.2-r1 (02 Apr 2006) + + 02 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/artsplugin-akode-3.5.2-memleak.patch, + +artsplugin-akode-3.5.2-r1.ebuild: + Add patch to avoid memory leak in arts when using akode plugin. Thanks to + Matthew Stapleton for the patch in bug #128574. 28 Mar 2006; Aron Griffis <agriffis@gentoo.org> artsplugin-akode-3.5.0.ebuild, artsplugin-akode-3.5.1.ebuild, diff --git a/kde-base/artsplugin-akode/Manifest b/kde-base/artsplugin-akode/Manifest index 0ea895794f6f..53ab7d2d1e04 100644 --- a/kde-base/artsplugin-akode/Manifest +++ b/kde-base/artsplugin-akode/Manifest @@ -1,8 +1,33 @@ MD5 91e9bd42900ccec75980b82e1ffb3a24 ChangeLog 2355 +RMD160 1b0171e5626b4ab70f98e10845767e8d5032cf56 ChangeLog 2355 +SHA256 2d23d923a7c001306bb97ea3687119a679c139880861b73d5b793aa0c5dde5a1 ChangeLog 2355 MD5 6cb7f5b157fd029e9176b53a09ad1568 artsplugin-akode-3.5.0.ebuild 801 +RMD160 d3880ce35d79d75863fe81a445eaa906aef9ceb3 artsplugin-akode-3.5.0.ebuild 801 +SHA256 5785d729a583367efaf86563332d87bc48394bf699bcdb74047a94fd71bac9bb artsplugin-akode-3.5.0.ebuild 801 MD5 49899f26c4f532ef02366ce980381992 artsplugin-akode-3.5.1.ebuild 801 +RMD160 e2685cdec76591d31cd7c298a68d7102c7971d9e artsplugin-akode-3.5.1.ebuild 801 +SHA256 e8a8ca5f3d64dff70679ea8d73115c58bc3b71ab4e4035aad52261afc36c7eb1 artsplugin-akode-3.5.1.ebuild 801 +MD5 3bf9af806e246e0909bc34b7e5d47722 artsplugin-akode-3.5.2-r1.ebuild 843 +RMD160 2ff20244562b9afd75a645f9e2e70eedc6712d8c artsplugin-akode-3.5.2-r1.ebuild 843 +SHA256 0e24a861dd8e585d217cb63a2afa59a39b4882a494a5183792adb02a673b2690 artsplugin-akode-3.5.2-r1.ebuild 843 MD5 5fda244d4cecec456e917b610e2027c6 artsplugin-akode-3.5.2.ebuild 801 +RMD160 1a1c301fae239572ace758d2a591bc4036b10acd artsplugin-akode-3.5.2.ebuild 801 +SHA256 9f0cb15e511305e6d6ba4a69e8c1c4f1fe728072b110c93eae8ef7cbf7e90718 artsplugin-akode-3.5.2.ebuild 801 +MD5 d860129d92634080c3f7368ed282e098 files/artsplugin-akode-3.5.2-memleak.patch 797 +RMD160 593b8a40af0b373259d37410f57989cdfb9ec568 files/artsplugin-akode-3.5.2-memleak.patch 797 +SHA256 1a6d341f130430ca7faef4188899e4fe98c4ba808ea9702d352a9b28eb2b3642 files/artsplugin-akode-3.5.2-memleak.patch 797 MD5 e3784b0621b80bc67e95d6226fd30369 files/digest-artsplugin-akode-3.5.0 73 +RMD160 83fa8dd19f40c8fe320ad48c9dead36103fc2a05 files/digest-artsplugin-akode-3.5.0 73 +SHA256 d820d31e6020bc01706b8a240f639cae757e994ff0d5e5481151c21da38408ea files/digest-artsplugin-akode-3.5.0 73 MD5 f7bf563f8c0291854194ea855b77a18d files/digest-artsplugin-akode-3.5.1 73 +RMD160 c9d5e58f456265f35c2a90d4b5a7b8d75800a2e4 files/digest-artsplugin-akode-3.5.1 73 +SHA256 126ac5a4d0f666da6b2d6ecb38305cdc7569556c64775d594c4644eb677dcdfd files/digest-artsplugin-akode-3.5.1 73 MD5 c6f3f23fcb5a1fa806c5073f45b26b59 files/digest-artsplugin-akode-3.5.2 265 +RMD160 5e81c0b91adc803bf7923ec3176b9ff50217ed22 files/digest-artsplugin-akode-3.5.2 265 +SHA256 da5960a94d94974711cce49b9e15a2465e392feb2dd48db846adce8d9e02d864 files/digest-artsplugin-akode-3.5.2 265 +MD5 c6f3f23fcb5a1fa806c5073f45b26b59 files/digest-artsplugin-akode-3.5.2-r1 265 +RMD160 5e81c0b91adc803bf7923ec3176b9ff50217ed22 files/digest-artsplugin-akode-3.5.2-r1 265 +SHA256 da5960a94d94974711cce49b9e15a2465e392feb2dd48db846adce8d9e02d864 files/digest-artsplugin-akode-3.5.2-r1 265 MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 +RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 +SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata.xml 156 diff --git a/kde-base/artsplugin-akode/artsplugin-akode-3.5.2-r1.ebuild b/kde-base/artsplugin-akode/artsplugin-akode-3.5.2-r1.ebuild new file mode 100644 index 000000000000..df66049f28a8 --- /dev/null +++ b/kde-base/artsplugin-akode/artsplugin-akode-3.5.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/artsplugin-akode/artsplugin-akode-3.5.2-r1.ebuild,v 1.1 2006/04/02 23:55:27 flameeyes Exp $ + +KMNAME=kdemultimedia +KMMODULE=akode_artsplugin +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +DESCRIPTION="akode arts plugin" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +DEPEND="media-libs/akode + $(deprange $PV $MAXKDEVER kde-base/kdemultimedia-arts)" + +KMCOPYLIB="libartsbuilder arts/runtime" + +PATCHES="${FILESDIR}/${P}-memleak.patch" + +pkg_setup() { + if ! useq arts; then + eerror "${PN} needs the USE=\"arts\" enabled and also the kdelibs compiled with the USE=\"arts\" enabled" + die + fi +} + +src_compile() { + local myconf="--with-akode" + + kde-meta_src_compile +} diff --git a/kde-base/artsplugin-akode/files/artsplugin-akode-3.5.2-memleak.patch b/kde-base/artsplugin-akode/files/artsplugin-akode-3.5.2-memleak.patch new file mode 100644 index 000000000000..6852e3f7ad3c --- /dev/null +++ b/kde-base/artsplugin-akode/files/artsplugin-akode-3.5.2-memleak.patch @@ -0,0 +1,25 @@ +diff -Naur kdemultimedia-3.5.1/akode_artsplugin/akodePlayObject_impl.cpp kdemultimedia-3.5.1-2/akode_artsplugin/akodePlayObject_impl.cpp +--- kdemultimedia-3.5.1/akode_artsplugin/akodePlayObject_impl.cpp 2005-09-10 18:20:04.000000000 +1000 ++++ kdemultimedia-3.5.1-2/akode_artsplugin/akodePlayObject_impl.cpp 2006-03-01 10:54:32.000000000 +1000 +@@ -83,6 +83,8 @@ + akodePlayObject_impl::~akodePlayObject_impl() + { + unload(); ++ ++ delete m_packetQueue; + } + + bool akodePlayObject_impl::loadPlugin(const string &plugin) +@@ -219,10 +221,9 @@ + delete bufferedDecoder; + bufferedDecoder = 0; + } +-#else +- delete frameDecoder +- frameDecoder = 0; + #endif ++ delete frameDecoder; ++ frameDecoder = 0; + decoder = 0; + if (buffer != inBuffer) + delete inBuffer; diff --git a/kde-base/artsplugin-akode/files/digest-artsplugin-akode-3.5.2-r1 b/kde-base/artsplugin-akode/files/digest-artsplugin-akode-3.5.2-r1 new file mode 100644 index 000000000000..91878b7b23bc --- /dev/null +++ b/kde-base/artsplugin-akode/files/digest-artsplugin-akode-3.5.2-r1 @@ -0,0 +1,3 @@ +MD5 f98ef8465bf4de1eb36bc3bdb1f4f7d6 kdemultimedia-3.5.2.tar.bz2 6272386 +RMD160 4f6fcb790e63f4af7a309677babd5e2ed938514f kdemultimedia-3.5.2.tar.bz2 6272386 +SHA256 01562af68008c10c04346a94d0dea7cedcb77673c0b7cd5cfc74360bf309a2f8 kdemultimedia-3.5.2.tar.bz2 6272386 |