Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844028 - media-sound/aseqview: still depends on deprecated x11-libs/gtk+:2
Summary: media-sound/aseqview: still depends on deprecated x11-libs/gtk+:2
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL: https://github.com/tiwai/aseqview/iss...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: gtk2-removal
  Show dependency tree
 
Reported: 2022-05-13 13:08 UTC by groepaz
Modified: 2024-11-12 22:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description groepaz 2022-05-13 13:08:43 UTC
On my system libcanberra was installed without GTK2 useflag. aseqview emerges without error, however when starting it outputs something like:

Gtk-Message: 14:54:32.742: Failed to load module "canberra-gtk-module"

and then quits.

i added USE=gtk2 to libcanberra and that made it work.

(as a sidenote, i had to run aseqview with -P, which disables the piano view. else it would crash - that could be an issue with how it uses GTK, and is certainly another bug :))

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2024-09-18 22:15:58 UTC
Maintainers, please note that libcanberra is about to drop GTK2 support, this bug makes it seem a package would be broken as a result?
Comment 2 Andreas Sturmlechner gentoo-dev 2024-11-12 22:13:40 UTC
(In reply to groepaz from comment #0)
> Gtk-Message: 14:54:32.742: Failed to load module "canberra-gtk-module"
> 
> and then quits.
> 
> i added USE=gtk2 to libcanberra and that made it work.
I didn't find any evidence of that. Message and reason for quit must have come from somewhere down the GTK(?) stack. At least for me the application runs fine without libcanberra[gtk2].

(In reply to groepaz from comment #0)
> (as a sidenote, i had to run aseqview with -P, which disables the piano
> view. else it would crash - that could be an issue with how it uses GTK, and
> is certainly another bug :))
For that, there is an upstream fix available.
Comment 3 Larry the Git Cow gentoo-dev 2024-11-12 22:19:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa2b7726a5df2c40d68670d009f0c740cc923307

commit fa2b7726a5df2c40d68670d009f0c740cc923307
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-11-12 22:14:30 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-11-12 22:19:29 +0000

    media-sound/aseqview: buildsys, build warnings, segfault fixes
    
    Bug: https://bugs.gentoo.org/844028
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-sound/aseqview/aseqview-0.2.8-r3.ebuild      |  42 +++++
 .../aseqview/files/aseqview-0.2.8-automake.patch   |  18 +++
 .../files/aseqview-0.2.8-configure-quotes.patch    |  25 +++
 .../files/aseqview-0.2.8-fix-eautoreconf.patch     |  15 ++
 .../aseqview/files/aseqview-0.2.8-gcc14.patch      | 176 +++++++++++++++++++++
 .../files/aseqview-0.2.8-mv-configure.ac.patch     |  57 +++++++
 .../files/aseqview-0.2.8-piano-segfault.patch      |  42 +++++
 7 files changed, 375 insertions(+)
Comment 4 groepaz 2024-11-12 22:29:17 UTC
Works now without the gtk2 use flag, indeed. Still crashes without -P and shows these errors though:

$ aseqview -P
Gtk-Message: 23:24:34.681: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:24:34.681: Failed to load module "appmenu-gtk-module"