!10 Repair the user guide does not work
From: @peijiankang Reviewed-by: @hua_yadong Signed-off-by: @hua_yadong
This commit is contained in:
commit
8e4c19f31f
25
0002-Repair-the-user-guide-does-not-work.patch
Normal file
25
0002-Repair-the-user-guide-does-not-work.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 22611af8c0394ef4b1b057c5d683c30c16ae5777 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Fri, 3 Mar 2023 15:56:13 +0800
|
||||
Subject: [PATCH] Repair the user guide does not work
|
||||
|
||||
---
|
||||
src/model/logicmain.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/model/logicmain.cpp b/src/model/logicmain.cpp
|
||||
index 16a6f5a..7931ae2 100644
|
||||
--- a/src/model/logicmain.cpp
|
||||
+++ b/src/model/logicmain.cpp
|
||||
@@ -50,7 +50,7 @@ LogicMain::LogicMain(QObject *parent) :
|
||||
pwd = getpwuid(getuid());
|
||||
|
||||
msg = QDBusMessage::createMethodCall( QString("com.kylinUserGuide.hotel_%1")
|
||||
- .arg(pwd->pw_gid),"/", "com.guide.hotel",
|
||||
+ .arg(pwd->pw_uid),"/", "com.guide.hotel",
|
||||
"showGuide");
|
||||
f.setFile("/usr/share/kylin-user-guide/data/guide/kylin-burner");
|
||||
msg << "kylin-burner";
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
Name: kylin-burner
|
||||
Version: 3.10.2
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: CD/DVD burning application for UKUI.
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/UbuntuKylin/kylin-burner
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch01: 0001-Fix-the-problem-of-scrambled-burner.patch
|
||||
Patch02: 0002-Repair-the-user-guide-does-not-work.patch
|
||||
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
@ -28,6 +30,7 @@ CD/DVD burning application for UKUI.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch01 -p1
|
||||
%patch02 -p1
|
||||
|
||||
%build
|
||||
mkdir cmake-build
|
||||
@ -48,6 +51,9 @@ popd
|
||||
%{_datadir}/locale/zh_CN/LC_MESSAGES/kylin-burner.mo
|
||||
|
||||
%changelog
|
||||
* Fri Mar 03 2023 peijiankang <peijiankang@kylinos.cn> - 3.10.2-5
|
||||
- Repair the user guide does not work
|
||||
|
||||
* Fri Aug 19 2022 peijiankang <peijiankang@kylinos.cn> - 3.10.2-4
|
||||
- add build debuginfo and debugsource
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user