fix Log print error correction
This commit is contained in:
parent
240029a41f
commit
ce68a06da0
41
0001-fix-Log-print-error-correction.patch
Normal file
41
0001-fix-Log-print-error-correction.patch
Normal file
@ -0,0 +1,41 @@
|
||||
From e1f4ecef5706e6d00dc5833008a2d19107f0a8ff Mon Sep 17 00:00:00 2001
|
||||
From: tanyulong <tanyulong@kylinos.cn>
|
||||
Date: Thu, 28 Oct 2021 19:43:07 +0800
|
||||
Subject: [PATCH] fix Log print error correction
|
||||
|
||||
---
|
||||
debian/changelog | 6 ++++++
|
||||
src/egg-debug.c | 3 ++-
|
||||
2 files changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/debian/changelog b/debian/changelog
|
||||
index 7edfaf9..f263478 100755
|
||||
--- a/debian/changelog
|
||||
+++ b/debian/changelog
|
||||
@@ -1,3 +1,9 @@
|
||||
+ukui-power-manager (2.1.29~rc2) v101; urgency=medium
|
||||
+
|
||||
+ * 添加日志打印輸出
|
||||
+
|
||||
+ -- zhangxinyu1 <zhangxinyu1@kylinos.cn> Wed, 21 Apr 2021 17:49:15 +0800
|
||||
+
|
||||
ukui-power-manager (2.0.2-1+1028) focal; urgency=medium
|
||||
|
||||
* Daily build.
|
||||
diff --git a/src/egg-debug.c b/src/egg-debug.c
|
||||
index 2f140f2..6b195a3 100755
|
||||
--- a/src/egg-debug.c
|
||||
+++ b/src/egg-debug.c
|
||||
@@ -243,7 +243,8 @@ egg_debug_enabled (void)
|
||||
{
|
||||
const gchar *env;
|
||||
env = g_getenv (EGG_VERBOSE);
|
||||
- return (g_strcmp0 (env, "1") == 0);
|
||||
+ //return (g_strcmp0 (env, "1") == 0);
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
--
|
||||
2.30.0
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
%define debug_package %{nil}
|
||||
Name: ukui-power-manager
|
||||
Version: 2.0.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: power management tool for the UKUI desktop
|
||||
License: GPL-2+ LGPL-2+ GFDL-1.1+
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
patch0: 0001-fix-Log-print-error-correction.patch
|
||||
|
||||
BuildRequires: qt5-qtbase-devel,intltool,libcanberra-devel,dbus-glib-devel,libgcrypt-devel,glib2-devel,gtk3-devel,libnotify-devel,libtool, libtool-ltdl,upower-devel,libwnck3-devel,libX11-devel,libXext-devel,perl-XML-Parser,libXrandr-devel,pkg-config,xmlto,yelp-tools,qt5-qtcharts-devel,qt5-qtx11extras-devel,gsettings-qt-devel, gnome-keyring, libgnome-keyring-devel
|
||||
BuildRequires:mate-common >= 1.18
|
||||
|
||||
@ -42,6 +44,7 @@ This package contains the architecture independent files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 -enable-introspection --enable-compile-warnings=yes --enable-egl-device --enable-wayland --enable-native-backend
|
||||
|
||||
%build
|
||||
@ -407,6 +410,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/help/zh_CN/ukui-power-manager/legal.xml
|
||||
|
||||
%changelog
|
||||
* Thu Oct 28 2021 tanyulong <tanyulong@kylinos.cn> -2.0.3-2
|
||||
- fix Log print error correction
|
||||
|
||||
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 2.0.3-1
|
||||
- update to upstream version 2.0.2-1+1028
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user