Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, games-action/accelerator3d/, games-action/accelerator3d/files/
Date: Mon, 03 Feb 2020 06:10:55
Message-Id: 1580710150.ace0a7714d7170f2911187f42827b68e2e578d4e.mgorny@gentoo
1 commit: ace0a7714d7170f2911187f42827b68e2e578d4e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 3 06:09:10 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 3 06:09:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace0a771
7
8 games-action/accelerator3d: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/703762
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 games-action/accelerator3d/Manifest | 1 -
14 .../accelerator3d/accelerator3d-0.1.1-r3.ebuild | 47 -------------------
15 .../files/accelerator3d-0.1.1-gentoo-paths.patch | 53 ----------------------
16 .../files/accelerator3d-0.1.1-gllightmodel.patch | 11 -----
17 games-action/accelerator3d/metadata.xml | 11 -----
18 profiles/package.mask | 5 --
19 6 files changed, 128 deletions(-)
20
21 diff --git a/games-action/accelerator3d/Manifest b/games-action/accelerator3d/Manifest
22 deleted file mode 100644
23 index adcbb98cf6e..00000000000
24 --- a/games-action/accelerator3d/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST accelerator-0.1.1.tar.bz2 1183838 BLAKE2B 8c7b888e4eadc0a1ed63745904db94757cfa73557664e0b2a7f7c8960990eb82991be9b1b42cb0d60f3af113867a2a02fb9304bd97f7658fec7d86efe5747c34 SHA512 f4321beb5f5b61c10d0b275321641ec173636267ae08cf88f7a2ecaaf0799cfe6593cbc7343c8ebfa72853c59773841295b1aca9a0ac0ef510de390107aa01da
28
29 diff --git a/games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild b/games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild
30 deleted file mode 100644
31 index 2013913e62f..00000000000
32 --- a/games-action/accelerator3d/accelerator3d-0.1.1-r3.ebuild
33 +++ /dev/null
34 @@ -1,47 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -PYTHON_COMPAT=( python2_7 )
41 -inherit desktop python-r1
42 -
43 -DESCRIPTION="Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vain of Tempest or n2o"
44 -HOMEPAGE="http://accelerator3d.sourceforge.net/"
45 -SRC_URI="mirror://sourceforge/accelerator3d/accelerator-${PV}.tar.bz2"
46 -
47 -LICENSE="Artistic"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE=""
51 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 -
53 -DEPEND="${PYTHON_DEPS}"
54 -RDEPEND="${DEPEND}
55 - dev-python/pygame[${PYTHON_USEDEP}]
56 - dev-python/pyode[${PYTHON_USEDEP}]
57 - dev-python/pyopengl[${PYTHON_USEDEP}]"
58 -
59 -S=${WORKDIR}/${PN}
60 -
61 -PATCHES=(
62 - "${FILESDIR}"/${P}-gentoo-paths.patch
63 - "${FILESDIR}"/${P}-gllightmodel.patch
64 -)
65 -
66 -src_prepare() {
67 - default
68 -
69 - sed -i \
70 - -e "s:@GENTOO_DATADIR@:${EPREFIX}/usr/share/${PN}:" \
71 - accelerator.py || die
72 -}
73 -
74 -src_install() {
75 - python_foreach_impl python_newscript accelerator.py accelerator
76 -
77 - insinto /usr/share/${PN}
78 - doins -r gfx/. snd/.
79 - einstalldocs
80 - make_desktop_entry accelerator
81 -}
82
83 diff --git a/games-action/accelerator3d/files/accelerator3d-0.1.1-gentoo-paths.patch b/games-action/accelerator3d/files/accelerator3d-0.1.1-gentoo-paths.patch
84 deleted file mode 100644
85 index 526fa678fdb..00000000000
86 --- a/games-action/accelerator3d/files/accelerator3d-0.1.1-gentoo-paths.patch
87 +++ /dev/null
88 @@ -1,53 +0,0 @@
89 ---- a/accelerator.py 2006-04-18 21:51:28.000000000 +0200
90 -+++ b/accelerator.py 2006-04-18 22:07:28.000000000 +0200
91 -@@ -72,7 +72,7 @@
92 - # default parameters on it (min/mag filters, wrapping).
93 - def __init__(self,texfile,mipmap = False):
94 - global activeTexture
95 -- filename = os.path.join('gfx',texfile)
96 -+ filename = os.path.join('@GENTOO_DATADIR@',texfile)
97 - image = pygame.image.load(filename)
98 - data = pygame.image.tostring(image,'RGBX')
99 - self.__texref = glGenTextures(1)
100 -@@ -599,8 +599,8 @@
101 - for i in xrange(len(self.__menu[j][0])):
102 - font.addString(self.__menu[j][0][i])
103 - if (soundon):
104 -- self.__browsesound = pygame.mixer.Sound(os.path.join('snd','menu_browse.wav'))
105 -- self.__selectsound = pygame.mixer.Sound(os.path.join('snd','menu_select.wav'))
106 -+ self.__browsesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','menu_browse.wav'))
107 -+ self.__selectsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','menu_select.wav'))
108 -
109 - def doLoop(self):
110 - global elapsed, z_increment, font
111 -@@ -792,19 +792,19 @@
112 -
113 - # sound!
114 - if soundon:
115 -- self.__shootsound = pygame.mixer.Sound(os.path.join('snd','shoot.wav'))
116 -- self.__cluonsound = pygame.mixer.Sound(os.path.join('snd','cluon.wav'))
117 -- self.__bogonsound = pygame.mixer.Sound(os.path.join('snd','bogon.wav'))
118 -- self.__shipdeadsound = pygame.mixer.Sound(os.path.join('snd','ship_explode.wav'))
119 -- self.__shocksound = pygame.mixer.Sound(os.path.join('snd','electricshock.wav'))
120 -- self.__thudsound = pygame.mixer.Sound(os.path.join('snd','thud.wav'))
121 -- self.__enginesound = pygame.mixer.Sound(os.path.join('snd','engine.wav'))
122 -- self.__chargesound = pygame.mixer.Sound(os.path.join('snd','neon.wav'))
123 -+ self.__shootsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','shoot.wav'))
124 -+ self.__cluonsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','cluon.wav'))
125 -+ self.__bogonsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','bogon.wav'))
126 -+ self.__shipdeadsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','ship_explode.wav'))
127 -+ self.__shocksound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','electricshock.wav'))
128 -+ self.__thudsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','thud.wav'))
129 -+ self.__enginesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','engine.wav'))
130 -+ self.__chargesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','neon.wav'))
131 - self.__chargeplaying = False
132 -- self.__scrapesound = pygame.mixer.Sound(os.path.join('snd','scrape.wav'))
133 -+ self.__scrapesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','scrape.wav'))
134 - self.__scrapeplaying = False
135 -- self.__slamsound = pygame.mixer.Sound(os.path.join('snd','slam.wav'))
136 -- self.__phlogsound = pygame.mixer.Sound(os.path.join('snd','phlogiston.wav'))
137 -+ self.__slamsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','slam.wav'))
138 -+ self.__phlogsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','phlogiston.wav'))
139 -
140 - # reserve channel 0 for bullet sounds
141 - pygame.mixer.set_reserved(2)
142
143 diff --git a/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch b/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch
144 deleted file mode 100644
145 index 31d0a8b5b4c..00000000000
146 --- a/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch
147 +++ /dev/null
148 @@ -1,11 +0,0 @@
149 ---- a/accelerator.py
150 -+++ b/accelerator.py
151 -@@ -274,7 +274,7 @@
152 - glColorMaterial(GL_FRONT,GL_AMBIENT_AND_DIFFUSE)
153 - glMaterialfv(GL_FRONT,GL_SHININESS,128)
154 - glMaterialfv(GL_FRONT,GL_SPECULAR,(0.5,0.5,0.5,1))
155 -- glLightModel(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
156 -+ glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
157 - glEnable(GL_LINE_SMOOTH)
158 - glEnable(GL_NORMALIZE)
159 - #glPolygonMode(GL_FRONT,GL_LINE)
160
161 diff --git a/games-action/accelerator3d/metadata.xml b/games-action/accelerator3d/metadata.xml
162 deleted file mode 100644
163 index eaa5ae72c1f..00000000000
164 --- a/games-action/accelerator3d/metadata.xml
165 +++ /dev/null
166 @@ -1,11 +0,0 @@
167 -<?xml version="1.0" encoding="UTF-8"?>
168 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
169 -<pkgmetadata>
170 - <maintainer type="project">
171 - <email>games@g.o</email>
172 - <name>Gentoo Games Project</name>
173 - </maintainer>
174 - <upstream>
175 - <remote-id type="sourceforge">accelerator3d</remote-id>
176 - </upstream>
177 -</pkgmetadata>
178
179 diff --git a/profiles/package.mask b/profiles/package.mask
180 index 10ff49cd33d..c595653daa5 100644
181 --- a/profiles/package.mask
182 +++ b/profiles/package.mask
183 @@ -774,11 +774,6 @@ games-arcade/pycadia
184 # Removal in 30 days. Bug #703764.
185 games-arcade/bub-n-bros
186
187 -# David Seifert <soap@g.o> (2019-12-25)
188 -# Py2 only, upstream abandoned since 2005.
189 -# Removal in 30 days. Bug #703762.
190 -games-action/accelerator3d
191 -
192 # Tomáš Mózes <hydrapolic@g.o> (2019-12-19)
193 # Needs more testing.
194 =app-emulation/xen-4.13.0