Dear ports@ readers,

New port proposal for yet another menu generation tool: xdgmenumaker implements a classic XDG .desktop file scanner and is ideal for usage in conjunction with "basic" window managers like *box, windowmaker, icewm, jwm, pekwm and so on.

Package infos
=============

Comments:

1) port works with both Python2 and Python3 (even with different dependencies); I stayed on the latter, because future developments should be of course based on that;

2) FAKE_FLAGS = PREFIX=${TRUEPREFIX} is needed because PREFIX is explicitly used in upstream Makefile;

3) no "all" target exists, and during build step all we need is the man page generation, so I added ALL_TARGET = man to the port's Makefile;

4) upstream makefile is patched to move man pages from ${PREFIX}/share/man to ${PREFIX}/man;

5) main script is patched to explicitly invoke python3.

6) test suite is failing in some unexpected ways:

First, I don't fully understand this warning:

(xdgmenumaker:84177): Gtk-WARNING **: 11:22:26.819: Locale not supported by C 
library.
        Using the fallback 'C' locale.

since LANG is set to en_US.utf8; in any cases, that's not blocking.

Second, for all tests involving icon paths (-i option), the following Gtk critical error is issued:

(xdgmenumaker:69800): Gtk-CRITICAL **: 11:22:30.780: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed ERROR: You need to run xdgmenumaker inside an X session.

The same happens for some WMs (jwm, pekwm), even without the -i option.

I really need some clues here...


Description:
xdgmenumaker is a command line tool, written in python, that generates
application menus using xdg information, by scanning *.desktop files in
all $XDG_DATA_DIRS/applications directories. All applications are sorted
according to the main categories as specified by freedesktop.org.

WWW: https://github.com/gapan/xdgmenumaker

Tested on amd64, tarball attached.

--
Alessandro DE LAURENZIS
[mailto:[email protected]]
Web: http://www.atlantide.t28.net
LinkedIn: https://www.linkedin.com/in/delaurenzis/

Attachment: xdgmenumaker.tar.gz
Description: application/gzip

Reply via email to