diff options
author | Tristan Heaven <tristan@gentoo.org> | 2010-01-24 19:05:43 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2010-01-24 19:05:43 +0000 |
commit | 93321b564aebb49f6defae4d423bc1ac2188f1c1 (patch) | |
tree | da67e628ec115b80de6750613aa492fdf584c3f4 /games-action | |
parent | apple-opengl was renamed to opengl-apple (diff) | |
download | historical-93321b564aebb49f6defae4d423bc1ac2188f1c1.tar.gz historical-93321b564aebb49f6defae4d423bc1ac2188f1c1.tar.bz2 historical-93321b564aebb49f6defae4d423bc1ac2188f1c1.zip |
Fix runtime error with recent pyopengl versions, bug #297521
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/accelerator3d/ChangeLog | 11 | ||||
-rw-r--r-- | games-action/accelerator3d/Manifest | 12 | ||||
-rw-r--r-- | games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild | 39 | ||||
-rw-r--r-- | games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch | 11 |
4 files changed, 66 insertions, 7 deletions
diff --git a/games-action/accelerator3d/ChangeLog b/games-action/accelerator3d/ChangeLog index 3664df44803f..f25c5c020f7d 100644 --- a/games-action/accelerator3d/ChangeLog +++ b/games-action/accelerator3d/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-action/accelerator3d -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.5 2009/12/09 22:32:01 fauli Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.6 2010/01/24 19:05:42 nyhm Exp $ + +*accelerator3d-0.1.1-r1 (24 Jan 2010) + + 24 Jan 2010; Tristan Heaven <nyhm@gentoo.org> + +accelerator3d-0.1.1-r1.ebuild, + +files/accelerator3d-0.1.1-gllightmodel.patch: + Fix runtime error with recent pyopengl versions, bug #297521 09 Dec 2009; Christian Faulhammer <fauli@gentoo.org> accelerator3d-0.1.1.ebuild: diff --git a/games-action/accelerator3d/Manifest b/games-action/accelerator3d/Manifest index 21b6981fbd41..292040c38eb3 100644 --- a/games-action/accelerator3d/Manifest +++ b/games-action/accelerator3d/Manifest @@ -2,14 +2,16 @@ Hash: SHA1 AUX accelerator3d-0.1.1-gentoo-paths.patch 3073 RMD160 92abdf0ed7b2011eba78ed4c92aa4f20775c5fa1 SHA1 8a84333475e5d2adc2d562365b406df7d8608d60 SHA256 ab2e24e8d482747715fd085d14d2b533d75876c7a819442b66a21b41bfd62d6c +AUX accelerator3d-0.1.1-gllightmodel.patch 570 RMD160 ce60de2e3e6bbb6c07401fe67377d76f287849c8 SHA1 ecc8ba471e8c7b3354566786b11f0c50bed7f53a SHA256 b59af2678c2fab2c246cca2b03171fbf460a2d4a9864fe04a6a2075c3f27820a DIST accelerator-0.1.1.tar.bz2 1183838 RMD160 f04b6ecfc8cf3b7e34f6c1df57bb038b78d3b001 SHA1 55fd3bb122c007ca3b3ce9e176c56e6021fcb63b SHA256 02fac1b6fc9bb5708f53ef7bcf123f5a4a04261e2764f984d3e3c64e06a74712 +EBUILD accelerator3d-0.1.1-r1.ebuild 1050 RMD160 79a3113f4269334358d632a212c2500a44f8b0be SHA1 f0a3068d7be245660e5f922e5f370bc8926177b0 SHA256 023948c0e1c8bddc09c0bfb51707b1127403b660ad51df5092c3bc06eae91c0b EBUILD accelerator3d-0.1.1.ebuild 1001 RMD160 8b6e7c43fa2a12536e773b9ff4cec26acaaeced9 SHA1 88a52717fc3d81c748c60bca524cd62f6d021ced SHA256 85eb574b51220b0682c2fdb7cc5eb00e79573c7c15a8675f80c1c875a1d4df76 -MISC ChangeLog 909 RMD160 82ab85599437648edc95de61ae053f4a45600061 SHA1 a8036666313fa4b7a55865f8e1284c2bab42c7d5 SHA256 d45c7b1c02fe3c2421a9a1dcd21a7532c28502e2ded3c9b53a025619b68317a5 +MISC ChangeLog 1142 RMD160 9a97f465e6690eb8512af05e4cd3e8e2707306c5 SHA1 9204aa0e1a2e68ec6c50c7fc56f513021f90a4b0 SHA256 db2b1aa617b5638b9b8e257d15d59a13e2131f7c26d31d54d9d2b2069c31ba60 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAksgJXMACgkQNQqtfCuFneN45wCfTCNVY3cP8T+YQ3QYq/Roe8Ia -KzQAn07WybZZZVhhc6k7ajdPCRe9YC9K -=wPG7 +iEYEARECAAYFAktcmgwACgkQdz7hIScOUREZXACgtYlhEv86WpX09EYDAkinaccv +3rcAoLM18x23Hy0w3FdIOHlvjBgGqZcT +=bDcM -----END PGP SIGNATURE----- diff --git a/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild b/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild new file mode 100644 index 000000000000..b5e315c0595b --- /dev/null +++ b/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild,v 1.1 2010/01/24 19:05:42 nyhm Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vain of Tempest or n2o" +HOMEPAGE="http://accelerator3d.sourceforge.net/" +SRC_URI="mirror://sourceforge/accelerator3d/accelerator-${PV}.tar.bz2" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-python/pyode + dev-python/pygame + dev-python/pyopengl + virtual/python" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo-paths.patch \ + "${FILESDIR}"/${P}-gllightmodel.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + accelerator.py || die +} + +src_install() { + newgamesbin accelerator.py accelerator || die "newgamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins gfx/* snd/* || die "doins failed" + dodoc CHANGELOG README + prepgamesdirs +} diff --git a/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch b/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch new file mode 100644 index 000000000000..b850ccfa5bab --- /dev/null +++ b/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch @@ -0,0 +1,11 @@ +--- accelerator.py ++++ accelerator.py +@@ -274,7 +274,7 @@ + glColorMaterial(GL_FRONT,GL_AMBIENT_AND_DIFFUSE) + glMaterialfv(GL_FRONT,GL_SHININESS,128) + glMaterialfv(GL_FRONT,GL_SPECULAR,(0.5,0.5,0.5,1)) +- glLightModel(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR ++ glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR + glEnable(GL_LINE_SMOOTH) + glEnable(GL_NORMALIZE) + #glPolygonMode(GL_FRONT,GL_LINE) |