diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-09-09 05:59:14 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-09-09 05:59:14 +0000 |
commit | d6c17f5ab202f8e69fd6e5c8c81df96251968eb1 (patch) | |
tree | 058ad4905b00b3a25f9f23ee28aef20707aef84d /games-arcade/bub-n-bros | |
parent | Marked ppc/ppc64 stable for bug #189863. (diff) | |
download | historical-d6c17f5ab202f8e69fd6e5c8c81df96251968eb1.tar.gz historical-d6c17f5ab202f8e69fd6e5c8c81df96251968eb1.tar.bz2 historical-d6c17f5ab202f8e69fd6e5c8c81df96251968eb1.zip |
version bump (bug #191714) with patch update from Tomasz Mon
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'games-arcade/bub-n-bros')
-rw-r--r-- | games-arcade/bub-n-bros/ChangeLog | 9 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/Manifest | 24 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/bub-n-bros-1.6.ebuild | 61 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/files/bub-n-bros-1.6-home.patch | 51 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/files/bub-n-bros-1.6-python25.patch | 33 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/files/digest-bub-n-bros-1.6 | 3 |
6 files changed, 176 insertions, 5 deletions
diff --git a/games-arcade/bub-n-bros/ChangeLog b/games-arcade/bub-n-bros/ChangeLog index 09ce60dff344..506c196e9adb 100644 --- a/games-arcade/bub-n-bros/ChangeLog +++ b/games-arcade/bub-n-bros/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-arcade/bub-n-bros # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v 1.14 2007/08/13 19:14:10 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v 1.15 2007/09/09 05:59:13 mr_bones_ Exp $ + +*bub-n-bros-1.6 (09 Sep 2007) + + 09 Sep 2007; Michael Sterrett <mr_bones_@gentoo.org> + +files/bub-n-bros-1.6-home.patch, +files/bub-n-bros-1.6-python25.patch, + +bub-n-bros-1.6.ebuild: + version bump (bug #191714) with patch update from Tomasz Mon 13 Aug 2007; Santiago M. Mola <coldwind@gentoo.org> +files/bub-n-bros-1.5-python25.patch, bub-n-bros-1.5.ebuild: diff --git a/games-arcade/bub-n-bros/Manifest b/games-arcade/bub-n-bros/Manifest index 29a58c03b61b..4988fb24d53b 100644 --- a/games-arcade/bub-n-bros/Manifest +++ b/games-arcade/bub-n-bros/Manifest @@ -6,8 +6,17 @@ AUX bub-n-bros-1.5-python25.patch 1086 RMD160 dfae82f172616e554cdb3206bc59160ddf MD5 48f45808d06f738af9c658cc42662b94 files/bub-n-bros-1.5-python25.patch 1086 RMD160 dfae82f172616e554cdb3206bc59160ddfd6388a files/bub-n-bros-1.5-python25.patch 1086 SHA256 4b59b8f48d7828eef9e9c22934a0e1c2ef54ef99ad33e56c847e6befc06f7262 files/bub-n-bros-1.5-python25.patch 1086 +AUX bub-n-bros-1.6-home.patch 2035 RMD160 6ba15ad4bbd1f2463abfe7962e75690646808c53 SHA1 f790c118adb5d1396c3e880b5dca83253619f7c5 SHA256 13bfced9b7b4bbb543ba32fa209bcf7d313a2f6c0dda979d71dba83dd717ff95 +MD5 f37690393ccd1779902f4328b5e0e500 files/bub-n-bros-1.6-home.patch 2035 +RMD160 6ba15ad4bbd1f2463abfe7962e75690646808c53 files/bub-n-bros-1.6-home.patch 2035 +SHA256 13bfced9b7b4bbb543ba32fa209bcf7d313a2f6c0dda979d71dba83dd717ff95 files/bub-n-bros-1.6-home.patch 2035 +AUX bub-n-bros-1.6-python25.patch 1066 RMD160 98c6363fc76009fb19e2a5459ab06540cbf3f7db SHA1 fc81e2c34cd0f3be921559a7f99abd350f9ffc12 SHA256 57534f2e7b94fe48d4c6da20dd16257136832171adae6f959492d3c3363821d4 +MD5 2168c2dd263ef3d94d80a34d87cba496 files/bub-n-bros-1.6-python25.patch 1066 +RMD160 98c6363fc76009fb19e2a5459ab06540cbf3f7db files/bub-n-bros-1.6-python25.patch 1066 +SHA256 57534f2e7b94fe48d4c6da20dd16257136832171adae6f959492d3c3363821d4 files/bub-n-bros-1.6-python25.patch 1066 DIST bub-n-bros-1.1.tar.gz 10499686 RMD160 ae53459210d3333b35b29a9eaca7a63f0ace9cfe SHA1 8485bb8f403921a818f73c758112b998cb785101 SHA256 27389b3095e7df0801f4c2c873f438a05ec5d3b129ccf802c57d1f73d8befd65 DIST bubbros-1.5.tar.bz2 8856240 RMD160 dafe5004569ed4313d0e470627337810fefec820 SHA1 3da8dff63d3b14ec57ec483f64af5edec4a0f09e SHA256 91db9aa59f2adcd6f79cff475b457901aea82ffe0ebc557012eb3a0a36a3b05b +DIST bubbros-1.6.tar.bz2 9052959 RMD160 f4da90058650f07f4c50d33dd9b42be336c660df SHA1 17cd2811e11effde3ee41289725ea8fae86b70cd SHA256 dd197e60a23e09800010f3a5906feb77847e6eeaa7cfd47d803a85daa0bcf255 EBUILD bub-n-bros-1.1.ebuild 1706 RMD160 afcb936bb51b39dc1c812b20d46b5d050d9a4d0f SHA1 25130987e5a1f899a852bc70cf4dc7c46f8032f9 SHA256 3eb66ed2ef604c2ba1e3a7f92f57630d45360bf47340984cb2d49c06b143306c MD5 db551957d5a03f601b484423e25c5edc bub-n-bros-1.1.ebuild 1706 RMD160 afcb936bb51b39dc1c812b20d46b5d050d9a4d0f bub-n-bros-1.1.ebuild 1706 @@ -16,10 +25,14 @@ EBUILD bub-n-bros-1.5.ebuild 1501 RMD160 9d509a3174d12148f7ffbd70cec9bbdb64483dd MD5 49c6c5c10a3928c01579436dc753167a bub-n-bros-1.5.ebuild 1501 RMD160 9d509a3174d12148f7ffbd70cec9bbdb64483dd6 bub-n-bros-1.5.ebuild 1501 SHA256 eb2d911de9688533c31059e0d71005b6ae15dc4d279f78cefc237168e495fe6f bub-n-bros-1.5.ebuild 1501 -MISC ChangeLog 1629 RMD160 c1463940e55d6c2f14ff4bef9e4e6d394d9b7c5d SHA1 63c43344ba8ac6f2925ec644d117cd0328278fd1 SHA256 34779f2b3d8759f17517da56cbb67e11972dced5fdafea31e43ad465f553d0f4 -MD5 4515678f21e76380555616d7476c4d28 ChangeLog 1629 -RMD160 c1463940e55d6c2f14ff4bef9e4e6d394d9b7c5d ChangeLog 1629 -SHA256 34779f2b3d8759f17517da56cbb67e11972dced5fdafea31e43ad465f553d0f4 ChangeLog 1629 +EBUILD bub-n-bros-1.6.ebuild 1502 RMD160 c025735315017f5c844f553274ed76128c763954 SHA1 d8960d19c1fdacaad64cb00d26a16e1ca11d2ee7 SHA256 b19f5dcbf9446debbd2411a4245c29b9f212c258d228e1d7114c5cb62ccb4a65 +MD5 c36989016bf8ce629a77f480c1e5622a bub-n-bros-1.6.ebuild 1502 +RMD160 c025735315017f5c844f553274ed76128c763954 bub-n-bros-1.6.ebuild 1502 +SHA256 b19f5dcbf9446debbd2411a4245c29b9f212c258d228e1d7114c5cb62ccb4a65 bub-n-bros-1.6.ebuild 1502 +MISC ChangeLog 1880 RMD160 ad6eb16a97a904e85494ab8f8f2be7a07648913b SHA1 905176adec7f7dbdd70f11b8b37f3b2408c0b38e SHA256 51be2ec150a28e386fa20a5e59646b4157d8e6f3d47dcc7aeab86d47ecc72661 +MD5 eeb4e5def5559464b2afe9a80d1b1c8d ChangeLog 1880 +RMD160 ad6eb16a97a904e85494ab8f8f2be7a07648913b ChangeLog 1880 +SHA256 51be2ec150a28e386fa20a5e59646b4157d8e6f3d47dcc7aeab86d47ecc72661 ChangeLog 1880 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -30,3 +43,6 @@ SHA256 c516739b17293c0b2aff50de788f86f8f7172c57cde311910b5158d021e17c57 files/di MD5 77d35850968bf7f10ed3b03a48517225 files/digest-bub-n-bros-1.5 241 RMD160 8417f3bb962231ab102f9f7bc29653a95f8b7d02 files/digest-bub-n-bros-1.5 241 SHA256 9713f3aa67a98b68645726209ad54cc2e0c5764d19fcf656f1f13f539cdbfe2e files/digest-bub-n-bros-1.5 241 +MD5 87a6329665abdec84568a127fc9d060f files/digest-bub-n-bros-1.6 241 +RMD160 445373efc8d21cac1139c42b8c7a3de30214f88f files/digest-bub-n-bros-1.6 241 +SHA256 92a88b53c610ff83709eaf6164af4ca5fef41ee74394bccfe62b4f5d20b2661a files/digest-bub-n-bros-1.6 241 diff --git a/games-arcade/bub-n-bros/bub-n-bros-1.6.ebuild b/games-arcade/bub-n-bros/bub-n-bros-1.6.ebuild new file mode 100644 index 000000000000..9cfc33ff292a --- /dev/null +++ b/games-arcade/bub-n-bros/bub-n-bros-1.6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/bub-n-bros-1.6.ebuild,v 1.1 2007/09/09 05:59:13 mr_bones_ Exp $ + +inherit eutils games + +MY_P=${P/-n-} +DESCRIPTION="A multiplayer clone of the famous Bubble Bobble game" +HOMEPAGE="http://bub-n-bros.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-lang/python" +RDEPEND="dev-python/pygame" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch \ + "${FILESDIR}"/${P}-home.patch \ + "${FILESDIR}"/${P}-python25.patch +} + +src_compile() { + # Compile the "statesaver" extension module to enable the Clock bonus + cd "${S}"/bubbob + python setup.py build_ext -i || die + + # Compile the extension module required for the X Window client + cd "${S}"/display + python setup.py build_ext -i || die + + # Build images + cd "${S}"/bubbob/images + python buildcolors.py || die +} + +src_install() { + local dir=$(games_get_libdir)/${PN} + + exeinto "${dir}" + doexe *.py || die "doexe failed" + + insinto "${dir}" + doins -r bubbob common display java http2 metaserver || die "doins failed" + + dodir "${GAMES_BINDIR}" + dosym "${dir}"/BubBob.py "${GAMES_BINDIR}"/bubnbros || die "dosym failed" + + newicon http2/data/bob.png ${PN}.png + make_desktop_entry bubnbros Bub-n-Bros + + rm -rf $(find "${D}/${dir}" -name CVS -type d) + prepgamesdirs +} diff --git a/games-arcade/bub-n-bros/files/bub-n-bros-1.6-home.patch b/games-arcade/bub-n-bros/files/bub-n-bros-1.6-home.patch new file mode 100644 index 000000000000..4d2cc317aba3 --- /dev/null +++ b/games-arcade/bub-n-bros/files/bub-n-bros-1.6-home.patch @@ -0,0 +1,51 @@ +--- bubbob/images.py 2007-09-08 17:03:41.000000000 +0200 ++++ bubbob/images.py 2007-09-08 17:57:45.000000000 +0200 +@@ -454,7 +454,6 @@ + # check and maybe regenerate the colored image files + file = os.path.join('images', 'buildcolors.py') + g = {'__name__': '__auto__', '__file__': file} +- execfile(file, g) + # replace the entries 'filename_%d.ppm' by a family of entries, + # one for each color + sprmap = {} +--- display/pclient.py 2007-09-08 17:03:41.000000000 +0200 ++++ display/pclient.py 2007-09-08 17:57:45.000000000 +0200 +@@ -162,8 +162,8 @@ + if mode[-1].has_key('cfgfile'): + self.trackcfgfile = mode[-1]['cfgfile'] + else: +- self.trackcfgfile = os.path.join(DataChunk.SOURCEDIR, +- 'http2', 'config.txt') ++ self.trackcfgfile = os.path.join(os.environ.get('HOME'), ++ '.bubnbros') + self.udpsock = None + self.udpsock_low = None + self.udpsock2 = None +--- http2/httppages.py 2007-09-08 17:03:41.000000000 +0200 ++++ http2/httppages.py 2007-09-08 17:57:45.000000000 +0200 +@@ -38,7 +38,7 @@ + + + class PageServer: +- CONFIGFILE = 'config.txt' ++ CONFIGFILE = '.bubnbros' + localservers = None + + def __init__(self, Game): +@@ -46,7 +46,7 @@ + self.seed = hex(random.randrange(0x1000, 0x10000)) + #self.unique_actions = {} + self.localhost = gamesrv.HOSTNAME +- self.filename = os.path.join(LOCALDIR, self.CONFIGFILE) ++ self.filename = os.path.join(os.environ.get('HOME'), self.CONFIGFILE) + data = self.loadoptionfile() + self.globaloptions = Options(data.get('*', {})) + self.localoptions = Options(data.get(self.localhost, {})) +@@ -333,7 +333,6 @@ + 'buildcolors.py') + if os.path.exists(file): + g = {'__name__': '__auto__', '__file__': file} +- execfile(file, g) + + if port: + address = '%s:%s' % (host, port) diff --git a/games-arcade/bub-n-bros/files/bub-n-bros-1.6-python25.patch b/games-arcade/bub-n-bros/files/bub-n-bros-1.6-python25.patch new file mode 100644 index 000000000000..d681f31ae850 --- /dev/null +++ b/games-arcade/bub-n-bros/files/bub-n-bros-1.6-python25.patch @@ -0,0 +1,33 @@ +diff -ur bubbros-1.5.orig/bubbob/statesaver.c bubbros-1.5/bubbob/statesaver.c +--- bubbros-1.5.orig/bubbob/statesaver.c 2007-09-08 17:43:14.000000000 +0200 ++++ bubbros-1.5/bubbob/statesaver.c 2007-09-08 17:43:14.000000000 +0200 +@@ -75,7 +75,7 @@ + Py_INCREF(g); /* exhausted -- can return 'g' itself */ + return g; + } +- if (f->f_nfreevars || f->f_ncells) { ++ if (PySequence_Length(co->co_freevars) || PySequence_Length(co->co_cellvars)) { + PyErr_SetString(PyExc_ValueError, "generator has cell or free vars"); + goto error; + } +@@ -112,6 +112,8 @@ + PyFrameObject* f = NULL; + PyFrameObject* f2 = NULL; + PyCodeObject* co; ++ PyCodeObject* code; ++ PyCodeObject* code2; + int i, res; + + if (g != g2) +@@ -141,9 +143,9 @@ + Py_DECREF(x); + goto error; + } +- f2 = (PyFrameObject*) x; + +- if (f2->f_stacksize != f->f_stacksize) { ++ code2 = (PyFrameObject*) x; ++ if (code2->co_stacksize != code->co_stacksize) { + PyErr_SetString(PyExc_TypeError, "stack size mismatch"); + goto error; + } diff --git a/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.6 b/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.6 new file mode 100644 index 000000000000..e3c55d552aa1 --- /dev/null +++ b/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.6 @@ -0,0 +1,3 @@ +MD5 00aa5e26f5f0ed4c10765e4b33b28a09 bubbros-1.6.tar.bz2 9052959 +RMD160 f4da90058650f07f4c50d33dd9b42be336c660df bubbros-1.6.tar.bz2 9052959 +SHA256 dd197e60a23e09800010f3a5906feb77847e6eeaa7cfd47d803a85daa0bcf255 bubbros-1.6.tar.bz2 9052959 |