Bug#861298: Location of sample ogg file
Petter Reinholdtsen
pere at hungry.com
Sun May 21 07:38:58 UTC 2017
[Ron]
> What's wrong with just adding one to the package for the test?
> It doesn't have to be generated on the fly, just make (or take)
> a suitable one and include it in the debian source.
Nothing much, I just prefer to not have binary files in my Debian
patches.
Anyway, I just pushed a fix in git. Please test it before we upload, to
see if it fixes the problem for you too.
commit 00fc35bf0c87dfad12a73853138901b396c78310
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Sun May 21 09:29:33 2017 +0200
Change source of ogg audio file from python-pygame to pysycache-i18n.
The python-pygame package moved the file we use to the
python-pygame-doc package that is not going to be part of the stretch
release. Picked a audio file from pysycache-i18n instead as it is
also used by the libvorbis test scripts.
Closes: #861298
diff --git a/debian/control b/debian/control
index 55b7dd7..1c9c23b 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,7 @@ Build-Depends:
libgd-dev,
libboost-dev,
debconf,
- python-pygame,
+ pysycache-i18n,
python-mecavideo,
Standards-Version: 3.9.8
XS-Testsuite: autopkgtest
diff --git a/debian/tests/control b/debian/tests/control
index 4365137..b1106fa 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,4 +1,4 @@
Tests: test-oggjoin test-oggcut
-Depends: @, debconf, python-pygame, python-mecavideo, valgrind
+Depends: @, debconf, pysycache-i18n, python-mecavideo, valgrind
Restrictions: allow-stderr
diff --git a/debian/tests/test-oggjoin b/debian/tests/test-oggjoin
index 9a9909e..3b651f2 100755
--- a/debian/tests/test-oggjoin
+++ b/debian/tests/test-oggjoin
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Need the packages mktemp, debconf and python-pygame, the latter two
+# Need the packages mktemp, debconf and pysycache-i18n, the latter two
# for an example image and ogg sound.
set -e
@@ -31,7 +31,7 @@ ${VALGRIND} ${TESTBINDIR}oggJoin out.ogv slideshow.ogv
# This should trigger the bug reported in bug #606224, which need an
# audio file.
echo "info: Copy Ogg Vorbis file using oggJoin."
-${VALGRIND} ${TESTBINDIR}oggJoin out.ogv /usr/lib/python*/dist-packages/pygame/examples/data/house_lo.ogg
+${VALGRIND} ${TESTBINDIR}oggJoin out.ogv /usr/share/games/pysycache/lang/en_EN/menu9.ogg
if [ -e out.ogv ] ; then
echo "success: Ogg Theora file out.ogv created."
--
Happy hacking
Petter Reinholdtsen
More information about the pkg-xiph-maint
mailing list