summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2009-06-08 15:18:51 +0000
committerRobert Buchholz <rbu@gentoo.org>2009-06-08 15:18:51 +0000
commit2843893d8429c942b4ccd19d6d5150583887dbdf (patch)
tree363bbfe7a45e4caa6a1ffd2e04b56c2df7e97ffa /app-misc
parentAdd several LCD_DEVICES for lcdproc 0.5.3 (diff)
downloadhistorical-2843893d8429c942b4ccd19d6d5150583887dbdf.tar.gz
historical-2843893d8429c942b4ccd19d6d5150583887dbdf.tar.bz2
historical-2843893d8429c942b4ccd19d6d5150583887dbdf.zip
Version bump, add i2500vfd, irtrans, lis and shuttlevfd drivers.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lcdproc/ChangeLog8
-rw-r--r--app-misc/lcdproc/Manifest8
-rw-r--r--app-misc/lcdproc/lcdproc-0.5.1-r4.ebuild4
-rw-r--r--app-misc/lcdproc/lcdproc-0.5.3_pre1.ebuild190
-rw-r--r--app-misc/lcdproc/metadata.xml1
5 files changed, 204 insertions, 7 deletions
diff --git a/app-misc/lcdproc/ChangeLog b/app-misc/lcdproc/ChangeLog
index d5475b29a9e7..41fc436c9377 100644
--- a/app-misc/lcdproc/ChangeLog
+++ b/app-misc/lcdproc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/lcdproc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.65 2009/05/16 08:57:16 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.66 2009/06/08 15:18:51 rbu Exp $
+
+*lcdproc-0.5.3_pre1 (08 Jun 2009)
+
+ 08 Jun 2009; Robert Buchholz <rbu@gentoo.org> metadata.xml,
+ lcdproc-0.5.1-r4.ebuild, +lcdproc-0.5.3_pre1.ebuild:
+ Version bump, add i2500vfd, irtrans, lis and shuttlevfd drivers.
16 May 2009; Robin H. Johnson <robbat2@gentoo.org>
lcdproc-0.5.1-r4.ebuild, lcdproc-0.5.2-r1.ebuild, lcdproc-0.5.2-r2.ebuild:
diff --git a/app-misc/lcdproc/Manifest b/app-misc/lcdproc/Manifest
index 3a9d7e2930a6..99f25b9177f8 100644
--- a/app-misc/lcdproc/Manifest
+++ b/app-misc/lcdproc/Manifest
@@ -6,8 +6,10 @@ DIST lcdproc-0.5.1.tar.gz 800205 RMD160 2672f660afac8437a9b6a1791bff80466cdfde64
DIST lcdproc-0.5.2-patches.tar.gz 6571 RMD160 31b4534ea0fe2d58b52bb1dda76f0b728abdb916 SHA1 3dee4d57366eac2603656557d7ff8a6beb27249d SHA256 b578bbb2e0e1adabfd8eda2101d9023652c8d3c112d7dc78fb77026d5f2db13d
DIST lcdproc-0.5.2-r2-patches.tar.gz 20140 RMD160 a87095f9e643fe9c9cf293db5b54443a42535148 SHA1 54c47f2837c43e670703022a5172a538dda6729b SHA256 c222fb0867bdbc510a4fed4d72e6c71c10d341997432bed84d713e6fac1d4b37
DIST lcdproc-0.5.2.tar.gz 822695 RMD160 73c275cc00f06dc256267e87e1c3b1dcac172fb1 SHA1 924fca84eb5a07464a3d38df86d9a4427fd06dd7 SHA256 3261910dd9155229a2a6067c82ec4cca0d7900420f2d74c87a24b41b9b961036
-EBUILD lcdproc-0.5.1-r4.ebuild 5742 RMD160 ea28b619f3357b6cc16dbdf52f7bf006614340e5 SHA1 a812d9fd6b322a15553a8f6344e655225c102749 SHA256 b6c5e7a809b7ffdcd8edb2af5c0f4dad3ef83758dd9df33fd7dfb1df021d6e1b
+DIST lcdproc-0.5.3-pre1.tar.gz 900158 RMD160 66bd71e5d00fcbb3e72db828f7a0450b79ca6d64 SHA1 2d190491b9bcf8ec2ebdd6c16394ab648516d445 SHA256 4b77a98a32abe52e9c2dd54ea3146d0e602b907e5ac77b22039b0815749a8234
+EBUILD lcdproc-0.5.1-r4.ebuild 5692 RMD160 df6ed3306a45ad3a6a66f2ee6fda1756405004b2 SHA1 5e2ea7ccef8f514743f91bf0540f2a2b6f424901 SHA256 687a57318082c8a77c826459dc8a5acaa1328ef1bf03726eab079ca33509f0fc
EBUILD lcdproc-0.5.2-r1.ebuild 5565 RMD160 98c42d8cca4fd23b83357b2038621f93a48cfd91 SHA1 37f77a6a232253d1b739c2794e3cb6b0cb866081 SHA256 2b91b1419e1f0b395b7f381cdf6f08e0a1072342ec495902007c9a10ec75560f
EBUILD lcdproc-0.5.2-r2.ebuild 5651 RMD160 b0a05b916382c398b9a1729d6b1877e3e4701b8a SHA1 076f8f22ba591147bd5961ecefa2a844723b1528 SHA256 83e2b22566c7c8f9e1639c06c67894660d5f7e84af7a03beeef35b39fb2dbff6
-MISC ChangeLog 11724 RMD160 0eef17e63b1a1e6305c68936d70d7de77328aa66 SHA1 6e2fa6e1d42fbd62d37ebc4590ec2198a6083024 SHA256 67b8e065059c66ed33d67d45a1cac2550833bc4e4285cb6f81e27d949e81356a
-MISC metadata.xml 1016 RMD160 db1cc38cd46c80bcaddd5ffe66f4043233ec00f3 SHA1 df05ed4e2dd669eaec7e8ff0953a425b776f5e35 SHA256 a2bdee464f51135a155879f8cb7a3a055b3478759ed08c17a846fc935e8be211
+EBUILD lcdproc-0.5.3_pre1.ebuild 5832 RMD160 bd394430d62b81035e59167366a2e167dac4630d SHA1 a8b7c12d706dc029a0417d418331fd0625b010a9 SHA256 580a2ebbb86f6fce37a42e3a01a367fb4e3380fc7d6429a0e263e3c6714150d8
+MISC ChangeLog 11940 RMD160 0d741e8dc58a0e0c54aeb8a1e7e43babb31fc7f6 SHA1 84a93683f2034a89a19f371b477949d926235d8f SHA256 4328d2272c993ef88e82b819ea13b43e8010680d4f7271758f112fbc123d6c8e
+MISC metadata.xml 1128 RMD160 0b8e10967ae17425a9f40c08de1d64512da134d2 SHA1 5d6f7cd01e9a27dfc23136627d7a9b8fb257d1bf SHA256 7e3cfa47a936d661292ed3270df10962a0895b426c3aec2dcf21358b61662701
diff --git a/app-misc/lcdproc/lcdproc-0.5.1-r4.ebuild b/app-misc/lcdproc/lcdproc-0.5.1-r4.ebuild
index ad653fee5fc4..a1c70aa6f89c 100644
--- a/app-misc/lcdproc/lcdproc-0.5.1-r4.ebuild
+++ b/app-misc/lcdproc/lcdproc-0.5.1-r4.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.1-r4.ebuild,v 1.8 2009/05/16 08:57:16 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.1-r4.ebuild,v 1.9 2009/06/08 15:18:51 rbu Exp $
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
inherit eutils autotools multilib
DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
diff --git a/app-misc/lcdproc/lcdproc-0.5.3_pre1.ebuild b/app-misc/lcdproc/lcdproc-0.5.3_pre1.ebuild
new file mode 100644
index 000000000000..612a705fabdf
--- /dev/null
+++ b/app-misc/lcdproc/lcdproc-0.5.3_pre1.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.3_pre1.ebuild,v 1.1 2009/06/08 15:18:51 rbu Exp $
+
+EAPI=2
+inherit multilib versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${MY_P}
+
+
+DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
+HOMEPAGE="http://lcdproc.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="doc debug nfs samba seamless-hbars usb lirc irman joystick ftdi"
+
+# The following array holds the USE_EXPANDed keywords
+IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket
+ cwlinux eyeboxone g15 graphlcd glk
+ hd44780 icpa106 imon imonlcd iowarrior
+ lb216 lcdm001 lcterm
+ md8800 ms6931 mtcs16209x mtxorb noritakevfd
+ pyramid sed1330 sed1520 serialvfd sli
+ stv5730 svga t6963 text tyan
+ ula200 xosd ea65 picolcd serialpos
+ i2500vfd irtrans lis shuttlevfd )
+
+# Iterate through the array and add the lcd_devices_* that we support
+NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
+index=0
+while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
+ let "index = ${index} + 1"
+done
+
+RDEPEND="
+ usb? ( virtual/libusb:0 )
+ ftdi? ( dev-embedded/libftdi )
+ lirc? ( app-misc/lirc )
+ irman? ( media-libs/libirman )
+
+ lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver )
+ lcd_devices_g15? ( dev-libs/libg15 dev-libs/libg15render )
+ lcd_devices_ncurses? ( sys-libs/ncurses )
+ lcd_devices_svga? ( media-libs/svgalib )
+ lcd_devices_ula200? ( dev-embedded/libftdi )
+ lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
+ lcd_devices_cfontzpacket? ( virtual/libusb:0 )
+ lcd_devices_cwlinux? ( virtual/libusb:0 )
+ lcd_devices_pyramid? ( virtual/libusb:0 )
+ lcd_devices_picolcd? ( virtual/libusb:0 )
+ lcd_devices_i2500vfd? ( dev-embedded/libftdi )
+ lcd_devices_lis? ( dev-embedded/libftdi virtual/libusb:0 )
+ lcd_devices_shuttlevfd? ( virtual/libusb:0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/xmlto )"
+RDEPEND="${RDEPEND}
+ lcd_devices_g15? ( app-misc/g15daemon )"
+
+pkg_setup() {
+ if [ -n "${LCDPROC_DRIVERS}" ] ; then
+ ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
+ ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
+ fi
+}
+
+src_prepare() {
+ sed -i "79s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf
+ einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
+}
+
+src_configure() {
+ # This array contains the driver names required by configure --with-drivers=
+ # The positions must be the same as the corresponding use_expand flags
+ local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket
+ CwLnx EyeboxOne g15 glcdlib glk
+ hd44780 icp_a106 imon imonlcd IOWarrior
+ lb216 lcdm001 lcterm
+ MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD
+ pyramid sed1330 sed1520 serialVFD sli
+ stv5730 svga t6963 text tyan
+ ula200 xosd ea65 picolcd serialPOS
+ i2500vfd irtrans lis shuttleVFD )
+
+ # Generate comma separated list of drivers
+ COMMA_DRIVERS=""
+ FIRST_DRIVER=""
+ local index=0
+
+ while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
+ append-driver "${DEVICE_DRIVERS[${index}]}"
+ fi
+ let "index = ${index} + 1"
+ done
+
+ # Append the not-lcd-drivers (input)
+ use lirc && append-driver "lirc"
+ use irman && append-driver "irman"
+ use joystick && append-driver "joy"
+
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ ewarn "You are compiling LCDd without support for any LCD drivers at all."
+ else
+ # Patch the config to contain a driver that is actually installed instead of the default
+ elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
+ elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
+ sed -i "44s:curses:${FIRST_DRIVER}:" LCDd.conf
+ fi
+
+ local EXTRA_CONF
+ if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid || \
+ use lcd_devices_picolcd || use lcd_devices_lis || use lcd_devices_shuttlevfd ; then
+ EXTRA_CONF="--enable-libusb"
+ else
+ EXTRA_CONF="$(use_enable usb libusb)"
+ fi
+
+ if use lcd_devices_ula200 || use lcd_devices_i2500vfd || use lcd_devices_lis ; then
+ EXTRA_CONF="${EXTRA_CONF} --enable-libftdi"
+ else
+ EXTRA_CONF="${EXTRA_CONF} $(use_enable ftdi libftdi)"
+ fi
+
+ econf \
+ $(use_enable debug) \
+ $(use_enable nfs stat-nfs) \
+ $(use_enable samba stat-smbfs ) \
+ $(use_enable seamless-hbars) \
+ ${EXTRA_CONF} \
+ "--enable-drivers=${COMMA_DRIVERS}" \
+ || die "configure failed"
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ ebegin "Creating user documentation"
+ cd "${S}"/docs/lcdproc-user
+ xmlto html lcdproc-user.docbook
+ eend $?
+
+ ebegin "Creating dev documentation"
+ cd "${S}"/docs/lcdproc-dev
+ xmlto html lcdproc-dev.docbook
+ eend $?
+ fi
+}
+
+append-driver() {
+ [[ -z $* ]] && return 0
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ # First in the list
+ COMMA_DRIVERS="$*"
+ FIRST_DRIVER="$*"
+ else
+ # Second, third, ... include a comma at the front
+ COMMA_DRIVERS="${COMMA_DRIVERS},$*"
+ fi
+ return 0
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ # move example clients installed to /usr/bin
+ rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
+ insinto /usr/share/lcdproc/clients
+ doins clients/examples/*.pl
+ doins clients/metar/
+
+ newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
+ newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc
+
+ dodoc README CREDITS ChangeLog INSTALL TODO
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/lcdproc-user
+ doins docs/lcdproc-user/*.html
+ insinto /usr/share/doc/${PF}/lcdproc-dev
+ doins docs/lcdproc-dev/*.html
+ fi
+}
diff --git a/app-misc/lcdproc/metadata.xml b/app-misc/lcdproc/metadata.xml
index 30fbfbd808e0..abd486394891 100644
--- a/app-misc/lcdproc/metadata.xml
+++ b/app-misc/lcdproc/metadata.xml
@@ -20,5 +20,6 @@
(<pkg>media-libs/libirman</pkg>)</flag>
<flag name='nfs'>Adds support for NFS file system</flag>
<flag name='seamless-hbars'>Try to avoid gaps in horizontal bars</flag>
+ <flag name='ftdi'>Enable support for FTDI connections in some selected LCD_DEVICES (currently hd44780)</flag>
</use>
</pkgmetadata>