public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2015-07-20 20:39 Johannes Huber
  0 siblings, 0 replies; 11+ messages in thread
From: Johannes Huber @ 2015-07-20 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     a8515c8cf39b0f65253ce728384bf6afc0592f44
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 20 20:41:25 2015 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Jul 20 20:41:25 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a8515c8c

[kde-apps/ksystemlog] Add KF5 version

Package-Manager: portage-2.2.20

 kde-apps/ksystemlog/ksystemlog-5.9999.ebuild | 55 ++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/kde-apps/ksystemlog/ksystemlog-5.9999.ebuild b/kde-apps/ksystemlog/ksystemlog-5.9999.ebuild
new file mode 100644
index 0000000..a8f5a1c
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-5.9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+KDE_HANDBOOK=true
+KDE_TEST=true
+VIRTUALX_REQUIRED=test
+EGIT_BRANCH="frameworks"
+inherit kde5
+
+DESCRIPTION="System log viewer by KDE"
+HOMEPAGE="http://www.kde.org/applications/system/ksystemlog/"
+KEYWORDS=""
+IUSE=""
+
+# bug 378101
+RESTRICT=test
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	kde5_src_prepare
+
+	if use test; then
+		# beat this stupid test into shape: the test files contain no year, so
+		# comparison succeeds only in 2007 !!!
+		local theyear=$(date +%Y)
+		einfo Setting the current year as ${theyear} in the test files
+		sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp
+
+		# one test consistently fails, so comment it out for the moment
+		sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" -i ksystemlog/tests/CMakeLists.txt
+	fi
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2015-10-15  8:14 Michael Palimaka
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Palimaka @ 2015-10-15  8:14 UTC (permalink / raw
  To: gentoo-commits

commit:     fc5574f4b5907bdab5485f3e8c8b8a10bad78d95
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Oct 14 22:48:57 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 08:14:24 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=fc5574f4

kde-apps/ksystemlog: Frameworks merged to master

Package-Manager: portage-2.2.20.1

 kde-apps/ksystemlog/ksystemlog-5.9999.ebuild | 55 ----------------------------
 kde-apps/ksystemlog/ksystemlog-9999.ebuild   | 43 +++++++++++++++++++---
 2 files changed, 37 insertions(+), 61 deletions(-)

diff --git a/kde-apps/ksystemlog/ksystemlog-5.9999.ebuild b/kde-apps/ksystemlog/ksystemlog-5.9999.ebuild
deleted file mode 100644
index 053fc2b..0000000
--- a/kde-apps/ksystemlog/ksystemlog-5.9999.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KDE_HANDBOOK=true
-KDE_TEST=true
-VIRTUALX_REQUIRED=test
-EGIT_BRANCH="frameworks"
-inherit kde5
-
-DESCRIPTION="System log viewer by KDE"
-HOMEPAGE="https://www.kde.org/applications/system/ksystemlog/"
-KEYWORDS=""
-IUSE=""
-
-# bug 378101
-RESTRICT=test
-
-DEPEND="
-	$(add_frameworks_dep karchive)
-	$(add_frameworks_dep kcompletion)
-	$(add_frameworks_dep kconfig)
-	$(add_frameworks_dep kconfigwidgets)
-	$(add_frameworks_dep kcoreaddons)
-	$(add_frameworks_dep ki18n)
-	$(add_frameworks_dep kiconthemes)
-	$(add_frameworks_dep kio)
-	$(add_frameworks_dep kitemviews)
-	$(add_frameworks_dep kservice)
-	$(add_frameworks_dep ktextwidgets)
-	$(add_frameworks_dep kwidgetsaddons)
-	$(add_frameworks_dep kxmlgui)
-	dev-qt/qtgui:5
-	dev-qt/qtprintsupport:5
-	dev-qt/qtwidgets:5
-"
-
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	kde5_src_prepare
-
-	if use test; then
-		# beat this stupid test into shape: the test files contain no year, so
-		# comparison succeeds only in 2007 !!!
-		local theyear=$(date +%Y)
-		einfo Setting the current year as ${theyear} in the test files
-		sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp
-
-		# one test consistently fails, so comment it out for the moment
-		sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" -i ksystemlog/tests/CMakeLists.txt
-	fi
-}

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index fa0fa39..56666f7 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -4,20 +4,44 @@
 
 EAPI=5
 
