Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 824214 - x11-misc/obmenu-generator-0.90 misses dependency on dev-perl/Gtk3 and optionally dev-perl/File-DesktopEntry
Summary: x11-misc/obmenu-generator-0.90 misses dependency on dev-perl/Gtk3 and optiona...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-17 13:20 UTC by Zentoo
Modified: 2022-01-18 13:18 UTC (History)
2 users (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 Zentoo 2021-11-17 13:20:42 UTC
1) x11-misc/obmenu-generator-0.90 need dev-perl/Gtk3 dependency as described upstream.
Without it obmenu-generator crash with a perl error related to gtk3 and generated menu file is empty:

    $ obmenu-generator -s -i
    :: Regenerating the cache DB...
    Can't locate object method "init" via package "Gtk3" at /usr/bin/obmenu-generator line 386.

    $ ls -s ~/.config/openbox/menu.xml
    0 /home/Azazel/.config/openbox/menu.xml

2) can you add dev-perl/File-DesktopEntry as dependency too.
From upstream it's optional but it permit to generate a localized menu.
Comment 1 Ben Kohler gentoo-dev 2021-11-30 19:34:02 UTC
Is this not enough?  I'm not sure everyone wants obmenu-generator to indirectly depend on x11-libs/gtk+:3

pkg_postinst() {
    optfeature_header "For icon (-i) functionality, install:"
    optfeature "support via gtk+:2 (enabled via config)" dev-perl/Gtk2
    optfeature "support via gtk+:3 (default)" dev-perl/Gtk3
}