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: media-plugins/vdr-prefermenu/files/, profiles/, media-plugins/vdr-prefermenu/
Date: Tue, 09 Oct 2018 21:14:55
Message-Id: 1539119646.40d1ef3c4456432ef3577e94173987effafaa0a2.mgorny@gentoo
1 commit: 40d1ef3c4456432ef3577e94173987effafaa0a2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 9 21:09:23 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 9 21:14:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d1ef3c
7
8 media-plugins/vdr-prefermenu: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/665124
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 media-plugins/vdr-prefermenu/Manifest | 1 -
14 media-plugins/vdr-prefermenu/files/prefermenu.mk | 123 ---------------------
15 .../vdr-prefermenu-0.6.6-no-static-getfont.diff | 73 ------------
16 media-plugins/vdr-prefermenu/metadata.xml | 8 --
17 .../vdr-prefermenu/vdr-prefermenu-0.6.6-r2.ebuild | 37 -------
18 profiles/package.mask | 9 --
19 6 files changed, 251 deletions(-)
20
21 diff --git a/media-plugins/vdr-prefermenu/Manifest b/media-plugins/vdr-prefermenu/Manifest
22 deleted file mode 100644
23 index d882a6d8ae6..00000000000
24 --- a/media-plugins/vdr-prefermenu/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST vdr-prefermenu-0.6.6.tgz 19617 BLAKE2B 67ec25d33049435399b93be67fdce64ee7d225b9fda6d0fe3386d06ed5f85a04a40f1e4320db98e32ffa66b43963012f4d933b2d253e898aef5432d94e8120b6 SHA512 bc5e11757979a60f408c59d4d0f1d713899013d4a3485ff85e7bf139fb8f436ddd80799673c3d7a718a3d9cc0e75c216f73f1eccc3c2350826c5f8d6145157f6
28
29 diff --git a/media-plugins/vdr-prefermenu/files/prefermenu.mk b/media-plugins/vdr-prefermenu/files/prefermenu.mk
30 deleted file mode 100644
31 index 07940af47fe..00000000000
32 --- a/media-plugins/vdr-prefermenu/files/prefermenu.mk
33 +++ /dev/null
34 @@ -1,123 +0,0 @@
35 -#
36 -# Makefile for a Video Disk Recorder plugin
37 -#
38 -
39 -# The official name of this plugin.
40 -# This name will be used in the '-P...' option of VDR to load the plugin.
41 -# By default the main source file also carries this name.
42 -
43 -PLUGIN = prefermenu
44 -
45 -### The version number of this plugin (taken from the main source file):
46 -
47 -VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
48 -
49 -### The directory environment:
50 -
51 -# Use package data if installed...otherwise assume we're under the VDR source directory:
52 -PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
53 -LIBDIR = $(call PKGCFG,libdir)
54 -LOCDIR = $(call PKGCFG,locdir)
55 -PLGCFG = $(call PKGCFG,plgcfg)
56 -#
57 -TMPDIR ?= /tmp
58 -
59 -### The compiler options:
60 -
61 -export CFLAGS = $(call PKGCFG,cflags)
62 -export CXXFLAGS = $(call PKGCFG,cxxflags)
63 -
64 -### The version number of VDR's plugin API:
65 -
66 -APIVERSION = $(call PKGCFG,apiversion)
67 -
68 -### Allow user defined options to overwrite defaults:
69 -
70 --include $(PLGCFG)
71 -
72 -### The name of the distribution archive:
73 -
74 -ARCHIVE = $(PLUGIN)-$(VERSION)
75 -PACKAGE = vdr-$(ARCHIVE)
76 -
77 -### The name of the shared object file:
78 -
79 -SOFILE = libvdr-$(PLUGIN).so
80 -
81 -### Includes and Defines (add further entries here):
82 -
83 -#INCLUDES +=
84 -
85 -DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
86 -
87 -### The object files (add further files here):
88 -
89 -OBJS = $(PLUGIN).o preferosd.o prefersetup.o preferchannel.o
90 -
91 -### The main target:
92 -
93 -all: $(SOFILE)
94 -#i18n
95 -
96 -### Implicit rules:
97 -
98 -%.o: %.c
99 - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<
100 -
101 -### Dependencies:
102 -
103 -MAKEDEP = $(CXX) -MM -MG
104 -DEPFILE = .dependencies
105 -$(DEPFILE): Makefile
106 - @$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
107 -
108 --include $(DEPFILE)
109 -
110 -### Internationalization (I18N):
111 -
112 -PODIR = po
113 -I18Npo = $(wildcard $(PODIR)/*.po)
114 -I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
115 -I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
116 -I18Npot = $(PODIR)/$(PLUGIN).pot
117 -
118 -%.mo: %.po
119 - msgfmt -c -o $@ $<
120 -
121 -$(I18Npot): $(wildcard *.c)
122 - xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^`
123 -
124 -%.po: $(I18Npot)
125 - msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
126 - @touch $@
127 -
128 -$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
129 - install -D -m644 $< $@
130 -
131 -.PHONY: i18n
132 -i18n: $(I18Nmo) $(I18Npot)
133 -
134 -install-i18n: $(I18Nmsgs)
135 -
136 -### Targets:
137 -
138 -$(SOFILE): $(OBJS)
139 - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
140 -
141 -install-lib: $(SOFILE)
142 - install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
143 -
144 -install: install-lib
145 -#install-i18n
146 -
147 -dist: $(I18Npo) clean
148 - @-rm -rf $(TMPDIR)/$(ARCHIVE)
149 - @mkdir $(TMPDIR)/$(ARCHIVE)
150 - @cp -a * $(TMPDIR)/$(ARCHIVE)
151 - @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE)
152 - @-rm -rf $(TMPDIR)/$(ARCHIVE)
153 - @echo Distribution package created as $(PACKAGE).tgz
154 -
155 -clean:
156 -# @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
157 - @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
158
159 diff --git a/media-plugins/vdr-prefermenu/files/vdr-prefermenu-0.6.6-no-static-getfont.diff b/media-plugins/vdr-prefermenu/files/vdr-prefermenu-0.6.6-no-static-getfont.diff
160 deleted file mode 100644
161 index 0c0239d2ac4..00000000000
162 --- a/media-plugins/vdr-prefermenu/files/vdr-prefermenu-0.6.6-no-static-getfont.diff
163 +++ /dev/null
164 @@ -1,73 +0,0 @@
165 -#! /bin/sh /usr/share/dpatch/dpatch-run
166 -## 90_prefermenu-0.6.6-1.5.3.dpatch by Thomas Günther <tom@×××××××××.de>
167 -## http://toms-cafe.de/vdr/download/prefermenu-0.6.6-1.5.3.diff
168 -##
169 -## All lines beginning with `## DP:' are a description of the patch.
170 -## DP: Changes for VDR >= 1.5.3.
171 -
172 -@DPATCH@
173 ---- prefermenu-0.6.6/prefermenu.c
174 -+++ prefermenu-0.6.6/prefermenu.c
175 -@@ -75,6 +75,7 @@
176 - }
177 - // Clean up the file with current VDR channels.conf
178 - PreferedChannelsList.Save();
179 -+ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height();
180 - config.height= (config.lines * (LINEHEIGHT+BORDERSIZE+2))+BORDERSIZE;
181 - return new cPreferOsd;
182 - }
183 ---- prefermenu-0.6.6/preferosd.c
184 -+++ prefermenu-0.6.6/preferosd.c
185 -@@ -60,6 +60,7 @@
186 - }
187 - osd=cOsdProvider::NewOsd(config.originx, config.originy);
188 - if (osd) {
189 -+ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height();
190 - tArea Area = { 0, 0, config.width+LINEHEIGHT, config.height-1, 4};
191 - osd->SetAreas(&Area, 1);
192 - DrawPreferMenu(0,0);
193 -@@ -168,6 +169,7 @@
194 - {
195 - if (current > 1) {
196 - current -= 1;
197 -+ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height();
198 - DrawPreferMenu(-LINEHEIGHT,1);
199 - DisplayPreferMenu();
200 - //DrawPreferMneu(-10,1);
201 -@@ -181,6 +183,7 @@
202 - {
203 - if (current < number) {
204 - current += 1;
205 -+ const int LINEHEIGHT = cFont::GetFont(fontOsd)->Height();
206 - DrawPreferMenu(+LINEHEIGHT,-1);
207 - DisplayPreferMenu();
208 - //DrawPreferMenu(+10,-1);
209 -@@ -315,6 +318,8 @@
210 -
211 - void cPreferOsd::DrawPreferMenu(int delta, int highlight)
212 - {
213 -+ const cFont *font = cFont::GetFont(fontOsd);
214 -+ const int LINEHEIGHT = font->Height();
215 -
216 - int middle = int(config.height/2) + config.height%2;
217 -
218 -@@ -390,6 +395,8 @@
219 -
220 - void cPreferOsd::DrawChannelsNames(int delta)
221 - {
222 -+ const cFont *font = cFont::GetFont(fontOsd);
223 -+ const int LINEHEIGHT = font->Height();
224 -
225 - // XXX The margin is hardcoded for now
226 - // TODO: make it more flexible
227 ---- prefermenu-0.6.6/preferosd.h
228 -+++ prefermenu-0.6.6/preferosd.h
229 -@@ -4,8 +4,6 @@
230 - #include <vdr/plugin.h>
231 -
232 - static const int BORDERSIZE = 2;
233 --static const cFont *font = cFont::GetFont(fontOsd);
234 --static const int LINEHEIGHT = font->Height();
235 -
236 -
237 - class cPreferOsd : public cOsdObject {
238
239 diff --git a/media-plugins/vdr-prefermenu/metadata.xml b/media-plugins/vdr-prefermenu/metadata.xml
240 deleted file mode 100644
241 index 27f419c289c..00000000000
242 --- a/media-plugins/vdr-prefermenu/metadata.xml
243 +++ /dev/null
244 @@ -1,8 +0,0 @@
245 -<?xml version="1.0" encoding="UTF-8"?>
246 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
247 -<pkgmetadata>
248 -<maintainer type="project">
249 -<email>vdr@g.o</email>
250 -<name>Gentoo VDR Project</name>
251 -</maintainer>
252 -</pkgmetadata>
253
254 diff --git a/media-plugins/vdr-prefermenu/vdr-prefermenu-0.6.6-r2.ebuild b/media-plugins/vdr-prefermenu/vdr-prefermenu-0.6.6-r2.ebuild
255 deleted file mode 100644
256 index 7b3a9b12408..00000000000
257 --- a/media-plugins/vdr-prefermenu/vdr-prefermenu-0.6.6-r2.ebuild
258 +++ /dev/null
259 @@ -1,37 +0,0 @@
260 -# Copyright 1999-2014 Gentoo Foundation
261 -# Distributed under the terms of the GNU General Public License v2
262 -
263 -EAPI="5"
264 -
265 -inherit vdr-plugin-2
266 -
267 -DESCRIPTION="VDR Plugin: presents a favourites channels menu"
268 -HOMEPAGE="http://www.olivierjacques.com/vdr/prefermenu/"
269 -SRC_URI="http://famillejacques.free.fr/vdr/prefermenu/vdr-${VDRPLUGIN}-${PV}.tgz"
270 -
271 -SLOT="0"
272 -LICENSE="GPL-2"
273 -KEYWORDS="~amd64 ~x86"
274 -IUSE=""
275 -
276 -DEPEND=">=media-video/vdr-2.0"
277 -
278 -PATCHES=("${FILESDIR}/${P}-no-static-getfont.diff")
279 -
280 -src_prepare() {
281 - cp "${FILESDIR}/${VDRPLUGIN}.mk" Makefile
282 -
283 - vdr-plugin-2_src_prepare
284 -
285 - sed -e "s:RegisterI18n://RegisterI18n:" -i prefermenu.c
286 -}
287 -
288 -src_install() {
289 - vdr-plugin-2_src_install
290 -
291 - touch prefermenu.conf
292 -
293 - insopts -m0644 -gvdr -ovdr
294 - insinto /etc/vdr/plugins/prefermenu
295 - doins prefermenu.conf
296 -}
297
298 diff --git a/profiles/package.mask b/profiles/package.mask
299 index 9508f49946c..b6527f954e8 100644
300 --- a/profiles/package.mask
301 +++ b/profiles/package.mask
302 @@ -148,15 +148,6 @@ dev-lang/solidity
303 =dev-db/postgresql-11_beta2
304 =dev-db/postgresql-11_beta3
305
306 -# Joerg Bornkessel <hd_brummy@g.o> (02/Sep/2018)
307 -# homepage dead
308 -# dead on upstream
309 -# not converted to gettext
310 -# a lot of compile warnings
311 -# bug 665124
312 -# masked for removal on End Sep 2018
313 -media-plugins/vdr-prefermenu
314 -
315 # Matthias Maier <tamiko@g.o> (1 Sep 2018)
316 # Mask 0.7.0 and 1.0.1 for the time being until a compatible LLVM version
317 # made it into the tree, bug #665192