From 0e4d914db4c26415020881a24c05fc6ed9561bc6 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Nov 2010 00:14:06 +0100 Subject: [PATCH] added lcd-stuff-0.1.7 and 9999 --- app-misc/lcd-stuff/Manifest | 7 +++ app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch | 23 +++++++++ app-misc/lcd-stuff/files/lcd-stuff-0.1.2-r1.initd | 24 +++++++++ .../lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch | 33 ++++++++++++ app-misc/lcd-stuff/files/lcd-stuff.confd | 13 +++++ app-misc/lcd-stuff/lcd-stuff-0.1.7.ebuild | 56 ++++++++++++++++++++ app-misc/lcd-stuff/lcd-stuff-9999.ebuild | 60 ++++++++++++++++++++++ net-im/emesene/Manifest | 2 +- net-im/emesene/emesene-2.0.9999.ebuild | 5 +- 9 files changed, 219 insertions(+), 4 deletions(-) create mode 100644 app-misc/lcd-stuff/Manifest create mode 100644 app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch create mode 100644 app-misc/lcd-stuff/files/lcd-stuff-0.1.2-r1.initd create mode 100644 app-misc/lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch create mode 100644 app-misc/lcd-stuff/files/lcd-stuff.confd create mode 100644 app-misc/lcd-stuff/lcd-stuff-0.1.7.ebuild create mode 100644 app-misc/lcd-stuff/lcd-stuff-9999.ebuild diff --git a/app-misc/lcd-stuff/Manifest b/app-misc/lcd-stuff/Manifest new file mode 100644 index 0000000..382900b --- /dev/null +++ b/app-misc/lcd-stuff/Manifest @@ -0,0 +1,7 @@ +AUX lcd-stuff-0.1.2-mpd.patch 800 RMD160 fc209802cfaa15c95231a0a93965564ce0efe4ed SHA1 4f1b26fff65e3cc72b353dcc1248de24c76dfd84 SHA256 06d967e240224c75740d0aa327572e84ba5ce2f0c5410c7e554cecca6e7f7f24 +AUX lcd-stuff-0.1.2-r1.initd 662 RMD160 b0f99f087c927e3cefb85ca6cd94aff3aa17682d SHA1 39b8dea7e45a7d88f19a191737cefa3841e2065d SHA256 d5b13e2685f490a658fb6c207aab7f9274139b0df92d4961ede487157bbf4959 +AUX lcd-stuff-0.1.3-socket-h.patch 920 RMD160 9baadb9fd966b076f14982a6cedc75dbadb33eb0 SHA1 38efa461fd4b6c21938705162c0b436afa17bd9d SHA256 6e4f2d6686f7cc85022655756c522c0a3001fce1a8c62c8aed53ce6cb32725fe +AUX lcd-stuff.confd 285 RMD160 09ad0c69d449e1aaec6048161ad6c27caa50eade SHA1 3980be53d0c40aac0b7f8ce754d2e39e749a00de SHA256 75c34d6b3b605bcbbb7151188366d1cbb67960f76c3ebeff25c732ca593f7a65 +DIST lcd-stuff-0.1.7.tar.bz2 129968 RMD160 ff153eb30dd580b15895aea577d856e408581b60 SHA1 376e29ac4fb531042d42417aa0d1a531ae258a5c SHA256 5a4b2fde5cb00855c54f0c1bdf990a3f251264092f05729c61fef1878162d3c2 +EBUILD lcd-stuff-0.1.7.ebuild 1390 RMD160 b4a87919f36a00f9a10bf7057a36d0cb2e41c25c SHA1 3d5c9b9920bc7cb8771b681b9dd101fe424806e4 SHA256 2827abdeb0e85fb29cdd8b502a43f63adf0d79202c96837965adecbb40192f35 +EBUILD lcd-stuff-9999.ebuild 1460 RMD160 58d633d44096c18002814fb016d3984873d6ffdd SHA1 02a3a586cd4d059ebe52bb9366946636826b0c81 SHA256 b0afa88ecc0a304d95314158ed8ea9906eaf0f3047317223d37aa1bcd359ccaa diff --git a/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch b/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch new file mode 100644 index 0000000..f8f5cdb --- /dev/null +++ b/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch @@ -0,0 +1,23 @@ +Patch by Andrej Kacian from bug #177587 + + +diff -ur lcd-stuff-0.1.2-orig/src/mpd.c lcd-stuff-0.1.2/src/mpd.c +--- lcd-stuff-0.1.2-orig/src/mpd.c 2007-05-10 23:26:55.000000000 +0200 ++++ lcd-stuff-0.1.2/src/mpd.c 2007-05-10 23:27:59.000000000 +0200 +@@ -119,14 +119,13 @@ + case MPD_DATA_TYPE_PLAYLIST: + g_ptr_array_add(array, g_path_get_basename(data->playlist)); + g_free(data->playlist); ++ data->playlist = NULL; + break; + + case MPD_DATA_TYPE_DIRECTORY: +- g_free(data->directory); +- break; +- + case MPD_INFO_ENTITY_TYPE_SONG: + g_free(data->directory); ++ data->directory = NULL; + break; + + default: diff --git a/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-r1.initd b/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-r1.initd new file mode 100644 index 0000000..ed7c264 --- /dev/null +++ b/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-r1.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-0.1.2-r1.initd,v 1.1 2007/05/12 11:24:49 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 1 -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/files/lcd-stuff-0.1.3-socket-h.patch b/app-misc/lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch new file mode 100644 index 0000000..d717927 --- /dev/null +++ b/app-misc/lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch @@ -0,0 +1,33 @@ +From: Robert Buchholz +To: lcdproc@lists.omnipotent.net +Subject: Re: [Lcdproc] [ANNOUNCE] lcd-stuff 0.1.3 +Cc: Bernhard Walle +Date: Wed, 8 Aug 2007 22:06:33 +0200 + +When compiling against the latest version of libmrss +(0.18.0), compilation breaks because mrss.h includes +sys/socket.h. That header uses SHUT_RDWR as a variable name +(which has to be undefined), but lcd-stuff's shared/sockets.h +defines that macro. + +The attached patch fixes this on lcd-stuff's side. + +Index: lcd-stuff-0.1.3/src/rss.c +=================================================================== +--- lcd-stuff-0.1.3.orig/src/rss.c ++++ lcd-stuff-0.1.3/src/rss.c +@@ -24,12 +24,12 @@ + #include + #include + ++#include ++ + #include + #include + #include + +-#include +- + #include "rss.h" + #include "main.h" + #include "constants.h" 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 0000000..c32169b --- /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" diff --git a/app-misc/lcd-stuff/lcd-stuff-0.1.7.ebuild b/app-misc/lcd-stuff/lcd-stuff-0.1.7.ebuild new file mode 100644 index 0000000..d5ea4f7 --- /dev/null +++ b/app-misc/lcd-stuff/lcd-stuff-0.1.7.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 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.6.ebuild,v 1.2 2009/11/09 13:20:57 maekke Exp $ + +EAPI=2 +inherit eutils + +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.bz2" + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" # and GPL-2 only + +RDEPEND="app-misc/lcdproc + net-misc/curl + dev-libs/glib + imap? ( net-libs/libetpan ) + mpd? ( >=media-libs/libmpd-0.12.0 ) + mp3? ( media-libs/taglib ) + xml? ( net-libs/libnxml ) + rss? ( net-libs/libmrss net-libs/libnxml )" +DEPEND="${DEPEND} + dev-util/pkgconfig" + +IUSE="imap mpd mp3 xml rss" + +src_configure() { + 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" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + insinto /etc + doins lcd-stuff.conf + + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN}-0.1.2-r1.initd" ${PN} + + dodoc ChangeLog README +} diff --git a/app-misc/lcd-stuff/lcd-stuff-9999.ebuild b/app-misc/lcd-stuff/lcd-stuff-9999.ebuild new file mode 100644 index 0000000..06e9c75 --- /dev/null +++ b/app-misc/lcd-stuff/lcd-stuff-9999.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 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.6.ebuild,v 1.2 2009/11/09 13:20:57 maekke Exp $ + +EAPI=2 +inherit eutils git + +DESCRIPTION="lcd-stuff is a client for lcdproc that displays RSS, Weather, MPD and new mail." +HOMEPAGE="http://lcd-stuff.berlios.de/" +EGIT_REPO_URI="git://git.berlios.de/lcd-stuff" +EGIT_PROJECT="lcd-stuff" + + +KEYWORDS="amd64 x86" +SLOT="0" +LICENSE="GPL-2" # and GPL-2 only + +RDEPEND="app-misc/lcdproc + net-misc/curl + dev-libs/glib + imap? ( net-libs/libetpan ) + mpd? ( >=media-libs/libmpd-0.12.0 ) + mp3? ( media-libs/taglib ) + xml? ( net-libs/libnxml ) + rss? ( net-libs/libmrss net-libs/libnxml )" +DEPEND="${DEPEND} + dev-util/pkgconfig" + +IUSE="imap mpd mp3 xml rss" + +src_configure() { + cd "${S}" + ./autogen.sh + 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" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + insinto /etc + doins lcd-stuff.conf + + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN}-0.1.2-r1.initd" ${PN} + + dodoc ChangeLog README +} diff --git a/net-im/emesene/Manifest b/net-im/emesene/Manifest index 760b4fc..427b9d2 100644 --- a/net-im/emesene/Manifest +++ b/net-im/emesene/Manifest @@ -1,4 +1,4 @@ DIST emesene-1.6.3.tar.gz 3078128 RMD160 9037824c713401b33cd7f172ba38f659c7de5f67 SHA1 c4759efe180c8e1589bd966c6b84106aa7cd356e SHA256 9b088a17b4d9d3a2be72737a02dceb7a1a224b978a30b6490fa3354fb49b4bfa EBUILD emesene-1.6.3.ebuild 1085 RMD160 4d024f7d5bb50f355588b9d99924958d737d1c90 SHA1 18115afa12ffabc95e4687c521fce9e97339024f SHA256 39bb948bf98cf7c6086e87d45d83bd0912a249b534d20043bd38264a8b6e0f6b EBUILD emesene-1.6.9999.ebuild 1218 RMD160 acc0bf66ff91fb87b095c1727f7fa2b50c74d72c SHA1 87e1c8fa2768fbeed543cc1380bfb26aa389100f SHA256 e41b0125945d6f4ba6c83c8dbe488de346878358113ce3f38e8ffd72bf4183ec -EBUILD emesene-2.0.9999.ebuild 977 RMD160 d07a80a00cf47d6f85f8e6b5464aeea3c51d0820 SHA1 766b0f187cedba4bfe28607fd8acd62231a6d228 SHA256 d9a7e60816eff15729933b5e9a9cd89f26ec43d6c839c65c732bdc50ff1daa31 +EBUILD emesene-2.0.9999.ebuild 989 RMD160 5b57fbf74a0821257db7590a8ebd3ca922ce89d9 SHA1 3edd7bab2fc5c02b35c427a945ddf569427569cd SHA256 abbd52ba1702b8d9f4d598ecd3e599d7e0393d443fcfd3a34daf533a551cced4 diff --git a/net-im/emesene/emesene-2.0.9999.ebuild b/net-im/emesene/emesene-2.0.9999.ebuild index 77ecc84..73eb744 100644 --- a/net-im/emesene/emesene-2.0.9999.ebuild +++ b/net-im/emesene/emesene-2.0.9999.ebuild @@ -19,8 +19,7 @@ DEPEND=" >=dev-python/pygtk-2.12 dev-python/pydns >=dev-python/papyon-0.4.8 - dev-python/xmpppy -" + dev-python/xmpppy" RDEPEND="${DEPEND}" @@ -30,7 +29,7 @@ src_unpack() { src_compile() { -python setup.py build +python setup.py build build_ext -i } -- 2.11.4.GIT