GNOME Bugzilla – Bug 644159
gtetrinet should use libcanberra instead of gnome_sound / ESD
Last modified: 2018-08-19 09:19:10 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.
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.
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.
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.