!41 fix build compile error
From: @tanyulong2021 Reviewed-by: @peijiankang Signed-off-by: @peijiankang
This commit is contained in:
commit
e16715a5d7
24
0002-fix-build-compile-error.patch
Normal file
24
0002-fix-build-compile-error.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 6f41615756a3793420918265fba01148eab4b42b Mon Sep 17 00:00:00 2001
|
||||||
|
From: tanyulong2021 <tanyulong@kylinos.cn>
|
||||||
|
Date: Fri, 10 Feb 2023 09:56:04 +0800
|
||||||
|
Subject: [PATCH] fix build compile error
|
||||||
|
|
||||||
|
---
|
||||||
|
BiometricAuth/giodbus.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/BiometricAuth/giodbus.cpp b/BiometricAuth/giodbus.cpp
|
||||||
|
index 9e0490e..4ad8d27 100644
|
||||||
|
--- a/BiometricAuth/giodbus.cpp
|
||||||
|
+++ b/BiometricAuth/giodbus.cpp
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
#include "giodbus.h"
|
||||||
|
#include <gio/gio.h>
|
||||||
|
-#include <gio-unix-2.0/gio/gunixfdlist.h>
|
||||||
|
+#include <glib-2.0/gio/gunixfdlist.h>
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
int get_server_gvariant_stdout (int drvid)
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,11 +1,12 @@
|
|||||||
Name: ukui-screensaver
|
Name: ukui-screensaver
|
||||||
Version: 3.1.1
|
Version: 3.1.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Screensaver for UKUI desktop environment
|
Summary: Screensaver for UKUI desktop environment
|
||||||
License: GPL-3+ and GPL-2+
|
License: GPL-3+ and GPL-2+
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch01: 0001-fix-root-can-not-input-passwd-bug.patch
|
Patch01: 0001-fix-root-can-not-input-passwd-bug.patch
|
||||||
|
Patch02: 0002-fix-build-compile-error.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
@ -37,6 +38,7 @@ provided by biometric-auth service.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cmake .
|
cmake .
|
||||||
@ -71,6 +73,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
|
|||||||
%{_prefix}/lib/ukui-screensaver/screensaver-focus-helper
|
%{_prefix}/lib/ukui-screensaver/screensaver-focus-helper
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 10 2023 tanyulong <tanyulong@kylinos.cn> - 3.1.1-3
|
||||||
|
- fix build compile error
|
||||||
|
|
||||||
* Fri Dec 9 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.1-2
|
* Fri Dec 9 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.1-2
|
||||||
- fix root can not input passwd bug
|
- fix root can not input passwd bug
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user