Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 450300

Summary: x11-misc/menulibre - An advanced menu editor that provides modern features in a clean, easy-to-use interface
Product: Gentoo Linux Reporter: laurantino <olivier.laurantin>
Component: New packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.smdavis.us/projects/menulibre/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: menulibre-12.11.19.ebuild
menulibre-13.01.4.ebuild
menulibre-13.01.4.ebuild

Description laurantino 2013-01-04 21:10:32 UTC
Created attachment 334456 [details]
menulibre-12.11.19.ebuild

There is no ebuild for the MenuLibre software
(http://www.smdavis.us/projects/menulibre/) which provides an advanced menu editor.

I attached an ebuild I made for the latest version (12.11.19).
Comment 1 Michael Palimaka (kensington) gentoo-dev 2013-01-05 17:07:51 UTC
That looks pretty nifty. I don't suppose if you happen to know if it works with KDE menus too?
Comment 2 laurantino 2013-01-05 23:20:13 UTC
(In reply to comment #1)
> That looks pretty nifty. I don't suppose if you happen to know if it works
> with KDE menus too?

I'm not using KDE right now, so I don't know if it's working. All I know is that only Gnome, LXDE, XFCE, and Unity are mentionned on the web page...
Comment 3 laurantino 2013-01-27 17:35:31 UTC
Created attachment 337022 [details]
menulibre-13.01.4.ebuild

New ebuild :
- updated to latest version
- add forgotten pygobject dependency
- remove yelp dependency to avoid installing unnecessary stuff on non gnome systems and add a warning at the end of the ebuild to inform that yelp is needed to view help contents
Comment 4 Sergey Popov gentoo-dev 2013-02-26 11:33:08 UTC
Created attachment 340164 [details]
menulibre-13.01.4.ebuild

Improved ebuild for menulibre:

- EAPI 5, port to distutils-r1 eclass
- add missing dependencies on hicolor-icon-theme and librsvg
Comment 5 Julian Ospald 2013-02-26 12:40:08 UTC
(In reply to comment #4)
> Created attachment 340164 [details]
> menulibre-13.01.4.ebuild
> 
> Improved ebuild for menulibre:
> 
> - EAPI 5, port to distutils-r1 eclass
> - add missing dependencies on hicolor-icon-theme and librsvg

what is python_export_best for in _this_ case?

I would prefer python_prepare_all instead of directly assigning src_prepare
same for python_install_all/src_install
Comment 6 Julian Ospald 2013-02-26 13:12:34 UTC
a few other things

- I tend to standardize optional dependencies as in:
	elog "optional dependencies:"
	elog "  gnome-extra/yelp (view help contents)"
- gnome2_icon_savelist is missing in pkg_preinst
- afais PYTHON_REQ_USE="xml" is missing
- GdkPixbuf is imported directly, so better add the x11-libs/gdk-pixbuf dep explicitly
- build fails, because out-of-source build is broken
Comment 7 Julian Ospald 2013-02-26 13:25:26 UTC
also: linguas handling needs to be improved

it seems that dev-python/python-distutils-extra reads a file called LINGUAS from the po/ dir...
Comment 8 Julian Ospald 2013-02-26 14:09:17 UTC
actually the linguas thing is not necessary unless we want explicit linguas_* useflags
Comment 9 Julian Ospald 2013-02-26 20:38:35 UTC
+*menulibre-13.01.4 (26 Feb 2013)
+
+  26 Feb 2013; Julian Ospald <hasufell@gentoo.org> +menulibre-13.01.4.ebuild,
+  +metadata.xml:
+  initial import wrt #450300