On Thu, 28 Nov 2013, Landry Breuil wrote:
On Thu, Nov 28, 2013 at 07:12:45PM +0100, Tommy Scheunemann wrote:Hello list,a port for Wmconfig, a small menu generation tool for various X11 window managers. Been compiling and using it myself since some time already so maybe someone can find a port useful. That's my first OpenBSD port so comments and hints are more then welcome.What's the usefulness of DOCS in the makefile ? Also i'm not sure .1x is a valid manpage section. DISTNAME:L is unneeded too, it's already lowercase. Other than that it looks good portswise. As for wmconfig itself, does it allow you to create a freedesktop.org-compliant menu ? Landry
Hello,thanks for the hints. The DOCS are intended to be installed, which has been added in the attached version. Also DISTNAME:L is corrected. For the .1x - AfterStep uses the format though if that is unwanted I can modify the upstream source and use .1 as extension. Finally - freedesktop menus can be created, but not 100% compliant because the specification has pre-defined categories (or menu names) taking away some choice in naming the menus like one may wish. The generated output still works, tested in KDE 4.x, LXDE, Gnome 2.x and 3.x, still it won't do a translation like:
Submenu "My Networking Stuff" -> Submenu "Internet"to be completely compliant and put everything in the freedesktop.org pre-defined categories. Basically a XML file is created that includes one-by-one the specific .desktop entries. I know that this isn't beautiful, still it leaves it up to the user on how menus are named.
Kind regards, Tommy
wmconfig.tar.gz
Description: Binary data