diff --git a/0002-graphlcd-Removal-of-deprecated-interface-functions.patch b/0002-graphlcd-Removal-of-deprecated-interface-functions.patch new file mode 100644 index 0000000..6400f37 --- /dev/null +++ b/0002-graphlcd-Removal-of-deprecated-interface-functions.patch @@ -0,0 +1,15 @@ +--- vdr-plugin-graphlcd-1.0.6/service.c.orig 2024-09-30 17:11:06.271639702 +0200 ++++ vdr-plugin-graphlcd-1.0.6/service.c 2024-09-30 17:14:29.415733688 +0200 +@@ -583,7 +583,12 @@ + spanActive = false; + p = cPluginManager::CallFirstService("Span-ClientCheck-v1.0", NULL); + if (p) { ++#if APIVERSNUM >= 20402 ++ cMutexLock mtx; ++ cControl* c = cControl::Control(mtx); // workaround a bug somewhere in music or span-plugin ++#else + cControl* c = cControl::Control(); // workaround a bug somewhere in music or span-plugin ++#endif + if (c != NULL && cPluginManager::CallFirstService("Span-GetBarHeights-v1.0", &checkSpanData)) { + spanActive = true; + bool chg = false; diff --git a/vdr-graphlcd.spec b/vdr-graphlcd.spec index bdaaf8a..b842bec 100644 --- a/vdr-graphlcd.spec +++ b/vdr-graphlcd.spec @@ -1,18 +1,15 @@ %global rname vdr-plugin-graphlcd %global sname graphlcd - -# Set vdr_version based on Fedora version -%if 0%{?fedora} >= 43 -%global vdr_version 2.7.7 -%elif 0%{?fedora} == 42 -%global vdr_version 2.7.4 -%else +# version we want to build against %global vdr_version 2.6.9 +# Set vdr_version based on Fedora version +%if 0%{?fedora} >= 42 +%global vdr_version 2.7.4 %endif Name: vdr-graphlcd Version: 1.0.8 -Release: 5%{?dist} +Release: 1%{?dist} Summary: VDR plugin: Output to graphic LCD License: GPL-2.0-or-later URL: https://github.com/vdr-projects/vdr-plugin-graphlcd @@ -82,18 +79,6 @@ install -Dpm 644 %{SOURCE3} \ %config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{sname}.conf.sample %changelog -* Fri Jul 25 2025 Martin Gansser - 1.0.8-5 -- Rebuilt for new VDR API version 2.7.7 - -* Fri Jul 25 2025 Fedora Release Engineering - 1.0.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Jun 21 2025 Martin Gansser - 1.0.8-3 -- Rebuilt for new VDR API version 2.7.6 - -* Tue May 27 2025 Martin Gansser - 1.0.8-2 -- Rebuilt for new VDR API version 2.7.5 - * Fri Feb 28 2025 Martin Gansser - 1.0.8-1 - Update to 1.0.8 - Rebuilt for new VDR API version 2.7.4