Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/freewrl/files/, media-gfx/freewrl/, profiles/
Date: Sun, 30 May 2021 22:00:31
Message-Id: 1622412004.1646ada2285f277f83042ea17a45a336f7e64172.asturm@gentoo
1 commit: 1646ada2285f277f83042ea17a45a336f7e64172
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 30 22:00:04 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 22:00:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1646ada2
7
8 media-gfx/freewrl: Remove last-rited package
9
10 Bug: https://bugs.gentoo.org/446508
11 Bug: https://bugs.gentoo.org/678776
12 Bug: https://bugs.gentoo.org/682600
13 Bug: https://bugs.gentoo.org/787407
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 media-gfx/freewrl/Manifest | 1 -
17 .../freewrl/files/freewrl-3.0.0-fno-common.patch | 11 --
18 media-gfx/freewrl/freewrl-3.0.0-r1.ebuild | 143 --------------------
19 media-gfx/freewrl/freewrl-9999.ebuild | 144 ---------------------
20 media-gfx/freewrl/metadata.xml | 23 ----
21 profiles/package.mask | 6 -
22 6 files changed, 328 deletions(-)
23
24 diff --git a/media-gfx/freewrl/Manifest b/media-gfx/freewrl/Manifest
25 deleted file mode 100644
26 index f8254aa54db..00000000000
27 --- a/media-gfx/freewrl/Manifest
28 +++ /dev/null
29 @@ -1 +0,0 @@
30 -DIST freewrl-3.0.0.tar.bz2 1567282 BLAKE2B 84bf924ce51d70aca0baa504dba0726af82b3d2ff93de87bd18ab772f6bdbcc50807a496c14264006894b6c52bfe9844e672412162f3df1107453fa1f8b066a3 SHA512 12e75c6891238fbc9c750a9449c8a6a9f4b86124ac12871adbfb3c68b7ef09f35d3709dcb63693e50f8ac824170aef3b97854a72de0b324e67fbbb7c081675a0
31
32 diff --git a/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch b/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch
33 deleted file mode 100644
34 index e3fbc2d736e..00000000000
35 --- a/media-gfx/freewrl/files/freewrl-3.0.0-fno-common.patch
36 +++ /dev/null
37 @@ -1,11 +0,0 @@
38 ---- a/src/lib/desktop.c
39 -+++ b/src/lib/desktop.c
40 -@@ -233,7 +233,7 @@ enum {
41 - url2file_task_spawn,
42 - } url2file_task_tactic;
43 -
44 --enum {
45 -+typedef enum {
46 - file2blob_task_chain,
47 - file2blob_task_spawn,
48 - file2blob_task_enqueue,
49
50 diff --git a/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild b/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild
51 deleted file mode 100644
52 index 545457a3552..00000000000
53 --- a/media-gfx/freewrl/freewrl-3.0.0-r1.ebuild
54 +++ /dev/null
55 @@ -1,143 +0,0 @@
56 -# Copyright 1999-2021 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=5
60 -
61 -inherit autotools nsplugins epatch java-pkg-opt-2 multilib toolchain-funcs
62 -
63 -if [[ ${PV} == "9999" ]]; then
64 - inherit git-r3
65 - EGIT_REPO_URI="git://git.code.sf.net/p/freewrl/git"
66 - S="${WORKDIR}/${P}/freex3d"
67 -else
68 - SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2"
69 - KEYWORDS="~amd64 ~x86"
70 -fi
71 -
72 -DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin"
73 -HOMEPAGE="http://freewrl.sourceforge.net/"
74 -
75 -LICENSE="GPL-3"
76 -SLOT="0"
77 -IUSE="curl debug java libeai motif +nsplugin opencl osc +sox static-libs"
78 -
79 -COMMONDEPEND="x11-libs/libICE
80 - x11-libs/libSM
81 - x11-libs/libX11
82 - x11-libs/libXext
83 - x11-libs/libXmu
84 - x11-libs/libXt
85 - x11-libs/libXxf86vm
86 - motif? ( x11-libs/motif:0= )
87 - !motif? ( x11-libs/libXaw )
88 - media-libs/mesa
89 - virtual/opengl
90 - media-libs/freealut
91 - media-libs/openal
92 - media-libs/libpng:0=
93 - virtual/jpeg:0=
94 - media-libs/imlib2
95 - >=media-libs/freetype-2
96 - media-libs/fontconfig
97 - curl? ( net-misc/curl )
98 - osc? ( media-libs/liblo )
99 - opencl? ( virtual/opencl )
100 - dev-lang/spidermonkey:0="
101 -DEPEND="${COMMONDEPEND}
102 - virtual/pkgconfig
103 - java? ( >=virtual/jdk-1.4 )
104 - nsplugin? ( net-misc/npapi-sdk )"
105 -RDEPEND="${COMMONDEPEND}
106 - media-fonts/dejavu
107 - app-arch/unzip
108 - virtual/imagemagick-tools
109 - java? ( >=virtual/jre-1.4 )
110 - sox? ( media-sound/sox )"
111 -
112 -src_prepare() {
113 - epatch_user
114 - epatch "${FILESDIR}"/${P}-fno-common.patch
115 - eautoreconf
116 -}
117 -
118 -src_configure() {
119 - # list of js libs without .pc support, to disable ./configure auto-checking
120 - local spidermonkeys=( mozilla-js xulrunner-js firefox-js firefox2-js seamonkey-js )
121 - # list of .pc supported spidermonkeys, to disable ./configure auto-checking
122 - local spidermonkeys_pc=( mozjs187 mozjs185 )
123 -
124 - local myconf="--enable-fontconfig
125 - --without-expat
126 - --with-x
127 - --with-imageconvert=/usr/bin/convert
128 - --with-unzip=/usr/bin/unzip
129 - --disable-mozjs-17.0
130 - ${spidermonkeys[@]/#/ --disable-}"
131 -
132 - if has_version "<dev-lang/spidermonkey-1.8.5" ; then
133 - # spidermonkey pre-1.8.5 has no pkg-config, so override ./configure
134 - myconf+="${spidermonkeys_pc[@]/#/ --disable-}"
135 - JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX"
136 - if has_version ">=dev-lang/spidermonkey-1.8:0" ; then
137 - # spidermonkey-1.8 changed the name of the lib
138 - JAVASCRIPT_ENGINE_LIBS="-lmozjs"
139 - else
140 - JAVASCRIPT_ENGINE_LIBS="-ljs"
141 - fi
142 - if has_version "dev-lang/spidermonkey:0[threadsafe]" ; then
143 - JAVASCRIPT_ENGINE_CFLAGS+=" -DJS_THREADSAFE $($(tc-getPKG_CONFIG) --cflags nspr)"
144 - JAVASCRIPT_ENGINE_LIBS="$($(tc-getPKG_CONFIG) --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}"
145 - fi
146 - export JAVASCRIPT_ENGINE_CFLAGS
147 - export JAVASCRIPT_ENGINE_LIBS
148 - fi
149 - if use nsplugin; then
150 - myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}"
151 - myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin"
152 - fi
153 - econf ${myconf} \
154 - $(use_enable curl libcurl) \
155 - $(use_with opencl OpenCL) \
156 - $(use_enable debug) $(use_enable debug thread_colorized) \
157 - $(use_enable libeai) \
158 - $(use_enable java) \
159 - $(use_enable nsplugin plugin) \
160 - $(use_enable osc) \
161 - $(use_enable static-libs static) \
162 - $(use_enable sox sound) \
163 - $(usex sox "--with-soundconv=/usr/bin/sox") \
164 - $(usex motif "--with-target=motif" "--with-target=x11") \
165 - $(usex motif "--with-statusbar=standard" "--with-statusbar=hud")
166 -}
167 -
168 -src_install() {
169 - emake DESTDIR="${D}" install
170 -
171 - if use java; then
172 - insinto /usr/share/${PN}/lib
173 - doins src/java/java.policy
174 - java-pkg_regjar src/java/vrml.jar
175 - # install vrml.jar as a JRE extension
176 - dodir /usr/java/packages/lib/ext
177 - dosym /usr/share/${PN}/lib/vrml.jar /usr/java/packages/lib/ext/vrml.jar
178 - if ! has_version "media-gfx/freewrl[java]" ; then
179 - elog "Because vrml.jar requires access to sockets, you will need to incorporate the"
180 - elog "contents of /usr/share/${PN}/lib/java.policy into your system or user's default"
181 - elog "java policy:"
182 - elog " cat /usr/share/${PN}/lib/java.policy >>~/.java.policy"
183 - fi
184 - fi
185 -
186 - # remove unneeded .la files (as per Flameeyes' rant)
187 - cd "${D}"
188 - rm "usr/$(get_libdir)"/*.la "usr/$(get_libdir)/${PLUGINS_DIR}"/*.la
189 -}
190 -
191 -pkg_postinst() {
192 - if [[ -z ${REPLACING_VERSIONS} ]]; then
193 - elog "By default, FreeWRL expects to find the 'firefox' binary in your include"
194 - elog "path. If you do not have firefox installed or you wish to use a different"
195 - elog "web browser to open links that are within VRML / X3D files, please be sure to"
196 - elog "specify the command via your BROWSER environment variable."
197 - fi
198 -}
199
200 diff --git a/media-gfx/freewrl/freewrl-9999.ebuild b/media-gfx/freewrl/freewrl-9999.ebuild
201 deleted file mode 100644
202 index 3e3d9594c1e..00000000000
203 --- a/media-gfx/freewrl/freewrl-9999.ebuild
204 +++ /dev/null
205 @@ -1,144 +0,0 @@
206 -# Copyright 1999-2021 Gentoo Authors
207 -# Distributed under the terms of the GNU General Public License v2
208 -
209 -EAPI=5
210 -
211 -inherit autotools nsplugins epatch java-pkg-opt-2 multilib toolchain-funcs
212 -
213 -if [[ ${PV} == "9999" ]]; then
214 - inherit git-r3
215 - EGIT_REPO_URI="https://git.code.sf.net/p/freewrl/git"
216 - EGIT_BRANCH="develop"
217 - S="${WORKDIR}/${P}/freex3d"
218 -else
219 - SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2"
220 - KEYWORDS="~amd64 ~x86"
221 -fi
222 -
223 -DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin"
224 -HOMEPAGE="http://freewrl.sourceforge.net/"
225 -LICENSE="GPL-3"
226 -SLOT="0"
227 -IUSE="curl debug java libeai motif +nsplugin opencl osc rbp +sox static-libs"
228 -
229 -COMMONDEPEND="x11-libs/libICE
230 - x11-libs/libSM
231 - x11-libs/libX11
232 - x11-libs/libXext
233 - x11-libs/libXmu
234 - x11-libs/libXt
235 - x11-libs/libXxf86vm
236 - motif? ( x11-libs/motif:0= )
237 - !motif? ( x11-libs/libXaw )
238 - media-libs/mesa
239 - virtual/opengl
240 - media-libs/freealut
241 - media-libs/openal
242 - media-libs/libpng:0=
243 - virtual/jpeg:0=
244 - media-libs/imlib2
245 - >=media-libs/freetype-2
246 - media-libs/fontconfig
247 - curl? ( net-misc/curl )
248 - osc? ( media-libs/liblo )
249 - opencl? ( virtual/opencl )
250 - rbp? ( dev-games/ode:0=[double-precision] )
251 - dev-lang/spidermonkey:0="
252 -DEPEND="${COMMONDEPEND}
253 - virtual/pkgconfig
254 - java? ( >=virtual/jdk-1.4 )
255 - nsplugin? ( net-misc/npapi-sdk )"
256 -RDEPEND="${COMMONDEPEND}
257 - media-fonts/dejavu
258 - app-arch/unzip
259 - virtual/imagemagick-tools
260 - java? ( >=virtual/jre-1.4 )
261 - sox? ( media-sound/sox )"
262 -
263 -src_prepare() {
264 - epatch_user
265 - eautoreconf
266 -}
267 -
268 -src_configure() {
269 - # list of js libs without .pc support, to disable ./configure auto-checking
270 - local spidermonkeys=( mozilla-js )
271 - # list of .pc supported spidermonkeys, to disable ./configure auto-checking
272 - local spidermonkeys_pc=( mozjs187 mozjs185 )
273 -
274 - local myconf="--enable-fontconfig
275 - --without-expat
276 - --with-x
277 - --with-imageconvert=/usr/bin/convert
278 - --with-unzip=/usr/bin/unzip
279 - --with-javascript=spidermonkey
280 - ${spidermonkeys[@]/#/ --disable-}"
281 -
282 - if has_version "<dev-lang/spidermonkey-1.8.5:0" ; then
283 - # spidermonkey pre-1.8.5 has no pkg-config, so override ./configure
284 - myconf+="${spidermonkeys_pc[@]/#/ --disable-}"
285 - JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX"
286 - if has_version ">=dev-lang/spidermonkey-1.8:0" ; then
287 - # spidermonkey-1.8 changed the name of the lib
288 - JAVASCRIPT_ENGINE_LIBS="-lmozjs"
289 - else
290 - JAVASCRIPT_ENGINE_LIBS="-ljs"
291 - fi
292 - if has_version "dev-lang/spidermonkey:0[threadsafe]" ; then
293 - JAVASCRIPT_ENGINE_CFLAGS+=" -DJS_THREADSAFE $($(tc-getPKG_CONFIG) --cflags nspr)"
294 - JAVASCRIPT_ENGINE_LIBS="$($(tc-getPKG_CONFIG) --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}"
295 - fi
296 - export JAVASCRIPT_ENGINE_CFLAGS
297 - export JAVASCRIPT_ENGINE_LIBS
298 - fi
299 - if use nsplugin; then
300 - myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}"
301 - myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin"
302 - fi
303 - econf ${myconf} \
304 - $(use_enable curl libcurl) \
305 - $(use_with opencl OpenCL) \
306 - $(use_enable debug) $(use_enable debug thread_colorized) \
307 - $(use_enable libeai) \
308 - $(use_enable java) \
309 - $(use_enable nsplugin plugin) \
310 - $(use_enable osc) \
311 - $(use_enable rbp) \
312 - $(use_enable static-libs static) \
313 - $(use_enable sox sound) \
314 - $(usex sox "--with-soundconv=/usr/bin/sox") \
315 - $(usex motif "--with-target=motif" "--with-target=x11") \
316 - $(usex motif "--with-statusbar=standard" "--with-statusbar=hud")
317 -}
318 -
319 -src_install() {
320 - emake DESTDIR="${D}" install
321 -
322 - if use java; then
323 - insinto /usr/share/${PN}/lib
324 - doins src/java/java.policy
325 - java-pkg_regjar src/java/vrml.jar
326 - # install vrml.jar as a JRE extension
327 - dodir /usr/java/packages/lib/ext
328 - dosym /usr/share/${PN}/lib/vrml.jar /usr/java/packages/lib/ext/vrml.jar
329 - if ! has_version "media-gfx/freewrl[java]" ; then
330 - elog "Because vrml.jar requires access to sockets, you will need to incorporate the"
331 - elog "contents of /usr/share/${PN}/lib/java.policy into your system or user's default"
332 - elog "java policy:"
333 - elog " cat /usr/share/${PN}/lib/java.policy >>~/.java.policy"
334 - fi
335 - fi
336 -
337 - # remove unneeded .la files (as per Flameeyes' rant)
338 - cd "${D}"
339 - rm "usr/$(get_libdir)"/*.la "usr/$(get_libdir)/${PLUGINS_DIR}"/*.la
340 -}
341 -
342 -pkg_postinst() {
343 - if [[ -z ${REPLACING_VERSIONS} ]]; then
344 - elog "By default, FreeWRL expects to find the 'firefox' binary in your include"
345 - elog "path. If you do not have firefox installed or you wish to use a different"
346 - elog "web browser to open links that are within VRML / X3D files, please be sure to"
347 - elog "specify the command via your BROWSER environment variable."
348 - fi
349 -}
350
351 diff --git a/media-gfx/freewrl/metadata.xml b/media-gfx/freewrl/metadata.xml
352 deleted file mode 100644
353 index 46c0887e1b1..00000000000
354 --- a/media-gfx/freewrl/metadata.xml
355 +++ /dev/null
356 @@ -1,23 +0,0 @@
357 -<?xml version="1.0" encoding="UTF-8"?>
358 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
359 -<pkgmetadata>
360 - <!-- maintainer-needed -->
361 - <longdescription>
362 -FreeWRL is a VRML97 (VRML-2.0) and X3D interactive viewer, providing both a traditional Xorg application
363 -and a nsbrowser plugin for use with many available web browsers. The package depends heavily on OpenGL
364 -support for rendering. When developing your 3D world or model, you can program with GLSL Shaders using the
365 -X3D Shaders Component, put your model exactly where you want them with the Geospatial Component, or just
366 -throw triangles to the screen as Extrusions, IndexedFaceSets, TriangleSets, Circle2D, Disk2D, Spheres, Boxes,
367 -Cubes; the list goes on and on. With royalty free open standards, your models will continue to render, year after year.
368 -</longdescription>
369 - <use>
370 - <flag name="libeai">Build EAI C library</flag>
371 - <flag name="opencl">Enable OpenCL support</flag>
372 - <flag name="osc">Allows for OSC-based control and communication between multiple freewrl instances</flag>
373 - <flag name="rbp">Enable support for Rigid Body Physics</flag>
374 - <flag name="java">Build and install java EAI/SAI support library</flag>
375 - </use>
376 - <upstream>
377 - <remote-id type="sourceforge">freewrl</remote-id>
378 - </upstream>
379 -</pkgmetadata>
380
381 diff --git a/profiles/package.mask b/profiles/package.mask
382 index f9521236c43..1e1e9a077e2 100644
383 --- a/profiles/package.mask
384 +++ b/profiles/package.mask
385 @@ -406,12 +406,6 @@ dev-java/cldc-api
386 # Removal on 2021-05-31
387 www-plugins/google-talkplugin
388
389 -# Andreas Sturmlechner <asturm@g.o> (2021-05-01)
390 -# Unmaintained, java depends on deprecated JDK-7, nsplugin is dead.
391 -# Multiple bugs: #446508, #678776, #682600, #787407
392 -# Removal on 2021-05-31
393 -media-gfx/freewrl
394 -
395 # Michał Górny <mgorny@g.o> (2021-05-01)
396 # The following packages have not been ported to Python 3.8, and are
397 # therefore going to be removed when support for Python 3.7 target is