Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: media-sound/herrie/, media-sound/herrie/files/
Date: Wed, 06 Jan 2021 12:06:31
Message-Id: 1609934730.072a89ef6db7264140ed1e021ebff44d58965550.grobian@gentoo
1 commit: 072a89ef6db7264140ed1e021ebff44d58965550
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 6 12:05:30 2021 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 6 12:05:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=072a89ef
7
8 media-sound/herrie: drop the noise from Prefix
9
10 EAPI=2 is long abandoned, sorry kito
11
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13
14 media-sound/herrie/Manifest | 1 -
15 media-sound/herrie/files/herrie-2.2-libxspf.patch | 122 ----------------------
16 media-sound/herrie/files/herrie-chost_issue.patch | 29 -----
17 media-sound/herrie/herrie-2.2.ebuild | 72 -------------
18 media-sound/herrie/metadata.xml | 27 -----
19 5 files changed, 251 deletions(-)
20
21 diff --git a/media-sound/herrie/Manifest b/media-sound/herrie/Manifest
22 deleted file mode 100644
23 index 60caebbb1c..0000000000
24 --- a/media-sound/herrie/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST herrie-2.2.tar.bz2 71596 BLAKE2B 7065711dea83c1ff3bb2ede9b155f032f463dc8f51657adcfc1b46076a241cd9bcb62a80284de93b076b3ab9419a4cac01a9edbb8f76f1b07565b20c93e2c3a8 SHA512 7f89100f1c3376d03ebc5e5e3caadccb063470ab623c7b207e9e6aaa01d7e1885d4234e3a50675bc1ade07f5ab52a34022f4e18c9a5b4f9537baa7318f4ab213
28
29 diff --git a/media-sound/herrie/files/herrie-2.2-libxspf.patch b/media-sound/herrie/files/herrie-2.2-libxspf.patch
30 deleted file mode 100644
31 index 00dc3057b2..0000000000
32 --- a/media-sound/herrie/files/herrie-2.2-libxspf.patch
33 +++ /dev/null
34 @@ -1,122 +0,0 @@
35 ---- configure
36 -+++ configure
37 -@@ -301,7 +301,7 @@ fi
38 - if [ "$CFG_XSPF" != "" ]
39 - then
40 - CFLAGS="$CFLAGS -DBUILD_XSPF"
41 -- LDFLAGS="$LDFLAGS -lspiff"
42 -+ test_pkgconfig "libxspf" "xspf" "_vfs_xspf"
43 - SRCS="$SRCS util vfs_xspf"
44 - PLAYQ_DUMPFILE="autosave.xspf"
45 - else
46 ---- src/conftest.c
47 -+++ src/conftest.c
48 -@@ -56,16 +56,10 @@
49 - #include <vorbis/codec.h>
50 - #include <vorbis/vorbisfile.h>
51 - #endif /* BUILD_VORBIS */
52 --#ifdef BUILD_XSPF
53 --#include <spiff/spiff_c.h>
54 --#endif /* BUILD_XSPF */
55 -
56 - int
57 - main(int argc, char *argv[])
58 - {
59 --#ifdef BUILD_XSPF
60 -- spiff_write(NULL, NULL, NULL);
61 --#endif /* BUILD_XSPF */
62 -
63 - return (0);
64 - }
65 ---- src/vfs_xspf.c
66 -+++ src/vfs_xspf.c
67 -@@ -30,7 +30,7 @@
68 -
69 - #include "stdinc.h"
70 -
71 --#include <spiff/spiff_c.h>
72 -+#include <xspf_c.h>
73 -
74 - #include "util.h"
75 - #include "vfs.h"
76 -@@ -50,22 +50,22 @@ vfs_xspf_match(struct vfsent *ve, int isdir)
77 - int
78 - vfs_xspf_populate(struct vfsent *ve)
79 - {
80 -- struct spiff_list *slist;
81 -- struct spiff_track *strack;
82 -- struct spiff_mvalue *sloc;
83 -+ struct xspf_list *slist;
84 -+ struct xspf_track *strack;
85 -+ struct xspf_mvalue *sloc;
86 - char *dirname, *baseuri, *filename;
87 - struct vfsref *vr;
88 -
89 - baseuri = url_escape(ve->filename);
90 -- slist = spiff_parse(ve->filename, baseuri);
91 -+ slist = xspf_parse(ve->filename, baseuri);
92 - g_free(baseuri);
93 - if (slist == NULL)
94 - return (-1);
95 -
96 - dirname = g_path_get_dirname(ve->filename);
97 -
98 -- SPIFF_LIST_FOREACH_TRACK(slist, strack) {
99 -- SPIFF_TRACK_FOREACH_LOCATION(strack, sloc) {
100 -+ XSPF_LIST_FOREACH_TRACK(slist, strack) {
101 -+ XSPF_TRACK_FOREACH_LOCATION(strack, sloc) {
102 - /* Skip file:// part */
103 - filename = url_unescape(sloc->value);
104 -
105 -@@ -77,40 +77,40 @@ vfs_xspf_populate(struct vfsent *ve)
106 - }
107 -
108 - g_free(dirname);
109 -- spiff_free(slist);
110 -+ xspf_free(slist);
111 - return (0);
112 - }
113 -
114 - int
115 - vfs_xspf_write(const struct vfslist *vl, const char *filename)
116 - {
117 -- struct spiff_list *list;
118 -- struct spiff_track *track;
119 -- struct spiff_mvalue *location;
120 -+ struct xspf_list *list;
121 -+ struct xspf_track *track;
122 -+ struct xspf_mvalue *location;
123 - char *fn, *baseuri;
124 - struct vfsref *vr;
125 - int ret;
126 -
127 -- list = spiff_new();
128 -+ list = xspf_new();
129 -
130 - VFS_LIST_FOREACH_REVERSE(vl, vr) {
131 - /* Add a new track to the beginning of the list */
132 -- track = spiff_new_track_before(&list->tracks);
133 -+ track = xspf_new_track_before(&list->tracks);
134 -
135 - /* Make sure we don't write non-UTF-8 titles to disk */
136 - if (g_utf8_validate(vfs_name(vr), -1, NULL))
137 -- spiff_setvalue(&track->title, vfs_name(vr));
138 -+ xspf_setvalue(&track->title, vfs_name(vr));
139 -
140 -- location = spiff_new_mvalue_before(&track->locations);
141 -+ location = xspf_new_mvalue_before(&track->locations);
142 - fn = url_escape(vfs_filename(vr));
143 -- spiff_setvalue(&location->value, fn);
144 -+ xspf_setvalue(&location->value, fn);
145 - g_free(fn);
146 - }
147 -
148 - baseuri = url_escape(filename);
149 -- ret = spiff_write(list, filename, baseuri);
150 -+ ret = xspf_write(list, filename, baseuri);
151 - g_free(baseuri);
152 -- spiff_free(list);
153 -+ xspf_free(list);
154 -
155 - return (ret);
156 - }
157
158 diff --git a/media-sound/herrie/files/herrie-chost_issue.patch b/media-sound/herrie/files/herrie-chost_issue.patch
159 deleted file mode 100644
160 index 1949972baa..0000000000
161 --- a/media-sound/herrie/files/herrie-chost_issue.patch
162 +++ /dev/null
163 @@ -1,29 +0,0 @@
164 -This patch sets the OS variable according to the CHOST given by the environment,
165 -thus enabling cross-compilation.
166 -
167 -Index: herrie-1.8/configure
168 -===================================================================
169 ---- herrie-1.8.orig/configure
170 -+++ herrie-1.8/configure
171 -@@ -50,6 +50,21 @@ CFG_VORBIS=yes
172 - CFG_XSPF=yes
173 - DOIT=@
174 -
175 -+case "$CHOST" in
176 -+ *-darwin*)
177 -+ OS=Darwin
178 -+ ;;
179 -+ *-linux*)
180 -+ OS=Linux
181 -+ ;;
182 -+ *-freebsd*)
183 -+ OS=FreeBSD
184 -+ ;;
185 -+ *-solaris*)
186 -+ OS=SunOS
187 -+ ;;
188 -+esac
189 -+
190 - # Operating system defaults
191 - [ "$OS" != "" ] || OS=`uname`
192 - case $OS in
193
194 diff --git a/media-sound/herrie/herrie-2.2.ebuild b/media-sound/herrie/herrie-2.2.ebuild
195 deleted file mode 100644
196 index c20ba1cf63..0000000000
197 --- a/media-sound/herrie/herrie-2.2.ebuild
198 +++ /dev/null
199 @@ -1,72 +0,0 @@
200 -# Copyright 1999-2012 Gentoo Foundation
201 -# Distributed under the terms of the GNU General Public License v2
202 -# $Header: /var/cvsroot/gentoo-x86/media-sound/herrie/herrie-2.2.ebuild,v 1.8 2012/07/29 18:39:29 armin76 Exp $
203 -
204 -EAPI=2
205 -inherit eutils toolchain-funcs
206 -
207 -DESCRIPTION="Herrie is a command line music player."
208 -HOMEPAGE="http://herrie.info/"
209 -SRC_URI="http://herrie.info/distfiles/${P}.tar.bz2"
210 -
211 -LICENSE="BSD-2 GPL-2"
212 -SLOT="0"
213 -KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
214 -IUSE="ao alsa pulseaudio oss http modplug mp3 sndfile vorbis xspf unicode nls coreaudio"
215 -
216 -APP_LINGUAS="ca da de es fi ga nl pl pt_BR ru sv tr vi zh_CN"
217 -for X in ${APP_LINGUAS}; do
218 - IUSE="${IUSE} linguas_${X}"
219 -done
220 -
221 -RDEPEND="sys-libs/ncurses[unicode?]
222 - >=dev-libs/glib-2:2
223 - ao? ( media-libs/libao )
224 - alsa? ( media-libs/alsa-lib )
225 - http? ( net-misc/curl )
226 - modplug? ( media-libs/libmodplug )
227 - mp3? ( media-libs/libmad
228 - media-libs/libid3tag )
229 - pulseaudio? ( media-sound/pulseaudio )
230 - sndfile? ( media-libs/libsndfile )
231 - vorbis? ( media-libs/libvorbis )
232 - xspf? ( >=media-libs/libxspf-1.2 )
233 - !ao? ( !alsa? ( !pulseaudio? ( !oss? ( !coreaudio? ( media-libs/alsa-lib ) ) ) ) )"
234 -DEPEND="${RDEPEND}
235 - nls? ( sys-devel/gettext )
236 - virtual/pkgconfig"
237 -
238 -src_prepare() {
239 - epatch "${FILESDIR}"/${PN}-chost_issue.patch \
240 - "${FILESDIR}"/${P}-libxspf.patch
241 -}
242 -
243 -src_configure() {
244 - if ! use ao && ! use alsa && ! use pulseaudio && ! use oss && ! use coreaudio ; then
245 - ewarn "No audio output selected (ao, alsa, pulseaudio, oss), defaulting to alsa."
246 - fi
247 -
248 - local EXTRA_CONF="verbose no_strip"
249 - use ao && EXTRA_CONF="${EXTRA_CONF} ao"
250 - use alsa && EXTRA_CONF="${EXTRA_CONF} alsa"
251 - use coreaudio && EXTRA_CONF="${EXTRA_CONF} coreaudio"
252 - use http || EXTRA_CONF="${EXTRA_CONF} no_http no_scrobbler"
253 - use mp3 || EXTRA_CONF="${EXTRA_CONF} no_mp3"
254 - use modplug || EXTRA_CONF="${EXTRA_CONF} no_modplug"
255 - use nls || EXTRA_CONF="${EXTRA_CONF} no_nls"
256 - use oss && EXTRA_CONF="${EXTRA_CONF} oss"
257 - use pulseaudio && EXTRA_CONF="${EXTRA_CONF} pulse"
258 - use sndfile || EXTRA_CONF="${EXTRA_CONF} no_sndfile"
259 - use unicode || EXTRA_CONF="${EXTRA_CONF} ncurses"
260 - use vorbis || EXTRA_CONF="${EXTRA_CONF} no_vorbis"
261 - use xspf || EXTRA_CONF="${EXTRA_CONF} no_xspf"
262 -
263 - einfo "./configure ${EXTRA_CONF}"
264 - CC="$(tc-getCC)" PREFIX="${EPREFIX}"/usr MANDIR="${EPREFIX}"/usr/share/man \
265 - ./configure ${EXTRA_CONF} || die "configure failed"
266 -}
267 -
268 -src_install() {
269 - emake DESTDIR="${D}" install || die "emake install failed"
270 - dodoc ChangeLog README
271 -}
272
273 diff --git a/media-sound/herrie/metadata.xml b/media-sound/herrie/metadata.xml
274 deleted file mode 100644
275 index 1f60fffd95..0000000000
276 --- a/media-sound/herrie/metadata.xml
277 +++ /dev/null
278 @@ -1,27 +0,0 @@
279 -<?xml version="1.0" encoding="UTF-8"?>
280 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
281 -<pkgmetadata>
282 - <maintainer type="project">
283 - <email>sound@g.o</email>
284 - <name>Gentoo Sound project</name>
285 - </maintainer>
286 - <longdescription lang="en">
287 - Herrie is a minimalistic music player that uses the command
288 - line. It is written to support a variety of operating systems,
289 - audio subsystems and file formats, including playlists.
290 -
291 - Herrie has a split-screen user interface, with a playlist at
292 - the top of the screen and a file browser at the bottom. When
293 - tracks are added to the playlist, Herrie consumes them from the
294 - top one by one. It is thus an application that allows you to
295 - batch music for playback.
296 -
297 - Herrie also has some more exotic features, including support
298 - for AudioScrobbler and the ability to chroot() itself
299 - into a directory.
300 - </longdescription>
301 - <use>
302 - <flag name="http">Enable http streaming</flag>
303 - <flag name="xspf">Enable support for reading and saving XSPF playlists</flag>
304 - </use>
305 -</pkgmetadata>