summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2005-12-16 12:40:18 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2005-12-16 12:40:18 +0000
commit951ee585935a0d8abc9ca1e7b4bc2c72f77e0a2b (patch)
tree95ac3963bc281c4cb4174b9c2fe8bf669c99f6b3 /media-plugins/vdr-timeline
parentRemove --with-gnu-ld option, bug #108386. (diff)
downloadgentoo-2-951ee585935a0d8abc9ca1e7b4bc2c72f77e0a2b.tar.gz
gentoo-2-951ee585935a0d8abc9ca1e7b4bc2c72f77e0a2b.tar.bz2
gentoo-2-951ee585935a0d8abc9ca1e7b4bc2c72f77e0a2b.zip
initial import, ebuild taken from gentoo.de CVS
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-plugins/vdr-timeline')
-rw-r--r--media-plugins/vdr-timeline/ChangeLog13
-rw-r--r--media-plugins/vdr-timeline/Manifest7
-rw-r--r--media-plugins/vdr-timeline/files/digest-vdr-timeline-0.9.0-r21
-rw-r--r--media-plugins/vdr-timeline/files/vdr-1.3.18-vdr-timeline-0.9.0.diff33
-rw-r--r--media-plugins/vdr-timeline/files/vdr-1.3.23-vdr-timeline-0.9.0.diff93
-rw-r--r--media-plugins/vdr-timeline/files/vdr-1.3.32-vdr-timeline-0.9.0.diff22
-rw-r--r--media-plugins/vdr-timeline/metadata.xml20
-rw-r--r--media-plugins/vdr-timeline/vdr-timeline-0.9.0-r2.ebuild29
8 files changed, 218 insertions, 0 deletions
diff --git a/media-plugins/vdr-timeline/ChangeLog b/media-plugins/vdr-timeline/ChangeLog
new file mode 100644
index 000000000000..88d076302ef4
--- /dev/null
+++ b/media-plugins/vdr-timeline/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for media-plugins/vdr-timeline
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-timeline/ChangeLog,v 1.1 2005/12/16 12:40:18 hd_brummy Exp $
+
+*vdr-timeline-0.9.0-r2 (16 Dec 2005)
+
+ 16 Dec 2005; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-1.3.18-vdr-timeline-0.9.0.diff,
+ +files/vdr-1.3.23-vdr-timeline-0.9.0.diff,
+ +files/vdr-1.3.32-vdr-timeline-0.9.0.diff, +metadata.xml,
+ +vdr-timeline-0.9.0-r2.ebuild:
+ initial import, ebuild taken from gentoo.de CVS
+
diff --git a/media-plugins/vdr-timeline/Manifest b/media-plugins/vdr-timeline/Manifest
new file mode 100644
index 000000000000..6f1206b51055
--- /dev/null
+++ b/media-plugins/vdr-timeline/Manifest
@@ -0,0 +1,7 @@
+MD5 04aa061df4e71a7d04413183bfed24ce ChangeLog 454
+MD5 062384770da6e845313567b5c7083e43 metadata.xml 936
+MD5 3575cd1b6afcfe178f5e54d3b85e01a6 vdr-timeline-0.9.0-r2.ebuild 846
+MD5 e2e5bde0bb92e9de8bd3b087dbdae81d files/digest-vdr-timeline-0.9.0-r2 69
+MD5 6c17a26f6bc70cda6094ced3019e13d6 files/vdr-1.3.18-vdr-timeline-0.9.0.diff 3021
+MD5 a878554b2ea0c24071543a524feb3617 files/vdr-1.3.23-vdr-timeline-0.9.0.diff 5167
+MD5 da258cf005e658ff0a661624dd95e2c6 files/vdr-1.3.32-vdr-timeline-0.9.0.diff 839
diff --git a/media-plugins/vdr-timeline/files/digest-vdr-timeline-0.9.0-r2 b/media-plugins/vdr-timeline/files/digest-vdr-timeline-0.9.0-r2
new file mode 100644
index 000000000000..1c64905a8348
--- /dev/null
+++ b/media-plugins/vdr-timeline/files/digest-vdr-timeline-0.9.0-r2
@@ -0,0 +1 @@
+MD5 d0ee82bcc8c9e2827f92c8cf8001738c vdr-timeline-0.9.0.tar.gz 18287
diff --git a/media-plugins/vdr-timeline/files/vdr-1.3.18-vdr-timeline-0.9.0.diff b/media-plugins/vdr-timeline/files/vdr-1.3.18-vdr-timeline-0.9.0.diff
new file mode 100644
index 000000000000..4954822283ca
--- /dev/null
+++ b/media-plugins/vdr-timeline/files/vdr-1.3.18-vdr-timeline-0.9.0.diff
@@ -0,0 +1,33 @@
+--- timeline-0.9.0/checkerOsd.c.orig 2005-02-11 08:03:12.898943092 +0100
++++ timeline-0.9.0/checkerOsd.c 2005-02-11 08:10:15.866962831 +0100
+@@ -271,7 +271,7 @@
+ localtime_r(&start1t,&day1);
+ sprintf(line1,"%s %04d-%02d-%02d (%s):",tr("Conflict on"),day1.tm_year+1900,day1.tm_mon+1,day1.tm_mday,tr("same input device"));
+ sprintf(line2,"%02d:%02d-%02d:%02d, (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,ct1->Priority(),ch1->Name(),ct1->File());
+- sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
++ sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,(const char *)ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
+ }
+ }
+ else if (!ct1->IsSingleEvent() && ct2->IsSingleEvent())
+@@ -301,7 +301,7 @@
+ {
+ localtime_r(&start1t,&day1);
+ sprintf(line1,"%s %04d-%02d-%02d (%s):",tr("Conflict on"),day1.tm_year+1900,day1.tm_mon+1,day1.tm_mday,tr("same input device"));
+- sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
++ sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,(const char *)ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
+ sprintf(line3,"%02d:%02d-%02d:%02d, (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,ct2->Priority(),ch2->Name(),ct2->File());
+ }
+ }
+@@ -338,9 +338,9 @@
+ }
+ if (hasmatched)
+ {
+- sprintf(line1,"%s %s (%s):",tr("Repeating conflict on"),ct1->PrintDay(mdays|0x80000000),tr("same input device"));
+- sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
+- sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
++ sprintf(line1,"%s %s (%s):",tr("Repeating conflict on"),(const char *)ct1->PrintDay(mdays|0x80000000),tr("same input device"));
++ sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,(const char *)ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
++ sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,(const char *)ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
+ }
+ }
+ else // ct1->IsSingleEvent() && ct2->IsSingleEvent()
diff --git a/media-plugins/vdr-timeline/files/vdr-1.3.23-vdr-timeline-0.9.0.diff b/media-plugins/vdr-timeline/files/vdr-1.3.23-vdr-timeline-0.9.0.diff
new file mode 100644
index 000000000000..82dc1d3df797
--- /dev/null
+++ b/media-plugins/vdr-timeline/files/vdr-1.3.23-vdr-timeline-0.9.0.diff
@@ -0,0 +1,93 @@
+--- timeline-0.9.0/checkerOsd.c
++++ timeline-0.9.0/checkerOsd.c
+@@ -228,7 +228,11 @@
+ {
+ if (showDay<0 && ct1->IsSingleEvent())
+ {
++#if VDRVERSNUM < 10323
+ showDay=ct1->Day();
++#else
++ showDay=cTimer::GetMDay(ct1->Day());
++#endif
+ }
+
+ for(int i=0;i<MAXDEVICES;i++)
+@@ -271,7 +275,11 @@
+ localtime_r(&start1t,&day1);
+ sprintf(line1,"%s %04d-%02d-%02d (%s):",tr("Conflict on"),day1.tm_year+1900,day1.tm_mon+1,day1.tm_mday,tr("same input device"));
+ sprintf(line2,"%02d:%02d-%02d:%02d, (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,ct1->Priority(),ch1->Name(),ct1->File());
+- sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
++#if VDRVERSNUM < 10323
++ sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,(const char *)ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
++#else
++ sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,(const char *)ct2->PrintDay(ct2->Day(),ct2->WeekDays()),ct2->Priority(),ch2->Name(),ct2->File());
++#endif
+ }
+ }
+ else if (!ct1->IsSingleEvent() && ct2->IsSingleEvent())
+@@ -301,7 +309,11 @@
+ {
+ localtime_r(&start1t,&day1);
+ sprintf(line1,"%s %04d-%02d-%02d (%s):",tr("Conflict on"),day1.tm_year+1900,day1.tm_mon+1,day1.tm_mday,tr("same input device"));
+- sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
++#if VDRVERSNUM < 10323
++ sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,(const char *)ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
++#else
++ sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,(const char *)ct1->PrintDay(ct1->Day(),ct1->WeekDays()),ct1->Priority(),ch1->Name(),ct1->File());
++#endif
+ sprintf(line3,"%02d:%02d-%02d:%02d, (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,ct2->Priority(),ch2->Name(),ct2->File());
+ }
+ }
+@@ -312,7 +324,11 @@
+ for(int i=0;i<6;i++)
+ {
+ hassubmatch=false;
++#if VDRVERSNUM < 10323
+ if (ct1->Day() & (1<<i))
++#else
++ if (ct1->WeekDays() & (1<<i))
++#endif
+ {
+ int nn=(4+i)*SECSINDAY; // 4: first Sunday after Unix time 0
+ start1t=ct1->SetTime(nn,ct1->TimeToInt(ct1->Start()));
+@@ -338,9 +354,15 @@
+ }
+ if (hasmatched)
+ {
+- sprintf(line1,"%s %s (%s):",tr("Repeating conflict on"),ct1->PrintDay(mdays|0x80000000),tr("same input device"));
+- sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
+- sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
++#if VDRVERSNUM < 10323
++ sprintf(line1,"%s %s (%s):",tr("Repeating conflict on"),(const char *)ct1->PrintDay(mdays|0x80000000),tr("same input device"));
++ sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,(const char *)ct1->PrintDay(ct1->Day()),ct1->Priority(),ch1->Name(),ct1->File());
++ sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,(const char *)ct2->PrintDay(ct2->Day()),ct2->Priority(),ch2->Name(),ct2->File());
++#else
++ sprintf(line1,"%s %s (%s):",tr("Repeating conflict on"),(const char *)ct1->PrintDay(0,mdays),tr("same input device"));
++ sprintf(line2,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct1->Start()/100,ct1->Start()%100,ct1->Stop()/100,ct1->Stop()%100,(const char *)ct1->PrintDay(ct1->Day(),ct1->WeekDays()),ct1->Priority(),ch1->Name(),ct1->File());
++ sprintf(line3,"%02d:%02d-%02d:%02d (%s), (P%d) %s: %s",ct2->Start()/100,ct2->Start()%100,ct2->Stop()/100,ct2->Stop()%100,(const char *)ct2->PrintDay(ct2->Day(),ct2->WeekDays()),ct2->Priority(),ch2->Name(),ct2->File());
++#endif
+ }
+ }
+ else // ct1->IsSingleEvent() && ct2->IsSingleEvent()
+@@ -574,13 +596,21 @@
+ ct1=Timers.First();
+ while (ct1)
+ {
++#if VDRVERSNUM < 10323
+ int day1=ct1->Day();
++#else
++ int day1=cTimer::GetMDay(ct1->Day());
++#endif
+ if (!ct1->IsSingleEvent())
+ {
+ if (ct1->DayMatches(dayt))
+ {
+ day1=day;
+ }
++ else
++ {
++ day1=0;
++ }
+ }
+ int start1=ct1->Start();
+ int stop1=ct1->Stop();
diff --git a/media-plugins/vdr-timeline/files/vdr-1.3.32-vdr-timeline-0.9.0.diff b/media-plugins/vdr-timeline/files/vdr-1.3.32-vdr-timeline-0.9.0.diff
new file mode 100644
index 000000000000..11deb41cd3fa
--- /dev/null
+++ b/media-plugins/vdr-timeline/files/vdr-1.3.32-vdr-timeline-0.9.0.diff
@@ -0,0 +1,22 @@
+diff -ru vdr-1.3.32-orig/PLUGINS/src/timeline-0.9.0/checkerOsd.c vdr-1.3.32/PLUGINS/src/timeline-0.9.0/checkerOsd.c
+--- vdr-1.3.32-orig/PLUGINS/src/timeline-0.9.0/checkerOsd.c 2005-03-25 08:29:26.000000000 -0800
++++ vdr-1.3.32/PLUGINS/src/timeline-0.9.0/checkerOsd.c 2005-09-11 13:45:49.000000000 -0700
+@@ -7,6 +7,7 @@
+ *
+ */
+
++#include <vdr/device.h>
+ #include "checkerOsd.h"
+
+ #define HEADINFO "(c) JS"
+diff -ru vdr-1.3.32-orig/PLUGINS/src/timeline-0.9.0/timeline.c vdr-1.3.32/PLUGINS/src/timeline-0.9.0/timeline.c
+--- vdr-1.3.32-orig/PLUGINS/src/timeline-0.9.0/timeline.c 2005-01-02 14:44:23.000000000 -0800
++++ vdr-1.3.32/PLUGINS/src/timeline-0.9.0/timeline.c 2005-09-11 13:42:25.000000000 -0700
+@@ -8,6 +8,7 @@
+ */
+
+ #include <vdr/plugin.h>
++#include <vdr/device.h>
+ #include "checkerOsd.h"
+ #include "config.h"
+ #include "i18n.h"
diff --git a/media-plugins/vdr-timeline/metadata.xml b/media-plugins/vdr-timeline/metadata.xml
new file mode 100644
index 000000000000..821a972bf94d
--- /dev/null
+++ b/media-plugins/vdr-timeline/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>hd_brummy@gentoo.org</email>
+ <name>Joerg Bornkessel</name>
+ </maintainer>
+ <longdescription lang="en">
+ Plugin shows a time border of all records on one day and possible
+ conflicts of transmissions at the same time over the same DEVICE
+ (DVB map, etc..)
+ </longdescription>
+ <longdescription lang="de">
+ Zeigt eine Zeitleiste aller Aufnahmen an einem Tag und eventuelle
+ Konflikte von Sendungen, die gleichzeitig ueber das gleiche Device
+ (DVB-Karte, etc.) jedoch von unterschiedlichen Sendern
+ (unterschiedliche Digitalpakete) aufgenommen werden sollen.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-plugins/vdr-timeline/vdr-timeline-0.9.0-r2.ebuild b/media-plugins/vdr-timeline/vdr-timeline-0.9.0-r2.ebuild
new file mode 100644
index 000000000000..19c5aeacc579
--- /dev/null
+++ b/media-plugins/vdr-timeline/vdr-timeline-0.9.0-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-timeline/vdr-timeline-0.9.0-r2.ebuild,v 1.1 2005/12/16 12:40:18 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="Video Disk Recorder Timeline PlugIn"
+HOMEPAGE="http://www.js-home.org/vdr/timeline/"
+SRC_URI="http://www.js-home.org:80/vdr/timeline/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.0"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ has_version ">=media-video/vdr-1.3.7" && has_version "<=media-video/vdr-1.3.22" \
+ epatch ${FILESDIR}/vdr-1.3.18-${P}.diff
+
+ has_version ">=media-video/vdr-1.3.23" && \
+ epatch ${FILESDIR}/vdr-1.3.23-${P}.diff
+
+ has_version ">=media-video/vdr-1.3.32" && \
+ epatch ${FILESDIR}/vdr-1.3.32-${P}.diff
+}