Package: xboard
Version: 4.2.7-9
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

 * Add debian/xboard.xpm and set as icon

We thought you might be interested in doing the same.

If this change is applied in Debian, we will be able to sync xboard in
Ubuntu instead of having to manually merge it.

<<attachment: xboard.xpm>>

Attachment: xboard.desktop
Description: Binary data

Attachment: xboard.desktop
Description: Binary data

diff -u xboard-4.2.7/debian/rules xboard-4.2.7/debian/rules
--- xboard-4.2.7/debian/rules
+++ xboard-4.2.7/debian/rules
@@ -66,6 +66,8 @@
 	install -d debian/xboard/usr/share/games/xboard/bitmaps.xchess
 	install -m644 bitmaps/*.bm \
 		debian/xboard/usr/share/games/xboard/bitmaps.xchess
+	install -d debian/xboard/usr/share/pixmaps
+	install -m644 debian/xboard.xpm debian/xboard/usr/share/pixmaps/
 	install -d debian/xboard/usr/share/applications
 	install -m644 debian/xboard.desktop debian/xboard/usr/share/applications/
 	install -d debian/xboard/usr/share/lintian/overrides/
diff -u xboard-4.2.7/debian/xboard.desktop xboard-4.2.7/debian/xboard.desktop
--- xboard-4.2.7/debian/xboard.desktop
+++ xboard-4.2.7/debian/xboard.desktop
@@ -5,4 +5,5 @@
 Comment=Use an X Windows Chess Board
 Exec=xboard
+Icon=xboard
 Terminal=false
 Categories=Game;BoardGame;
only in patch2:
unchanged:
--- xboard-4.2.7.orig/debian/xboard.xpm
+++ xboard-4.2.7/debian/xboard.xpm
@@ -0,0 +1,40 @@
+/* XPM */
+static char *icon_outline[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 2 1",
+"  c gray100",
+". c black",
+/* pixels */
+"                                ",
+"               .                ",
+"         .     ..               ",
+"         ..    ..               ",
+"         . .   . .              ",
+"          . . .   ....          ",
+"         .   . .  .   .         ",
+"        .  ..          ..       ",
+"        .               ..      ",
+"       .  ..             ..     ",
+"       . ..              ..     ",
+"      .  .       .        ..    ",
+"      .          .        ..    ",
+"     .           .         ..   ",
+"     .           .         ..   ",
+"    .            .          .   ",
+"   .            .           ..  ",
+"  .            ..           ..  ",
+"  . .        .. .           ..  ",
+" . ..      ..   .           ..  ",
+" . .     ..    .            ..  ",
+" .    . .      .             .. ",
+"  .  . .      .              .. ",
+"   .. .      .               .. ",
+"     .      .                .. ",
+"           .                 .. ",
+"          .                  .. ",
+"          .                  .. ",
+"         .                   .. ",
+"         ...................... ",
+"                                ",
+"                                "
+};

Reply via email to