[packages/kaffeine] new patch to disable debug output by default
atler
atler at pld-linux.org
Wed Jul 5 23:59:17 CEST 2017
commit 3e6a73e64bf230012010a35187e0dbaff5728ee5
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jul 5 23:58:26 2017 +0200
new patch to disable debug output by default
kaffeine-loglevel.patch | 28 ++++++++++++++++++++++++++++
kaffeine.spec | 2 ++
2 files changed, 30 insertions(+)
---
diff --git a/kaffeine.spec b/kaffeine.spec
index f774e4b..a6fd02f 100644
--- a/kaffeine.spec
+++ b/kaffeine.spec
@@ -11,6 +11,7 @@ License: GPL v2+
Group: X11/Applications/Multimedia
Source0: http://download.kde.org/stable/kaffeine/%{version}/src/%{name}-%{version}.tar.xz
# Source0-md5: 89fd6614379789f594af30bc5c72dd63
+Patch0: %{name}-loglevel.patch
URL: http://kaffeine.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Network-devel >= %{qtver}
@@ -61,6 +62,7 @@ W pełni zintegrowany z KDE frontend do xine.
%prep
%setup -q
+%patch0 -p0
%build
install -d build
diff --git a/kaffeine-loglevel.patch b/kaffeine-loglevel.patch
new file mode 100644
index 0000000..f48fdf4
--- /dev/null
+++ b/kaffeine-loglevel.patch
@@ -0,0 +1,28 @@
+--- src/mainwindow.cpp.old 2017-07-05 21:55:13.385793004 +0200
++++ src/mainwindow.cpp 2017-07-05 21:54:58.862566591 +0200
+@@ -53,16 +53,16 @@
+
+ // log categories. Should match log.h
+
+-Q_LOGGING_CATEGORY(logCam, "kaffeine.cam")
+-Q_LOGGING_CATEGORY(logDev, "kaffeine.dev")
+-Q_LOGGING_CATEGORY(logDvb, "kaffeine.dvb")
+-Q_LOGGING_CATEGORY(logDvbSi, "kaffeine.dvbsi")
+-Q_LOGGING_CATEGORY(logEpg, "kaffeine.epg")
++Q_LOGGING_CATEGORY(logCam, "kaffeine.cam", QtInfoMsg)
++Q_LOGGING_CATEGORY(logDev, "kaffeine.dev", QtInfoMsg)
++Q_LOGGING_CATEGORY(logDvb, "kaffeine.dvb", QtInfoMsg)
++Q_LOGGING_CATEGORY(logDvbSi, "kaffeine.dvbsi", QtInfoMsg)
++Q_LOGGING_CATEGORY(logEpg, "kaffeine.epg", QtInfoMsg)
+
+-Q_LOGGING_CATEGORY(logConfig, "kaffeine.config")
+-Q_LOGGING_CATEGORY(logMediaWidget, "kaffeine.mediawidget")
+-Q_LOGGING_CATEGORY(logPlaylist, "kaffeine.playlist")
+-Q_LOGGING_CATEGORY(logSql, "kaffeine.sql")
++Q_LOGGING_CATEGORY(logConfig, "kaffeine.config", QtInfoMsg)
++Q_LOGGING_CATEGORY(logMediaWidget, "kaffeine.mediawidget", QtInfoMsg)
++Q_LOGGING_CATEGORY(logPlaylist, "kaffeine.playlist", QtInfoMsg)
++Q_LOGGING_CATEGORY(logSql, "kaffeine.sql", QtInfoMsg)
+
+ #define FILTER_RULE "kaffeine.*.debug=true"
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kaffeine.git/commitdiff/3e6a73e64bf230012010a35187e0dbaff5728ee5
More information about the pld-cvs-commit
mailing list