fix screen show error
This commit is contained in:
parent
e86cd158f3
commit
2a6a24e4cc
30
fix-screenshot-not-show.patch
Normal file
30
fix-screenshot-not-show.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
From 1e24386bfeec01911f33dc19c68171425316cd73 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tanyulong2021 <tanyulong@kylinos.cn>
|
||||||
|
Date: Tue, 22 Feb 2022 14:49:13 +0800
|
||||||
|
Subject: [PATCH] fix screenshot not show
|
||||||
|
|
||||||
|
---
|
||||||
|
kylin-screenshot.pro | 7 ++-----
|
||||||
|
1 file changed, 2 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/kylin-screenshot.pro b/kylin-screenshot.pro
|
||||||
|
index 3ffbc60..5ad2bd0 100755
|
||||||
|
--- a/kylin-screenshot.pro
|
||||||
|
+++ b/kylin-screenshot.pro
|
||||||
|
@@ -315,11 +315,8 @@ unix:!macx {
|
||||||
|
|
||||||
|
servicedbus.path = $${PREFIX}/share/dbus-1/services/
|
||||||
|
|
||||||
|
- packaging {
|
||||||
|
- servicedbus.files = dbus/package/org.dharkael.kylinscreenshot.service
|
||||||
|
- } else {
|
||||||
|
- servicedbus.files = dbus/make/org.dharkael.kylinscreenshot.service
|
||||||
|
- }
|
||||||
|
+
|
||||||
|
+ servicedbus.files = dbus/package/org.dharkael.kylinscreenshot.service
|
||||||
|
|
||||||
|
INSTALLS += target \
|
||||||
|
icon \
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: kylin-screenshot
|
Name: kylin-screenshot
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: a powerful screenshot and screen recording tool
|
Summary: a powerful screenshot and screen recording tool
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
URL: https://github.com/ubuntukylin
|
URL: https://github.com/ubuntukylin
|
||||||
@ -29,6 +29,7 @@ BuildRequires: gsettings-qt-devel
|
|||||||
patch0: 0001-fix-screenshot-service.patch
|
patch0: 0001-fix-screenshot-service.patch
|
||||||
patch1: 0001-add-save-dialog.patch
|
patch1: 0001-add-save-dialog.patch
|
||||||
patch2: optimize-the-undo-button-function.patch
|
patch2: optimize-the-undo-button-function.patch
|
||||||
|
patch3: fix-screenshot-not-show.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Powerful yet simple-to-use screenshot software
|
Powerful yet simple-to-use screenshot software
|
||||||
@ -43,6 +44,7 @@ patch2: optimize-the-undo-button-function.patch
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-screenshot.pro
|
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-screenshot.pro
|
||||||
@ -93,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/metainfo/kylinscreenshot.appdata.xml
|
%{_datadir}/metainfo/kylinscreenshot.appdata.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 22 2022 tanyulong <tanyulong@kylinos.cn> - 1.0.0-6
|
||||||
|
- fix screenshot not show
|
||||||
|
|
||||||
* Fri Feb 10 2022 douyan <douyan@kylinos.cn> - 1.0.0-5
|
* Fri Feb 10 2022 douyan <douyan@kylinos.cn> - 1.0.0-5
|
||||||
- add BuildRequires pulseaudio-libs-devel
|
- add BuildRequires pulseaudio-libs-devel
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user