From d18b972e89d1b6070d671c6f05646cb0dc051606 Mon Sep 17 00:00:00 2001
From: Markus Koschany <apo@gambaru.de>
Date: Fri, 21 Mar 2014 13:40:03 +0100
Subject: [PATCH] fix 737846

---
 debian/cgoban_32x32.xpm | 163 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog        |   8 +++
 debian/menu             |   9 ++-
 debian/rules            |   1 +
 4 files changed, 179 insertions(+), 2 deletions(-)
 create mode 100644 debian/cgoban_32x32.xpm

diff --git a/debian/cgoban_32x32.xpm b/debian/cgoban_32x32.xpm
new file mode 100644
index 0000000..db4fac1
--- /dev/null
+++ b/debian/cgoban_32x32.xpm
@@ -0,0 +1,163 @@
+/* XPM */
+static char *cgoban_32x32[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 125 2 ",
+"   c #19170E",
+".  c #131310",
+"X  c #1C1B13",
+"o  c #1E1E1E",
+"O  c #2C2A1E",
+"+  c #312D1A",
+"@  c #252523",
+"#  c #2A2925",
+"$  c #2B2B2B",
+"%  c #353222",
+"&  c #3A3724",
+"*  c #3B3826",
+"=  c #32312B",
+"-  c #3E3B2B",
+";  c #363530",
+":  c #3F3D33",
+">  c #47432E",
+",  c #4A462E",
+"<  c #494631",
+"1  c #4E4A34",
+"2  c #49463A",
+"3  c #504C35",
+"4  c #514F3C",
+"5  c #54513E",
+"6  c #4B4940",
+"7  c #555243",
+"8  c #595646",
+"9  c #5D5A43",
+"0  c #57564F",
+"q  c #595748",
+"w  c #5F5E59",
+"e  c #65624E",
+"r  c #676450",
+"t  c #6E6A51",
+"y  c #6B6858",
+"u  c #75715B",
+"i  c #7F7A58",
+"p  c #6A6861",
+"a  c #7A7661",
+"s  c #7F7C66",
+"d  c #73726A",
+"f  c #757470",
+"g  c #7C7A70",
+"h  c #807B5B",
+"j  c #86826E",
+"k  c #89856E",
+"l  c #838176",
+"z  c #8F8C71",
+"x  c #82817D",
+"c  c #88877C",
+"v  c #8D8A7D",
+"b  c #918E7E",
+"n  c #949075",
+"m  c #8E8D84",
+"M  c #8D8D8B",
+"N  c #9A9681",
+"B  c #9B9884",
+"V  c #94938E",
+"C  c #9C9C9A",
+"Z  c #A09D8B",
+"A  c #A19E91",
+"S  c #A5A28C",
+"D  c #A8A389",
+"F  c #A4A292",
+"G  c #A9A694",
+"H  c #AFAB92",
+"J  c #A1A099",
+"K  c #A8A79E",
+"L  c #ABA899",
+"P  c #B0AC97",
+"I  c #B5B091",
+"U  c #B7B49E",
+"Y  c #BBB79A",
+"T  c #A4A4A5",
+"R  c #ACABA6",
+"E  c #A4A4A8",
+"W  c #AAAAAA",
+"Q  c #B4B2A3",
+"!  c #BAB7A2",
+"~  c #B4B3AD",
+"^  c #BFBCAB",
+"/  c #B0B0B0",
+"(  c #B8B7B4",
+")  c #BCBAB2",
+"_  c #BDBCBB",
+"`  c #C0BBA0",
+"'  c #C1BFB5",
+"]  c #C5C1A7",
+"[  c #C4C0AA",
+"{  c #CAC6AF",
+"}  c #C5C2B4",
+"|  c #CDCAB7",
+" . c #C3C2BB",
+".. c #CDCBBC",
+"X. c #D1CEBB",
+"o. c #D4D1BF",
+"O. c #C6C6C2",
+"+. c #CECDC4",
+"@. c #CFCECB",
+"#. c #D0CEC1",
+"$. c #D4D2C2",
+"%. c #D9D6C2",
+"&. c #DCD9C5",
+"*. c #D4D2CB",
+"=. c #DBD9CA",
+"-. c #DDDCD9",
+";. c #E4E1CD",
+":. c #E8E5D3",
+">. c #E4E2D9",
+",. c #EAE9DF",
+"<. c #F1EDD8",
+"1. c #DEDEE0",
+"2. c #E3E4E4",
+"3. c #E8E7E3",
+"4. c #EDECE3",
+"5. c #E5E5E8",
+"6. c #E7E8E8",
+"7. c #EDEDEC",
+"8. c #F0EFE8",
+"9. c #F3F2ED",
+"0. c #F8F6EE",
+"q. c #F4F4F3",
+"w. c #F8F7F2",
+"e. c #FAF9F4",
+"r. c #FFFFFF",
+/* pixels */
+"r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.r.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ca7..a06ec72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+cgoban (1.9.14-17.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update cgoban's menu file. Add longtitle and icon entry. Install new xpm
+    icon to /usr/share/pixmaps. (Closes: #737846)
+
+ -- Markus Koschany <apo@gambaru.de>  Fri, 21 Mar 2014 13:37:36 +0100
+
 cgoban (1.9.14-17) unstable; urgency=low
 
   * Fixed crash on maximization, closes: #387209.
diff --git a/debian/menu b/debian/menu
index 906513a..23ce219 100644
--- a/debian/menu
+++ b/debian/menu
@@ -1,2 +1,7 @@
-?package(cgoban):needs="x11" section="Games/Board" hints="Go" \
-  title="Go (CGoban)" command="/usr/games/cgoban"
+?package(cgoban):needs="x11" \
+  section="Games/Board" \
+  hints="Go" \
+  title="Go (CGoban)" \
+  longtitle="CGoban - a complete Go board" \
+  icon="/usr/share/pixmaps/cgoban_32x32.xpm" \
+  command="/usr/games/cgoban"
diff --git a/debian/rules b/debian/rules
index f67716b..ee696e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,6 +62,7 @@ endif
 	install -D -p -m 0644 debian/mime debian/cgoban/usr/lib/mime/packages/cgoban
 	install -D -p -m 0644 cgoban_icon.png debian/cgoban/usr/share/pixmaps/cgoban_icon.png
 	install -D -p -m 0644 debian/desktop debian/cgoban/usr/share/applications/cgoban.desktop
+	install -D -p -m 0644 debian/cgoban_32x32.xpm debian/cgoban/usr/share/pixmaps/cgoban_32x32.xpm
 
 	gzip -9n debian/cgoban/usr/share/man/man6/*.6 debian/cgoban/usr/share/doc/cgoban/changelog*
 
-- 
1.9.1

