From: Arun Persaud Date: Sat, 7 Dec 2013 19:48:10 +0000 (-0800) Subject: converted icons from xpm to png X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=42355450ab6482a7eb2095e69cebd89368996807;p=xboard.git converted icons from xpm to png This removes all xpm images from XBoard. --- 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 0000000..1f2ffa6 Binary files /dev/null and b/pixmaps/board32.png differ 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 0000000..f47e085 Binary files /dev/null and b/pixmaps/board48.png differ diff --git a/pixmaps/board48.xpm b/pixmaps/board48.xpm deleted file mode 100644 index 5aec594..0000000 --- a/pixmaps/board48.xpm +++ /dev/null @@ -1,58 +0,0 @@ -/* XPM */ -static char *board__[] = { -/* columns rows colors chars-per-pixel */ -"48 48 4 1", -" c #000000", -". c #FFFF00", -"X c #808080", -"o c #FFFFFF", -/* pixels */ -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -"oX.XoX oX.XoX oX.XoX oX.XoX ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" oX.XoX oX.XoX oX.XoX oX.XoX", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -"oX.XoX oX.XoX oX.XoX oX.XoX ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" oX.XoX oX.XoX oX.XoX oX.XoX", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -"oX.XoX oX.XoX oX.XoX oX.XoX ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" oX.XoX oX.XoX oX.XoX oX.XoX", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -"oX.XoX oX.XoX oX.XoX oX.XoX ", -"X.X.X. X.X.X. X.X.X. X.X.X. ", -".XoX.X .XoX.X .XoX.X .XoX.X ", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" oX.XoX oX.XoX oX.XoX oX.XoX", -" X.X.X. X.X.X. X.X.X. X.X.X.", -" .XoX.X .XoX.X .XoX.X .XoX.X", -}; diff --git a/pixmaps/cross32.png b/pixmaps/cross32.png new file mode 100644 index 0000000..ccad759 Binary files /dev/null and b/pixmaps/cross32.png differ 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 0000000..5247864 Binary files /dev/null and b/pixmaps/cross48.png differ diff --git a/pixmaps/cross48.xpm b/pixmaps/cross48.xpm deleted file mode 100644 index 47b629b..0000000 --- a/pixmaps/cross48.xpm +++ /dev/null @@ -1,58 +0,0 @@ -/* XPM */ -static char *cross[] = { -/* columns rows colors chars-per-pixel */ -"48 48 4 1", -" c #000000", -". c #FF0000", -"X c #0000FF", -"o c #FFFFFF", -/* pixels */ -"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", -"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", -"XXooooooooooooooooooooooooooooooooooooooooooooXX", -"XXo ooooooooooooooooooooooooooooooooooooXX", -"XXo ooo.ooooooooooooooooooooooooooooooooXX", -"XXo ooo.ooooooooooooooooooooooooooooooooXX", -"XXo o.....ooooooooo.....ooooooooooooooooXX", -"XXo ooo.ooooooooooooooooooooooooooooooooXX", -"XXo ooo.ooooooooooooooooooooooooooooooooXX", -"XXo ooooooooooooooooooooooooooooooooooooXX", -"XXoooooooo oooooooooooooooooooooooooooooXX", -"XXoooooooo ooooooooooooooooo.oooooooooooXX", -"XXoooooooo ooooooooooooooooo.oooooooooooXX", -"XXoo.....o ooooooooooooooo.....oooooooooXX", -"XXoooooooo ooooooooooooooooo.oooooooooooXX", -"XXoooooooo ooooooooooooooooo.oooooooooooXX", -"XXoooooooo oooooooooooooooooooooooooooooXX", -"XXooooooooooooooo ooooooooooooooooooooooXX", -"XXooooooooooooooo ooooooooooooooooo.ooooXX", -"XXooooooooooooooo o.....ooooooooooo.ooooXX", -"XXooooooooooooooo ooooooooooooooo.....ooXX", -"XXooooooooooooooo o.....ooooooooooo.ooooXX", -"XXooooooooooooooo ooooooooooooooooo.ooooXX", -"XXooooooooooooooo ooooooooooooooooooooooXX", -"XXoooooooooooooooooooooo oooooooooooooooXX", -"XXoooo.ooooooooooooooooo oooooooooooooooXX", -"XXoooo.ooooooooooo.....o oooooooooooooooXX", -"XXoo.....ooooooooooooooo oooooooooooooooXX", -"XXoooo.ooooooooooo.....o oooooooooooooooXX", -"XXoooo.ooooooooooooooooo oooooooooooooooXX", -"XXoooooooooooooooooooooo oooooooooooooooXX", -"XXooooooooooooooooooooooooooooo ooooooooXX", -"XXooooooooooooooooooooooooooooo ooo.ooooXX", -"XXooooooooooooooooooooooooooooo ooo.ooooXX", -"XXooooooooo.....ooooooooooooooo o.....ooXX", -"XXooooooooooooooooooooooooooooo ooo.ooooXX", -"XXooooooooooooooooooooooooooooo ooo.ooooXX", -"XXooooooooooooooooooooooooooooo ooooooooXX", -"XXoooooooooooooooooooooooooooooooooooo oXX", -"XXoooooooooooooooooooooooooooooooooooo oXX", -"XXoooooooooooooooooooooooooooooooooooo oXX", -"XXoooooooooooooooo.....ooooooooo.....o oXX", -"XXoooooooooooooooooooooooooooooooooooo oXX", -"XXoooooooooooooooooooooooooooooooooooo oXX", -"XXoooooooooooooooooooooooooooooooooooo oXX", -"XXooooooooooooooooooooooooooooooooooooooooooooXX", -"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", -"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -}; diff --git a/pixmaps/ini32.png b/pixmaps/ini32.png new file mode 100644 index 0000000..ce8af9c Binary files /dev/null and b/pixmaps/ini32.png differ 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 0000000..ea0415e Binary files /dev/null and b/pixmaps/ini48.png differ 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 ...", -".............. ....", -"................................................", -"................................................", -"................................................" -};