--- openrpg-1.7.1.orig/debian/openrpg-server-gui.6 +++ openrpg-1.7.1/debian/openrpg-server-gui.6 @@ -0,0 +1,39 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH OPENRPG 6 "November 6, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +openrpg-server-gui \- The graphical server for OpenRPG +.SH SYNOPSIS +.B openrpg-server-gui +.SH DESCRIPTION +OpenRPG is a virtual table top to play pen and paper role playing games and +some miniature board games. It is not a game itself but a tool to allow you +to play these types of games with others online. + +.PP +.B openrpg-server-gui +launches a OpenRPG server and offers a graphical interface to manage it. +.PP +.B openrpg-server-gui +is only a wrapper for the start_server_gui.py script that starts the graphical +server for OpenRPG. +.SH SEE ALSO +.BR openrpg-client (6), +.BR openrpg-server-cli (6). +.SH AUTHOR +This manual page was written by Isaac Clerencia , +for the Debian project (but may be used by others). --- openrpg-1.7.1.orig/debian/openrpg-client +++ openrpg-1.7.1/debian/openrpg-client @@ -0,0 +1,7 @@ +#!/bin/sh +if [ ! -e ~/.openrpg/ ] +then + mkdir ~/.openrpg/ +fi +cd /usr/share/openrpg/ +exec ./start.py --- openrpg-1.7.1.orig/debian/control +++ openrpg-1.7.1/debian/control @@ -0,0 +1,15 @@ +Source: openrpg +Section: games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Isaac Clerencia +Build-Depends: debhelper (>= 4.0.0), quilt, python-support (>= 0.4.0), python-dev, flip +Standards-Version: 3.7.2 + +Package: openrpg +Architecture: all +Depends: ${python:Depends}, python-wxgtk2.6 +Description: client/server application to play RPG over the Internet + OpenRPG is a virtual table top to play pen and paper role playing games and + some miniature board games. It is not a game itself but a tool to allow you + to play these types of games with others online. --- openrpg-1.7.1.orig/debian/openrpg-client.6 +++ openrpg-1.7.1/debian/openrpg-client.6 @@ -0,0 +1,41 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH OPENRPG 6 "November 6, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +openrpg-client \- The client for OpenRPG +.SH SYNOPSIS +.B openrpg-client +.SH DESCRIPTION +OpenRPG is a virtual table top to play pen and paper role playing games and +some miniature board games. It is not a game itself but a tool to allow you +to play these types of games with others online. + +.PP +.B openrpg-client +is the client program used to connect to an OpenRPG server - See below +.PP +.B openrpg-client +is only a wrapper for the start.py script that starts the graphical client +for OpenRPG. +.PP +You can also start the OpenRPG server using the Server menu in the program. +.SH SEE ALSO +.BR openrpg-server-cli (6), +.BR openrpg-server-gui (6). +.SH AUTHOR +This manual page was written by Isaac Clerencia , +for the Debian project (but may be used by others). --- openrpg-1.7.1.orig/debian/rules +++ openrpg-1.7.1/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +export DH_COMPAT=4 + +build: build-stamp +build-stamp: + dh_testdir + + ln -sf debian/patches + quilt push -a || test $$? = 2 + find . -name "*.py" -exec flip -u {} \; + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + quilt pop -a -R || test $$? = 2 + + # remove quilt cruft + rm -f patches + rm -rf .pc + + rm -f install-stamp + + dh_clean + +install: install-stamp +install-stamp: build + dh_testdir + dh_testroot + + chmod 755 debian/openrpg-client + chmod 755 debian/openrpg-server-cli debian/openrpg-server-gui + chmod 755 start.py start_server.py start_server_gui.py platform.py + touch install-stamp + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + dh_install + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installdirs + dh_link + dh_pysupport + dh_compress + dh_fixperms + dh_installdeb + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + @echo "Nothing to do." + +binary: binary-indep +.PHONY: clean binary-indep binary-arch binary --- openrpg-1.7.1.orig/debian/install +++ openrpg-1.7.1/debian/install @@ -0,0 +1,8 @@ +debian/openrpg-client usr/games +debian/openrpg-server-cli usr/games +debian/openrpg-server-gui usr/games +*.py usr/share/openrpg/ +orpg usr/share/openrpg/ +data usr/share/openrpg/ +images usr/share/openrpg/ +plugins usr/share/openrpg/ --- openrpg-1.7.1.orig/debian/openrpg-server-cli.6 +++ openrpg-1.7.1/debian/openrpg-server-cli.6 @@ -0,0 +1,53 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH OPENRPG 6 "November 6, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +openrpg-server-cli \- The command line server for OpenRPG +.SH SYNOPSIS +.B openrpg-server-cli [options] +.SH DESCRIPTION +OpenRPG is a virtual table top to play pen and paper role playing games and +some miniature board games. It is not a game itself but a tool to allow you +to play these types of games with others online. + +.PP +.B openrpg-server-cli +launches a OpenRPG server and offers a command line interface to manage it. +.PP +.B openrpg-server-cli +is only a wrapper for the start_server.py script that starts the command line +server for OpenRPG. +.SH OPTIONS +.TP +.BI -h, \ --help +show command-line options summary +.TP +.BI -n " name" +sets the server name +.TP +.BI -l " password" +lobby boot password +.TP +.BI -p +requests registration in meta server (to allow other people to connect to your +server), if -p is given, -n NAME and - l PASSWORD must be also provided +.SH SEE ALSO +.BR openrpg-client (6), +.BR openrpg-server-gui (6). +.SH AUTHOR +This manual page was written by Isaac Clerencia , +for the Debian project (but may be used by others). --- openrpg-1.7.1.orig/debian/dirs +++ openrpg-1.7.1/debian/dirs @@ -0,0 +1,3 @@ +usr/games +usr/share/openrpg +usr/share/man/man6 --- openrpg-1.7.1.orig/debian/openrpg-server-gui +++ openrpg-1.7.1/debian/openrpg-server-gui @@ -0,0 +1,7 @@ +#!/bin/sh +if [ ! -e ~/.openrpg/ ] +then + mkdir ~/.openrpg/ +fi +cd /usr/share/openrpg/ +exec ./start_server_gui.py --- openrpg-1.7.1.orig/debian/copyright +++ openrpg-1.7.1/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Isaac Clerencia on +Thu, 6 Nov 2003 19:30:50 +0100. + +It was downloaded from http://sourceforge.net/projects/openrpg/ + +Upstream Author: The OpenRPG Team + +Copyright (C) 2000 The OpenRPG Team + +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. + +You can found the license on Debian systems in the file +/usr/share/common-licenses/GPL --- openrpg-1.7.1.orig/debian/README.Debian +++ openrpg-1.7.1/debian/README.Debian @@ -0,0 +1,7 @@ +To launch the OpenRPG client: +* execute openrpg-client + +To launch a OpenRPG game server: +* execute openrpg-server-cli for a command line interface server +* execute openrpg-server-gui for a graphical user interface server +* you can also execute the GUI server from the Server menu in openrpg-client --- openrpg-1.7.1.orig/debian/manpages +++ openrpg-1.7.1/debian/manpages @@ -0,0 +1,3 @@ +debian/openrpg-client.6 +debian/openrpg-server-gui.6 +debian/openrpg-server-cli.6 --- openrpg-1.7.1.orig/debian/openrpg-server-cli +++ openrpg-1.7.1/debian/openrpg-server-cli @@ -0,0 +1,7 @@ +#!/bin/sh +if [ ! -e ~/.openrpg/ ] +then + mkdir ~/.openrpg/ +fi +cd /usr/share/openrpg/ +exec ./start_server.py --- openrpg-1.7.1.orig/debian/menu +++ openrpg-1.7.1/debian/menu @@ -0,0 +1,4 @@ +?package(openrpg):needs="X11" section="Games/Adventure" \ + title="OpenRPG Client" command="/usr/games/openrpg-client" +?package(openrpg):needs="X11" section="Games/Adventure" \ + title="OpenRPG Server" command="/usr/games/openrpg-server-gui" --- openrpg-1.7.1.orig/debian/changelog +++ openrpg-1.7.1/debian/changelog @@ -0,0 +1,61 @@ +openrpg (1.7.1-0ubuntu1) lucid; urgency=low + + * New upstream release (LP: #177560) + * Added conversion from MS-DOS endlines to UNIX ones. + + -- Roberto D'Auria Sat, 09 Jan 2010 16:47:35 +0100 + +openrpg (1.6.3-1.1ubuntu1) gutsy; urgency=low + + * python-wxgtk2.4 dependancy dropped + * Update maintainer field in debian/control + + -- Luca Falavigna Thu, 17 May 2007 20:43:26 +0200 + +openrpg (1.6.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update package to the last python policy (Closes: #38088): + + use python-support. + + remove custom prerm/postinst. + + -- Pierre Habouzit Sat, 12 Aug 2006 13:54:43 +0200 + +openrpg (1.6.3-1) unstable; urgency=low + + * New upstream version + * Switch patch management to quilt + * Depend on libwxgtk2.6-python in addition to 2.4 version + + -- Isaac Clerencia Thu, 19 Jan 2006 14:29:13 +0100 + +openrpg (1.6.1-2) unstable; urgency=low + + * Change Depends on no-longer existing libwxgtk2.4-python to + python-wxgtk2.4, closes: #335664 + * Change Maintainer to + * Added #DEBHELPER# token to prerm + * Standards-Version bumped to 3.6.2, no changes required + * Quoted some menu entries + * Set the man section in man pages + + -- Isaac Clerencia Tue, 25 Oct 2005 11:22:40 +0200 + +openrpg (1.6.1-1) unstable; urgency=low + + * New upstream release + + -- Isaac Clerencia Mon, 12 Jan 2004 23:46:06 +0100 + +openrpg (1.5.2-2) unstable; urgency=low + + * CLI server fixed to launch correctly, closes: #225108 + + -- Isaac Clerencia Sat, 27 Dec 2003 16:53:56 +0100 + +openrpg (1.5.2-1) unstable; urgency=low + + * Initial Debian release, closes: #156134 + + -- Isaac Clerencia Thu, 6 Nov 2003 19:30:50 +0100 + --- openrpg-1.7.1.orig/debian/patches/series +++ openrpg-1.7.1/debian/patches/series @@ -0,0 +1,2 @@ +fix_work_directory +python_interpreter_path --- openrpg-1.7.1.orig/debian/patches/fix_work_directory +++ openrpg-1.7.1/debian/patches/fix_work_directory @@ -0,0 +1,79 @@ +Index: openrpg-1.7.1/orpg/gametree/gametree.py +=================================================================== +--- openrpg-1.7.1.orig/orpg/gametree/gametree.py 2010-01-09 16:57:27.925029322 +0100 ++++ openrpg-1.7.1/orpg/gametree/gametree.py 2010-01-09 17:00:22.765027893 +0100 +@@ -273,6 +273,7 @@ + self.log.log("Enter game_tree->load_tree(self, filename, error)", ORPG_DEBUG) + + self.settings.set_setting("gametree", filename) ++ filename = re.sub('^~',os.environ['HOME'],filename) + tmp = None + xml_dom = None + xml_doc = None +@@ -686,6 +687,7 @@ + + self.master_dom.setAttribute("version",GAMETREE_VERSION) + self.settings.set_setting("gametree",filename) ++ filename = re.sub('^~',os.environ['HOME'],filename) + file = open(filename,"w") + file.write(self.xml.toxml(self.master_dom,1)) + file.close() +Index: openrpg-1.7.1/orpg/networking/mplay_server.py +=================================================================== +--- openrpg-1.7.1.orig/orpg/networking/mplay_server.py 2010-01-09 16:57:28.017029489 +0100 ++++ openrpg-1.7.1/orpg/networking/mplay_server.py 2010-01-09 17:01:32.845027909 +0100 +@@ -576,6 +576,7 @@ + # we only care about the first map element found -- others are ignored + mapElement = element.getElementsByTagName( 'map' )[0] + mapFile = mapElement.getAttribute( 'file' ) ++ mapFile = re.sub('^~',os.environ['HOME'],mapFile) + + messageElement = element.getElementsByTagName( 'message' )[0] + messageFile = messageElement.getAttribute( 'file' ) +Index: openrpg-1.7.1/orpg/templates/default_ini.xml +=================================================================== +--- openrpg-1.7.1.orig/orpg/templates/default_ini.xml 2010-01-09 16:57:28.109027789 +0100 ++++ openrpg-1.7.1/orpg/templates/default_ini.xml 2010-01-09 17:02:15.413026186 +0100 +@@ -1,7 +1,7 @@ + + + +- ++ + + + +Index: openrpg-1.7.1/orpg/templates/default_server_ini.xml +=================================================================== +--- openrpg-1.7.1.orig/orpg/templates/default_server_ini.xml 2010-01-09 16:57:44.329029966 +0100 ++++ openrpg-1.7.1/orpg/templates/default_server_ini.xml 2010-01-09 17:05:18.221027591 +0100 +@@ -1,7 +1,7 @@ + + +- +- ++ ++ + + + +@@ -9,14 +9,14 @@ + + + +- ++ + + +- +- ++ ++ + + +- +- ++ ++ + + --- openrpg-1.7.1.orig/debian/patches/python_interpreter_path +++ openrpg-1.7.1/debian/patches/python_interpreter_path @@ -0,0 +1,57 @@ +Index: openrpg-1.7.1/platform.py +=================================================================== +--- openrpg-1.7.1.orig/platform.py 2010-01-09 16:21:47.613023651 +0100 ++++ openrpg-1.7.1/platform.py 2010-01-09 16:22:02.042411093 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/python ++#!/usr/bin/python + + """ This module tries to retrieve as much platform identifying data as + possible. It makes this information available via function APIs. +Index: openrpg-1.7.1/start.py +=================================================================== +--- openrpg-1.7.1.orig/start.py 2010-01-09 16:21:47.737031208 +0100 ++++ openrpg-1.7.1/start.py 2010-01-09 16:23:11.257029320 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python + import getopt + import pyver + import sys +@@ -17,4 +17,4 @@ + + import orpg.main + app = orpg.main.orpgApp(0) +- app.MainLoop() +\ No newline at end of file ++ app.MainLoop() +Index: openrpg-1.7.1/start_server.py +=================================================================== +--- openrpg-1.7.1.orig/start_server.py 2010-01-09 16:21:47.837027157 +0100 ++++ openrpg-1.7.1/start_server.py 2010-01-09 16:23:19.789027750 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python + import pyver + import sys + pyver.checkPyVersion() +Index: openrpg-1.7.1/start_server_gui.py +=================================================================== +--- openrpg-1.7.1.orig/start_server_gui.py 2010-01-09 16:21:47.933029742 +0100 ++++ openrpg-1.7.1/start_server_gui.py 2010-01-09 16:23:28.729027993 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python + + import pyver + import os +Index: openrpg-1.7.1/orpg/networking/meta_server_lib.py +=================================================================== +--- openrpg-1.7.1.orig/orpg/networking/meta_server_lib.py 2010-01-09 16:21:48.045029385 +0100 ++++ openrpg-1.7.1/orpg/networking/meta_server_lib.py 2010-01-09 16:23:45.297024042 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python2.1 ++#!/usr/bin/python + # Copyright (C) 2000-2001 The OpenRPG Project + # + # openrpg-dev@lists.sourceforge.net