commit 73b6282c437fa4b10799968145f9aa0d8d0dbecc
Author: Martin Gansser <mgansser(a)netcom-mail.de>
Date: Tue Oct 22 09:11:45 2024 +0200
Rebuilt for new VDR API version 2.7.3
vdr-tvguideng-EventID.patch | 11 +++++++++++
vdr-tvguideng.spec | 18 ++++++++++++++----
2 files changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/vdr-tvguideng-EventID.patch b/vdr-tvguideng-EventID.patch
new file mode 100644
index 0000000..ccee479
--- /dev/null
+++ b/vdr-tvguideng-EventID.patch
@@ -0,0 +1,11 @@
+--- tvguideng-0.3.4/recmanager.c.orig 2024-10-01 17:29:58.053527484 +0200
++++ tvguideng-0.3.4/recmanager.c 2024-10-01 17:31:25.082612572 +0200
+@@ -457,7 +457,7 @@
+ if (channel) {
+ const cSchedule *Schedule = NULL;
+ Schedule = schedules->GetSchedule(channel);
+- event = Schedule->GetEvent(eventID);
++ event = Schedule->GetEventById(eventID);
+ if (event) {
+ searchResults[index] = event;
+ } else
diff --git a/vdr-tvguideng.spec b/vdr-tvguideng.spec
index 078246a..4ec1592 100644
--- a/vdr-tvguideng.spec
+++ b/vdr-tvguideng.spec
@@ -1,17 +1,21 @@
%global pname tvguideng
-# version we want build against
+# version we want to build against
%global vdr_version 2.6.3
-%if 0%{?fedora} >= 40
+# Set vdr_version based on Fedora version
+%if 0%{?fedora} >= 42
+%global vdr_version 2.7.2
+%elif 0%{?fedora} >= 40
%global vdr_version 2.6.9
%endif
Name: vdr-%{pname}
Version: 0.3.4
-Release: 6%{?dist}
+Release: 8%{?dist}
Summary: TvGuideNG is a highly customizable 2D EPG viewer plugin
-License: GPLv2+
+License: GPL-2.0-or-later
URL:
https://gitlab.com/kamel5/tvguideng
Source0:
https://gitlab.com/kamel5/tvguideng/-/archive/%{version}/%{pname}-%{versi...
+Patch0: vdr-tvguideng-EventID.patch
BuildRequires: gcc-c++
BuildRequires: gettext
@@ -47,6 +51,12 @@ sed -i -e 's|std::auto_ptr|std::unique_ptr|g'
services/epgsearch.h
%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}
%changelog
+* Tue Oct 22 2024 Martin Gansser <martinkg(a)fedoraproject.org> - 0.3.4-8
+- Rebuilt for new VDR API version 2.7.3
+
+* Tue Oct 01 2024 Martin Gansser <martinkg(a)fedoraproject.org> - 0.3.4-7
+- Add vdr-tvguideng-EventID.patch for vdr-2.7.2
+
* Fri Jul 26 2024 Martin Gansser <martinkg(a)fedoraproject.org> - 0.3.4-6
- Rebuilt for new VDR API version 2.6.9