commit:     f0e81686b6eaae0a328620331c5c20fc857de1c7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 17:09:45 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 09:42:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0e81686

kde-apps/konsolepart: new package, split from konsole, add 23.08.5

This package represents the konsolepart + data that is non-conflicting
with konsole:6 as an alternative, compatible dependency for anything that
has been using kde-apps/konsole:5 so far.

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

 kde-apps/konsolepart/Manifest                      |  1 +
 .../konsole-23.08.1-drop-unused-X11-dep.patch      | 30 +++++++++
 kde-apps/konsolepart/konsolepart-23.08.5.ebuild    | 73 ++++++++++++++++++++++
 kde-apps/konsolepart/metadata.xml                  | 12 ++++
 4 files changed, 116 insertions(+)

diff --git a/kde-apps/konsolepart/Manifest b/kde-apps/konsolepart/Manifest
new file mode 100644
index 000000000000..c1df7bd4ca08
--- /dev/null
+++ b/kde-apps/konsolepart/Manifest
@@ -0,0 +1 @@
+DIST konsole-23.08.5.tar.xz 1839952 BLAKE2B 
6e8c373a346903b741b3a16953b80590fe87f286613783dc99e96d815920240ce53a4774b27c920d842d8b189fe53d7bb7da95995c058102853ee9dc151d45d8
 SHA512 
dd227f0446b623839f984cfa2f00b94e16c929f35b4714e791a11baf90907ac87ed469f50980a07e6528fbcc1654192d2504676b73d7856b6389077a4ef01f88

diff --git 
a/kde-apps/konsolepart/files/konsole-23.08.1-drop-unused-X11-dep.patch 
b/kde-apps/konsolepart/files/konsole-23.08.1-drop-unused-X11-dep.patch
new file mode 100644
index 000000000000..6719fbfac0fb
--- /dev/null
+++ b/kde-apps/konsolepart/files/konsole-23.08.1-drop-unused-X11-dep.patch
@@ -0,0 +1,30 @@
+From 68f6ef2ea203e047743a97fc17be23a4a964a05a Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <ast...@gentoo.org>
+Date: Fri, 15 Sep 2023 09:47:42 +0200
+Subject: [PATCH] Drop unused X11 dependency
+
+It seems it is (no longer) needed and was only a leftover for feature 
selection.
+
+Signed-off-by: Andreas Sturmlechner <ast...@gentoo.org>
+---
+ CMakeLists.txt | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9fd6f4f01..47c234498 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -105,9 +105,7 @@ find_package(ICU 61.0 COMPONENTS uc i18n REQUIRED)
+ if(NOT APPLE)
+     option(WITHOUT_X11 "Build without X11 integration (skips finding X11)" 
OFF)
+     if (NOT WITHOUT_X11)
+-        find_package(X11)
+-        set_package_properties(X11 PROPERTIES TYPE OPTIONAL)
+-        set(HAVE_X11 ${X11_FOUND})
++        set(HAVE_X11 1)
+     endif()
+ endif()
+ 
+-- 
+2.42.0
+

diff --git a/kde-apps/konsolepart/konsolepart-23.08.5.ebuild 
b/kde-apps/konsolepart/konsolepart-23.08.5.ebuild
new file mode 100644
index 000000000000..4d55c9610b3c
--- /dev/null
+++ b/kde-apps/konsolepart/konsolepart-23.08.5.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+KDE_ORG_NAME="konsole"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
+
+DESCRIPTION="KDE's terminal emulator kpart for use by konsole and other 
applications"
+HOMEPAGE="https://apps.kde.org/konsole/ https://konsole.kde.org";
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE=""
+
+DEPEND="
+       dev-libs/icu:=
+       >=dev-qt/qtdbus-${QTMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtmultimedia-${QTMIN}:5
+       >=dev-qt/qtnetwork-${QTMIN}:5
+       >=dev-qt/qtprintsupport-${QTMIN}:5
+       >=dev-qt/qtwidgets-${QTMIN}:5
+       >=dev-qt/qtxml-${QTMIN}:5
+       >=kde-frameworks/kbookmarks-${KFMIN}:5
+       >=kde-frameworks/kconfig-${KFMIN}:5
+       >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+       >=kde-frameworks/kcoreaddons-${KFMIN}:5
+       >=kde-frameworks/kcrash-${KFMIN}:5
+       >=kde-frameworks/kdbusaddons-${KFMIN}:5
+       >=kde-frameworks/kglobalaccel-${KFMIN}:5
+       >=kde-frameworks/kguiaddons-${KFMIN}:5
+       >=kde-frameworks/ki18n-${KFMIN}:5
+       >=kde-frameworks/kiconthemes-${KFMIN}:5
+       >=kde-frameworks/kio-${KFMIN}:5
+       >=kde-frameworks/kjobwidgets-${KFMIN}:5
+       >=kde-frameworks/knewstuff-${KFMIN}:5
+       >=kde-frameworks/knotifications-${KFMIN}:5
+       >=kde-frameworks/knotifyconfig-${KFMIN}:5
+       >=kde-frameworks/kparts-${KFMIN}:5
+       >=kde-frameworks/kpty-${KFMIN}:5
+       >=kde-frameworks/kservice-${KFMIN}:5
+       >=kde-frameworks/ktextwidgets-${KFMIN}:5
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+       >=kde-frameworks/kwindowsystem-${KFMIN}:5
+       >=kde-frameworks/kxmlgui-${KFMIN}:5
+"
+RDEPEND="${DEPEND}
+       !kde-apps/konsole:5
+"
+
+PATCHES=( "${FILESDIR}/konsole-23.08.1-drop-unused-X11-dep.patch" )
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_TESTING=OFF
+               -DENABLE_PLUGIN_SSHMANAGER=OFF
+               -DENABLE_PLUGIN_QUICKCOMMANDS=OFF
+       )
+
+       ecm_src_configure
+}
+
+src_install() {
+       ecm_src_install
+
+       rm -r "${ED}"/{etc,usr/{bin,share}} \
+               "${ED}"/usr/$(get_libdir)/kconf_update_bin || die
+}

diff --git a/kde-apps/konsolepart/metadata.xml 
b/kde-apps/konsolepart/metadata.xml
new file mode 100644
index 000000000000..de9bedebe0d2
--- /dev/null
+++ b/kde-apps/konsolepart/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>k...@gentoo.org</email>
+               <name>Gentoo KDE Project</name>
+       </maintainer>
+       <upstream>
+               <bugs-to>https://bugs.kde.org/</bugs-to>
+               <remote-id type="kde-invent">utilities/konsole</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to