Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: media-sound/gnump3d/, media-sound/gnump3d/files/
Date: Mon, 21 Jun 2021 05:59:39
Message-Id: 1624255134.0145211c59dfee04e6952eb0141c0f4a3fcd0404.sam@gentoo
1 commit: 0145211c59dfee04e6952eb0141c0f4a3fcd0404
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 21 05:58:54 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 21 05:58:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=0145211c
7
8 media-sound/gnump3d: drop broken package
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 media-sound/gnump3d/Manifest | 1 -
13 media-sound/gnump3d/files/gnump3d-3.0-prefix.patch | 13 ----
14 media-sound/gnump3d/files/gnump3d.conf.d | 5 --
15 media-sound/gnump3d/files/gnump3d.init.d | 37 ---------
16 media-sound/gnump3d/gnump3d-3.0-r1.ebuild | 87 ----------------------
17 media-sound/gnump3d/gnump3d-3.0.ebuild | 79 --------------------
18 media-sound/gnump3d/metadata.xml | 8 --
19 7 files changed, 230 deletions(-)
20
21 diff --git a/media-sound/gnump3d/Manifest b/media-sound/gnump3d/Manifest
22 deleted file mode 100644
23 index abae458706..0000000000
24 --- a/media-sound/gnump3d/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST gnump3d-3.0.tar.bz2 633215 BLAKE2B aec3e2e95ebcbf2b9465f8f7e5cf579fe64e9e48d3b1757f78d3102f3a02f92970cbccc5986741013505e1b2f0e54e0d7a7c3871837c6169898e763f23e7fcca SHA512 23778604b557346e42f5cd2045cc394c7d6f7044479c74cd635dfdbbfd6835c8e3ad761d54c5cba239cc5e020b049ac11d64eb463272fc4134b7645226e2524b
28
29 diff --git a/media-sound/gnump3d/files/gnump3d-3.0-prefix.patch b/media-sound/gnump3d/files/gnump3d-3.0-prefix.patch
30 deleted file mode 100644
31 index b8edb8c02d..0000000000
32 --- a/media-sound/gnump3d/files/gnump3d-3.0-prefix.patch
33 +++ /dev/null
34 @@ -1,13 +0,0 @@
35 -diff -ru gnump3d-3.0.orig/bin/getlibdir gnump3d-3.0/bin/getlibdir
36 ---- gnump3d-3.0.orig/bin/getlibdir 2008-03-14 10:34:48 +0100
37 -+++ gnump3d-3.0/bin/getlibdir 2008-03-14 10:38:19 +0100
38 -@@ -41,7 +41,8 @@
39 - # Only examine directories beneath /usr or /Library
40 - # (The latter is for Mac OS X).
41 - #
42 --my @dirs = grep( /^\/usr|^\/Library/, @INC );
43 -+my $prefix="@GENTOO_PORTAGE_EPREFIX@";
44 -+my @dirs = grep( /^$prefix/, @INC );
45 -
46 -
47 - #
48
49 diff --git a/media-sound/gnump3d/files/gnump3d.conf.d b/media-sound/gnump3d/files/gnump3d.conf.d
50 deleted file mode 100644
51 index 9fe7523c12..0000000000
52 --- a/media-sound/gnump3d/files/gnump3d.conf.d
53 +++ /dev/null
54 @@ -1,5 +0,0 @@
55 -# Set this to 0 to stop the init script from indexing your mp3s.
56 -# It takes the longest on the first time, but after that, it only does
57 -# updates.
58 -
59 -DO_INDEX=1
60
61 diff --git a/media-sound/gnump3d/files/gnump3d.init.d b/media-sound/gnump3d/files/gnump3d.init.d
62 deleted file mode 100644
63 index 62c8eeb0a9..0000000000
64 --- a/media-sound/gnump3d/files/gnump3d.init.d
65 +++ /dev/null
66 @@ -1,37 +0,0 @@
67 -#!/sbin/runscript
68 -# Copyright 1999-2011 Gentoo Foundation
69 -# Distributed under the terms of the GNU General Public License v2
70 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/files/gnump3d.init.d,v 1.5 2011/12/13 23:11:35 radhermit Exp $
71 -
72 -extra_commands="index"
73 -
74 -depend() {
75 - need net
76 - after netmount nfsmount
77 -}
78 -
79 -start() {
80 - ebegin "Starting gnump3d"
81 -
82 - if [ ${DO_INDEX} -eq 1 ]; then
83 - ebegin "Updating index of music files (may take a while for the first time)"
84 - /usr/bin/gnump3d-index
85 - eend $?
86 - fi
87 -
88 - start-stop-daemon --start --quiet --exec /usr/bin/gnump3d2 --make-pidfile \
89 - --pidfile /var/run/gnump3d.pid --background -- --quiet
90 - eend $?
91 -}
92 -
93 -stop() {
94 - ebegin "Stopping gnump3d"
95 - start-stop-daemon --stop --quiet --pidfile /var/run/gnump3d.pid
96 - eend $?
97 -}
98 -
99 -index() {
100 - ebegin "Indexing music files"
101 - /usr/bin/gnump3d-index
102 - eend $?
103 -}
104
105 diff --git a/media-sound/gnump3d/gnump3d-3.0-r1.ebuild b/media-sound/gnump3d/gnump3d-3.0-r1.ebuild
106 deleted file mode 100644
107 index d0881a1e29..0000000000
108 --- a/media-sound/gnump3d/gnump3d-3.0-r1.ebuild
109 +++ /dev/null
110 @@ -1,87 +0,0 @@
111 -# Copyright 1999-2017 Gentoo Foundation
112 -# Distributed under the terms of the GNU General Public License v2
113 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-3.0-r1.ebuild,v 1.6 2012/06/09 23:08:40 zmedico Exp $
114 -
115 -inherit eutils multilib user prefix
116 -
117 -MY_PV=${PV/9/9final}
118 -MY_P=${PN}-${MY_PV}
119 -
120 -DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
121 -HOMEPAGE="http://www.gnu.org/software/gnump3d/"
122 -SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2"
123 -
124 -LICENSE="GPL-2"
125 -SLOT="0"
126 -KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos"
127 -IUSE="sox"
128 -
129 -RDEPEND="dev-lang/perl
130 - sox? ( media-sound/sox )"
131 -DEPEND="dev-lang/perl
132 - sys-apps/sed"
133 -
134 -RESTRICT="test"
135 -
136 -S="${WORKDIR}"/${MY_P}
137 -
138 -pkg_setup() {
139 - enewuser gnump3d '' '' '' nogroup
140 - LIBDIR="${EPREFIX}"/usr/$(get_libdir)
141 -}
142 -
143 -src_unpack() {
144 - unpack ${A}
145 - cd "${S}"
146 -
147 - epatch "${FILESDIR}"/${P}-prefix.patch
148 - eprefixify bin/getlibdir
149 -}
150 -
151 -src_compile() { :; }
152 -
153 -src_install() {
154 - PERLDIR="`perl bin/getlibdir`"
155 - PERLDIR=${PERLDIR#${EPREFIX}}
156 -
157 - insinto ${PERLDIR}/gnump3d
158 - doins lib/gnump3d/*.pm
159 - insinto ${PERLDIR}/gnump3d/plugins
160 - doins lib/gnump3d/plugins/*.pm
161 - insinto ${PERLDIR}/gnump3d/lang
162 - doins lib/gnump3d/lang/*.pm
163 -
164 - dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index
165 - dosym /usr/bin/gnump3d2 /usr/bin/gnump3d
166 - doman man/*.1
167 -
168 - insinto /usr/share/gnump3d
169 - doins -r templates/*
170 -
171 - insinto /etc/gnump3d
172 - doins etc/gnump3d.conf etc/mime.types etc/file.types
173 - dosed "s,PLUGINDIR,${PERLDIR},g" /etc/gnump3d/gnump3d.conf
174 - dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf
175 -
176 - dodoc AUTHORS ChangeLog DOWNSAMPLING PLUGINS README SUPPORT TODO
177 -
178 - newinitd "${FILESDIR}"/${PN}.init.d gnump3d
179 - newconfd "${FILESDIR}"/${PN}.conf.d gnump3d
180 -
181 - keepdir /var/log/gnump3d
182 - keepdir /var/cache/gnump3d/serving
183 -
184 - use prefix || fowners gnump3d:nogroup /var/log/gnump3d /var/cache/gnump3d
185 -}
186 -
187 -pkg_postinst() {
188 - elog "Please edit your /etc/gnump3d/gnump3d.conf before running"
189 - elog "/etc/init.d/gnump3d start"
190 - elog ""
191 - elog "At the very least, you will need to change the root directory"
192 - elog "where music is found. By default, gnump3d will also listen"
193 - elog "to any address on port 8888"
194 - elog ""
195 - elog "You can optionally use sox to downmix the quality of streamed"
196 - elog "music in realtime for slow connections."
197 -}
198
199 diff --git a/media-sound/gnump3d/gnump3d-3.0.ebuild b/media-sound/gnump3d/gnump3d-3.0.ebuild
200 deleted file mode 100644
201 index 4f677816fa..0000000000
202 --- a/media-sound/gnump3d/gnump3d-3.0.ebuild
203 +++ /dev/null
204 @@ -1,79 +0,0 @@
205 -# Copyright 1999-2017 Gentoo Foundation
206 -# Distributed under the terms of the GNU General Public License v2
207 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-3.0.ebuild,v 1.10 2012/06/09 23:08:40 zmedico Exp $
208 -
209 -inherit eutils multilib user prefix
210 -
211 -MY_PV=${PV/9/9final}
212 -MY_P=${PN}-${MY_PV}
213 -
214 -DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
215 -HOMEPAGE="http://www.gnu.org/software/gnump3d/"
216 -SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2"
217 -
218 -LICENSE="GPL-2"
219 -SLOT="0"
220 -KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos"
221 -IUSE=""
222 -
223 -RDEPEND="dev-lang/perl"
224 -DEPEND="${RDEPEND}
225 - sys-apps/sed"
226 -
227 -RESTRICT="test"
228 -
229 -S="${WORKDIR}"/${MY_P}
230 -
231 -pkg_setup() {
232 - enewuser gnump3d '' '' '' nogroup
233 - LIBDIR="${EPREFIX}"/usr/$(get_libdir)
234 -}
235 -
236 -src_unpack() {
237 - unpack ${A}
238 - cd "${S}"
239 -
240 - epatch "${FILESDIR}"/${P}-prefix.patch
241 - eprefixify bin/getlibdir
242 -}
243 -
244 -src_compile() { :; }
245 -
246 -src_install() {
247 - PERLDIR="`perl bin/getlibdir`"
248 - PERLDIR=${PERLDIR#${EPREFIX}}
249 -
250 - insinto ${PERLDIR}/gnump3d
251 - doins lib/gnump3d/*.pm
252 - insinto ${PERLDIR}/gnump3d/plugins
253 - doins lib/gnump3d/plugins/*.pm
254 - insinto ${PERLDIR}/gnump3d/lang
255 - doins lib/gnump3d/lang/*.pm
256 -
257 - dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index
258 - dosym /usr/bin/gnump3d2 /usr/bin/gnump3d
259 - doman man/*.1
260 -
261 - insinto /usr/share/gnump3d
262 - doins -r templates/*
263 -
264 - insinto /etc/gnump3d
265 - doins etc/gnump3d.conf etc/mime.types etc/file.types
266 - dosed "s,PLUGINDIR,${PERLDIR},g" /etc/gnump3d/gnump3d.conf
267 - dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf
268 -
269 - dodoc AUTHORS ChangeLog DOWNSAMPLING PLUGINS README SUPPORT TODO
270 -
271 - newinitd "${FILESDIR}"/${PN}.init.d gnump3d
272 - newconfd "${FILESDIR}"/${PN}.conf.d gnump3d
273 -
274 - keepdir /var/log/gnump3d
275 - keepdir /var/cache/gnump3d/serving
276 -
277 - use prefix || fowners gnump3d:nogroup /var/log/gnump3d /var/cache/gnump3d
278 -}
279 -
280 -pkg_postinst() {
281 - elog "Please edit your /etc/gnump3d/gnump3d.conf before running"
282 - elog "/etc/init.d/gnump3d start"
283 -}
284
285 diff --git a/media-sound/gnump3d/metadata.xml b/media-sound/gnump3d/metadata.xml
286 deleted file mode 100644
287 index c870d0eef0..0000000000
288 --- a/media-sound/gnump3d/metadata.xml
289 +++ /dev/null
290 @@ -1,8 +0,0 @@
291 -<?xml version="1.0" encoding="UTF-8"?>
292 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
293 -<pkgmetadata>
294 -<maintainer type="project">
295 - <email>sound@g.o</email>
296 - <name>Gentoo Sound project</name>
297 -</maintainer>
298 -</pkgmetadata>