--- pybridge-0.3.0.orig/pybridge-server.6 +++ pybridge-0.3.0/pybridge-server.6 @@ -0,0 +1,35 @@ +.TH PYBRIDGE-SERVER 6 "5 September 2006" "" "" + +.SH NAME +PyBridge Server \- a game server for PyBridge. + +.SH SYNOPSIS +\fBpybridge-server\fR [options] + +.SH DESCRIPTION +\fBpybridge-server\fR is a game server for PyBridge. It accepts incoming network connections from \fBpybridge\fR clients. + +For more information, visit \fIhttp://pybridge.sourceforge.net/\fR. + +.SH OPTIONS + +.TP +\fB\-h\fR, \fB\-\-help\fR +Print help message and exit. + +.TP +\fB\-p\fR \fIportnum\fR, \fB\-\-port\fB \fIportnum\fR +Listen for incoming connections on port \fIportnum\fR. (The default port is 5040.) + +.TP +.BR \fB\-v\fR, \fB\-\-version\fR +Print version information and exit. + +.SH SEE ALSO +\fBpybridge\fR(6) + +.SH AUTHOR +This manual page was written by Michael Banks . + +.SH BUGS +Plenty. Please report any bugs you find. --- pybridge-0.3.0.orig/pybridge/ui/window_main.py +++ pybridge-0.3.0/pybridge/ui/window_main.py @@ -300,7 +300,7 @@ about.set_copyright('Copyright (C) 2004-2007 Michael Banks') about.set_comments(_('A free online bridge game.')) about.set_website('http://pybridge.sourceforge.net/') - license = file(env.find_doc('COPYING')).read() + license = file(env.find_doc('/usr/share/common-licenses/GPL-2')).read() about.set_license(license) authorsfile = file(env.find_doc('AUTHORS')) authors = [author.strip() for author in authorsfile] --- pybridge-0.3.0.orig/debian/pybridge.dirs +++ pybridge-0.3.0/debian/pybridge.dirs @@ -0,0 +1 @@ +usr/share/pixmaps --- pybridge-0.3.0.orig/debian/compat +++ pybridge-0.3.0/debian/compat @@ -0,0 +1 @@ +5 --- pybridge-0.3.0.orig/debian/pybridge.docs +++ pybridge-0.3.0/debian/pybridge.docs @@ -0,0 +1 @@ +AUTHORS --- pybridge-0.3.0.orig/debian/copyright +++ pybridge-0.3.0/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by David Watson on +Mon, 28 Aug 2006 23:39:24 +0100. + +The current Debian maintainer is David Watson + +It was downloaded from http://pybridge.sourceforge.net + +Upstream Author: Michael Banks + +Copyright: 2006, Michael Banks + Sourav K. Mandal + Stephen Banks + +License: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License (verison 2) as published +by the Free Software Foundation; either version 2 of the License. + +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. + +You should have received a copy of the GNU General Public License with +the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; +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, version 2, can be found in /usr/share/common-licenses/GPL-2. + +The Debian packaging is (C) 2006, David Watson and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- pybridge-0.3.0.orig/debian/pybridge-common.dirs +++ pybridge-0.3.0/debian/pybridge-common.dirs @@ -0,0 +1 @@ +usr/share/pyshared/pybridge/site-packages --- pybridge-0.3.0.orig/debian/pybridge-doc.docs +++ pybridge-0.3.0/debian/pybridge-doc.docs @@ -0,0 +1,2 @@ +#DOCS# + --- pybridge-0.3.0.orig/debian/pybridge-common.docs +++ pybridge-0.3.0/debian/pybridge-common.docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README --- pybridge-0.3.0.orig/debian/pybridge.manpages +++ pybridge-0.3.0/debian/pybridge.manpages @@ -0,0 +1 @@ +man/pybridge.6 --- pybridge-0.3.0.orig/debian/pybridge-server.docs +++ pybridge-0.3.0/debian/pybridge-server.docs @@ -0,0 +1 @@ +AUTHORS --- pybridge-0.3.0.orig/debian/pybridge-server.manpages +++ pybridge-0.3.0/debian/pybridge-server.manpages @@ -0,0 +1 @@ +man/pybridge-server.6 --- pybridge-0.3.0.orig/debian/changelog +++ pybridge-0.3.0/debian/changelog @@ -0,0 +1,31 @@ +pybridge (0.3.0-1ubuntu1) hardy; urgency=low + + * Update pybridge-common.dirs to create a dir in pyshared instead of + pycentral (LP: #204895) + * Move binary-arch rules to binary-indep since packages are arch all + * Move build-depends-indep python to build-depends to satisfy clean + * Bump standards to 3.7.3 without further change + * Modify Maintainer value to match the DebianMaintainerField + specification. + + -- Scott Kitterman Sat, 22 Mar 2008 01:08:37 -0400 + +pybridge (0.3.0-1) unstable; urgency=low + + * New upstream release + + -- David Watson Tue, 26 Jun 2007 21:49:36 +0100 + +pybridge (0.2.1-2) unstable; urgency=low + + * Correct the short description of pybridge-server. + * Update maintainer email address. + + -- David Watson Mon, 11 Dec 2006 23:23:10 +0000 + +pybridge (0.2.1-1) unstable; urgency=low + + * Initial release (Closes: #379670) + + -- David Watson Mon, 28 Aug 2006 23:39:24 +0100 + --- pybridge-0.3.0.orig/debian/rules +++ pybridge-0.3.0/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +PYTHON := /usr/bin/python +PYVER := $(shell $(PYTHON) -c 'import sys; print sys.version[:3]') + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + +build: build-stamp + +build-stamp: + dh_testdir + + touch configure-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -rf $(CURDIR)/build/ + chmod +x setup.py + ./setup.py clean --all + rm pybridge/__init__.pyc + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + ./setup.py install --prefix=./debian/pybridge/usr + + dh_install -ppybridge bin/pybridge.desktop usr/share/applications + + # pybridge files + mkdir -p debian/pybridge/usr/games + mv debian/pybridge/usr/bin/pybridge debian/pybridge/usr/games/ + + rm debian/pybridge/usr/share/doc/pybridge/INSTALL + rm debian/pybridge/usr/share/doc/pybridge/COPYING + rm debian/pybridge/usr/share/pybridge/pixmaps/pybridge.ico + + # pybridge-server files + mkdir -p debian/pybridge-server/usr/lib/python$(PYVER)/site-packages/pybridge + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/server debian/pybridge-server/usr/lib/python$(PYVER)/site-packages/pybridge/ + mkdir -p debian/pybridge-server/usr/games + mv debian/pybridge/usr/bin/pybridge-server debian/pybridge-server/usr/games + + # pybridge-common files + mkdir -p debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/enum.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/environment.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/__init__.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/bridge debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/interfaces debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge + mkdir -p debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge/network + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/network/error.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge/network + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/network/__init__.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge/network + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/network/localtable.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge/network + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/network/tablemanager.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge/network + mv debian/pybridge/usr/lib/python$(PYVER)/site-packages/pybridge/network/usermanager.py debian/pybridge-common/usr/lib/python$(PYVER)/site-packages/pybridge/network + + rm -r debian/pybridge/usr/bin + ./setup.py clean --all + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installmenu + dh_installman + dh_link + dh_compress + dh_fixperms + dh_pycentral + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-arch binary-indep +.PHONY: build binary install clean configure --- pybridge-0.3.0.orig/debian/control +++ pybridge-0.3.0/debian/control @@ -0,0 +1,49 @@ +Source: pybridge +Section: games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: David Watson +Build-Depends: debhelper (>= 5.0.37.2), python +Build-Depends-Indep: python-central (>= 0.5) +XS-Python-Version: current +Standards-Version: 3.7.3 + +Package: pybridge +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, python-gtk2 (>= 2.8), python-glade2 (>= 2.8), python-cairo (>= 1.0), python-configobj (>= 4.0), pybridge-common (>= 0.3) +Suggests: pybridge-server (>= 0.3) +Description: An online contract bridge game. Gtk client + PyBridge lets you play the card game of contract bridge, with human + players, over the Internet or a local network. The PyBridge project aims + to provide a featureful cross-platform alternative to existing online bridge + services. + . + This package provides a PyGTK / Glade front-end user interface through which + games are played + +Package: pybridge-common +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, python-twisted-core (>= 2.0), python-zopeinterface (>= 3) +Suggests: pybridge-server (>= 0.3), pybridge (>= 0.3) +Description: Common files for pybridge + PyBridge lets you play the card game of contract bridge, with human + players, over the Internet or a local network. The PyBridge project aims + to provide a featureful cross-platform alternative to existing online bridge + services. + . + This package contains files shared by the PyBridge client and server. + +Package: pybridge-server +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, pybridge-common (>= 0.3), python-sqlobject (>= 0.7), python-configobj (>= 4.0) +Suggests: pybridge (>= 0.3), python-pysqlite2 +Description: Server files for pybridge + PyBridge lets you play the card game of contract bridge, with human + players, over the Internet or a local network. The PyBridge project aims + to provide a featureful cross-platform alternative to existing online bridge + services. + . + This package provides a console server to which PyBridge users can connect. --- pybridge-0.3.0.orig/debian/pybridge-doc.install +++ pybridge-0.3.0/debian/pybridge-doc.install @@ -0,0 +1,2 @@ +#DOCS# + --- pybridge-0.3.0.orig/debian/pybridge-server.dirs +++ pybridge-0.3.0/debian/pybridge-server.dirs @@ -0,0 +1 @@ +usr/lib --- pybridge-0.3.0.orig/debian/pycompat +++ pybridge-0.3.0/debian/pycompat @@ -0,0 +1 @@ +2 --- pybridge-0.3.0.orig/debian/pybridge.menu +++ pybridge-0.3.0/debian/pybridge.menu @@ -0,0 +1,7 @@ +?package(pybridge):\ +needs="x11"\ +section="Games/Card"\ +title="PyBridge"\ +longtitle="PyBridge is software which lets you play the card game of (contract) bridge, with human players, over the Internet or a local network."\ +icon="/usr/share/pybridge/pixmaps/pybridge.xpm"\ +command="/usr/games/pybridge" --- pybridge-0.3.0.orig/debian/watch +++ pybridge-0.3.0/debian/watch @@ -0,0 +1,12 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to find new files on sourceforge, for debscripts >= 2.9 +http://sf.net/pybridge/pybridge-(.*)\.tar\.gz + + --- pybridge-0.3.0.orig/pybridge.6 +++ pybridge-0.3.0/pybridge.6 @@ -0,0 +1,24 @@ +.TH PYBRIDGE 6 "5 September 2006" "" "" + +.SH NAME +PyBridge \- a free online bridge game. + +.SH SYNOPSIS +.B pybridge + +.SH DESCRIPTION +\fBpybridge\fR is a graphical interface for playing the card game of (contract) bridge over the Internet or a local network. + +To actually use \fBpybridge\fR, you need to connect to a PyBridge game server. You may run a game server yourself (see \fBpybridge-server\fR) or connect to a public server. A list of public servers, along with other information, can be found at \fIhttp://pybridge.sourceforge.net/\fR. + +.SH OPTIONS +\fBpybridge\fR accepts no options. + +.SH SEE ALSO +\fBpybridge-server\fR(6) + +.SH AUTHOR +This manual page was written by Michael Banks . + +.SH BUGS +Plenty. Please report any bugs you find. --- pybridge-0.3.0.orig/pixmaps/pybridge.xpm +++ pybridge-0.3.0/pixmaps/pybridge.xpm @@ -0,0 +1,126 @@ +/* XPM */ +static char *pybridge-1[] = { +/* columns rows colors chars-per-pixel */ +"32 32 88 1", +" c black", +". c #204A86", +"X c #254E89", +"o c #26508B", +"O c #2A528C", +"+ c #2C5590", +"@ c #32588F", +"# c #3C5C84", +"$ c #345D94", +"% c #385E94", +"& c #3E6088", +"* c #3C6194", +"= c #3A649B", +"- c #3D69A1", +"; c #40628B", +": c #426691", +"> c #446894", +", c #44699A", +"< c #4A6E9C", +"1 c #4D709C", +"2 c #55759F", +"3 c #4C74A3", +"4 c #4F78A6", +"5 c #4E78AA", +"6 c #5374A2", +"7 c #5379A6", +"8 c #517BAB", +"9 c #5C7CA2", +"0 c #5A7CA9", +"q c #537EB0", +"w c #5880AD", +"e c #5581B4", +"r c #5784B8", +"t c #5C84B3", +"y c #5886BB", +"u c #5E88B7", +"i c #5A89BD", +"p c #6582A5", +"a c #6683AA", +"s c #6983A5", +"d c #6885AC", +"f c #6988AF", +"g c #638AB4", +"h c #658DB9", +"j c #6C8BB3", +"k c #6790BC", +"l c #6891BD", +"z c #718BAD", +"x c #708FB8", +"c c #7092B6", +"v c #7494BA", +"b c #7B93B6", +"n c #618EC1", +"m c #6691C1", +"M c #6A94C1", +"N c #6C98C6", +"B c #6D99CA", +"V c #7497C1", +"C c #709DCB", +"Z c #789CC6", +"A c #75A1D0", +"S c #8097B8", +"D c #829BBC", +"F c #889FBF", +"G c #81A0C3", +"H c #8EA3C1", +"J c #94A9C5", +"K c #99ACC6", +"L c #9AAFCB", +"P c #AEBDD3", +"I c #B5C2D5", +"U c #B6C4D8", +"Y c #B8C4D7", +"T c #BDC9DB", +"R c #C4CFDF", +"E c #DDDDDE", +"W c #C5D0E0", +"Q c #DCDEE0", +"! c #DFE1E3", +"~ c #D9E0EA", +"^ c #E2E3E3", +"/ c #E0E3E8", +"( c #EDEDED", +") c #E5EBF1", +"_ c #E9EEF3", +"` c #F2F2F2", +"' c #FEFEFE", +"] c None", +/* pixels */ +"]]]]]]]]]]bTTP*]]]]]]]]]]]]]]]]]", +"]]]]]]]]]]U'''a66667,']]]]]]]]]]", +"]]]]]]]]]]T'''''''''~0]]]]]]]]]]", +"]]]]]]]]].HTTW'''''`(b]]]]]]]]]]", +"]]]]]]]]]6'''R(((((((S]]]]]]]]]]", +"]]]]]]]]]D''''IYYIYIId]]]]]]]]]]", +"]]]]]]]]]H'''''''''''RX]]]]]]]]]", +"]]]]]]]]]J''''''''''')%]]]]]]]]]", +"]]]]]]]]]K'''''''''''_*]]]]]]]]]", +"]]]]]]]]oF'''''''''''_$.]]]]]]]]", +"]]]]]]].aL''''''''''`/z$]]]]]]]]", +"]]]]]]]XvJ'''```(((((/p1]]]]]]]]", +"]]]]]]]OZK(((((((((((~92.]]]]]]]", +"]]]]]]]$lK(((((((^^^EE99@]]]]]]]", +"]]]]]]]3tK^^^EEEEE^^EE9sO]]]]]]]", +"]]]]]].70K^EEEEEEEEEE^69@]]]]]]]", +"]]]]]]Xt5K^!^^^^^^^^^^11*]]]]]]]", +"]]]]]]Xy50dasssasssspp&&&X]]]]]]", +"]]]]]]$8e5531<,>:&;;&###&X]]]]]]", +"]]]]]]$------======*$****X]]]]]]", +"]]]]]]-iiyyrreee88e574443o]]]]]]", +"]]]]]]-iiiyrree88e5544411o]]]]]]", +"]]]]]]=iiyyreeeqee55544w0.]]]]]]", +"]]]]]]=kiyrrreee885wwugg7.]]]]]]", +"]]]]]]+miyyreeetuhhkgggg3.]]]]]]", +"]]]]]]XNiyyihmMMlkkhhggg6]]]]]]]", +"]]]]]]OMinNCBNMMllkhghgg6]]]]]]]", +"]]]]]]+NBCCBBNMmMlkhhggj1]]]]]]]", +"]]]]]]XZACCBNNNMMllkhggc,]]]]]]]", +"]]]]]].VCCCBNNNMllkkhhgb$]]]]]]]", +"]]]]]].vACBBNNNlllkkhggDO]]]]]]]", +"]]]]]]],xccjjjjfgffaaaa6X]]]]]]]" +}; --- pybridge-0.3.0.orig/man/pybridge-server.6 +++ pybridge-0.3.0/man/pybridge-server.6 @@ -14,15 +14,15 @@ .SH OPTIONS .TP -\fB\-h\fR, \fB--help\fR +\fB\-h\fR, \fB\-\-help\fR Print help message and exit. .TP -\fB\-p\fR \fIportnum\fR, \fB--port\fB \fIportnum\fR +\fB\-p\fR \fIportnum\fR, \fB\-\-port\fB \fIportnum\fR Listen for incoming connections on port \fIportnum\fR. (The default port is 5040.) .TP -.BR \fB\-v\fR, \fB--version\fR +.BR \fB\-v\fR, \fB\-\-version\fR Print version information and exit. .SH SEE ALSO