--- pysol-4.82.1.orig/pysol +++ pysol-4.82.1/pysol @@ -67,7 +67,8 @@ bindir=`echo "$0" | sed -e 's|[^/][^/]*$||'` bindir=`cd "$bindir" && pwd` -f="pysol_$PYVER.pyc" +#f="pysol_$PYVER.pyc" +f="pysol.py" # try script directory unless installed if test ! -f "$dir/$f"; then --- pysol-4.82.1.orig/src/main.py +++ pysol-4.82.1/src/main.py @@ -32,6 +32,12 @@ ## http://www.oberhumer.com/pysol ## ##---------------------------------------------------------------------------## +## +## Debian specific changes: +## * Removed check for html/licence.html to allow to remove docs +## 2004-04-19 Alexander Nofftz +## +##---------------------------------------------------------------------------## # imports @@ -87,12 +93,12 @@ except: pass # init DataLoader - f = os.path.join("html", "license.html") + f = os.path.join("images", "redeal.gif") app.dataloader = DataLoader(args[0], f) # try to load plugins if not "--noplugins" in args[1:]: - for dir in (os.path.join(app.dataloader.dir, "games"), + for dir in (#--games already loaded in pysol.py -- os.path.join(app.dataloader.dir, "games"), os.path.join(app.dataloader.dir, "plugins"), app.dn.plugins): try: --- pysol-4.82.1.orig/src/app.py +++ pysol-4.82.1/src/app.py @@ -52,7 +52,7 @@ from resource import Sample, SampleManager from resource import Music, MusicManager from images import Images, SubsampledImages -from random import LCRandom64 +from pysol_random import LCRandom64 from game import Game from gamedb import GI, GAME_DB, loadGame --- pysol-4.82.1.orig/src/games/montana.py +++ pysol-4.82.1/src/games/montana.py @@ -87,14 +87,14 @@ def dealCards(self, sound=0): # move cards to the Talon, shuffle and redeal game = self.game - RLEN, RSTEP, RBASE = game.RLEN, game.RSTEP, game.RBASE + RLEN, RSTEP, RBASE, RROWS = game.RLEN, game.RSTEP, game.RBASE, game.RROWS num_cards = 0 assert len(self.cards) == 0 rows = game.s.rows # move out-of-sequence cards from the Tableau to the Talon stacks = [] - gaps = [None] * 4 - for g in range(4): + gaps = [None] * RROWS + for g in range(RROWS): i = g * RSTEP r = rows[i] if r.cards and r.cards[-1].rank == RBASE: @@ -164,17 +164,17 @@ RowStack_Class = Montana_RowStack Hint_Class = Montana_Hint - RLEN, RSTEP, RBASE = 52, 13, 1 + RLEN, RSTEP, RBASE, RROWS = 52, 13, 1, 4 def createGame(self): # create layout l, s = Layout(self, XM=4), self.s # set window - self.setSize(l.XM + self.RSTEP*l.XS, l.YM + 5*l.YS) + self.setSize(l.XM + self.RSTEP*l.XS, l.YM + (self.RROWS+1)*l.YS) # create stacks - for i in range(4): + for i in range(self.RROWS): x, y, = l.XM, l.YM + i*l.YS for j in range(self.RSTEP): s.rows.append(self.RowStack_Class(x, y, self, max_accept=1, max_cards=1)) @@ -195,12 +195,12 @@ def startGame(self): frames = 0 - for i in range(52): + for i in range(self.RLEN): c = self.s.talon.cards[-1] if c.rank == ACE: self.s.talon.dealRow(rows=self.s.internals, frames=0) else: - if frames == 0 and i >= 39: + if frames == 0 and i >= (self.RLEN-13): self.startDealSample() frames = 4 self.s.talon.dealRow(rows=(self.s.rows[i],), frames=frames) @@ -233,6 +233,12 @@ if from_stack.id % self.RSTEP == 0 and from_stack.cards[-1].rank == self.RBASE: # do not move the leftmost card of a row if the rank is correct return -1 + # check if the left neighbour matches + if from_stack.id % self.RSTEP != 0: + neigh = self.s.rows[from_stack.id -1] + if neigh.cards: + if neigh.cards[-1].rank + 1 == from_stack.cards[-1].rank and neigh.cards[-1].suit == from_stack.cards[-1].suit: + return -1 return 1 @@ -266,10 +272,10 @@ def startGame(self): frames = 0 j = 0 - for i in range(52): + for i in range(self.RLEN-self.RROWS): if j % 14 == 0: j = j + 1 - if i == 39: + if i == self.RLEN-self.RROWS*2: self.startDealSample() frames = 4 self.s.talon.dealRow(rows=(self.s.rows[j],), frames=frames) @@ -294,24 +300,44 @@ def startGame(self): frames = 0 r = self.s.rows - self.s.talon.dealRow(rows=(r[0],r[14],r[28],r[42]), frames=frames) - for i in range(4): - if i == 3: + for i in range(self.RROWS): + self.s.talon.dealRow(rows=(r[14*i],), frames=frames) + for i in range(self.RROWS): + if i == self.RROWS-1: self.startDealSample() - frames = 4 + frames = self.RROWS n = i * 14 + 2 self.s.talon.dealRow(rows=r[n:n+12], frames=frames) +# /*********************************************************************** +# // Games with two decks +# ************************************************************************/ + +class DoubleMontana(Montana): + RLEN, RROWS = 104, 8 + +class DoubleBlueMoon(BlueMoon): + RLEN, RROWS = 112, 8 + +class DoubleRedMoon(RedMoon): + RLEN, RROWS = 112, 8 # register the game registerGame(GameInfo(53, Montana, "Montana", GI.GT_MONTANA, 1, 2, si={"ncards": 48}, altnames="Gaps")) +registerGame(GameInfo(100000, DoubleMontana, "Double Montana", + GI.GT_MONTANA, 2, 2, + si={"ncards": 96})) registerGame(GameInfo(116, Spaces, "Spaces", GI.GT_MONTANA, 1, 2, si={"ncards": 48})) registerGame(GameInfo(63, BlueMoon, "Blue Moon", GI.GT_MONTANA, 1, 2)) +registerGame(GameInfo(100001, DoubleBlueMoon, "Double Blue Moon", + GI.GT_MONTANA, 2, 2)) registerGame(GameInfo(117, RedMoon, "Red Moon", GI.GT_MONTANA, 1, 2)) +registerGame(GameInfo(100002, DoubleRedMoon, "Double Red Moon", + GI.GT_MONTANA, 2, 2)) --- pysol-4.82.1.orig/src/actions.py +++ pysol-4.82.1/src/actions.py @@ -42,7 +42,7 @@ from mfxutil import EnvError, SubclassResponsibility from mfxutil import Struct, destruct, openURL from util import PACKAGE, PACKAGE_URL, VERSION, bundle -from random import constructRandom +from pysol_random import constructRandom # stats imports from stats import Status_StatsDialog, PysolStatsFormatter --- pysol-4.82.1.orig/src/game.py +++ pysol-4.82.1/src/game.py @@ -48,7 +48,7 @@ from util import ACE, QUEEN, KING from gamedb import GI from resource import CSI -from random import PysolRandom, LCRandom64, LCRandom31, WHRandom +from pysol_random import PysolRandom, LCRandom64, LCRandom31, WHRandom from pysoltk import EVENT_HANDLED, EVENT_PROPAGATE from pysoltk import CURSOR_WATCH, ANCHOR_SW, ANCHOR_SE from pysoltk import tkname, bind, after_idle, wm_map, getFont --- pysol-4.82.1.orig/src/pysol.py +++ pysol-4.82.1/src/pysol.py @@ -97,7 +97,7 @@ # the corresponding module/class combination. t = {} -for m in ("app", "mfxutil", "random", "move"): +for m in ("app", "mfxutil", "pysol_random", "move"): mod = sys.modules[m] for k, v in mod.__dict__.items(): if type(v) is types.ClassType and not t.has_key(k): --- pysol-4.82.1.orig/src/pysolaudio.py +++ pysol-4.82.1/src/pysolaudio.py @@ -32,6 +32,12 @@ ## http://www.oberhumer.com/pysol ## ##---------------------------------------------------------------------------## +## +## Debian specific changes: +## * Removed "hard" dependency of pysol-sound-server +## 2004-06-14 Alexander Nofftz +## +##---------------------------------------------------------------------------## # imports @@ -41,7 +47,13 @@ from mfxtools import * import thread -import pysolsoundserver + +# try to import sound server +# (only successes if pysol-sound-server package installed) +try: + import pysolsoundserver +except ImportError: + pysolsoundserver = None # /*********************************************************************** --- pysol-4.82.1.orig/debian/patches/02_set_sound_as_int.dpatch +++ pysol-4.82.1/debian/patches/02_set_sound_as_int.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_set_sound_as_int.dpatch by dAniel hAhler +## +## DP: Set "Enable sound" sound option as integer, throws an +## AssertionError otherwise (LP: #158095). + +@DPATCH@ +diff -urNad pysol-4.82.1~/src/actions.py pysol-4.82.1/src/actions.py +--- pysol-4.82.1~/src/actions.py 2007-10-28 20:50:43.000000000 +0100 ++++ pysol-4.82.1/src/actions.py 2007-10-28 21:36:17.670422296 +0100 +@@ -753,7 +753,7 @@ + def mOptSoundDialog(self, *args): + if self._cancelDrag(): return + d = SoundOptionsDialog(self.top, "Sound settings", self.app) +- self.tkopt.sound.set(self.app.opt.sound) ++ self.tkopt.sound.set(int(self.app.opt.sound)) + + def mOptAnimations(self, *args): + if self._cancelDrag(): return --- pysol-4.82.1.orig/debian/patches/01_patch_for_bug_39975.dpatch +++ pysol-4.82.1/debian/patches/01_patch_for_bug_39975.dpatch @@ -0,0 +1,39 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_patch_for_bug_39975.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Solving custom options persistance + +@DPATCH@ + +diff -Nru ../../pysol-4.82.1/src/app.py ../../tmp/pysol-4.82.1/src/app.py +--- ../../pysol-4.82.1/src/app.py 2007-04-29 23:57:27.000000000 +0200 ++++ ../../tmp/pysol-4.82.1/src/app.py 2007-04-29 23:58:42.000000000 +0200 +@@ -408,8 +408,26 @@ + + # the PySol mainloop + def mainloop(self): ++ ## Following code added to solve: ++ ## - launchpad bug #39975 ++ ## - debbugs #418546 ++ ## class Option in app.py uses int values 0, 1 to set user preferences. ++ ## When user change a preference in a checkbox that value was changed to boolean True or False ++ ## and stored in self.fn.opt (~/.pysol/options.dat) ++ ## That's why only two_values options were giving problems. ++ ## Hacked to convert back each boolean to 0 or 1 from custom options file so that Pysol accept that values. ++ try: ++ options = unpickle(self.fn.opt) ++ for k in options.__dict__.keys(): ++ if options.__dict__[k] == False: ++ setattr(options, k, 0) ++ elif options.__dict__[k] == True: ++ setattr(options, k, 1) ++ self.opt = options ++ except: ++ self.startup_opt =self.opt.copy() + # copy startup options +- self.startup_opt = self.opt.copy() ++ + # try to load statistics + try: self.loadStatistics() + except: pass --- pysol-4.82.1.orig/debian/patches/00list +++ pysol-4.82.1/debian/patches/00list @@ -0,0 +1,2 @@ +01_patch_for_bug_39975.dpatch +02_set_sound_as_int.dpatch --- pysol-4.82.1.orig/debian/control +++ pysol-4.82.1/debian/control @@ -0,0 +1,36 @@ +Source: pysol +Section: games +Priority: optional +Build-Depends: debhelper (>= 4), python-dev, dpatch +Build-Depends-Indep: python-support (>= 0.3) +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Alexander Nofftz +Uploaders: Erich Schubert +Standards-Version: 3.7.2 + +Package: pysol +Architecture: all +Depends: ${python:Depends}, python-tk +Suggests: pysol-cardsets (>=4.40-3) +Replaces: pysol-cardsets (<< 4.40-3) +Conflicts: pysol-cardsets (<< 4.40-3) +Description: X11 solitaire game written in Python + PySol is an X11 solitaire game with a number of nice features, + including hints, autoplay, unlimited undo, player statistics, demo + mode, selectable card set and background graphics, and integrated help. + It currently plays over one hundred different games and variants, and + has a plug-in architecture which makes adding more easy. + . + Install pysol-cardsets for a wide variety of cardsets. + . + Install pysol-sound-server and pysol-sounds to get support + for sound effects and background music. + +Package: pysol-sounds +Architecture: all +Recommends: pysol-sound-server, pysol (>= 3.40-1) +Replaces: pysol (<< 4.20-2) +Description: Sounds and background music for use with PySol + When this package is installed along with pysol-sound-server, + PySol can play sounds and background music. It is mostly useless + without the server. --- pysol-4.82.1.orig/debian/rules +++ pysol-4.82.1/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# -*-Makefile-*- +# MAde with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Cristoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGES=pysol +TMPDIR = $(shell pwd)/debian/pysol + +include /usr/share/dpatch/dpatch.make + +build: build-stamp + +build-stamp: patch + dh_testdir + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -rf debian/pysol debian/files debian/substvars + rm -f build-stamp + rm -f *.py[co] + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +# Do the installation by hand, as the Makefile isn't smart enough + sed -e 's,@pkgdatadir@,/usr/share/games/pysol,' \ + -e 's,@prefix@,/usr,' \ + -e 's,@PYTHON@,/usr/bin/python,' \ + < pysol > $(TMPDIR)/usr/games/pysol + chmod 755 $(TMPDIR)/usr/games/pysol + cp -r data/* $(TMPDIR)/usr/share/games/pysol +# move back the icon to /usr/share/pixmaps + mkdir -p $(TMPDIR)/usr/share/pixmaps + mv $(TMPDIR)/usr/share/games/pysol/pysol.xpm $(TMPDIR)/usr/share/pixmaps/ + cp -r src/* $(TMPDIR)/usr/share/games/pysol + rm -f $(TMPDIR)/usr/share/games/pysol/README.SOURCE + rm -f $(TMPDIR)usr/share/games/pysol/music/COPYRIGHT +# Rename random.py for LP #80287 + mv $(TMPDIR)/usr/share/games/pysol/random.py $(TMPDIR)/usr/share/games/pysol/pysol_random.py +# PySol expects its documentation to be in its data directory + cp -r data/html $(TMPDIR)/usr/share/doc/pysol + rm -rf $(TMPDIR)/usr/share/games/pysol/html + ln -s ../../doc/pysol/html $(TMPDIR)/usr/share/games/pysol/html + install -m 644 pysol.6 $(TMPDIR)/usr/share/man/man6/ + #dh_movefiles -- seems not to work well +# move sound and music to the other package directory + mkdir -p debian/pysol-sounds/usr/share/games/pysol + cp -r data/sound data/music debian/pysol-sounds/usr/share/games/pysol/ +# Remove empty directories + for d in `find . -depth -type d -empty 2> /dev/null`; do \ + while rmdir $$d 2> /dev/null; do d=`dirname $$d`; done; \ + done + rm -rf $(TMPDIR)/usr/share/games/pysol/music $(TMPDIR)/usr/share/games/pysol/sound + # install desktop file + mkdir -p $(TMPDIR)/usr/share/applications + install -m 644 debian/pysol.desktop $(TMPDIR)/usr/share/applications/pysol.desktop + +# Build architecture-independent files here. +binary-indep: DH_OPTIONS=-i +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installmenu + dh_installchangelogs + dh_pysupport + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do here. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- pysol-4.82.1.orig/debian/README.debian +++ pysol-4.82.1/debian/README.debian @@ -0,0 +1,14 @@ +pysol for DEBIAN +---------------------- + +The additional cardsets that used to be included with pysol are +now in a separate package, pysol-cardsets, along with several others +that have been added. + +Rob Tillotson , Thu, 10 Sep 1998 22:17:50 -0500 + + +In order to conform to the debian policy, it is not possible to +package the precompiled version of PySol as provided by the author. + +Alexander Nofftz , Mon, 19 Apr 2004 20:37:20 +0200 --- pysol-4.82.1.orig/debian/changelog +++ pysol-4.82.1/debian/changelog @@ -0,0 +1,286 @@ +pysol (4.82.1-4.1ubuntu7) hardy; urgency=low + + * debian/patches/02_set_sound_as_int.dpatch: + Set "Enable sound" sound option as integer, to fix + AssertionError (LP: #158095). + + -- dAniel hAhler Sun, 28 Oct 2007 21:39:03 +0100 + +pysol (4.82.1-4.1ubuntu6) gutsy; urgency=low + + [ Edoardo Batini ] + * Custom user options are now loaded when application starts (LP: #39975) + - 01_patch_for_bug_39975. + * Added dpatch to Build-Depends + + [ Scott Kitterman ] + * Modified debian/rules to add dpatch patch system + + -- Edoardo Batini Sun, 29 Apr 2007 20:26:56 +0200 + +pysol (4.82.1-4.1ubuntu5) feisty; urgency=low + + * The "oops, missed a spot" release + - Change one last occurence of random to pysol_random in src/pysol.py + + -- Scott Kitterman Fri, 13 Apr 2007 02:55:45 -0400 + +pysol (4.82.1-4.1ubuntu4) feisty; urgency=low + + * Move /src/random.py to pysol_random.py to avoid odd namespace confusion and + change imports to match. (Closes LP: #80287) + - Note this is a workaround for LP #104971 and should be removed once + that is corrected. + * Add version to python-support build-dep + + -- Scott Kitterman Mon, 9 Apr 2007 17:28:46 -0400 + +pysol (4.82.1-4.1ubuntu3) feisty; urgency=low + + * debian/rules: change Makefile substitution @PYTHON@ in /usr/bin/python and + no more /usr/bin/python2.4 as we do not use versioned python any more. + (Closes LP: #91300) + * debian/control: Change Maintainer/XSBC-Original-Maintainer field + + -- Lionel Porcheron Sun, 11 Mar 2007 13:10:25 +0100 + +pysol (4.82.1-4.1ubuntu2) feisty; urgency=low + + * Do not depend on versioned python packages. + + -- Matthias Klose Mon, 15 Jan 2007 17:05:12 +0100 + +pysol (4.82.1-4.1ubuntu1) edgy; urgency=low + + * Merge from Debian unstable. Remaining changes are: + - Correct .desktop icon path. + - Move pysol.xpm to /usr/share/pixmaps. + + -- William Alexander Grant Wed, 30 Aug 2006 21:29:07 +1000 + +pysol (4.82.1-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Update package to the last python policy (Closes: #380919). + * Bump Standards-Version to 3.7.2. + * Build it for python2.4 (dh_pysupport -V2.4) + + -- Pierre Habouzit Sat, 12 Aug 2006 22:02:41 +0200 + +pysol (4.82.1-4ubuntu1) dapper; urgency=low + + * .desktop file: + -corrected absolute icon path, Categories cleanup + (thanks to Emmet Hikory, closes Malone #32756) + -added french comment + * debian/rules: + -moved pysol.xpm from /usr/share/game/pysol to /usr/share/pixmaps + + -- Loic Pefferkorn Sun, 9 Apr 2006 12:53:05 +0000 + +pysol (4.82.1-4) unstable; urgency=low + + [ Alexander Nofftz ] + * Fixed a typo in package description (Closes: #335047) + * Included a .desktop file for GNOME and KDE (Closes: #325298) + * Updated FSF address in copyright file (Lintian warning) + * Fixed Debian menu file (Lintian warning) + + [ Erich Schubert ] + * Sponsor upload (note: new sponsor needed - I'm preparing for exams...) + * Don't use {foo,bar} expansion in debian/rules + + -- Erich Schubert Thu, 5 Jan 2006 01:48:42 +0100 + +pysol (4.82.1-3) unstable; urgency=low + + [ Alexander Nofftz ] + * Rebuild for Python 2.4 + * Updated to Debian Policy 3.6.2 + + [ Erich Schubert ] + * Sponsor upload + * Modified Montana to support games with more than one deck + * added three new games: Double Blue Moon, Double Red Moon, Double Montana + (was submitted upstream more than a year ago, never got a reply, + but no new upstream release of the 4.x series, who appears to be + working on a new 5.x version instead) + + -- Erich Schubert Mon, 22 Aug 2005 16:43:17 +0200 + +pysol (4.82.1-2) unstable; urgency=low + + * Re-enabled sound server. + * Removed second loading of all games in main.py (Closes: #245221). + * Fixed control file to install correct pysol-cardsets package + (Closes: #244961). + + -- Alexander Nofftz Mon, 14 Jun 2004 15:00:15 +0200 + +pysol (4.82.1-1) unstable; urgency=low + + * Sponsored upload by Erich Schubert + Removed precompiled binaries from orig tarball. + * Replacing mainstream's precompiled binary by "real" compiled source to + conform to Debian policy (closes: #243839). + * It is now possible to remove docs (closes: #237035). + * GPLed "standard" cardset replacement "oxymoron" added (closes: #213891). + * Packages pysol-sound-server and pysol-sounds removed because provided + source code doesn't run if not present. + * Added "double montana" game (closes: #62856). + + -- Alexander Nofftz Mon, 19 Apr 2004 23:15:21 +0200 + +pysol (4.82-1) unstable; urgency=low + + * New upstream version. + * Linked against Python 2.3 (closes: #212797). + + -- Alexander Nofftz Tue, 30 Sep 2003 23:20:49 +0200 + +pysol (4.81-1) unstable; urgency=low + + * New maintainer + * New upstream version (closes: #163095, #102301, #120996, #145912). + * Built for Python 2.2 (closes: #183948, #181281). + * Moved data directory to /usr/share/games/pysol (closes: #144654). + * Maintainer upload (closes: #118126, #110443, #125279, #92399). + * This is my first Debian package + + -- Alexander Nofftz Sat, 15 Mar 2003 16:11:08 +0100 + +pysol (4.80-0.1) unstable; urgency=low + + * NMU to include sources (closes: #118126). + * New upstream version (closes: #92399). + * Explicitely call /usr/bin/python2.1 (closes: #110443). + * Fixed spelling error in package description (closes: #125279). + * debian/copyright: Update download loaction. + + -- Matthias Klose Mon, 24 Dec 2001 00:27:40 +0100 + +pysol (4.72-1) unstable; urgency=low + + * New upstream release + * Built for Python 2.1 + * Changed Build-Depends to Build-Depends-Indep + + -- Adam Klein Fri, 2 Nov 2001 20:22:35 -0800 + +pysol (4.60-1) unstable; urgency=low + + * New upstream release + + -- Adam Klein Sun, 13 Aug 2000 11:30:15 -0700 + +pysol (4.41-1) unstable; urgency=low + + * New upstream release + + -- Adam Klein Tue, 30 May 2000 22:01:45 -0700 + +pysol (4.30-1) unstable; urgency=low + + * New upstream release + * Use pysol.xpm in the menu entry + + -- Adam Klein Sun, 28 May 2000 09:58:07 -0700 + +pysol (4.20-2) unstable; urgency=low + + * Include all cardsets included in the main pysol package + * Actually include the sounds in pysol-sounds by correcting name of + pysol-sounds.files + * Now Replaces: pysol-cardsets (<< 4.20-2) + + -- Adam Klein Fri, 28 Apr 2000 08:47:27 -0700 + +pysol (4.20-1) unstable; urgency=low + + * New upstream release + * Changed conflicts to replaces + + -- Adam Klein Thu, 27 Apr 2000 19:52:14 -0700 + +pysol (4.10-1) unstable; urgency=low + + * New upstream version + + -- Adam Klein Tue, 18 Apr 2000 14:36:00 -0700 + +pysol (4.00-1) unstable; urgency=low + + * New upstream version + * Only include cardsets that aren't in python-cardsets (plus standard) + + -- Adam Klein Sun, 16 Apr 2000 11:32:11 -0700 + +pysol (3.40-1) unstable; urgency=low + + * New maintainer. + * New upstream version. + * Split out sounds and music to pysol-sounds package + * Moved package building rules to binary-indep target + * Updated number of games mentioned in doc-base + * Standards-Version: 3.1.1; added Build-Depends + + -- Adam Klein Fri, 17 Mar 2000 10:50:40 -0800 + +pysol (3.00-1) unstable; urgency=low + + * New upstream version. + + -- Rob Tillotson Fri, 5 Nov 1999 00:10:49 -0600 + +pysol (2.99-1) unstable; urgency=low + + * New upstream version. + * Include contents of upstream "source" archive in .orig.tar.gz; see + README.Debian for details (closes: #46872) + * Relocate docs to /usr/share/doc. + * Standards-version 3.0.0. + + -- Rob Tillotson Wed, 20 Oct 1999 22:31:12 -0500 + +pysol (2.14-1) unstable; urgency=low + + * New upstream version. + + -- Rob Tillotson Thu, 22 Jul 1999 17:31:48 -0500 + +pysol (2.10-2) unstable; urgency=low + + * Changed python dependencies (closes: #41340) + * Update standards-version to 2.5.1. + + -- Rob Tillotson Thu, 15 Jul 1999 23:06:17 -0500 + +pysol (2.10-1) unstable; urgency=low + + * New upstream version. + + -- Rob Tillotson Fri, 12 Mar 1999 19:56:28 -0600 + +pysol (2.02-1) unstable; urgency=low + + * New upstream version. + * Because of size, the additional cardsets are now distributed and + packaged separately. + * Added copyright information about standard cardset. + * Updated Python dependency to 1.5.1 as per documentation. + + -- Rob Tillotson Mon, 8 Mar 1999 04:21:29 -0600 + +pysol (2.00-1) unstable; urgency=low + + * New upstream version. + * Registered documentation with doc-base. + + -- Rob Tillotson Sun, 13 Dec 1998 18:26:06 -0600 + +pysol (1.00-1) unstable; urgency=low + + * Initial Release. + + -- Rob Tillotson Thu, 10 Sep 1998 22:17:50 -0500 + --- pysol-4.82.1.orig/debian/dirs +++ pysol-4.82.1/debian/dirs @@ -0,0 +1,4 @@ +usr/games +usr/share/doc/pysol +usr/share/games/pysol +usr/share/man/man6 --- pysol-4.82.1.orig/debian/docs +++ pysol-4.82.1/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- pysol-4.82.1.orig/debian/pyversions +++ pysol-4.82.1/debian/pyversions @@ -0,0 +1 @@ +2.4- --- pysol-4.82.1.orig/debian/compat +++ pysol-4.82.1/debian/compat @@ -0,0 +1 @@ +4 --- pysol-4.82.1.orig/debian/pysol.desktop +++ pysol-4.82.1/debian/pysol.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Encoding=UTF-8 +Name=PySol +GenericName=Python Solitaire Suite +Comment=Collection of Solitaire style games +Comment[fr]=Ensemble de jeux de cartes type Solitaire +Icon=pysol +TryExec=pysol +Exec=pysol +Path=/usr/games +Terminal=false +Categories=Application;Game;CardGame; --- pysol-4.82.1.orig/debian/pysol-sounds.files +++ pysol-4.82.1/debian/pysol-sounds.files @@ -0,0 +1,2 @@ +usr/share/games/pysol/music +usr/share/games/pysol/sound --- pysol-4.82.1.orig/debian/copyright +++ pysol-4.82.1/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Rob Tillotson robt@debian.org on +Thu, 10 Sep 1998 22:17:50 -0500. + +It was downloaded from http://www.pysol.org/ + +Copyright: + +Copyright (C) 1998-2005 Markus Franz Xaver Johannes Oberhumer + +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 should have received a copy of the GNU General Public License +along with this program; see the file COPYING. +If not, write to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. + + +The PySol standard cardset was adapted from kdegames 1.0 (kpoker). + +Copyright (C) 1997 John Fitzgibbon +Copyright (C) 1997 Jochen Tuchbreiter +Copyright (C) 1998 Markus F.X.J. Oberhumer + +This cardset 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. + +On Debian GNU/Linux systems, a copy of the GPL can be found in the +file /usr/share/common-licenses/GPL. --- pysol-4.82.1.orig/debian/doc-base +++ pysol-4.82.1/debian/doc-base @@ -0,0 +1,11 @@ +Document: pysol +Title: PySol - Solitaire games in Python +Author: Markus F.X.J. Oberhumer +Abstract: PySol is a solitaire game written in the Python + language, with a nice Tk user interface, 163 distinct games, and many + convenience features. +Section: Games/Card + +Format: HTML +Index: /usr/share/doc/pysol/html/index.html +Files: /usr/share/doc/pysol/html/*.html --- pysol-4.82.1.orig/debian/pysol.menu +++ pysol-4.82.1/debian/pysol.menu @@ -0,0 +1,4 @@ +?package(pysol):needs="X11" section="Games/Card" \ + title="PySol" \ + command="/usr/games/pysol" \ + icon="/usr/share/games/pysol/pysol.xpm"