From bdaa0499712f23476a46a19ffc6d2ff8b22c3438 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 20 Sep 2012 18:17:55 +0200 Subject: [PATCH] Define XOP mime type for XBoard Supply a white-knight icon for this mime type, called application/x-xboard-opt, and a sesktop file to associate it with running XBoard with this settings file. --- Makefile.am | 6 ++++++ xboard.xml | 6 ++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8d654cc..24e4165 100644 --- a/Makefile.am +++ b/Makefile.am @@ -186,10 +186,13 @@ if ENABLE_UPDATE_MIMEDB $(XDG_DESKTOP_MENU) install --mode system --novendor xboard-pgn-viewer.desktop;\ $(XDG_DESKTOP_MENU) install --mode system --novendor xboard-fen-viewer.desktop;\ $(XDG_DESKTOP_MENU) install --mode system --novendor xboard-tourney.desktop;\ + $(XDG_DESKTOP_MENU) install --mode system --novendor xboard-config.desktop;\ $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/board32.xpm application-x-chess-pgn;\ $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/cross32.xpm application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/ini32.xpm application-x-xboard-opt;\ $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/board48.xpm application-x-chess-pgn;\ $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/cross48.xpm application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/ini48.xpm application-x-xboard-opt;\ fi endif @@ -200,9 +203,12 @@ if ENABLE_UPDATE_MIMEDB $(XDG_DESKTOP_MENU) uninstall --mode system --novendor xboard-pgn-viewer.desktop;\ $(XDG_DESKTOP_MENU) uninstall --mode system --novendor xboard-fen-viewer.desktop;\ $(XDG_DESKTOP_MENU) uninstall --mode system --novendor xboard-tourney.desktop;\ + $(XDG_DESKTOP_MENU) uninstall --mode system --novendor xboard-config.desktop;\ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 board32.xpm application-x-chess-pgn;\ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 cross32.xpm application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 ini32.xpm application-x-xboard-opt;\ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 board48.xpm application-x-chess-pgn;\ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 cross48.xpm application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 ini48.xpm application-x-xboard-opt;\ fi endif diff --git a/xboard.xml b/xboard.xml index c8be679..46ab574 100644 --- a/xboard.xml +++ b/xboard.xml @@ -58,4 +58,10 @@ + + XBoard options + + + + -- 1.7.0.4