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: sci-physics/lightspeed/, sci-physics/lightspeed/files/, profiles/
Date: Fri, 21 Feb 2020 20:23:25
Message-Id: 1582316526.e803de596b681b560f784d109d4fa80728839c1c.mgorny@gentoo
1 commit: e803de596b681b560f784d109d4fa80728839c1c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 21 20:22:06 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 21 20:22:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e803de59
7
8 sci-physics/lightspeed: Remove last-rited pkg
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 profiles/package.mask | 5 --
13 sci-physics/lightspeed/Manifest | 3 -
14 .../files/lightspeed-1.2a-autoconf.patch | 16 -----
15 .../files/lightspeed-1.2a-libpng15.patch | 19 ------
16 sci-physics/lightspeed/lightspeed-1.2a-r3.ebuild | 76 ----------------------
17 sci-physics/lightspeed/metadata.xml | 19 ------
18 6 files changed, 138 deletions(-)
19
20 diff --git a/profiles/package.mask b/profiles/package.mask
21 index 516ef7a103a..819ea3183a2 100644
22 --- a/profiles/package.mask
23 +++ b/profiles/package.mask
24 @@ -591,11 +591,6 @@ sci-chemistry/gabedit
25 # Bug #353119, #435676. Removal in 30 days.
26 sci-chemistry/ghemical
27
28 -# David Seifert <soap@g.o> (2020-01-21)
29 -# Last release over 18 years ago, depends on EOL gtkglext.
30 -# No revdeps, Removal in 30 days.
31 -sci-physics/lightspeed
32 -
33 # Michał Górny <mgorny@g.o> (2020-01-16)
34 # The new version loses Python 2 support but does not introduce any real
35 # changes. Let's mask it to reduce the noise, and hopefully try to get
36
37 diff --git a/sci-physics/lightspeed/Manifest b/sci-physics/lightspeed/Manifest
38 deleted file mode 100644
39 index 58b6ffa7eca..00000000000
40 --- a/sci-physics/lightspeed/Manifest
41 +++ /dev/null
42 @@ -1,3 +0,0 @@
43 -DIST lightspeed-1.2a.tar.gz 163764 BLAKE2B 0a5af8e85c1f45e330b8820c90306ea87b63547a7ea6480b33a58cd934d791f1ee2ab42895d751339bd0ee822a1f9957232c958a3e333c3adefd5c333a5da570 SHA512 d936e54fcf3f5a59b9d4f0ce7777755d8262a71634f9fca0f5f312a2fbf9f5b65d3fe6628d1547cf88ac8a02243712e838e7d84c5e61a6a318484545896b46ef
44 -DIST lightspeed_1.2a-7.diff.gz 379281 BLAKE2B 1cfae528d58b556cede1a2e8c3087f059ccaf1660ff8afca2c41acdc8cd3c676dc8f855b27ff7e795655620cef4af230e4893d02628b7d6b56c82e6d22744bc3 SHA512 f0a9999750470d45f9b7b6f3339fff5d75b461f8f937e16e784905e85a29fc5587b6b203f151f0a8075ea39b255f6d48c4ca78c48703f4ab3cd2d18af7a4df50
45 -DIST objects-1.tar.gz 767805 BLAKE2B cde889eae12913bd6c0f9f2c3206c49a2a946e8acef1080c19339dbad6bdd41a52abf108b052b0723cc43926395572eb9bc8ddc6548af06c6de9b5978a8d97b2 SHA512 cb8c2d5c323b92b87dfe2bfa8f7f37c46b381c4611d5ca2f645a16943339b90850615647f6edc21ae28a28792b0f071e8cac9779dbfdbf6bf928498cdd451231
46
47 diff --git a/sci-physics/lightspeed/files/lightspeed-1.2a-autoconf.patch b/sci-physics/lightspeed/files/lightspeed-1.2a-autoconf.patch
48 deleted file mode 100644
49 index c6b2f9fda71..00000000000
50 --- a/sci-physics/lightspeed/files/lightspeed-1.2a-autoconf.patch
51 +++ /dev/null
52 @@ -1,16 +0,0 @@
53 -diff --git a/configure.in b/configure.in
54 -index 1cfbcba..5363c05 100644
55 ---- a/configure.in
56 -+++ b/configure.in
57 -@@ -54,9 +54,8 @@ if test "x$with_gtk" != "x1" -a "$gtkmorph_gtk" = "" ; then
58 - AC_MSG_NOTICE([ Testing for GTK 2 skipped])
59 - fi
60 - if test "x$with_gtk" != "x2" -a "$version_of_gtk" = "" ; then
61 -- AM_PATH_GTK(1.0.1, , [AC_MSG_ERROR([Cannot find proper GTK+ version])])
62 -- version_of_gtk=gtk1
63 -- AC_DEFINE(HAVE_GTK1,1,"compiled with GTK 1 and GtkGLArea ")
64 -+ AC_MSG_ERROR([Cannot find proper GTK+ version])
65 -+ exit 1
66 - fi
67 -
68 - AM_CONDITIONAL(COND_GTK1, test "$version_of_gtk" = "gtk1" )
69
70 diff --git a/sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch b/sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch
71 deleted file mode 100644
72 index db0d0faa112..00000000000
73 --- a/sci-physics/lightspeed/files/lightspeed-1.2a-libpng15.patch
74 +++ /dev/null
75 @@ -1,19 +0,0 @@
76 ---- a/src/snapshot.c
77 -+++ b/src/snapshot.c
78 -@@ -26,6 +26,7 @@
79 - #include "lightspeed.h"
80 -
81 - #ifdef HAVE_LIBPNG
82 -+#include <zlib.h>
83 - #include <png.h>
84 - static int write_png( int message, const void *data );
85 - #endif
86 -@@ -305,7 +306,7 @@
87 - return -1;
88 - png_write_s = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL );
89 - png_info_s = png_create_info_struct( png_write_s );
90 -- if (setjmp( png_write_s->jmpbuf )) {
91 -+ if (setjmp( png_jmpbuf( png_write_s ) )) {
92 - /* Error writing file */
93 - png_destroy_write_struct( &png_write_s, &png_info_s );
94 - fclose( png_fp );
95
96 diff --git a/sci-physics/lightspeed/lightspeed-1.2a-r3.ebuild b/sci-physics/lightspeed/lightspeed-1.2a-r3.ebuild
97 deleted file mode 100644
98 index dca425296df..00000000000
99 --- a/sci-physics/lightspeed/lightspeed-1.2a-r3.ebuild
100 +++ /dev/null
101 @@ -1,76 +0,0 @@
102 -# Copyright 1999-2018 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=6
106 -inherit autotools desktop readme.gentoo-r1
107 -
108 -DEB_PATCH="${PN}_${PV}-7"
109 -DESCRIPTION="OpenGL interactive relativistic simulator"
110 -HOMEPAGE="http://lightspeed.sourceforge.net/"
111 -SRC_URI="
112 - mirror://sourceforge/${PN}/${P}.tar.gz
113 - mirror://sourceforge/${PN}/objects-1.tar.gz
114 - mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_PATCH}.diff.gz"
115 -
116 -LICENSE="LGPL-2.1"
117 -SLOT="0"
118 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
119 -
120 -IUSE="nls truetype"
121 -
122 -RDEPEND="
123 - media-libs/libpng:0=
124 - media-libs/tiff:0
125 - virtual/opengl
126 - x11-libs/gtkglext
127 - x11-libs/gtkglarea:2
128 - x11-libs/gtk+:2
129 - x11-libs/libXmu
130 - truetype? ( media-libs/ftgl )
131 -"
132 -DEPEND="${RDEPEND}
133 - virtual/pkgconfig
134 -"
135 -
136 -PATCHES=(
137 - "${WORKDIR}/${DEB_PATCH}.diff"
138 - "${FILESDIR}"/${P}-autoconf.patch
139 - "${FILESDIR}"/${P}-libpng15.patch
140 -)
141 -
142 -DOC_CONTENTS="
143 - Some 3d models have been placed in /usr/share/${PN}
144 - You can load them in Light Speed! from the File menu.
145 -"
146 -
147 -src_prepare() {
148 - default
149 - mv configure.{in,ac} || die
150 - eautoreconf
151 -}
152 -
153 -src_configure() {
154 - econf \
155 - --with-gtk=2 \
156 - $(use_enable nls) \
157 - $(use_with truetype ftgl)
158 -}
159 -
160 -src_install() {
161 - default
162 -
163 - newicon src/icon.xpm lightspeed.xpm
164 - make_desktop_entry ${PN} "Light Speed! Relativistic Simulator"
165 -
166 - readme.gentoo_create_doc
167 - newdoc debian/changelog ChangeLog.Debian
168 - cd "${WORKDIR}/objects" || die
169 - newdoc README objects-README
170 -
171 - insinto /usr/share/${PN}
172 - doins *.3ds *.lwo
173 -}
174 -
175 -pkg_postinst() {
176 - readme.gentoo_print_elog
177 -}
178
179 diff --git a/sci-physics/lightspeed/metadata.xml b/sci-physics/lightspeed/metadata.xml
180 deleted file mode 100644
181 index 49af49355b3..00000000000
182 --- a/sci-physics/lightspeed/metadata.xml
183 +++ /dev/null
184 @@ -1,19 +0,0 @@
185 -<?xml version="1.0" encoding="UTF-8"?>
186 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
187 -<pkgmetadata>
188 - <maintainer type="project">
189 - <email>sci-physics@g.o</email>
190 - <name>Gentoo Physics Project</name>
191 - </maintainer>
192 - <longdescription lang="en">
193 - Light Speed! is an OpenGL-based program developed to illustrate the
194 - effects of special relativity on the appearance of moving
195 - objects. The moving object is, by default, a geometric lattice. 3D
196 - Studio and LightWave 3D objects may be imported as well. Best of
197 - all, the simulator is completely interactive, rendering the exotic
198 - distortions in real-time.
199 -</longdescription>
200 - <upstream>
201 - <remote-id type="sourceforge">lightspeed</remote-id>
202 - </upstream>
203 -</pkgmetadata>