summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-10-07 12:21:08 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-10-07 12:21:08 +0000
commitc2639e61258d296fba9986aad94434ca2afc500c (patch)
tree821bbedf21d607b05f8ccc1c98524b42f8a9fb01 /media-plugins/vdr-remotetimers
parentVersion bumped. (diff)
downloadhistorical-c2639e61258d296fba9986aad94434ca2afc500c.tar.gz
historical-c2639e61258d296fba9986aad94434ca2afc500c.tar.bz2
historical-c2639e61258d296fba9986aad94434ca2afc500c.zip
Initial import of ebuild written by me.
Package-Manager: portage-2.1.3.12
Diffstat (limited to 'media-plugins/vdr-remotetimers')
-rw-r--r--media-plugins/vdr-remotetimers/ChangeLog12
-rw-r--r--media-plugins/vdr-remotetimers/Manifest34
-rw-r--r--media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.13
-rw-r--r--media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff24
-rw-r--r--media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff15
-rw-r--r--media-plugins/vdr-remotetimers/metadata.xml9
-rw-r--r--media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild31
7 files changed, 128 insertions, 0 deletions
diff --git a/media-plugins/vdr-remotetimers/ChangeLog b/media-plugins/vdr-remotetimers/ChangeLog
new file mode 100644
index 000000000000..1ae5bcb44d59
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-plugins/vdr-remotetimers
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remotetimers/ChangeLog,v 1.1 2007/10/07 12:21:07 zzam Exp $
+
+*vdr-remotetimers-0.0.1 (07 Oct 2007)
+
+ 07 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-remotetimers-0.0.1-svdrpservice.diff,
+ +files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff, +metadata.xml,
+ +vdr-remotetimers-0.0.1.ebuild:
+ Initial import of ebuild written by me.
+
diff --git a/media-plugins/vdr-remotetimers/Manifest b/media-plugins/vdr-remotetimers/Manifest
new file mode 100644
index 000000000000..5698dcc5df6d
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/Manifest
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX vdr-remotetimers-0.0.1-svdrpservice.diff 747 RMD160 1ba69c4b005eb417e8e8f2429c9d8c0fdfd679f3 SHA1 d914bcc26916dba86a60102c7eb0bc6a0ea233f8 SHA256 49d667403817894f386348f06924b5d92c3f08e88761f255c1720ee3c79d4c22
+MD5 5a9480d6c13e4f554e6a3fccb5d07e87 files/vdr-remotetimers-0.0.1-svdrpservice.diff 747
+RMD160 1ba69c4b005eb417e8e8f2429c9d8c0fdfd679f3 files/vdr-remotetimers-0.0.1-svdrpservice.diff 747
+SHA256 49d667403817894f386348f06924b5d92c3f08e88761f255c1720ee3c79d4c22 files/vdr-remotetimers-0.0.1-svdrpservice.diff 747
+AUX vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574 RMD160 49ca08a24d93d8efea0556161bd25f6e34816ae7 SHA1 57576326459bf4116151eb06cf778f21c44d6e7b SHA256 bcf203f81658f707023624715bdcdafd47a83726848e27a627579dbbd1c78d79
+MD5 ac7ab87c71e1b0b182ed2b2c5dd680fe files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574
+RMD160 49ca08a24d93d8efea0556161bd25f6e34816ae7 files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574
+SHA256 bcf203f81658f707023624715bdcdafd47a83726848e27a627579dbbd1c78d79 files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574
+DIST vdr-remotetimers-0.0.1.tgz 25118 RMD160 e61e14c1d7be6a88c0564e30ba8b62c8c03c756f SHA1 6d3b084e15ed1aae5a58b1e01f63fee844d1155a SHA256 6afddb667ac8c2aaffd7897d6f4608126dff8b9893d4f0c72d6c020aae6a6334
+EBUILD vdr-remotetimers-0.0.1.ebuild 786 RMD160 edac5622307514e034a6bc301b1bc41e7f48da4d SHA1 81042cec2ff91e02709117eac020005dcafd85f3 SHA256 7e42e98ddbc53b07919f8049817f7e4686985acc731b44bb271cc491839eaaca
+MD5 c9fcf6d531e1147584d73a0c64530c04 vdr-remotetimers-0.0.1.ebuild 786
+RMD160 edac5622307514e034a6bc301b1bc41e7f48da4d vdr-remotetimers-0.0.1.ebuild 786
+SHA256 7e42e98ddbc53b07919f8049817f7e4686985acc731b44bb271cc491839eaaca vdr-remotetimers-0.0.1.ebuild 786
+MISC ChangeLog 514 RMD160 035105db2cf918334a0c0dec64d28c537017f640 SHA1 430079a8ce78861e8a7f16f7bb78bfeaafb4249c SHA256 cbf6ac08cdb81e6323660731ec4ebba475d92eb619ec6c8563efa521ef7ee7bc
+MD5 24c4a8dcd7fb7064bdc32426670dd7ff ChangeLog 514
+RMD160 035105db2cf918334a0c0dec64d28c537017f640 ChangeLog 514
+SHA256 cbf6ac08cdb81e6323660731ec4ebba475d92eb619ec6c8563efa521ef7ee7bc ChangeLog 514
+MISC metadata.xml 263 RMD160 ce7af80e59cdab36a4c2c4f22e942a5893bf108c SHA1 1dba53cbe1821e2edc8bd55e223afb62c6a344c4 SHA256 08d4610093d9d54d33c4f62a4886312290016bd2be38ddbc27391eb4b9c8b2be
+MD5 95734040ced396bf0e154b59b0488cb3 metadata.xml 263
+RMD160 ce7af80e59cdab36a4c2c4f22e942a5893bf108c metadata.xml 263
+SHA256 08d4610093d9d54d33c4f62a4886312290016bd2be38ddbc27391eb4b9c8b2be metadata.xml 263
+MD5 734656d031f3e02a1e14a764b08c54bb files/digest-vdr-remotetimers-0.0.1 256
+RMD160 db448188e4ff64d711aa118e5e206d565f573cbc files/digest-vdr-remotetimers-0.0.1 256
+SHA256 df87c32779efe508cedc9f61a34a2c10bae4c485698ae45af4d49be09c7aa0b8 files/digest-vdr-remotetimers-0.0.1 256
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHCM85t2vP6XvVdOcRAvNzAKCfZ5KZ5qdQzug3qmamQKTA84k9mgCg5fci
+lY4IfCXwNcbhe9v5ZR2XE98=
+=rRyA
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1 b/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1
new file mode 100644
index 000000000000..1276c1a62300
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1
@@ -0,0 +1,3 @@
+MD5 bddd98e8ec0d30863f1ff5ff37a6971b vdr-remotetimers-0.0.1.tgz 25118
+RMD160 e61e14c1d7be6a88c0564e30ba8b62c8c03c756f vdr-remotetimers-0.0.1.tgz 25118
+SHA256 6afddb667ac8c2aaffd7897d6f4608126dff8b9893d4f0c72d6c020aae6a6334 vdr-remotetimers-0.0.1.tgz 25118
diff --git a/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff
new file mode 100644
index 000000000000..07a72b47fa9a
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff
@@ -0,0 +1,24 @@
+Bugfix for version 0.0.1 (reported by Maniac@vdrportal):
+Either make sure svdrpservice is loaded before remotetimers or apply
+this patch.
+
+--- timers.c.orig 2007-03-16 07:39:06.000000000 +0100
++++ timers.c 2007-03-16 07:41:27.000000000 +0100
+@@ -48,7 +48,7 @@
+ // cRemoteTimers -------------------------------------------------
+
+ cRemoteTimers::cRemoteTimers(): refcount(0) {
+- plugin = cPluginManager::GetPlugin("svdrpservice");
++ plugin = NULL;
+ svdrp.handle = -1;
+ }
+
+@@ -59,6 +59,8 @@
+
+ bool cRemoteTimers::Connect() {
+ refcount++;
++ if (!plugin)
++ plugin = cPluginManager::GetPlugin("svdrpservice");
+ if (plugin && svdrp.handle < 0) {
+ svdrp.serverIp = RemoteTimersSetup.serverIp;
+ svdrp.serverPort = RemoteTimersSetup.serverPort;
diff --git a/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff
new file mode 100644
index 000000000000..b3f5057512ec
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff
@@ -0,0 +1,15 @@
+diff -ru remotetimers-0.0.1-orig/menu.c remotetimers-0.0.1/menu.c
+--- remotetimers-0.0.1-orig/menu.c 2007-10-07 14:07:19.565912321 +0200
++++ remotetimers-0.0.1/menu.c 2007-10-07 14:08:13.062429433 +0200
+@@ -206,7 +206,11 @@
+ {
+ cString day, name("");
+ if (timer->WeekDays())
++#if APIVERSNUM >= 10503
++ day = timer->PrintDay(0, timer->WeekDays(), false);
++#else
+ day = timer->PrintDay(0, timer->WeekDays());
++#endif
+ else if (timer->Day() - time(NULL) < 28 * SECSINDAY) {
+ day = itoa(timer->GetMDay(timer->Day()));
+ name = WeekDayName(timer->Day());
diff --git a/media-plugins/vdr-remotetimers/metadata.xml b/media-plugins/vdr-remotetimers/metadata.xml
new file mode 100644
index 000000000000..57cbe8aa99b6
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/metadata.xml
@@ -0,0 +1,9 @@
+<?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>
+</pkgmetadata>
diff --git a/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild b/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild
new file mode 100644
index 000000000000..4b58bfffa66e
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild,v 1.1 2007/10/07 12:21:07 zzam Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR: remoteosd PlugIn"
+HOMEPAGE="http://vdr.schmirler.de/"
+SRC_URI="http://vdr.schmirler.de/${PN#vdr-}/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.4.0
+ >=media-plugins/vdr-svdrpservice-0.0.3"
+
+PATCHES="${FILESDIR}/${P}-svdrpservice.diff
+ ${FILESDIR}/${P}-vdr-1.5.3.diff"
+
+src_unpack() {
+ vdr-plugin_src_unpack unpack
+
+ cd "${S}"
+ sed -i timers.h \
+ -e 's-../svdrpservice/svdrpservice.h-svdrpservice/svdrpservice.h-'
+
+ vdr-plugin_src_unpack all_but_unpack
+}
+