Menu entries for xboard add-ons

Yann Dirson ydirson at free.fr
Tue Oct 7 20:02:24 UTC 2014


Hi,

I have 2 packages (in experimental for now: hachu and gnushogi_1.5) in
which I have added menu entries to launch XBoard with specific options
to take advantage of those engines[1].

Those entries are useful, because it's still necessary to use
command-line switches to specify a theme (which makes it hard to use
oriental themes), and it's still a bit awkward to add a new engine
using the game dialogs (there was some upstream work in XBoard 1.8
that could one day help engine packages to declare themselves, but I'm
not sure it's ready yet).

OTOH, that could be seen as creating too many entries (although I
think there are precedents on this front ;), and lintian today
complaints that enties such as those refer to a different package (so
if we find it's a good idea, the lintian checks will have to be
refined):

| ?package(xboard):needs="x11" section="Games/Board" hints="Shogi"\
|   title="GNU Shogi (XBoard, western theme)" \
|   longtitle="Play Shogi, the Japanese version of chess, using XBoard."\
|   command="/usr/games/xboard -variant shogi -fcp gnushogi -scp gnushogi"

causes:

| W: gnushogi: pkg-not-in-package-test xboard usr/share/menu/gnushogi
| W: gnushogi: menu-command-not-in-package usr/share/menu/gnushogi:9 usr/games/xboard


What do you think about this ?
-- 
Yann


[1] the full list today is:

GNU Shogi (XBoard, western theme)
GNU Shogi (XBoard, japanese theme)
GNU MiniShogi (XBoard, western theme)
GNU MiniShogi (XBoard, japanese theme)
HaChu (Chu Shogi, XBoard, western theme)
HaChu (Chu Shogi, XBoard, japanese theme)
HaChu (Sho Shogi, XBoard, western theme)



More information about the Pkg-games-devel mailing list