summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-newsticker
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
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 <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-newsticker')
-rw-r--r--media-plugins/vdr-newsticker/Manifest1
-rw-r--r--media-plugins/vdr-newsticker/files/rc-addon.sh7
-rw-r--r--media-plugins/vdr-newsticker/files/vdr-newsticker-0.0.4-gcc4.diff51
-rw-r--r--media-plugins/vdr-newsticker/metadata.xml12
-rw-r--r--media-plugins/vdr-newsticker/vdr-newsticker-0.0.4.ebuild28
5 files changed, 99 insertions, 0 deletions
diff --git a/media-plugins/vdr-newsticker/Manifest b/media-plugins/vdr-newsticker/Manifest
new file mode 100644
index 000000000000..b2a705753e46
--- /dev/null
+++ b/media-plugins/vdr-newsticker/Manifest
@@ -0,0 +1 @@
+DIST vdr-newsticker-0.0.4.tar.gz 15480 SHA256 6bdae99dbb42a138939a5c2ca92aa6fb51c00a482a37c142c5eff218c63ad518 SHA512 8bcd0199547951f7c17077280af58cad99801f5a38b2d6b64860a1b3731987b5012e68041ca3fe0589f28f9ce1eaca9ee7d2d1e6aa542c6217b04c42b45c51a9 WHIRLPOOL 293e853e46114a589ce5318e162c67fbfdf56e0597e7247409d2b1806e885c3d2056e100ed3eaea07a4f17e71e69005d9cf44664f1d104f1ac93565dc8f4a57c
diff --git a/media-plugins/vdr-newsticker/files/rc-addon.sh b/media-plugins/vdr-newsticker/files/rc-addon.sh
new file mode 100644
index 000000000000..387d7ac42862
--- /dev/null
+++ b/media-plugins/vdr-newsticker/files/rc-addon.sh
@@ -0,0 +1,7 @@
+#
+# rc-addon-script for plugin newsticker
+#
+
+plugin_pre_vdr_start() {
+ add_plugin_param "--output=/var/vdr/newsticker"
+}
diff --git a/media-plugins/vdr-newsticker/files/vdr-newsticker-0.0.4-gcc4.diff b/media-plugins/vdr-newsticker/files/vdr-newsticker-0.0.4-gcc4.diff
new file mode 100644
index 000000000000..f9655c3cdb50
--- /dev/null
+++ b/media-plugins/vdr-newsticker/files/vdr-newsticker-0.0.4-gcc4.diff
@@ -0,0 +1,51 @@
+Nur in newsticker-0.0.4: libvdr-newsticker.so.
+Nur in newsticker-0.0.4: libvdr-newsticker.so.1.4.1.
+diff -ru newsticker-0.0.4-orig/news.c newsticker-0.0.4/news.c
+--- newsticker-0.0.4-orig/news.c 2006-07-08 20:51:58.078637544 +0200
++++ newsticker-0.0.4/news.c 2006-07-08 20:53:29.315335150 +0200
+@@ -48,7 +48,7 @@
+ bool strloadfile(char* file,char* output)
+ {
+ //int count = 0;
+- ifstream fin(file);
++ std::ifstream fin(file);
+ if(fin)
+ {
+ char ch;
+@@ -73,7 +73,7 @@
+ int getfilestringlength(char* filename)
+ {
+ int count = 0;
+- ifstream fin(filename);
++ std::ifstream fin(filename);
+ if(fin)
+ {
+ char ch;
+diff -ru newsticker-0.0.4-orig/news.h newsticker-0.0.4/news.h
+--- newsticker-0.0.4-orig/news.h 2006-07-08 20:51:58.078637544 +0200
++++ newsticker-0.0.4/news.h 2006-07-08 20:52:51.039686999 +0200
+@@ -20,8 +20,8 @@
+ #include <netinet/in.h>
+ #include <netdb.h>
+ #include <unistd.h>
+-#include <iostream.h>
+-#include <fstream.h>
++#include <iostream>
++#include <fstream>
+
+ #define INT_SIZEOFBUF 300 * 1024 // Buffer 200Kb
+
+Dateien newsticker-0.0.4-orig/news.o und newsticker-0.0.4/news.o sind verschieden.
+diff -ru newsticker-0.0.4-orig/newsticker.c newsticker-0.0.4/newsticker.c
+--- newsticker-0.0.4-orig/newsticker.c 2006-07-08 20:51:58.078637544 +0200
++++ newsticker-0.0.4/newsticker.c 2006-07-08 20:53:02.660794735 +0200
+@@ -98,7 +98,7 @@
+ void Show(void) {Start(); }
+ eOSState ProcessKey(eKeys Key);
+ int scrollMessage(char* message, int speed, int position, cOsd *osd, tColor ColorFg, tColor ColorBg, eDvbFont font);
+- cOsd* cOSDNewsticker::createOSDLine(int row, eDvbFont font);
++ cOsd* createOSDLine(int row, eDvbFont font);
+ };
+
+ cOSDNewsticker::cOSDNewsticker(void)
+Nur in newsticker-0.0.4: newsticker.o.
diff --git a/media-plugins/vdr-newsticker/metadata.xml b/media-plugins/vdr-newsticker/metadata.xml
new file mode 100644
index 000000000000..d1b88e6872a7
--- /dev/null
+++ b/media-plugins/vdr-newsticker/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-plugins/vdr-newsticker/vdr-newsticker-0.0.4.ebuild b/media-plugins/vdr-newsticker/vdr-newsticker-0.0.4.ebuild
new file mode 100644
index 000000000000..51718b788c03
--- /dev/null
+++ b/media-plugins/vdr-newsticker/vdr-newsticker-0.0.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR plugin: Show rdf Newsticker on TV"
+HOMEPAGE="http://www.wontorra.net"
+SRC_URI="http://www.wontorra.net/filemgmt_data/files/${P}.tar.gz"
+
+KEYWORDS="~amd64 x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.6
+ net-misc/wget"
+
+PATCHES=( "${FILESDIR}/${P}-gcc4.diff" )
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ keepdir /var/vdr/newsticker
+ chown vdr:vdr "${D}/var/vdr/newsticker"
+}