After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644159 - gtetrinet should use libcanberra instead of gnome_sound / ESD
gtetrinet should use libcanberra instead of gnome_sound / ESD
Status: RESOLVED WONTFIX
Product: gtetrinet
Classification: Other
Component: general
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Gtetrinet Hackers
Gtetrinet Hackers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2011-03-07 21:45 UTC by David Leverton
Modified: 2018-08-19 09:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libcanberra patch (3.91 KB, patch)
2011-03-07 21:45 UTC, David Leverton
none Details | Review

Description David Leverton 2011-03-07 21:45:31 UTC
Created attachment 182773 [details] [review]
libcanberra patch

gtetrinet currently uses the deprecated gnome_sound and ESD APIs.  The attached patch makes it use libcanberra instead.  This isn't exactly the most sophisticated libcanberra usage, but it serves to maintain functionality using current APIs.

There is a small regression here in that libcanberra doesn't support all the sound file formats that ESD does, so some themes might need conversion.  For example, .au files can be converted using a command such as
    sox lightning.au -e unsigned-integer lightning.wav
and editing the theme.cfg file accordingly.
Comment 1 Jordi Mallach 2011-03-07 22:58:59 UTC
Thanks David!

Are you aware of any sound theme using .au files? In any case, this can be documented in the release notes. I haven't found any myself.
Comment 2 David Leverton 2011-03-07 23:14:55 UTC
The example command is for the Medieval theme listed at http://gtetrinet.sourceforge.net/themes.html (the downloads don't work there, but can be obtained using http://web.archive.org/) which has two .au files.

I'm not sure of the exact list of affected file formats, so I'd be a bit wary of making the advice too specific, but I imagine they can all be handled with sox or other common tools.  On the other hand, I doubt anyone's using anything particularly exotic in themes anyway.
Comment 3 André Klapper 2018-08-19 09:19:10 UTC
gtetrinet is not under active development anymore and saw its last code changes in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gtetrinet/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.