Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/lcdproc/files/, app-misc/lcdproc/
Date: Sun, 22 Sep 2019 08:13:59
Message-Id: 1569139753.782871f47e7d2fde2f2d423067a56969e8a17fa2.juippis@gentoo
1 commit: 782871f47e7d2fde2f2d423067a56969e8a17fa2
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sat Sep 21 19:26:15 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 22 08:09:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782871f4
7
8 app-misc/lcdproc: drop old versions
9
10 Also dropping stable ppc* keywords, since I don't own such hardware.
11 Support will be readded in future for current release.
12
13 Package-Manager: Portage-2.3.76, Repoman-2.3.17
14 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
15 Closes: https://github.com/gentoo/gentoo/pull/12991
16 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
17
18 app-misc/lcdproc/Manifest | 4 -
19 app-misc/lcdproc/files/0.5.1-LCDd.initd | 21 ---
20 app-misc/lcdproc/files/0.5.1-lcdproc.initd | 20 ---
21 app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd | 21 ---
22 app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild | 185 ------------------------
23 app-misc/lcdproc/lcdproc-0.5.5.ebuild | 191 -------------------------
24 app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild | 195 --------------------------
25 app-misc/lcdproc/metadata.xml | 4 -
26 8 files changed, 641 deletions(-)
27
28 diff --git a/app-misc/lcdproc/Manifest b/app-misc/lcdproc/Manifest
29 index ad948bc7e9e..adfba0354a7 100644
30 --- a/app-misc/lcdproc/Manifest
31 +++ b/app-misc/lcdproc/Manifest
32 @@ -1,6 +1,2 @@
33 -DIST lcdproc-0.5.2-patches.tar.gz 6571 BLAKE2B 11cc34b39ceed329ba1aa9d0750a5c90dc0ff33f0650a3e285fd534b54928dc5f6d93854e530c249ed61fa1dde2cd369b32df82dbcb6c4ab3e6d1844672a5692 SHA512 d872099e524ed99525b642783d413f0cbff68aceb30857a4b7078390be9f98aa3acfa23c72e4455802376bc1bedb20019fa8a79e97066e2a1e97b5d68fbcd975
34 -DIST lcdproc-0.5.2.tar.gz 822695 BLAKE2B f7065c2d6ee1c6305d3682166bb2b4920a9f0ac2a079b57389f76edf75c81fa9ebe954358b216dbad866e2daa10f95857106e125cc54a9207a98553f408ae77b SHA512 e21a1f2d3d5f53aa09477e9aea1f9685c1fe224a8f79f15d0d032214de211c51619a9eea9183743c024859349d481fe35d7999cc51e0de81dc2fa8e0c85d7a5d
35 -DIST lcdproc-0.5.5.tar.gz 946206 BLAKE2B eb9e1248e84d4c9352a39991a1125e74cbfee9094d19a75da4298811120fcf2ef8fef056b35873b6308af79f92eb9187e504f43c4b28c07ca402de2c5d8fdc97 SHA512 42500188adb018547db4db4a472dded478a03f19974843865e07a466870fbca409b4259b57366b7dfdd4a5fd444a89c1930032d1127ae036128dbd9279a24b29
36 -DIST lcdproc-0.5.6.tar.gz 998996 BLAKE2B 022ce656390caea0c9394ca7a5458f7285e2655f53c49f6fa7d9f94c0638f9f97cc70af66bb779a6b7ca8024b70c2865d51719b72918a4a7da3f6af7d4451976 SHA512 7c506b4691c8544855dadf939863672230c3e0903bbe4bbde82df04ff932f818cdc406c5b159554ec155d0c46fff23d435121298f4e19bac73658b121c6b8220
37 DIST lcdproc-0.5.9.tar.gz 1091292 BLAKE2B 10b26fc803cf14bf301177336bd14497131440f129d16fa75cbb4782da839eb3a3835091d7c211cfc75d35f07823a1c301cf7ebfae25f2a344d0dfcaf894ca17 SHA512 48e11a587570376b9524591f4c23deace9ac1609b83ba9e17f2a4e950d5598f8f88b580ca01c174ec9c2ef98b1eef7ac274c23ca3541d4d7ff918af0598c6a25
38 DIST linux_input.docbook 1764 BLAKE2B 8e82173d0169e2e79f2625b7bd572409b10fff1ac1a6ebd59527887e3568aad2aa459bb225d95af5e7b2a24b23671d8e7b3a78fdadc7a70e2fe33a36129bed32 SHA512 9b0579713c6d084fa9e0adee6c04387a3f91375f2cbcf2c7e47c01238df07e355330ebeb98081fd296279980fa808e4943c958772891559731465a9e75436ec0
39
40 diff --git a/app-misc/lcdproc/files/0.5.1-LCDd.initd b/app-misc/lcdproc/files/0.5.1-LCDd.initd
41 deleted file mode 100644
42 index 9cc32667eb9..00000000000
43 --- a/app-misc/lcdproc/files/0.5.1-LCDd.initd
44 +++ /dev/null
45 @@ -1,21 +0,0 @@
46 -#!/sbin/openrc-run
47 -# Copyright 1999-2012 Gentoo Foundation
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -depend() {
51 - use net
52 - use g15daemon
53 -}
54 -
55 -start() {
56 - ebegin "Starting LCDd"
57 - start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \
58 - --background --exec /usr/sbin/LCDd -- -s 1 -f
59 - eend $? "Failed to start LCDd. Did you remember to set a driver in /etc/LCDd.conf? See syslog for details."
60 -}
61 -
62 -stop() {
63 - ebegin "Stopping LCDd"
64 - start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid
65 - eend $?
66 -}
67
68 diff --git a/app-misc/lcdproc/files/0.5.1-lcdproc.initd b/app-misc/lcdproc/files/0.5.1-lcdproc.initd
69 deleted file mode 100644
70 index ab23fb806ef..00000000000
71 --- a/app-misc/lcdproc/files/0.5.1-lcdproc.initd
72 +++ /dev/null
73 @@ -1,20 +0,0 @@
74 -#!/sbin/openrc-run
75 -# Copyright 1999-2006 Gentoo Foundation
76 -# Distributed under the terms of the GNU General Public License v2
77 -
78 -depend(){
79 - use LCDd
80 -}
81 -
82 -start() {
83 - ebegin "Starting lcdproc"
84 - start-stop-daemon --start --background \
85 - --exec /usr/bin/lcdproc
86 - eend $?
87 -}
88 -
89 -stop() {
90 - ebegin "Stopping lcdproc"
91 - start-stop-daemon --stop --exec /usr/bin/lcdproc
92 - eend $?
93 -}
94
95 diff --git a/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd b/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd
96 deleted file mode 100644
97 index 2e00eb86bdd..00000000000
98 --- a/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd
99 +++ /dev/null
100 @@ -1,21 +0,0 @@
101 -#!/sbin/openrc-run
102 -# Copyright 1999-2006 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -depend(){
106 - use LCDd
107 - after ntp-client
108 -}
109 -
110 -start() {
111 - ebegin "Starting lcdproc"
112 - start-stop-daemon --start --background \
113 - --exec /usr/bin/lcdproc
114 - eend $?
115 -}
116 -
117 -stop() {
118 - ebegin "Stopping lcdproc"
119 - start-stop-daemon --stop --exec /usr/bin/lcdproc
120 - eend $?
121 -}
122
123 diff --git a/app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild b/app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild
124 deleted file mode 100644
125 index 9dfadf6234c..00000000000
126 --- a/app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild
127 +++ /dev/null
128 @@ -1,185 +0,0 @@
129 -# Copyright 1999-2018 Gentoo Foundation
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=0
133 -
134 -WANT_AUTOMAKE="1.9"
135 -inherit eutils autotools multilib
136 -
137 -DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
138 -HOMEPAGE="http://lcdproc.org/"
139 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
140 - mirror://gentoo/${P}-patches.tar.gz"
141 -
142 -LICENSE="GPL-2"
143 -SLOT="0"
144 -KEYWORDS="amd64 ppc ppc64 x86"
145 -
146 -IUSE="doc debug nfs samba seamless-hbars usb lirc irman joystick"
147 -
148 -# The following array holds the USE_EXPANDed keywords
149 -IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket
150 - cwlinux eyeboxone g15 graphlcd glk
151 - hd44780 icpa106 imon iowarrior
152 - lb216 lcdm001 lcterm
153 - md8800 ms6931 mtcs16209x mtxorb noritakevfd
154 - pyramid sed1330 sed1520 serialvfd sli
155 - stv5730 svga t6963 text tyan
156 - ula200 xosd ea65 picolcd serialpos )
157 -
158 -# Iterate through the array and add the lcd_devices_* that we support
159 -NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
160 -index=0
161 -while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
162 - IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
163 - let "index = ${index} + 1"
164 -done
165 -
166 -RDEPEND="
167 - usb? ( =virtual/libusb-0* )
168 - lirc? ( app-misc/lirc )
169 - irman? ( media-libs/libirman )
170 -
171 - lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver )
172 - lcd_devices_g15? ( dev-libs/libg15 >=dev-libs/libg15render-1.1.1 )
173 - lcd_devices_ncurses? ( sys-libs/ncurses )
174 - lcd_devices_svga? ( media-libs/svgalib )
175 - lcd_devices_ula200? ( >=dev-embedded/libftdi-0.7 =dev-embedded/libftdi-0* =virtual/libusb-0* )
176 - lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
177 - lcd_devices_cfontzpacket? ( =virtual/libusb-0* )
178 - lcd_devices_cwlinux? ( =virtual/libusb-0* )
179 - lcd_devices_pyramid? ( =virtual/libusb-0* )
180 - lcd_devices_picolcd? ( =virtual/libusb-0* )"
181 -DEPEND="${RDEPEND}
182 - doc? ( app-text/xmlto )"
183 -RDEPEND="${RDEPEND}
184 - lcd_devices_g15? ( app-misc/g15daemon )"
185 -
186 -pkg_setup() {
187 - if [ -n "${LCDPROC_DRIVERS}" ] ; then
188 - ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
189 - ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
190 - fi
191 -}
192 -
193 -src_unpack() {
194 - unpack ${A}
195 - cd "${S}"
196 -
197 - epatch "${WORKDIR}/${P}-patches/${PV}-picolcd.patch"
198 -
199 - sed -i "79s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf
200 - einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
201 -
202 - eautoreconf
203 -}
204 -
205 -src_compile() {
206 - # This array contains the driver names required by configure --with-drivers=
207 - # The positions must be the same as the corresponding use_expand flags
208 - local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket
209 - CwLnx EyeboxOne g15 glcdlib glk
210 - hd44780 icp_a106 imon IOWarrior
211 - lb216 lcdm001 lcterm
212 - MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD
213 - pyramid sed1330 sed1520 serialVFD sli
214 - stv5730 svga t6963 text tyan
215 - ula200 xosd ea65 picolcd serialPOS)
216 -
217 - # Generate comma separated list of drivers
218 - COMMA_DRIVERS=""
219 - FIRST_DRIVER=""
220 - local index=0
221 -
222 - while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
223 - if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
224 - append-driver "${DEVICE_DRIVERS[${index}]}"
225 - fi
226 - let "index = ${index} + 1"
227 - done
228 -
229 - # Append the not-lcd-drivers (input)
230 - use lirc && append-driver "lirc"
231 - use irman && append-driver "irman"
232 - use joystick && append-driver "joy"
233 -
234 - if [ -z "${COMMA_DRIVERS}" ] ; then
235 - ewarn "You are compiling LCDd without support for any LCD drivers at all."
236 - else
237 - # Patch the config to contain a driver that is actually installed instead of the default
238 - elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
239 - elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
240 - sed -i "44s:curses:${FIRST_DRIVER}:" LCDd.conf
241 - fi
242 -
243 - local ENABLEUSB
244 - if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid; then
245 - ENABLEUSB="--enable-libusb"
246 - else
247 - ENABLEUSB="$(use_enable usb libusb)"
248 - fi
249 -
250 - econf \
251 - $(use_enable debug) \
252 - $(use_enable nfs stat-nfs) \
253 - $(use_enable samba stat-smbfs ) \
254 - $(use_enable seamless-hbars) \
255 - ${ENABLEUSB} \
256 - "--enable-drivers=${COMMA_DRIVERS}" \
257 - || die "configure failed"
258 -
259 - emake || die "make failed"
260 -
261 - if use doc; then
262 - ebegin "Creating user documentation"
263 - cd "${S}"/docs/lcdproc-user
264 - xmlto html --skip-validation lcdproc-user.docbook
265 - eend $?
266 -
267 - ebegin "Creating dev documentation"
268 - cd "${S}"/docs/lcdproc-dev
269 - xmlto html --skip-validation lcdproc-dev.docbook
270 - eend $?
271 - fi
272 -}
273 -
274 -append-driver() {
275 - [[ -z $* ]] && return 0
276 - if [ -z "${COMMA_DRIVERS}" ] ; then
277 - # First in the list
278 - COMMA_DRIVERS="$*"
279 - FIRST_DRIVER="$*"
280 - else
281 - # Second, third, ... include a comma at the front
282 - COMMA_DRIVERS="${COMMA_DRIVERS},$*"
283 - fi
284 - return 0
285 -}
286 -
287 -src_install() {
288 - emake DESTDIR="${D}" install || die "make install failed"
289 -
290 - # move example clients installed to /usr/bin
291 - rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
292 - insinto /usr/share/lcdproc/clients
293 - doins clients/examples/*.pl
294 - doins clients/metar/
295 -
296 - newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
297 - newinitd "${FILESDIR}/0.5.1-lcdproc.initd" lcdproc
298 -
299 - dodoc README CREDITS ChangeLog INSTALL TODO
300 - dodoc docs/README.* docs/*.txt
301 -
302 - if use doc; then
303 - insinto /usr/share/doc/${PF}/lcdproc-user
304 - doins docs/lcdproc-user/*.html
305 - insinto /usr/share/doc/${PF}/lcdproc-dev
306 - doins docs/lcdproc-dev/*.html
307 - fi
308 -}
309 -
310 -pkg_postinst() {
311 - ewarn "IMPORTANT: Please update your /etc/LCDd.conf"
312 - ewarn "As of lcdproc-0.5.1-r2, the DriverPath changed from /usr/share/lcdproc to /usr/$(get_libdir)/lcdproc ."
313 -}
314
315 diff --git a/app-misc/lcdproc/lcdproc-0.5.5.ebuild b/app-misc/lcdproc/lcdproc-0.5.5.ebuild
316 deleted file mode 100644
317 index 07326bd3f02..00000000000
318 --- a/app-misc/lcdproc/lcdproc-0.5.5.ebuild
319 +++ /dev/null
320 @@ -1,191 +0,0 @@
321 -# Copyright 1999-2016 Gentoo Foundation
322 -# Distributed under the terms of the GNU General Public License v2
323 -
324 -EAPI=4
325 -inherit multilib versionator
326 -
327 -MY_PV=$(replace_version_separator 3 '-')
328 -MY_P=${PN}-${MY_PV}
329 -S=${WORKDIR}/${MY_P}
330 -
331 -DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
332 -HOMEPAGE="http://lcdproc.org/"
333 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
334 -
335 -LICENSE="GPL-2"
336 -SLOT="0"
337 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
338 -
339 -IUSE="doc debug hid nfs samba seamless-hbars usb lirc irman joystick ftdi"
340 -
341 -# The following array holds the USE_EXPANDed keywords
342 -IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket
343 - cwlinux eyeboxone g15 graphlcd glk
344 - hd44780 icpa106 imon imonlcd iowarrior
345 - lb216 lcdm001 lcterm
346 - md8800 mdm166a ms6931 mtcs16209x mtxorb noritakevfd
347 - pyramid sed1330 sed1520 serialvfd sli
348 - stv5730 SureElec svga t6963 text tyan
349 - ula200 xosd ea65 picolcd serialpos
350 - i2500vfd irtrans lis shuttlevfd )
351 -
352 -# Iterate through the array and add the lcd_devices_* that we support
353 -NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
354 -index=0
355 -while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
356 - IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
357 - let "index = ${index} + 1"
358 -done
359 -
360 -REQUIRED_USE="lcd_devices_mdm166a? ( hid )"
361 -
362 -RDEPEND="
363 - usb? ( virtual/libusb:0 )
364 - ftdi? ( dev-embedded/libftdi:0 )
365 - lirc? ( app-misc/lirc )
366 - irman? ( media-libs/libirman )
367 - hid? ( >=dev-libs/libhid-0.2.16 )
368 -
369 - lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver )
370 - lcd_devices_g15? ( dev-libs/libg15 dev-libs/libg15render )
371 - lcd_devices_ncurses? ( sys-libs/ncurses )
372 - lcd_devices_svga? ( media-libs/svgalib )
373 - lcd_devices_ula200? ( dev-embedded/libftdi:0 )
374 - lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
375 - lcd_devices_cfontzpacket? ( virtual/libusb:0 )
376 - lcd_devices_cwlinux? ( virtual/libusb:0 )
377 - lcd_devices_pyramid? ( virtual/libusb:0 )
378 - lcd_devices_picolcd? ( virtual/libusb:0 )
379 - lcd_devices_i2500vfd? ( dev-embedded/libftdi:0 )
380 - lcd_devices_lis? ( dev-embedded/libftdi:0 virtual/libusb:0 )
381 - lcd_devices_shuttlevfd? ( virtual/libusb:0 )"
382 -DEPEND="${RDEPEND}
383 - doc? ( app-text/xmlto
384 - app-text/docbook-xml-dtd:4.5 )"
385 -RDEPEND="${RDEPEND}
386 - lcd_devices_g15? ( app-misc/g15daemon )"
387 -
388 -pkg_setup() {
389 - if [ -n "${LCDPROC_DRIVERS}" ] ; then
390 - ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
391 - ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
392 - fi
393 -}
394 -
395 -src_prepare() {
396 - sed -i "37s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf || die
397 - einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
398 -}
399 -
400 -src_configure() {
401 - # This array contains the driver names required by configure --with-drivers=
402 - # The positions must be the same as the corresponding use_expand flags
403 - local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket
404 - CwLnx EyeboxOne g15 glcdlib glk
405 - hd44780 icp_a106 imon imonlcd IOWarrior
406 - lb216 lcdm001 lcterm
407 - MD8800 mdm166a ms6931 mtc_s16209x MtxOrb NoritakeVFD
408 - pyramid sed1330 sed1520 serialVFD sli
409 - stv5730 SureElec svga t6963 text tyan
410 - ula200 xosd ea65 picolcd serialPOS
411 - i2500vfd irtrans lis shuttleVFD )
412 -
413 - # Generate comma separated list of drivers
414 - COMMA_DRIVERS=""
415 - FIRST_DRIVER=""
416 - local index=0
417 -
418 - while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
419 - if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
420 - append-driver "${DEVICE_DRIVERS[${index}]}"
421 - fi
422 - let "index = ${index} + 1"
423 - done
424 -
425 - # Append the not-lcd-drivers (input)
426 - use lirc && append-driver "lirc"
427 - use irman && append-driver "irman"
428 - use joystick && append-driver "joy"
429 -
430 - if [ -z "${COMMA_DRIVERS}" ] ; then
431 - ewarn "You are compiling LCDd without support for any LCD drivers at all."
432 - else
433 - # Patch the config to contain a driver that is actually installed instead of the default
434 - elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
435 - elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
436 - sed -i "53s:curses:${FIRST_DRIVER}:" LCDd.conf || die
437 - fi
438 -
439 - local EXTRA_CONF
440 - if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid || \
441 - use lcd_devices_picolcd || use lcd_devices_lis || use lcd_devices_shuttlevfd ; then
442 - EXTRA_CONF="--enable-libusb"
443 - else
444 - EXTRA_CONF="$(use_enable usb libusb)"
445 - fi
446 -
447 - if use lcd_devices_ula200 || use lcd_devices_i2500vfd || use lcd_devices_lis ; then
448 - EXTRA_CONF="${EXTRA_CONF} --enable-libftdi"
449 - else
450 - EXTRA_CONF="${EXTRA_CONF} $(use_enable ftdi libftdi)"
451 - fi
452 -
453 - econf --enable-extra-charmaps \
454 - $(use_enable debug) \
455 - $(use_enable nfs stat-nfs) \
456 - $(use_enable samba stat-smbfs ) \
457 - $(use_enable seamless-hbars) \
458 - ${EXTRA_CONF} \
459 - "--enable-drivers=${COMMA_DRIVERS}"
460 -}
461 -
462 -src_compile() {
463 - default
464 -
465 - if use doc; then
466 - ebegin "Creating user documentation"
467 - cd "${S}"/docs/lcdproc-user
468 - xmlto html --skip-validation lcdproc-user.docbook
469 - eend $?
470 -
471 - ebegin "Creating dev documentation"
472 - cd "${S}"/docs/lcdproc-dev
473 - xmlto html --skip-validation lcdproc-dev.docbook
474 - eend $?
475 - fi
476 -}
477 -
478 -append-driver() {
479 - [[ -z $* ]] && return 0
480 - if [ -z "${COMMA_DRIVERS}" ] ; then
481 - # First in the list
482 - COMMA_DRIVERS="$*"
483 - FIRST_DRIVER="$*"
484 - else
485 - # Second, third, ... include a comma at the front
486 - COMMA_DRIVERS="${COMMA_DRIVERS},$*"
487 - fi
488 - return 0
489 -}
490 -
491 -src_install() {
492 - emake DESTDIR="${D}" install
493 -
494 - # move example clients installed to /usr/bin
495 - rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
496 - insinto /usr/share/lcdproc/clients
497 - doins clients/examples/*.pl
498 - doins clients/metar/*.pl
499 -
500 - newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
501 - newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc
502 -
503 - dodoc README CREDITS ChangeLog INSTALL TODO
504 -
505 - if use doc; then
506 - insinto /usr/share/doc/${PF}/lcdproc-user
507 - doins docs/lcdproc-user/*.html
508 - insinto /usr/share/doc/${PF}/lcdproc-dev
509 - doins docs/lcdproc-dev/*.html
510 - fi
511 -}
512
513 diff --git a/app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild b/app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild
514 deleted file mode 100644
515 index 1a748f89860..00000000000
516 --- a/app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild
517 +++ /dev/null
518 @@ -1,195 +0,0 @@
519 -# Copyright 1999-2016 Gentoo Foundation
520 -# Distributed under the terms of the GNU General Public License v2
521 -
522 -EAPI=5
523 -inherit multilib versionator
524 -
525 -MY_PV=$(replace_version_separator 3 '-')
526 -MY_P=${PN}-${MY_PV}
527 -S=${WORKDIR}/${MY_P}
528 -
529 -DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
530 -HOMEPAGE="http://lcdproc.org/"
531 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
532 -
533 -LICENSE="GPL-2"
534 -SLOT="0"
535 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
536 -
537 -IUSE="debug doc ftdi hid irman joystick lirc nfs png samba seamless-hbars truetype usb"
538 -
539 -# The following array holds the USE_EXPANDed keywords
540 -IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontzpacket
541 - cwlinux eyeboxone g15 graphlcd glk
542 - hd44780 icpa106 imon imonlcd iowarrior
543 - lb216 lcdm001 lcterm
544 - md8800 mdm166a ms6931 mtcs16209x mtxorb noritakevfd
545 - pyramid sdeclcd sed1330 sed1520 serialvfd sli
546 - stv5730 SureElec svga t6963 text tyan
547 - ula200 vlsys_m428 xosd ea65 picolcd serialpos
548 - i2500vfd irtrans lis shuttlevfd )
549 -
550 -# Iterate through the array and add the lcd_devices_* that we support
551 -NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
552 -index=0
553 -while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
554 - IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
555 - let "index = ${index} + 1"
556 -done
557 -
558 -REQUIRED_USE="lcd_devices_mdm166a? ( hid )"
559 -
560 -RDEPEND="
561 - ftdi? ( dev-embedded/libftdi:0 )
562 - hid? ( >=dev-libs/libhid-0.2.16 )
563 - irman? ( media-libs/libirman )
564 - lirc? ( app-misc/lirc )
565 - png? ( media-libs/libpng:0 )
566 - truetype? ( media-libs/freetype:2 )
567 - usb? ( virtual/libusb:0 )
568 -
569 - lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver dev-libs/serdisplib )
570 - lcd_devices_g15? ( dev-libs/libg15 dev-libs/libg15render )
571 - lcd_devices_ncurses? ( sys-libs/ncurses:= )
572 - lcd_devices_svga? ( media-libs/svgalib )
573 - lcd_devices_ula200? ( dev-embedded/libftdi:0 )
574 - lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
575 - lcd_devices_cfontzpacket? ( virtual/libusb:0 )
576 - lcd_devices_cwlinux? ( virtual/libusb:0 )
577 - lcd_devices_pyramid? ( virtual/libusb:0 )
578 - lcd_devices_picolcd? ( virtual/libusb:0 )
579 - lcd_devices_i2500vfd? ( dev-embedded/libftdi:0 )
580 - lcd_devices_lis? ( dev-embedded/libftdi:0 virtual/libusb:0 )
581 - lcd_devices_shuttlevfd? ( virtual/libusb:0 )"
582 -DEPEND="${RDEPEND}
583 - doc? ( app-text/xmlto
584 - app-text/docbook-xml-dtd:4.5 )"
585 -RDEPEND="${RDEPEND}
586 - lcd_devices_g15? ( app-misc/g15daemon )"
587 -
588 -pkg_setup() {
589 - if [ -n "${LCDPROC_DRIVERS}" ] ; then
590 - ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
591 - ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
592 - fi
593 -}
594 -
595 -src_prepare() {
596 - sed -i "37s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf || die
597 - einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
598 -}
599 -
600 -src_configure() {
601 - # This array contains the driver names required by configure --with-drivers=
602 - # The positions must be the same as the corresponding use_expand flags
603 - local DEVICE_DRIVERS=(curses bayrad CFontz CFontzPacket
604 - CwLnx EyeboxOne g15 glcd,glcdlib glk
605 - hd44780 icp_a106 imon imonlcd IOWarrior
606 - lb216 lcdm001 lcterm
607 - MD8800 mdm166a ms6931 mtc_s16209x MtxOrb NoritakeVFD
608 - pyramid sdeclcd sed1330 sed1520 serialVFD sli
609 - stv5730 SureElec svga t6963 text tyan
610 - ula200 vlsys_m428 xosd ea65 picolcd serialPOS
611 - i2500vfd irtrans lis shuttleVFD )
612 -
613 - # Generate comma separated list of drivers
614 - COMMA_DRIVERS=""
615 - FIRST_DRIVER=""
616 - local index=0
617 -
618 - while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
619 - if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
620 - append-driver "${DEVICE_DRIVERS[${index}]}"
621 - fi
622 - let "index = ${index} + 1"
623 - done
624 -
625 - # Append the not-lcd-drivers (input)
626 - use lirc && append-driver "lirc"
627 - use irman && append-driver "irman"
628 - use joystick && append-driver "joy"
629 -
630 - if [ -z "${COMMA_DRIVERS}" ] ; then
631 - ewarn "You are compiling LCDd without support for any LCD drivers at all."
632 - else
633 - # Patch the config to contain a driver that is actually installed instead of the default
634 - elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
635 - elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
636 - sed -i "53s:curses:${FIRST_DRIVER}:" LCDd.conf || die
637 - fi
638 -
639 - local EXTRA_CONF
640 - if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid || \
641 - use lcd_devices_picolcd || use lcd_devices_lis || use lcd_devices_shuttlevfd ; then
642 - EXTRA_CONF="--enable-libusb"
643 - else
644 - EXTRA_CONF="$(use_enable usb libusb)"
645 - fi
646 -
647 - if use lcd_devices_ula200 || use lcd_devices_i2500vfd || use lcd_devices_lis ; then
648 - EXTRA_CONF="${EXTRA_CONF} --enable-libftdi"
649 - else
650 - EXTRA_CONF="${EXTRA_CONF} $(use_enable ftdi libftdi)"
651 - fi
652 -
653 - econf --enable-extra-charmaps \
654 - $(use_enable debug) \
655 - $(use_enable nfs stat-nfs) \
656 - $(use_enable png libpng) \
657 - $(use_enable samba stat-smbfs ) \
658 - $(use_enable seamless-hbars) \
659 - $(use_enable truetype freetype) \
660 - ${EXTRA_CONF} \
661 - "--enable-drivers=${COMMA_DRIVERS}"
662 -}
663 -
664 -src_compile() {
665 - default
666 -
667 - if use doc; then
668 - ebegin "Creating user documentation"
669 - cd "${S}"/docs/lcdproc-user
670 - xmlto html --skip-validation lcdproc-user.docbook
671 - eend $?
672 -
673 - ebegin "Creating dev documentation"
674 - cd "${S}"/docs/lcdproc-dev
675 - xmlto html --skip-validation lcdproc-dev.docbook
676 - eend $?
677 - fi
678 -}
679 -
680 -append-driver() {
681 - [[ -z $* ]] && return 0
682 - if [ -z "${COMMA_DRIVERS}" ] ; then
683 - # First in the list
684 - COMMA_DRIVERS="$*"
685 - FIRST_DRIVER="$*"
686 - else
687 - # Second, third, ... include a comma at the front
688 - COMMA_DRIVERS="${COMMA_DRIVERS},$*"
689 - fi
690 - return 0
691 -}
692 -
693 -src_install() {
694 - emake DESTDIR="${D}" install
695 -
696 - # move example clients installed to /usr/bin
697 - rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
698 - insinto /usr/share/lcdproc/clients
699 - doins clients/examples/*.pl
700 - doins clients/metar/*.pl
701 -
702 - newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
703 - newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc
704 -
705 - dodoc README CREDITS ChangeLog INSTALL TODO
706 -
707 - if use doc; then
708 - insinto /usr/share/doc/${PF}/lcdproc-user
709 - doins docs/lcdproc-user/*.html
710 - insinto /usr/share/doc/${PF}/lcdproc-dev
711 - doins docs/lcdproc-dev/*.html
712 - fi
713 -}
714
715 diff --git a/app-misc/lcdproc/metadata.xml b/app-misc/lcdproc/metadata.xml
716 index f54e361fd68..8b296d83b82 100644
717 --- a/app-misc/lcdproc/metadata.xml
718 +++ b/app-misc/lcdproc/metadata.xml
719 @@ -21,14 +21,10 @@
720 <flag name="ethlcd">Enable support for ethlcd in the hd44780 driver.</flag>
721 <flag name="extra-charmaps">Enable extra language specific charmaps.</flag>
722 <flag name="freetype">Enable support for <pkg>media-libs/freetype</pkg> in the glcd driver.</flag>
723 - <flag name="ftdi">Enable support for <pkg>dev-embedded/libftdi</pkg> in the glcd,hd44780,i2500vfd,lis and ula200 driver.</flag>
724 - <flag name="hid">Enable support for <pkg>dev-libs/libhid</pkg> in the cfontz,cfontzpacket,cwlnx,glcd,lb216,mdm166a,mtc_s16209x and noritakevfd driver.</flag>
725 - <flag name="irman">Enable support for <pkg>media-libs/libirman</pkg> in the irman driver.</flag>
726 <flag name="menu">Enable menu support in the lcdproc client.</flag>
727 <flag name="nfs">Display NFS filesystem stats in the lcdproc client.</flag>
728 <flag name="png">Enable support for <pkg>media-libs/libpng</pkg> in the glcd driver.</flag>
729 <flag name="samba">Display SMBFS filesystem stats in the lcdproc client.</flag>
730 - <flag name="seamless-hbars">Don't produce any gaps in horizontal bar graphs, if hardware supports it.</flag>
731 <flag name="test-menu">Enable test menu support for the lcdproc server.</flag>
732 </use>
733 <upstream>