1 |
commit: 0418f562b97bfa9f4004526ab4f09a3379b54da7 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 11:14:06 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 11:20:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0418f562 |
7 |
|
8 |
kde-frameworks/khtml: drop 5.96.0-r1 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
kde-frameworks/khtml/Manifest | 1 - |
13 |
.../khtml/files/khtml-5.96.0-with_x11.patch | 100 --------------------- |
14 |
kde-frameworks/khtml/khtml-5.96.0-r1.ebuild | 73 --------------- |
15 |
3 files changed, 174 deletions(-) |
16 |
|
17 |
diff --git a/kde-frameworks/khtml/Manifest b/kde-frameworks/khtml/Manifest |
18 |
index 9f982dc5f9f6..d65c06f52625 100644 |
19 |
--- a/kde-frameworks/khtml/Manifest |
20 |
+++ b/kde-frameworks/khtml/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST khtml-5.100.0.tar.xz 4030332 BLAKE2B b3019d9b5f64741b404ac82435df45e77091361109a7391b32bb30248cabd6d5c3bb73fe7ded9a3e13fb9574a5e61e0dfe30ecae1d5a9bea1114030b2a3f32c5 SHA512 12a27f52d88db46b5bda575dc3d5669513fc8a9063e828657afa0abe70b0bcfa9c82d9da492399c47de86750c550f440c09a7986d40f1b25b8fe31307d8615b0 |
23 |
-DIST khtml-5.96.0.tar.xz 1965056 BLAKE2B 857a338c9831a03989348ecd6d9c355d6538458311eb22ccc2ae1c631137a7dd411866c70632f941d2ae64bd54584283b90e9bb0cf6573f6504d6ceab0cb01f5 SHA512 7ccd0c8dbca62486b316f381c437568650696cc4fca0b2e382bf8d337435f9c7fc7fa4664e01bbe8db509bd293c23ebb4abaabc34719be38e91480ae0b1d4141 |
24 |
DIST khtml-5.99.0.tar.xz 1964536 BLAKE2B 995f84f321fca9694074178e0881f819f21f625da36346bb09a1e53906abb5e9f4ad39ecf358409c6d49a5ebb25906c31c94780b30ac5cfdc2eb02c3c0964455 SHA512 ebb3d5b28ea66a73a535b757385fe48647528b4ac5bdec6a02c952b5678cab0a1f21129ff98c5c4353c54ccd4fa30d760053734b3fca3f21e50edf6860965b6f |
25 |
|
26 |
diff --git a/kde-frameworks/khtml/files/khtml-5.96.0-with_x11.patch b/kde-frameworks/khtml/files/khtml-5.96.0-with_x11.patch |
27 |
deleted file mode 100644 |
28 |
index fb75eaa49cb3..000000000000 |
29 |
--- a/kde-frameworks/khtml/files/khtml-5.96.0-with_x11.patch |
30 |
+++ /dev/null |
31 |
@@ -1,100 +0,0 @@ |
32 |
-From 9712a641636bf9b794e1ce3b7ec00534de56faa1 Mon Sep 17 00:00:00 2001 |
33 |
-From: Andreas Sturmlechner <asturm@g.o> |
34 |
-Date: Sat, 6 Aug 2022 11:03:35 +0200 |
35 |
-Subject: [PATCH] Add CMake option to build WITH_X11 |
36 |
- |
37 |
-We want to be able to build without X11 support even if some of the used |
38 |
-libraries may not work w/o X11 themselves yet or need to be built with |
39 |
-X11 support for other reverse dependencies. |
40 |
- |
41 |
-HAVE_X11 already exists and is set automagically so far, but using |
42 |
--DCMAKE_DISABLE_FIND_PACKAGE_X11 will break if any dependencies list X11 |
43 |
-as required in their cmake config. This is a behavior change as previously |
44 |
-it was silently disabled if X11 was not found. |
45 |
- |
46 |
-Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
47 |
---- |
48 |
- CMakeLists.txt | 14 +++++++------- |
49 |
- src/CMakeLists.txt | 5 ++--- |
50 |
- tests/CMakeLists.txt | 4 ++-- |
51 |
- 3 files changed, 11 insertions(+), 12 deletions(-) |
52 |
- |
53 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
54 |
-index bca3622..700a0a7 100644 |
55 |
---- a/CMakeLists.txt |
56 |
-+++ b/CMakeLists.txt |
57 |
-@@ -60,9 +60,13 @@ set_package_properties(Perl PROPERTIES |
58 |
- PURPOSE "Required for generating JS bindings for elements" |
59 |
- ) |
60 |
- |
61 |
--if(NOT APPLE) |
62 |
-- find_package(X11) |
63 |
-- set(HAVE_X11 ${X11_FOUND}) |
64 |
-+if(NOT WIN32 AND NOT APPLE) |
65 |
-+ option(WITH_X11 "Build with X11 integration" ON) |
66 |
-+ if(WITH_X11) |
67 |
-+ find_package(X11 REQUIRED) |
68 |
-+ set(HAVE_X11 1) |
69 |
-+ find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED X11Extras) |
70 |
-+ endif() |
71 |
- endif() |
72 |
- |
73 |
- find_package(Phonon4Qt5 4.6.60) |
74 |
-@@ -94,10 +98,6 @@ set_package_properties(PNG PROPERTIES DESCRIPTION "PNG decoding library" |
75 |
- PURPOSE "Required for decoding and displaying PNG images" |
76 |
- ) |
77 |
- |
78 |
--if(NOT WIN32 AND NOT APPLE AND X11_FOUND) |
79 |
-- find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED X11Extras) |
80 |
--endif() |
81 |
-- |
82 |
- find_package(Gperf REQUIRED) |
83 |
- |
84 |
- # remove definitions set by KDEFrameworkCompilerSettings which we fail to meet |
85 |
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
86 |
-index 573fa88..14b2e73 100644 |
87 |
---- a/src/CMakeLists.txt |
88 |
-+++ b/src/CMakeLists.txt |
89 |
-@@ -592,7 +592,6 @@ target_link_libraries(KF5KHtml |
90 |
- ${JPEG_LIBRARIES} |
91 |
- ${GIF_LIBRARIES} |
92 |
- ${PNG_LIBRARIES} |
93 |
-- ${X11_LIBRARIES} |
94 |
- Qt5::PrintSupport |
95 |
- KF5::Archive |
96 |
- KF5::SonnetCore |
97 |
-@@ -604,8 +603,8 @@ target_link_libraries(KF5KHtml |
98 |
- KF5::Bookmarks |
99 |
- KF5::KIOWidgets # KUrlRequester |
100 |
- ) |
101 |
--if(NOT WIN32 AND NOT APPLE AND X11_FOUND) |
102 |
-- target_link_libraries(KF5KHtml PRIVATE Qt5::X11Extras) |
103 |
-+if(NOT WIN32 AND NOT APPLE AND HAVE_X11) |
104 |
-+ target_link_libraries(KF5KHtml PRIVATE ${X11_LIBRARIES} Qt5::X11Extras) |
105 |
- endif() |
106 |
- |
107 |
- if (KJS_DEBUGGER) |
108 |
-diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt |
109 |
-index ae079ae..b6347d7 100644 |
110 |
---- a/tests/CMakeLists.txt |
111 |
-+++ b/tests/CMakeLists.txt |
112 |
-@@ -1,6 +1,6 @@ |
113 |
- include(ECMMarkAsTest) |
114 |
- |
115 |
--if(NOT WIN32 AND NOT APPLE AND X11_FOUND) |
116 |
-+if(NOT WIN32 AND NOT APPLE AND HAVE_X11) |
117 |
- find_package(Qt5X11Extras "${REQUIRED_QT_VERSION}" CONFIG REQUIRED) |
118 |
- set_package_properties(Qt5X11Extras PROPERTIES PURPOSE "Required for tests") |
119 |
- endif() |
120 |
-@@ -79,7 +79,7 @@ endif() |
121 |
- |
122 |
- # Note that testregression can't be compiled by default, it needs private Qt headers. |
123 |
- # See also BUILDING-TESTREGRESSION |
124 |
--if (KHTML_BUILD_TESTREGRESSION) |
125 |
-+if (KHTML_BUILD_TESTREGRESSION AND HAVE_X11) |
126 |
- |
127 |
- set(testregression_SRCS |
128 |
- test_regression.cpp |
129 |
--- |
130 |
-GitLab |
131 |
- |
132 |
|
133 |
diff --git a/kde-frameworks/khtml/khtml-5.96.0-r1.ebuild b/kde-frameworks/khtml/khtml-5.96.0-r1.ebuild |
134 |
deleted file mode 100644 |
135 |
index fe5e4869c9eb..000000000000 |
136 |
--- a/kde-frameworks/khtml/khtml-5.96.0-r1.ebuild |
137 |
+++ /dev/null |
138 |
@@ -1,73 +0,0 @@ |
139 |
-# Copyright 1999-2022 Gentoo Authors |
140 |
-# Distributed under the terms of the GNU General Public License v2 |
141 |
- |
142 |
-EAPI=8 |
143 |
- |
144 |
-ECM_QTHELP="false" |
145 |
-PVCUT=$(ver_cut 1-2) |
146 |
-QTMIN=5.15.4 |
147 |
-VIRTUALX_REQUIRED="test" |
148 |
-inherit ecm frameworks.kde.org |
149 |
- |
150 |
-DESCRIPTION="KHTML web rendering engine" |
151 |
-LICENSE="LGPL-2" |
152 |
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" |
153 |
-IUSE="X" |
154 |
- |
155 |
-RDEPEND=" |
156 |
- dev-libs/openssl:0 |
157 |
- >=dev-qt/qtdbus-${QTMIN}:5 |
158 |
- >=dev-qt/qtgui-${QTMIN}:5 |
159 |
- >=dev-qt/qtnetwork-${QTMIN}:5[ssl] |
160 |
- >=dev-qt/qtprintsupport-${QTMIN}:5 |
161 |
- >=dev-qt/qtwidgets-${QTMIN}:5 |
162 |
- >=dev-qt/qtxml-${QTMIN}:5 |
163 |
- =kde-frameworks/karchive-${PVCUT}*:5 |
164 |
- =kde-frameworks/kcodecs-${PVCUT}*:5 |
165 |
- =kde-frameworks/kcompletion-${PVCUT}*:5 |
166 |
- =kde-frameworks/kconfig-${PVCUT}*:5 |
167 |
- =kde-frameworks/kconfigwidgets-${PVCUT}*:5 |
168 |
- =kde-frameworks/kcoreaddons-${PVCUT}*:5 |
169 |
- =kde-frameworks/kglobalaccel-${PVCUT}*:5 |
170 |
- =kde-frameworks/ki18n-${PVCUT}*:5 |
171 |
- =kde-frameworks/kiconthemes-${PVCUT}*:5 |
172 |
- =kde-frameworks/kio-${PVCUT}*:5 |
173 |
- =kde-frameworks/kjobwidgets-${PVCUT}*:5 |
174 |
- =kde-frameworks/kjs-${PVCUT}*:5 |
175 |
- =kde-frameworks/knotifications-${PVCUT}*:5 |
176 |
- =kde-frameworks/kparts-${PVCUT}*:5 |
177 |
- =kde-frameworks/kservice-${PVCUT}*:5 |
178 |
- =kde-frameworks/ktextwidgets-${PVCUT}*:5 |
179 |
- =kde-frameworks/kwallet-${PVCUT}*:5 |
180 |
- =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 |
181 |
- =kde-frameworks/kwindowsystem-${PVCUT}*:5[X?] |
182 |
- =kde-frameworks/kxmlgui-${PVCUT}*:5 |
183 |
- =kde-frameworks/sonnet-${PVCUT}*:5 |
184 |
- media-libs/giflib:= |
185 |
- media-libs/libjpeg-turbo:= |
186 |
- media-libs/libpng:0= |
187 |
- >=media-libs/phonon-4.11.0 |
188 |
- sys-libs/zlib |
189 |
- X? ( |
190 |
- >=dev-qt/qtx11extras-${QTMIN}:5 |
191 |
- x11-libs/libX11 |
192 |
- ) |
193 |
-" |
194 |
-DEPEND="${RDEPEND} |
195 |
- test? ( >=dev-qt/qtx11extras-${QTMIN}:5 ) |
196 |
- X? ( x11-base/xorg-proto ) |
197 |
-" |
198 |
-BDEPEND=" |
199 |
- dev-lang/perl |
200 |
- dev-util/gperf |
201 |
-" |
202 |
- |
203 |
-PATCHES=( "${FILESDIR}/${P}-with_x11.patch" ) |
204 |
- |
205 |
-src_configure() { |
206 |
- local mycmakeargs=( |
207 |
- -DWITH_X11=$(usex X) |
208 |
- ) |
209 |
- |
210 |
- ecm_src_configure |
211 |
-} |