public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-remoteosd/files/, media-plugins/vdr-remoteosd/
@ 2019-12-25 21:16 Jörg Bornkessel
  0 siblings, 0 replies; only message in thread
From: Jörg Bornkessel @ 2019-12-25 21:16 UTC (permalink / raw
  To: gentoo-commits

commit:     13bef988a8f712623cdcd39b26c2af1a962d2c9c
Author:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 21:15:40 2019 +0000
Commit:     Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 21:16:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13bef988

media-plugins/vdr-remoteosd: patched for media-video/vdr-2.4

Package-Manager: Portage-2.3.82, Repoman-2.3.18
Signed-off-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org>

 .../files/vdr-2.4_remoteosd-1.0.0.patch            | 38 ++++++++++++++++++++++
 .../vdr-remoteosd/vdr-remoteosd-1.0.0-r1.ebuild    | 18 ++++++++++
 2 files changed, 56 insertions(+)

diff --git a/media-plugins/vdr-remoteosd/files/vdr-2.4_remoteosd-1.0.0.patch b/media-plugins/vdr-remoteosd/files/vdr-2.4_remoteosd-1.0.0.patch
new file mode 100644
index 00000000000..af6515bbe01
--- /dev/null
+++ b/media-plugins/vdr-remoteosd/files/vdr-2.4_remoteosd-1.0.0.patch
@@ -0,0 +1,38 @@
+compile fix for >=vdr-2.3.1 
+suggested by MatthiasK on vdr-portal.de
+
+Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> ( 25 Dec 2019 )
+diff -Naur remoteosd-1.0.0.orig/menu.c remoteosd-1.0.0/menu.c
+--- remoteosd-1.0.0.orig/menu.c	2019-12-25 21:59:10.907492713 +0100
++++ remoteosd-1.0.0/menu.c	2019-12-25 22:01:09.717492713 +0100
+@@ -69,7 +69,8 @@
+ 	}
+ 
+ 	if (RemoteOsdSetup.tuneServer) {
+-		cChannel *channel = Channels.GetByNumber(cDevice::CurrentChannel());
++		LOCK_CHANNELS_READ;
++		const cChannel *channel = Channels->GetByNumber(cDevice::CurrentChannel());
+ 		CmdCHAN(channel);
+ 	}
+ 
+@@ -98,7 +99,7 @@
+ 	return cmd.responseCode;
+ }
+ 
+-bool cRemoteOsdMenu::CmdCHAN(cChannel *Channel) {
++bool cRemoteOsdMenu::CmdCHAN(const cChannel *Channel) {
+ 	SvdrpCommand_v1_0 cmd;
+ 	cmd.command = cString::sprintf("CHAN %s\r\n", *Channel->GetChannelID().ToString());
+ 	cmd.handle = svdrp.handle;
+diff -Naur remoteosd-1.0.0.orig/menu.h remoteosd-1.0.0/menu.h
+--- remoteosd-1.0.0.orig/menu.h	2019-12-25 21:59:10.906492713 +0100
++++ remoteosd-1.0.0/menu.h	2019-12-25 22:01:37.733492713 +0100
+@@ -27,7 +27,7 @@
+ 		bool			isEmpty;
+ 		bool			plugOsd;
+ 
+-		bool CmdCHAN(cChannel *Channel);
++		bool CmdCHAN(const cChannel *Channel);
+ 		bool CmdHITK(const char *Key);
+ 		bool CmdLSTO();
+ 		bool CmdOSDT();

diff --git a/media-plugins/vdr-remoteosd/vdr-remoteosd-1.0.0-r1.ebuild b/media-plugins/vdr-remoteosd/vdr-remoteosd-1.0.0-r1.ebuild
new file mode 100644
index 00000000000..6df2e44b447
--- /dev/null
+++ b/media-plugins/vdr-remoteosd/vdr-remoteosd-1.0.0-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: server/client remoteosd"
+HOMEPAGE="http://vdr.schmirler.de/"
+SRC_URI="http://vdr.schmirler.de/remoteosd/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+
+DEPEND=">=media-video/vdr-2.4"
+
+PATCHES=( "${FILESDIR}/vdr-2.4_remoteosd-${PV}.patch" )
\ No newline at end of file


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-25 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-25 21:16 [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-remoteosd/files/, media-plugins/vdr-remoteosd/ Jörg Bornkessel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox