--- gpe-go-0.05.orig/debian/gpe-go.6.xml
+++ gpe-go-0.05/debian/gpe-go.6.xml
@@ -0,0 +1,93 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+xsltproc -''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl gpe-go.6.xml
+-->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "<firstname>Luc</firstname>">
+ <!ENTITY dhsurname "<surname>Pionchon</surname>">
+ <!-- Please adjust the version whenever updating the package. -->
+ <!ENTITY dhpkgvers "0.05">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>January 31, 2008</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>6</manvolnum>">
+ <!ENTITY dhemail "<email>codehelp@debian.org</email>">
+ <!ENTITY dhusername "Neil Williams">
+ <!ENTITY dhucpackage "<refentrytitle>GPE-GO</refentrytitle>">
+ <!ENTITY dhpackage "gpe-go">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+ <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
+]>
+<book label="&dhpackage;" status="&dhpkgvers;">
+<chapter label="1" id="manpages"><title>&dhpackage;</title>
+<refentry>
+ <refentryinfo>
+ &debian;
+ <productnumber>6</productnumber>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2008</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+ <refpurpose>A two player board game for GPE.</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command>, a two player board game for the GPE
+ Palmtop Environment.</para>
+ <para>
+ Go is played by alternately placing black and white stones on the
+ vacant intersections of a 19x19 rectilinear grid. A stone or a group of
+ stones is captured and removed if it is tightly surrounded by stones of
+ the opposing colour. The objective is to control a larger territory than
+ the opponent by placing one's stones so they cannot be captured. The
+ game ends and the score is counted when both players consecutively pass
+ on a turn or when one player resigns.
+ </para>
+
+ <para>This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.</para>
+
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+ </para>
+ <para>
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+ </para>
+
+ </refsect1>
+</refentry>
+</chapter>
+</book>
--- gpe-go-0.05.orig/debian/changelog
+++ gpe-go-0.05/debian/changelog
@@ -0,0 +1,36 @@
+gpe-go (0.05-5) unstable; urgency=low
+
+ * Include gpe-go.png as well as .xpm for Debian menu.
+ (Closes: #530912)
+ * Update standards version. (no changes)
+
+ -- Neil Williams <codehelp@debian.org> Fri, 29 May 2009 10:15:08 +0100
+
+gpe-go (0.05-4) unstable; urgency=low
+
+ * Move binary to usr/games
+ * Update standards version (no changes)
+ * Remove empty directory
+
+ -- Neil Williams <codehelp@debian.org> Thu, 31 Jan 2008 22:11:19 +0000
+
+gpe-go (0.05-3) unstable; urgency=low
+
+ * Add Debian GPE team to uploaders
+ * Add cross build support
+
+ -- Neil Williams <codehelp@debian.org> Thu, 22 Nov 2007 21:17:45 +0000
+
+gpe-go (0.05-2) unstable; urgency=low
+
+ * not handling nostrip build option (policy 10.1) (Closes: #437070)
+
+ -- Neil Williams <codehelp@debian.org> Fri, 10 Aug 2007 19:43:16 +0100
+
+gpe-go (0.05-1) unstable; urgency=low
+
+ * Initial release. (Closes: #407124: ITP: gpe-go -- two player board
+ game for GPE - Debian Bug report logs)
+
+ -- Neil Williams <codehelp@debian.org> Tue, 16 Jan 2007 12:16:32 +0000
+
--- gpe-go-0.05.orig/debian/gpe-go.6
+++ gpe-go-0.05/debian/gpe-go.6
@@ -0,0 +1,44 @@
+.\" Title: GPE-GO
+.\" Author: Luc Pionchon
+.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
+.\" Date: January 31, 2008
+.\" Manual: gpe-go
+.\" Source: Debian 6
+.\"
+.TH "GPE\-GO" "6" "January 31, 2008" "Debian 6" "gpe-go"
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.SH "NAME"
+gpe-go - A two player board game for GPE.
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBgpe\-go\fR, a two player board game for the GPE Palmtop Environment\.
+.PP
+Go is played by alternately placing black and white stones on the vacant intersections of a 19x19 rectilinear grid\. A stone or a group of stones is captured and removed if it is tightly surrounded by stones of the opposing colour\. The objective is to control a larger territory than the opponent by placing one\'s stones so they cannot be captured\. The game ends and the score is counted when both players consecutively pass on a turn or when one player resigns\.
+.PP
+This manual page was written for the
+Debian(TM)
+distribution because the original program does not have a manual page\.
+.SH "AUTHOR"
+.PP
+This manual page was written by Neil Williams
+<codehelp@debian\.org>
+for the
+Debian(TM)
+system (but may be used by others)\. Permission is granted to copy, distribute and/or modify this document under the terms of the
+GNU
+General Public License, Version 2 any later version published by the Free Software Foundation\.
+.PP
+On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\.
+.SH "AUTHOR"
+.PP
+\fBLuc Pionchon\fR
+.sp -1n
+.IP "" 4
+Author.
+.SH "COPYRIGHT"
+Copyright \(co 2008 Neil Williams
+.br
--- gpe-go-0.05.orig/debian/dirs
+++ gpe-go-0.05/debian/dirs
@@ -0,0 +1 @@
+usr/games/
--- gpe-go-0.05.orig/debian/compat
+++ gpe-go-0.05/debian/compat
@@ -0,0 +1 @@
+5
--- gpe-go-0.05.orig/debian/control
+++ gpe-go-0.05/debian/control
@@ -0,0 +1,25 @@
+Source: gpe-go
+Section: games
+Priority: optional
+Maintainer: Neil Williams <codehelp@debian.org>
+Uploaders: Debian GPE team <pkg-gpe-maintainers@lists.alioth.debian.org>, Moray Allan <moray@debian.org>,
+ Phil Blundell <pb@debian.org>, Philippe De Swert <philippedeswert@scarlet.be>
+Build-Depends: cdbs, debhelper (>= 5), libgtk2.0-dev (>= 2.4), libglib2.0-dev (>= 2.2),
+ libgpewidget-dev, intltool
+Standards-Version: 3.8.1
+
+Package: gpe-go
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: two player board game for GPE
+ Go is also known as Weiqi in Chinese, Igo in Japanese and
+ Baduk in Korean. gpe-go brings go to the GPE Palmtop Environment.
+ .
+ gpe-go is played by alternately placing black and white stones on the
+ vacant intersections of a 19x19 rectilinear grid. A stone or a group of
+ stones is captured and removed if it is tightly surrounded by stones of
+ the opposing colour. The objective is to control a larger territory than
+ the opponent by placing one's stones so they cannot be captured. The
+ game ends and the score is counted when both players consecutively pass
+ on a turn, indicating that neither side can increase its territory or
+ reduce its opponent's; the game can also end by resignation.
--- gpe-go-0.05.orig/debian/menu
+++ gpe-go-0.05/debian/menu
@@ -0,0 +1,3 @@
+?package(gpe-go):needs="X11" section="Games/Board"\
+ title="Two player Go! game for GPE" command="/usr/games/gpe-go"\
+ icon="/usr/share/pixmaps/gpe-go.xpm"
--- gpe-go-0.05.orig/debian/rules
+++ gpe-go-0.05/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+DEB_MAKE_ENVVARS=CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
+
+common-install-arch::
+ $(MAKE) DESTDIR=$(CURDIR)/debian/gpe-go/ install
+ $(MAKE) install-program DESTDIR=debian/gpe-go/
+ mv debian/gpe-go/usr/bin/gpe-go debian/gpe-go/usr/games/
+
+
+# install -d debian/gpe-go/usr/share/man/man6/
+# install -m 0644 debian/gpe-go.6 debian/gpe-go/usr/share/man/man6/
+# install -d debian/gpe-go/usr/share/pixmaps/
+# install -d debian/gpe-go/usr/share/menu/
+# install -m 0644 debian/gpe-go.xpm debian/gpe-go/usr/share/pixmaps/
+# install -m 0644 debian/menu debian/gpe-go/usr/share/menu/gpe-go
--- gpe-go-0.05.orig/debian/gpe-go.xpm
+++ gpe-go-0.05/debian/gpe-go.xpm
@@ -0,0 +1,37 @@
+/* XPM */
+static char * gpe_go_xpm[] = {
+"32 32 2 1",
+" g None",
+". g #000000",
+" ",
+" ",
+" . ",
+" .. ",
+" . ... ",
+" . ..... ",
+" ........... ",
+" ........... ",
+" .......... ",
+" .. ... ",
+" ......... ",
+" ... .. ... ",
+" .. ... ",
+" .. ... ... ",
+" .. ... ... ",
+" .. ........ ",
+" ............... ",
+" ............ ",
+" .......... ",
+" ... ...... ",
+" ... .... ..... ",
+" .. ...... ...... ",
+" ... .... ..... ",
+" .. ... ... ... ",
+" ... .......... . ",
+" ... ........... ",
+" ...... .... ",
+" ...... ..... ",
+" .. . ..... ",
+" ... ",
+" ",
+" "};
--- gpe-go-0.05.orig/debian/watch
+++ gpe-go-0.05/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://gpe.linuxtogo.org/download/source/gpe-go-(.*)\.tar\.gz
+
--- gpe-go-0.05.orig/debian/copyright
+++ gpe-go-0.05/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Neil Williams <codehelp@debian.org> on
+Tue, 16 Jan 2007 10:08:34 +0000.
+
+It was downloaded from http://gpe.linuxtogo.org/download/source/
+
+Upstream Author: Luc Pionchon <luc.pionchon@arbonaut.com>
+
+Copyright: 2003 Luc Pionchon <luc.pionchon@arbonaut.com>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Neil Williams <codehelp@debian.org> and
+is licensed under the GPL, see above.
--- gpe-go-0.05.orig/debian/docs
+++ gpe-go-0.05/debian/docs
@@ -0,0 +1 @@
+NEWS
--- gpe-go-0.05.orig/debian/gpe-go.install
+++ gpe-go-0.05/debian/gpe-go.install
@@ -0,0 +1,2 @@
+debian/gpe-go.6 ./usr/share/man/man6/
+debian/gpe-go.xpm ./usr/share/pixmaps/
--- gpe-go-0.05.orig/debian/patches/040-desktop.patch
+++ gpe-go-0.05/debian/patches/040-desktop.patch
@@ -0,0 +1,14 @@
+diff -Nur gpe-go-0.05/gpe-go.desktop.in gpe-go-0.05.new/gpe-go.desktop.in
+--- gpe-go-0.05/gpe-go.desktop.in 2003-08-26 14:29:06.000000000 +0100
++++ gpe-go-0.05.new/gpe-go.desktop.in 2007-01-16 14:11:29.000000000 +0000
+@@ -2,8 +2,8 @@
+ _Name=Go
+ _Comment=GPE Go
+ Exec=gpe-go
+-Terminal=0
++Terminal=false
+ Type=Application
+ Icon=gpe-go.png
+-Categories=Games
++Categories=Game;BoardGame
+ StartupNotify=True
--- gpe-go-0.05.orig/debian/patches/010-Makefile.patch
+++ gpe-go-0.05/debian/patches/010-Makefile.patch
@@ -0,0 +1,43 @@
+diff -Nur gpe-go-0.05/Makefile gpe-go-0.05.new/Makefile
+--- gpe-go-0.05/Makefile 2003-11-09 20:28:40.000000000 +0000
++++ gpe-go-0.05.new/Makefile 2007-01-16 10:15:06.000000000 +0000
+@@ -3,7 +3,7 @@
+ PACKAGE = gpe-go
+
+ ifndef PREFIX
+-PREFIX = /usr/local
++PREFIX = /usr
+ endif
+
+ ifndef DEBUG
+@@ -24,18 +24,9 @@
+ GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
+ GTKLDFLAGS += `pkg-config --libs gtk+-2.0`
+
+-CPPFLAGS = $(GTKCFLAGS) -D_GNU_SOURCE
+-ifeq ($(DEBUG),yes)
+-CFLAGS += -O2 -g -DDEBUG=yes
+-LDFLAGS += -g
+-else
+-CFLAGS += -Os -fomit-frame-pointer
+-endif
+-CFLAGS += -Wall -I../../base/libgpewidget
+-CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
+-CFLAGS += -MD
+-
+-LDFLAGS += -L../../base/libgpewidget -lgpewidget
++PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS) $(GPECFLAGS)
++PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS) -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
++PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GTKLDFLAGS) $(GPELIBS)
+
+ .SUFFIXES: .d
+
+@@ -50,7 +41,7 @@
+ all: $(PACKAGE)
+
+ $(PACKAGE): $(OBJS)
+- $(CC) -o $@ $^ $(GTKLDFLAGS) $(LDFLAGS)
++ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS)
+
+ install-program: $(PACKAGE).desktop all
+ install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
--- gpe-go-0.05.orig/debian/patches/025-nostrip.patch
+++ gpe-go-0.05/debian/patches/025-nostrip.patch
@@ -0,0 +1,12 @@
+diff -Nur gpe-go-0.05/Makefile gpe-go-0.05.new/Makefile
+--- gpe-go-0.05/Makefile 2007-08-10 19:41:28.000000000 +0100
++++ gpe-go-0.05.new/Makefile 2007-08-10 19:41:39.000000000 +0100
+@@ -45,7 +45,7 @@
+
+ install-program: $(PACKAGE).desktop all
+ install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
+- strip $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
++# strip $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
+ install -d $(DESTDIR)$(PREFIX)/share/pixmaps
+ install -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/
+ install -d $(DESTDIR)$(PREFIX)/share/applications
--- gpe-go-0.05.orig/debian/patches/020-headers.patch
+++ gpe-go-0.05/debian/patches/020-headers.patch
@@ -0,0 +1,22 @@
+diff -Nur gpe-go-0.05/gpe-go.c gpe-go-0.05.new/gpe-go.c
+--- gpe-go-0.05/gpe-go.c 2003-11-09 19:38:50.000000000 +0000
++++ gpe-go-0.05.new/gpe-go.c 2007-01-16 10:16:21.000000000 +0000
+@@ -16,12 +16,12 @@
+ #include "sgf.h"
+
+ //--GPE libs
+-#include "gpe/init.h"
+-#include "gpe/pixmaps.h"
+-#include "gpe/errorbox.h"
+-#include "gpe/question.h"
+-#include "gpe/popup_menu.h"
+-#include "gpe/picturebutton.h"
++#include <gpe/init.h>
++#include <gpe/pixmaps.h>
++#include <gpe/errorbox.h>
++#include <gpe/question.h>
++#include <gpe/popup_menu.h>
++#include <gpe/picturebutton.h>
+
+ //--i18n
+ #include <libintl.h>
--- gpe-go-0.05.orig/debian/patches/030-build-Makefile.patch
+++ gpe-go-0.05/debian/patches/030-build-Makefile.patch
@@ -0,0 +1,13 @@
+diff -Nur gpe-go-0.05/build/Makefile.dpkg_ipkg gpe-go-0.05.new/build/Makefile.dpkg_ipkg
+--- gpe-go-0.05/build/Makefile.dpkg_ipkg 2003-11-09 20:28:40.000000000 +0000
++++ gpe-go-0.05.new/build/Makefile.dpkg_ipkg 2007-01-16 10:25:53.000000000 +0000
+@@ -27,6 +27,9 @@
+ STANDARD_CPPFLAGS = -D_GNU_SOURCE -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
+ STANDARD_CFLAGS = -MD -Wall
+
++.c.o:;
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(PACKAGE_CFLAGS) $(PACKAGE_CPPFLAGS) -c $< -o $@
++
+ ifeq ($(DEBUG),yes)
+ STANDARD_CFLAGS += -O2 -g
+ STANDARD_LDFLAGS = -g