diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-03-20 16:49:45 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-03-20 16:49:45 +0000 |
commit | 5d2d1d735ec20fa764c9dd06af0297fd12bc21dc (patch) | |
tree | 84ab001da60cbf7c18ecd57f7cd56b4c353b84aa /media-plugins/vdr-tvonscreen | |
parent | Add patch to respect LDFLAGS. (diff) | |
download | historical-5d2d1d735ec20fa764c9dd06af0297fd12bc21dc.tar.gz historical-5d2d1d735ec20fa764c9dd06af0297fd12bc21dc.tar.bz2 historical-5d2d1d735ec20fa764c9dd06af0297fd12bc21dc.zip |
Imported from gentoo.de
Package-Manager: portage-2.1_pre6-r5
Diffstat (limited to 'media-plugins/vdr-tvonscreen')
7 files changed, 329 insertions, 0 deletions
diff --git a/media-plugins/vdr-tvonscreen/ChangeLog b/media-plugins/vdr-tvonscreen/ChangeLog new file mode 100644 index 000000000000..67aad53668e0 --- /dev/null +++ b/media-plugins/vdr-tvonscreen/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-plugins/vdr-tvonscreen +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-tvonscreen/ChangeLog,v 1.1 2006/03/20 16:49:45 zzam Exp $ + +*vdr-tvonscreen-0.7.1 (20 Mar 2006) + + 20 Mar 2006; Matthias Schwarzott <zzam@gentoo.org> + +files/vdr-tvonscreen-0.7.1-includes.diff, + +files/vdr-tvonscreen-0.7.1.diff, +metadata.xml, + +vdr-tvonscreen-0.7.1.ebuild: + Imported from gentoo.de + diff --git a/media-plugins/vdr-tvonscreen/Manifest b/media-plugins/vdr-tvonscreen/Manifest new file mode 100644 index 000000000000..6cb357cce3d1 --- /dev/null +++ b/media-plugins/vdr-tvonscreen/Manifest @@ -0,0 +1,28 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 931846e19b5ea86d8cbbd8c651d0aabd ChangeLog 472 +RMD160 06a844c691617fcf58b2787b151af8e49f54cdc2 ChangeLog 472 +SHA256 2dfc42bce72040df5fae527b78307dbfc353abbd7c175fba2ccc91d40683d822 ChangeLog 472 +MD5 b5e84c2d2347cfb30c81a21765005f7f files/digest-vdr-tvonscreen-0.7.1 262 +RMD160 a0905d422462dfad7640e9b28dcdea3049a2e637 files/digest-vdr-tvonscreen-0.7.1 262 +SHA256 b1e9350b7f15623d84391913e4caab16e1a6452b15182c1281ec93d84f567a65 files/digest-vdr-tvonscreen-0.7.1 262 +MD5 79de2334a62f4f8d9b2b484b3c3295f3 files/vdr-tvonscreen-0.7.1-includes.diff 364 +RMD160 855da04b87d6fd75c00b50a206961df63187bd45 files/vdr-tvonscreen-0.7.1-includes.diff 364 +SHA256 d9678372759402b1986e12373aaf6b979efbe9fe3c27f4b82cc05f256df13e45 files/vdr-tvonscreen-0.7.1-includes.diff 364 +MD5 39b7a3292a08b582b776a023f79631b3 files/vdr-tvonscreen-0.7.1.diff 6109 +RMD160 fae9eafbfd84bff00abd707de6d6ee9aa3e9e6e1 files/vdr-tvonscreen-0.7.1.diff 6109 +SHA256 f080f326fb530acbc54d859f4757471c0ed4d43881a8b75ea66c185c774335ce files/vdr-tvonscreen-0.7.1.diff 6109 +MD5 7c30ab7528b676a1a0c2737821599b29 metadata.xml 300 +RMD160 c85719cef743cf573efe73f8f84564292085c91c metadata.xml 300 +SHA256 29feafd8b7177b65f8bd92553ac96779d9a91e3b7b4eeecfb0924eb7b6979587 metadata.xml 300 +MD5 bfc79505a2a5166d8455300ec90ea9ff vdr-tvonscreen-0.7.1.ebuild 568 +RMD160 f2acecf7bbc8eab243ac6ccba8f2de2df48ac92f vdr-tvonscreen-0.7.1.ebuild 568 +SHA256 6369671c15a709a23b52eda65bda0202370633c4e39636c7560c5746abaca3e5 vdr-tvonscreen-0.7.1.ebuild 568 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFEHt1BZfSl1Kp5KmoRAjq3AJ93HxB64sgBQrHijafELO3tq8G6TQCeLVLM +Zsx2tMwxekr4vHZRsePekcM= +=lzGl +-----END PGP SIGNATURE----- diff --git a/media-plugins/vdr-tvonscreen/files/digest-vdr-tvonscreen-0.7.1 b/media-plugins/vdr-tvonscreen/files/digest-vdr-tvonscreen-0.7.1 new file mode 100644 index 000000000000..e143a14cfc05 --- /dev/null +++ b/media-plugins/vdr-tvonscreen/files/digest-vdr-tvonscreen-0.7.1 @@ -0,0 +1,3 @@ +MD5 fb780781d0a43d6c2106b8246b0c1162 vdr-tvonscreen-0.7.1.tar.gz 156123 +RMD160 1d0d7f6f6f991c68a397a3786de6eaa5ad9f1175 vdr-tvonscreen-0.7.1.tar.gz 156123 +SHA256 72535eebdcced6d6c005b7fa90bc622e44618067219da74fee4cf5ddd95e00ce vdr-tvonscreen-0.7.1.tar.gz 156123 diff --git a/media-plugins/vdr-tvonscreen/files/vdr-tvonscreen-0.7.1-includes.diff b/media-plugins/vdr-tvonscreen/files/vdr-tvonscreen-0.7.1-includes.diff new file mode 100644 index 000000000000..0789dba9727d --- /dev/null +++ b/media-plugins/vdr-tvonscreen/files/vdr-tvonscreen-0.7.1-includes.diff @@ -0,0 +1,11 @@ +diff -ru tvonscreen-0.7.1-orig/magazine.h tvonscreen-0.7.1/magazine.h +--- tvonscreen-0.7.1-orig/magazine.h 2005-10-17 13:11:26.000000000 +0200 ++++ tvonscreen-0.7.1/magazine.h 2005-10-17 13:11:46.000000000 +0200 +@@ -11,6 +11,7 @@ + #define MAGAZINE_H + + #include <vdr/plugin.h> ++#include <vdr/device.h> + #include <time.h> + #include "gfxtools.h" + #include "config.h" diff --git a/media-plugins/vdr-tvonscreen/files/vdr-tvonscreen-0.7.1.diff b/media-plugins/vdr-tvonscreen/files/vdr-tvonscreen-0.7.1.diff new file mode 100644 index 000000000000..93ea7d952d6f --- /dev/null +++ b/media-plugins/vdr-tvonscreen/files/vdr-tvonscreen-0.7.1.diff @@ -0,0 +1,245 @@ +Downloaded from http://www.vdr-portal.de/board/thread.php?postid=433592#post433592 + +diff -Naur tvonscreen-0.7.1/gfxtools.c tvonscreen-0.7.2/gfxtools.c +--- tvonscreen-0.7.1/gfxtools.c 2005-01-09 17:12:42.000000000 +0100 ++++ tvonscreen-0.7.2/gfxtools.c 2006-02-26 22:27:57.000000000 +0100 +@@ -24,7 +24,12 @@ + int index = 0; + char *s; + cReadLine *FileOps= new cReadLine(); +- while ((s = FileOps->Read(f)) != NULL) ++ #if VDRVERSNUM >= 10318 ++ cReadLine ReadLine; ++ while ( (s = ReadLine.Read(f) ) != NULL ) ++ #else ++ while ((s = readline(f)) != NULL) ++ #endif + { + s = skipspace(s); + if (!isXpm) +diff -Naur tvonscreen-0.7.1/magazine.c tvonscreen-0.7.2/magazine.c +--- tvonscreen-0.7.1/magazine.c 2005-09-11 20:57:10.000000000 +0200 ++++ tvonscreen-0.7.2/magazine.c 2006-02-26 22:22:44.000000000 +0100 +@@ -476,7 +476,12 @@ + #endif + + int j=0; ++#if VDRVERSNUM >= 10318 ++ const char *txt; ++ cString timetxt; ++#else + const char *txt,*timetxt; ++#endif + int lh=-1; + int lhc=0; + #if VDRVERSNUM >= 10307 +@@ -540,7 +545,11 @@ + col=clrYellow; + EDIT_curEVI=i; + } ++#if VDRVERSNUM >= 10318 ++ timetxt=*cev->GetTimeString(); ++#else + timetxt=cev->GetTimeString(); ++#endif + #if VDRVERSNUM >= 10300 + txt=cev->Title(); + #else +@@ -643,6 +652,9 @@ + const cEventInfo *magazine::getNext(const cSchedule *s,const cEventInfo *e) + #endif + { ++ if (e == NULL) ++ return NULL; ++ + #if VDRVERSNUM >= 10300 + const cEvent *pe = NULL; + time_t ref = e->StartTime(); +@@ -687,6 +699,9 @@ + const cEventInfo *magazine::getPrev(const cSchedule *s,const cEventInfo *e) + #endif + { ++ if (e == NULL) ++ return NULL; ++ + #if VDRVERSNUM >= 10300 + const cEvent *pe = NULL; + time_t ref = e->StartTime(); +@@ -1485,9 +1500,9 @@ + { + state = cOsdObject::ProcessKey(Key); + +- if (state == osUnknown) ++ if (state == osUnknown && schedArrayNum>currentFirst) + { +- if (curmode==SHOW && schedArrayNum>currentFirst) ++ if (curmode==SHOW) + { + switch (Key & ~k_Repeat) + { +@@ -1523,6 +1538,8 @@ + currentFirst++; + if (currentFirst>schedArrayNum-3) + currentFirst=schedArrayNum-3; ++ if (currentFirst<0) ++ currentFirst=0; + output(); + break; + case kUp: +@@ -1557,6 +1574,8 @@ + currentFirst+=3; + if (currentFirst>schedArrayNum-3) + currentFirst=schedArrayNum-3; ++ if (currentFirst<0) ++ currentFirst=0; + output(); + break; + case k8: // zum aktuellen Sender +@@ -1622,18 +1641,21 @@ + { + case kOk: + { +- delete osd; +- osd=NULL; + #if VDRVERSNUM >= 10300 + cEvent **ev=ev4ch(EDIT_curChannel); + #else + cEventInfo **ev=ev4ch(EDIT_curChannel); + #endif +- me=new tvOcMenuEvent(ev[EDIT_curEVI]); +- me->Display(); +- curmode=SHOW; +- EDIT_curEvent=0; +- return osContinue; ++ if (ev[EDIT_curEVI] != NULL) ++ { ++ delete osd; ++ osd=NULL; ++ me=new tvOcMenuEvent(ev[EDIT_curEVI]); ++ me->Display(); ++ curmode=SHOW; ++ EDIT_curEvent=0; ++ return osContinue; ++ } + } + break; + case kBack: +@@ -1658,11 +1680,15 @@ + EDIT_curChannel++; + if (EDIT_curChannel>schedArrayNum-1) + EDIT_curChannel=schedArrayNum-1; ++ if (EDIT_curChannel<0) ++ EDIT_curChannel=0; + if (EDIT_curChannel>currentFirst+2) + { + currentFirst++; + if (currentFirst>schedArrayNum-3) + currentFirst=schedArrayNum-3; ++ if (currentFirst<0) ++ currentFirst=0; + EDIT_curChannel=currentFirst+2; + } + outputLR(); +@@ -1789,21 +1815,24 @@ + break; */ + case kRecord: + { +- delete osd; +- osd=NULL; + #if VDRVERSNUM >= 10300 + cEvent **ev=ev4ch(EDIT_curChannel); + #else + cEventInfo **ev=ev4ch(EDIT_curChannel); + #endif +- cTimer *timer = new cTimer(ev[EDIT_curEVI]); +- cTimer *t = Timers.GetTimer(timer); +- if (t) ++ if (ev[EDIT_curEVI] != NULL) + { +- delete timer; +- timer = t; ++ delete osd; ++ osd=NULL; ++ cTimer *timer = new cTimer(ev[EDIT_curEVI]); ++ cTimer *t = Timers.GetTimer(timer); ++ if (t) ++ { ++ delete timer; ++ timer = t; ++ } ++ met=new cMenuEditTimer(timer, !t); + } +- met=new cMenuEditTimer(timer, !t); + } + break; + default: +diff -Naur tvonscreen-0.7.1/search.c tvonscreen-0.7.2/search.c +--- tvonscreen-0.7.1/search.c 2004-11-23 23:13:37.000000000 +0100 ++++ tvonscreen-0.7.2/search.c 2006-02-26 22:22:44.000000000 +0100 +@@ -17,7 +17,12 @@ + #endif + { + char buf[200]; ++#if VDRVERSNUM >= 10318 ++ const char *txt,*chan; ++ cString time1,time2,date; ++#else + const char *txt,*time1,*time2,*date,*chan; ++#endif + cChannel *channel; + + myev=ev; +@@ -26,9 +31,16 @@ + #else + channel = Channels.GetByChannelID(ev->GetChannelID(), true); + #endif ++#if VDRVERSNUM >= 10318 ++ time1=*ev->GetTimeString(); ++ time2=*ev->GetEndTimeString(); ++#else + time1=ev->GetTimeString(); + time2=ev->GetEndTimeString(); +-#if VDRVERSNUM >= 10308 ++#endif ++#if VDRVERSNUM >= 10318 ++ date=*ev->GetDateString(); ++#elif VDRVERSNUM >= 10308 + date=ev->GetDateString(); + #else + date=ev->GetDate(); +@@ -44,7 +56,11 @@ + txt=ev->GetTitle(); + #endif + ++#if VDRVERSNUM >= 10318 ++ snprintf(buf,sizeof(buf)-1,"%.6s %s - %s %s/%s",*date,*time1,*time2,chan,txt); ++#else + snprintf(buf,sizeof(buf)-1,"%.6s %s - %s %s/%s",date,time1,time2,chan,txt); ++#endif + SetText(buf); + } + +diff -Naur tvonscreen-0.7.1/timer.h tvonscreen-0.7.2/timer.h +--- tvonscreen-0.7.1/timer.h 2004-11-24 18:09:25.000000000 +0100 ++++ tvonscreen-0.7.2/timer.h 2006-02-26 22:22:44.000000000 +0100 +@@ -11,10 +11,12 @@ + #define TIMER_H + + #include <vdr/plugin.h> ++#include <vdr/menu.h> + #include <time.h> + #include "gfxtools.h" + #include "config.h" + ++#if VDRVERSNUM < 10331 + #if VDRVERSNUM >= 10300 + class cMenuEvent : public cOsdMenu { + private: +@@ -48,6 +50,7 @@ + virtual ~cMenuEditTimer(); + virtual eOSState ProcessKey(eKeys Key); + }; ++#endif + + class tvOcMenuEvent : public cMenuEvent { + public: diff --git a/media-plugins/vdr-tvonscreen/metadata.xml b/media-plugins/vdr-tvonscreen/metadata.xml new file mode 100644 index 000000000000..3aaff838ed8d --- /dev/null +++ b/media-plugins/vdr-tvonscreen/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>zzam@gentoo.org</email> +<name>Matthias Schwarzott</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-tvonscreen/vdr-tvonscreen-0.7.1.ebuild b/media-plugins/vdr-tvonscreen/vdr-tvonscreen-0.7.1.ebuild new file mode 100644 index 000000000000..a761f73cdedc --- /dev/null +++ b/media-plugins/vdr-tvonscreen/vdr-tvonscreen-0.7.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-tvonscreen/vdr-tvonscreen-0.7.1.ebuild,v 1.1 2006/03/20 16:49:45 zzam Exp $ + +IUSE="" +inherit vdr-plugin + +DESCRIPTION="VDR plugin: Show EPG like a TV guide" +HOMEPAGE="http://www.js-home.org/vdr/tvonscreen" +SRC_URI="http://beejay.vdr-developer.org/patches/${P}.tar.gz" +KEYWORDS="~x86" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=media-video/vdr-1.3.18" + +PATCHES="${FILESDIR}/${P}-includes.diff ${FILESDIR}/${P}.diff" + |