1 |
rbu 09/11/01 16:29:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lcdproc-0.5.3.ebuild |
5 |
Removed: lcdproc-0.5.3_pre1.ebuild |
6 |
Log: |
7 |
+ Add docbook-xml-dtd as direct dependency, version bump to final. Thanks to |
8 |
+ Samuli Suominen, bug #273214. |
9 |
(Portage version: 2.1.7.1/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.68 app-misc/lcdproc/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lcdproc/ChangeLog?rev=1.68&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lcdproc/ChangeLog?rev=1.68&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lcdproc/ChangeLog?r1=1.67&r2=1.68 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v |
21 |
retrieving revision 1.67 |
22 |
retrieving revision 1.68 |
23 |
diff -u -r1.67 -r1.68 |
24 |
--- ChangeLog 13 Jun 2009 10:38:47 -0000 1.67 |
25 |
+++ ChangeLog 1 Nov 2009 16:29:07 -0000 1.68 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-misc/lcdproc |
28 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.67 2009/06/13 10:38:47 rbu Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.68 2009/11/01 16:29:07 rbu Exp $ |
31 |
+ |
32 |
+*lcdproc-0.5.3 (01 Nov 2009) |
33 |
+ |
34 |
+ 01 Nov 2009; Robert Buchholz <rbu@g.o> -lcdproc-0.5.3_pre1.ebuild, |
35 |
+ +lcdproc-0.5.3.ebuild: |
36 |
+ Add docbook-xml-dtd as direct dependency, version bump to final. Thanks to |
37 |
+ Samuli Suominen, bug #273214. |
38 |
|
39 |
13 Jun 2009; Robert Buchholz <rbu@g.o> -lcdproc-0.5.1-r4.ebuild, |
40 |
lcdproc-0.5.2-r1.ebuild, lcdproc-0.5.2-r2.ebuild, |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-misc/lcdproc/lcdproc-0.5.3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: lcdproc-0.5.3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.3.ebuild,v 1.1 2009/11/01 16:29:07 rbu Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
inherit multilib versionator |
57 |
|
58 |
MY_PV=$(replace_version_separator 3 '-') |
59 |
MY_P=${PN}-${MY_PV} |
60 |
S=${WORKDIR}/${MY_P} |
61 |
|
62 |
DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices" |
63 |
HOMEPAGE="http://lcdproc.org/" |
64 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
69 |
|
70 |
IUSE="doc debug nfs samba seamless-hbars usb lirc irman joystick ftdi" |
71 |
|
72 |
# The following array holds the USE_EXPANDed keywords |
73 |
IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket |
74 |
cwlinux eyeboxone g15 graphlcd glk |
75 |
hd44780 icpa106 imon imonlcd iowarrior |
76 |
lb216 lcdm001 lcterm |
77 |
md8800 ms6931 mtcs16209x mtxorb noritakevfd |
78 |
pyramid sed1330 sed1520 serialvfd sli |
79 |
stv5730 svga t6963 text tyan |
80 |
ula200 xosd ea65 picolcd serialpos |
81 |
i2500vfd irtrans lis shuttlevfd ) |
82 |
|
83 |
# Iterate through the array and add the lcd_devices_* that we support |
84 |
NUM_DEVICES=${#IUSE_LCD_DEVICES[@]} |
85 |
index=0 |
86 |
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do |
87 |
IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}" |
88 |
let "index = ${index} + 1" |
89 |
done |
90 |
|
91 |
RDEPEND=" |
92 |
usb? ( virtual/libusb:0 ) |
93 |
ftdi? ( dev-embedded/libftdi ) |
94 |
lirc? ( app-misc/lirc ) |
95 |
irman? ( media-libs/libirman ) |
96 |
|
97 |
lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver ) |
98 |
lcd_devices_g15? ( dev-libs/libg15 dev-libs/libg15render ) |
99 |
lcd_devices_ncurses? ( sys-libs/ncurses ) |
100 |
lcd_devices_svga? ( media-libs/svgalib ) |
101 |
lcd_devices_ula200? ( dev-embedded/libftdi ) |
102 |
lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext ) |
103 |
lcd_devices_cfontzpacket? ( virtual/libusb:0 ) |
104 |
lcd_devices_cwlinux? ( virtual/libusb:0 ) |
105 |
lcd_devices_pyramid? ( virtual/libusb:0 ) |
106 |
lcd_devices_picolcd? ( virtual/libusb:0 ) |
107 |
lcd_devices_i2500vfd? ( dev-embedded/libftdi ) |
108 |
lcd_devices_lis? ( dev-embedded/libftdi virtual/libusb:0 ) |
109 |
lcd_devices_shuttlevfd? ( virtual/libusb:0 )" |
110 |
DEPEND="${RDEPEND} |
111 |
doc? ( app-text/xmlto |
112 |
app-text/docbook-xml-dtd:4.5 )" |
113 |
RDEPEND="${RDEPEND} |
114 |
lcd_devices_g15? ( app-misc/g15daemon )" |
115 |
|
116 |
pkg_setup() { |
117 |
if [ -n "${LCDPROC_DRIVERS}" ] ; then |
118 |
ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore." |
119 |
ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options." |
120 |
fi |
121 |
} |
122 |
|
123 |
src_prepare() { |
124 |
sed -i "79s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf |
125 |
einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/" |
126 |
} |
127 |
|
128 |
src_configure() { |
129 |
# This array contains the driver names required by configure --with-drivers= |
130 |
# The positions must be the same as the corresponding use_expand flags |
131 |
local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket |
132 |
CwLnx EyeboxOne g15 glcdlib glk |
133 |
hd44780 icp_a106 imon imonlcd IOWarrior |
134 |
lb216 lcdm001 lcterm |
135 |
MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD |
136 |
pyramid sed1330 sed1520 serialVFD sli |
137 |
stv5730 svga t6963 text tyan |
138 |
ula200 xosd ea65 picolcd serialPOS |
139 |
i2500vfd irtrans lis shuttleVFD ) |
140 |
|
141 |
# Generate comma separated list of drivers |
142 |
COMMA_DRIVERS="" |
143 |
FIRST_DRIVER="" |
144 |
local index=0 |
145 |
|
146 |
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do |
147 |
if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then |
148 |
append-driver "${DEVICE_DRIVERS[${index}]}" |
149 |
fi |
150 |
let "index = ${index} + 1" |
151 |
done |
152 |
|
153 |
# Append the not-lcd-drivers (input) |
154 |
use lirc && append-driver "lirc" |
155 |
use irman && append-driver "irman" |
156 |
use joystick && append-driver "joy" |
157 |
|
158 |
if [ -z "${COMMA_DRIVERS}" ] ; then |
159 |
ewarn "You are compiling LCDd without support for any LCD drivers at all." |
160 |
else |
161 |
# Patch the config to contain a driver that is actually installed instead of the default |
162 |
elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}" |
163 |
elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf" |
164 |
sed -i "44s:curses:${FIRST_DRIVER}:" LCDd.conf |
165 |
fi |
166 |
|
167 |
local EXTRA_CONF |
168 |
if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid || \ |
169 |
use lcd_devices_picolcd || use lcd_devices_lis || use lcd_devices_shuttlevfd ; then |
170 |
EXTRA_CONF="--enable-libusb" |
171 |
else |
172 |
EXTRA_CONF="$(use_enable usb libusb)" |
173 |
fi |
174 |
|
175 |
if use lcd_devices_ula200 || use lcd_devices_i2500vfd || use lcd_devices_lis ; then |
176 |
EXTRA_CONF="${EXTRA_CONF} --enable-libftdi" |
177 |
else |
178 |
EXTRA_CONF="${EXTRA_CONF} $(use_enable ftdi libftdi)" |
179 |
fi |
180 |
|
181 |
econf \ |
182 |
$(use_enable debug) \ |
183 |
$(use_enable nfs stat-nfs) \ |
184 |
$(use_enable samba stat-smbfs ) \ |
185 |
$(use_enable seamless-hbars) \ |
186 |
${EXTRA_CONF} \ |
187 |
"--enable-drivers=${COMMA_DRIVERS}" \ |
188 |
|| die "configure failed" |
189 |
} |
190 |
|
191 |
src_compile() { |
192 |
default |
193 |
|
194 |
if use doc; then |
195 |
ebegin "Creating user documentation" |
196 |
cd "${S}"/docs/lcdproc-user |
197 |
xmlto html --skip-validation lcdproc-user.docbook |
198 |
eend $? |
199 |
|
200 |
ebegin "Creating dev documentation" |
201 |
cd "${S}"/docs/lcdproc-dev |
202 |
xmlto html --skip-validation lcdproc-dev.docbook |
203 |
eend $? |
204 |
fi |
205 |
} |
206 |
|
207 |
append-driver() { |
208 |
[[ -z $* ]] && return 0 |
209 |
if [ -z "${COMMA_DRIVERS}" ] ; then |
210 |
# First in the list |
211 |
COMMA_DRIVERS="$*" |
212 |
FIRST_DRIVER="$*" |
213 |
else |
214 |
# Second, third, ... include a comma at the front |
215 |
COMMA_DRIVERS="${COMMA_DRIVERS},$*" |
216 |
fi |
217 |
return 0 |
218 |
} |
219 |
|
220 |
src_install() { |
221 |
emake DESTDIR="${D}" install || die "make install failed" |
222 |
|
223 |
# move example clients installed to /usr/bin |
224 |
rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl |
225 |
insinto /usr/share/lcdproc/clients |
226 |
doins clients/examples/*.pl |
227 |
doins clients/metar/ |
228 |
|
229 |
newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd |
230 |
newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc |
231 |
|
232 |
dodoc README CREDITS ChangeLog INSTALL TODO |
233 |
|
234 |
if use doc; then |
235 |
insinto /usr/share/doc/${PF}/lcdproc-user |
236 |
doins docs/lcdproc-user/*.html |
237 |
insinto /usr/share/doc/${PF}/lcdproc-dev |
238 |
doins docs/lcdproc-dev/*.html |
239 |
fi |
240 |
} |