Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, media-sound/xmms2-scrobbler/files/, media-sound/xmms2-scrobbler/
Date: Fri, 30 Jul 2021 10:18:11
Message-Id: 1627640283.7ab548d97606a06b7e40855a33a179b809f74947.slyfox@gentoo
1 commit: 7ab548d97606a06b7e40855a33a179b809f74947
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 30 10:15:15 2021 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 30 10:18:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab548d9
7
8 media-sound/xmms2-scrobbler: drop masked package
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 media-sound/xmms2-scrobbler/Manifest | 1 -
13 .../files/xmms2-scrobbler-0.4.0-gcc-7.patch | 6 ---
14 .../files/xmms2-scrobbler-0.4.0-ld-order.patch | 30 --------------
15 .../files/xmms2-scrobbler-0.4.0-ldflags.patch | 17 --------
16 .../files/xmms2-scrobbler-0.4.0-libs.patch | 17 --------
17 .../files/xmms2-scrobbler-0.4.0-no-XPTR.patch | 12 ------
18 media-sound/xmms2-scrobbler/metadata.xml | 14 -------
19 .../xmms2-scrobbler-0.4.0-r1.ebuild | 47 ----------------------
20 profiles/package.mask | 4 --
21 9 files changed, 148 deletions(-)
22
23 diff --git a/media-sound/xmms2-scrobbler/Manifest b/media-sound/xmms2-scrobbler/Manifest
24 deleted file mode 100644
25 index 66a2b910f86..00000000000
26 --- a/media-sound/xmms2-scrobbler/Manifest
27 +++ /dev/null
28 @@ -1 +0,0 @@
29 -DIST xmms2-scrobbler-0.4.0.tar.gz 19831 BLAKE2B 84194a2359b825c5571637e4d875003262235f8bce550ffeb54a123c53b1aeee49b7fd21c5549903e24348869abba96ba9b7e78cade4dc44dcbb798f4604d8fa SHA512 2df20693479413a18e487f16e87f0a711866221dcbc8f96c970be55aac2c495fcb84e9e3ea754473c747d33d5d1ef54823f6a050d5054581454f956c86f6236b
30
31 diff --git a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch b/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch
32 deleted file mode 100644
33 index 6cc9686b616..00000000000
34 --- a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-gcc-7.patch
35 +++ /dev/null
36 @@ -1,6 +0,0 @@
37 ---- a/src/submission.c
38 -+++ b/src/submission.c
39 -@@ -24,2 +24,3 @@
40 - #include <stdlib.h>
41 -+#include <stdio.h>
42 - #include "submission.h"
43
44 diff --git a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-ld-order.patch b/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-ld-order.patch
45 deleted file mode 100644
46 index f252edaa56a..00000000000
47 --- a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-ld-order.patch
48 +++ /dev/null
49 @@ -1,30 +0,0 @@
50 -commit 096ee717070bdde9c1adc29f02fcb537920daca9
51 -Author: Sergei Trofimovich <slyfox@g.o>
52 -Date: Sat Mar 3 20:24:21 2012 +0300
53 -
54 - Makefile: set proper link order for libraries
55 -
56 - '-Wl,--as-needed' enforces libraries to go in proper dependency order:
57 -
58 - $ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu `pkg-config xmms2-client --libs` `pkg-config libcurl --libs` src/xmms2-scrobbler.o src/list.o src/queue.o src/strbuf.o src/md5.o src/submission.o -o bin/xmms2-scrobbler
59 - src/xmms2-scrobbler.o: In function `save_profile_submissions_queue':
60 - xmms2-scrobbler.c:(.text+0x281): undefined reference to `xmmsc_userconfdir_get'
61 - src/xmms2-scrobbler.o: In function `load_config':
62 - xmms2-scrobbler.c:(.text+0x3e2): undefined reference to `xmmsc_userconfdir_get'
63 - src/xmms2-scrobbler.o: In function `maybe_submit_to_profile':
64 - xmms2-scrobbler.c:(.text+0x7e3): undefined reference to `xmmsc_medialib_get_info'
65 - xmms2-scrobbler.c:(.text+0x7f7): undefined reference to `xmmsc_result_notifier_set'
66 -
67 - Signed-off-by: Sergei Trofimovich <slyfox@g.o>
68 -
69 ---- a/Makefile
70 -+++ b/Makefile
71 -@@ -36,7 +36,7 @@ install: $(BINARY)
72 - install -m 755 $(BINARY) $(DESTDIR)$(PREFIX)/bin
73 -
74 - $(BINARY): $(OBJECTS) bin
75 -- $(QUIET_LINK)$(CC) $(OBJECTS) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) -o $@ $(LIBS)
76 -+ $(QUIET_LINK)$(CC) $(OBJECTS) -o $@ $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) $(LIBS)
77 -
78 - src/%.o : src/%.c
79 - $(QUIET_CC)$(CC) $(CFLAGS) $(XMMS_CFLAGS) $(CURL_CFLAGS) $(ENDIAN_CFLAGS) -o $@ -c $<
80
81 diff --git a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-ldflags.patch b/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-ldflags.patch
82 deleted file mode 100644
83 index 33f188cc8a9..00000000000
84 --- a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-ldflags.patch
85 +++ /dev/null
86 @@ -1,17 +0,0 @@
87 -commit 8b97319c1a03acecc21b5608516859daaf5bca75
88 -Author: James Le Cuirot <chewi@××××××××××××××.uk>
89 -Date: Fri Mar 26 20:10:54 2010 +0100
90 -
91 - Fixed the build if the --as-needed linker option is enabled.
92 -
93 ---- a/Makefile
94 -+++ b/Makefile
95 -@@ -35,7 +35,7 @@ install: $(BINARY)
96 - install -m 755 $(BINARY) $(DESTDIR)$(PREFIX)/bin
97 -
98 - $(BINARY): $(OBJECTS) bin
99 -- $(QUIET_LINK)$(CC) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) $(OBJECTS) -o $@
100 -+ $(QUIET_LINK)$(CC) $(OBJECTS) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) -o $@
101 -
102 - src/%.o : src/%.c
103 - $(QUIET_CC)$(CC) $(CFLAGS) $(XMMS_CFLAGS) $(CURL_CFLAGS) $(ENDIAN_CFLAGS) -o $@ -c $<
104
105 diff --git a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-libs.patch b/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-libs.patch
106 deleted file mode 100644
107 index 7f8f417b7a5..00000000000
108 --- a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-libs.patch
109 +++ /dev/null
110 @@ -1,17 +0,0 @@
111 ---- a/Makefile
112 -+++ b/Makefile
113 -@@ -1,4 +1,5 @@
114 - CFLAGS += -std=gnu99 -Wall -Wwrite-strings -pthread
115 -+LIBS = -lrt -lpthread
116 - ENDIAN_CFLAGS=
117 - PREFIX ?= /usr/local
118 -
119 -@@ -35,7 +36,7 @@ install: $(BINARY)
120 - install -m 755 $(BINARY) $(DESTDIR)$(PREFIX)/bin
121 -
122 - $(BINARY): $(OBJECTS) bin
123 -- $(QUIET_LINK)$(CC) $(OBJECTS) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) -o $@
124 -+ $(QUIET_LINK)$(CC) $(OBJECTS) $(LDFLAGS) $(XMMS_LDFLAGS) $(CURL_LDFLAGS) -o $@ $(LIBS)
125 -
126 - src/%.o : src/%.c
127 - $(QUIET_CC)$(CC) $(CFLAGS) $(XMMS_CFLAGS) $(CURL_CFLAGS) $(ENDIAN_CFLAGS) -o $@ -c $<
128
129 diff --git a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-no-XPTR.patch b/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-no-XPTR.patch
130 deleted file mode 100644
131 index bb25361a4e4..00000000000
132 --- a/media-sound/xmms2-scrobbler/files/xmms2-scrobbler-0.4.0-no-XPTR.patch
133 +++ /dev/null
134 @@ -1,12 +0,0 @@
135 ---- a/src/xmms2-scrobbler.c
136 -+++ b/src/xmms2-scrobbler.c
137 -@@ -534,3 +534,3 @@ on_medialib_get_info2 (xmmsv_t *val, void *udata)
138 - {
139 -- bool reset_current_id = XPOINTER_TO_INT (udata);
140 -+ bool reset_current_id = (bool)(uintptr_t)(udata);
141 -
142 -@@ -572,3 +572,3 @@ maybe_submit_to_profile (bool reset_current_id)
143 - on_medialib_get_info2,
144 -- XINT_TO_POINTER (reset_current_id));
145 -+ (void*)(uintptr_t)(reset_current_id));
146 - xmmsc_result_unref (mediainfo_result);
147
148 diff --git a/media-sound/xmms2-scrobbler/metadata.xml b/media-sound/xmms2-scrobbler/metadata.xml
149 deleted file mode 100644
150 index dbb50391915..00000000000
151 --- a/media-sound/xmms2-scrobbler/metadata.xml
152 +++ /dev/null
153 @@ -1,14 +0,0 @@
154 -<?xml version="1.0" encoding="UTF-8"?>
155 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
156 -<pkgmetadata>
157 - <maintainer type="person">
158 - <email>slyfox@g.o</email>
159 - <name>Sergei Trofimovich</name>
160 - </maintainer>
161 - <longdescription>
162 - XMMS2-Scrobbler is a client for XMMS2 that feeds information about the songs
163 - you played to last.fm, formerly known as AudioScrobbler.
164 - XMMS2-Scrobbler supports "multi-scrobbling", i.e. it can talk to more than
165 - one AudioScrobbler server.
166 - </longdescription>
167 -</pkgmetadata>
168
169 diff --git a/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0-r1.ebuild b/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0-r1.ebuild
170 deleted file mode 100644
171 index 365cdbe757a..00000000000
172 --- a/media-sound/xmms2-scrobbler/xmms2-scrobbler-0.4.0-r1.ebuild
173 +++ /dev/null
174 @@ -1,47 +0,0 @@
175 -# Copyright 1999-2021 Gentoo Authors
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI=7
179 -
180 -inherit toolchain-funcs
181 -
182 -DESCRIPTION="XMMS2 AudioScrobbler client"
183 -HOMEPAGE="https://code-monkey.de/pages/xmms2-scrobbler"
184 -SRC_URI="ftp://ftp.code-monkey.de/pub/${PN}/${P}.tar.gz"
185 -
186 -LICENSE="MIT"
187 -SLOT="0"
188 -KEYWORDS="~amd64 ~x86"
189 -IUSE=""
190 -
191 -RDEPEND="media-sound/xmms2
192 - net-misc/curl"
193 -DEPEND="${RDEPEND}"
194 -
195 -PATCHES=(
196 - "${FILESDIR}"/${P}-ldflags.patch
197 - "${FILESDIR}"/${P}-libs.patch
198 - "${FILESDIR}"/${P}-ld-order.patch
199 - "${FILESDIR}"/${P}-gcc-7.patch
200 - "${FILESDIR}"/${P}-no-XPTR.patch
201 -)
202 -
203 -src_compile() {
204 - emake CC="$(tc-getCC)" VERBOSE=1
205 -}
206 -
207 -src_install() {
208 - emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
209 - dodoc README AUTHORS
210 -}
211 -
212 -pkg_postinst() {
213 - einfo "xmms2-scrobbler will fail to start until you create a configfile"
214 - einfo ""
215 - einfo "mkdir -p ~/.config/xmms2/clients/xmms2-scrobbler/lastfm"
216 - einfo "echo 'user: foo' >> ~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config"
217 - einfo "echo 'password: bar' >> ~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config"
218 - einfo "echo 'handshake_url: http://post.audioscrobbler.com' >> ~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config"
219 - einfo ""
220 - einfo "More info and configuration-options can be found in xmms2-scrobbler's README file"
221 -}
222
223 diff --git a/profiles/package.mask b/profiles/package.mask
224 index 4ef8a901569..60450e6e590 100644
225 --- a/profiles/package.mask
226 +++ b/profiles/package.mask
227 @@ -357,10 +357,6 @@ dev-ruby/source_map
228 # Masked for removal in 30 days. bug #800097.
229 x11-plugins/purple-mattermost
230
231 -# Sergei Trofimovich <slyfox@g.o> (2021-07-02)
232 -# Masked for removal in 30 days.
233 -media-sound/xmms2-scrobbler
234 -
235 # David Seifert <soap@g.o> (2021-07-01)
236 # Berkeley DB slots that are long past EOL by Oracle,
237 # maintenance burden, and no real path forward by Oracle.