summaryrefslogtreecommitdiff
path: root/games/pysycache/files/patch-pysymove.py
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-01-27 15:34:18 +0000
committerRene Ladan <rene@FreeBSD.org>2020-01-27 15:34:18 +0000
commitaa2769119334a5045d38419995aca597ea24b1f1 (patch)
tree46f389d2a7bc016aa58737ba87b33fe1dfdfd3fe /games/pysycache/files/patch-pysymove.py
parentaudio/sonata: remove optional dependency on expired net/py-zsi (diff)
Remove expired ports:
2020-01-27 accessibility/py-papi: Unmaintained, uses EOLed python27 2020-01-27 archivers/py-czipfile: Unmaintained, uses EOLed python27 2020-01-27 audio/boodler: Unmaintained, uses EOLed python27 2020-01-27 audio/dir2ogg: Unmaintained, uses EOLed python27 2020-01-27 audio/jokosher: Unmaintained, uses EOLed python27 2020-01-27 audio/mpdbrowser: Unmaintained, uses EOLed python27 2020-01-27 audio/nekobee: Unmaintained, uses EOLed python27 2020-01-27 audio/patchage: Unmaintained, uses EOLed python27 2020-01-27 audio/py-ao: Unmaintained, uses EOLed python27 2020-01-27 audio/py-id3: Unmaintained, uses EOLed python27 2020-01-27 audio/py-shout: Unmaintained, uses EOLed python27 2020-01-27 audio/py-speex: Unmaintained, uses EOLed python27 2020-01-27 audio/pytone: Unmaintained, uses EOLed python27 2020-01-27 audio/solfege: Unmaintained, uses EOLed python27 2020-01-27 audio/trommler: Unmaintained, uses EOLed python27 2020-01-27 benchmarks/pybench: Unmaintained, uses EOLed python27 2020-01-27 biology/pycogent: Unmaintained, uses EOLed python27 2020-01-27 biology/unanimity: Unmaintained, uses EOLed python27 2020-01-27 cad/pythoncad: Unmaintained, uses EOLed python27 2020-01-27 chinese/bg5pdf: Unmaintained, uses EOLed python27 2020-01-27 comms/py-libimobiledevice: Unmaintained, uses EOLed python27 2020-01-27 converters/py-bcode: Unmaintained, uses EOLed python27 2020-01-27 converters/py-iconv: Unmaintained, uses EOLed python27 2020-01-27 converters/py-zfec: Unmaintained, uses EOLed python27 2020-01-27 databases/gadfly: Unmaintained, uses EOLed python27 2020-01-27 databases/metakit: Unmaintained, uses EOLed python27 2020-01-27 databases/openark-kit: Unmaintained, uses EOLed python27 2020-01-27 databases/py-MySQLdb55: Unmaintained, uses EOLed python27 2020-01-27 databases/py-MySQLdb56: Unmaintained, uses EOLed python27 2020-01-27 databases/py-forgetsql: Unmaintained, uses EOLed python27 2020-01-27 databases/py-oops: Unmaintained, uses EOLed python27 2020-01-27 databases/py-rrdtool_lgpl: Unmaintained, uses EOLed python27 2020-01-27 deskutils/conkyemail: No longer maintained by upstream 2020-01-27 deskutils/cycle: Unmaintained, uses EOLed python27 2020-01-27 deskutils/everygui: Unmaintained, uses EOLed python27 2020-01-27 deskutils/ganyremote: Unmaintained, uses EOLed python27 2020-01-27 deskutils/pypanel: Unmaintained, uses EOLed python27 2020-01-27 deskutils/taskcoach: Unmaintained, uses EOLed python27 2020-01-27 deskutils/tel: Unmaintained, uses EOLed python27 2020-01-27 deskutils/tnote: Unmaintained, uses EOLed python27 2020-01-27 deskutils/vnc2flv: Unmaintained, uses EOLed python27 2020-01-27 deskutils/wammu: Unmaintained, uses EOLed python27 2020-01-27 devel/bbfreeze: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-builder: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-colo: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-externals: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-git: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-gtk: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-loom: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-pipeline: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-rewrite: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-scmproj: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-stats: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-svn: Unmaintained, uses EOLed python27 2020-01-27 devel/bzr-upload: Unmaintained, uses EOLed python27 2020-01-27 devel/ditrack: Unmaintained, uses EOLed python27 2020-01-27 devel/drpython: Unmaintained, uses EOLed python27 2020-01-27 devel/epydoc: Unmaintained, uses EOLed python27 2020-01-27 devel/fb303: Unmaintained, uses EOLed python27 2020-01-27 devel/fnorb: Unmaintained, uses EOLed python27 2020-01-27 devel/gazpacho: Unmaintained, uses EOLed python27 2020-01-27 devel/libmpsse: Unmaintained, uses EOLed python27 2020-01-27 devel/open-usp-tukubai: Unmaintained, uses EOLed python27 2020-01-27 devel/phpbt: Unmaintained, uses EOLed python27 2020-01-27 devel/py-anonfunc: Unmaintained, uses EOLed python27 2020-01-27 devel/py-bison: Unmaintained, uses EOLed python27 2020-01-27 devel/py-fortran: Unmaintained, uses EOLed python27 2020-01-27 devel/py-grouch: Unmaintained, uses EOLed python27 2020-01-27 devel/py-mwlib.rl: Unmaintained, uses EOLed python27 2020-01-27 devel/py-nagioscheck: Unmaintained, uses EOLed python27 2020-01-27 devel/py-ncurses: Unmaintained, uses EOLed python27 2020-01-27 devel/py-ocempgui: Unmaintained, uses EOLed python27 2020-01-27 devel/py-palm: Unmaintained, uses EOLed python27 2020-01-27 devel/py-pyechonest: Unmaintained, uses EOLed python27 2020-01-27 devel/py-resourcepackage: Unmaintained, uses EOLed python27 2020-01-27 devel/py-rlcompleter2: Unmaintained, uses EOLed python27 2020-01-27 devel/py-spark: Unmaintained, uses EOLed python27 2020-01-27 devel/py-xoltar-toolkit: Unmaintained, uses EOLed python27 2020-01-27 devel/py-zkpython: Unmaintained, uses EOLed python27 2020-01-27 devel/pychecker: Unmaintained, uses EOLed python27 2020-01-27 devel/pymacs: Unmaintained, uses EOLed python27 2020-01-27 devel/trac-bitten: Unmaintained, uses EOLed python27 2020-01-27 devel/wxGlade: Unmaintained, uses EOLed python27 2020-01-27 emulators/catapult: Unmaintained, uses EOLed python27 2020-01-27 emulators/dynagui: Unmaintained, uses EOLed python27 2020-01-27 finance/mybudget: Unmaintained, uses EOLed python27 2020-01-27 finance/sabernetdcs-client: Unmaintained, uses EOLed python27 2020-01-27 games/4stattack: Unmaintained, uses EOLed python27 2020-01-27 games/barbie_seahorse_adventures: Unmaintained, uses EOLed python27 2020-01-27 games/battletanks: Unmaintained, uses EOLed python27 2020-01-27 games/bombz: Unmaintained, uses EOLed python27 2020-01-27 games/bouncy: Unmaintained, uses EOLed python27 2020-01-27 games/bubbros: Unmaintained, uses EOLed python27 2020-01-27 games/childsplay: Unmaintained, uses EOLed python27 2020-01-27 games/crossfire-server: Unmaintained, uses EOLed python27 2020-01-27 games/duckmaze: Unmaintained, uses EOLed python27 2020-01-27 games/farblazer: Unmaintained, uses EOLed python27 2020-01-27 games/gbottler: Unmaintained, uses EOLed python27 2020-01-27 games/glchess: Unmaintained, uses EOLed python27 2020-01-27 games/gretools: Unmaintained, uses EOLed python27 2020-01-27 games/kye: Unmaintained, uses EOLed python27 2020-01-27 games/liquidwar: Unmaintained, uses EOLed python27 2020-01-27 games/mopesnake: Unmaintained, uses EOLed python27 2020-01-27 games/nelly: Unmaintained, uses EOLed python27 2020-01-27 games/oneisenough: Unmaintained, uses EOLed python27 2020-01-27 games/ptkei: Unmaintained, uses EOLed python27 2020-01-27 games/py-poker-eval: Unmaintained, uses EOLed python27 2020-01-27 games/pycadia: Unmaintained, uses EOLed python27 2020-01-27 games/pydance: Unmaintained, uses EOLed python27 2020-01-27 games/pysycache: Unmaintained, uses EOLed python27 2020-01-27 games/pythonchess: Unmaintained, uses EOLed python27 2020-01-27 games/pytowerdefense: Unmaintained, uses EOLed python27 2020-01-27 games/rtb: Unmaintained, uses EOLed python27 2020-01-27 games/schiff: Unmaintained, uses EOLed python27 2020-01-27 games/schwarzweiss: Unmaintained, uses EOLed python27 2020-01-27 games/secrettower: Unmaintained, uses EOLed python27 2020-01-27 games/slune: Unmaintained, uses EOLed python27 2020-01-27 games/super_mario_bros_python: Unmaintained, uses EOLed python27 2020-01-27 games/tuxfighter: Unmaintained, uses EOLed python27 2020-01-27 games/twitch: Unmaintained, uses EOLed python27 2020-01-27 games/vegastrike: Unmaintained, uses EOLed python27 2020-01-27 games/zephulor: Unmaintained, uses EOLed python27 2020-01-27 graphics/boxer: Unmaintained, uses EOLed python27 2020-01-27 graphics/electrix: Unmaintained, uses EOLed python27 2020-01-27 graphics/exact-image: Unmaintained, uses EOLed python27 2020-01-27 graphics/gnofract4d: Unmaintained, uses EOLed python27 2020-01-27 graphics/gsculpt: Unmaintained, uses EOLed python27 2020-01-27 graphics/imgtops: Unmaintained, uses EOLed python27 2020-01-27 graphics/imgv: Unmaintained, uses EOLed python27 2020-01-27 graphics/lcms-python: Unmaintained, uses EOLed python27 2020-01-27 graphics/mirage: Unmaintained, uses EOLed python27 2020-01-27 graphics/partio: Unmaintained, uses EOLed python27 2020-01-27 graphics/py-exif: Unmaintained, uses EOLed python27 2020-01-27 graphics/py-gd: Unmaintained, uses EOLed python27 2020-01-27 graphics/py-paint: Unmaintained, uses EOLed python27 2020-01-27 graphics/pygts: Unmaintained, uses EOLed python27 2020-01-27 graphics/pysvg: Unmaintained, uses EOLed python27 2020-01-27 irc/py-supybot-plugins: Unmaintained, uses EOLed python27 2020-01-27 japanese/kana-no-quiz: Unmaintained, uses EOLed python27 2020-01-27 lang/py-prolog: Unmaintained, uses EOLed python27 2020-01-27 lang/sdcc: Unmaintained, uses EOLed python27 2020-01-27 mail/archivemail: Unmaintained, uses EOLed python27 2020-01-27 mail/mailfmt: Unmaintained, uses EOLed python27 2020-01-27 mail/py-libgmail: Unmaintained, uses EOLed python27 2020-01-27 mail/py-ppolicy: Unmaintained, uses EOLed python27 2020-01-27 mail/rss2email2: Unmaintained, uses EOLed python27 2020-01-27 mail/svnmailer: Unmaintained, uses EOLed python27 2020-01-27 math/biggles: Unmaintained, uses EOLed python27 2020-01-27 math/py-gato: Unmaintained, uses EOLed python27 2020-01-27 math/py-gnuplot: Unmaintained, uses EOLed python27 2020-01-27 math/py-mathdom: Unmaintained, uses EOLed python27 2020-01-27 math/py-probstat: Unmaintained, uses EOLed python27 2020-01-27 math/py-rpy: Unmaintained, uses EOLed python27 2020-01-27 misc/gnome-osd: Unmaintained, uses EOLed python27 2020-01-27 misc/gonvert: Unmaintained, uses EOLed python27 2020-01-27 misc/metalink-editor: Unmaintained, uses EOLed python27 2020-01-27 misc/py-YABT: Unmaintained, uses EOLed python27 2020-01-27 misc/xdg-menu: Unmaintained, uses EOLed python27 2020-01-27 multimedia/devede: Unmaintained, uses EOLed python27 2020-01-27 multimedia/gdvrecv: Unmaintained, uses EOLed python27 2020-01-27 multimedia/mmpython: Unmaintained, uses EOLed python27 2020-01-27 multimedia/pymp: Unmaintained, uses EOLed python27 2020-01-27 net/gtknetcat: Unmaintained, uses EOLed python27 2020-01-27 net/ntlmaps: Unmaintained, uses EOLed python27 2020-01-27 net/polyorb: Unmaintained, uses EOLed python27 2020-01-27 net/py-zsi: Unmaintained, uses EOLed python27 2020-01-27 net/pythondirector: Unmaintained, uses EOLed python27 2020-01-27 net/sippy_b2bua: Unmaintained, uses EOLed python27 2020-01-27 net-im/py-jabber: Unmaintained, uses EOLed python27 2020-01-27 net-im/py-jabberbot: Unmaintained, uses EOLed python27 2020-01-27 net-im/py-libturpial: Unmaintained, uses EOLed python27 2020-01-27 net-im/py-xmpppy-irc: Unmaintained, uses EOLed python27 2020-01-27 net-mgmt/pdagent-integrations: Unmaintained, uses EOLed python27 2020-01-27 net-p2p/tribler: Unmaintained, uses EOLed python27 2020-01-27 news/papercut: Unmaintained, uses EOLed python27 2020-01-27 print/pkipplib: Unmaintained, uses EOLed python27 2020-01-27 print/pkpgcounter: Unmaintained, uses EOLed python27 2020-01-27 print/ttfquery: Unmaintained, uses EOLed python27 2020-01-27 science/gwyddion: Unmaintained, uses EOLed python27 2020-01-27 science/psychopy: Unmaintained, uses EOLed python27 2020-01-27 science/py-hcluster: Unmaintained, uses EOLed python27 2020-01-27 science/py-pyteomics.biolccc: Unmaintained, uses EOLed python27 2020-01-27 science/pycdf: Unmaintained, uses EOLed python27 2020-01-27 security/blindelephant: Unmaintained, uses EOLed python27 2020-01-27 security/cfv: Unmaintained, uses EOLed python27 2020-01-27 security/fsh: Unmaintained, uses EOLed python27 2020-01-27 security/gcipher: Unmaintained, uses EOLed python27
Notes
Notes: svn path=/head/; revision=524263
Diffstat (limited to 'games/pysycache/files/patch-pysymove.py')
-rw-r--r--games/pysycache/files/patch-pysymove.py162
1 files changed, 0 insertions, 162 deletions
diff --git a/games/pysycache/files/patch-pysymove.py b/games/pysycache/files/patch-pysymove.py
deleted file mode 100644
index fb9d48eba473..000000000000
--- a/games/pysycache/files/patch-pysymove.py
+++ /dev/null
@@ -1,162 +0,0 @@
---- pysymove.py Wed Feb 15 17:23:28 2006
-+++ pysymove.py Mon Feb 27 00:02:12 2006
-@@ -134,7 +134,7 @@
-
- #chargement du dessin servant de cache
- filename = os.path.join(directory, 'cache', imgcache)
-- GCacheImage, background_rect = datas.load_image('themes-move', filename)
-+ GCacheImage, background_rect = datas.load_image('%%DATADIR%%/themes-move', filename)
-
- #on copie ce cache sur l'image de fond
- screen = pygame.display.get_surface()
-@@ -150,7 +150,7 @@
-
- #chargement du dessin a trouver
- filename = os.path.join(directory, imgdessous)
-- GImageATrouver, background_rect = datas.load_image('themes-move', filename)
-+ GImageATrouver, background_rect = datas.load_image('%%DATADIR%%/themes-move', filename)
-
- #redessin de la souris a sa position
- GMaSouris_position.left = const.GPosDepX
-@@ -193,15 +193,15 @@
- """ Change logo of a theme """
- if const.GIdxThemes == 999999:
- #tous les themes
-- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png')
- else:
- #un theme particulier
-- filename = os.path.join(const.GRepPysycache, 'themes-move', GLstThemesMove[const.GIdxThemes], 'logo.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes], 'logo.png')
-
- if os.path.isfile(filename) == True:
- imgtmp = pygame.image.load(filename)
- else:
-- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png')
- imgtmp = pygame.image.load(filename)
-
- #mise a jour de l'image du theme
-@@ -225,10 +225,10 @@
- def ChangeTypeJeu():
- """ Change mode of a theme """
- if const.GModeJeu == MODENORMAL:
-- filename = os.path.join(const.GRepPysycache, 'images', 'mode0.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'mode0.png')
- elif const.GModeJeu == MODEFANTOM:
-- filename = os.path.join(const.GRepPysycache, 'images', 'mode1.png')
-- else: filename = os.path.join(const.GRepPysycache, 'images', 'mode2.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'mode1.png')
-+ else: filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'mode2.png')
-
- if os.path.isfile(filename) == True:
- imgtmp = pygame.image.load(filename)
-@@ -253,7 +253,7 @@
- def LoadListImage(themename):
- """ Find all available pictures of a theme directory """
-
-- filtre = os.path.join(const.GRepPysycache, 'themes-move', themename, '*.dfg')
-+ filtre = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', themename, '*.dfg')
-
- #vider
- GLstImage[:] = []
-@@ -286,12 +286,12 @@
- if len(lig) == 0:
- continue
- #fichier de cache
-- nomcache = os.path.join(const.GRepPysycache, 'themes-move', themename, 'cache', lig[0])
-+ nomcache = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', themename, 'cache', lig[0])
- if os.path.isfile(nomcache):
- lstcache.append(lig[0])
-
- #fichier de son
-- nomcache = os.path.join('themes-move', themename, 'cache', lig[1])
-+ nomcache = os.path.join('%%DATADIR%%/themes-move', themename, 'cache', lig[1])
- lstsndcache.append(nomcache)
- else:
- print "error in definition file : cache file ", nomcache, " doesn't exist"
-@@ -356,7 +356,7 @@
- pygame.display.flip()
-
- #on joue la musique
-- datas.load_sound('sounds', 'fantom.wav')
-+ datas.load_sound('%%DATADIR%%/sounds', 'fantom.wav')
-
- break
- return 1
-@@ -401,7 +401,7 @@
- const.GNbCarreau = const.GNbCarreau - 1
-
- #on joue la musique
-- datas.load_sound('sounds', 'pop.ogg')
-+ datas.load_sound('%%DATADIR%%/sounds', 'pop.ogg')
-
- break
-
-@@ -483,11 +483,11 @@
- if const.GTailleCarreau == CARREAUSMALL + 1:
- const.GTailleCarreau = CARREAUBIG
- if const.GTailleCarreau == CARREAUBIG:
-- filename = os.path.join(const.GRepPysycache, 'images', 'btn-size1.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-size1.png')
- elif const.GTailleCarreau == CARREAUNORMAL:
-- filename = os.path.join(const.GRepPysycache, 'images', 'btn-size2.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-size2.png')
- else:
-- filename = os.path.join(const.GRepPysycache, 'images', 'btn-size3.png')
-+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-size3.png')
- imgtmp = pygame.image.load(filename)
-
- #mise a jour image taille carreau
-@@ -553,12 +553,12 @@
- # cursor = cursor[0], (cursor[0][0] / 2, cursor[0][1] / 2), cursor[2], cursor[3]
- # pygame.mouse.set_cursor(cursor[0], (0, 0), cursor[2], cursor[3])
-
-- filename = dirname = os.path.join(const.GRepPysycache, 'images', 'souris.png')
-+ filename = dirname = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris.png')
- GMaSouris = pygame.image.load(filename)
- GCarre_position = GMaSouris.get_rect()
-
- #------------------ transition vers le jeu ------------------------
-- Gbackground_image, background_rect = datas.load_image('images', 'fond-move.bmp')
-+ Gbackground_image, background_rect = datas.load_image('%%DATADIR%%/images', 'fond-move.bmp')
- for i in range(300):
- screen.blit(Gbackground_image, (0, i), (0, i, 800, 1))
- screen.blit(Gbackground_image, (0, 600 - i), (0, 600 - i, 800, 1))
-@@ -592,10 +592,10 @@
- GLstSndCache = []
-
- #---------------- rechercher les themes disponibles ----------------------
-- repertoire = os.path.join(const.GRepPysycache, 'themes-move')
-+ repertoire = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move')
- for nom in os.listdir(repertoire):
- #ne prendre que les repertoires
-- isrep = os.path.join(const.GRepPysycache, 'themes-move', nom)
-+ isrep = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', nom)
- if os.path.isdir(isrep):
- GLstThemesMove.append(nom)
- if len(GLstThemesMove) == 1 :
-@@ -653,11 +653,11 @@
- if const.GWithSound == 1:
- #on joue la musique de l'image
- (shortname, extension) = os.path.splitext(GLstImage[const.GIdxImage])
-- music = os.path.join(const.GRepPysycache, 'themes-move', GLstThemesMove[const.GIdxThemes], shortname + '.ogg')
-+ music = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes], shortname + '.ogg')
- if os.path.isfile(music) == True:
-- datas.load_sound(os.path.join('themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.ogg')
-+ datas.load_sound(os.path.join('%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.ogg')
- else:
-- datas.load_sound(os.path.join('themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.wav')
-+ datas.load_sound(os.path.join('%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.wav')
- pygame.time.wait(500)
-
- #attende de 2 secondes (pour faire voir l'image)
-@@ -666,7 +666,7 @@
- #----------------- on affiche l'image de gagne ---------------------
- datas.PlayWinnerSound()
-
-- imggagne, imgfin_rect = datas.load_png('images', 'gagne.png')
-+ imggagne, imgfin_rect = datas.load_png('%%DATADIR%%/images', 'gagne.png')
- screen.blit(imggagne, (100, 40))
- pygame.display.flip()
-