Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357675 - Port games-puzzle/gtetrinet to use libcanberra instead of ESD
Summary: Port games-puzzle/gtetrinet to use libcanberra instead of ESD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 16:57 UTC by David Leverton
Modified: 2011-03-08 16:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gtetrinet-0.7.11-libcanberra.patch (gtetrinet-0.7.11-libcanberra.patch,3.91 KB, patch)
2011-03-06 16:58 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Leverton 2011-03-06 16:57:49 UTC
gtetrinet was masked in bug 348644 because it uses the deprecated and no-longer-working ESD / GNOME sound APIs.  The attached patch ports it to use libcanberra instead.

Note that there is a small caveat, that might be worth an elog message: libcanberra doesn't support all the sound file formats that ESD does, and although none of the default themes include any sounds at all, some third-party ones might be affected, for example the Medieval theme (listed on http://gtetrinet.sourceforge.net/themes.html - the downloads are broken, but can be accessed from http://web.archive.org) includes some .au files that libcanberra can't play.  This can be worked around using media-sound/sox (or possibly other tools if there are themes that use formats that sox doesn't support) for example:
    sox trumpet.au -e unsigned-integer trumpet.wav
    sox lightning.au -e unsigned-integer lightning.wav
and modifying the theme.cfg file accordingly.
Comment 1 David Leverton 2011-03-06 16:58:27 UTC
Created attachment 264973 [details, diff]
gtetrinet-0.7.11-libcanberra.patch
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-03-07 09:45:33 UTC
is there an upstream bug report for this ?
Comment 3 David Leverton 2011-03-07 21:48:38 UTC
(In reply to comment #2)
> is there an upstream bug report for this ?

I didn't initially bother because upstream is inactive, but I suppose it wouldn't hurt: https://bugzilla.gnome.org/show_bug.cgi?id=644159
Comment 4 Pacho Ramos gentoo-dev 2011-03-08 11:59:32 UTC
Doesn't gtetrinet have any replacement?
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-03-08 16:55:49 UTC
in portage.  thanks for the bug report and patch.