summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-06-08 01:02:10 +0000
committerTristan Heaven <tristan@gentoo.org>2007-06-08 01:02:10 +0000
commit336f5a911f65c7f4009e81e17b4c11e6326e1a21 (patch)
treef703709410f322e6333c305e060e888127a84bde /games-arcade/bub-n-bros
parentversion bump as per bug #181263 thanks cilly (diff)
downloadhistorical-336f5a911f65c7f4009e81e17b4c11e6326e1a21.tar.gz
historical-336f5a911f65c7f4009e81e17b4c11e6326e1a21.tar.bz2
historical-336f5a911f65c7f4009e81e17b4c11e6326e1a21.zip
Version bump by Tomasz Mon, bug #78823
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'games-arcade/bub-n-bros')
-rw-r--r--games-arcade/bub-n-bros/ChangeLog8
-rw-r--r--games-arcade/bub-n-bros/Manifest30
-rw-r--r--games-arcade/bub-n-bros/bub-n-bros-1.5.ebuild59
-rw-r--r--games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch51
-rw-r--r--games-arcade/bub-n-bros/files/digest-bub-n-bros-1.53
5 files changed, 146 insertions, 5 deletions
diff --git a/games-arcade/bub-n-bros/ChangeLog b/games-arcade/bub-n-bros/ChangeLog
index 9d3b71e21c7c..e0c5e4ec39b6 100644
--- a/games-arcade/bub-n-bros/ChangeLog
+++ b/games-arcade/bub-n-bros/ChangeLog
@@ -1,6 +1,12 @@
# 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.11 2007/04/09 21:51:09 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v 1.12 2007/06/08 01:02:10 nyhm Exp $
+
+*bub-n-bros-1.5 (08 Jun 2007)
+
+ 08 Jun 2007; <tristan@gentoo.org> +files/bub-n-bros-1.5-home.patch,
+ +bub-n-bros-1.5.ebuild:
+ Version bump by Tomasz Mon, bug #78823
09 Apr 2007; Peter Weller <welp@gentoo.org> bub-n-bros-1.1.ebuild:
Keyworded ~x86-fbsd wrt bug 173405
diff --git a/games-arcade/bub-n-bros/Manifest b/games-arcade/bub-n-bros/Manifest
index 75a2f5a2132f..124073a0e9de 100644
--- a/games-arcade/bub-n-bros/Manifest
+++ b/games-arcade/bub-n-bros/Manifest
@@ -1,12 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX bub-n-bros-1.5-home.patch 1819 RMD160 81da0b47fe9d00e6317d0b176b1c50f8ef494fa4 SHA1 3c85bb4a921d6beb4ff8f9770a30257bdd0659de SHA256 14fc8284c3b1035fd4a5f578adb6d0ba3cabc53d476282c3ae6937b270e59f0c
+MD5 32402753b47dfe81a3376d34d17b837f files/bub-n-bros-1.5-home.patch 1819
+RMD160 81da0b47fe9d00e6317d0b176b1c50f8ef494fa4 files/bub-n-bros-1.5-home.patch 1819
+SHA256 14fc8284c3b1035fd4a5f578adb6d0ba3cabc53d476282c3ae6937b270e59f0c files/bub-n-bros-1.5-home.patch 1819
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
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
SHA256 3eb66ed2ef604c2ba1e3a7f92f57630d45360bf47340984cb2d49c06b143306c bub-n-bros-1.1.ebuild 1706
-MISC ChangeLog 1251 RMD160 64597e58b38d9747e18f09558597069eb85d6b1a SHA1 e15eb676cd429309fbed48b62c149fcd39709378 SHA256 6921ea7db2cd220c6c0c225f4aa8dca6a036f8ac2f5bd8f4edbd434ef7f8f802
-MD5 480a13e721be311a8e12058af3e585f2 ChangeLog 1251
-RMD160 64597e58b38d9747e18f09558597069eb85d6b1a ChangeLog 1251
-SHA256 6921ea7db2cd220c6c0c225f4aa8dca6a036f8ac2f5bd8f4edbd434ef7f8f802 ChangeLog 1251
+EBUILD bub-n-bros-1.5.ebuild 1455 RMD160 489dba78acab336f68129883d7e10533c27f0834 SHA1 eb5ffdaf70beee4c2f9257dd63733a666b0fd346 SHA256 3e51183e76a6d8b766be3bbb9d4d37b5ff74d73942aa47f809a771aeade6cab7
+MD5 d1ddedfd119254b52381a3116156df95 bub-n-bros-1.5.ebuild 1455
+RMD160 489dba78acab336f68129883d7e10533c27f0834 bub-n-bros-1.5.ebuild 1455
+SHA256 3e51183e76a6d8b766be3bbb9d4d37b5ff74d73942aa47f809a771aeade6cab7 bub-n-bros-1.5.ebuild 1455
+MISC ChangeLog 1420 RMD160 9ebd89578ff93b5f37ba79d4d292658aea706904 SHA1 64ad0da80d2f7774ad54ef7fc65a4407ea303dcb SHA256 85a6e557050746cb9c4dea13e8aeefe6071af56f99142cd6048411351fb37a5e
+MD5 b3dd9fed85b312b7f16e803bedfb4a06 ChangeLog 1420
+RMD160 9ebd89578ff93b5f37ba79d4d292658aea706904 ChangeLog 1420
+SHA256 85a6e557050746cb9c4dea13e8aeefe6071af56f99142cd6048411351fb37a5e ChangeLog 1420
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -14,3 +26,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
MD5 38aa913cc3df60906395d8269fb23c1b files/digest-bub-n-bros-1.1 250
RMD160 21aacfda0247d3d9117b9a0d239b654480f58aff files/digest-bub-n-bros-1.1 250
SHA256 c516739b17293c0b2aff50de788f86f8f7172c57cde311910b5158d021e17c57 files/digest-bub-n-bros-1.1 250
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.4 (GNU/Linux)
+
+iD4DBQFGaKqadz7hIScOURERArzMAJdlREJzPTQBeTRNVxN94Li7meNNAJ4oeww9
+r+68bbGhpAh2sdh9I9RqeQ==
+=w0xw
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/bub-n-bros/bub-n-bros-1.5.ebuild b/games-arcade/bub-n-bros/bub-n-bros-1.5.ebuild
new file mode 100644
index 000000000000..7d114a2b543e
--- /dev/null
+++ b/games-arcade/bub-n-bros/bub-n-bros-1.5.ebuild
@@ -0,0 +1,59 @@
+# 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.5.ebuild,v 1.1 2007/06/08 01:02:10 nyhm 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
+}
+
+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.5-home.patch b/games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch
new file mode 100644
index 000000000000..a52dc15c0e16
--- /dev/null
+++ b/games-arcade/bub-n-bros/files/bub-n-bros-1.5-home.patch
@@ -0,0 +1,51 @@
+--- bubbob/images.py
++++ bubbob/images.py
+@@ -427,7 +427,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
++++ display/pclient.py
+@@ -155,8 +155,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
++++ http2/httppages.py
+@@ -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, {}))
+@@ -336,7 +336,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/digest-bub-n-bros-1.5 b/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.5
new file mode 100644
index 000000000000..c0d86d4cad44
--- /dev/null
+++ b/games-arcade/bub-n-bros/files/digest-bub-n-bros-1.5
@@ -0,0 +1,3 @@
+MD5 431fd06ba7f838f61c9200e291060365 bubbros-1.5.tar.bz2 8856240
+RMD160 dafe5004569ed4313d0e470627337810fefec820 bubbros-1.5.tar.bz2 8856240
+SHA256 91db9aa59f2adcd6f79cff475b457901aea82ffe0ebc557012eb3a0a36a3b05b bubbros-1.5.tar.bz2 8856240