FreeBSD Bugzilla – Attachment 62959 Details for
Bug 94003
[NEW PORT] games/pysycache: Educational software made in python
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
pysycache-2.0.shar
pysycache-2.0.shar (text/plain), 52.87 KB, created by
Jose Alonso Cardenas Marquez
on 2006-03-02 00:30:08 UTC
(
hide
)
Description:
pysycache-2.0.shar
Filename:
MIME Type:
Creator:
Jose Alonso Cardenas Marquez
Created:
2006-03-02 00:30:08 UTC
Size:
52.87 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># pysycache ># pysycache/pkg-descr ># pysycache/Makefile ># pysycache/pkg-plist ># pysycache/files ># pysycache/files/patch-datas.py ># pysycache/files/patch-datasclass.py ># pysycache/files/patch-pysybuttons.py ># pysycache/files/patch-pysyclick.py ># pysycache/files/patch-pysymove.py ># pysycache/files/patch-pysycache.py ># pysycache/files/pkg-message.in ># pysycache/distinfo ># >echo c - pysycache >mkdir -p pysycache > /dev/null 2>&1 >echo x - pysycache/pkg-descr >sed 's/^X//' >pysycache/pkg-descr << 'END-of-pysycache/pkg-descr' >XPysycache to teach children to move the mouse. For this, it offers three activities based on simply >Xobjects and a lot of photographies. >X >XWWW: http://www.pysycache.org/ >END-of-pysycache/pkg-descr >echo x - pysycache/Makefile >sed 's/^X//' >pysycache/Makefile << 'END-of-pysycache/Makefile' >X# New ports collection makefile for: pysycache >X# Date created: 2006-02-22 >X# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= pysycache >XPORTVERSION= 2.0 >XCATEGORIES= games python >XMASTER_SITES= http://download.gna.org/py4childs/${PORTNAME}/v${PORTVERSION}/ >XDIST_SUBDIR= ${PORTNAME} >X >XMAINTAINER= acardenas@bsd.org.pe >XCOMMENT= Educational software made in python >X >XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game >X >XUSE_ZIP= yes >XUSE_X_PREFIX= yes >XUSE_PYTHON= yes >XNO_BUILD= yes >X >XWRKSRC= ${WRKDIR}/${PORTNAME} >XSUB_FILES= pkg-message >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/datas.py ${WRKSRC}/datas.py \ >X ${WRKSRC}/datasclass.py ${WRKSRC}/pysybuttons.py ${WRKSRC}/pysyclick.py ${WRKSRC}/pysymove.py \ >X ${WRKSRC}/pysycache.py >X @${FIND} ${WRKSRC} -type d -name CVS -type d -print0 | ${XARGS} -0 ${RM} -R >X @${FIND} ${WRKSRC} -name '*.orig' -delete >X @${FIND} ${WRKSRC} -name '*.bak' -delete >X >Xdo-install: >X @${INSTALL_SCRIPT} ${WRKSRC}/pysycache.py ${PREFIX}/bin/pysycache.py >X @${RM} ${WRKSRC}/pysycache.py >X.for DIRE in fonts help images sounds themes-buttons themes-click themes-move >X @${MKDIR} ${DATADIR}/${DIRE} >X @cd ${WRKSRC}/${DIRE} && \ >X ${FIND} * -type d -exec ${MKDIR} "${DATADIR}/${DIRE}/{}" \; && \ >X ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/${DIRE}/{}" \; >X.endfor >X.for FILE in *.py *.pyc *.txt *.png >X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DATADIR} >X.endfor >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X.for FILE in AUTHORS ChangeLog NEWS README >X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} >X.endfor >X @cd ${WRKSRC}/doc/pysycache && \ >X ${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \ >X ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; >X.endif >X >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.mk> >END-of-pysycache/Makefile >echo x - pysycache/pkg-plist >sed 's/^X//' >pysycache/pkg-plist << 'END-of-pysycache/pkg-plist' >Xbin/pysycache.py >X%%DATADIR%%/const.py >X%%DATADIR%%/const.pyc >X%%DATADIR%%/credits.txt >X%%DATADIR%%/datas.py >X%%DATADIR%%/datas.pyc >X%%DATADIR%%/datasclass.py >X%%DATADIR%%/datasclass.pyc >X%%DATADIR%%/fonts/FreeSansBold.ttf >X%%DATADIR%%/help/en_EN/4.txt >X%%DATADIR%%/help/en_EN/3.txt >X%%DATADIR%%/help/en_EN/2.txt >X%%DATADIR%%/help/en_EN/1.txt >X%%DATADIR%%/help/fr_FR/4.txt >X%%DATADIR%%/help/fr_FR/1.txt >X%%DATADIR%%/help/fr_FR/2.txt >X%%DATADIR%%/help/fr_FR/3.txt >X%%DATADIR%%/help/fr_FR/1.ogg >X%%DATADIR%%/help/fr_FR/2.ogg >X%%DATADIR%%/help/fr_FR/3.ogg >X%%DATADIR%%/help/fr_FR/4.ogg >X%%DATADIR%%/help/it_IT/4.txt >X%%DATADIR%%/help/it_IT/3.txt >X%%DATADIR%%/help/it_IT/2.txt >X%%DATADIR%%/help/it_IT/1.txt >X%%DATADIR%%/help/de/4.txt >X%%DATADIR%%/help/de/3.txt >X%%DATADIR%%/help/de/2.txt >X%%DATADIR%%/help/de/1.txt >X%%DATADIR%%/help/es_ES/4.txt >X%%DATADIR%%/help/es_ES/3.txt >X%%DATADIR%%/help/es_ES/2.txt >X%%DATADIR%%/help/es_ES/1.txt >X%%DATADIR%%/help/pt_PT/4.txt >X%%DATADIR%%/help/pt_PT/3.txt >X%%DATADIR%%/help/pt_PT/2.txt >X%%DATADIR%%/help/pt_PT/1.txt >X%%DATADIR%%/images/btn-apres.png >X%%DATADIR%%/images/btn-avant.png >X%%DATADIR%%/images/fond-click.bmp >X%%DATADIR%%/images/btn-quitter.png >X%%DATADIR%%/images/btn-size1.png >X%%DATADIR%%/images/btn-size2.png >X%%DATADIR%%/images/btn-size3.png >X%%DATADIR%%/images/fond1.bmp >X%%DATADIR%%/images/fond2.bmp >X%%DATADIR%%/images/fond4.bmp >X%%DATADIR%%/images/gagne.png >X%%DATADIR%%/images/logo.png >X%%DATADIR%%/images/fond-menu.bmp >X%%DATADIR%%/images/souris.png >X%%DATADIR%%/images/fond-move.bmp >X%%DATADIR%%/images/mode0.png >X%%DATADIR%%/images/mode1.png >X%%DATADIR%%/images/mode2.png >X%%DATADIR%%/images/menu-click.png >X%%DATADIR%%/images/menu-move.png >X%%DATADIR%%/images/menu-quit.png >X%%DATADIR%%/images/souris0.png >X%%DATADIR%%/images/souris1.png >X%%DATADIR%%/images/vide-on.png >X%%DATADIR%%/images/vide-off.png >X%%DATADIR%%/images/menu-click1.png >X%%DATADIR%%/images/menu-move1.png >X%%DATADIR%%/images/menu-click (copie).png >X%%DATADIR%%/images/menu-button1.png >X%%DATADIR%%/images/menu-button.png >X%%DATADIR%%/images/menu-quitter.png >X%%DATADIR%%/images/menu-quitter1.png >X%%DATADIR%%/images/menu-son-33.png >X%%DATADIR%%/images/menu-son-331.png >X%%DATADIR%%/images/menu-son-66.png >X%%DATADIR%%/images/menu-son-00.png >X%%DATADIR%%/images/menu-son-001.png >X%%DATADIR%%/images/menu-son-661.png >X%%DATADIR%%/images/btn-vitesse3.png >X%%DATADIR%%/images/fond-buttons.bmp >X%%DATADIR%%/images/btn-vitesse2.png >X%%DATADIR%%/images/btn-vitesse1.png >X%%DATADIR%%/images/button-vide.png >X%%DATADIR%%/images/fond1 (copie).bmp >X%%DATADIR%%/pysybuttons.py >X%%DATADIR%%/pysybuttons.pyc >X%%DATADIR%%/pysycache.png >X%%DATADIR%%/pysyclick.py >X%%DATADIR%%/pysyclick.pyc >X%%DATADIR%%/pysymove.py >X%%DATADIR%%/pysymove.pyc >X%%DATADIR%%/sounds/youpee.ogg >X%%DATADIR%%/sounds/pop.ogg >X%%DATADIR%%/sounds/fantom.wav >X%%DATADIR%%/sounds/photo-beep0.ogg >X%%DATADIR%%/sounds/slide.wav >X%%DATADIR%%/sounds/btnmenu.wav >X%%DATADIR%%/sounds/beep.ogg >X%%DATADIR%%/sounds/otherimage.ogg >X%%DATADIR%%/sounds/yahoo.ogg >X%%DATADIR%%/sounds/rire.ogg >X%%DATADIR%%/sounds/center.ogg >X%%DATADIR%%/sounds/right.wav >X%%DATADIR%%/sounds/left.ogg >X%%DATADIR%%/sounds/photo-click.ogg >X%%DATADIR%%/sounds/photo-beep1.ogg >X%%DATADIR%%/themes-buttons/ice/01.png >X%%DATADIR%%/themes-buttons/ice/02.png >X%%DATADIR%%/themes-buttons/ice/fond01.bmp >X%%DATADIR%%/themes-buttons/ice/copyright.txt >X%%DATADIR%%/themes-buttons/ice/logo.png >X%%DATADIR%%/themes-buttons/ice/fond02.bmp >X%%DATADIR%%/themes-buttons/ice/sit02.dfg >X%%DATADIR%%/themes-buttons/ice/credits.txt >X%%DATADIR%%/themes-buttons/ice/sit01.dfg >X%%DATADIR%%/themes-buttons/wolf/logo.png >X%%DATADIR%%/themes-buttons/wolf/02.png >X%%DATADIR%%/themes-buttons/wolf/01.png >X%%DATADIR%%/themes-buttons/wolf/fond01.bmp >X%%DATADIR%%/themes-buttons/wolf/credits.txt >X%%DATADIR%%/themes-buttons/wolf/copyright.txt >X%%DATADIR%%/themes-buttons/wolf/fond02.bmp >X%%DATADIR%%/themes-buttons/wolf/sit01.dfg >X%%DATADIR%%/themes-buttons/wolf/sit02.dfg >X%%DATADIR%%/themes-click/dinosaurs/credits.txt >X%%DATADIR%%/themes-click/dinosaurs/a007.png >X%%DATADIR%%/themes-click/dinosaurs/0003.dfg >X%%DATADIR%%/themes-click/dinosaurs/a000-on.png >X%%DATADIR%%/themes-click/dinosaurs/a000-off.png >X%%DATADIR%%/themes-click/dinosaurs/a001-on.png >X%%DATADIR%%/themes-click/dinosaurs/a001-off.png >X%%DATADIR%%/themes-click/dinosaurs/a002-on.png >X%%DATADIR%%/themes-click/dinosaurs/a002-off.png >X%%DATADIR%%/themes-click/dinosaurs/a003-on.png >X%%DATADIR%%/themes-click/dinosaurs/a003-off.png >X%%DATADIR%%/themes-click/dinosaurs/a004-off.png >X%%DATADIR%%/themes-click/dinosaurs/a004-on.png >X%%DATADIR%%/themes-click/dinosaurs/a006-on.png >X%%DATADIR%%/themes-click/dinosaurs/a006-off.png >X%%DATADIR%%/themes-click/dinosaurs/a005-on.png >X%%DATADIR%%/themes-click/dinosaurs/a005-off.png >X%%DATADIR%%/themes-click/dinosaurs/a007-on.png >X%%DATADIR%%/themes-click/dinosaurs/a007-off.png >X%%DATADIR%%/themes-click/dinosaurs/a008.png >X%%DATADIR%%/themes-click/dinosaurs/a008-off.png >X%%DATADIR%%/themes-click/dinosaurs/a008-on.png >X%%DATADIR%%/themes-click/dinosaurs/0002.dfg >X%%DATADIR%%/themes-click/dinosaurs/0001.dfg >X%%DATADIR%%/themes-click/dinosaurs/a000.png >X%%DATADIR%%/themes-click/dinosaurs/a001.png >X%%DATADIR%%/themes-click/dinosaurs/a002.png >X%%DATADIR%%/themes-click/dinosaurs/a003.png >X%%DATADIR%%/themes-click/dinosaurs/a004.png >X%%DATADIR%%/themes-click/dinosaurs/a005.png >X%%DATADIR%%/themes-click/dinosaurs/a006.png >X%%DATADIR%%/themes-click/dinosaurs/logo.png >X%%DATADIR%%/themes-click/dinosaurs/fond.bmp >X%%DATADIR%%/themes-click/dinosaurs/copyright.txt >X%%DATADIR%%/themes-move/number-en/1000.dfg >X%%DATADIR%%/themes-move/number-en/cache/0801.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0901.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0101.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0601.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0701.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0702.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0402.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0700.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0800.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0300.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0400.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0900.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0401.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0501.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0100.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0200.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0500.jpeg >X%%DATADIR%%/themes-move/number-en/cache/1000.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0600.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0201.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0301.jpeg >X%%DATADIR%%/themes-move/number-en/cache/1001.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0902.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0602.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0502.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0102.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0302.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0202.jpeg >X%%DATADIR%%/themes-move/number-en/cache/0802.jpeg >X%%DATADIR%%/themes-move/number-en/0900.dfg >X%%DATADIR%%/themes-move/number-en/0800.dfg >X%%DATADIR%%/themes-move/number-en/0700.dfg >X%%DATADIR%%/themes-move/number-en/0600.dfg >X%%DATADIR%%/themes-move/number-en/0500.dfg >X%%DATADIR%%/themes-move/number-en/0400.dfg >X%%DATADIR%%/themes-move/number-en/0300.dfg >X%%DATADIR%%/themes-move/number-en/0200.dfg >X%%DATADIR%%/themes-move/number-en/0100.dfg >X%%DATADIR%%/themes-move/number-en/0700.jpeg >X%%DATADIR%%/themes-move/number-en/0600.jpeg >X%%DATADIR%%/themes-move/number-en/0800.jpeg >X%%DATADIR%%/themes-move/number-en/1000.ogg >X%%DATADIR%%/themes-move/number-en/0900.ogg >X%%DATADIR%%/themes-move/number-en/0800.ogg >X%%DATADIR%%/themes-move/number-en/0700.ogg >X%%DATADIR%%/themes-move/number-en/0600.ogg >X%%DATADIR%%/themes-move/number-en/0500.ogg >X%%DATADIR%%/themes-move/number-en/0400.ogg >X%%DATADIR%%/themes-move/number-en/0300.ogg >X%%DATADIR%%/themes-move/number-en/0200.ogg >X%%DATADIR%%/themes-move/number-en/0100.ogg >X%%DATADIR%%/themes-move/number-en/logo.png >X%%DATADIR%%/themes-move/number-en/0200.jpeg >X%%DATADIR%%/themes-move/number-en/0300.jpeg >X%%DATADIR%%/themes-move/number-en/0400.jpeg >X%%DATADIR%%/themes-move/number-en/0500.jpeg >X%%DATADIR%%/themes-move/number-en/0100.jpeg >X%%DATADIR%%/themes-move/number-en/0900.jpeg >X%%DATADIR%%/themes-move/number-en/1000.jpeg >X%%DATADIR%%/themes-move/number-en/credits.txt >X%%DATADIR%%/themes-move/number-en/copyright.txt >X%%DATADIR%%/themes-move/number-en/0901.jpeg >X%%DATADIR%%/themes-move/number-en/0901.dfg >X%%DATADIR%%/themes-move/number-en/0801.jpeg >X%%DATADIR%%/themes-move/number-en/0801.dfg >X%%DATADIR%%/themes-move/number-en/0701.jpeg >X%%DATADIR%%/themes-move/number-en/0701.dfg >X%%DATADIR%%/themes-move/number-en/0601.jpeg >X%%DATADIR%%/themes-move/number-en/0601.dfg >X%%DATADIR%%/themes-move/number-en/0501.jpeg >X%%DATADIR%%/themes-move/number-en/0501.dfg >X%%DATADIR%%/themes-move/number-en/0401.jpeg >X%%DATADIR%%/themes-move/number-en/0401.dfg >X%%DATADIR%%/themes-move/number-en/0301.jpeg >X%%DATADIR%%/themes-move/number-en/0301.dfg >X%%DATADIR%%/themes-move/number-en/0201.jpeg >X%%DATADIR%%/themes-move/number-en/0201.dfg >X%%DATADIR%%/themes-move/number-en/0101.jpeg >X%%DATADIR%%/themes-move/number-en/0101.dfg >X%%DATADIR%%/themes-move/number-en/0201.ogg >X%%DATADIR%%/themes-move/number-en/0301.ogg >X%%DATADIR%%/themes-move/number-en/0401.ogg >X%%DATADIR%%/themes-move/number-en/0501.ogg >X%%DATADIR%%/themes-move/number-en/0601.ogg >X%%DATADIR%%/themes-move/number-en/0701.ogg >X%%DATADIR%%/themes-move/number-en/0801.ogg >X%%DATADIR%%/themes-move/number-en/0901.ogg >X%%DATADIR%%/themes-move/number-en/0101.ogg >X%%DATADIR%%/themes-move/alphabet-en/n000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/n000.dfg >X%%DATADIR%%/themes-move/alphabet-en/credits.txt >X%%DATADIR%%/themes-move/alphabet-en/copyright.txt >X%%DATADIR%%/themes-move/alphabet-en/o000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/y000.dfg >X%%DATADIR%%/themes-move/alphabet-en/o000.dfg >X%%DATADIR%%/themes-move/alphabet-en/x000.dfg >X%%DATADIR%%/themes-move/alphabet-en/q000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/q000.dfg >X%%DATADIR%%/themes-move/alphabet-en/y000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/v000.dfg >X%%DATADIR%%/themes-move/alphabet-en/logo.png >X%%DATADIR%%/themes-move/alphabet-en/x000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/i.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/b.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/d.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/t.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/o.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/n.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/k.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/a.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/e.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/r.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/x.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/f.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/c.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/w.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/v.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/y.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/m.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/g.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/p.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/z.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/h.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/j.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/cache-avion.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/q.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/l.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/s.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/u.jpeg >X%%DATADIR%%/themes-move/alphabet-en/cache/z.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/y.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/x.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/w.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/v.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/u.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/t.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/s.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/r.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/q.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/p.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/o.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/n.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/m.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/l.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/k.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/j.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/i.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/h.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/g.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/f.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/e.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/d.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/c.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/b.ogg >X%%DATADIR%%/themes-move/alphabet-en/cache/a.ogg >X%%DATADIR%%/themes-move/alphabet-en/v000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/u000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/u000.dfg >X%%DATADIR%%/themes-move/alphabet-en/t000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/t000.dfg >X%%DATADIR%%/themes-move/alphabet-en/s000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/p002.jpeg >X%%DATADIR%%/themes-move/alphabet-en/p002.dfg >X%%DATADIR%%/themes-move/alphabet-en/p001.jpeg >X%%DATADIR%%/themes-move/alphabet-en/p001.dfg >X%%DATADIR%%/themes-move/alphabet-en/p000.dfg >X%%DATADIR%%/themes-move/alphabet-en/p000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/m000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/m000.dfg >X%%DATADIR%%/themes-move/alphabet-en/l000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/l000.dfg >X%%DATADIR%%/themes-move/alphabet-en/k000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/k000.dfg >X%%DATADIR%%/themes-move/alphabet-en/j000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/j000.dfg >X%%DATADIR%%/themes-move/alphabet-en/i000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/i000.dfg >X%%DATADIR%%/themes-move/alphabet-en/h000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/h000.dfg >X%%DATADIR%%/themes-move/alphabet-en/r000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/g000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/g000.dfg >X%%DATADIR%%/themes-move/alphabet-en/f000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/f000.dfg >X%%DATADIR%%/themes-move/alphabet-en/e000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/e000.dfg >X%%DATADIR%%/themes-move/alphabet-en/d000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/d000.dfg >X%%DATADIR%%/themes-move/alphabet-en/c003.jpeg >X%%DATADIR%%/themes-move/alphabet-en/a000.dfg >X%%DATADIR%%/themes-move/alphabet-en/r000.dfg >X%%DATADIR%%/themes-move/alphabet-en/c003.dfg >X%%DATADIR%%/themes-move/alphabet-en/c002.jpeg >X%%DATADIR%%/themes-move/alphabet-en/c002.dfg >X%%DATADIR%%/themes-move/alphabet-en/c001.jpeg >X%%DATADIR%%/themes-move/alphabet-en/c001.dfg >X%%DATADIR%%/themes-move/alphabet-en/c000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/c000.dfg >X%%DATADIR%%/themes-move/alphabet-en/b000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/b000.dfg >X%%DATADIR%%/themes-move/alphabet-en/a000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/s000.dfg >X%%DATADIR%%/themes-move/alphabet-en/t000.wav >X%%DATADIR%%/themes-move/alphabet-en/z000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/z000.dfg >X%%DATADIR%%/themes-move/alphabet-en/w000.jpeg >X%%DATADIR%%/themes-move/alphabet-en/w000.dfg >X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog >X%%PORTDOCS%%%%DOCSDIR%%/NEWS >X%%PORTDOCS%%%%DOCSDIR%%/README >X%%PORTDOCS%%%%DOCSDIR%%/colors.png >X%%PORTDOCS%%%%DOCSDIR%%/en/regles.html >X%%PORTDOCS%%%%DOCSDIR%%/en/faq.html >X%%PORTDOCS%%%%DOCSDIR%%/fr/regles.html >X%%PORTDOCS%%%%DOCSDIR%%/fr/faq.html >X%%PORTDOCS%%%%DOCSDIR%%/images/nvtheme.jpeg >X%%PORTDOCS%%%%DOCSDIR%%/images/faq.png >X%%PORTDOCS%%%%DOCSDIR%%/images/regles.png >X%%PORTDOCS%%%%DOCSDIR%%/images/regles/regle3.jpg >X%%PORTDOCS%%%%DOCSDIR%%/images/regles/regle2.jpg >X%%PORTDOCS%%%%DOCSDIR%%/images/regles/regle1.jpg >X%%PORTDOCS%%%%DOCSDIR%%/images/menu-move.png >X%%PORTDOCS%%%%DOCSDIR%%/images/faq/theme3.jpeg >X%%PORTDOCS%%%%DOCSDIR%%/images/faq/nvtheme.jpeg >X%%PORTDOCS%%%%DOCSDIR%%/images/faq/trad.jpeg >X%%PORTDOCS%%%%DOCSDIR%%/images/faq/nvtheme2.jpeg >X%%PORTDOCS%%%%DOCSDIR%%/images/faq/nvtheme3.jpeg >X%%PORTDOCS%%%%DOCSDIR%%/images/menu-click.png >X%%PORTDOCS%%%%DOCSDIR%%/images/menu-button.png >X%%PORTDOCS%%%%DOCSDIR%%/images/souris1.png >X%%PORTDOCS%%%%DOCSDIR%%/images/souris0.png >X%%PORTDOCS%%%%DOCSDIR%%/images/vide-on.png >X%%PORTDOCS%%%%DOCSDIR%%/images/vide-off.png >X%%PORTDOCS%%%%DOCSDIR%%/images/mode2.png >X%%PORTDOCS%%%%DOCSDIR%%/images/mode0.png >X%%PORTDOCS%%%%DOCSDIR%%/images/ptfond.gif >X%%PORTDOCS%%%%DOCSDIR%%/masque-button-theme.png >X%%PORTDOCS%%%%DOCSDIR%%/masque-image-alphabet.png >X%%PORTDOCS%%%%DOCSDIR%%/masque-image-clair.png >X%%PORTDOCS%%%%DOCSDIR%%/masque-image-fonce.png >X%%PORTDOCS%%%%DOCSDIR%%/masque-image-vide.png >X%%PORTDOCS%%%%DOCSDIR%%/modele-chiffre1.sxd >X%%PORTDOCS%%%%DOCSDIR%%/style.css >X%%PORTDOCS%%%%DOCSDIR%%/xxxx-off.png >X%%PORTDOCS%%%%DOCSDIR%%/xxxx-on.png >X@dirrm %%DATADIR%%/fonts >X@dirrm %%DATADIR%%/help/en_EN >X@dirrm %%DATADIR%%/help/fr_FR >X@dirrm %%DATADIR%%/help/it_IT >X@dirrm %%DATADIR%%/help/de >X@dirrm %%DATADIR%%/help/es_ES >X@dirrm %%DATADIR%%/help/pt_PT >X@dirrm %%DATADIR%%/help >X@dirrm %%DATADIR%%/images >X@dirrm %%DATADIR%%/sounds >X@dirrm %%DATADIR%%/themes-buttons/ice >X@dirrm %%DATADIR%%/themes-buttons/wolf >X@dirrm %%DATADIR%%/themes-buttons >X@dirrm %%DATADIR%%/themes-click/dinosaurs >X@dirrm %%DATADIR%%/themes-click >X@dirrm %%DATADIR%%/themes-move/number-en/cache >X@dirrm %%DATADIR%%/themes-move/number-en >X@dirrm %%DATADIR%%/themes-move/alphabet-en/cache >X@dirrm %%DATADIR%%/themes-move/alphabet-en >X@dirrm %%DATADIR%%/themes-move >X@dirrm %%DATADIR%% >X%%PORTDOCS%%@dirrm %%DOCSDIR%%/en >X%%PORTDOCS%%@dirrm %%DOCSDIR%%/fr >X%%PORTDOCS%%@dirrm %%DOCSDIR%%/images/regles >X%%PORTDOCS%%@dirrm %%DOCSDIR%%/images/faq >X%%PORTDOCS%%@dirrm %%DOCSDIR%%/images >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >END-of-pysycache/pkg-plist >echo c - pysycache/files >mkdir -p pysycache/files > /dev/null 2>&1 >echo x - pysycache/files/patch-datas.py >sed 's/^X//' >pysycache/files/patch-datas.py << 'END-of-pysycache/files/patch-datas.py' >X--- /home/acardenas/pysycache/datas.py Wed Feb 15 17:23:27 2006 >X+++ datas.py Sun Feb 26 23:20:02 2006 >X@@ -34,7 +34,7 @@ >X from pygame.locals import * >X import const >X >X- >X+sys.path.append("%%DATADIR%%") >X >X #******************************************************************************* >X # # >X@@ -135,11 +135,11 @@ >X def PlayWinnerSound(): >X idxsnd = random.randint(0, 2) >X if idxsnd == 0 : >X- load_sound('sounds', 'youpee.ogg') >X+ load_sound('%%DATADIR%%/sounds', 'youpee.ogg') >X elif idxsnd == 1 : >X- load_sound('sounds', 'yahoo.ogg') >X+ load_sound('%%DATADIR%%/sounds', 'yahoo.ogg') >X else : >X- load_sound('sounds', 'rire.ogg') >X+ load_sound('%%DATADIR%%/sounds', 'rire.ogg') >X >X >X >X@@ -150,7 +150,7 @@ >X def ShowTransitionOfTheme(duree, fileimage): >X screen = pygame.display.get_surface() >X >X- background_image2, background_rect = load_image('images', fileimage) >X+ background_image2, background_rect = load_image('%%DATADIR%%/images', fileimage) >X for i in range(267): >X screen.blit(background_image2, (0, i), (0, i, 710, 1)) >X screen.blit(background_image2, (0, 534 - i), (0, 534 - i, 710, 1)) >END-of-pysycache/files/patch-datas.py >echo x - pysycache/files/patch-datasclass.py >sed 's/^X//' >pysycache/files/patch-datasclass.py << 'END-of-pysycache/files/patch-datasclass.py' >X--- datasclass.py Wed Feb 15 17:23:27 2006 >X+++ datasclass.py Sun Feb 26 23:20:53 2006 >X@@ -43,7 +43,7 @@ >X """This class is for the menus buttons""" >X def __init__(self, left, top, filename, id, btnlarg, btnhaut): >X pygame.sprite.Sprite.__init__(self) #call Sprite intializer >X- self.image, self.rect = datas.load_png('images', filename) >X+ self.image, self.rect = datas.load_png('%%DATADIR%%/images', filename) >X (shortname, extension) = os.path.splitext(filename) >X self.imagename = shortname >X self.rect.left = left >X@@ -53,27 +53,27 @@ >X self.hauteur = btnhaut >X >X def showhelp(self, imgdest): >X- myfont = os.path.join(const.GRepPysycache, 'fonts', 'FreeSansBold.ttf' ) >X+ myfont = os.path.join(const.GRepPysycache, '%%DATADIR%%/fonts', 'FreeSansBold.ttf' ) >X font = pygame.font.Font(myfont, 20) >X textcolor = 46, 113, 169 >X screen = pygame.display.get_surface() >X >X- myrep = os.path.join(const.GRepPysycache, 'help', const.GMyLocale ) >X+ myrep = os.path.join(const.GRepPysycache, '%%DATADIR%%/help', const.GMyLocale ) >X >X #joue le fichier d'aide >X if const.GWithSound == 1: >X if const.GWithHelp == 1 : >X- dirname = os.path.join('help', const.GMyLocale) >X+ dirname = os.path.join('%%DATADIR%%/help', const.GMyLocale) >X filename = str(self.id) + '.ogg' >X datas.load_sound(dirname, filename) >X >X #affiche l'aide >X if os.path.isdir(myrep): >X- filename = os.path.join(const.GRepPysycache, 'help', const.GMyLocale , str(self.id) + '.txt') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/help', const.GMyLocale , str(self.id) + '.txt') >X else : >X- filename = os.path.join(const.GRepPysycache, 'help', 'en_EN' , str(self.id) + '.txt') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/help', 'en_EN' , str(self.id) + '.txt') >X >X- filename = os.path.join(const.GRepPysycache, 'help', const.GMyLocale , str(self.id) + '.txt') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/help', const.GMyLocale , str(self.id) + '.txt') >X if os.path.isfile(filename): >X f = open(filename, 'r') >X lignes = f.readlines() >END-of-pysycache/files/patch-datasclass.py >echo x - pysycache/files/patch-pysybuttons.py >sed 's/^X//' >pysycache/files/patch-pysybuttons.py << 'END-of-pysycache/files/patch-pysybuttons.py' >X--- pysybuttons.py Wed Feb 15 17:23:28 2006 >X+++ pysybuttons.py Sun Feb 26 23:48:29 2006 >X@@ -58,7 +58,7 @@ >X """This class is for the elements that move""" >X def __init__(self, left, top, filename, id, categ): >X pygame.sprite.Sprite.__init__(self) #call Sprite intializer >X- dirname = os.path.join(const.GRepPysycache, 'themes-buttons', GLstThemesButtons[const.GIdxThemes]) >X+ dirname = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-buttons', GLstThemesButtons[const.GIdxThemes]) >X self.image, self.rect = datas.load_png(dirname, filename) >X self.id = id >X self.largeur = 96 >X@@ -188,7 +188,7 @@ >X #chargement du dessin servant de cache >X filename = os.path.join(themename, lig) >X imgfilename = lig >X- ImgFond, background_rect = datas.load_image('themes-buttons', filename ) >X+ ImgFond, background_rect = datas.load_image('%%DATADIR%%/themes-buttons', filename ) >X >X #on copie ce cache sur l'image de fond >X screen = pygame.display.get_surface() >X@@ -268,7 +268,7 @@ >X def LoadListConfigFile(themename): >X """ Find all available pictures of a theme directory """ >X >X- filtre = os.path.join(const.GRepPysycache, 'themes-buttons', themename, '*.dfg') >X+ filtre = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-buttons', themename, '*.dfg') >X >X #vider >X # GLstImage[:] = [] >X@@ -301,15 +301,15 @@ >X """ Change logo of a theme """ >X if const.GIdxThemes == 999999: >X #tous les themes >X- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png') >X else: >X #un theme particulier >X- filename = os.path.join(const.GRepPysycache, 'themes-buttons', GLstThemesButtons[const.GIdxThemes], 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-buttons', GLstThemesButtons[const.GIdxThemes], 'logo.png') >X >X if os.path.isfile(filename) == True: >X imgtmp = pygame.image.load(filename) >X else: >X- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png') >X imgtmp = pygame.image.load(filename) >X >X #mise a jour de l'image du theme >X@@ -393,7 +393,7 @@ >X if objtrouve.rect.left <= GLimFinG: >X objtrouve.visible = 0 >X >X- filename = os.path.join(const.GRepPysycache, 'images', 'button-vide.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'button-vide.png') >X imgtmp = pygame.image.load(filename) >X screen = pygame.display.get_surface() >X objtrouve.image.blit(imgtmp, (0, 0), (0, 0, objtrouve.largeur, objtrouve.hauteur)) >X@@ -409,11 +409,11 @@ >X >X elif str[1] == 1: >X #-------- on change le mvt : haut <--> bas ----------------- >X- datas.load_sound('sounds', 'center.ogg') >X+ datas.load_sound('%%DATADIR%%/sounds', 'center.ogg') >X objtrouve.sens = -1 * objtrouve.sens >X elif str[2] == 1: >X #-------------------- a droite ----------------------------- >X- datas.load_sound('sounds', 'right.wav') >X+ datas.load_sound('%%DATADIR%%/sounds', 'right.wav') >X ok = 1 >X >X if GLimDroite <= objtrouve.rect.left + 50 + objtrouve.largeur : >X@@ -427,7 +427,7 @@ >X if objtrouve.rect.left + objtrouve.largeur >= GLimFinD: >X objtrouve.visible = 0 >X >X- filename = os.path.join(const.GRepPysycache, 'images', 'button-vide.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'button-vide.png') >X imgtmp = pygame.image.load(filename) >X >X screen = pygame.display.get_surface() >X@@ -464,13 +464,13 @@ >X #change la vitesse du jeu (normal/moyenne/rapide) >X if const.GSpeed == 3: >X const.GSpeed = 2 >X- filename = os.path.join(const.GRepPysycache, 'images', 'btn-vitesse2.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-vitesse2.png') >X elif const.GSpeed == 2: >X const.GSpeed = 1 >X- filename = os.path.join(const.GRepPysycache, 'images', 'btn-vitesse1.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-vitesse1.png') >X elif const.GSpeed == 1: >X const.GSpeed = 3 >X- filename = os.path.join(const.GRepPysycache, 'images', 'btn-vitesse3.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-vitesse3.png') >X imgtmp = pygame.image.load(filename) >X >X #mise a jour image >X@@ -568,7 +568,7 @@ >X # cursor = cursor[0], (cursor[0][0] / 2, cursor[0][1] / 2), cursor[2], cursor[3] >X # pygame.mouse.set_cursor(cursor[0], (0, 0), cursor[2], cursor[3]) >X >X- filename = dirname = os.path.join(const.GRepPysycache, 'images', 'souris.png') >X+ filename = dirname = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris.png') >X GMaSouris = pygame.image.load(filename) >X GMaSouris_position = GMaSouris.get_rect() >X GMaSouris_position.left = const.GPosDepX >X@@ -576,7 +576,7 @@ >X pygame.mouse.set_pos((GMaSouris_position.left, GMaSouris_position.top)) >X >X #------------------ transition vers le jeu ------------------------ >X- Gbackground_image, background_rect = datas.load_image('images', 'fond-buttons.bmp') >X+ Gbackground_image, background_rect = datas.load_image('%%DATADIR%%/images', 'fond-buttons.bmp') >X for i in range(300): >X screen.blit(Gbackground_image, (0, i), (0, i, 800, 1)) >X screen.blit(Gbackground_image, (0, 600 - i), (0, 600 - i, 800, 1)) >X@@ -604,11 +604,11 @@ >X GLstFicConfig = [] >X >X #----------------- rechercher les themes disponibles ----------------------- >X- repertoire = os.path.join(const.GRepPysycache, 'themes-buttons') >X+ repertoire = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-buttons') >X GLstThemesButtons = [] >X for nom in os.listdir(repertoire): >X #ne prendre que les repertoires >X- isrep = os.path.join(const.GRepPysycache, 'themes-buttons', nom) >X+ isrep = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-buttons', nom) >X if os.path.isdir(isrep): >X GLstThemesButtons.append(nom) >X if len(GLstThemesButtons) == 1: >X@@ -658,7 +658,7 @@ >X datas.PlayWinnerSound() >X >X #on affiche l'image de gagne >X- imggagne, imgfin_rect = datas.load_png('images', 'gagne.png') >X+ imggagne, imgfin_rect = datas.load_png('%%DATADIR%%/images', 'gagne.png') >X screen.blit(imggagne, (100, 40)) >X pygame.display.flip() >X >END-of-pysycache/files/patch-pysybuttons.py >echo x - pysycache/files/patch-pysyclick.py >sed 's/^X//' >pysycache/files/patch-pysyclick.py << 'END-of-pysycache/files/patch-pysyclick.py' >X--- pysyclick.py Wed Feb 15 17:23:28 2006 >X+++ pysyclick.py Sun Feb 26 23:52:12 2006 >X@@ -66,7 +66,7 @@ >X if os.path.isfile(filetmp) == True: >X self.image, self.rect = datas.load_png(dirname, filename) >X else : >X- self.image, self.rect = datas.load_png('images', 'vide-off.png') >X+ self.image, self.rect = datas.load_png('%%DATADIR%%/images', 'vide-off.png') >X self.imagename = filename >X self.rect.left = 712 >X self.rect.top = 50 + 51 * id >X@@ -99,7 +99,7 @@ >X >X #chargement du dessin servant de cache >X filename = os.path.join(directory, GImgBackground) >X- ImgFond, background_rect = datas.load_image('themes-click', filename ) >X+ ImgFond, background_rect = datas.load_image('%%DATADIR%%/themes-click', filename ) >X >X #on copie ce cache sur l'image de fond >X screen = pygame.display.get_surface() >X@@ -127,15 +127,15 @@ >X """ Change logo of a theme """ >X if const.GIdxThemes == 999999: >X #tous les themes >X- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png') >X else: >X #un theme particulier >X- filename = os.path.join(const.GRepPysycache, 'themes-click', GLstThemesClick[const.GIdxThemes], 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-click', GLstThemesClick[const.GIdxThemes], 'logo.png') >X >X if os.path.isfile(filename) == True: >X imgtmp = pygame.image.load(filename) >X else: >X- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png') >X imgtmp = pygame.image.load(filename) >X >X #mise a jour de l'image du theme >X@@ -181,7 +181,7 @@ >X pho = Photo() >X lig = lig.split('-') >X (shortname, extension) = os.path.splitext(lig[0]) >X- pho.chemin = os.path.join(const.GRepPysycache, 'themes-click', themename, lig[0]) >X+ pho.chemin = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-click', themename, lig[0]) >X pho.miniature = shortname #nom (sans extension de la miniature) >X pho.id = cpt - 1 >X pho.left = int(lig[1]) + const.MARGELEFT >X@@ -207,7 +207,7 @@ >X for pho in const.GTabPhotos: >X for img in GLstImgPhotos.sprites() : >X if img.id == pho.id : >X- filename = os.path.join(const.GRepPysycache, 'themes-click', GLstThemesClick[const.GIdxThemes], pho.miniature + '-off.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-click', GLstThemesClick[const.GIdxThemes], pho.miniature + '-off.png') >X imgtmp = pygame.image.load(filename) >X screen.blit(Gbackground_image, (img.rect.left, img.rect.top), (0, 0, 96, 50)) >X img.image.blit(imgtmp, (0, 0), (0, 0, 96, 50)) >X@@ -226,7 +226,7 @@ >X """ Find all definition files of a theme directoy """ >X >X #-------------------------- definition files ------------------------------- >X- filtre = os.path.join(const.GRepPysycache, 'themes-click', themename, '*.dfg') >X+ filtre = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-click', themename, '*.dfg') >X >X #vider >X cptliste = 0 >X@@ -307,9 +307,9 @@ >X if const.GTypeSouris == 0: >X #on est actuellement en appareil photo normal et on passe en mode couleur >X if const.GWithSound == 1: >X- datas.load_sound('sounds', 'photo-beep0.ogg') >X+ datas.load_sound('%%DATADIR%%/sounds', 'photo-beep0.ogg') >X >X- filename = os.path.join(const.GRepPysycache, 'images', 'souris0.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris0.png') >X souristmp = pygame.image.load(filename) >X colsvg = GMaSouris.get_at((0,0)) >X GMaSouris.fill(colsvg) >X@@ -327,7 +327,7 @@ >X pass >X else: >X #on est en appareil photo en couleur : on passe a normal >X- filename = os.path.join(const.GRepPysycache, 'images', 'souris1.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris1.png') >X souristmp = pygame.image.load(filename) >X colsvg = GMaSouris.get_at((0,0)) >X GMaSouris.fill(colsvg) >X@@ -420,14 +420,14 @@ >X #mise a jour du dessin representant la photo prise >X for img in GLstImgPhotos.sprites() : >X if img.id == car.id : >X- filename = os.path.join(const.GRepPysycache, 'themes-click', GLstThemesClick[const.GIdxThemes], car.miniature + '-on.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-click', GLstThemesClick[const.GIdxThemes], car.miniature + '-on.png') >X imgtmp = pygame.image.load(filename) >X screen.blit(Gbackground_image, (img.rect.left, img.rect.top), (0, 0, 96, 50)) >X img.image.blit(imgtmp, (img.rect.left, img.rect.top), (0, 0, 96, 50)) >X img.image = imgtmp >X break >X >X- datas.load_sound('sounds', 'photo-click.ogg'); >X+ datas.load_sound('%%DATADIR%%/sounds', 'photo-click.ogg'); >X >X #on affiche la photo >X screen.blit(Gbackground_image, (0,0)) >X@@ -493,7 +493,7 @@ >X # cursor = cursor[0], (cursor[0][0] / 2, cursor[0][1] / 2), cursor[2], cursor[3] >X # pygame.mouse.set_cursor(cursor[0], (0, 0), cursor[2], cursor[3]) >X >X- filename = os.path.join(const.GRepPysycache, 'images', 'souris1.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris1.png') >X GMaSouris = pygame.image.load(filename) >X GMaSouris_position = GMaSouris.get_rect() >X GMaSouris_position.left = const.GPosDepX >X@@ -501,7 +501,7 @@ >X const.Gtypsouris = 0 >X >X #------------------ transition vers le jeu ------------------------ >X- Gbackground_image, background_rect = datas.load_image('images', 'fond-click.bmp') >X+ Gbackground_image, background_rect = datas.load_image('%%DATADIR%%/images', 'fond-click.bmp') >X for i in range(300): >X screen.blit(Gbackground_image, (0, i), (0, i, 800, 1)) >X screen.blit(Gbackground_image, (0, 600 - i), (0, 600 - i, 800, 1)) >X@@ -527,11 +527,11 @@ >X GLstFicConfig = [] >X >X #----------------- rechercher les themes disponibles ----------------------- >X- repertoire = os.path.join(const.GRepPysycache, 'themes-click') >X+ repertoire = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-click') >X GLstThemesClick = [] >X for nom in os.listdir(repertoire): >X #ne prendre que les repertoires >X- isrep = os.path.join(const.GRepPysycache, 'themes-click', nom) >X+ isrep = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-click', nom) >X if os.path.isdir(isrep): >X GLstThemesClick.append(nom) >X >X@@ -576,7 +576,7 @@ >X >X #on affiche l'image de gagne >X screen = pygame.display.get_surface() >X- imggagne, imgfin_rect = datas.load_png('images', 'gagne.png') >X+ imggagne, imgfin_rect = datas.load_png('%%DATADIR%%/images', 'gagne.png') >X screen.blit(imggagne, (100, 40)) >X LstBtn.draw(screen) >X GLstImgPhotos.draw(screen) >X@@ -602,7 +602,7 @@ >X RAZMiniatures() >X >X #on remet la souris en normal >X- filename = os.path.join(const.GRepPysycache, 'images', 'souris1.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris1.png') >X souristmp = pygame.image.load(filename) >X colsvg = GMaSouris.get_at((0,0)) >X GMaSouris.fill(colsvg) >END-of-pysycache/files/patch-pysyclick.py >echo x - pysycache/files/patch-pysymove.py >sed 's/^X//' >pysycache/files/patch-pysymove.py << 'END-of-pysycache/files/patch-pysymove.py' >X--- pysymove.py Wed Feb 15 17:23:28 2006 >X+++ pysymove.py Mon Feb 27 00:02:12 2006 >X@@ -134,7 +134,7 @@ >X >X #chargement du dessin servant de cache >X filename = os.path.join(directory, 'cache', imgcache) >X- GCacheImage, background_rect = datas.load_image('themes-move', filename) >X+ GCacheImage, background_rect = datas.load_image('%%DATADIR%%/themes-move', filename) >X >X #on copie ce cache sur l'image de fond >X screen = pygame.display.get_surface() >X@@ -150,7 +150,7 @@ >X >X #chargement du dessin a trouver >X filename = os.path.join(directory, imgdessous) >X- GImageATrouver, background_rect = datas.load_image('themes-move', filename) >X+ GImageATrouver, background_rect = datas.load_image('%%DATADIR%%/themes-move', filename) >X >X #redessin de la souris a sa position >X GMaSouris_position.left = const.GPosDepX >X@@ -193,15 +193,15 @@ >X """ Change logo of a theme """ >X if const.GIdxThemes == 999999: >X #tous les themes >X- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png') >X else: >X #un theme particulier >X- filename = os.path.join(const.GRepPysycache, 'themes-move', GLstThemesMove[const.GIdxThemes], 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes], 'logo.png') >X >X if os.path.isfile(filename) == True: >X imgtmp = pygame.image.load(filename) >X else: >X- filename = os.path.join(const.GRepPysycache, 'images', 'logo.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'logo.png') >X imgtmp = pygame.image.load(filename) >X >X #mise a jour de l'image du theme >X@@ -225,10 +225,10 @@ >X def ChangeTypeJeu(): >X """ Change mode of a theme """ >X if const.GModeJeu == MODENORMAL: >X- filename = os.path.join(const.GRepPysycache, 'images', 'mode0.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'mode0.png') >X elif const.GModeJeu == MODEFANTOM: >X- filename = os.path.join(const.GRepPysycache, 'images', 'mode1.png') >X- else: filename = os.path.join(const.GRepPysycache, 'images', 'mode2.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'mode1.png') >X+ else: filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'mode2.png') >X >X if os.path.isfile(filename) == True: >X imgtmp = pygame.image.load(filename) >X@@ -253,7 +253,7 @@ >X def LoadListImage(themename): >X """ Find all available pictures of a theme directory """ >X >X- filtre = os.path.join(const.GRepPysycache, 'themes-move', themename, '*.dfg') >X+ filtre = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', themename, '*.dfg') >X >X #vider >X GLstImage[:] = [] >X@@ -286,12 +286,12 @@ >X if len(lig) == 0: >X continue >X #fichier de cache >X- nomcache = os.path.join(const.GRepPysycache, 'themes-move', themename, 'cache', lig[0]) >X+ nomcache = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', themename, 'cache', lig[0]) >X if os.path.isfile(nomcache): >X lstcache.append(lig[0]) >X >X #fichier de son >X- nomcache = os.path.join('themes-move', themename, 'cache', lig[1]) >X+ nomcache = os.path.join('%%DATADIR%%/themes-move', themename, 'cache', lig[1]) >X lstsndcache.append(nomcache) >X else: >X print "error in definition file : cache file ", nomcache, " doesn't exist" >X@@ -356,7 +356,7 @@ >X pygame.display.flip() >X >X #on joue la musique >X- datas.load_sound('sounds', 'fantom.wav') >X+ datas.load_sound('%%DATADIR%%/sounds', 'fantom.wav') >X >X break >X return 1 >X@@ -401,7 +401,7 @@ >X const.GNbCarreau = const.GNbCarreau - 1 >X >X #on joue la musique >X- datas.load_sound('sounds', 'pop.ogg') >X+ datas.load_sound('%%DATADIR%%/sounds', 'pop.ogg') >X >X break >X >X@@ -483,11 +483,11 @@ >X if const.GTailleCarreau == CARREAUSMALL + 1: >X const.GTailleCarreau = CARREAUBIG >X if const.GTailleCarreau == CARREAUBIG: >X- filename = os.path.join(const.GRepPysycache, 'images', 'btn-size1.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-size1.png') >X elif const.GTailleCarreau == CARREAUNORMAL: >X- filename = os.path.join(const.GRepPysycache, 'images', 'btn-size2.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-size2.png') >X else: >X- filename = os.path.join(const.GRepPysycache, 'images', 'btn-size3.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'btn-size3.png') >X imgtmp = pygame.image.load(filename) >X >X #mise a jour image taille carreau >X@@ -553,12 +553,12 @@ >X # cursor = cursor[0], (cursor[0][0] / 2, cursor[0][1] / 2), cursor[2], cursor[3] >X # pygame.mouse.set_cursor(cursor[0], (0, 0), cursor[2], cursor[3]) >X >X- filename = dirname = os.path.join(const.GRepPysycache, 'images', 'souris.png') >X+ filename = dirname = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris.png') >X GMaSouris = pygame.image.load(filename) >X GCarre_position = GMaSouris.get_rect() >X >X #------------------ transition vers le jeu ------------------------ >X- Gbackground_image, background_rect = datas.load_image('images', 'fond-move.bmp') >X+ Gbackground_image, background_rect = datas.load_image('%%DATADIR%%/images', 'fond-move.bmp') >X for i in range(300): >X screen.blit(Gbackground_image, (0, i), (0, i, 800, 1)) >X screen.blit(Gbackground_image, (0, 600 - i), (0, 600 - i, 800, 1)) >X@@ -592,10 +592,10 @@ >X GLstSndCache = [] >X >X #---------------- rechercher les themes disponibles ---------------------- >X- repertoire = os.path.join(const.GRepPysycache, 'themes-move') >X+ repertoire = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move') >X for nom in os.listdir(repertoire): >X #ne prendre que les repertoires >X- isrep = os.path.join(const.GRepPysycache, 'themes-move', nom) >X+ isrep = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', nom) >X if os.path.isdir(isrep): >X GLstThemesMove.append(nom) >X if len(GLstThemesMove) == 1 : >X@@ -653,11 +653,11 @@ >X if const.GWithSound == 1: >X #on joue la musique de l'image >X (shortname, extension) = os.path.splitext(GLstImage[const.GIdxImage]) >X- music = os.path.join(const.GRepPysycache, 'themes-move', GLstThemesMove[const.GIdxThemes], shortname + '.ogg') >X+ music = os.path.join(const.GRepPysycache, '%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes], shortname + '.ogg') >X if os.path.isfile(music) == True: >X- datas.load_sound(os.path.join('themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.ogg') >X+ datas.load_sound(os.path.join('%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.ogg') >X else: >X- datas.load_sound(os.path.join('themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.wav') >X+ datas.load_sound(os.path.join('%%DATADIR%%/themes-move', GLstThemesMove[const.GIdxThemes]), shortname + '.wav') >X pygame.time.wait(500) >X >X #attende de 2 secondes (pour faire voir l'image) >X@@ -666,7 +666,7 @@ >X #----------------- on affiche l'image de gagne --------------------- >X datas.PlayWinnerSound() >X >X- imggagne, imgfin_rect = datas.load_png('images', 'gagne.png') >X+ imggagne, imgfin_rect = datas.load_png('%%DATADIR%%/images', 'gagne.png') >X screen.blit(imggagne, (100, 40)) >X pygame.display.flip() >X >END-of-pysycache/files/patch-pysymove.py >echo x - pysycache/files/patch-pysycache.py >sed 's/^X//' >pysycache/files/patch-pysycache.py << 'END-of-pysycache/files/patch-pysycache.py' >X--- pysycache.py Wed Feb 15 17:23:28 2006 >X+++ pysycache.py Mon Feb 27 00:15:58 2006 >X@@ -37,6 +37,8 @@ >X from pygame.locals import * >X import glob >X >X+sys.path.append("%%DATADIR%%") >X+ >X import datas >X from datasclass import BtnMenu >X import const >X@@ -51,7 +53,7 @@ >X >X >X def ReadCreditOfDirectory(dirname): >X- myfont = os.path.join(const.GRepPysycache, 'fonts', 'FreeSansBold.ttf' ) >X+ myfont = os.path.join(const.GRepPysycache, '%%DATADIR%%/fonts', 'FreeSansBold.ttf' ) >X font = pygame.font.Font(myfont, 20) >X textcolor = 46, 113, 169 >X >X@@ -129,9 +131,9 @@ >X #on est actuellement en image normale et on passe en image floue >X const.GBtnMenu = btn.id >X >X- datas.load_sound('sounds', 'btnmenu.wav') >X+ datas.load_sound('%%DATADIR%%/sounds', 'btnmenu.wav') >X >X- filename = os.path.join(const.GRepPysycache, 'images', btn.imagename + '1.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', btn.imagename + '1.png') >X imgtmp = pygame.image.load(filename) >X btn.image.blit(imgtmp, (btn.rect.left, btn.rect.top), (0, 0, btn.largeur, btn.hauteur)) >X btn.image = imgtmp >X@@ -154,13 +156,13 @@ >X for btn in LstBtn.sprites(): >X if btn.id == const.GBtnMenu: >X #mise a jour de l'image >X- filename = os.path.join(const.GRepPysycache, 'images', btn.imagename + '.png') >X+ filename = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', btn.imagename + '.png') >X imgtmp = pygame.image.load(filename) >X btn.image.blit(imgtmp, (btn.rect.left, btn.rect.top), (0, 0, btn.largeur, btn.hauteur)) >X btn.image = imgtmp >X >X #mise a jour de la zone d'aide (effacement) >X- imgnuage, background_rect = datas.load_image('images', 'fond-menu.bmp') >X+ imgnuage, background_rect = datas.load_image('%%DATADIR%%/images', 'fond-menu.bmp') >X Gbackground_image.blit(imgnuage, (300, 300), (300, 300, 400, 220)) >X >X break >X@@ -176,7 +178,7 @@ >X if ( event.pos[0] >= obj.rect.left ) & ( event.pos[0] <= obj.rect.left + obj.largeur ) & ( event.pos[1] >= obj.rect.top ) & ( event.pos[1] <= obj.rect.top + obj.hauteur ) : >X #----------- show the correct window ----------------- >X #mise a jour de la zone d'aide >X- imgnuage, background_rect = datas.load_image('images', 'fond-menu.bmp') >X+ imgnuage, background_rect = datas.load_image('%%DATADIR%%/images', 'fond-menu.bmp') >X Gbackground_image.blit(imgnuage, (300, 300), (300, 300, 370, 200)) >X >X if pygame.mixer.music.get_busy : >X@@ -261,14 +263,14 @@ >X #recuperation de la valeur de la langue >X locale.setlocale(locale.LC_ALL,"") >X const.GMyLocale, myencoding = locale.getlocale() >X- myrep = os.path.join(const.GRepPysycache, 'help', const.GMyLocale ) >X+ myrep = os.path.join(const.GRepPysycache, '%%DATADIR%%/help', const.GMyLocale ) >X >X if os.path.isdir(myrep): >X #le repertoire de la locale existe : rien a faire >X pass >X else : >X #on essaie sur les deux premiers caracteres >X- myrep = os.path.join(const.GRepPysycache, 'help', const.GMyLocale[0:2]) >X+ myrep = os.path.join(const.GRepPysycache, '%%DATADIR%%/help', const.GMyLocale[0:2]) >X if os.path.isdir(myrep): >X #le repertoire de la (nouvelle) locale existe : rien a faire >X const.GMyLocale = const.GMyLocale[0:2] >X@@ -283,7 +285,7 @@ >X pygame.display.set_caption('PySyCache') >X >X #-------------------------- image vide de fond ----------------------------- >X- background_image, background_rect = datas.load_image('images', 'fond1.bmp') >X+ background_image, background_rect = datas.load_image('%%DATADIR%%/images', 'fond1.bmp') >X screen.blit(background_image, (0,0)) >X pygame.display.flip() >X >X@@ -291,7 +293,7 @@ >X pygame.time.delay(500) >X >X #------------------ transition vers le titre du jeu ------------------------ >X- background_image2, background_rect = datas.load_image('images', 'fond2.bmp') >X+ background_image2, background_rect = datas.load_image('%%DATADIR%%/images', 'fond2.bmp') >X for i in range(300): >X screen.blit(background_image2, (0, i), (0, i, 800, 1)) >X screen.blit(background_image2, (0, 600 - i), (0, 600 - i, 800, 1)) >X@@ -304,7 +306,7 @@ >X pygame.time.delay(2000) >X >X #----------------------- transition vers le menu --------------------------- >X- Gbackground_image, background_rect = datas.load_image('images', 'fond-menu.bmp') >X+ Gbackground_image, background_rect = datas.load_image('%%DATADIR%%/images', 'fond-menu.bmp') >X for i in range(300): >X screen.blit(Gbackground_image, (0, i), (0, i, 800, 1)) >X screen.blit(Gbackground_image, (0, 600 - i), (0, 600 - i, 800, 1)) >X@@ -336,7 +338,7 @@ >X # cursor = pygame.cursors.load_xbm(filename, maskname) >X # cursor = cursor[0], (cursor[0][0] / 2, cursor[0][1] / 2), cursor[2], cursor[3] >X # pygame.mouse.set_cursor(cursor[0], (0, 0), cursor[2], cursor[3]) >X- filename = dirname = os.path.join(const.GRepPysycache, 'images', 'souris.png') >X+ filename = dirname = os.path.join(const.GRepPysycache, '%%DATADIR%%/images', 'souris.png') >X GMaSouris = pygame.image.load(filename) >X GMaSouris_position = GMaSouris.get_rect() >X GMaSouris_position.left = 400 # const.GPosDepX >X@@ -357,7 +359,7 @@ >X pygame.display.flip() >X >X #-------------------------------- fin du jeu ------------------------------- >X- Gbackground_image, background_rect = datas.load_image('images', 'fond4.bmp') >X+ Gbackground_image, background_rect = datas.load_image('%%DATADIR%%/images', 'fond4.bmp') >X for i in range(300): >X screen.blit(Gbackground_image, (0, i), (0, i, 800, 1)) >X screen.blit(Gbackground_image, (0, 600 - i), (0, 600 - i, 800, 1)) >X@@ -371,12 +373,12 @@ >X >X #------------------ affichage des credits ------------------------ >X if const.GWithCredits : >X- myfont = os.path.join(const.GRepPysycache, 'fonts', 'FreeSansBold.ttf' ) >X+ myfont = os.path.join(const.GRepPysycache, '%%DATADIR%%/fonts', 'FreeSansBold.ttf' ) >X font = pygame.font.Font(myfont, 30) >X textcolor = 46, 113, 169 >X >X #credits auteur >X- fichier = os.path.join(const.GRepPysycache, 'credits.txt') >X+ fichier = os.path.join(const.GRepPysycache, '%%DATADIR%%/credits.txt') >X if os.path.isfile(fichier): >X #afficher le contenu >X f = open(fichier, 'r') >X@@ -393,9 +395,9 @@ >X pygame.time.wait(3000) >X >X #credit images for themes >X- ReadCreditOfDirectory('themes-buttons') >X- ReadCreditOfDirectory('themes-click') >X- ReadCreditOfDirectory('themes-move') >X+ ReadCreditOfDirectory('%%DATADIR%%/themes-buttons') >X+ ReadCreditOfDirectory('%%DATADIR%%/themes-click') >X+ ReadCreditOfDirectory('%%DATADIR%%/themes-move') >X >X >X >END-of-pysycache/files/patch-pysycache.py >echo x - pysycache/files/pkg-message.in >sed 's/^X//' >pysycache/files/pkg-message.in << 'END-of-pysycache/files/pkg-message.in' >X############################################################### >X >X1) Install language pack using games/pysycache-lang port >X2) Install additional themes using games/pysycache-themes port >X >X############################################################### >END-of-pysycache/files/pkg-message.in >echo x - pysycache/distinfo >sed 's/^X//' >pysycache/distinfo << 'END-of-pysycache/distinfo' >XMD5 (pysycache/pysycache-2.0.zip) = a4726332d7f5f60c7335c935a44afc8f >XSHA256 (pysycache/pysycache-2.0.zip) = 5f0544e56a8d4a08c7357c3e4c1779864cc35c191f885b578652f14bbe7d6626 >XSIZE (pysycache/pysycache-2.0.zip) = 8809367 >END-of-pysycache/distinfo >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 94003
: 62959