Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gtick/, media-sound/gtick/files/
Date: Sun, 28 Jun 2020 23:51:32
Message-Id: 1593388273.0cb2564338af6b66f577033cf25638de9c96cf9d.bman@gentoo
1 commit: 0cb2564338af6b66f577033cf25638de9c96cf9d
2 Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
3 AuthorDate: Sun Jun 28 22:22:50 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 23:51:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb25643
7
8 media-sound/gtick: Remove old
9
10 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
11 Closes: https://github.com/gentoo/gentoo/pull/16479
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 media-sound/gtick/Manifest | 1 -
15 media-sound/gtick/files/gtick-0.5.4-desktop.patch | 32 -----------
16 .../gtick/files/gtick-0.5.4-fno-common.patch | 27 ---------
17 media-sound/gtick/gtick-0.5.4-r1.ebuild | 65 ----------------------
18 media-sound/gtick/gtick-0.5.4.ebuild | 41 --------------
19 5 files changed, 166 deletions(-)
20
21 diff --git a/media-sound/gtick/Manifest b/media-sound/gtick/Manifest
22 index c932678881c..a717bbc82de 100644
23 --- a/media-sound/gtick/Manifest
24 +++ b/media-sound/gtick/Manifest
25 @@ -1,2 +1 @@
26 -DIST gtick-0.5.4.tar.gz 641902 BLAKE2B f1832f46b559908ae0c40bd0f6a08e145a0ba58a6cf2f8e7235b4f3f0b9141ea514cf52c51cef24d745ce360423daab855c42b5f6719664be65bf5f254650c1d SHA512 28ea6f38952c376f1f684e7b598d1032063f7fdf3454cdb86735cb835079312c0d1c30dfeade7272f5399296f2a2ede5b81524036a9ac0d91e0878865fab446e
27 DIST gtick-0.5.5.tar.gz 659596 BLAKE2B 74e40cd20bf24ef8a9cb9f6abf49d885bb5e660a6b4faa40fa18a10153edad1e522ca555c802e9b5364abbc94f79989e4dfdfd2d19a038f4c6f63895a287dc12 SHA512 8f308c312f6cc59bb8b786af09b1498c76adc1b2692369886e85fa97524b417bf3a5e075ba20061f009b36cb4fe12cd455befe7e466d8215620640229ebbdb87
28
29 diff --git a/media-sound/gtick/files/gtick-0.5.4-desktop.patch b/media-sound/gtick/files/gtick-0.5.4-desktop.patch
30 deleted file mode 100644
31 index 7aa0995b039..00000000000
32 --- a/media-sound/gtick/files/gtick-0.5.4-desktop.patch
33 +++ /dev/null
34 @@ -1,32 +0,0 @@
35 -Downstream patch. No upstream activity since 2014.
36 -
37 -From b07f665d712fdbebfd506ef6301fc9ac71660e96 Mon Sep 17 00:00:00 2001
38 -From: Alexander Tsoy <alexander@××××.me>
39 -Date: Thu, 19 Mar 2020 21:17:22 +0300
40 -Subject: [PATCH 2/2] Fix desktop file
41 -
42 ----
43 - gtick.desktop | 7 ++++---
44 - 1 file changed, 4 insertions(+), 3 deletions(-)
45 -
46 -diff --git a/gtick.desktop b/gtick.desktop
47 -index 05cf5ed..a31dee3 100644
48 ---- a/gtick.desktop
49 -+++ b/gtick.desktop
50 -@@ -5,9 +5,10 @@ Name=GTick
51 - Comment=a GTK-based metronome
52 - Comment[pt]=Um metrônomo baseado em GTK
53 - Comment[pt-br]=Um metrônomo baseado em GTK
54 --Exec=/usr/bin/gtick
55 --Icon=/usr/share/icons/hicolor/64x64/apps/gtick.xpm
56 -+Exec=gtick
57 -+Icon=gtick
58 - Terminal=false
59 - Type=Application
60 - Categories=GTK;AudioVideo;Audio;
61 --GenericName[pt_BR]=
62 -+GenericName=Graphical Metronome
63 -+StartupNotify=true
64 ---
65 -2.24.1
66 -
67
68 diff --git a/media-sound/gtick/files/gtick-0.5.4-fno-common.patch b/media-sound/gtick/files/gtick-0.5.4-fno-common.patch
69 deleted file mode 100644
70 index 37747cef1b8..00000000000
71 --- a/media-sound/gtick/files/gtick-0.5.4-fno-common.patch
72 +++ /dev/null
73 @@ -1,27 +0,0 @@
74 -Downstream patch. No upstream activity since 2014.
75 -
76 -From 23f5585ba3dcf276cd3f71c25f710e68823f97e9 Mon Sep 17 00:00:00 2001
77 -From: Alexander Tsoy <alexander@××××.me>
78 -Date: Tue, 17 Mar 2020 17:14:50 +0300
79 -Subject: [PATCH 1/2] Fix building with -fno-common
80 -
81 ----
82 - src/optionlexer.l | 2 +-
83 - 1 file changed, 1 insertion(+), 1 deletion(-)
84 -
85 -diff --git a/src/optionlexer.l b/src/optionlexer.l
86 -index df79dd5..97ed29d 100644
87 ---- a/src/optionlexer.l
88 -+++ b/src/optionlexer.l
89 -@@ -40,7 +40,7 @@
90 - #include "optionlexer.h"
91 -
92 - char* option_filename;
93 --YYLTYPE option_lloc;
94 -+#define YYLTYPE option_lloc;
95 -
96 - void option_locate();
97 - %}
98 ---
99 -2.24.1
100 -
101
102 diff --git a/media-sound/gtick/gtick-0.5.4-r1.ebuild b/media-sound/gtick/gtick-0.5.4-r1.ebuild
103 deleted file mode 100644
104 index ca520476a37..00000000000
105 --- a/media-sound/gtick/gtick-0.5.4-r1.ebuild
106 +++ /dev/null
107 @@ -1,65 +0,0 @@
108 -# Copyright 1999-2020 Gentoo Authors
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=7
112 -
113 -inherit desktop xdg-utils
114 -
115 -DESCRIPTION="Metronome application supporting different meters and speeds ranging"
116 -HOMEPAGE="https://www.antcom.de/gtick"
117 -SRC_URI="https://www.antcom.de/gtick/download/${P}.tar.gz"
118 -
119 -LICENSE="GPL-3+"
120 -SLOT="0"
121 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
122 -IUSE="nls sndfile"
123 -
124 -RDEPEND="media-sound/pulseaudio
125 - x11-libs/gtk+:2
126 - sndfile? ( media-libs/libsndfile )"
127 -DEPEND="${RDEPEND}"
128 -BDEPEND="sys-devel/bison
129 - sys-devel/flex
130 - virtual/pkgconfig
131 - nls? ( sys-devel/gettext )"
132 -
133 -RESTRICT="test"
134 -
135 -PATCHES=(
136 - "${FILESDIR}"/${P}-fno-common.patch
137 - "${FILESDIR}"/${P}-desktop.patch
138 -)
139 -
140 -src_prepare() {
141 - default
142 -
143 - sed -i 's:^\(appdatadir = .*/\)appdata:\1metainfo:' \
144 - Makefile.in || die
145 -}
146 -
147 -src_configure() {
148 - local myeconfargs=(
149 - $(use_enable nls)
150 - $(use_with sndfile)
151 - )
152 -
153 - econf "${myeconfargs[@]}"
154 -}
155 -
156 -src_install() {
157 - local res
158 -
159 - default
160 -
161 - for res in 32 48 64; do
162 - newicon -s ${res} src/icon${res}x${res}.xpm gtick.xpm
163 - done
164 -}
165 -
166 -pkg_postinst() {
167 - xdg_icon_cache_update
168 -}
169 -
170 -pkg_postrm() {
171 - xdg_icon_cache_update
172 -}
173
174 diff --git a/media-sound/gtick/gtick-0.5.4.ebuild b/media-sound/gtick/gtick-0.5.4.ebuild
175 deleted file mode 100644
176 index f589cbb1934..00000000000
177 --- a/media-sound/gtick/gtick-0.5.4.ebuild
178 +++ /dev/null
179 @@ -1,41 +0,0 @@
180 -# Copyright 1999-2019 Gentoo Authors
181 -# Distributed under the terms of the GNU General Public License v2
182 -
183 -EAPI=7
184 -
185 -inherit desktop
186 -
187 -DESCRIPTION="Metronome application supporting different meters and speeds ranging"
188 -HOMEPAGE="https://www.antcom.de/gtick"
189 -SRC_URI="https://www.antcom.de/gtick/download/${P}.tar.gz"
190 -
191 -LICENSE="GPL-3"
192 -SLOT="0"
193 -KEYWORDS="amd64 ~ppc ~sparc x86"
194 -IUSE="nls sndfile"
195 -
196 -RDEPEND="x11-libs/gtk+:2
197 - media-sound/pulseaudio
198 - sndfile? ( media-libs/libsndfile )"
199 -DEPEND="${RDEPEND}"
200 -BDEPEND="nls? ( sys-devel/gettext )
201 - virtual/pkgconfig"
202 -
203 -RESTRICT="test"
204 -
205 -src_prepare() {
206 - default
207 - sed -i "/GenericName/d" ${PN}.desktop || die
208 -}
209 -
210 -src_configure() {
211 - econf \
212 - $(use_enable nls) \
213 - $(use_with sndfile)
214 -}
215 -
216 -src_install() {
217 - default
218 - newicon src/icon48x48.xpm ${PN}.xpm
219 - make_desktop_entry ${PN} "GTick"
220 -}