[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: 535f35b4369f28eb4f043297fc50c71e05bb9330 Author: Alfredo Tupone gentoo org> AuthorDate: Sat Apr 20 14:27:37 2024 + Commit: Alfredo Tupone gentoo org> CommitDate: Sat Apr 20 14:37:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=535f35b4 dev-tcltk/snack: PythonCompatUpdate Closes: https://bugs.gentoo.org/929524 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/files/snack-2.2.10-py3.8.patch| 11 +++ dev-tcltk/snack/snack-2.2.10-r11.ebuild | 8 .../{snack-2.2.10-r12.ebuild => snack-2.2.10-r13.ebuild} | 11 ++- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/dev-tcltk/snack/files/snack-2.2.10-py3.8.patch b/dev-tcltk/snack/files/snack-2.2.10-py3.8.patch new file mode 100644 index ..ec42b50eac88 --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-py3.8.patch @@ -0,0 +1,11 @@ +--- a/python/tkSnack.py2024-04-20 16:01:28.403396211 +0200 b/python/tkSnack.py2024-04-20 16:01:55.094084757 +0200 +@@ -267,7 +267,7 @@ + + def pitch(self, method=None, **kw): + """Returns a list of pitch values.""" +-if method is None or method is "amdf" or method is "AMDF": ++if method is None or method == "amdf" or method == "AMDF": + result = self.tk.call((self.name, 'pitch') + self._options(kw)) + return self._getdoubles(result) + else: diff --git a/dev-tcltk/snack/snack-2.2.10-r11.ebuild b/dev-tcltk/snack/snack-2.2.10-r11.ebuild index 86a34a7ced5e..1c38016a77ef 100644 --- a/dev-tcltk/snack/snack-2.2.10-r11.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,9 +13,11 @@ DESCRIPTION="The Snack Sound Toolkit (Tcl)" HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; +S="${WORKDIR}/${PN}${PV}/unix" + LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" +KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )" @@ -33,8 +35,6 @@ BDEPEND="python? ( REQUIRED_USE=${PYTHON_REQUIRED_USE} -S="${WORKDIR}/${PN}${PV}/unix" - PATCHES=( "${FILESDIR}"/alsa-undef-sym.patch "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch diff --git a/dev-tcltk/snack/snack-2.2.10-r12.ebuild b/dev-tcltk/snack/snack-2.2.10-r13.ebuild similarity index 96% rename from dev-tcltk/snack/snack-2.2.10-r12.ebuild rename to dev-tcltk/snack/snack-2.2.10-r13.ebuild index f99820784cc1..2e42ff833080 100644 --- a/dev-tcltk/snack/snack-2.2.10-r12.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r13.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) DISTUTILS_USE_PEP517=setuptools DISTUTILS_OPTIONAL=yes @@ -13,10 +13,12 @@ DESCRIPTION="The Snack Sound Toolkit (Tcl)" HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; +S="${WORKDIR}/${PN}${PV}/unix" LICENSE="GPL-2" -KEYWORDS="amd64 ~arm64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" +KEYWORDS="amd64 ~arm64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="alsa examples python vorbis" + RESTRICT="!test? ( test )" DEPEND=" @@ -33,8 +35,6 @@ BDEPEND="python? ( REQUIRED_USE=${PYTHON_REQUIRED_USE} -S="${WORKDIR}/${PN}${PV}/unix" - PATCHES=( "${FILESDIR}"/alsa-undef-sym.patch "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch @@ -46,6 +46,7 @@ PATCHES=( "${FILESDIR}"/${P}-configure-clang16.patch "${FILESDIR}"/${P}-implicit.patch "${FILESDIR}"/${P}-parallelMake.patch + "${FILESDIR}"/${P}-py3.8.patch ) HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 5cea67fbd301bb1de5f6aa4d841b52ff11ddaf80 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Jun 4 16:04:37 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jun 4 16:04:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cea67fb dev-tcltk/snack: Keyword 2.2.10-r12 arm64, #907772 Signed-off-by: Arthur Zamarin gentoo.org> dev-tcltk/snack/snack-2.2.10-r12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r12.ebuild b/dev-tcltk/snack/snack-2.2.10-r12.ebuild index 819ed697e7cb..f99820784cc1 100644 --- a/dev-tcltk/snack/snack-2.2.10-r12.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r12.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~arm64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 5453978ba775e5eea346d9c8f243c522eec14bc4 Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 5 10:08:26 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 5 10:08:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5453978b dev-tcltk/snack: Stabilize 2.2.10-r12 ppc, #904626 Signed-off-by: Arthur Zamarin gentoo.org> dev-tcltk/snack/snack-2.2.10-r12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r12.ebuild b/dev-tcltk/snack/snack-2.2.10-r12.ebuild index 22788d46016d..819ed697e7cb 100644 --- a/dev-tcltk/snack/snack-2.2.10-r12.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r12.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ~ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 3cee37fd980d6386d35a4ea02233b3f1a50b4222 Author: Rolf Eike Beer sf-mail de> AuthorDate: Fri Apr 28 12:23:33 2023 + Commit: Sam James gentoo org> CommitDate: Sat Apr 29 08:47:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cee37fd dev-tcltk/snack: stable 2.2.10-r12 for sparc, bug #904626 Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> dev-tcltk/snack/snack-2.2.10-r12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r12.ebuild b/dev-tcltk/snack/snack-2.2.10-r12.ebuild index 1c0a69bc0d86..22788d46016d 100644 --- a/dev-tcltk/snack/snack-2.2.10-r12.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r12.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~hppa ~ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: da33ed9b2e8125f60abf68cfd7b2ab2dfa4e4bf4 Author: Sam James gentoo org> AuthorDate: Thu Apr 20 04:02:13 2023 + Commit: Sam James gentoo org> CommitDate: Thu Apr 20 04:02:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da33ed9b dev-tcltk/snack: Stabilize 2.2.10-r12 x86, #904626 Signed-off-by: Sam James gentoo.org> dev-tcltk/snack/snack-2.2.10-r12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r12.ebuild b/dev-tcltk/snack/snack-2.2.10-r12.ebuild index e22a0370efb7..1c0a69bc0d86 100644 --- a/dev-tcltk/snack/snack-2.2.10-r12.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r12.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~hppa ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: e9c3578df81fce562030148804915cffd306a14c Author: Sam James gentoo org> AuthorDate: Wed Apr 19 14:06:42 2023 + Commit: Sam James gentoo org> CommitDate: Wed Apr 19 14:06:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c3578d dev-tcltk/snack: Stabilize 2.2.10-r12 amd64, #904626 Signed-off-by: Sam James gentoo.org> dev-tcltk/snack/snack-2.2.10-r12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r12.ebuild b/dev-tcltk/snack/snack-2.2.10-r12.ebuild index 98877b833d37..e22a0370efb7 100644 --- a/dev-tcltk/snack/snack-2.2.10-r12.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r12.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
commit: a54a12a7c0c6ee40cf37eae712287712d7b58242 Author: Alfredo Tupone gentoo org> AuthorDate: Fri Mar 17 21:58:56 2023 + Commit: Alfredo Tupone gentoo org> CommitDate: Fri Mar 17 22:01:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a54a12a7 dev-tcltk/snack: remove some test Float samples comparison is too restrictive Closes: https://bugs.gentoo.org/835486 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/files/snack-2.2.10-test.patch | 30 +++ 1 file changed, 30 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-test.patch b/dev-tcltk/snack/files/snack-2.2.10-test.patch index 2ba3a0e82d99..ba8a91c8774d 100644 --- a/dev-tcltk/snack/files/snack-2.2.10-test.patch +++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch @@ -117,3 +117,33 @@ test dbpower-1.3 {dBPowerSpectrum command, -end and -skip options} { set s [snack::sound snd -load ex1.wav] set tcl_precision 5 +--- a/tests/filter.test2023-03-17 22:53:35.463977748 +0100 b/tests/filter.test2023-03-17 22:55:40.931996456 +0100 +@@ -362,27 +362,6 @@ + set res + } {16000 16000 10026 -6287 Lin16 1 RAW 0} + +-test filter-7.1 {iir filter, applied to sound} { +- set s [snack::sound snd -load ex1.wav] +- set f [snack::filter iir -numerator "0.99 -0.99" -denominator "1 -0.99"] +- $s filter $f -continuedrain 0 +- set res [$s info] +- $f destroy +- $s destroy +- set res +-} {15820 16000 13222 -9615 Lin16 1 WAV 44} +- +-test filter-7.2 {iir filter, applied to stereo sound} { +- set s [snack::sound snd -load ex1.wav] +- $s convert -channels 2 +- set f [snack::filter iir -numerator "0.99 -0.99" -denominator "1 -0.99"] +- $s filter $f -continuedrain 0 +- set res [$s info] +- $f destroy +- $s destroy +- set res +-} {15820 16000 13222 -9616 Lin16 2 WAV 44} +- + test filter-8.1 {fade filter, applied to sound} { + set s [snack::sound snd -rate 4000] + $s length 4
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: b33e40d495e9b40dc0aed90abe6a1dc9d7404650 Author: Alfredo Tupone gentoo org> AuthorDate: Sun Feb 26 18:53:28 2023 + Commit: Alfredo Tupone gentoo org> CommitDate: Sun Feb 26 18:53:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b33e40d4 dev-tcltk/snack: update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/896906 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r12.ebuild | 131 1 file changed, 131 insertions(+) diff --git a/dev-tcltk/snack/snack-2.2.10-r12.ebuild b/dev-tcltk/snack/snack-2.2.10-r12.ebuild new file mode 100644 index ..98877b833d37 --- /dev/null +++ b/dev-tcltk/snack/snack-2.2.10-r12.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_OPTIONAL=yes + +inherit distutils-r1 flag-o-matic toolchain-funcs virtualx + +DESCRIPTION="The Snack Sound Toolkit (Tcl)" +HOMEPAGE="http://www.speech.kth.se/snack/; +SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +SLOT="0" +IUSE="alsa examples python vorbis" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-lang/tcl:0= + dev-lang/tk:0= + alsa? ( media-libs/alsa-lib ) + python? ( ${PYTHON_DEPS} ) + vorbis? ( media-libs/libvorbis )" +RDEPEND="${DEPEND}" +BDEPEND="python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} +)" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S="${WORKDIR}/${PN}${PV}/unix" + +PATCHES=( + "${FILESDIR}"/alsa-undef-sym.patch + "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch + "${FILESDIR}"/${P}-debian-args.patch + "${FILESDIR}"/${P}-test.patch + "${FILESDIR}"/${PN}${PV}-seektell-fix.patch + "${FILESDIR}"/tcl-${P}-python3.patch + "${FILESDIR}"/${P}-lto.patch + "${FILESDIR}"/${P}-configure-clang16.patch + "${FILESDIR}"/${P}-implicit.patch + "${FILESDIR}"/${P}-parallelMake.patch +) + +HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" + +src_prepare() { + # adds -install_name (soname on Darwin) + [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) + + sed \ + -e "s:ar cr:$(tc-getAR) cr:g" \ + -e "s|-O|${CFLAGS}|g" \ + -i Makefile.in || die + + cd .. + + default + + sed \ + -e 's|^\(#define roundf(.*\)|//\1|' \ + -i generic/jkFormatMP3.c || die + rm tests/{play,record}.test || die + if use python; then + cd python + distutils-r1_src_prepare + fi +} + +src_configure() { + # For Clang 16, bunch of -Wimplicit-int, etc + append-flags -std=gnu89 + + local myconf="" + + use alsa && myconf+=" --enable-alsa" + + if use vorbis; then + myconf+=" --with-ogg-include="${EPREFIX}"/usr/include" + myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" + fi + + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --includedir="${EPREFIX}"/usr/include \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + --with-tk="${EPREFIX}"/usr/$(get_libdir) \ + $myconf + if use python; then + cd ../python + distutils-r1_src_configure + fi +} + +src_compile() { + default + if use python; then + cd ../python + distutils-r1_src_compile + fi +} + +src_test() { + TCLLIBPATH=${S} virtx default | tee snack.testResult + grep -q FAILED snack.testResult && die +} + +src_install() { + default + + if use python ; then + cd "${S}"/../python || die + distutils-r1_src_install + fi + + cd "${S}"/.. || die + + if use examples ; then + docinto examples + sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die + dodoc -r demos/tcl + + use python && dodoc -r demos/python + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: a6fc08c0bf07d08f2ee66b45ee0a2cd58d266e1f Author: Alfredo Tupone gentoo org> AuthorDate: Mon Jan 16 07:43:06 2023 + Commit: Alfredo Tupone gentoo org> CommitDate: Mon Jan 16 07:46:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6fc08c0 dev-tcltk/snack: fix parallelMake Closes: https://bugs.gentoo.org/884611 Signed-off-by: Alfredo Tupone gentoo.org> .../snack/files/snack-2.2.10-parallelMake.patch | 20 dev-tcltk/snack/snack-2.2.10-r11.ebuild | 1 + 2 files changed, 21 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-parallelMake.patch b/dev-tcltk/snack/files/snack-2.2.10-parallelMake.patch new file mode 100644 index ..53e79c0f1eff --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-parallelMake.patch @@ -0,0 +1,20 @@ +--- a/unix/Makefile.in 2023-01-16 08:39:23.021056229 +0100 b/unix/Makefile.in 2023-01-16 08:40:31.485926112 +0100 +@@ -290,7 +290,7 @@ + SphereFile.o: $(GENERIC_DIR)/SphereFile.c + $(CC) -c $(CFLAGS) -DUSE_SNACK_STUBS $(GENERIC_DIR)/SphereFile.c + +-libsnacksphere${SHLIB_SUFFIX}: ${OBJNIST} ++libsnacksphere${SHLIB_SUFFIX}: ${OBJNIST} stublib + ${SHLIB_LD} ${OBJNIST} ${LIBNIST} -o libsnacksphere${SHLIB_SUFFIX} + + LIBOGG = @OGGLIBS@ -lc @TCL_LIB_SPEC@ -L. @SNACK_STUB_LIB_FLAG@ +@@ -299,7 +299,7 @@ + SnackOgg.o: $(GENERIC_DIR)/SnackOgg.c + $(CC) @OGGINC@ -c $(CFLAGS) -DUSE_SNACK_STUBS $(GENERIC_DIR)/SnackOgg.c + +-libsnackogg${SHLIB_SUFFIX}: ${OBJOGG} ++libsnackogg${SHLIB_SUFFIX}: ${OBJOGG} stublib + ${SHLIB_LD} ${OBJOGG} ${LIBOGG} -o libsnackogg${SHLIB_SUFFIX} + + install: diff --git a/dev-tcltk/snack/snack-2.2.10-r11.ebuild b/dev-tcltk/snack/snack-2.2.10-r11.ebuild index 6d62f7387c2b..86a34a7ced5e 100644 --- a/dev-tcltk/snack/snack-2.2.10-r11.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r11.ebuild @@ -45,6 +45,7 @@ PATCHES=( "${FILESDIR}"/${P}-lto.patch "${FILESDIR}"/${P}-configure-clang16.patch "${FILESDIR}"/${P}-implicit.patch + "${FILESDIR}"/${P}-parallelMake.patch ) HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: 8b9ad99d5952087da5f262c4e20f236749b33f0d Author: Alfredo Tupone gentoo org> AuthorDate: Mon Jan 16 07:30:58 2023 + Commit: Alfredo Tupone gentoo org> CommitDate: Mon Jan 16 07:31:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9ad99d dev-tcltk/snack: fix implicit warnings Closes: https://bugs.gentoo.org/884413 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/files/snack-2.2.10-implicit.patch | 92 +++ dev-tcltk/snack/snack-2.2.10-r11.ebuild | 1 + 2 files changed, 93 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-implicit.patch b/dev-tcltk/snack/files/snack-2.2.10-implicit.patch new file mode 100644 index ..965b1af0dbe2 --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-implicit.patch @@ -0,0 +1,92 @@ +--- a/generic/sigproc2.c 2023-01-16 08:03:06.605091947 +0100 b/generic/sigproc2.c 2023-01-16 08:11:03.641089339 +0100 +@@ -465,9 +465,7 @@ + } + + /*+*/ +-int get_window(dout, n, type) +- register double *dout; +- register int n; ++int get_window(register double *dout, register int n, int type) + { + static short *din = NULL; + static int n0 = 0; +@@ -506,9 +504,7 @@ + } + + /*+*/ +-int get_float_window(fout, n, type) +- register float *fout; +- register int n; ++int get_float_window(register float *fout, register int n, int type) + { + static int n0 = 0; + static double *dout = NULL; +@@ -533,10 +529,7 @@ + } + + /*+*/ +-int fwindow(din, dout, n, preemp, type) +- register short *din; +- register float *dout, preemp; +- register int n; ++int fwindow(register short *din, register float *dout, register int n, register float preemp, int type) + { + static float *fwind=NULL; + static int size=0, otype= (-100); +@@ -572,10 +565,7 @@ + + /*+*/ + /* same as fwindow() but input is float */ +-int fwindow_f(din, dout, n, preemp, type) +- register float *din; +- register float *dout, preemp; +- register int n; ++int fwindow_f(register float *din, register float *dout, register int n, register float preemp, int type) + { + static float *fwind=NULL; + static int size=0, otype= (-100); +@@ -611,10 +601,7 @@ + + /*+*/ + /* same as fwindow() but I/O is double */ +-int fwindow_d(din, dout, n, preemp, type) +- register double *din; +- register double *dout, preemp; +- register int n; ++int fwindow_d(register double *din, register double *dout, register int n, register double preemp, int type) + { + static float *fwind=NULL; + static int size=0, otype= (-100); +@@ -651,10 +638,7 @@ + + + /*+*/ +-void w_window(din, dout, n, preemp, type) +- register short *din; +- register double *dout, preemp; +- register int n; ++void w_window(register short *din, register double *dout, register int n, register double preemp, int type) + { + switch(type) { + case 0: +--- a/generic/jkCanvSpeg.c 2023-01-16 08:25:51.880415841 +0100 b/generic/jkCanvSpeg.c 2023-01-16 08:26:43.667561725 +0100 +@@ -92,7 +92,7 @@ +Tk_Window tkwin, CONST84 char *value, char *recordPtr, +int offset); + +-static char *PrintColorMap(ClientData clientData, Tk_Window tkwin, ++static const char *PrintColorMap(ClientData clientData, Tk_Window tkwin, + char *recordPtr, int offset, + Tcl_FreeProc **freeProcPtr); + +@@ -1797,7 +1797,7 @@ + return TCL_OK; + } + +-static char* ++static const char* + PrintColorMap(ClientData clientData, Tk_Window tkwin, char *recordPtr, + int offset, Tcl_FreeProc **freeProcPtr) + { diff --git a/dev-tcltk/snack/snack-2.2.10-r11.ebuild b/dev-tcltk/snack/snack-2.2.10-r11.ebuild index ee85a588fdfc..6d62f7387c2b 100644 --- a/dev-tcltk/snack/snack-2.2.10-r11.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r11.ebuild @@ -44,6 +44,7 @@ PATCHES=( "${FILESDIR}"/tcl-${P}-python3.patch "${FILESDIR}"/${P}-lto.patch "${FILESDIR}"/${P}-configure-clang16.patch + "${FILESDIR}"/${P}-implicit.patch ) HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: e59c3751e4d2d073dd9e9440741221905f3939e5 Author: Alfredo Tupone gentoo org> AuthorDate: Sun Jan 15 20:47:41 2023 + Commit: Alfredo Tupone gentoo org> CommitDate: Sun Jan 15 20:48:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e59c3751 dev-tcltk/snack: select PEP517 Closes: https://bugs.gentoo.org/803917 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/{snack-2.2.10-r10.ebuild => snack-2.2.10-r11.ebuild} | 5 + 1 file changed, 5 insertions(+) diff --git a/dev-tcltk/snack/snack-2.2.10-r10.ebuild b/dev-tcltk/snack/snack-2.2.10-r11.ebuild similarity index 96% rename from dev-tcltk/snack/snack-2.2.10-r10.ebuild rename to dev-tcltk/snack/snack-2.2.10-r11.ebuild index d05779192c34..ee85a588fdfc 100644 --- a/dev-tcltk/snack/snack-2.2.10-r10.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r11.ebuild @@ -4,6 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{9,10} ) +DISTUTILS_USE_PEP517=setuptools DISTUTILS_OPTIONAL=yes inherit distutils-r1 flag-o-matic toolchain-funcs virtualx @@ -25,6 +26,10 @@ DEPEND=" python? ( ${PYTHON_DEPS} ) vorbis? ( media-libs/libvorbis )" RDEPEND="${DEPEND}" +BDEPEND="python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} +)" REQUIRED_USE=${PYTHON_REQUIRED_USE}
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: f28a75cf5d8f637bfa798c72c64eaa964909cc28 Author: Sam James gentoo org> AuthorDate: Wed Nov 23 00:13:14 2022 + Commit: Sam James gentoo org> CommitDate: Wed Nov 23 00:29:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28a75cf dev-tcltk/snack: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch | 12 .../{snack-2.2.10-r9.ebuild => snack-2.2.10-r10.ebuild} | 6 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch b/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch new file mode 100644 index ..e038bf570abf --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch @@ -0,0 +1,12 @@ +Issue in autoconf which is already fixed upstream but we can't autoreconf, +it seems. +--- a/unix/configure b/unix/configure +@@ -2928,6 +2928,7 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include ++#include + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r10.ebuild similarity index 93% rename from dev-tcltk/snack/snack-2.2.10-r9.ebuild rename to dev-tcltk/snack/snack-2.2.10-r10.ebuild index d95bd49e31da..4bed77e60cd6 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r10.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9,10} ) DISTUTILS_OPTIONAL=yes -inherit distutils-r1 toolchain-funcs virtualx +inherit distutils-r1 flag-o-matic toolchain-funcs virtualx DESCRIPTION="The Snack Sound Toolkit (Tcl)" HOMEPAGE="http://www.speech.kth.se/snack/; @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${PN}${PV}-seektell-fix.patch "${FILESDIR}"/tcl-${P}-python3.patch "${FILESDIR}"/${P}-lto.patch + "${FILESDIR}"/${P}-configure-clang16.patch ) HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" @@ -66,6 +67,9 @@ src_prepare() { } src_configure() { + # For Clang 16, bunch of -Wimplicit-int, etc + append-flags -std=gnu89 + local myconf="" use alsa && myconf+=" --enable-alsa"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: f3945e03f09a91f63c9a4068457580d1195a5841 Author: Alfredo Tupone gentoo org> AuthorDate: Mon Jul 18 06:34:01 2022 + Commit: Alfredo Tupone gentoo org> CommitDate: Mon Jul 18 06:34:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3945e03 dev-tcltk/snack: fix type mismatch Closes: https://bugs.gentoo.org/858263 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/files/snack-2.2.10-lto.patch | 28 dev-tcltk/snack/snack-2.2.10-r9.ebuild | 1 + 2 files changed, 29 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-lto.patch b/dev-tcltk/snack/files/snack-2.2.10-lto.patch new file mode 100644 index ..27c6b6c9126f --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-lto.patch @@ -0,0 +1,28 @@ +--- a/generic/sound.c 2022-07-18 08:21:20.492977432 +0200 b/generic/sound.c 2022-07-18 08:21:44.720698702 +0200 +@@ -120,9 +120,9 @@ + int littleEndian = 0; + + #ifdef __cplusplus +-extern "C" SnackStubs *snackStubs; ++extern "C" SnackStubs snackStubs; + #else +-extern SnackStubs *snackStubs; ++extern SnackStubs snackStubs; + #endif + + extern Tcl_HashTable *filterHashTable; +--- a/generic/snack.c 2022-07-18 08:21:29.953868734 +0200 b/generic/snack.c 2022-07-18 08:22:05.978453035 +0200 +@@ -203,9 +203,9 @@ + int littleEndian = 0; + + #ifdef __cplusplus +-extern "C" SnackStubs *snackStubs; ++extern "C" SnackStubs snackStubs; + #else +-extern SnackStubs *snackStubs; ++extern SnackStubs snackStubs; + #endif + + extern Tcl_HashTable *filterHashTable; diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 4466b95ddb31..d95bd49e31da 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -37,6 +37,7 @@ PATCHES=( "${FILESDIR}"/${P}-test.patch "${FILESDIR}"/${PN}${PV}-seektell-fix.patch "${FILESDIR}"/tcl-${P}-python3.patch + "${FILESDIR}"/${P}-lto.patch ) HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: ac13d4a300c688ed5b9e7dc0d1b0d7c7c9d245a8 Author: Alfredo Tupone gentoo org> AuthorDate: Fri Feb 4 20:02:12 2022 + Commit: Alfredo Tupone gentoo org> CommitDate: Fri Feb 4 20:02:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac13d4a3 dev-tcltk/snack: PythonCompatUpdate Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 14313d7b98c7..4466b95ddb31 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{7,8,9,10} ) DISTUTILS_OPTIONAL=yes inherit distutils-r1 toolchain-funcs virtualx
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 91048aff11aadefe13ef7fb0b12a9de553c71b0d Author: Michał Górny gentoo org> AuthorDate: Tue Feb 1 18:42:26 2022 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 1 18:51:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91048aff dev-tcltk/snack: Remove DISTUTILS_USE_SETUPTOOLS DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, and now it triggers a QA warning. Remove it. Signed-off-by: Michał Górny gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 310699533c3c..14313d7b98c7 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=no DISTUTILS_OPTIONAL=yes inherit distutils-r1 toolchain-funcs virtualx
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 962bea667672e804af94298d7b0215377a7ac1ed Author: Alfredo Tupone gentoo org> AuthorDate: Sat Sep 18 16:28:31 2021 + Commit: Alfredo Tupone gentoo org> CommitDate: Sat Sep 18 16:50:42 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962bea66 dev-tcltk/snack: UnusedInherits Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 55b113929d8..310699533c3 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{7..9} ) DISTUTILS_USE_SETUPTOOLS=no DISTUTILS_OPTIONAL=yes -inherit autotools distutils-r1 multilib toolchain-funcs virtualx +inherit distutils-r1 toolchain-funcs virtualx DESCRIPTION="The Snack Sound Toolkit (Tcl)" HOMEPAGE="http://www.speech.kth.se/snack/;
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 0094ed8aaaf869c8d116914fe524a3e6a066636c Author: Alfredo Tupone gentoo org> AuthorDate: Sun May 23 10:14:30 2021 + Commit: Alfredo Tupone gentoo org> CommitDate: Sun May 23 10:14:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0094ed8a dev-tcltk/snack: enable python 3.9 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 1c89f67a187..55b113929d8 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) DISTUTILS_USE_SETUPTOOLS=no DISTUTILS_OPTIONAL=yes
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 127025e1b607ebdcb276f7a06bf59d3bb8f7d337 Author: Alfredo Tupone gentoo org> AuthorDate: Mon Apr 12 18:06:40 2021 + Commit: Alfredo Tupone gentoo org> CommitDate: Mon Apr 12 18:06:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127025e1 dev-tcltk/snack: enable snack on python3.8 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index b4da7e9d7da..1c89f67a187 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7,8} ) DISTUTILS_USE_SETUPTOOLS=no DISTUTILS_OPTIONAL=yes
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: a143e4b276c3d21a8fd2c8628c567f803b9555a5 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 22:32:43 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 22:32:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a143e4b2 dev-tcltk/snack: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 8297792447d..b4da7e9d7da 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 945058a7fabef8f76644da806ff99d06798d3817 Author: Michał Górny gentoo org> AuthorDate: Thu Nov 5 22:18:00 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Nov 5 22:26:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=945058a7 dev-tcltk/snack: Remove old Signed-off-by: Michał Górny gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 102 - 1 file changed, 102 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild deleted file mode 100644 index d7020cd2ef0..000 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools distutils-r1 multilib toolchain-funcs virtualx - -DESCRIPTION="The Snack Sound Toolkit (Tcl)" -HOMEPAGE="http://www.speech.kth.se/snack/; -SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; - -LICENSE="GPL-2" -KEYWORDS="amd64 hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -SLOT="0" -IUSE="alsa examples python vorbis" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-lang/tcl:0= - dev-lang/tk:0= - alsa? ( media-libs/alsa-lib ) - python? ( ${PYTHON_DEPS} ) - vorbis? ( media-libs/libvorbis )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}${PV}/unix" - -PATCHES=( - "${FILESDIR}"/alsa-undef-sym.patch - "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch - "${FILESDIR}"/${P}-debian-args.patch - "${FILESDIR}"/${P}-test.patch -) - -HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" - -src_prepare() { - # adds -install_name (soname on Darwin) - [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) - - sed \ - -e "s:ar cr:$(tc-getAR) cr:g" \ - -e "s|-O|${CFLAGS}|g" \ - -i Makefile.in || die - - cd .. - - default - - sed \ - -e 's|^\(#define roundf(.*\)|//\1|' \ - -i generic/jkFormatMP3.c || die - rm tests/{play,record}.test || die -} - -src_configure() { - local myconf="" - - use alsa && myconf+=" --enable-alsa" - - if use vorbis; then - myconf+=" --with-ogg-include="${EPREFIX}"/usr/include" - myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" - fi - - econf \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --includedir="${EPREFIX}"/usr/include \ - --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ - --with-tk="${EPREFIX}"/usr/$(get_libdir) \ - $myconf -} - -src_compile() { - default -} - -src_test() { - TCLLIBPATH=${S} virtx default | tee snack.testResult - grep -q FAILED snack.testResult && die -} - -src_install() { - default - - if use python ; then - cd "${S}"/../python || die - distutils-r1_src_install - fi - - cd "${S}"/.. || die - - if use examples ; then - docinto examples - sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die - dodoc -r demos/tcl - - use python && dodoc -r demos/python - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 5bdde3e44e1de6f568a98d929864f768b3438a56 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Oct 18 18:04:48 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Oct 18 18:04:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bdde3e4 dev-tcltk/snack: x86 stable (bug #743502) Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 359d0ba8fe1..1199a8be1a3 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 hppa ppc sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/, dev-tcltk/snack/files/
commit: 3ed8f0ca8cb1852cd2531d52e95e1aca4c5d9b6d Author: Alfredo Tupone gentoo org> AuthorDate: Fri Oct 16 06:06:38 2020 + Commit: Alfredo Tupone gentoo org> CommitDate: Fri Oct 16 06:07:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ed8f0ca dev-tcltk/snack: remove ppc64 Closes: https://bugs.gentoo.org/749153 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/files/snack-2.2.10-test.patch | 39 ++- dev-tcltk/snack/snack-2.2.10-r8.ebuild| 2 +- dev-tcltk/snack/snack-2.2.10-r9.ebuild| 2 +- 3 files changed, 16 insertions(+), 27 deletions(-) diff --git a/dev-tcltk/snack/files/snack-2.2.10-test.patch b/dev-tcltk/snack/files/snack-2.2.10-test.patch index 76c1ab17a9c..2ba3a0e82d9 100644 --- a/dev-tcltk/snack/files/snack-2.2.10-test.patch +++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch @@ -9,17 +9,23 @@ test pitch-2.1 {pitch command, with missing argument for -start option} { set s [snack::sound snd -load ex1.wav] a/tests/power.test 2018-12-02 21:58:19.319057755 +0100 -+++ b/tests/power.test 2018-12-02 21:56:48.303543173 +0100 -@@ -14,7 +14,7 @@ - set res [$s power] - $s destroy - set res --} {57.668 58.916 57.992 58.647 58.462 58.415 58.353 58.948 58.897 59.02 58.761 58.745 58.248 58.595 59.158 58.846 58.467 61.37 59.153 59.315 58.301 60.035 59.451 58.963 71.281 71.387 71.13 71.213 71.01 70.635 69.845 68.822 68.986 68.525 67.103 66.664 67.365 67.627 66.72 67.337 67.657 68.365 68.854 68.204 58.26 58.141 66.927 69.789 69.122 69.601 69.076 68.909 69.337 68.621 67.11 65.266 64.678 64.223 61.751 60.287 59.447 57.811 58.444 58.209 57.645 57.279 56.377 56.572 56.467 56.796 57.045 57.735 57.858 57.081 56.943 56.421 54.929 56.202 57.349 57.643 57.477 58.207 57.706 58.385 58.601 59.228 58.694 57.176 57.423 57.733 58.599 58.614 58.771 59.005 58.651 59.077 59.001 58.113 58.374} -+} {57.668 58.916 57.992 58.647 58.463 58.415 58.353 58.948 58.897 59.02 58.761 58.745 58.248 58.595 59.158 58.846 58.467 61.37 59.153 59.315 58.301 60.035 59.451 58.963 71.281 71.387 71.13 71.213 71.01 70.635 69.845 68.822 68.986 68.525 67.103 66.664 67.365 67.627 66.72 67.337 67.657 68.365 68.854 68.204 58.26 58.141 66.927 69.789 69.122 69.601 69.076 68.909 69.337 68.621 67.11 65.266 64.678 64.223 61.751 60.287 59.447 57.811 58.444 58.209 57.645 57.279 56.377 56.572 56.467 56.796 57.045 57.735 57.858 57.081 56.943 56.421 54.929 56.202 57.349 57.643 57.477 58.207 57.706 58.385 58.601 59.228 58.694 57.176 57.423 57.733 58.599 58.614 58.771 59.005 58.651 59.077 59.001 58.113 58.374} +--- a/tests/power.test 2020-10-12 21:45:55.843838864 +0200 b/tests/power.test 2020-10-12 21:46:21.732387559 +0200 +@@ -8,14 +8,6 @@ + namespace import ::tcltest::* + } +-test power-1.1 {power command} { +- set s [snack::sound snd -load ex1.wav] +- set tcl_precision 5 +- set res [$s power] +- $s destroy +- set res +-} {57.668 58.916 57.992 58.647 58.462 58.415 58.353 58.948 58.897 59.02 58.761 58.745 58.248 58.595 59.158 58.846 58.467 61.37 59.153 59.315 58.301 60.035 59.451 58.963 71.281 71.387 71.13 71.213 71.01 70.635 69.845 68.822 68.986 68.525 67.103 66.664 67.365 67.627 66.72 67.337 67.657 68.365 68.854 68.204 58.26 58.141 66.927 69.789 69.122 69.601 69.076 68.909 69.337 68.621 67.11 65.266 64.678 64.223 61.751 60.287 59.447 57.811 58.444 58.209 57.645 57.279 56.377 56.572 56.467 56.796 57.045 57.735 57.858 57.081 56.943 56.421 54.929 56.202 57.349 57.643 57.477 58.207 57.706 58.385 58.601 59.228 58.694 57.176 57.423 57.733 58.599 58.614 58.771 59.005 58.651 59.077 59.001 58.113 58.374} +- test power-1.2 {power command} { set s [snack::sound snd -load ex1.wav] + set tcl_precision 5 --- a/tests/mixer.test 2019-05-15 08:41:24.761148030 +0200 +++ b/tests/mixer.test 2019-05-15 08:41:37.902919720 +0200 @@ -13,12 +13,6 @@ @@ -93,23 +99,6 @@ test pitch-2.1 {pitch command, with missing argument for -start option} { set s [snack::sound snd -load ex1.wav] catch {$s pitch -start} msg a/tests/power.test 2020-10-12 21:45:55.843838864 +0200 -+++ b/tests/power.test 2020-10-12 21:46:21.732387559 +0200 -@@ -8,14 +8,6 @@ - namespace import ::tcltest::* - } - --test power-1.1 {power command} { -- set s [snack::sound snd -load ex1.wav] -- set tcl_precision 5 -- set res [$s power] -- $s destroy -- set res --} {57.668 58.916 57.992 58.647 58.463 58.415 58.353 58.948 58.897 59.02 58.761 58.745 58.248 58.595 59.158 58.846 58.467 61.37 59.153 59.315 58.301 60.035 59.451 58.963 71.281 71.387 71.13 71.213 71.01 70.635 69.845 68.822 68.986 68.525 67.103 66.664 67.365 67.627 66.72 67.337 67.657 68.365 68.854 68.204 58.26 58.141 66.927 69.789 69.122 69.601 69.076 68.909 69.337 68.621 67.11 65.266 64.678 64.223 61.751 60.287 59.447 57.811 58.444 58.209 57.645 57.279 56.377 56.572 56.467 56.796 57.045 57.735 57.858 57.081 56.943 56.421
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
commit: cc5a6575aa0c2408fbe0793f3e19164e2ba02202 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Oct 14 17:09:33 2020 + Commit: Alfredo Tupone gentoo org> CommitDate: Wed Oct 14 17:10:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5a6575 dev-tcltk/snack: remove other test due to math precision Closes: https://bugs.gentoo.org/748972 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/files/snack-2.2.10-test.patch | 18 ++ 1 file changed, 18 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-test.patch b/dev-tcltk/snack/files/snack-2.2.10-test.patch index 0aa87c68436..76c1ab17a9c 100644 --- a/dev-tcltk/snack/files/snack-2.2.10-test.patch +++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch @@ -110,3 +110,21 @@ test power-1.2 {power command} { set s [snack::sound snd -load ex1.wav] set tcl_precision 5 +--- a/tests/dbpower.test 2020-10-14 19:03:17.821543729 +0200 b/tests/dbpower.test 2020-10-14 19:03:36.234218978 +0200 +@@ -17,15 +17,6 @@ + set res + } {-76.131 -82.843 -107.69 -102.82 -101.37 -102.09 -95.375 -95.568 -95.339 -98.854 -101.56 -98.987 -126.39 -106.92 -107.49 -105.77} + +-test dbpower-1.2 {dBPowerSpectrum command, -end option} { +- set s [snack::sound snd -load ex1.wav] +- set tcl_precision 5 +- set res [$s dBPowerSpectrum -start 1000 -end 2000 -fftlength 32 \ +- -windowlength 32] +- $s destroy +- set res +-} {-44.938 -51.981 -83.818 -91.582 -95.218 -97.588 -97.686 -99.849 -99.143 -100.16 -102.67 -102.81 -102.91 -104.24 -104.26 -107.86} +- + test dbpower-1.3 {dBPowerSpectrum command, -end and -skip options} { + set s [snack::sound snd -load ex1.wav] + set tcl_precision 5
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 53e6d1c9ca53866e534f399db5e01d67febb819a Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Oct 14 09:16:59 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Oct 14 09:17:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53e6d1c9 dev-tcltk/snack: amd64 stable wrt bug #743502 Package-Manager: Portage-3.0.4, Repoman-3.0.1 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 82c47cba635..5495854169d 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~amd64 hppa ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 hppa ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
commit: 34450c4eb4b59a50fe996a5a41f9147d9b3ab863 Author: Alfredo Tupone gentoo org> AuthorDate: Mon Oct 12 20:01:34 2020 + Commit: Alfredo Tupone gentoo org> CommitDate: Mon Oct 12 20:01:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34450c4e dev-tcltk/snack: remove further tests Closes: https://bugs.gentoo.org/743844 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/files/snack-2.2.10-test.patch | 34 +++ 1 file changed, 34 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-test.patch b/dev-tcltk/snack/files/snack-2.2.10-test.patch index 0c5ed836a59..0aa87c68436 100644 --- a/dev-tcltk/snack/files/snack-2.2.10-test.patch +++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch @@ -76,3 +76,37 @@ # cleanup ::tcltest::cleanupTests return +--- a/tests/pitch.test 2020-10-12 21:45:27.248337664 +0200 b/tests/pitch.test 2020-10-12 21:45:47.250988708 +0200 +@@ -22,14 +22,6 @@ + set res + } {141.0 133.0 126.0} + +-test pitch-1.3 {pitch command} { +- set tcl_precision 5 +- set s [snack::sound snd -load ex1.wav] +- set res [$s pitch -method ESPS] +- $s destroy +- set res +-} {{0.0 0.0 0.0 0.7046} {0.0 0.0 773.7 0.65552} {0.0 0.0 818.08 0.24061} {0.0 0.0 813.13 0.56787} {0.0 0.0 808.39 0.51307} {0.0 0.0 826.01 0.49327} {0.0 0.0 856.56 0.9469} {0.0 0.0 851.72 0.0} {0.0 0.0 869.15 0.48861} {0.0 0.0 842.57 0.39768} {0.0 0.0 839.14 0.4009} {0.0 0.0 820.39 0.81465} {0.0 0.0 833.47 0.95806} {0.0 0.0 855.33 0.89539} {0.0 0.0 852.97 0.28335} {0.0 0.0 889.07 0.59169} {0.0 0.0 1070.5 0.68884} {0.0 0.0 878.41 0.5143} {0.0 0.0 892.74 0.3997} {0.0 0.0 873.53 0.68623} {0.0 0.0 965.13 0.57252} {0.0 0.0 882.69 0.49351} {0.0 0.0 1193.0 0.70511} {209.81 1.0 3304.3 0.88756} {162.78 1.0 3660.9 0.99115} {161.92 1.0 3512.7 0.99646} {158.92 1.0 3547.9 0.99354} {155.91 1.0 3468.7 0.98505} {149.48 1.0 3285.3 0.99364} {143.31 1.0 3008.2 0.98736} {133.77 1.0 2823.7 0.94805} {126.48 1.0 2640.8 0.98759} {119.94 1.0 2333.7 0.9852} {112.98 1.0 2040.5 0.95218} {109.81 1.0 2121.6 0.9571} {107.68 1.0 2418.1 0.92161} {106.6 1.0 2507.3 0.95998} {105.57 1.0 2478.0 0.95695} {105.43 1.0 26 71.9 0.96458} {106.74 1.0 2706.6 0.98918} {109.0 1.0 2755.4 0.99448} {111.84 1.0 2717.5 0.97564} {115.73 1.0 2277.5 0.87201} {99.183 1.0 924.36 0.60726} {120.34 1.0 859.79 0.84981} {150.88 1.0 2136.3 0.93803} {136.25 1.0 2838.1 0.98336} {141.73 1.0 2877.0 0.99704} {145.06 1.0 2894.6 0.98906} {146.54 1.0 2749.1 0.98797} {149.82 1.0 2699.5 0.94096} {149.23 1.0 2838.4 0.98879} {146.53 1.0 2630.6 0.95378} {141.86 1.0 2181.0 0.97326} {133.37 1.0 1888.3 0.85003} {124.99 1.0 1660.0 0.94212} {117.97 1.0 1443.6 0.96375} {109.74 1.0 1091.7 0.96917} {103.63 1.0 915.75 0.92499} {111.49 1.0 853.13 0.69573} {107.37 1.0 786.42 0.86455} {93.37 1.0 815.44 0.81332} {123.3 1.0 804.05 0.61468} {84.033 1.0 762.98 0.74945} {121.1 1.0 725.91 0.5574} {114.08 1.0 700.22 0.82347} {101.78 1.0 704.95 0.57994} {103.43 1.0 695.87 0.75774} {101.42 1.0 699.81 0.79472} {105.86 1.0 714.47 0.70127} {0.0 0.0 745.7 0.828} {0.0 0.0 736.31 0.64289} {0.0 0.0 696.35 0.40449} {0.0 0.0 684.65 0.44551} {0.0 0.0 639.58 0.38997 } {0.0 0.0 561.77 0.0} {0.0 0.0 627.65 0.34976} {0.0 0.0 717.62 0.38937} {0.0 0.0 748.27 0.41932} {0.0 0.0 750.33 0.86962} {0.0 0.0 783.3 0.82826} {0.0 0.0 761.05 0.20038} {0.0 0.0 809.51 0.35076} {0.0 0.0 831.97 0.7714} {0.0 0.0 872.22 0.67117} {0.0 0.0 826.62 0.6413} {0.0 0.0 717.3 0.0} {0.0 0.0 723.3 0.54415} {0.0 0.0 751.75 0.33728} {0.0 0.0 818.03 0.31209} {0.0 0.0 837.29 0.4341} {0.0 0.0 849.53 0.3289} {0.0 0.0 862.33 0.28854} {0.0 0.0 845.65 0.68362} {0.0 0.0 868.25 0.74526}} +- + test pitch-2.1 {pitch command, with missing argument for -start option} { + set s [snack::sound snd -load ex1.wav] + catch {$s pitch -start} msg +--- a/tests/power.test 2020-10-12 21:45:55.843838864 +0200 b/tests/power.test 2020-10-12 21:46:21.732387559 +0200 +@@ -8,14 +8,6 @@ + namespace import ::tcltest::* + } + +-test power-1.1 {power command} { +- set s [snack::sound snd -load ex1.wav] +- set tcl_precision 5 +- set res [$s power] +- $s destroy +- set res +-} {57.668 58.916 57.992 58.647 58.463 58.415 58.353 58.948 58.897 59.02 58.761 58.745 58.248 58.595 59.158 58.846 58.467 61.37 59.153 59.315 58.301 60.035 59.451 58.963 71.281 71.387 71.13 71.213 71.01 70.635 69.845 68.822 68.986 68.525 67.103 66.664 67.365 67.627 66.72 67.337 67.657 68.365 68.854 68.204 58.26 58.141 66.927 69.789 69.122 69.601 69.076 68.909 69.337 68.621 67.11 65.266 64.678 64.223 61.751 60.287 59.447 57.811 58.444 58.209 57.645 57.279 56.377 56.572 56.467 56.796 57.045 57.735 57.858 57.081 56.943 56.421 54.929 56.202 57.349 57.643 57.477 58.207 57.706 58.385 58.601 59.228 58.694 57.176 57.423 57.733 58.599 58.614 58.771 59.005 58.651 59.077 59.001 58.113 58.374} +- + test power-1.2 {power command} { + set s
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: ae37f792f01ffba46c91169daf826b7d869715ff Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Sep 24 18:13:06 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Sep 24 18:13:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae37f792 dev-tcltk/snack: stable 2.2.10-r9 for ppc stable wrt bug #743502 Package-Manager: Portage-3.0.8, Repoman-3.0.1 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 6d5bb31fdb5..82c47cba635 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~amd64 hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~amd64 hppa ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 618d67b2647ed7619854ce6fb282734c43e8648a Author: Michał Górny gentoo org> AuthorDate: Thu Sep 24 03:40:51 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Sep 24 03:40:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618d67b2 dev-tcltk/snack: Remove py2.7 Signed-off-by: Michał Górny gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 57dedee24d9..6d5bb31fdb5 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_7} ) +PYTHON_COMPAT=( python3_7 ) DISTUTILS_USE_SETUPTOOLS=no DISTUTILS_OPTIONAL=yes
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: d19c2c016641730e49f890c363908106d94e54ac Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Sep 21 18:32:37 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Sep 21 18:53:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19c2c01 dev-tcltk/snack: stable 2.2.10-r9 for hppa/sparc, bug #743502 Package-Manager: Portage-3.0.4, Repoman-3.0.1 RepoMan-Options: --include-arches="hppa sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-tcltk/snack/snack-2.2.10-r9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild index 7bdbc9d8be2..57dedee24d9 100644 --- a/dev-tcltk/snack/snack-2.2.10-r9.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~amd64 hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: 69bdf3174f7747beaf0ad8578553be1cbee2abb8 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Aug 12 11:40:42 2020 + Commit: Alfredo Tupone gentoo org> CommitDate: Wed Aug 12 11:40:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69bdf317 dev-tcltk/snack: porting to python3_7 Closes: https://bugs.gentoo.org/735304 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alfredo Tupone gentoo.org> .../snack/files/tcl-snack-2.2.10-python3.patch | 385 + dev-tcltk/snack/snack-2.2.10-r9.ebuild | 3 +- 2 files changed, 387 insertions(+), 1 deletion(-) diff --git a/dev-tcltk/snack/files/tcl-snack-2.2.10-python3.patch b/dev-tcltk/snack/files/tcl-snack-2.2.10-python3.patch new file mode 100644 index 000..63c13885b63 --- /dev/null +++ b/dev-tcltk/snack/files/tcl-snack-2.2.10-python3.patch @@ -0,0 +1,385 @@ +diff -up snack2.2.10/demos/python/dataCmd.py.py3 snack2.2.10/demos/python/dataCmd.py +--- snack2.2.10/demos/python/dataCmd.py.py32018-10-04 15:46:14.974999306 -0400 snack2.2.10/demos/python/dataCmd.py2018-10-04 15:46:50.295216897 -0400 +@@ -1,7 +1,12 @@ + #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- + +-import Tkinter ++import sys ++if sys.version_info[0] == 2: ++import Tkinter ++else: ++import tkinter as Tkinter ++ + import tkSnack + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/echo.py.py3 snack2.2.10/demos/python/echo.py +--- snack2.2.10/demos/python/echo.py.py3 2018-10-04 15:46:59.535012224 -0400 snack2.2.10/demos/python/echo.py 2018-10-04 15:47:37.093180236 -0400 +@@ -1,6 +1,11 @@ + #! /usr/bin/env python + +-from Tkinter import * ++import sys ++if sys.version_info[0] == 2: ++from Tkinter import * ++else: ++from tkinter import * ++ + from tkSnack import * + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/generator.py.py3 snack2.2.10/demos/python/generator.py +--- snack2.2.10/demos/python/generator.py.py3 2018-10-04 15:47:47.332953411 -0400 snack2.2.10/demos/python/generator.py 2018-10-04 15:48:06.435530261 -0400 +@@ -1,6 +1,11 @@ + #! /usr/bin/env python + +-from Tkinter import * ++import sys ++if sys.version_info[0] == 2: ++from Tkinter import * ++else: ++from tkinter import * ++ + from tkSnack import * + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/MinSect.py.py3 snack2.2.10/demos/python/MinSect.py +--- snack2.2.10/demos/python/MinSect.py.py32018-10-04 15:48:16.444308540 -0400 snack2.2.10/demos/python/MinSect.py2018-10-04 15:48:45.907655882 -0400 +@@ -1,6 +1,11 @@ + #! /usr/bin/env python + +-from Tkinter import * ++import sys ++if sys.version_info[0] == 2: ++from Tkinter import * ++else: ++from tkinter import * ++ + from tkSnack import * + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/MinSpeg.py.py3 snack2.2.10/demos/python/MinSpeg.py +--- snack2.2.10/demos/python/MinSpeg.py.py32018-10-04 15:48:57.586397173 -0400 snack2.2.10/demos/python/MinSpeg.py2018-10-04 15:49:16.562976809 -0400 +@@ -1,6 +1,11 @@ + #! /usr/bin/env python + +-from Tkinter import * ++import sys ++if sys.version_info[0] == 2: ++from Tkinter import * ++else: ++from tkinter import * ++ + from tkSnack import * + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/MinWave.py.py3 snack2.2.10/demos/python/MinWave.py +--- snack2.2.10/demos/python/MinWave.py.py32018-10-04 15:49:26.578754945 -0400 snack2.2.10/demos/python/MinWave.py2018-10-04 15:49:39.057478518 -0400 +@@ -1,6 +1,11 @@ + #! /usr/bin/env python + +-from Tkinter import * ++import sys ++if sys.version_info[0] == 2: ++from Tkinter import * ++else: ++from tkinter import * ++ + from tkSnack import * + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/mixplay.py.py3 snack2.2.10/demos/python/mixplay.py +--- snack2.2.10/demos/python/mixplay.py.py32018-10-04 15:49:49.602244931 -0400 snack2.2.10/demos/python/mixplay.py2018-10-04 15:50:04.440916236 -0400 +@@ -1,6 +1,11 @@ + #! /usr/bin/env python + +-from Tkinter import * ++import sys ++if sys.version_info[0] == 2: ++from Tkinter import * ++else: ++from tkinter import * ++ + from tkSnack import * + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/notescale.py.py3 snack2.2.10/demos/python/notescale.py +--- snack2.2.10/demos/python/notescale.py.py3 2018-10-04 15:50:13.624712803 -0400 snack2.2.10/demos/python/notescale.py 2018-10-04 15:50:30.640335876 -0400 +@@ -1,6 +1,11 @@ + #! /usr/bin/env python + +-from Tkinter import * ++import sys ++if sys.version_info[0] == 2: ++from Tkinter import * ++else: ++from tkinter import * ++ + from tkSnack import * + + root = Tkinter.Tk() +diff -up snack2.2.10/demos/python/oggplay.py.py3 snack2.2.10/demos/python/oggplay.py +--- snack2.2.10/demos/python/oggplay.py.py32018-10-04 15:50:40.330121229 -0400
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: e5ff96840edfa24dd7df366162cdf3673c529ab3 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Aug 12 08:42:59 2020 + Commit: Alfredo Tupone gentoo org> CommitDate: Wed Aug 12 08:42:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ff9684 dev-tcltk/snack: EAPI 7 and fixes Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alfredo Tupone gentoo.org> .../snack/files/snack2.2.10-seektell-fix.patch | 12 +++ dev-tcltk/snack/snack-2.2.10-r9.ebuild | 119 + 2 files changed, 131 insertions(+) diff --git a/dev-tcltk/snack/files/snack2.2.10-seektell-fix.patch b/dev-tcltk/snack/files/snack2.2.10-seektell-fix.patch new file mode 100644 index 000..3519b12c85d --- /dev/null +++ b/dev-tcltk/snack/files/snack2.2.10-seektell-fix.patch @@ -0,0 +1,12 @@ +diff -up snack2.2.10/generic/jkSound.h.seektell snack2.2.10/generic/jkSound.h +--- snack2.2.10/generic/jkSound.h.seektell 2019-07-30 16:01:37.310992628 -0400 snack2.2.10/generic/jkSound.h 2019-07-30 16:02:29.859840865 -0400 +@@ -603,7 +603,7 @@ extern void Snack_RemoveOptions(int objc + + extern void SnackPauseAudio(); + +-#if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 4 ++#if 1 || TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 4 + #define TCL_SEEK Tcl_Seek + #define TCL_TELL Tcl_Tell + #else diff --git a/dev-tcltk/snack/snack-2.2.10-r9.ebuild b/dev-tcltk/snack/snack-2.2.10-r9.ebuild new file mode 100644 index 000..8349e89b3bc --- /dev/null +++ b/dev-tcltk/snack/snack-2.2.10-r9.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_USE_SETUPTOOLS=no +DISTUTILS_OPTIONAL=yes + +inherit autotools distutils-r1 multilib toolchain-funcs virtualx + +DESCRIPTION="The Snack Sound Toolkit (Tcl)" +HOMEPAGE="http://www.speech.kth.se/snack/; +SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +SLOT="0" +IUSE="alsa examples python vorbis" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-lang/tcl:0= + dev-lang/tk:0= + alsa? ( media-libs/alsa-lib ) + python? ( ${PYTHON_DEPS} ) + vorbis? ( media-libs/libvorbis )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S="${WORKDIR}/${PN}${PV}/unix" + +PATCHES=( + "${FILESDIR}"/alsa-undef-sym.patch + "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch + "${FILESDIR}"/${P}-debian-args.patch + "${FILESDIR}"/${P}-test.patch + "${FILESDIR}"/${PN}${PV}-seektell-fix.patch +) + +HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" + +src_prepare() { + # adds -install_name (soname on Darwin) + [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) + + sed \ + -e "s:ar cr:$(tc-getAR) cr:g" \ + -e "s|-O|${CFLAGS}|g" \ + -i Makefile.in || die + + cd .. + + default + + sed \ + -e 's|^\(#define roundf(.*\)|//\1|' \ + -i generic/jkFormatMP3.c || die + rm tests/{play,record}.test || die + if use python; then + cd python + distutils-r1_src_prepare + fi +} + +src_configure() { + local myconf="" + + use alsa && myconf+=" --enable-alsa" + + if use vorbis; then + myconf+=" --with-ogg-include="${EPREFIX}"/usr/include" + myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" + fi + + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --includedir="${EPREFIX}"/usr/include \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + --with-tk="${EPREFIX}"/usr/$(get_libdir) \ + $myconf + if use python; then + cd ../python + distutils-r1_src_configure + fi +} + +src_compile() { + default + if use python; then + cd ../python + distutils-r1_src_compile + fi +} + +src_test() { + TCLLIBPATH=${S} virtx default | tee snack.testResult + grep -q FAILED snack.testResult && die +} + +src_install() { + default + + if use python ; then + cd "${S}"/../python || die + distutils-r1_src_install + fi + + cd "${S}"/.. || die + + if use examples ; then + docinto examples + sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die + dodoc -r demos/tcl + + use python && dodoc -r demos/python + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 990d853258632b96302bd031bd93438699bad088 Author: Tupone Alfredo gentoo org> AuthorDate: Thu Feb 27 08:06:56 2020 + Commit: Alfredo Tupone gentoo org> CommitDate: Thu Feb 27 08:06:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990d8532 dev-tcltk/snack: fix sed expression Closes: https://bugs.gentoo.org/710890 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 025e3fa47a0..b329e5cb565 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -42,7 +42,7 @@ src_prepare() { sed \ -e "s:ar cr:$(tc-getAR) cr:g" \ - -e "s:-O:${CFLAGS}:g" \ + -e "s|-O|${CFLAGS}|g" \ -i Makefile.in || die cd ..
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: f24096f2499b92ebbd36a4a4235e051d410533e3 Author: Tupone Alfredo gentoo org> AuthorDate: Wed Nov 27 21:31:12 2019 + Commit: Alfredo Tupone gentoo org> CommitDate: Wed Nov 27 21:31:12 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f24096f2 dev-tcltk/snack: removing old versions Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r6.ebuild | 97 -- dev-tcltk/snack/snack-2.2.10-r7.ebuild | 97 -- 2 files changed, 194 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild deleted file mode 100644 index 20852e8f371..000 --- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 pypy ) - -inherit autotools autotools-utils distutils-r1 multilib - -DESCRIPTION="The Snack Sound Toolkit (Tcl)" -HOMEPAGE="http://www.speech.kth.se/snack/; -SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; - -LICENSE="GPL-2" -KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -SLOT="0" -IUSE="alsa examples python threads vorbis" - -RESTRICT="test" # Bug 78354 - -DEPEND=" - dev-lang/tcl:0= - dev-lang/tk:0= - alsa? ( media-libs/alsa-lib ) - python? ( ${PYTHON_DEPS} ) - vorbis? ( media-libs/libvorbis )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}${PV}/unix" - -#PYTHON_MODNAME="tkSnack.py" - -AUTOTOOLS_IN_SOURCE_BUILD=1 - -PATCHES=( - "${FILESDIR}"/alsa-undef-sym.patch - "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch - ) - -src_prepare() { - # adds -install_name (soname on Darwin) - [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) - - sed \ - -e "s:ar cr:$(tc-getAR) cr:g" \ - -e "s:-O:${CFLAGS}:g" \ - -i Makefile.in || die - - cd .. || die - - autotools-utils_src_prepare - - sed \ - -e 's|^\(#define roundf(.*\)|//\1|' \ - -i generic/jkFormatMP3.c || die -} - -src_configure() { - local myeconfargs=( - --libdir="${EPREFIX}"/usr/$(get_libdir) - --includedir="${EPREFIX}"/usr/include - ) - - use alsa && myconf+=( --enable-alsa ) - use threads && myconf+=( --enable-threads ) - - use vorbis && \ - myconf+=( --with-ogg-include="${EPREFIX}"/usr/include ) && \ - myconf+=( --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir) ) - - autotools-utils_src_configure -} - -src_compile() { - autotools-utils_src_compile -} - -src_install() { - autotools-utils_src_install - - if use python ; then - cd "${S}"/../python || die - distutils-r1_src_install - fi - - cd "${S}"/.. || die - - dohtml doc/* - - if use examples ; then - docinto examples - sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die - dodoc -r demos/tcl - - use python && dodoc -r demos/python - fi -} diff --git a/dev-tcltk/snack/snack-2.2.10-r7.ebuild b/dev-tcltk/snack/snack-2.2.10-r7.ebuild deleted file mode 100644 index eb87e0968a7..000 --- a/dev-tcltk/snack/snack-2.2.10-r7.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 pypy ) - -inherit autotools distutils-r1 multilib - -DESCRIPTION="The Snack Sound Toolkit (Tcl)" -HOMEPAGE="http://www.speech.kth.se/snack/; -SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -SLOT="0" -IUSE="alsa examples python vorbis" - -RESTRICT="test" # Bug 78354 - -DEPEND=" - dev-lang/tcl:0= - dev-lang/tk:0= - alsa? ( media-libs/alsa-lib ) - python? ( ${PYTHON_DEPS} ) - vorbis? ( media-libs/libvorbis )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}${PV}/unix" - -PATCHES=( - "${FILESDIR}"/alsa-undef-sym.patch - "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch - ) - -HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" - -src_prepare() { - # adds -install_name (soname on Darwin) - [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) - - sed \ - -e "s:ar cr:$(tc-getAR) cr:g" \ - -e "s:-O:${CFLAGS}:g" \ - -i Makefile.in || die - - cd .. - - default - - sed \ - -e 's|^\(#define roundf(.*\)|//\1|' \ - -i generic/jkFormatMP3.c || die -} - -src_configure() { - local myconf="" - - use
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: d63c42d1a86a4caf975d8e1c9b4969891a632835 Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Nov 27 18:21:27 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Nov 27 20:01:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d63c42d1 dev-tcltk/snack: stable 2.2.10-r8 for hppa, bug #700104 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 7e70501a57e..f1916baefb5 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: af2442d8e9605d51f5cb0698cf1b63e269d8614e Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Nov 20 11:27:28 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Nov 20 11:27:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2442d8 dev-tcltk/snack: ppc stable wrt bug #700104 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 542fec0fe8c..7e70501a57e 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ~ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 109a7c4faf9408404a9e09b38d3d3745813aa056 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Nov 20 11:20:15 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Nov 20 11:20:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109a7c4f dev-tcltk/snack: ppc64 stable wrt bug #700104 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 39e373d9b3c..542fec0fe8c 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~hppa ~ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: bed8b343eb13f1c617d4642329cac713b0519060 Author: Tupone Alfredo gentoo org> AuthorDate: Wed Nov 20 07:16:09 2019 + Commit: Alfredo Tupone gentoo org> CommitDate: Wed Nov 20 07:16:09 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed8b343 dev-tcltk/snack: MissingTestRestrict Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 7df70bb4a6c..39e373d9b3c 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -15,6 +15,7 @@ LICENSE="GPL-2" KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" +RESTRICT="!test? ( test )" DEPEND=" dev-lang/tcl:0=
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 0c9347bf89f3866c843a1c5b563e150bce7825e2 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 19 12:48:22 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 19 12:48:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c9347bf dev-tcltk/snack: x86 stable wrt bug #700104 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index aa1a9c06174..7df70bb4a6c 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 33bb8bd0d68942d303ae00c44ac43e4688356603 Author: Matt Turner gentoo org> AuthorDate: Sun Nov 17 04:17:48 2019 + Commit: Matt Turner gentoo org> CommitDate: Sun Nov 17 04:17:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33bb8bd0 dev-tcltk/snack: Drop alpha keywords, bug 700104 Signed-off-by: Matt Turner gentoo.org> dev-tcltk/snack/snack-2.2.10-r6.ebuild | 2 +- dev-tcltk/snack/snack-2.2.10-r7.ebuild | 2 +- dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild index d7af7b86d79..20852e8f371 100644 --- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r6.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python threads vorbis" diff --git a/dev-tcltk/snack/snack-2.2.10-r7.ebuild b/dev-tcltk/snack/snack-2.2.10-r7.ebuild index 8e0d447a69c..eb87e0968a7 100644 --- a/dev-tcltk/snack/snack-2.2.10-r7.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r7.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis" diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index e8ac2b1408a..aa1a9c06174 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: b0f1030331cb289312305349d23b412b3dc68d3c Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Nov 16 07:26:08 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 16 10:34:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f10303 dev-tcltk/snack: stable 2.2.10-r8 for sparc, bug #700104 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 561bbde7d23..e8ac2b1408a 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 330a6093463fffa75b24961fea9c863815f3933e Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Nov 15 09:50:48 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Nov 15 09:50:48 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=330a6093 dev-tcltk/snack: amd64 stable wrt bug #700104 Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-tcltk/snack/snack-2.2.10-r8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 6d1db3f8e30..561bbde7d23 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
commit: 922269677f62ec575ba740404c46e29edf7c6694 Author: Tupone Alfredo gentoo org> AuthorDate: Sat Jun 22 17:10:15 2019 + Commit: Alfredo Tupone gentoo org> CommitDate: Sat Jun 22 17:10:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92226967 dev-tcltk/snack: Fix test with oss Closes: https://bugs.gentoo.org/687308 Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-tcltk/snack/files/snack-2.2.10-test.patch | 41 +++ 1 file changed, 41 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-test.patch b/dev-tcltk/snack/files/snack-2.2.10-test.patch index 8d2dcc61fe1..0c5ed836a59 100644 --- a/dev-tcltk/snack/files/snack-2.2.10-test.patch +++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch @@ -35,3 +35,44 @@ test mixer-1.3 {snack::mixer select command} { catch {snack::mixer select junk} msg set msg +--- a/tests/audio.test 2019-06-22 19:02:01.803975186 +0200 b/tests/audio.test 2019-06-22 19:04:12.368034556 +0200 +@@ -13,38 +13,16 @@ + set msg + } {bad option "junk": must be outputDevices, inputDevices, selectOutput, selectInput, formats, frequencies, active, play_gain, record_gain, elapsedTime, currentSound, playLatency, scaling, encodings, rates, play, stop, or pause} + +-test audio-1.2 {snack::audio outputDevices command} { +- set devs [snack::audio outputDevices] +- set res [expr [string length $devs] > 0] +- set res +-} 1 +- +-test audio-1.3 {snack::audio inputDevices command} { +- set devs [snack::audio inputDevices] +- set res [expr [string length $devs] > 0] +- set res +-} 1 +- + test audio-1.4 {snack::audio selectOutput command} { + catch {snack::audio selectOutput junk} msg + set msg + } {No such device: junk} + +-test audio-1.5 {snack::audio selectOutput command} { +- set dev [lindex [snack::audio outputDevices] 0] +- catch {snack::audio selectOutput $dev} +-} 0 +- + test audio-1.6 {snack::audio selectInput command} { + catch {snack::audio selectInput junk} msg + set msg + } {No such device: junk} + +-test audio-1.7 {snack::audio selectInput command} { +- set dev [lindex [snack::audio inputDevices] 0] +- catch {snack::audio selectInput $dev} +-} 0 +- + # cleanup + ::tcltest::cleanupTests + return
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/
commit: dc14f01da0a036992a9ccad3fbf64bd5bd0bc10e Author: Tupone Alfredo gentoo org> AuthorDate: Wed May 15 08:41:00 2019 + Commit: Alfredo Tupone gentoo org> CommitDate: Wed May 15 08:41:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc14f01d dev-tcltk/snack: Fix missing mixer during test Closes: https://bugs.gentoo.org/682538 Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-tcltk/snack/files/snack-2.2.10-test.patch | 15 +++ 1 file changed, 15 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-test.patch b/dev-tcltk/snack/files/snack-2.2.10-test.patch index 724ccd686fc..8d2dcc61fe1 100644 --- a/dev-tcltk/snack/files/snack-2.2.10-test.patch +++ b/dev-tcltk/snack/files/snack-2.2.10-test.patch @@ -20,3 +20,18 @@ test power-1.2 {power command} { set s [snack::sound snd -load ex1.wav] +--- a/tests/mixer.test 2019-05-15 08:41:24.761148030 +0200 b/tests/mixer.test 2019-05-15 08:41:37.902919720 +0200 +@@ -13,12 +13,6 @@ + set msg + } {bad option "junk": must be devices, select, input, inputs, output, outputs, channels, volume, lines, or update} + +-test mixer-1.2 {snack::mixer devices command} { +- set devs [snack::mixer devices] +- set res [expr [string length $devs] > 0] +- set res +-} 1 +- + test mixer-1.3 {snack::mixer select command} { + catch {snack::mixer select junk} msg + set msg
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 0c69f4ae9efbdb9f2f5b52592d648f75b53c25d6 Author: Tupone Alfredo gentoo org> AuthorDate: Tue May 14 19:56:16 2019 + Commit: Alfredo Tupone gentoo org> CommitDate: Tue May 14 19:56:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c69f4ae dev-tcltk/snack: Log test output Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-tcltk/snack/snack-2.2.10-r8.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r8.ebuild b/dev-tcltk/snack/snack-2.2.10-r8.ebuild index 773eb22926a..6d1db3f8e30 100644 --- a/dev-tcltk/snack/snack-2.2.10-r8.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -77,7 +77,8 @@ src_compile() { } src_test() { - TCLLIBPATH=${S} virtx default | grep FAILED && die + TCLLIBPATH=${S} virtx default | tee snack.testResult + grep -q FAILED snack.testResult && die } src_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/files/, dev-tcltk/snack/
commit: d2e5f66588d1af0d0c6624bfb724cb8551268523 Author: Tupone Alfredo gentoo org> AuthorDate: Sun Dec 2 21:05:34 2018 + Commit: Alfredo Tupone gentoo org> CommitDate: Sun Dec 2 21:05:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e5f665 dev-tcltk/snack: Stabilize and fix tests Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../snack/files/snack-2.2.10-debian-args.patch | 154 + dev-tcltk/snack/files/snack-2.2.10-test.patch | 22 +++ dev-tcltk/snack/snack-2.2.10-r8.ebuild | 100 + 3 files changed, 276 insertions(+) diff --git a/dev-tcltk/snack/files/snack-2.2.10-debian-args.patch b/dev-tcltk/snack/files/snack-2.2.10-debian-args.patch new file mode 100644 index 000..1f306d61266 --- /dev/null +++ b/dev-tcltk/snack/files/snack-2.2.10-debian-args.patch @@ -0,0 +1,154 @@ +Patch by Sergei Golovan fixes several cases of access beyond array boundaries. + +--- a/generic/jkFilterIIR.c b/generic/jkFilterIIR.c +@@ -125,6 +125,12 @@ + return TCL_ERROR; + } + ++if (arg + 1 == objc) { ++ Tcl_AppendResult(interp, "No argument given for ", ++ optionStrings[index], " option", (char *) NULL); ++ return TCL_ERROR; ++} ++ + switch ((enum options) index) { + /* size of triangular dithering on output */ + case DITHER: +--- a/generic/jkPitchCmd.c b/generic/jkPitchCmd.c +@@ -850,7 +850,7 @@ + + for (arg = 2; arg < objc; arg += 2) { + char *opt = Tcl_GetStringFromObj(objv[arg], NULL); +-char *val = Tcl_GetStringFromObj(objv[arg+1], NULL); ++char *val = (arg + 1 == objc) ? "" : Tcl_GetStringFromObj(objv[arg+1], NULL); + + if ((strcmp("-method", opt) == 0) && (strcasecmp("esps", val) == 0)) { + Get_f0(s, interp, objc, objv); +--- a/generic/jkSoundEdit.c b/generic/jkSoundEdit.c +@@ -291,6 +291,12 @@ + string = Tcl_GetStringFromObj(objv[arg], ); + + if (strncmp(string, "-units", len) == 0) { ++ if (arg + 1 == objc) { ++Tcl_AppendResult(interp, "No argument given for ", ++ string, " option", (char *) NULL); ++return TCL_ERROR; ++ } ++ + string = Tcl_GetStringFromObj(objv[arg+1], ); + if (strncasecmp(string, "seconds", len) == 0) type = 1; + if (strncasecmp(string, "samples", len) == 0) type = 0; +@@ -1152,6 +1158,12 @@ + return TCL_ERROR; + } + ++if (arg + 1 == objc) { ++ Tcl_AppendResult(interp, "No argument given for ", ++ subOptionStrings[index], " option", (char *) NULL); ++ return TCL_ERROR; ++} ++ + switch ((enum subOptions) index) { + case RATE: + case FREQUENCY: +--- a/generic/shape.c b/generic/shape.c +@@ -103,6 +103,12 @@ + "option", 0, ) != TCL_OK) { + return TCL_ERROR; + } ++ if (arg + 1 == objc) { ++ Tcl_AppendResult(interp, "No argument given for ", ++ subOptionStrings[index], " option", (char *) NULL); ++return TCL_ERROR; ++ } ++ + switch ((enum subOptions) index) { + case START: + { +@@ -155,6 +161,12 @@ + "option", 0, ) != TCL_OK) { + return TCL_ERROR; + } ++ if (arg + 1 == objc) { ++ Tcl_AppendResult(interp, "No argument given for ", ++ subOptionStrings[index], " option", (char *) NULL); ++return TCL_ERROR; ++ } ++ + switch ((enum subOptions) index) { + case START: + { +@@ -384,6 +396,12 @@ + "option", 0, ) != TCL_OK) { + return TCL_ERROR; + } ++if (arg + 1 == objc) { ++ Tcl_AppendResult(interp, "No argument given for ", ++ subOptionStrings[index], " option", (char *) NULL); ++ return TCL_ERROR; ++} ++ + switch ((enum subOptions) index) { + case START: + { +--- /dev/null b/tests/zargs.test +@@ -0,0 +1,54 @@ ++# Tests cover lack of command arguments ++ ++package require -exact snack 2.2 ++ ++if {[lsearch [namespace children] ::tcltest] == -1} { ++package require tcltest ++namespace import ::tcltest::* ++} ++ ++test zargs-1.1 {pitch command, with missing argument for -start option} { ++ set s [snack::sound snd -load ex1.wav] ++ catch {$s pitch -start} msg ++ $s destroy ++ set msg ++} {No argument given for -start option} ++ ++test zargs-1.2 {length command, with missing argument for -units option} { ++ set s [snack::sound snd -load ex1.wav] ++ catch {$s length 10 10 -units} msg ++ $s destroy ++ set msg ++} {No argument given for -units option} ++ ++test zargs-1.3 {convert command, with missing argument for -rate option} { ++ set s [snack::sound snd -load ex1.wav] ++ catch {$s convert -rate 1 -rate} msg ++ $s destroy ++ set msg ++} {No argument
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: eb2e9e439c34051b2d8c6e963c0fd48f0a01c9f2 Author: Tupone Alfredo gentoo org> AuthorDate: Thu Oct 4 17:31:28 2018 + Commit: Alfredo Tupone gentoo org> CommitDate: Thu Oct 4 17:31:28 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2e9e43 dev-tcltk/snack: Fix configure Closes: https://bugs.gentoo.org/667734 Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-tcltk/snack/snack-2.2.10-r7.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r7.ebuild b/dev-tcltk/snack/snack-2.2.10-r7.ebuild index 964ec12d5b4..8e0d447a69c 100644 --- a/dev-tcltk/snack/snack-2.2.10-r7.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r7.ebuild @@ -58,9 +58,10 @@ src_configure() { use alsa && myconf+=" --enable-alsa" - use vorbis && \ + if use vorbis; then myconf+=" --with-ogg-include="${EPREFIX}"/usr/include" myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" + fi econf \ --libdir="${EPREFIX}"/usr/$(get_libdir) \
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/, dev-tcltk/snack/files/
commit: a44b54f8614f3cf31561c049d2a1385833fcc490 Author: Tupone Alfredo gentoo org> AuthorDate: Thu Oct 4 07:10:01 2018 + Commit: Alfredo Tupone gentoo org> CommitDate: Thu Oct 4 07:10:01 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a44b54f8 dev-tcltk/snack: EAPI 6, maybe fix bug #455370 Bug: https://bugs.gentoo.org/455370 Signed-off-by: Alfredo Tupone gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 dev-tcltk/snack/files/alsa-undef-sym.patch | 6 +- dev-tcltk/snack/snack-2.2.10-r7.ebuild | 96 ++ 2 files changed, 99 insertions(+), 3 deletions(-) diff --git a/dev-tcltk/snack/files/alsa-undef-sym.patch b/dev-tcltk/snack/files/alsa-undef-sym.patch index 77a222754fe..c46b9371c75 100644 --- a/dev-tcltk/snack/files/alsa-undef-sym.patch +++ b/dev-tcltk/snack/files/alsa-undef-sym.patch @@ -1,5 +1,5 @@ unix/jkAudIO_alsa.c 2005-12-14 12:29:38.0 +0100 -+++ unix/jkAudIO_alsa.c 2008-09-01 22:51:20.0 +0200 +--- a/unix/jkAudIO_alsa.c 2005-12-14 12:29:38.0 +0100 b/unix/jkAudIO_alsa.c 2008-09-01 22:51:20.0 +0200 @@ -49,6 +49,8 @@ static int minNumChan = 1; @@ -46,4 +46,4 @@ + return (played); } - void \ No newline at end of file + void diff --git a/dev-tcltk/snack/snack-2.2.10-r7.ebuild b/dev-tcltk/snack/snack-2.2.10-r7.ebuild new file mode 100644 index 000..964ec12d5b4 --- /dev/null +++ b/dev-tcltk/snack/snack-2.2.10-r7.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit autotools distutils-r1 multilib + +DESCRIPTION="The Snack Sound Toolkit (Tcl)" +HOMEPAGE="http://www.speech.kth.se/snack/; +SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +SLOT="0" +IUSE="alsa examples python vorbis" + +RESTRICT="test" # Bug 78354 + +DEPEND=" + dev-lang/tcl:0= + dev-lang/tk:0= + alsa? ( media-libs/alsa-lib ) + python? ( ${PYTHON_DEPS} ) + vorbis? ( media-libs/libvorbis )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}${PV}/unix" + +PATCHES=( + "${FILESDIR}"/alsa-undef-sym.patch + "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch + ) + +HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" + +src_prepare() { + # adds -install_name (soname on Darwin) + [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) + + sed \ + -e "s:ar cr:$(tc-getAR) cr:g" \ + -e "s:-O:${CFLAGS}:g" \ + -i Makefile.in || die + + cd .. + + default + + sed \ + -e 's|^\(#define roundf(.*\)|//\1|' \ + -i generic/jkFormatMP3.c || die +} + +src_configure() { + local myconf="" + + use alsa && myconf+=" --enable-alsa" + + use vorbis && \ + myconf+=" --with-ogg-include="${EPREFIX}"/usr/include" + myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" + + econf \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --includedir="${EPREFIX}"/usr/include \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + --with-tk="${EPREFIX}"/usr/$(get_libdir) \ + $myconf +} + +src_compile() { + default +} + +HTMML_DOCS="" + +src_install() { + default + + if use python ; then + cd "${S}"/../python || die + distutils-r1_src_install + fi + + cd "${S}"/.. || die + + if use examples ; then + docinto examples + sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die + dodoc -r demos/tcl + + use python && dodoc -r demos/python + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: f76f934d8b5b639a1313070e334c502586106e91 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Nov 24 22:19:49 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Nov 24 22:19:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76f934d dev-tcltk/snack: stable 2.2.10-r6 for sparc, bug #593144 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" dev-tcltk/snack/snack-2.2.10-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild index e700af31338..d7af7b86d79 100644 --- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r6.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="alpha amd64 hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python threads vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 7a584bfaa9aff1683e665f32b4e7bfa29e53148d Author: Michał Górny gentoo org> AuthorDate: Thu Mar 16 19:29:56 2017 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 18 07:33:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a584bfa dev-tcltk/snack: Drop old (distutils.eclass) dev-tcltk/snack/snack-2.2.10-r5.ebuild | 105 - 1 file changed, 105 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r5.ebuild b/dev-tcltk/snack/snack-2.2.10-r5.ebuild deleted file mode 100644 index 179cabafa55..000 --- a/dev-tcltk/snack/snack-2.2.10-r5.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -PYTHON_DEPEND="python? 2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit eutils distutils multilib - -DESCRIPTION="The Snack Sound Toolkit (Tcl)" -HOMEPAGE="http://www.speech.kth.se/snack/; -SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; - -LICENSE="GPL-2" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -SLOT="0" -IUSE="alsa examples python threads vorbis" - -RESTRICT="test" # Bug 78354 - -DEPEND=" - >dev-lang/tcl-8.4.3:0 - >dev-lang/tk-8.4.3:0 - alsa? ( media-libs/alsa-lib ) - vorbis? ( media-libs/libvorbis )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}${PV}/unix" - -PYTHON_MODNAME="tkSnack.py" - -pkg_setup() { - if use python; then - python_pkg_setup - fi -} - -src_prepare() { - # bug 226137 - snack depends on alsa private symbol _snd_pcm_mmap_hw_ptr - epatch "${FILESDIR}"/alsa-undef-sym.patch - # bug 270839 - error from /usr/include/bits/mathcalls.h:310 - sed \ - -e 's|^\(#define roundf(.*\)|//\1|' \ - -i ../generic/jkFormatMP3.c || die - - # adds -install_name (soname on Darwin) - [[ ${CHOST} == *-darwin* ]] && epatch "${FILESDIR}"/${P}-darwin.patch - - # From Fedora - cd ../ - epatch "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch -} - -src_configure() { - local myconf="--libdir="${EPREFIX}"/usr/$(get_libdir) --includedir="${EPREFIX}"/usr/include" - - use alsa && myconf="${myconf} --enable-alsa" - use threads && myconf="${myconf} --enable-threads" - - if use vorbis ; then - myconf="${myconf} --with-ogg-include="${EPREFIX}"/usr/include" - myconf="${myconf} --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" - fi - - econf ${myconf} -} - -src_compile() { - # We do not want to run distutils_src_compile - default -} - -src_install() { - default - - if use python ; then - cd "${S}"/../python - distutils_src_install - fi - - cd "${S}"/.. - - dohtml doc/* - - if use examples ; then - sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die - docinto examples/tcl - dodoc demos/tcl/* - - if use python ; then - docinto examples/python - dodoc demos/python/* - fi - fi -} - -pkg_postinst() { - use python && distutils_pkg_postinst -} - -pkg_postrm() { - use python && distutils_pkg_postrm -}
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 930b855ee697b32b32637427d8239990d8df7bd5 Author: Michael Weber gentoo org> AuthorDate: Wed Feb 15 21:55:06 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Feb 15 21:55:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=930b855e dev-tcltk/snack: ppc ppc64 stable (bug 593144). Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-tcltk/snack/snack-2.2.10-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild index 528c72c3db..39d7081344 100644 --- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r6.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="alpha amd64 hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="alpha amd64 hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python threads vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: d764195dad9f8e4fc773e581f7dd6e6b25eaadcd Author: Jeroen Roovers gentoo org> AuthorDate: Tue Jan 31 16:05:11 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Jan 31 16:05:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d764195d dev-tcltk/snack: Stable for HPPA (bug #593144). Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --ignore-arches dev-tcltk/snack/snack-2.2.10-r6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild index b0b77b9..528c72c 100644 --- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -13,7 +13,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="alpha amd64 hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python threads vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 749a324634adfc057e26f7c7ff8eb526542dbc72 Author: Pacho Ramos gentoo org> AuthorDate: Sun Oct 16 19:30:38 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Oct 16 19:30:38 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749a3246 dev-tcltk/snack: amd64/x86 stable, bug #593144 Package-Manager: portage-2.3.1 dev-tcltk/snack/snack-2.2.10-r6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild index 1497d7d..b0b77b9 100644 --- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -13,7 +13,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="alpha amd64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python threads vorbis"
[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
commit: 13ce6e2a436ca5ec0776d076335c7171fd599a43 Author: Tobias Klausmann gentoo org> AuthorDate: Sun Oct 16 17:45:24 2016 + Commit: Tobias Klausmann gentoo org> CommitDate: Sun Oct 16 17:45:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ce6e2a dev-tcltk/snack-2.2.10-r6: stable on alpha Gentoo-Bug: 593144 dev-tcltk/snack/snack-2.2.10-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild index 3daca2a..1497d7d 100644 --- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild +++ b/dev-tcltk/snack/snack-2.2.10-r6.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="http://www.speech.kth.se/snack/; SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz; LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +KEYWORDS="alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" SLOT="0" IUSE="alsa examples python threads vorbis"