From: Robert Buchholz Date: Sat, 13 Jan 2007 15:05:37 +0000 (+0000) Subject: New lcdproc client X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4c494489fc32f8a50dff21b1647aff67fe56bac;p=gentoo.git New lcdproc client Package-Manager: portage-2.1.1-r2 --- diff --git a/app-misc/lcd-stuff/ChangeLog b/app-misc/lcd-stuff/ChangeLog new file mode 100644 index 000000000000..69e8b0f6cb56 --- /dev/null +++ b/app-misc/lcd-stuff/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/lcd-stuff +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd-stuff/ChangeLog,v 1.1 2007/01/13 15:05:37 rbu Exp $ + +*lcd-stuff-0.1.2 (13 Jan 2007) + + 13 Jan 2007; Robert Buchholz +files/lcd-stuff.confd, + +files/lcd-stuff.initd, +metadata.xml, +lcd-stuff-0.1.2.ebuild: + New lcdproc client + diff --git a/app-misc/lcd-stuff/Manifest b/app-misc/lcd-stuff/Manifest new file mode 100644 index 000000000000..327313d28efa --- /dev/null +++ b/app-misc/lcd-stuff/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX lcd-stuff.confd 284 RMD160 cc79490105cebcaff6e31220f52f42d8acbd2216 SHA1 1d740ed2f3edc61bf20ce22a26705054963a5165 SHA256 cfeaba2f2cb1043ce35c1d8cb5467681cffedbb89fc38b4f8126d50531527984 +MD5 829d7b155a8bd8b983f874a2434b3be6 files/lcd-stuff.confd 284 +RMD160 cc79490105cebcaff6e31220f52f42d8acbd2216 files/lcd-stuff.confd 284 +SHA256 cfeaba2f2cb1043ce35c1d8cb5467681cffedbb89fc38b4f8126d50531527984 files/lcd-stuff.confd 284 +AUX lcd-stuff.initd 653 RMD160 4da2be05fecb1f60c04e783d4af4270066fae0ca SHA1 2a22f08ad7f08c516ea0e0a981ac78cd7b4f58f1 SHA256 0bb795cbd883fb58b6e3fe3d3ea3cdc8f077734e666658731f1c3e8d5725fb5b +MD5 f34f8f156318852063d8a7e76e05ff4d files/lcd-stuff.initd 653 +RMD160 4da2be05fecb1f60c04e783d4af4270066fae0ca files/lcd-stuff.initd 653 +SHA256 0bb795cbd883fb58b6e3fe3d3ea3cdc8f077734e666658731f1c3e8d5725fb5b files/lcd-stuff.initd 653 +DIST lcd-stuff-0.1.2.tar.gz 146398 RMD160 7a5e1fb02ce070df003a3778fcf1900add8b8875 SHA1 4102916aec44ec2a7edd137c01b6f163eeb8f135 SHA256 e27c16f513c8dc652a7e643e22bfa450ff99e44bfffa0e3858effd3b73321d2e +EBUILD lcd-stuff-0.1.2.ebuild 1363 RMD160 049aab15d1b249acb827e87927572e314462cb1c SHA1 d85f2821ab5dc42d0d3ce3916e018ed2142ddd2a SHA256 fb91201f4fd59ca66e882e85e2fd84869eae5e006456657a1ea7d3bf22c60902 +MD5 ff47298f562660b9fe066e1412f308ee lcd-stuff-0.1.2.ebuild 1363 +RMD160 049aab15d1b249acb827e87927572e314462cb1c lcd-stuff-0.1.2.ebuild 1363 +SHA256 fb91201f4fd59ca66e882e85e2fd84869eae5e006456657a1ea7d3bf22c60902 lcd-stuff-0.1.2.ebuild 1363 +MISC ChangeLog 398 RMD160 c4abab368a71df9b82e826e7339ea1bbf646a0d6 SHA1 8183d8130fe83ea99e536f94df89a104ecbbf5a4 SHA256 14de0140a44e8f396475051b924e3cb4a6c8d4ae50761f512b0d08491f7f8de4 +MD5 eb985c6bd78ea322705be1c7ce4bca0c ChangeLog 398 +RMD160 c4abab368a71df9b82e826e7339ea1bbf646a0d6 ChangeLog 398 +SHA256 14de0140a44e8f396475051b924e3cb4a6c8d4ae50761f512b0d08491f7f8de4 ChangeLog 398 +MISC metadata.xml 249 RMD160 f108edee61c95c42d98726b435b75d03cbbd4aac SHA1 48461481dfc5a9d1f5b4726a5e9882a2fb966ede SHA256 1dc990d64e5b42c9b17d7358c9f0af7d26702f575957482d93c8fd12a556cc11 +MD5 5c2a70625109d5bd093ae8d0588931f1 metadata.xml 249 +RMD160 f108edee61c95c42d98726b435b75d03cbbd4aac metadata.xml 249 +SHA256 1dc990d64e5b42c9b17d7358c9f0af7d26702f575957482d93c8fd12a556cc11 metadata.xml 249 +MD5 c89865b3fcc55e38020ca28f70a92485 files/digest-lcd-stuff-0.1.2 247 +RMD160 6ee0765fb6821e8357ed89e013193a6f99f4448c files/digest-lcd-stuff-0.1.2 247 +SHA256 bacd1e197d5b06d2777cd9a0c4a95d580bed04d239f20196a4cd7bb95e1ad001 files/digest-lcd-stuff-0.1.2 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFqPVIyZx3L/ph1soRAnasAJ9m8D4gWT9Bby4KUyKQBXCXYCz7yACdGdhS ++VD+feqo5IwZ9vz8wrhrsQ4= +=RDCy +-----END PGP SIGNATURE----- diff --git a/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.2 b/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.2 new file mode 100644 index 000000000000..5799da6de426 --- /dev/null +++ b/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.2 @@ -0,0 +1,3 @@ +MD5 836e52c61890b5043d8d8c033c4e0c53 lcd-stuff-0.1.2.tar.gz 146398 +RMD160 7a5e1fb02ce070df003a3778fcf1900add8b8875 lcd-stuff-0.1.2.tar.gz 146398 +SHA256 e27c16f513c8dc652a7e643e22bfa450ff99e44bfffa0e3858effd3b73321d2e lcd-stuff-0.1.2.tar.gz 146398 diff --git a/app-misc/lcd-stuff/files/lcd-stuff.confd b/app-misc/lcd-stuff/files/lcd-stuff.confd new file mode 100644 index 000000000000..3381aa82a9f5 --- /dev/null +++ b/app-misc/lcd-stuff/files/lcd-stuff.confd @@ -0,0 +1,13 @@ +# /etc/conf.d/lcd-stuff: Configuration for lcd-stuff LCDproc client + +# Host name that is running LCDd +ADDRESS=localhost + +# TCP Port of LCDd on $ADDRESS +TCPPORT=13666 + +# Report level (0: none, 5: debug) +REPORTLEVEL=2 + +# Configuration file for lcd-stuff +CONFIGFILE="/etc/lcd-stuff.conf" \ No newline at end of file diff --git a/app-misc/lcd-stuff/files/lcd-stuff.initd b/app-misc/lcd-stuff/files/lcd-stuff.initd new file mode 100644 index 000000000000..1d312babc097 --- /dev/null +++ b/app-misc/lcd-stuff/files/lcd-stuff.initd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd-stuff/files/lcd-stuff.initd,v 1.1 2007/01/13 15:05:37 rbu Exp $ + +PIDFILE=/var/run/${SVCNAME}.pid + +depend() { + use LCDd +} + +start() { + ebegin "Starting ${SVCNAME}" + + start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \ + /usr/bin/lcd-stuff -- -f 0 -s 1 -r "${REPORTLEVEL}" -a "${ADDRESS}" -p "${TCPPORT}" -c "${CONFIGFILE}" + eend $? +} + +stop() { + ebegin "Stoping ${SVCNAME}" + start-stop-daemon --stop --pidfile ${PIDFILE} --name "lcd-stuff" + eend $? +} diff --git a/app-misc/lcd-stuff/lcd-stuff-0.1.2.ebuild b/app-misc/lcd-stuff/lcd-stuff-0.1.2.ebuild new file mode 100644 index 000000000000..b270c1d8c0cb --- /dev/null +++ b/app-misc/lcd-stuff/lcd-stuff-0.1.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd-stuff/lcd-stuff-0.1.2.ebuild,v 1.1 2007/01/13 15:05:37 rbu Exp $ + +DESCRIPTION="lcd-stuff is a client for lcdproc that displays RSS, Weather, MPD and new mail." +HOMEPAGE="http://lcd-stuff.berlios.de/" +SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" + +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" # and GPL-2 only + +DEPEND="app-misc/lcdproc + net-misc/curl + imap? ( net-libs/libetpan ) + mpd? ( media-libs/libmpd ) + mp3? ( media-libs/taglib ) + xml? ( net-libs/libnxml ) + rss? ( net-libs/libmrss net-libs/libnxml )" +RDEPEND=${DEPEND} +DEPEND="${DEPEND} + dev-util/pkgconfig" + +IUSE="imap mpd mp3 xml rss" + +src_compile() { + local XMLRSSLIB="$(use_enable rss mrss)" + if use rss ; then + # If we want rss, we must also have xml + XMLRSSLIB="${XMLRSSLIB} --enable-nxml" + else + XMLRSSLIB="${XMLRSSLIB} $(use_enable xml nxml)" + fi + + econf \ + $(use_enable imap libetpan) \ + $(use_enable mpd libmpd) \ + $(use_enable mp3 taglib_c) \ + $XMLRSSLIB \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() +{ + emake DESTDIR=${D} install || die "make install failed" + + insinto /etc + doins lcd-stuff.conf + + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN}.initd" ${PN} + + dodoc ChangeLog README +} diff --git a/app-misc/lcd-stuff/metadata.xml b/app-misc/lcd-stuff/metadata.xml new file mode 100644 index 000000000000..ad12036a061b --- /dev/null +++ b/app-misc/lcd-stuff/metadata.xml @@ -0,0 +1,9 @@ + + + + lcd + + rbu@gentoo.org + Robert Buchholz + +