From 42355450ab6482a7eb2095e69cebd89368996807 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 7 Dec 2013 11:48:10 -0800 Subject: [PATCH] converted icons from xpm to png This removes all xpm images from XBoard. --- Makefile.am | 26 +++++++++++----------- pixmaps/board32.png | Bin 0 -> 291 bytes pixmaps/board32.xpm | 42 ------------------------------------ pixmaps/board48.png | Bin 0 -> 306 bytes pixmaps/board48.xpm | 58 --------------------------------------------------- pixmaps/cross32.png | Bin 0 -> 370 bytes pixmaps/cross32.xpm | 42 ------------------------------------ pixmaps/cross48.png | Bin 0 -> 390 bytes pixmaps/cross48.xpm | 58 --------------------------------------------------- pixmaps/ini32.png | Bin 0 -> 339 bytes pixmaps/ini32.xpm | 41 ------------------------------------ pixmaps/ini48.png | Bin 0 -> 388 bytes pixmaps/ini48.xpm | 57 -------------------------------------------------- 13 files changed, 13 insertions(+), 311 deletions(-) create mode 100644 pixmaps/board32.png delete mode 100644 pixmaps/board32.xpm create mode 100644 pixmaps/board48.png delete mode 100644 pixmaps/board48.xpm create mode 100644 pixmaps/cross32.png delete mode 100644 pixmaps/cross32.xpm create mode 100644 pixmaps/cross48.png delete mode 100644 pixmaps/cross48.xpm create mode 100644 pixmaps/ini32.png delete mode 100644 pixmaps/ini32.xpm create mode 100644 pixmaps/ini48.png delete mode 100644 pixmaps/ini48.xpm diff --git a/Makefile.am b/Makefile.am index 053e10c..8646293 100644 --- a/Makefile.am +++ b/Makefile.am @@ -166,7 +166,7 @@ dist_xiangqi_DATA = themes/xiangqi/BlackAdvisor.svg themes/xiangqi/WhiteAdvisor ### directory and files for pixmaps pixmapsdir = $(gamedatadir)/pixmaps/textures -dist_pixmaps_DATA = pixmaps/cross32.xpm pixmaps/cross48.xpm pixmaps/board32.xpm pixmaps/board48.xpm pixmaps/ini32.xpm pixmaps/ini48.xpm +dist_pixmaps_DATA = pixmaps/cross32.png pixmaps/cross48.png pixmaps/board32.png pixmaps/board48.png pixmaps/ini32.png pixmaps/ini48.png ### directory and files for pngs @@ -213,12 +213,12 @@ if ENABLE_UPDATE_MIMEDB $(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;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/board32.png application-x-chess-pgn;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/cross32.png application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/ini32.png application-x-xboard-opt;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/board48.png application-x-chess-pgn;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/cross48.png application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/ini48.png application-x-xboard-opt;\ fi endif @@ -230,11 +230,11 @@ if ENABLE_UPDATE_MIMEDB $(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;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 board32.png application-x-chess-pgn;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 cross32.png application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 ini32.png application-x-xboard-opt;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 board48.png application-x-chess-pgn;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 cross48.png application-x-xboard-trn;\ + $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 ini48.png application-x-xboard-opt;\ fi endif diff --git a/pixmaps/board32.png b/pixmaps/board32.png new file mode 100644 index 0000000000000000000000000000000000000000..1f2ffa6b0473754c007456911b80c44a76d97b91 GIT binary patch literal 291 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@mUKs7M+SzC{oH>NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!4u#U;@Z&A@c%!M!|?zA z|J4N^;XoE+lDE4HvmlSpCm=`N)5S4F;&QS;3~M8g-D-sijCw^WqAW%ZtSpiXylN)6 zEa;MGTWQJQV^i&T(qj%kP>X7bYeY#(Vo9o1a#1RfVlXl=G}bjV(lsy-F*LL?wy-j> p)HSfMGB8Nrv2p^6hTQy=%(P0}8pNIo>Hsw`c)I$ztaD0e0sz)pN=X0! literal 0 HcmV?d00001 diff --git a/pixmaps/board32.xpm b/pixmaps/board32.xpm deleted file mode 100644 index cc92926..0000000 --- a/pixmaps/board32.xpm +++ /dev/null @@ -1,42 +0,0 @@ -/* XPM */ -static char *board__[] = { -/* columns rows colors chars-per-pixel */ -"32 32 4 1", -" c #000000", -". c #FFFF00", -"X c #808080", -"o c #FFFFFF", -/* pixels */ -"X.X. X.X. X.X. X.X. ", -".XoX .XoX .XoX .XoX ", -"X.X. X.X. X.X. X.X. ", -"oX.X oX.X oX.X oX.X ", -" X.X. X.X. X.X. X.X.", -" .XoX .XoX .XoX .XoX", -" X.X. X.X. X.X. X.X.", -" oX.X oX.X oX.X oX.X", -"X.X. X.X. X.X. X.X. ", -".XoX .XoX .XoX .XoX ", -"X.X. X.X. X.X. X.X. ", -"oX.X oX.X oX.X oX.X ", -" X.X. X.X. X.X. X.X.", -" .XoX .XoX .XoX .XoX", -" X.X. X.X. X.X. X.X.", -" oX.X oX.X oX.X oX.X", -"X.X. X.X. X.X. X.X. ", -".XoX .XoX .XoX .XoX ", -"X.X. X.X. X.X. X.X. ", -"oX.X oX.X oX.X oX.X ", -" X.X. X.X. X.X. X.X.", -" .XoX .XoX .XoX .XoX", -" X.X. X.X. X.X. X.X.", -" oX.X oX.X oX.X oX.X", -"X.X. X.X. X.X. X.X. ", -".XoX .XoX .XoX .XoX ", -"X.X. X.X. X.X. X.X. ", -"oX.X oX.X oX.X oX.X ", -" X.X. X.X. X.X. X.X.", -" .XoX .XoX .XoX .XoX", -" X.X. X.X. X.X. X.X.", -" oX.X oX.X oX.X oX.X" -}; diff --git a/pixmaps/board48.png b/pixmaps/board48.png new file mode 100644 index 0000000000000000000000000000000000000000..f47e08535d76ff9aaa465a4393d3e5f26a26a75c GIT binary patch literal 306 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDD3?#L31Vw-pOS+@4BLl<6e(pbstU$g(vPY0F z14ES>14Ba#1H&(%P{RubhEkx$R|yOZRx=nF#0%!^3bX-A@C5jTxHdF2{QnQ+F#P}j ze|3RJIFQAdY3CJDiTgV<#`el_i1-3K0zXKoe9;Tq8NSwWJ?9znhg z3{`3j3=J&|48MRv4KElNN(~qoUL`OvSj}Ky5HFasE6@fg!4u#U;>y7AAISU<1Plzb zChxlk5a{)E!%u+}ujs~PK~zVe^BP~WP@6waKq zW|kCdI>XlW|5#I8{yPXc25!#El@qCYHJe7FGrZ={r_VK+%w!pOTqYiCcr% SQ$Zb|1_n=8KbLh*2~7YgH*e(t literal 0 HcmV?d00001 diff --git a/pixmaps/cross32.xpm b/pixmaps/cross32.xpm deleted file mode 100644 index 425c3a5..0000000 --- a/pixmaps/cross32.xpm +++ /dev/null @@ -1,42 +0,0 @@ -/* XPM */ -static char *cross[] = { -/* columns rows colors chars-per-pixel */ -"32 32 4 1", -" c #000000", -". c #FF0000", -"X c #0000FF", -"o c #FFFFFF", -/* pixels */ -"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", -"X oooooooooooooooooooooooooX", -"X oo.ooooooooooooooooooooooX", -"X o...ooooooo...oooooooooooX", -"X oo.ooooooooooooooooooooooX", -"X oooooooooooooooooooooooooX", -"Xooooo ooooooooooooooooooooX", -"Xooooo oooooooooooo.oooooooX", -"Xo...o ooooooooooo...ooooooX", -"Xooooo oooooooooooo.oooooooX", -"Xooooo ooooooooooooooooooooX", -"Xoooooooooo oooooooooooooooX", -"Xoooooooooo o...oooooooooooX", -"Xoooooooooo oooooooooooo.ooX", -"Xoooooooooo o...ooooooo...oX", -"Xoooooooooo oooooooooooo.ooX", -"Xooooooooooooooo ooooooooooX", -"Xoo.oooooooo...o ooooooooooX", -"Xo...ooooooooooo ooooooooooX", -"Xoo.oooooooo...o ooooooooooX", -"Xooooooooooooooo ooooooooooX", -"Xoooooooooooooooooooo oooooX", -"Xoooooooooooooooooooo oo.ooX", -"Xoooooo...ooooooooooo o...oX", -"Xoooooooooooooooooooo oo.ooX", -"Xoooooooooooooooooooo oooooX", -"Xooooooooooooooooooooooooo X", -"Xooooooooooo...ooooooooooo X", -"Xooooooooooooooooooooo...o X", -"Xooooooooooooooooooooooooo X", -"Xooooooooooooooooooooooooo X", -"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -}; diff --git a/pixmaps/cross48.png b/pixmaps/cross48.png new file mode 100644 index 0000000000000000000000000000000000000000..5247864045b59947eeffb1e9ceb305d2ff991406 GIT binary patch literal 390 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDD3?#L31Vw-pOS+@4BLl<6e(pbstU$g(vPY0F z14ES>14Ba#1H&(%P{RubhEkx$R|yOZRx=nF#0%!^3bX-A@C5jTxH2&O2Ld1uh^Mnm z`2=J!CV9KNF#c!Ky$9rUdAc};Xq<1oV9V8Dz{C1LugY$Ex}!k(_j7Rvk1BWE_`Rco z-@Wte@=H=ln`@t#E(!En!;>$nwLO_dIZ~IkBEDjv*Y^lM@cGO>t~7oH3O_h|S{YkdnON!? nSXdbtr0-Zc0YyV@eoAIqC2kF3PX%>=8W=oX{an^LB{Ts5=}c+s literal 0 HcmV?d00001 diff --git a/pixmaps/ini32.xpm b/pixmaps/ini32.xpm deleted file mode 100644 index b6a7968..0000000 --- a/pixmaps/ini32.xpm +++ /dev/null @@ -1,41 +0,0 @@ -/* 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.png b/pixmaps/ini48.png new file mode 100644 index 0000000000000000000000000000000000000000..ea0415e1b834fb042cd6bbae24142165017a994d GIT binary patch literal 388 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDH3?y^UWFG-iEa{HEjtmSN`?>!lvI6-E$sR$z z3=CCj3=9n|3=F@3LJcn%7)pT}UnMXwSj}Ky5HFasE6@fg!4}{X;tHhy|Np=A=KQ-r z7GsjPy9?ugCf$2LPM@cXV~E7%+H)Iu4;cus21L6RGFP-1FzPyaRG6eQr7c{d+#Hb7 zGDT#XefjrR7nKKH)vasm@9*5ddDGoew>y)%1;0(+yHJZWpejLOaRJ+x^MW&4g+GY! zEqM?pZo-(~wWLz$!luB@Deh-dg04wS;Z;c}Svj%&^5>V&rdIHVrHS9v+!(xHVY1VQ z&i}{WS2FH9RC0W=UqL0%WvV5v5hW>!C8<`)MX5lF!N|bSSl7@<*T6i)(9p`n(8|;^RV=0W~mqy85}Sb4q9e05GS3W&i*H literal 0 HcmV?d00001 diff --git a/pixmaps/ini48.xpm b/pixmaps/ini48.xpm deleted file mode 100644 index 4e0434f..0000000 --- a/pixmaps/ini48.xpm +++ /dev/null @@ -1,57 +0,0 @@ -/* 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 ...", -".............. ....", -"................................................", -"................................................", -"................................................" -}; -- 1.7.0.4