From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-misc/lcd-stuff/Manifest | 1 + 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.6.ebuild | 56 ++++++++++++++++++++++ app-misc/lcd-stuff/metadata.xml | 20 ++++++++ 7 files changed, 170 insertions(+) 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.6.ebuild create mode 100644 app-misc/lcd-stuff/metadata.xml (limited to 'app-misc/lcd-stuff') diff --git a/app-misc/lcd-stuff/Manifest b/app-misc/lcd-stuff/Manifest new file mode 100644 index 000000000000..d0345ceb3249 --- /dev/null +++ b/app-misc/lcd-stuff/Manifest @@ -0,0 +1 @@ +DIST lcd-stuff-0.1.6.tar.bz2 126696 SHA256 c42ff77f5cf2b88bb7b46b73453f3f2d20617d93ebf1b5ff28ce365afa40500e SHA512 62abfcd207710685501551a81050f903606ad459deeb4b716d03b9657e332615b63cc402027006ab218bc4c59ac1149a21b8da506f62742252312394b5e87395 WHIRLPOOL df444c2c3dbeafae5cb912c63d8e768f587daadf5d13098f29793f7548d532f710d8c0c0f9c4c4aadf86bcfad9ec5f210851e6e2790ac55f0b0a2a23f910a7a5 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 000000000000..f8f5cdb9ea36 --- /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 000000000000..c59bc87974c1 --- /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 +# $Id$ + +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 000000000000..d717927c756d --- /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 000000000000..c32169ba42ff --- /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.6.ebuild b/app-misc/lcd-stuff/lcd-stuff-0.1.6.ebuild new file mode 100644 index 000000000000..c8fe4315ac24 --- /dev/null +++ b/app-misc/lcd-stuff/lcd-stuff-0.1.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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} + virtual/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/metadata.xml b/app-misc/lcd-stuff/metadata.xml new file mode 100644 index 000000000000..90b1182f20be --- /dev/null +++ b/app-misc/lcd-stuff/metadata.xml @@ -0,0 +1,20 @@ + + + +proxy-maintainers + +bernhard.walle@gmx.de +Bernhard Walle +Upstream maintainer wants to be CC'ed directly on bugs. + + + lcd-stuff is a client for app-misc/lcdproc written in C. It features + displaying of e-mail using POP3 and IMAP, mpd control, news items using RSS, + display of the weather from weather.com and it can fill your MP3 player with + directory and file names based on the title. + + + Add support for display of mpd controlled music + (media-libs/libmpd) + + -- cgit v1.2.3-65-gdbad