rebuilt by autoport with build requirements: libgps-devel>=3.21-1mamba [release 5.19.4-2mamba;Thu Aug 20 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 10:19:26 +01:00
parent 720643ab11
commit 11912918c3
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From e3134289f522edb140797818fffd60d641b86cd8 Mon Sep 17 00:00:00 2001
From: Antonio Rojas <arojas@archlinux.org>
Date: Wed, 5 Aug 2020 14:07:24 +0200
Subject: [PATCH] Fix build with gpsd 3.21
Adapt to API changes
---
dataengines/geolocation/location_gps.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dataengines/geolocation/location_gps.cpp b/dataengines/geolocation/location_gps.cpp
index 021c29ac5..476117ca3 100644
--- a/dataengines/geolocation/location_gps.cpp
+++ b/dataengines/geolocation/location_gps.cpp
@@ -65,7 +65,11 @@ void Gpsd::run()
if (m_gpsdata->online) {
#endif
//qDebug() << "online";
+#if GPSD_API_MAJOR_VERSION >= 10
+ if (m_gpsdata->fix.status != STATUS_NO_FIX) {
+#else
if (m_gpsdata->status != STATUS_NO_FIX) {
+#endif
//qDebug() << "fix";
d["accuracy"] = 30;
d["latitude"] = QString::number(m_gpsdata->fix.latitude);

View File

@ -2,7 +2,7 @@
Name: plasma-workspace Name: plasma-workspace
Version: 5.19.4 Version: 5.19.4
Release: 1mamba Release: 2mamba
Summary: KDE Frameworks 5 Workspace Summary: KDE Frameworks 5 Workspace
Group: Graphical Desktop/Applications/Environment Group: Graphical Desktop/Applications/Environment
Vendor: openmamba Vendor: openmamba
@ -13,6 +13,7 @@ Source: http://download.kde.org/stable/plasma/%{plasmaver}/plasma-workspa
Source1: plasma-workspace-pam Source1: plasma-workspace-pam
Source2: plasma-workspace-pam-no-password Source2: plasma-workspace-pam-no-password
Source3: openmamba.plasma.logo.png Source3: openmamba.plasma.logo.png
Patch0: plasma-workspace-5.19.4-gpsd-3.21.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -89,6 +90,7 @@ BuildRequires: libxcb-image-devel
BuildRequires: libxcb-util-devel BuildRequires: libxcb-util-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libgps-devel >= 3.21-1mamba
BuildRequires: libqalculate-devel >= 2.6.2-1mamba BuildRequires: libqalculate-devel >= 2.6.2-1mamba
BuildRequires: libkscreen-devel >= 5.6.1-1mamba BuildRequires: libkscreen-devel >= 5.6.1-1mamba
BuildRequires: cmake BuildRequires: cmake
@ -148,6 +150,7 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%cmake_kde5 -d build %cmake_kde5 -d build
@ -335,6 +338,9 @@ exit 0
%{_libdir}/cmake/LibColorCorrect/LibColorCorrect*.cmake %{_libdir}/cmake/LibColorCorrect/LibColorCorrect*.cmake
%changelog %changelog
* Thu Aug 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.19.4-2mamba
- rebuilt by autoport with build requirements: libgps-devel>=3.21-1mamba
* Thu Jul 30 2020 Automatic Build System <autodist@mambasoft.it> 5.19.4-1mamba * Thu Jul 30 2020 Automatic Build System <autodist@mambasoft.it> 5.19.4-1mamba
- automatic version update by autodist - automatic version update by autodist