Add desktop stuff for .xop MIME type.
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Feb 2013 18:00:35 +0000 (19:00 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Feb 2013 18:00:35 +0000 (19:00 +0100)
Icons and desktop file were missing, as was the automake code to package them.

Makefile.am
pixmaps/ini32.xpm [new file with mode: 0644]
pixmaps/ini48.xpm [new file with mode: 0644]
xboard-config.desktop [new file with mode: 0644]

index b6a709b..291f982 100644 (file)
@@ -60,7 +60,7 @@ SUBDIRS = po
 xboard_LDADD = -lm @FRONTEND_LIBS@ @X_LIBS@ @LIBINTL@ @CAIRO_LIBS@
 
 EXTRA_DIST = pixmaps shogi png sounds winboard \
-       xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop \
+       xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop xboard-config.desktop \
        xboard-fen-viewer.desktop  xboard-pgn-viewer.desktop  xboard-tourney.desktop xboard.xml \
        COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm zippy.README \
        xboard.conf.in SHORTLOG DIFFSTAT history.c ABOUT-NLS $(FRONTENDextras)
@@ -92,7 +92,7 @@ dist_svgicon_DATA = xboard.svg
 ### desktop files for KDE and gnome
 
 Applicationsdir = $(datadir)/applications
-Applications_DATA = xboard.desktop xboard-fen-viewer.desktop  xboard-pgn-viewer.desktop  xboard-tourney.desktop
+Applications_DATA = xboard.desktop xboard-fen-viewer.desktop  xboard-pgn-viewer.desktop  xboard-tourney.desktop  xboard-config.desktop
 
 ### mime file
 mimedir = $(datadir)/mime/packages
@@ -146,7 +146,7 @@ dist_shogi_DATA = shogi/WhiteGold.svg shogi/WhiteCrownedBishop.svg\
 ### directory and files for pixmaps
 
 pixmapsdir = $(datadir)/games/xboard/pixmaps/textures
-dist_pixmaps_DATA = pixmaps/cross32.xpm pixmaps/cross48.xpm pixmaps/board32.xpm pixmaps/board48.xpm
+dist_pixmaps_DATA = pixmaps/cross32.xpm pixmaps/cross48.xpm pixmaps/board32.xpm pixmaps/board48.xpm pixmaps/ini32.xpm pixmaps/ini48.xpm
 
 ### directory and files for pngs
 
diff --git a/pixmaps/ini32.xpm b/pixmaps/ini32.xpm
new file mode 100644 (file)
index 0000000..b6a7968
--- /dev/null
@@ -0,0 +1,41 @@
+/* XPM */
+static char *nld33[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 3 1",
+"  c black",
+". c transparent",
+"X c white",
+/* pixels */
+"................................",
+"................................",
+"................................",
+".........  ...  ................",
+"......... X . XX ...............",
+"......... XX  XX   .............",
+"......... X   XX XX  ...........",
+"......... X XXXXXXXXX  .........",
+"........ XXXXXXXXXXXXX  ........",
+"........ X  XXXXXXXXXXX  .......",
+"....... X XXXXXXXXXXXXXX  ......",
+"....... X XXXXXXXX XXXXX  ......",
+"...... XXXXXXXXXXX XXXXXX  .....",
+"...... XXXXXXXXXXX XXXXXX  .....",
+"..... XXXXXXXXXXXX XXXXXXX  ....",
+"..... XXXXXXXXXXX XXXXXXXX  ....",
+".... XXXXXXXXXX   XXXXXXXX  ....",
+".... XXXXXXXXX .. XXXXXXXXX  ...",
+"... X XXXXXX  ... XXXXXXXXX  ...",
+"... X XXXXX .... XXXXXXXXXX  ...",
+"... XXX XX ..... XXXXXXXXXX  ...",
+"... XXX X ..... XXXXXXXXXXXX ...",
+"....     ..... XXXXXXXXXXXXX  ..",
+"............. XXXXXXXXXXXXXX  ..",
+"............ XXXXXXXXXXXXXXX  ..",
+"........... XXXXXXXXXXXXXXXX  ..",
+"........... XXXXXXXXXXXXXXXX  ..",
+".......... XXXXXXXXXXXXXXXXX  ..",
+".......... XXXXXXXXXXXXXXXXX  ..",
+"..........                    ..",
+"................................",
+"................................"
+};
diff --git a/pixmaps/ini48.xpm b/pixmaps/ini48.xpm
new file mode 100644 (file)
index 0000000..4e0434f
--- /dev/null
@@ -0,0 +1,57 @@
+/* XPM */
+static char *nld49[] = {
+/* columns rows colors chars-per-pixel */
+"48 48 3 1",
+"  c black",
+". c transparent",
+"X c whit",
+/* pixels */
+"................................................",
+"................................................",
+"................................................",
+"............ ........ ..........................",
+"............   ..... X .........................",
+"............ XX .... XX ........................",
+"............ XXX .. XXX ........................",
+"............ XXXX   XXX    .....................",
+"............. XX  X XXX XXX   ..................",
+"............ XX XXXXXXXXXXXXXX  ................",
+"........... XXXXXXXXXXXXXXXXXXXX ...............",
+".......... XXXXXXXXXXXXXXXXXXXXXX  .............",
+".......... XXXXXXXXXXXXXXXXXXXXXXX  ............",
+"......... XXXXX XXXXXXXXXXXXXXXXXXX  ...........",
+"......... XXX  XXXXXXXXXXXXXXXXXXXXX  ..........",
+"......... XXX XXXXXXXXXXXXXXXXXXXXXXX ..........",
+"......... XX XXXXXXXXXXXXXXXXXXXXXXXX  .........",
+"........ XXXXXXXXXXXXXXXX XXXXXXXXXXXX  ........",
+"........ XXXXXXXXXXXXXXXX XXXXXXXXXXXX  ........",
+"........ XXXXXXXXXXXXXXXX XXXXXXXXXXXXX  .......",
+"....... XXXXXXXXXXXXXXXXX XXXXXXXXXXXXX  .......",
+"....... XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX .......",
+"...... XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX  ......",
+"..... XXXXXXXXXXXXXXXXX . XXXXXXXXXXXXXX  ......",
+"..... XXXXXXXXXXXXXXXX .. XXXXXXXXXXXXXXX ......",
+".... XXXXXXXXXXXXXXX  ... XXXXXXXXXXXXXXX  .....",
+".... XXXXXXXXXXXXXX ..... XXXXXXXXXXXXXXX  .....",
+"... XX  XXXXXXXXX  ...... XXXXXXXXXXXXXXX  .....",
+"... XX XXXXXXXXX ....... XXXXXXXXXXXXXXXXX .....",
+"... XXXXXXXXXXX ........ XXXXXXXXXXXXXXXXX  ....",
+"... XXXXXX XXX ........ XXXXXXXXXXXXXXXXXX  ....",
+"... XXXXX XXX ........ XXXXXXXXXXXXXXXXXXX  ....",
+".... XXXX XX ........ XXXXXXXXXXXXXXXXXXXX  ....",
+".....     X ........ XXXXXXXXXXXXXXXXXXXXX  ....",
+"..........  ....... XXXXXXXXXXXXXXXXXXXXXXX ....",
+".................. XXXXXXXXXXXXXXXXXXXXXXXX  ...",
+".................. XXXXXXXXXXXXXXXXXXXXXXXX  ...",
+"................. XXXXXXXXXXXXXXXXXXXXXXXXX  ...",
+"................ XXXXXXXXXXXXXXXXXXXXXXXXXX  ...",
+"............... XXXXXXXXXXXXXXXXXXXXXXXXXXX  ...",
+"............... XXXXXXXXXXXXXXXXXXXXXXXXXXX  ...",
+".............. XXXXXXXXXXXXXXXXXXXXXXXXXXXX  ...",
+".............. XXXXXXXXXXXXXXXXXXXXXXXXXXXX  ...",
+".............. XXXXXXXXXXXXXXXXXXXXXXXXXXXX  ...",
+"..............                              ....",
+"................................................",
+"................................................",
+"................................................"
+};
diff --git a/xboard-config.desktop b/xboard-config.desktop
new file mode 100644 (file)
index 0000000..4161511
--- /dev/null
@@ -0,0 +1,52 @@
+[Desktop Entry]
+Name=Xboard
+Name[af]=X-bord
+Name[ar]=Xboard
+Name[bg]=Xboard
+Name[bn]=এক্সবোর্ড
+Name[cs]=Xboard
+Name[da]=Xboard
+Name[de]=Xboard
+Name[el]=Xboard
+Name[es]=Xboard
+Name[et]=Xboard
+Name[fi]=XBoard
+Name[fr]=XBoard
+Name[gl]=Xboard
+Name[hi]=एक्सबोर्ड
+Name[hr]=Xboard
+Name[hu]=XBoard
+Name[it]=XBoard
+Name[ja]=Xboard
+Name[km]=XBoard
+Name[ko]=X보드
+Name[lt]=Xboard
+Name[mr]=Xबोर्ड
+Name[nb]=Xboard
+Name[nl]=Xboard
+Name[pa]=Xboard
+Name[pl]=Xboard
+Name[pt]=Xboard
+Name[pt_BR]=Xboard
+Name[ru]=Xboard
+Name[sk]=Xboard
+Name[sv]=Xboard
+Name[ta]=பெயர்(எக்ஸ்போர்ட்.டெஸ்க்டாப்): எக்ஸ்போர்ட்
+Name[th]=Xboard
+Name[tr]=XBoard
+Name[uk]=Xboard
+Name[vi]=XBoard
+Name[xh]=Ibhodi ye-X
+Name[zh_CN]=X 国际象棋
+Name[zh_TW]=Xboard 國際象棋
+Name[zu]=I-Xboard
+Comment=Start preconfigured XBoard
+GenericName=X-windows chess board
+Type=Application
+Categories=Game;BoardGame;
+Exec=xboard -opt %f
+Icon=xboard
+NoDisplay=true
+Terminal=false
+MimeType=application/x-xboard-opt;
+