From 90aceed35556c1473ac0f1eb7554b02248c59b15 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 18 Nov 2007 09:47:28 +0000 Subject: fix a small bug that prevented directory searching Package-Manager: portage-2.1.3.19 --- media-libs/vamp-plugin-sdk/ChangeLog | 9 ++++- media-libs/vamp-plugin-sdk/Manifest | 32 ++++++++------- .../files/digest-vamp-plugin-sdk-1.1b | 3 -- .../files/digest-vamp-plugin-sdk-1.1b-r1 | 3 ++ .../files/vamp-plugin-sdk-1.1b-dirsearch.patch | 13 ++++++ .../vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild | 47 ++++++++++++++++++++++ .../vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild | 46 --------------------- 7 files changed, 89 insertions(+), 64 deletions(-) delete mode 100644 media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b create mode 100644 media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b-r1 create mode 100644 media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch create mode 100644 media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild delete mode 100644 media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild (limited to 'media-libs/vamp-plugin-sdk') diff --git a/media-libs/vamp-plugin-sdk/ChangeLog b/media-libs/vamp-plugin-sdk/ChangeLog index 9ec7cf598e47..4f9a4464140d 100644 --- a/media-libs/vamp-plugin-sdk/ChangeLog +++ b/media-libs/vamp-plugin-sdk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/vamp-plugin-sdk # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.1 2007/11/17 16:07:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.2 2007/11/18 09:47:28 aballier Exp $ + +*vamp-plugin-sdk-1.1b-r1 (18 Nov 2007) + + 18 Nov 2007; Alexis Ballier + +files/vamp-plugin-sdk-1.1b-dirsearch.patch, -vamp-plugin-sdk-1.1b.ebuild, + +vamp-plugin-sdk-1.1b-r1.ebuild: + fix a small bug that prevented directory searching *vamp-plugin-sdk-1.1b (17 Nov 2007) diff --git a/media-libs/vamp-plugin-sdk/Manifest b/media-libs/vamp-plugin-sdk/Manifest index c6cbba3dae10..c0413155080d 100644 --- a/media-libs/vamp-plugin-sdk/Manifest +++ b/media-libs/vamp-plugin-sdk/Manifest @@ -5,26 +5,30 @@ AUX vamp-plugin-sdk-1.1b-destdir.patch 4105 RMD160 2442cde8440d85b1547845bc6404e MD5 c6177cf638c8feb24be5f7b6b978dbf2 files/vamp-plugin-sdk-1.1b-destdir.patch 4105 RMD160 2442cde8440d85b1547845bc6404e40457e18991 files/vamp-plugin-sdk-1.1b-destdir.patch 4105 SHA256 93efa1c1f31a00b84fadc83fe15ad57ab55eac587d60843d5ca7bc1a9ec57fcb files/vamp-plugin-sdk-1.1b-destdir.patch 4105 +AUX vamp-plugin-sdk-1.1b-dirsearch.patch 621 RMD160 d8789c9c12bc2c247416d27112f0d91cff1eafed SHA1 696c644dcb31d7736e841f7ed2ee4e200928fb90 SHA256 2cd20f93586cad67ad373643cf60d42a083fe2b3d7935eed8d4735bb572b7c90 +MD5 6e67cfb4a8364d0ccf5cc040ba88c359 files/vamp-plugin-sdk-1.1b-dirsearch.patch 621 +RMD160 d8789c9c12bc2c247416d27112f0d91cff1eafed files/vamp-plugin-sdk-1.1b-dirsearch.patch 621 +SHA256 2cd20f93586cad67ad373643cf60d42a083fe2b3d7935eed8d4735bb572b7c90 files/vamp-plugin-sdk-1.1b-dirsearch.patch 621 DIST vamp-plugin-sdk-1.1b.tar.gz 61565 RMD160 02a61b1bebcf1ccb03cac4e69fbf255bcac0f06c SHA1 b768b043664480ee068d9f6c5e4e760452a4cd80 SHA256 6be294fc301445f3091b49c06de1f0a223e6c2fe62889c09330ee3e5a488b83c -EBUILD vamp-plugin-sdk-1.1b.ebuild 1303 RMD160 ddd631ea3dd7d349e296114289a1e230c55ad4c9 SHA1 3bc3fb99d1af6f82e4f0af3a30848127b986945d SHA256 314638435fe664cbb72b921d4d317878eee031daacf02e726941760901a31255 -MD5 d947582b6733e4001edb66fa8a7648d6 vamp-plugin-sdk-1.1b.ebuild 1303 -RMD160 ddd631ea3dd7d349e296114289a1e230c55ad4c9 vamp-plugin-sdk-1.1b.ebuild 1303 -SHA256 314638435fe664cbb72b921d4d317878eee031daacf02e726941760901a31255 vamp-plugin-sdk-1.1b.ebuild 1303 -MISC ChangeLog 426 RMD160 15bed3383ca4b24fd29c97b07fa7b939ed866ae6 SHA1 a6aa4f05ae6dccf111f51f5b76f6a3ff43e6017d SHA256 2318d6bb7c32a1f3ec5a7e647e7d99dbe34525412b451eb24ca8f2b4ff461a0f -MD5 6429d76ddbb06ed49aa2d49241a02799 ChangeLog 426 -RMD160 15bed3383ca4b24fd29c97b07fa7b939ed866ae6 ChangeLog 426 -SHA256 2318d6bb7c32a1f3ec5a7e647e7d99dbe34525412b451eb24ca8f2b4ff461a0f ChangeLog 426 +EBUILD vamp-plugin-sdk-1.1b-r1.ebuild 1349 RMD160 487213ddbbd39a3620cedf1a9d56c65f66d24ae4 SHA1 04b67386ca87157c13b92a6943ef1ccd7e9adbbe SHA256 1d50ab7bc164c3d840d94739319b8c644a0e6b2ce9040fe7c02badd531c29a4d +MD5 4ef02ef15749be90fcc104091d4d3be5 vamp-plugin-sdk-1.1b-r1.ebuild 1349 +RMD160 487213ddbbd39a3620cedf1a9d56c65f66d24ae4 vamp-plugin-sdk-1.1b-r1.ebuild 1349 +SHA256 1d50ab7bc164c3d840d94739319b8c644a0e6b2ce9040fe7c02badd531c29a4d vamp-plugin-sdk-1.1b-r1.ebuild 1349 +MISC ChangeLog 684 RMD160 92d2465e0217473ce0454c2b5ac1b5910f6a3c1a SHA1 fad07512f6c7b99d39a7ceaf8fe77af38610f814 SHA256 fd58752909e0e0eb03e4adb0e150438025f4a136a49e00e1fd0bb0049b6869f0 +MD5 84d875fd7f0f7e272e0b5a3ae1809225 ChangeLog 684 +RMD160 92d2465e0217473ce0454c2b5ac1b5910f6a3c1a ChangeLog 684 +SHA256 fd58752909e0e0eb03e4adb0e150438025f4a136a49e00e1fd0bb0049b6869f0 ChangeLog 684 MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e MD5 f62f5a9cf5fe86389cf2bf4d85244ef5 metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 metadata.xml 161 SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e metadata.xml 161 -MD5 c4b534434d9529197117538f2503ab3f files/digest-vamp-plugin-sdk-1.1b 259 -RMD160 16202aee2ed42697bd3c54ee122e0bdd7c17c169 files/digest-vamp-plugin-sdk-1.1b 259 -SHA256 e4b6e7145fdd968ee4ff3203fcafef0e2289bdc07b53996ccfc86c99c1b1142b files/digest-vamp-plugin-sdk-1.1b 259 +MD5 c4b534434d9529197117538f2503ab3f files/digest-vamp-plugin-sdk-1.1b-r1 259 +RMD160 16202aee2ed42697bd3c54ee122e0bdd7c17c169 files/digest-vamp-plugin-sdk-1.1b-r1 259 +SHA256 e4b6e7145fdd968ee4ff3203fcafef0e2289bdc07b53996ccfc86c99c1b1142b files/digest-vamp-plugin-sdk-1.1b-r1 259 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHPxHRvFcC4BYPU0oRAv19AKCr6U4xLJPSlatIUuC8KM80t8maaACbBt8K -rf0DFDcJUuzsI/HF0gb6TiQ= -=up66 +iD8DBQFHQApMvFcC4BYPU0oRAkRAAKCbCr2rHj1XvCgYsKq3yECEgitmvQCguU49 ++Sr1Z8AFSXgpiWrW/DyBWh8= +=3Imv -----END PGP SIGNATURE----- diff --git a/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b b/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b deleted file mode 100644 index 2d19e23fec36..000000000000 --- a/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b +++ /dev/null @@ -1,3 +0,0 @@ -MD5 aeda086f10227e6ca473f714ac025807 vamp-plugin-sdk-1.1b.tar.gz 61565 -RMD160 02a61b1bebcf1ccb03cac4e69fbf255bcac0f06c vamp-plugin-sdk-1.1b.tar.gz 61565 -SHA256 6be294fc301445f3091b49c06de1f0a223e6c2fe62889c09330ee3e5a488b83c vamp-plugin-sdk-1.1b.tar.gz 61565 diff --git a/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b-r1 b/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b-r1 new file mode 100644 index 000000000000..2d19e23fec36 --- /dev/null +++ b/media-libs/vamp-plugin-sdk/files/digest-vamp-plugin-sdk-1.1b-r1 @@ -0,0 +1,3 @@ +MD5 aeda086f10227e6ca473f714ac025807 vamp-plugin-sdk-1.1b.tar.gz 61565 +RMD160 02a61b1bebcf1ccb03cac4e69fbf255bcac0f06c vamp-plugin-sdk-1.1b.tar.gz 61565 +SHA256 6be294fc301445f3091b49c06de1f0a223e6c2fe62889c09330ee3e5a488b83c vamp-plugin-sdk-1.1b.tar.gz 61565 diff --git a/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch new file mode 100644 index 000000000000..e93ec6c74f2d --- /dev/null +++ b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.1b-dirsearch.patch @@ -0,0 +1,13 @@ +Index: vamp-plugin-sdk-v1.1b/vamp-sdk/hostext/PluginLoader.cpp +=================================================================== +--- vamp-plugin-sdk-v1.1b.orig/vamp-sdk/hostext/PluginLoader.cpp ++++ vamp-plugin-sdk-v1.1b/vamp-sdk/hostext/PluginLoader.cpp +@@ -550,7 +550,7 @@ PluginLoader::Impl::listFiles(string dir + struct dirent *e = 0; + while ((e = readdir(d))) { + +- if (!(e->d_type & DT_REG) || !e->d_name) continue; ++ if ((!(e->d_type & DT_REG) && (e->d_type != DT_UNKNOWN)) || !e->d_name) continue; + + size_t len = strlen(e->d_name); + if (len < extlen + 2 || diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild new file mode 100644 index 000000000000..2cc2460d7ab5 --- /dev/null +++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b-r1.ebuild,v 1.1 2007/11/18 09:47:28 aballier Exp $ + +inherit toolchain-funcs eutils multilib + +DESCRIPTION="Audio processing plugin system for plugins that extract descriptive information from audio data" +HOMEPAGE="http://www.vamp-plugins.org" +SRC_URI="mirror://sourceforge/vamp/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="media-libs/libsndfile" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +S="${WORKDIR}/${PN}-v${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-destdir.patch" + epatch "${FILESDIR}/${P}-dirsearch.patch" + # multilib for default search paths + sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" vamp-sdk/PluginHostAdapter.cpp +} + +src_compile() { + tc-export CXX + emake || die "emake failed" + if use doc; then + doxygen || die "creating doxygen doc failed" + fi +} + +src_install() { + emake DESTDIR="${D}" INSTALL_SDK_LIBS="/usr/$(get_libdir)" INSTALL_PKGCONFIG="/usr/$(get_libdir)/pkgconfig" install || die "emake install failed" + dodoc README + insinto /usr/$(get_libdir)/vamp + doins examples/vamp-example-plugins{.so,.cat} + dobin host/vamp-simple-host + use doc && dohtml -r doc/html/* +} diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild deleted file mode 100644 index cee32abaf5e4..000000000000 --- a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.1b.ebuild,v 1.1 2007/11/17 16:07:24 aballier Exp $ - -inherit toolchain-funcs eutils multilib - -DESCRIPTION="Audio processing plugin system for plugins that extract descriptive information from audio data" -HOMEPAGE="http://www.vamp-plugins.org" -SRC_URI="mirror://sourceforge/vamp/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND="media-libs/libsndfile" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -S="${WORKDIR}/${PN}-v${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-destdir.patch" - # multilib for default search paths - sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" vamp-sdk/PluginHostAdapter.cpp -} - -src_compile() { - tc-export CXX - emake || die "emake failed" - if use doc; then - doxygen || die "creating doxygen doc failed" - fi -} - -src_install() { - emake DESTDIR="${D}" INSTALL_SDK_LIBS="/usr/$(get_libdir)" INSTALL_PKGCONFIG="/usr/$(get_libdir)/pkgconfig" install || die "emake install failed" - dodoc README - insinto /usr/$(get_libdir)/vamp - doins examples/vamp-example-plugins{.so,.cat} - dobin host/vamp-simple-host - use doc && dohtml -r doc/html/* -} -- cgit v1.2.3-65-gdbad