--- uligo-0.3.orig/uligo.py +++ uligo-0.3/uligo.py @@ -30,7 +30,7 @@ import tkFont import time import pickle -from whrandom import randint +from random import randint import os import sys from string import split @@ -204,7 +204,7 @@ try: f = open(os.path.join(self.path,self.filename)) s = f.readline(); - if s != 'uligo03\n': # this is a .dat file from uligo 0.1 or 0.2 + if s == 'uligo01\n': # this is a .dat file from uligo 0.1 or 0.2 f.seek(0) self.noOfPbms, self.pbmsAsked, self.noRight, self.noWrong, self.list = pickle.load(f) f.close() @@ -921,14 +921,15 @@ """ Save statistics and name of current database and exit the program. """ if self.pbmRec: self.pbmRec.saveToDisk() + filename = os.path.join(self.optionspath, 'uligo.def') try: - f = open(os.path.join(self.optionspath,'uligo.def'),'w') + f = open(os.path.join(filename),'w') f.write('uligo03\n') f.write('s '+self.sgfpath+'\n') if self.currentFile: f.write('f '+self.currentFile +'\n') f.close() except IOError: - showwarning('IOError', 'Could not write uligo.def') + showwarning('IOError', 'Could not write %s' % filename) self.saveOptions() self.frame.quit() @@ -1475,30 +1476,32 @@ def helpLicense(self): """ Display the GNU General Public License. """ - try: - t = 'uliGo was written by Ulrich Goertz (u@g0ertz.de).\n' - t = t + 'It is published under the GNU General Public License (see below). ' - t = t + 'In particular you may freely distribute it if you do not change the ' - t = t + 'copyright notices and include all the files that belong to uliGo.\n' - t = t + 'This program is distributed WITHOUT ANY WARRANTY!\n\n' - t = t + '------------------------------------------------------------------------\n\n' - file = open(os.path.join(self.uligopath, 'doc','license.txt')) + t = 'uliGo was written by Ulrich Goertz (u@g0ertz.de).\n' + t += 'It is published under the GNU General Public License (see below). ' + t += 'In particular you may freely distribute it if you do not change the ' + t += 'copyright notices and include all the files that belong to uliGo.\n' + t += 'This program is distributed WITHOUT ANY WARRANTY!\n\n' + gpldeb = os.path.join('/usr', 'share', 'common-licenses', 'GPL') + gpluli = os.path.join(self.uligopath, 'doc', 'license.txt') + if os.path.exists(gpldeb): file = open(gpldeb) + elif os.path.exists(gpluli): file = open(gpluli) + else: file = None + if file: + t += '------------------------------------------------------------------------\n\n' t = t + file.read() file.close() - except IOError: - t = 'uliGo was written by Ulrich Goertz (u@g0ertz.de).\n' - t = t + 'uliGo is published under the GNU General Public License. ' - t = t + 'See the file gpl.txt for more information. ' - t = t + 'The GPL is also available at http://www.gnu.org/copyleft/gpl.html\n' - t = t + 'This program is distributed WITHOUT ANY WARRANTY!\n\n' self.textWindow(t,'uliGo license') def helpDoc(self): """ Display the documentation. """ - - webbrowser.open('file:'+os.path.abspath(os.path.join(sys.path[0], 'doc', 'manual.html')), new=1) - + docdeb = os.path.join('/usr', 'share', 'doc', 'uligo', 'manual.html') + doculi = os.path.join(self.uligopath, 'manual.html') + if os.path.exists(docdeb): webbrowser.open('file:'+docdeb, new=1) + elif os.path.exists(doculi): webbrowser.open('file:'+doculi, new=1) + else: + showwarning('Manual not found', + "The uliGo manual could not be found at %s or %s. Please check your uliGo installation." % (docdeb, doculi)) def textWindow(self, t, title='', grab=1): """ Open a window and display the text in the string t. @@ -1775,7 +1778,7 @@ self.statisticsWindow.withdraw() self.statisticsWindow.title('Statistics') self.statisticsText = StringVar() - Label(self.statisticsWindow, height=10, width=50, justify=LEFT, font = ('Courier', 11), + Label(self.statisticsWindow, height=10, width=50, justify=LEFT, font = ('Courier', 12), textvariable=self.statisticsText).pack() self.statisticsWindow.protocol('WM_DELETE_WINDOW', self.statisticsWindow.withdraw) --- uligo-0.3.orig/board1.py +++ uligo-0.3/board1.py @@ -24,7 +24,7 @@ from Tkinter import * -from whrandom import randint +from random import randint import math import sys import os @@ -236,8 +236,8 @@ if PILinstalled: try: - self.blackStone = Image.open(os.path.join(gifpath, 'black.gif')) - self.whiteStone = Image.open(os.path.join(gifpath, 'white.gif')) + self.blackStone = Image.open(os.path.join(gifpath, 'black.gif')).convert('RGBA') + self.whiteStone = Image.open(os.path.join(gifpath, 'white.gif')).convert('RGBA') except IOError: PILinstalled = 0 --- uligo-0.3.orig/debian/docs +++ uligo-0.3/debian/docs @@ -0,0 +1,3 @@ +doc/*.gif +doc/manual.html +doc/readme.txt --- uligo-0.3.orig/debian/menu +++ uligo-0.3/debian/menu @@ -0,0 +1,3 @@ +?package(uligo):needs="X11" section="Games/Board"\ + icon="/usr/share/pixmaps/uligo-debian.xpm" title="uliGo"\ + command="/usr/games/uligo" --- uligo-0.3.orig/debian/uligo.6 +++ uligo-0.3/debian/uligo.6 @@ -0,0 +1,32 @@ +.TH uligo 6 "April 25th, 2003" +.SH NAME +uligo \- tsumego (go problems) practice tool +.SH SYNOPSIS +\fBuligo\fR +.SH DESCRIPTION +To get stronger at go, it is essential to develop one's reading ability. That +is why professionals recommend to study life and death or tesuji problems. +uliGo is a program that allows you to do that: basically, the computer +displays a problem, and asks for the answer. You enter the first move, the +computer responds, and so on until you reach the final solution or enter a +wrong move. +.SH USAGE +The basic operation of uliGo is simple. Click the right arrow to +view a problem, and then click where you think the right answer is. +The Documentation item in the Help menu contains the full documentation +for uliGo, such as configuring the timer or the order the tsumego are +displayed in. +.PP +By default, problems are presented in random order, with the colors and +orientation of the problem randomly chosen. +.SH FILES +.IP ~/.uligo +This directory stores information about how many problems you've solved, +and SGF files you've downloaded yourself. +.SH AUTHOR +Ulrich Goertz is the author of uliGo. Joe Wreschnig + wrote this manual page for the Debian operating +system, but it may be used by others. +.SH SEE ALSO +The uliGo website at http://www.u-go.net/uligo/ contains more (unclearly +licensed) problems sets that cannot be included with the Debian package. --- uligo-0.3.orig/debian/control +++ uligo-0.3/debian/control @@ -0,0 +1,24 @@ +Source: uligo +Section: games +Priority: optional +Maintainer: David Andel +Build-Depends-Indep: python, sharutils +Build-Depends: debhelper (>= 4.1.25) +Standards-Version: 3.7.3 + +Package: uligo +Architecture: all +Depends: python, python-tk +Suggests: python-imaging-tk, cgoban +Description: tsumego (go problems) practice tool + To get stronger at the game of go, it is essential to develop one's + reading ability. That is why professionals recommend study of life and + death or tesuji (local offensive positions) problems. uliGo is a program + that allows you to do that: the computer displays a problem, and asks for + the answer. You enter the first move, the computer responds, and so on + until you reach the final solution or enter a wrong move. + . + uliGo includes a stop clock, support for multiple solution paths, and + random color selection and board rotation (to avoid rote memorization). + It uses the standard SGF format for its problems, so you can easily + create your own using any SGF editor (such as CGoban). --- uligo-0.3.orig/debian/changelog +++ uligo-0.3/debian/changelog @@ -0,0 +1,71 @@ +uligo (0.3-6) unstable; urgency=low + + * uligo.py: font size in statistics increased + * uligo.py, board1.py: use module random instead of whrandom which is + deprecated and not in python2.5 (Patch from Ubuntu incorporated. Closes: + #457881) + * New maintainer. Closes: #388362 + * Conforms with latest Standards Version 3.7.3 + + -- David Andel Mon, 31 Dec 2007 13:46:10 +0100 + +uligo (0.3-5) unstable; urgency=low + + * QA upload. + * Set maintainer to QA Group; Orphaned: #388362 + * Move debhelper from B-D-I to B-D + * Add missing quotes to debian/menu (and rebuild + finally moves the menu file to from /usr/lib + to /usr/share) + * Conforms with latest Standards Version 3.7.2 + + -- Michael Ablassmeier Wed, 4 Oct 2006 10:20:17 +0200 + +uligo (0.3-4) unstable; urgency=low + + * Suggest python-imaging-tk. + * convert('RGBA') transparent images. (Closes: #212159) (thanks, mu) + + -- Joe Wreschnig Sun, 23 May 2004 12:01:27 -0500 + +uligo (0.3-3) unstable; urgency=low + + * Build-Depend on sharutils for uudecode. (Closes: #213945) + * Update S-V to 3.6.1. + + -- Joe Wreschnig Sat, 04 Oct 2003 04:01:21 -0500 + +uligo (0.3-2) unstable; urgency=low + + * Include an icon (Closes: #202261). + * Parse files generated by uliGo 0.2 correctly. (Closes: #208682) + + -- Joe Wreschnig Sat, 13 Sep 2003 16:50:19 -0500 + +uligo (0.3-1) unstable; urgency=low + + * New upstream version. (Closes: #207429) + * Remove notes about (no longer included) Sgflib from copyright file. + + -- Joe Wreschnig Tue, 02 Sep 2003 14:30:36 -0500 + +uligo (0.2-3) unstable; urgency=low + + * Remove call to dh_python so modules are not byte-compiled. + * Standards-Version 3.6.0. + + -- Joe Wreschnig Mon, 25 Aug 2003 23:58:31 -0500 + +uligo (0.2-2) unstable; urgency=low + + * Update manual page with information on problem sets. + * Remove the uligo-data-nonfree reference in suggests. + * Build-Depend on Python. (Closes: #190716) + + -- Joe Wreschnig Fri, 25 Apr 2003 10:46:53 -0500 + +uligo (0.2-1) unstable; urgency=low + + * Initial upload. (Closes: #181295) + + -- Joe Wreschnig Sun, 16 Feb 2003 03:38:17 -0600 --- uligo-0.3.orig/debian/uligo-debian.xpm +++ uligo-0.3/debian/uligo-debian.xpm @@ -0,0 +1,613 @@ +/* XPM */ +static char * uligo_debian_xpm[] = { +"32 32 578 2", +" c #A15E2B", +". c #A05E2A", +"+ c #703C1C", +"@ c #A55E2A", +"# c #9E5A29", +"$ c #945327", +"% c #65371B", +"& c #8A4E26", +"* c #7E4726", +"= c #764224", +"- c #5B331C", +"; c #7C4726", +"> c #804A27", +", c #7E4825", +"' c #63361C", +") c #975628", +"! c #9D5928", +"~ c #6C3C1D", +"{ c #9F5C2A", +"] c #9A5828", +"^ c #9C5827", +"/ c #703D1C", +"( c #9A5928", +"_ c #703E1E", +": c #9F5928", +"< c #68391C", +"[ c #8E5026", +"} c #8A4E27", +"| c #8B5028", +"1 c #6E3A1C", +"2 c #985528", +"3 c #925026", +"4 c #8B4C25", +"5 c #61371C", +"6 c #8C5228", +"7 c #915228", +"8 c #8F5027", +"9 c #66381C", +"0 c #905126", +"a c #905228", +"b c #925127", +"c c #64361C", +"d c #8C4E26", +"e c #935227", +"f c #985427", +"g c #66361B", +"h c #8E5128", +"i c #804825", +"j c #64361B", +"k c #7F4624", +"l c #854C26", +"m c #69391C", +"n c #945428", +"o c #65361A", +"p c #AE652C", +"q c #AC642C", +"r c #703E1D", +"s c #A8602B", +"t c #AB602A", +"u c #A65F2A", +"v c #6D3B1C", +"w c #935428", +"x c #A05D2B", +"y c #A05B29", +"z c #753F1C", +"A c #A7602C", +"B c #9A5829", +"C c #9F5A29", +"D c #743D1B", +"E c #A05828", +"F c #9E5627", +"G c #A65E29", +"H c #703C1D", +"I c #A55D2A", +"J c #AB622C", +"K c #AD642C", +"L c #723D1D", +"M c #AB662D", +"N c #713F1D", +"O c #A25C2A", +"P c #743F1C", +"Q c #9A5628", +"R c #74401E", +"S c #75411F", +"T c #5C3116", +"U c #7C441D", +"V c #79421E", +"W c #764421", +"X c #5A3017", +"Y c #764320", +"Z c #7A441F", +"` c #7D4420", +" . c #5D3318", +".. c #7E4720", +"+. c #7D461E", +"@. c #7A411D", +"#. c #562E16", +"$. c #713F1E", +"%. c #78421E", +"&. c #80451D", +"*. c #673314", +"=. c #78401B", +"-. c #79421D", +";. c #76401E", +">. c #5B3016", +",. c #6A391B", +"'. c #723F1E", +"). c #5B3118", +"!. c #77421E", +"~. c #5E3318", +"{. c #74411F", +"]. c #925228", +"^. c #A65E2A", +"/. c #B1662C", +"(. c #B4662C", +"_. c #7C431E", +":. c #B7692C", +"<. c #AD6029", +"[. c #B0622C", +"}. c #B3662F", +"|. c #B0642C", +"1. c #78421D", +"2. c #A65D2A", +"3. c #AB6029", +"4. c #A45B28", +"5. c #62361C", +"6. c #965226", +"7. c #773C19", +"8. c #8B4A24", +"9. c #894C26", +"0. c #743C1A", +"a. c #9E5727", +"b. c #80451E", +"c. c #B5672D", +"d. c #9D5829", +"e. c #A15626", +"f. c #7C421C", +"g. c #B3642B", +"h. c #B6672B", +"i. c #BC7030", +"j. c #7C4620", +"k. c #B2662D", +"l. c #9C5828", +"m. c #B1692E", +"n. c #7B4822", +"o. c #BB6E30", +"p. c #BA6D32", +"q. c #B66F31", +"r. c #6F3E1C", +"s. c #8C4F27", +"t. c #814724", +"u. c #7C4222", +"v. c #67371B", +"w. c #9D5627", +"x. c #804624", +"y. c #6C3718", +"z. c #824724", +"A. c #935328", +"B. c #783E1B", +"C. c #AA5D28", +"D. c #7E4821", +"E. c #BA6C2D", +"F. c #8E4E26", +"G. c #945126", +"H. c #763F1B", +"I. c #AA5E2A", +"J. c #AC622B", +"K. c #AE622A", +"L. c #BA6E2E", +"M. c #B86D2F", +"N. c #AF662D", +"O. c #75441F", +"P. c #AE692E", +"Q. c #B16C2F", +"R. c #A25F2C", +"S. c #9B5828", +"T. c #9E5928", +"U. c #AC5F29", +"V. c #78401D", +"W. c #A15828", +"X. c #874D26", +"Y. c #7C4323", +"Z. c #593019", +"`. c #763F22", +" + c #6E3A1B", +".+ c #9D5727", +"++ c #7D431C", +"@+ c #B6692D", +"#+ c #693B1C", +"$+ c #5F331B", +"%+ c #5A2F16", +"&+ c #7A461E", +"*+ c #79441E", +"=+ c #5B3117", +"-+ c #7A461F", +";+ c #643618", +">+ c #804821", +",+ c #7E4B22", +"'+ c #75411E", +")+ c #5A3117", +"!+ c #724521", +"~+ c #74401C", +"{+ c #7C411C", +"]+ c #7C411D", +"^+ c #7A421E", +"/+ c #613216", +"(+ c #76411F", +"_+ c #74401F", +":+ c #502915", +"<+ c #5D3217", +"[+ c #764520", +"}+ c #703F1D", +"|+ c #5E3116", +"1+ c #7D461F", +"2+ c #7D4820", +"3+ c #7D451E", +"4+ c #5E3218", +"5+ c #72401E", +"6+ c #74421E", +"7+ c #5E3619", +"8+ c #7C4922", +"9+ c #75421E", +"0+ c #603417", +"a+ c #7C4920", +"b+ c #703D1B", +"c+ c #5F3116", +"d+ c #76401D", +"e+ c #7B431E", +"f+ c #7C441F", +"g+ c #673617", +"h+ c #7E441E", +"i+ c #542C16", +"j+ c #6F3B1C", +"k+ c #613317", +"l+ c #7A4620", +"m+ c #B26C2F", +"n+ c #B0662C", +"o+ c #74411E", +"p+ c #AE642C", +"q+ c #B2672D", +"r+ c #AA622A", +"s+ c #6E3C1D", +"t+ c #502D14", +"u+ c #A95E2B", +"v+ c #6D3E1E", +"w+ c #7F4A20", +"x+ c #5C3818", +"y+ c #A75E2A", +"z+ c #865324", +"A+ c #5C3A19", +"B+ c #A9652D", +"C+ c #76421E", +"D+ c #5D3819", +"E+ c #B67232", +"F+ c #7A4821", +"G+ c #885224", +"H+ c #5B3719", +"I+ c #A9622C", +"J+ c #70401E", +"K+ c #A85E2A", +"L+ c #B0682E", +"M+ c #B26C31", +"N+ c #AC612C", +"O+ c #AB642C", +"P+ c #A15C29", +"Q+ c #743E1D", +"R+ c #0F0F0F", +"S+ c #000000", +"T+ c #512C14", +"U+ c #552F15", +"V+ c #723E1C", +"W+ c #533015", +"X+ c #7C441E", +"Y+ c #5E3C1A", +"Z+ c #824D22", +"`+ c #563316", +" @ c #7C4720", +".@ c #713E1D", +"+@ c #B46A2D", +"@@ c #BB7132", +"#@ c #784420", +"$@ c #B0652C", +"%@ c #B4672E", +"&@ c #7D431E", +"*@ c #29170A", +"=@ c #0A0A0A", +"-@ c #7E461F", +";@ c #6E3E1D", +">@ c #28180B", +",@ c #733F1D", +"'@ c #723D1C", +")@ c #26150A", +"!@ c #824B20", +"~@ c #834A20", +"{@ c #2E1C0D", +"]@ c #8C5323", +"^@ c #865124", +"/@ c #2E1B0B", +"(@ c #864E22", +"_@ c #7E4A21", +":@ c #B66B2E", +"<@ c #B0622B", +"[@ c #814A20", +"}@ c #875022", +"|@ c #683819", +"1@ c #844C20", +"2@ c #864A20", +"3@ c #874A1D", +"4@ c #673616", +"5@ c #7A421D", +"6@ c #79401C", +"7@ c #623316", +"8@ c #77401C", +"9@ c #7B451E", +"0@ c #79451E", +"a@ c #623416", +"b@ c #743E1C", +"c@ c #6F3919", +"d@ c #703A1A", +"e@ c #683414", +"f@ c #7B401C", +"g@ c #79411B", +"h@ c #7E431C", +"i@ c #6E3A16", +"j@ c #82481D", +"k@ c #81461E", +"l@ c #6A3B1A", +"m@ c #854E22", +"n@ c #80461D", +"o@ c #9F5C29", +"p@ c #9C5A2A", +"q@ c #6E3B1B", +"r@ c #5E341B", +"s@ c #422512", +"t@ c #844A26", +"u@ c #69381A", +"v@ c #91654A", +"w@ c #A5846E", +"x@ c #965024", +"y@ c #76401C", +"z@ c #A6704C", +"A@ c #AD8970", +"B@ c #9F5626", +"C@ c #723B1A", +"D@ c #9C6849", +"E@ c #A2826E", +"F@ c #844925", +"G@ c #8D644A", +"H@ c #9E8270", +"I@ c #834925", +"J@ c #6C391A", +"K@ c #9E6D4C", +"L@ c #AD8C72", +"M@ c #79411C", +"N@ c #653A1E", +"O@ c #391F11", +"P@ c #854B26", +"Q@ c #6B381A", +"R@ c #804725", +"S@ c #A15E2C", +"T@ c #905428", +"U@ c #6D391A", +"V@ c #422714", +"W@ c #713C1A", +"X@ c #C9C9C9", +"Y@ c #B7B7B7", +"Z@ c #A6856F", +"`@ c #74401D", +" # c #AA8970", +".# c #AF896F", +"+# c #7E461E", +"@# c #B18D71", +"## c #A98870", +"$# c #3E2413", +"%# c #713E1A", +"&# c #844C27", +"*# c #B86E30", +"=# c #BB7030", +"-# c #834E23", +";# c #301E0D", +"># c #8A5426", +",# c #844A1F", +"'# c #B7A394", +")# c #AA724C", +"!# c #6A3A1C", +"~# c #B09E92", +"{# c #A2704C", +"]# c #B1A094", +"^# c #AC744C", +"/# c #B6A394", +"(# c #B2784E", +"_# c #B8A796", +":# c #B77E50", +"<# c #844C21", +"[# c #30200E", +"}# c #8A5324", +"|# c #824A21", +"1# c #B96E2F", +"2# c #7B4620", +"3# c #7E4920", +"4# c #683A19", +"5# c #804C20", +"6# c #77441F", +"7# c #76411D", +"8# c #643617", +"9# c #7B441E", +"0# c #5E3016", +"a# c #77401D", +"b# c #6A391C", +"c# c #5D3319", +"d# c #7C4821", +"e# c #7E471F", +"f# c #5E3317", +"g# c #7D441E", +"h# c #653818", +"i# c #834E22", +"j# c #5E3217", +"k# c #7E471E", +"l# c #B67132", +"m# c #B97332", +"n# c #7B4A22", +"o# c #895625", +"p# c #76441E", +"q# c #AC7A4F", +"r# c #B28E72", +"s# c #B87232", +"t# c #72401D", +"u# c #7D4921", +"v# c #543015", +"w# c #AA602B", +"x# c #7E4A20", +"y# c #573015", +"z# c #A95E29", +"A# c #583416", +"B# c #A9602B", +"C# c #B07A50", +"D# c #B39073", +"E# c #7A4A22", +"F# c #8B5827", +"G# c #5D3A1A", +"H# c #B67231", +"I# c #78451F", +"J# c #AA652C", +"K# c #A65E2B", +"L# c #7B421C", +"M# c #512F15", +"N# c #B08E72", +"O# c #7C4820", +"P# c #5C3718", +"Q# c #593417", +"R# c #77431E", +"S# c #77411E", +"T# c #AE8B71", +"U# c #7C421D", +"V# c #563216", +"W# c #9E5B29", +"X# c #7D4424", +"Y# c #774022", +"Z# c #562D19", +"`# c #1A0D08", +" $ c #B6A294", +".$ c #9F6E4C", +"+$ c #241409", +"@$ c #855123", +"#$ c #76431F", +"$$ c #28160A", +"%$ c #8C5424", +"&$ c #78411C", +"*$ c #2C190B", +"=$ c #804820", +"-$ c #8E6249", +";$ c #592F19", +">$ c #1E1008", +",$ c #66391D", +"'$ c #B1622A", +")$ c #793E1A", +"!$ c #753E1B", +"~$ c #602F12", +"{$ c #623117", +"]$ c #603219", +"^$ c #69381B", +"/$ c #522C16", +"($ c #64381C", +"_$ c #5E331A", +":$ c #63371C", +"<$ c #552E17", +"[$ c #774420", +"}$ c #7C4A22", +"|$ c #7D4E24", +"1$ c #5B351A", +"2$ c #6C3A1C", +"3$ c #5B3218", +"4$ c #7F471F", +"5$ c #80441D", +"6$ c #80421C", +"7$ c #663415", +"8$ c #793D1A", +"9$ c #7A401C", +"0$ c #663314", +"a$ c #683518", +"b$ c #552C16", +"c$ c #874B25", +"d$ c #8B4B24", +"e$ c #452612", +"f$ c #904F26", +"g$ c #A36E4B", +"h$ c #AF8970", +"i$ c #AB612C", +"j$ c #A9612C", +"k$ c #AA612C", +"l$ c #A45C2B", +"m$ c #A6724D", +"n$ c #AE8A70", +"o$ c #B7682D", +"p$ c #7F441E", +"q$ c #B7692D", +"r$ c #B0632C", +"s$ c #723C1B", +"t$ c #A4714D", +"u$ c #A0826E", +"v$ c #6E3819", +"w$ c #723E1D", +"x$ c #4E2A13", +"y$ c #8E4F26", +"z$ c #65361B", +"A$ c #965327", +"B$ c #77411C", +"C$ c #502E14", +"D$ c #7C401B", +"E$ c #B08D71", +"F$ c #B2652C", +"G$ c #B76A2E", +"H$ c #BA6D2F", +"I$ c #7D451F", +"J$ c #B79073", +"K$ c #A45E2A", +"L$ c #B4662A", +"M$ c #B18C70", +"N$ c #6B3A1C", +"O$ c #512E15", +"P$ c #763F1C", +"Q$ c #A45A28", +"R$ c #AF672E", +"S$ c #AD662E", +"T$ c #77401E", +"U$ c #2B180B", +"V$ c #B2A094", +"W$ c #A36D4A", +"X$ c #753D1C", +"Y$ c #A05A29", +"Z$ c #A05C2C", +"`$ c #A45D2A", +" % c #AE9E93", +".% c #A16F4C", +"+% c #A35D2A", +"@% c #A8622B", +"#% c #744220", +"$% c #2A180A", +"%% c #7F4922", +"&% c #63361B", +"*% c #62331A", +"=% c #64361A", +"-% c #532A14", +";% c #6A381B", +">% c #4C2714", +",% c #683A1E", +"'% c #512B17", +")% c #68381C", +"!% c #6A3C1E", +"~% c #522E18", +"{% c #66391C", +"]% c #64371C", +"^% c #66391E", +"/% c #572E16", +"(% c #67371A", +"_% c #522A15", +":% c #64351A", +"<% c #522B15", +" . + @ # $ % & * = - ; > , ' & ) ! ~ { ] ^ / ( ) _ : @ # < [ ", +"} | 1 2 3 4 5 6 7 8 9 0 a b c d e f g h & i j k l } m n 2 3 o | ", +"p q r s t u v w x y z A B C D E F G H I J K L u M p N O s t P Q ", +"R S T U V W X Y Z ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.R ).!.U V ~.{.", +"].2 D ^./.(._.:.<.u %.[.}.|.1.2.3.4.5.3 n 6.7.8.9.].0.a.^./.b.c.", +"d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.3 x.y.z.A.d.B.C.g.h.D.E.", +"F.G.H.I.J.K.+.L.M.N.O.P.Q.R.9 S.T.U.V.W.X.Y.Z.`.t.F. +.+I.J.++@+", +"#+$+%+V &+*+=+R -+V ;+>+,+'+)+!+~ ~+*.{+]+^+/+(+_+#+:+,.V &+<+[+", +"].2 D ^./.(._.:.<.u %.[.}.|.1.2.3.4.5.3 n 6.7.8.9.].0.a.^./.b.c.",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5?)3HE +,>B1O(#PE.B4B?3L* +` +end --- uligo-0.3.orig/debian/dirs +++ uligo-0.3/debian/dirs @@ -0,0 +1,4 @@ +usr/games +usr/share/games/uligo +usr/share/games/uligo/sgf +usr/share/games/uligo/gifs --- uligo-0.3.orig/debian/copyright +++ uligo-0.3/debian/copyright @@ -0,0 +1,23 @@ +This package was debianized by Joe Wreschnig on +Sun, 16 Feb 2003 03:38:17 -0600. + +It was downloaded from http://www.u-go.net/uligo/ + +Upstream Author: Ulrich Goertz + +Copyright: + +uliGo itself is under the GNU GPL v2 or later, viewable in +/usr/share/common-licenses/GPL on Debian GNU/Linux systems. + +The problems contained in the package are either by the author himself, +or from classical collections (old enough to be in the public domain). + +Notes about tsumego copyright: +http://www.strategicgenomics.com/Jared/Go/go_copyright_usenet.txt and +http://www.strategicgenomics.com/Jared/Go/go_copyright_mail.txt +are discussions of copyright law and how it applies to game records in +the US, Japan, and UK. To summarize, any tsumego that is taken from an +actual played game is not copyrightable; any tsumego composed separate +from a game is copyrightable. Of course, there's little to no case law +in this area, so this is subject to change. --- uligo-0.3.orig/debian/rules +++ uligo-0.3/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch build-stamp + uudecode -o debian/uligo.png debian/uligo.png.uu + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp debian/uligo.png + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + install -m 755 -D uligo.py debian/uligo/usr/share/games/uligo/uligo.py + install -m 644 -D debian/uligo.png debian/uligo/usr/share/pixmaps/uligo.png + install -m 644 -D debian/uligo-debian.xpm debian/uligo/usr/share/pixmaps/uligo-debian.xpm + ln -s ../share/games/uligo/uligo.py debian/uligo/usr/games/uligo + cp debian/uligo.def debian/uligo/usr/share/games/uligo + cp gifs/*.gif debian/uligo/usr/share/games/uligo/gifs + cp sgf/*.sgf debian/uligo/usr/share/games/uligo/sgf + cp sgfparser.py clock.py board1.py uligo.app debian/uligo/usr/share/games/uligo + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installmenu + dh_installman debian/uligo.6 + dh_installchangelogs + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- uligo-0.3.orig/debian/uligo.def +++ uligo-0.3/debian/uligo.def @@ -0,0 +1,2 @@ +uligo03 +i /tmp --- uligo-0.3.orig/uligo.def +++ uligo-0.3/uligo.def @@ -0,0 +1,3 @@ +uligo03 +s /home/piman/projects/debian/uligo/new/uligo-0.3/sgf +f easy.sgf