1 |
commit: 41a779b2691dc3410d384630767fe9670b7bc312 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 18 16:46:18 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 18 18:00:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=41a779b2 |
7 |
|
8 |
kde-apps/konqueror: Switch USE tidy to app-text/tidy-html5 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/671450 |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../files/konqueror-18.08.3-tidyhtml5.patch | 46 ++++++++++++++++++++++ |
15 |
kde-apps/konqueror/konqueror-18.11.80.ebuild | 4 +- |
16 |
kde-apps/konqueror/konqueror-18.12.49.9999.ebuild | 4 +- |
17 |
kde-apps/konqueror/konqueror-9999.ebuild | 6 ++- |
18 |
4 files changed, 56 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/kde-apps/konqueror/files/konqueror-18.08.3-tidyhtml5.patch b/kde-apps/konqueror/files/konqueror-18.08.3-tidyhtml5.patch |
21 |
new file mode 100644 |
22 |
index 0000000000..dae1486d58 |
23 |
--- /dev/null |
24 |
+++ b/kde-apps/konqueror/files/konqueror-18.08.3-tidyhtml5.patch |
25 |
@@ -0,0 +1,46 @@ |
26 |
+From 29955abce07526d01f3298da9d2f15bd9eb5e6f4 Mon Sep 17 00:00:00 2001 |
27 |
+From: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
28 |
+Date: Sun, 18 Nov 2018 18:07:32 +0100 |
29 |
+Subject: [PATCH] Switch to tidy-html5 and use tidybuffio.h instead of buffio.h |
30 |
+ |
31 |
+Summary: Header was renamed a few years ago. |
32 |
+ |
33 |
+Test Plan: Builds and validates fine. |
34 |
+ |
35 |
+Reviewers: #konqueror |
36 |
+ |
37 |
+Differential Revision: https://phabricator.kde.org/D16982 |
38 |
+--- |
39 |
+ plugins/validators/CMakeLists.txt | 2 +- |
40 |
+ plugins/validators/tidy_validator.cpp | 2 +- |
41 |
+ 2 files changed, 2 insertions(+), 2 deletions(-) |
42 |
+ |
43 |
+diff --git a/plugins/validators/CMakeLists.txt b/plugins/validators/CMakeLists.txt |
44 |
+index cf3b70694..7f6060e9c 100644 |
45 |
+--- a/plugins/validators/CMakeLists.txt |
46 |
++++ b/plugins/validators/CMakeLists.txt |
47 |
+@@ -4,7 +4,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}) |
48 |
+ find_package(LibTidy) |
49 |
+ find_package(KF5 REQUIRED KHtml WidgetsAddons IconThemes) |
50 |
+ set_package_properties(LibTidy PROPERTIES DESCRIPTION "HTML Tidy" |
51 |
+- URL "http://tidy.sourceforge.net" |
52 |
++ URL "http://www.html-tidy.org/" |
53 |
+ TYPE OPTIONAL |
54 |
+ PURPOSE "Gives the Konqueror validators plugin the ability to validate HTML" |
55 |
+ ) |
56 |
+diff --git a/plugins/validators/tidy_validator.cpp b/plugins/validators/tidy_validator.cpp |
57 |
+index 3247199f9..ac22429d0 100644 |
58 |
+--- a/plugins/validators/tidy_validator.cpp |
59 |
++++ b/plugins/validators/tidy_validator.cpp |
60 |
+@@ -25,7 +25,7 @@ |
61 |
+ |
62 |
+ #include <kdebug.h> |
63 |
+ |
64 |
+-#include <buffio.h> |
65 |
++#include <tidybuffio.h> |
66 |
+ #include <tidy.h> |
67 |
+ |
68 |
+ #include <config-konq-validator.h> |
69 |
+-- |
70 |
+2.19.1 |
71 |
+ |
72 |
|
73 |
diff --git a/kde-apps/konqueror/konqueror-18.11.80.ebuild b/kde-apps/konqueror/konqueror-18.11.80.ebuild |
74 |
index 9d8010e340..503376e9dc 100644 |
75 |
--- a/kde-apps/konqueror/konqueror-18.11.80.ebuild |
76 |
+++ b/kde-apps/konqueror/konqueror-18.11.80.ebuild |
77 |
@@ -50,7 +50,7 @@ COMMON_DEPEND=" |
78 |
$(add_qt_dep qtxml) |
79 |
sys-libs/zlib |
80 |
speech? ( $(add_qt_dep qtspeech) ) |
81 |
- tidy? ( app-text/htmltidy ) |
82 |
+ tidy? ( app-text/tidy-html5 ) |
83 |
webengine? ( $(add_qt_dep qtwebengine 'widgets') ) |
84 |
X? ( $(add_qt_dep qtx11extras) ) |
85 |
" |
86 |
@@ -66,6 +66,8 @@ RDEPEND="${COMMON_DEPEND} |
87 |
!webengine? ( kde-misc/kwebkitpart:5 ) |
88 |
" |
89 |
|
90 |
+PATCHES=( "${FILESDIR}/${PN}-18.08.3-tidyhtml5.patch" ) |
91 |
+ |
92 |
src_prepare() { |
93 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc |
94 |
|
95 |
|
96 |
diff --git a/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild b/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild |
97 |
index 7b98ce350e..bfb7b0b088 100644 |
98 |
--- a/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild |
99 |
+++ b/kde-apps/konqueror/konqueror-18.12.49.9999.ebuild |
100 |
@@ -50,7 +50,7 @@ COMMON_DEPEND=" |
101 |
$(add_qt_dep qtxml) |
102 |
sys-libs/zlib |
103 |
speech? ( $(add_qt_dep qtspeech) ) |
104 |
- tidy? ( app-text/htmltidy ) |
105 |
+ tidy? ( app-text/tidy-html5 ) |
106 |
webengine? ( $(add_qt_dep qtwebengine 'widgets') ) |
107 |
X? ( $(add_qt_dep qtx11extras) ) |
108 |
" |
109 |
@@ -66,6 +66,8 @@ RDEPEND="${COMMON_DEPEND} |
110 |
!webengine? ( kde-misc/kwebkitpart:5 ) |
111 |
" |
112 |
|
113 |
+PATCHES=( "${FILESDIR}/${PN}-18.08.3-tidyhtml5.patch" ) |
114 |
+ |
115 |
src_prepare() { |
116 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc |
117 |
|
118 |
|
119 |
diff --git a/kde-apps/konqueror/konqueror-9999.ebuild b/kde-apps/konqueror/konqueror-9999.ebuild |
120 |
index d25778697b..bfb7b0b088 100644 |
121 |
--- a/kde-apps/konqueror/konqueror-9999.ebuild |
122 |
+++ b/kde-apps/konqueror/konqueror-9999.ebuild |
123 |
@@ -1,4 +1,4 @@ |
124 |
-# Copyright 1999-2018 Gentoo Foundation |
125 |
+# Copyright 1999-2018 Gentoo Authors |
126 |
# Distributed under the terms of the GNU General Public License v2 |
127 |
|
128 |
EAPI=6 |
129 |
@@ -50,7 +50,7 @@ COMMON_DEPEND=" |
130 |
$(add_qt_dep qtxml) |
131 |
sys-libs/zlib |
132 |
speech? ( $(add_qt_dep qtspeech) ) |
133 |
- tidy? ( app-text/htmltidy ) |
134 |
+ tidy? ( app-text/tidy-html5 ) |
135 |
webengine? ( $(add_qt_dep qtwebengine 'widgets') ) |
136 |
X? ( $(add_qt_dep qtx11extras) ) |
137 |
" |
138 |
@@ -66,6 +66,8 @@ RDEPEND="${COMMON_DEPEND} |
139 |
!webengine? ( kde-misc/kwebkitpart:5 ) |
140 |
" |
141 |
|
142 |
+PATCHES=( "${FILESDIR}/${PN}-18.08.3-tidyhtml5.patch" ) |
143 |
+ |
144 |
src_prepare() { |
145 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lmalloc |