--- pychess-0.6.1.orig/debian/patches/widget.patch +++ pychess-0.6.1/debian/patches/widget.patch @@ -0,0 +1,28 @@ +diff -Nur pychess-0.6.1/lib/pychess/Main.py pychess-0.6.1.new/lib/pychess/Main.py +--- pychess-0.6.1/lib/pychess/Main.py 2007-06-14 14:16:10.000000000 -0400 ++++ pychess-0.6.1.new/lib/pychess/Main.py 2007-09-09 11:28:07.000000000 -0400 +@@ -5,6 +5,7 @@ + + from pychess.System import myconf + from pychess.Utils.const import * ++from pychess.Utils import book # Kills pychess if no sqlite available + from pychess.Players.Human import Human + from pychess.System.Log import log + from pychess.widgets import tipOfTheDay +diff -Nur pychess-0.6.1/lib/pychess/widgets/BoardPreview.py pychess-0.6.1.new/lib/pychess/widgets/BoardPreview.py +--- pychess-0.6.1/lib/pychess/widgets/BoardPreview.py 2007-06-14 14:16:09.000000000 -0400 ++++ pychess-0.6.1.new/lib/pychess/widgets/BoardPreview.py 2007-09-09 11:31:57.000000000 -0400 +@@ -60,9 +60,10 @@ + self.widgets["BoardView"].connect('shown_changed', self.shown_changed) + + # Adding glade widget to self +- +- self.widgets["mainvbox"].unparent() +- self.add(self.widgets["mainvbox"]) ++ ++ mainvbox = self.widgets["mainvbox"] ++ mainvbox.get_parent().remove(mainvbox) ++ self.add(mainvbox) + self.show_all() + + def widgetHandler (self, glade, functionName, widgetName, s1, s2, i1, i2): --- pychess-0.6.1.orig/debian/patches/setup_docs.diff +++ pychess-0.6.1/debian/patches/setup_docs.diff @@ -0,0 +1,12 @@ +diff -urN pychess-0.6.0.beta4.orig/setup.py pychess-0.6.0.beta4/setup.py +--- pychess-0.6.0.beta4.orig/setup.py 2006-12-22 15:23:48.000000000 +0530 ++++ pychess-0.6.0.beta4/setup.py 2006-12-22 15:37:01.000000000 +0530 +@@ -43,7 +43,7 @@ + os.chdir(os.path.abspath(os.path.dirname(__file__))) + + DATA_FILES = [("share/games/pychess/", +- ["README", "AUTHORS", "LICENSE", "open.db"])] ++ ["open.db"])] + + # UI + DATA_FILES += [("share/games/pychess/glade", glob('glade/*.glade'))] --- pychess-0.6.1.orig/debian/patches/series +++ pychess-0.6.1/debian/patches/series @@ -0,0 +1,3 @@ +setup_docs.diff +executable.diff +widget.patch --- pychess-0.6.1.orig/debian/patches/executable.diff +++ pychess-0.6.1/debian/patches/executable.diff @@ -0,0 +1,24 @@ +diff -urN pychess-0.6.0.beta4.orig/lib/pychess/Players/PyChess.py pychess-0.6.0.beta4/lib/pychess/Players/PyChess.py +--- pychess-0.6.0.beta4.orig/lib/pychess/Players/PyChess.py 2006-12-22 15:23:48.000000000 +0530 ++++ pychess-0.6.0.beta4/lib/pychess/Players/PyChess.py 2006-12-22 15:24:56.000000000 +0530 +@@ -1,4 +1,3 @@ +-#!/usr/bin/python + + from pychess.Utils.const import * + +diff -urN pychess-0.6.0.beta4.orig/lib/pychess/Utils/History.py pychess-0.6.0.beta4/lib/pychess/Utils/History.py +--- pychess-0.6.0.beta4.orig/lib/pychess/Utils/History.py 2006-12-22 15:23:48.000000000 +0530 ++++ pychess-0.6.0.beta4/lib/pychess/Utils/History.py 2006-12-22 15:24:39.000000000 +0530 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: UTF-8 -*- + + from copy import copy +diff -urN pychess-0.6.0.beta4.orig/lib/pychess/Utils/Move.py pychess-0.6.0.beta4/lib/pychess/Utils/Move.py +--- pychess-0.6.0.beta4.orig/lib/pychess/Utils/Move.py 2006-12-22 15:23:48.000000000 +0530 ++++ pychess-0.6.0.beta4/lib/pychess/Utils/Move.py 2006-12-22 15:24:34.000000000 +0530 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: UTF-8 -*- + + from pychess.System.Log import log --- pychess-0.6.1.orig/debian/control +++ pychess-0.6.1/debian/control @@ -0,0 +1,35 @@ +Source: pychess +Section: games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Varun Hiremath +Uploaders: Torsten Werner +XS-Python-Version: >= 2.3 +Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.43), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), quilt +Standards-Version: 3.7.2 +XS-X-Vcs-Svn: http://bollin.googlecode.com/svn/pychess/ + +Package: pychess +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, gnome-icon-theme, python-gtk2, python-pysqlite2, python-glade2 +XB-Python-Version: ${python:Versions} +Description: chess graphical user interface for several chess engines + The goal of pychess, is to provide a fully featured, nice looking, + easy to use chess client for the gnome-desktop. + . + The client should be usable both to those totally new to chess, and + those who want to use a computer to further enchance their play. + . + Features include: + Tabbed interface + pgn+epd read/write support + Hints and spymode + xboard/cecp engine support + Builtin python based engine + Openingbook using sqlite + Clean interface and dialogs + Builtin move validator + Legal move highlighting + Supports drag'n'drop. + . + Homepage: http://pychess.googlepages.com/ --- pychess-0.6.1.orig/debian/compat +++ pychess-0.6.1/debian/compat @@ -0,0 +1 @@ +5 --- pychess-0.6.1.orig/debian/watch +++ pychess-0.6.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/_/./" \ +http://code.google.com/p/pychess/downloads/list .*/pychess-(.*)\.tgz --- pychess-0.6.1.orig/debian/changelog +++ pychess-0.6.1/debian/changelog @@ -0,0 +1,57 @@ +pychess (0.6.1-1ubuntu1) gutsy; urgency=low + + * Apply Glade widget patch provided by upstream (LP: #128300) + * Change maintainter to MOTU + + -- Scott Kitterman Sun, 09 Sep 2007 11:06:54 -0400 + +pychess (0.6.1-1) unstable; urgency=low + + [ Varun Hiremath ] + * New upstream release + + [ Torsten Werner ] + * Fix debian/watch. + + -- Torsten Werner Thu, 14 Jun 2007 21:34:50 +0200 + +pychess (0.6.0.final-1) unstable; urgency=low + + * New upstream release + + -- Varun Hiremath Fri, 13 Apr 2007 14:54:28 +0530 + +pychess (0.6.0.beta5-3) unstable; urgency=low + + * debian/control: change section from python to games (Closes: #415825) + + -- Varun Hiremath Fri, 23 Mar 2007 15:40:25 +0530 + +pychess (0.6.0.beta5-2) unstable; urgency=high + + * Add python-glade2 to Depends in debian/control (Closes: #408005) + + -- Varun Hiremath Tue, 23 Jan 2007 17:02:20 +0530 + +pychess (0.6.0.beta5-1) unstable; urgency=low + + [ Varun Hiremath ] + * New upstream release + + [ Torsten Werner ] + * Fixed debian/watch. + + -- Torsten Werner Sat, 13 Jan 2007 10:28:20 +0100 + +pychess (0.6.0.beta4-1) unstable; urgency=low + + [ Varun Hiremath ] + * Initial release (Closes: #398600) + + [ Torsten Werner ] + * Add myself to Uploaders in debian/control. + * Clean up debian/rules a bit. + * Modify download address in debian/copyright. + * Add Depends: gnome-icon-theme. + + -- Torsten Werner Thu, 28 Dec 2006 00:01:40 +0100 --- pychess-0.6.1.orig/debian/copyright +++ pychess-0.6.1/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Varun Hiremath on +Thu, 16 Nov 2006 10:53:35 +0530. + +It was downloaded from http://code.google.com/p/pychess/downloads/list . + +Upstream Authors: +Thomas Dybdahl Ahle , +Norbert Fabritius, +Thijs Vermeir, +Wojciech Halicki-Piszko + +Copyright: (C) 2006 Thomas Dybdahl Ahle + +License: + + This program 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 program 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. + + On Debian systems, you can find the GPL license in: + /usr/share/common-licenses/GPL + +The Debian packaging is (C) 2006, Varun Hiremath and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pychess-0.6.1.orig/debian/docs +++ pychess-0.6.1/debian/docs @@ -0,0 +1 @@ +README --- pychess-0.6.1.orig/debian/rules +++ pychess-0.6.1/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +DEB_PYTHON_SYSTEM=pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +clean:: + $(RM) lang/*/LC_MESSAGES/*.mo --- pychess-0.6.1.orig/debian/manpages +++ pychess-0.6.1/debian/manpages @@ -0,0 +1 @@ +debian/pychess.1 --- pychess-0.6.1.orig/debian/pycompat +++ pychess-0.6.1/debian/pycompat @@ -0,0 +1 @@ +2 --- pychess-0.6.1.orig/debian/pychess.1 +++ pychess-0.6.1/debian/pychess.1 @@ -0,0 +1,37 @@ +.TH pychess 1 "December 22, 2006" +.SH NAME +pychess - chess graphical user interface for several chess engines +.SH DESCRIPTION +.PP +pychess provides a fully featured, nice looking, easy to use chess +client for the gnome-desktop. + +The client should be usable both to those totally new to chess, and +those who want to use a computer to further enchance their play. +.PP +.SH Features +.PP +* Tabbed interface +.PP +* pgn+epd read/write support +.PP +* Hints and spymode +.PP +* xboard/cecp engine support +.PP +* Builtin python based engine +.PP +* Openingbook using sqlite +.PP +* Clean interface and dialogs +.PP +* Builtin move validator +.PP +* Legal move highlighting +.PP +* Supports drag'n'drop. +.SH HOMEPAGE +http://pychess.googlepages.com/home +.SH AUTHOR +This manual page was written by Varun Hiremath , +for the Debian project (but may be used by others).