diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-07 19:26:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-07 19:26:15 +0000 |
commit | ef66e902aa0d6a9ebc34ccab0fe0c9ef54e95294 (patch) | |
tree | 4c47230ce0922a8e2fcde0641647a97821657573 /app-emulation/point2play/files | |
parent | fixed sidplay-libs ebuild (diff) | |
download | gentoo-2-ef66e902aa0d6a9ebc34ccab0fe0c9ef54e95294.tar.gz gentoo-2-ef66e902aa0d6a9ebc34ccab0fe0c9ef54e95294.tar.bz2 gentoo-2-ef66e902aa0d6a9ebc34ccab0fe0c9ef54e95294.zip |
ver bump #30556
Diffstat (limited to 'app-emulation/point2play/files')
-rw-r--r-- | app-emulation/point2play/files/1.1.1-python2.2.patch | 38 | ||||
-rw-r--r-- | app-emulation/point2play/files/digest-point2play-1.1.1-r1 | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emulation/point2play/files/1.1.1-python2.2.patch b/app-emulation/point2play/files/1.1.1-python2.2.patch new file mode 100644 index 000000000000..fd24b7762af5 --- /dev/null +++ b/app-emulation/point2play/files/1.1.1-python2.2.patch @@ -0,0 +1,38 @@ +--- usr/lib/transgaming_point2play/tests/test_sound.py.orig 2003-09-16 14:04:31.000000000 -0400 ++++ usr/lib/transgaming_point2play/tests/test_sound.py 2003-10-07 15:17:36.044822360 -0400 +@@ -12,14 +12,21 @@ + import wave + import os, os.path + +-import ossaudiodev +- ++disable_oss = 0; ++try: ++ import ossaudiodev ++except: ++ print "Python 2.3 not found. Disabling oss audio tests." ++ disable_oss = 1; + + TESTS = (_("Test For Sound Support"), "tgtest_sound", False), + + def tgtest_sound(): + """runs a test to ensure that sound output is working""" + ++ if disable_oss: ++ return ((_('Basic sound test'), _('Test is disabled.'), 'red'),) ++ + try: + try: + P2PPATH=os.environ["P2PPATH"] + "/" +@@ -56,6 +63,11 @@ + return ((_('Basic sound test'), _('Completed successfully\nDid you hear the sound?'), 'green'),) + + def tgtest_sound_description(): ++ if disable_oss: ++ return _('This test has been disabled.\n') + \ ++ _('Please see:\n') + \ ++ _('http://bugs.gentoo.org/show_bug.cgi?id=30556\n') + \ ++ _('for more information.') + return _('This test attempts to play a sound\n') + \ + _('file at 44 khz. This test uses the\n') + \ + _('same method as WineX to play sound\n') + \ diff --git a/app-emulation/point2play/files/digest-point2play-1.1.1-r1 b/app-emulation/point2play/files/digest-point2play-1.1.1-r1 new file mode 100644 index 000000000000..a3832fe14f20 --- /dev/null +++ b/app-emulation/point2play/files/digest-point2play-1.1.1-r1 @@ -0,0 +1 @@ +MD5 28c4923267e19d2cb61133783ca16858 point2play-small-1.1.1.tgz 562688 |