Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/yakuake/files/, kde-apps/yakuake/
Date: Thu, 03 Nov 2022 16:51:18
Message-Id: 1667484420.4f305bd1951da7bc3fdaa92a2895d55c839fc5f4.asturm@gentoo
1 commit: 4f305bd1951da7bc3fdaa92a2895d55c839fc5f4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 3 13:00:11 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 3 14:07:00 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4f305bd1
7
8 kde-apps/yakuake: drop 22.08.3
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../files/yakuake-22.07.90-without_x11.patch | 87 ----------------------
13 kde-apps/yakuake/yakuake-22.08.3.ebuild | 60 ---------------
14 2 files changed, 147 deletions(-)
15
16 diff --git a/kde-apps/yakuake/files/yakuake-22.07.90-without_x11.patch b/kde-apps/yakuake/files/yakuake-22.07.90-without_x11.patch
17 deleted file mode 100644
18 index 2d46600e3d..0000000000
19 --- a/kde-apps/yakuake/files/yakuake-22.07.90-without_x11.patch
20 +++ /dev/null
21 @@ -1,87 +0,0 @@
22 -From 1213c6dfd34583b005d0a2dbe7876951a13361a2 Mon Sep 17 00:00:00 2001
23 -From: Andreas Sturmlechner <asturm@g.o>
24 -Date: Sat, 27 Nov 2021 14:49:51 +0100
25 -Subject: [PATCH] Add CMake option to build WITHOUT_X11
26 -
27 -We want to be able to build without X11 support even if some of the used
28 -libraries may not work w/o X11 themselves yet or need to be built with
29 -X11 support for other reverse dependencies.
30 -
31 -HAVE_X11 already exists and is set automagically so far, but using
32 --DCMAKE_DISABLE_FIND_PACKAGE_X11 will break if any dependencies list X11
33 -as required in their cmake config.
34 -
35 -Introducing this option means there is no behavior change by default,
36 -cmake will just skip finding X11 or adding unwanted features if the
37 -option is enabled.
38 -
39 -Signed-off-by: Andreas Sturmlechner <asturm@g.o>
40 ----
41 - CMakeLists.txt | 30 ++++++++++++++++--------------
42 - app/CMakeLists.txt | 4 ++--
43 - 2 files changed, 18 insertions(+), 16 deletions(-)
44 -
45 -diff --git a/CMakeLists.txt b/CMakeLists.txt
46 -index eafad24..f9a8167 100644
47 ---- a/CMakeLists.txt
48 -+++ b/CMakeLists.txt
49 -@@ -51,20 +51,22 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
50 - )
51 -
52 - if(NOT APPLE)
53 -- find_package(X11)
54 -- set(HAVE_X11 ${X11_FOUND})
55 --
56 -- if(X11_FOUND)
57 -- if (QT_MAJOR_VERSION EQUAL "5")
58 -- find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED X11Extras)
59 -- else()
60 -- find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui)
61 -- endif()
62 -- endif(X11_FOUND)
63 --
64 -- find_package(KF5Wayland ${KF5_MIN_VERSION} CONFIG)
65 -- set(HAVE_KWAYLAND ${KF5Wayland_FOUND})
66 --endif(NOT APPLE)
67 -+ option(WITHOUT_X11 "Build without X11 integration (skips finding X11)" OFF)
68 -+ if(NOT WITHOUT_X11)
69 -+ find_package(X11)
70 -+ set(HAVE_X11 ${X11_FOUND})
71 -+ if(X11_FOUND)
72 -+ if (QT_MAJOR_VERSION EQUAL "5")
73 -+ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED X11Extras)
74 -+ else()
75 -+ find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui)
76 -+ endif()
77 -+ endif()
78 -+ endif()
79 -+
80 -+ find_package(KF5Wayland ${KF5_MIN_VERSION} CONFIG)
81 -+ set(HAVE_KWAYLAND ${KF5Wayland_FOUND})
82 -+endif()
83 -
84 - add_subdirectory(app)
85 - add_subdirectory(data)
86 -diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
87 -index b2838ec..6ada125 100644
88 ---- a/app/CMakeLists.txt
89 -+++ b/app/CMakeLists.txt
90 -@@ -63,13 +63,13 @@ target_link_libraries(yakuake
91 - KF5::WidgetsAddons
92 - KF5::WindowSystem)
93 -
94 --if(X11_FOUND)
95 -+if(HAVE_X11)
96 - if (TARGET Qt5::X11Extras)
97 - target_link_libraries(yakuake Qt5::X11Extras)
98 - elseif (TARGET Qt6::Gui)
99 - target_link_libraries(yakuake Qt6::GuiPrivate) # qtx11extras_p.h in knotificationrestrictions
100 - endif()
101 --endif(X11_FOUND)
102 -+endif()
103 -
104 - if(KF5Wayland_FOUND)
105 - target_link_libraries(yakuake KF5::WaylandClient)
106 ---
107 -GitLab
108 -
109
110 diff --git a/kde-apps/yakuake/yakuake-22.08.3.ebuild b/kde-apps/yakuake/yakuake-22.08.3.ebuild
111 deleted file mode 100644
112 index 4a716853f6..0000000000
113 --- a/kde-apps/yakuake/yakuake-22.08.3.ebuild
114 +++ /dev/null
115 @@ -1,60 +0,0 @@
116 -# Copyright 1999-2022 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=8
120 -
121 -PVCUT=$(ver_cut 1-3)
122 -KFMIN=5.96.0
123 -QTMIN=5.15.5
124 -inherit ecm gear.kde.org
125 -
126 -DESCRIPTION="Quake-style terminal emulator based on konsole"
127 -HOMEPAGE="https://apps.kde.org/yakuake/"
128 -
129 -LICENSE="GPL-2 LGPL-2"
130 -SLOT="5"
131 -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
132 -IUSE="absolute-position X"
133 -
134 -DEPEND="
135 - >=dev-qt/qtdbus-${QTMIN}:5
136 - >=dev-qt/qtgui-${QTMIN}:5
137 - >=dev-qt/qtsvg-${QTMIN}:5
138 - >=dev-qt/qtwidgets-${QTMIN}:5
139 - >=kde-apps/konsole-${PVCUT}:5
140 - >=kde-frameworks/karchive-${KFMIN}:5
141 - >=kde-frameworks/kconfig-${KFMIN}:5
142 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5
143 - >=kde-frameworks/kcoreaddons-${KFMIN}:5
144 - >=kde-frameworks/kcrash-${KFMIN}:5
145 - >=kde-frameworks/kdbusaddons-${KFMIN}:5
146 - >=kde-frameworks/kglobalaccel-${KFMIN}:5
147 - >=kde-frameworks/ki18n-${KFMIN}:5
148 - >=kde-frameworks/kiconthemes-${KFMIN}:5
149 - >=kde-frameworks/kio-${KFMIN}:5
150 - >=kde-frameworks/knewstuff-${KFMIN}:5
151 - >=kde-frameworks/knotifications-${KFMIN}:5
152 - >=kde-frameworks/knotifyconfig-${KFMIN}:5
153 - >=kde-frameworks/kparts-${KFMIN}:5
154 - >=kde-frameworks/kservice-${KFMIN}:5
155 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
156 - >=kde-frameworks/kwindowsystem-${KFMIN}:5
157 - >=kde-frameworks/kxmlgui-${KFMIN}:5
158 - absolute-position? ( >=kde-frameworks/kwayland-${KFMIN}:5 )
159 - X? (
160 - >=dev-qt/qtx11extras-${QTMIN}:5
161 - x11-libs/libX11
162 - )
163 -"
164 -RDEPEND="${DEPEND}"
165 -
166 -PATCHES=( "${FILESDIR}/${PN}-22.07.90-without_x11.patch" )
167 -
168 -src_configure() {
169 - local mycmakeargs=(
170 - $(cmake_use_find_package absolute-position KF5Wayland)
171 - -DWITHOUT_X11=$(usex !X)
172 - )
173 -
174 - ecm_src_configure
175 -}