-KDE_HANDBOOK="optional"
+KDE_DOXYGEN=true
+KDE_HANDBOOK=true
+KDE_TEST=true
 VIRTUALX_REQUIRED=test
-inherit kde4-base
+inherit kde5
 
-DESCRIPTION="KDE system log viewer"
+DESCRIPTION="System log viewer by KDE"
 HOMEPAGE="https://www.kde.org/applications/system/ksystemlog/"
 KEYWORDS=""
-IUSE="debug test"
+IUSE="systemd"
 
-RESTRICT=test
 # bug 378101
+RESTRICT=test
+
+DEPEND="
+	$(add_frameworks_dep karchive)
+	$(add_frameworks_dep kcompletion)
+	$(add_frameworks_dep kconfig)
+	$(add_frameworks_dep kconfigwidgets)
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kiconthemes)
+	$(add_frameworks_dep kio)
+	$(add_frameworks_dep kitemviews)
+	$(add_frameworks_dep kservice)
+	$(add_frameworks_dep ktextwidgets)
+	$(add_frameworks_dep kwidgetsaddons)
+	$(add_frameworks_dep kxmlgui)
+	dev-qt/qtgui:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtwidgets:5
+	systemd? ( sys-apps/systemd )
+"
+
+RDEPEND="${DEPEND}"
 
 src_prepare() {
-	kde4-base_src_prepare
+	kde5_src_prepare
 
 	if use test; then
 		# beat this stupid test into shape: the test files contain no year, so
@@ -30,3 +54,10 @@ src_prepare() {
 		sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" -i ksystemlog/tests/CMakeLists.txt
 	fi
 }
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package systemd Journald)
+	)
+	kde5_src_configure
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2016-01-20 18:13 Michael Palimaka
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Palimaka @ 2016-01-20 18:13 UTC (permalink / raw
  To: gentoo-commits

commit:     4de9e04f687bc929df16770c9a125b75b3c7504c
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 18:13:15 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 18:13:15 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=4de9e04f

kde-apps/ksystemlog: force handbook/tests to be optional

Package-Manager: portage-2.2.27

 kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild       | 8 ++++----
 kde-apps/ksystemlog/ksystemlog-15.12.49.9999.ebuild | 8 ++++----
 kde-apps/ksystemlog/ksystemlog-9999.ebuild          | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild b/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild
index 32f2f95..73c52fc 100644
--- a/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-15.12.1.ebuild
@@ -4,10 +4,10 @@
 
 EAPI=5
 
-KDE_DOXYGEN=true
-KDE_HANDBOOK=true
-KDE_TEST=true
-VIRTUALX_REQUIRED=test
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
 inherit kde5
 
 DESCRIPTION="System log viewer by KDE"

diff --git a/kde-apps/ksystemlog/ksystemlog-15.12.49.9999.ebuild b/kde-apps/ksystemlog/ksystemlog-15.12.49.9999.ebuild
index b94b65c..7983665 100644
--- a/kde-apps/ksystemlog/ksystemlog-15.12.49.9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-15.12.49.9999.ebuild
@@ -4,10 +4,10 @@
 
 EAPI=5
 
-KDE_DOXYGEN=true
-KDE_HANDBOOK=true
-KDE_TEST=true
-VIRTUALX_REQUIRED=test
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
 inherit kde5
 
 DESCRIPTION="System log viewer by KDE"

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index b94b65c..7983665 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -4,10 +4,10 @@
 
 EAPI=5
 
-KDE_DOXYGEN=true
-KDE_HANDBOOK=true
-KDE_TEST=true
-VIRTUALX_REQUIRED=test
+KDE_DOXYGEN="true"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
 inherit kde5
 
 DESCRIPTION="System log viewer by KDE"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2020-07-18  8:57 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2020-07-18  8:57 UTC (permalink / raw
  To: gentoo-commits

commit:     4d1a3a384b52082d806b7b2edb6bd7a731c0548d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 18 08:44:08 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul 18 08:48:21 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=4d1a3a38

kde-apps/ksystemlog: 20.07.80 version bump

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/ksystemlog-20.07.80.ebuild | 65 ++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/kde-apps/ksystemlog/ksystemlog-20.07.80.ebuild b/kde-apps/ksystemlog/ksystemlog-20.07.80.ebuild
new file mode 100644
index 0000000000..cfca446bec
--- /dev/null
+++ b/kde-apps/ksystemlog/ksystemlog-20.07.80.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.72.0
+QTMIN=5.14.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="System log viewer by KDE"
+HOMEPAGE="https://kde.org/applications/system/org.kde.ksystemlog"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="systemd"
+
+# bug 378101
+RESTRICT+=" test"
+
+DEPEND="
+	>=dev-qt/qtgui-${QTMIN}:5
+	>=dev-qt/qtprintsupport-${QTMIN}:5
+	>=dev-qt/qtwidgets-${QTMIN}:5
+	>=kde-frameworks/karchive-${KFMIN}:5
+	>=kde-frameworks/kcompletion-${KFMIN}:5
+	>=kde-frameworks/kconfig-${KFMIN}:5
+	>=kde-frameworks/kconfigwidgets-${KFMIN}:5
+	>=kde-frameworks/kcoreaddons-${KFMIN}:5
+	>=kde-frameworks/ki18n-${KFMIN}:5
+	>=kde-frameworks/kio-${KFMIN}:5
+	>=kde-frameworks/kitemviews-${KFMIN}:5
+	>=kde-frameworks/kservice-${KFMIN}:5
+	>=kde-frameworks/ktextwidgets-${KFMIN}:5
+	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+	>=kde-frameworks/kxmlgui-${KFMIN}:5
+	systemd? ( sys-apps/systemd )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	ecm_src_prepare
+
+	if use test; then
+		# beat this stupid test into shape: the test files contain no year, so
+		# comparison succeeds only in 2007 !!!
+		local theyear=$(date +%Y)
+		einfo Setting the current year as ${theyear} in the test files
+		sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp || die
+
+		# one test consistently fails, so comment it out for the moment
+		sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" \
+			-i ksystemlog/tests/CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake_use_find_package systemd Journald)
+	)
+	ecm_src_configure
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2020-08-30 19:02 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2020-08-30 19:02 UTC (permalink / raw
  To: gentoo-commits

commit:     55a2b97774aec097d4bdfe7b11f67159969cec61
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 11:31:22 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 11:31:58 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=55a2b977

kde-apps/ksystemlog: Remove long obsolete test restriction

Bug: https://bugs.gentoo.org/378101
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild | 19 -------------------
 kde-apps/ksystemlog/ksystemlog-9999.ebuild          | 19 -------------------
 2 files changed, 38 deletions(-)

diff --git a/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild b/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild
index 3850772b19..0b27eba71b 100644
--- a/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild
@@ -18,9 +18,6 @@ SLOT="5"
 KEYWORDS=""
 IUSE="systemd"
 
-# bug 378101
-RESTRICT+=" test"
-
 DEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
 	>=dev-qt/qtprintsupport-${QTMIN}:5
@@ -41,22 +38,6 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-	ecm_src_prepare
-
-	if use test; then
-		# beat this stupid test into shape: the test files contain no year, so
-		# comparison succeeds only in 2007 !!!
-		local theyear=$(date +%Y)
-		einfo Setting the current year as ${theyear} in the test files
-		sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp || die
-
-		# one test consistently fails, so comment it out for the moment
-		sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" \
-			-i ksystemlog/tests/CMakeLists.txt || die
-	fi
-}
-
 src_configure() {
 	local mycmakeargs=(
 		$(cmake_use_find_package systemd Journald)

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index 6f9947d1b0..8ad99e7061 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -18,9 +18,6 @@ SLOT="5"
 KEYWORDS=""
 IUSE="systemd"
 
-# bug 378101
-RESTRICT+=" test"
-
 DEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
 	>=dev-qt/qtprintsupport-${QTMIN}:5
@@ -41,22 +38,6 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-	ecm_src_prepare
-
-	if use test; then
-		# beat this stupid test into shape: the test files contain no year, so
-		# comparison succeeds only in 2007 !!!
-		local theyear=$(date +%Y)
-		einfo Setting the current year as ${theyear} in the test files
-		sed -e "s:2007:${theyear}:g" -i tests/systemAnalyzerTest.cpp || die
-
-		# one test consistently fails, so comment it out for the moment
-		sed -e "s:systemAnalyzerTest:# dont run systemAnalyzerTest:g" \
-			-i ksystemlog/tests/CMakeLists.txt || die
-	fi
-}
-
 src_configure() {
 	local mycmakeargs=(
 		$(cmake_use_find_package systemd Journald)


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2020-09-19 20:03 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2020-09-19 20:03 UTC (permalink / raw
  To: gentoo-commits

commit:     3f8ad6b2e4c131954ba2564664f0a5eccee5178d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 16:23:01 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 20:03:15 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3f8ad6b2

kde-apps/ksystemlog: Add IUSE=kdesu for X-only run-as-root option

Keeping this disabled by default with accompanying pkg_postinst messages as a
middle ground between hard-requiring X or being broken by default in Wayland.

KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=414971
KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=227793

Reported-by: Erik Quaeghebeur <gentoo <AT> e3q.eu>
Bug: https://bugs.gentoo.org/743196
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild | 16 +++++++++++++++-
 kde-apps/ksystemlog/ksystemlog-9999.ebuild          | 20 ++++++++++++++++++--
 kde-apps/ksystemlog/metadata.xml                    |  3 +++
 3 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild b/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild
index 0b27eba71b..f5db0dd3da 100644
--- a/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-20.08.49.9999.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://kde.org/applications/system/org.kde.ksystemlog"
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
 KEYWORDS=""
-IUSE="systemd"
+IUSE="kdesu systemd"
 
 DEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
@@ -38,9 +38,23 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+	ecm_src_prepare
+	if ! use kdesu; then
+		sed -e "/^X-KDE-SubstituteUID/s:true:false:" \
+			-i src/org.kde.ksystemlog.desktop || die
+	fi
+}
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake_use_find_package systemd Journald)
 	)
 	ecm_src_configure
 }
+
+pkg_postinst() {
+	ecm_pkg_postinst
+	use kdesu || elog "Will show only user readable logs without USE=kdesu (only in X)."
+	use kdesu && elog "Cannot be launched from application menu in Wayland with USE=kdesu."
+}

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index b3ab81e1bf..974334236b 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://kde.org/applications/system/org.kde.ksystemlog"
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
 KEYWORDS=""
-IUSE="systemd"
+IUSE="kdesu systemd"
 
 DEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
@@ -36,7 +36,17 @@ DEPEND="
 	>=kde-frameworks/kxmlgui-${KFMIN}:5
 	systemd? ( sys-apps/systemd )
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+	kdesu? ( kde-plasma/kde-cli-tools[kdesu] )
+"
+
+src_prepare() {
+	ecm_src_prepare
+	if ! use kdesu; then
+		sed -e "/^X-KDE-SubstituteUID/s:true:false:" \
+			-i src/org.kde.ksystemlog.desktop || die
+	fi
+}
 
 src_configure() {
 	local mycmakeargs=(
@@ -44,3 +54,9 @@ src_configure() {
 	)
 	ecm_src_configure
 }
+
+pkg_postinst() {
+	ecm_pkg_postinst
+	use kdesu || elog "Will show only user readable logs without USE=kdesu (only in X)."
+	use kdesu && elog "Cannot be launched from application menu in Wayland with USE=kdesu."
+}

diff --git a/kde-apps/ksystemlog/metadata.xml b/kde-apps/ksystemlog/metadata.xml
index 2fdbf33d96..c86984db68 100644
--- a/kde-apps/ksystemlog/metadata.xml
+++ b/kde-apps/ksystemlog/metadata.xml
@@ -5,4 +5,7 @@
 		<email>kde@gentoo.org</email>
 		<name>Gentoo KDE Project</name>
 	</maintainer>
+	<use>
+		<flag name="kdesu">Run as root using kdesu from <pkg>kde-plasma/kde-cli-tools</pkg></flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2021-01-22  0:00 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2021-01-22  0:00 UTC (permalink / raw
  To: gentoo-commits

commit:     4a5827cf32ffcaa76a4cebe07b943ea58336c177
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 21:31:26 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 23:57:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=4a5827cf

kde-apps/ksystemlog: Add IUSE=audit

Upstream commit 53347a8a654611908fd525c61a0bedc814189487

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/ksystemlog-9999.ebuild | 3 ++-
 kde-apps/ksystemlog/metadata.xml           | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index 8ccb9f4bce..5d48664a18 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/en/ksystemlog"
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
 KEYWORDS=""
-IUSE="kdesu systemd"
+IUSE="audit kdesu systemd"
 
 DEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
@@ -34,6 +34,7 @@ DEPEND="
 	>=kde-frameworks/ktextwidgets-${KFMIN}:5
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
 	>=kde-frameworks/kxmlgui-${KFMIN}:5
+	audit? ( sys-process/audit )
 	systemd? ( sys-apps/systemd )
 "
 RDEPEND="${DEPEND}

diff --git a/kde-apps/ksystemlog/metadata.xml b/kde-apps/ksystemlog/metadata.xml
index c86984db68..6a92a1e504 100644
--- a/kde-apps/ksystemlog/metadata.xml
+++ b/kde-apps/ksystemlog/metadata.xml
@@ -6,6 +6,7 @@
 		<name>Gentoo KDE Project</name>
 	</maintainer>
 	<use>
+		<flag name="audit">Enable security audit support via <pkg>sys-process/audit</pkg></flag>
 		<flag name="kdesu">Run as root using kdesu from <pkg>kde-plasma/kde-cli-tools</pkg></flag>
 	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2021-08-03  8:57 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2021-08-03  8:57 UTC (permalink / raw
  To: gentoo-commits

commit:     178ce321f62e38162a96e005f262f704a3065f7b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  3 08:50:47 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Aug  3 08:50:47 2021 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=178ce321

kde-apps/ksystemlog: Add missing cmake switch

Fixup commit 4a5827cf32ffcaa76a4cebe07b943ea58336c177

Thanks-to: Frank Krömmelbein <kroemmelbein <AT> gmx.de>
Bug: https://bugs.gentoo.org/805065
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/ksystemlog-21.07.90.ebuild      | 1 +
 kde-apps/ksystemlog/ksystemlog-21.08.49.9999.ebuild | 1 +
 kde-apps/ksystemlog/ksystemlog-9999.ebuild          | 1 +
 3 files changed, 3 insertions(+)

diff --git a/kde-apps/ksystemlog/ksystemlog-21.07.90.ebuild b/kde-apps/ksystemlog/ksystemlog-21.07.90.ebuild
index 92fb66aaee..3d95998c27 100644
--- a/kde-apps/ksystemlog/ksystemlog-21.07.90.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-21.07.90.ebuild
@@ -51,6 +51,7 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
+		$(cmake_use_find_package audit Audit)
 		$(cmake_use_find_package systemd Journald)
 	)
 	ecm_src_configure

diff --git a/kde-apps/ksystemlog/ksystemlog-21.08.49.9999.ebuild b/kde-apps/ksystemlog/ksystemlog-21.08.49.9999.ebuild
index 8215e3c2d4..9d4262323b 100644
--- a/kde-apps/ksystemlog/ksystemlog-21.08.49.9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-21.08.49.9999.ebuild
@@ -51,6 +51,7 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
+		$(cmake_use_find_package audit Audit)
 		$(cmake_use_find_package systemd Journald)
 	)
 	ecm_src_configure

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index 3296cbbe24..568b5a8ab2 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -51,6 +51,7 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
+		$(cmake_use_find_package audit Audit)
 		$(cmake_use_find_package systemd Journald)
 	)
 	ecm_src_configure


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2022-03-24 11:59 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2022-03-24 11:59 UTC (permalink / raw
  To: gentoo-commits

commit:     7bfe645a0e728341ce1a518468bbd3e1afe6a636
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 08:42:34 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 08:42:34 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7bfe645a

kde-apps/ksystemlog: Set ECM_HANDBOOK=optional

Upstream commit f525d679aeb3727e29f50aa7d940ef3451ec16e0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/ksystemlog-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index 53311d4d9b..8081300a64 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-ECM_HANDBOOK="forceoptional"
+ECM_HANDBOOK="optional"
 ECM_TEST="forceoptional"
 KFMIN=5.92.0
 QTMIN=5.15.2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2023-09-15 12:10 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2023-09-15 12:10 UTC (permalink / raw
  To: gentoo-commits

commit:     fca65bbebd68b61acf4af551e9e1e7336e6aabd9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 10:14:15 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 11:52:20 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=fca65bbe

kde-apps/ksystemlog: Add missing dependencies

See also:
https://invent.kde.org/system/ksystemlog/-/merge_requests/22

Closes: https://bugs.gentoo.org/914131
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/ksystemlog-23.08.49.9999.ebuild | 7 +++++--
 kde-apps/ksystemlog/ksystemlog-9999.ebuild          | 6 ++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/kde-apps/ksystemlog/ksystemlog-23.08.49.9999.ebuild b/kde-apps/ksystemlog/ksystemlog-23.08.49.9999.ebuild
index e0fce17684..0e65fe217f 100644
--- a/kde-apps/ksystemlog/ksystemlog-23.08.49.9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-23.08.49.9999.ebuild
@@ -29,12 +29,14 @@ DEPEND="
 	>=kde-frameworks/ki18n-${KFMIN}:5
 	>=kde-frameworks/kio-${KFMIN}:5
 	>=kde-frameworks/kitemviews-${KFMIN}:5
-	>=kde-frameworks/kservice-${KFMIN}:5
 	>=kde-frameworks/ktextwidgets-${KFMIN}:5
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
 	>=kde-frameworks/kxmlgui-${KFMIN}:5
 	audit? ( sys-process/audit )
-	systemd? ( sys-apps/systemd )
+	systemd? (
+		>=dev-qt/qtnetwork-${QTMIN}:5
+		sys-apps/systemd:=
+	)
 "
 RDEPEND="${DEPEND}
 	kdesu? ( kde-plasma/kde-cli-tools[kdesu] )
@@ -46,6 +48,7 @@ src_prepare() {
 		sed -e "/^X-KDE-SubstituteUID/s:true:false:" \
 			-i src/org.kde.ksystemlog.desktop || die
 	fi
+	use systemd || ecm_punt_qt_module Network
 }
 
 src_configure() {

diff --git a/kde-apps/ksystemlog/ksystemlog-9999.ebuild b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
index e0fce17684..a14b6ff1d4 100644
--- a/kde-apps/ksystemlog/ksystemlog-9999.ebuild
+++ b/kde-apps/ksystemlog/ksystemlog-9999.ebuild
@@ -29,12 +29,14 @@ DEPEND="
 	>=kde-frameworks/ki18n-${KFMIN}:5
 	>=kde-frameworks/kio-${KFMIN}:5
 	>=kde-frameworks/kitemviews-${KFMIN}:5
-	>=kde-frameworks/kservice-${KFMIN}:5
 	>=kde-frameworks/ktextwidgets-${KFMIN}:5
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
 	>=kde-frameworks/kxmlgui-${KFMIN}:5
 	audit? ( sys-process/audit )
-	systemd? ( sys-apps/systemd )
+	systemd? (
+		>=dev-qt/qtnetwork-${QTMIN}:5
+		sys-apps/systemd:=
+	)
 "
 RDEPEND="${DEPEND}
 	kdesu? ( kde-plasma/kde-cli-tools[kdesu] )


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/
@ 2024-03-25 18:47 Andreas Sturmlechner
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Sturmlechner @ 2024-03-25 18:47 UTC (permalink / raw
  To: gentoo-commits

commit:     7b9af62ad84d1f9a43567e49df9594599a7eb17c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 18:38:36 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 18:38:36 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7b9af62a

kde-apps/ksystemlog: drop local IUSE audit description

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ksystemlog/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kde-apps/ksystemlog/metadata.xml b/kde-apps/ksystemlog/metadata.xml
index 98cd4b5a0c..625d5db40f 100644
--- a/kde-apps/ksystemlog/metadata.xml
+++ b/kde-apps/ksystemlog/metadata.xml
@@ -9,7 +9,6 @@
 		<bugs-to>https://bugs.kde.org/</bugs-to>
 	</upstream>
 	<use>
-		<flag name="audit">Enable security audit support via <pkg>sys-process/audit</pkg></flag>
 		<flag name="kdesu">Run as root using kdesu from <pkg>kde-plasma/kde-cli-tools</pkg></flag>
 	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-25 18:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 18:47 [gentoo-commits] proj/kde:master commit in: kde-apps/ksystemlog/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2023-09-15 12:10 Andreas Sturmlechner
2022-03-24 11:59 Andreas Sturmlechner
2021-08-03  8:57 Andreas Sturmlechner
2021-01-22  0:00 Andreas Sturmlechner
2020-09-19 20:03 Andreas Sturmlechner
2020-08-30 19:02 Andreas Sturmlechner
2020-07-18  8:57 Andreas Sturmlechner
2016-01-20 18:13 Michael Palimaka
2015-10-15  8:14 Michael Palimaka
2015-07-20 20:39 Johannes Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox