Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: net-irc/konversation/files/, net-irc/konversation/
Date: Mon, 15 Aug 2022 21:14:37
Message-Id: 1660571069.fdbafc16f664ad6ae17906ad7d7c70e872198fad.asturm@gentoo
1 commit: fdbafc16f664ad6ae17906ad7d7c70e872198fad
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 15 13:43:22 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 15 13:44:29 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=fdbafc16
7
8 net-irc/konversation: drop 2.9999, branch wip/qtquick is dead
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../konversation-2.9999-unused-kemoticons.patch | 112 ---------------------
13 net-irc/konversation/konversation-2.9999.ebuild | 82 ---------------
14 2 files changed, 194 deletions(-)
15
16 diff --git a/net-irc/konversation/files/konversation-2.9999-unused-kemoticons.patch b/net-irc/konversation/files/konversation-2.9999-unused-kemoticons.patch
17 deleted file mode 100644
18 index 742038b551..0000000000
19 --- a/net-irc/konversation/files/konversation-2.9999-unused-kemoticons.patch
20 +++ /dev/null
21 @@ -1,112 +0,0 @@
22 -From 271da4bd1e584026fc24d93474ca6cf9e50fa6d7 Mon Sep 17 00:00:00 2001
23 -From: David Edmundson <kde@×××××××××××××××××.uk>
24 -Date: Mon, 16 Sep 2019 18:18:49 +0100
25 -Subject: Drop effectively unused kemoticons support
26 -
27 -Summary:
28 -Konversation only supported emoticons if config value EnableEmotIcons
29 -was true. This by default was false and there is no UI for configuring
30 -this, making it effectively unused.
31 -
32 -This appears to be deliberate from the code comments.
33 -
34 -This helps clear up some KEmoticon library usage for future KF6
35 -transitioning.
36 -
37 -UTF-8 emoticons work correctly.
38 -
39 -Test Plan: Compiles
40 -
41 -Differential Revision: https://phabricator.kde.org/D24000
42 ----
43 - src/CMakeLists.txt | 2 --
44 - src/config/konversation.kcfg | 8 --------
45 - src/viewer/ircview.cpp | 3 ---
46 - 3 files changed, 13 deletions(-)
47 -
48 -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
49 -index c2077b3..89616a6 100644
50 ---- a/src/CMakeLists.txt
51 -+++ b/src/CMakeLists.txt
52 -@@ -138,7 +138,6 @@ set(viewer_SRCS
53 - viewer/topiclabel.cpp
54 - viewer/awaylabel.cpp
55 - viewer/editnotifydialog.cpp
56 -- viewer/emoticons.cpp
57 - viewer/images.cpp
58 - viewer/quickbutton.cpp
59 - viewer/searchbar.cpp
60 -@@ -224,7 +223,6 @@ target_link_libraries(konversation
61 - KF5::Bookmarks
62 - KF5::ConfigWidgets
63 - KF5::Crash
64 -- KF5::Emoticons
65 - KF5::I18n
66 - KF5::IdleTime
67 - KF5::NotifyConfig
68 -diff --git a/src/config/konversation.kcfg b/src/config/konversation.kcfg
69 -index 1d59eaf..3f0b7a6 100644
70 ---- a/src/config/konversation.kcfg
71 -+++ b/src/config/konversation.kcfg
72 -@@ -844,14 +844,6 @@
73 - <label></label>
74 - <whatsthis></whatsthis>
75 - </entry>
76 -- <entry key="EnableEmotIcons" type="Bool">
77 -- <default>false</default>
78 -- <label>Enable emoticons</label>
79 -- </entry>
80 -- <entry key="EmotIconTheme" type="String">
81 -- <default>Default</default>
82 -- <label>Emoticons theme</label>
83 -- </entry>
84 - </group>
85 - <group name="PreferencesDialog">
86 - <entry name="PreferencesDialogSize" key="Size" type="Size">
87 -diff --git a/src/viewer/ircview.cpp b/src/viewer/ircview.cpp
88 -index c129f61..15f78ca 100644
89 ---- a/src/viewer/ircview.cpp
90 -+++ b/src/viewer/ircview.cpp
91 -@@ -20,7 +20,6 @@
92 - #include "application.h"
93 - #include "highlight.h"
94 - #include "sound.h"
95 --#include "emoticons.h"
96 - #include "notificationhandler.h"
97 -
98 - #include <QDrag>
99 -@@ -1214,8 +1213,6 @@ QString IRCView::filter(const QString& line, const QString& defaultColor, const
100 - QLatin1String("\">") + filteredLine + QLatin1String("</font>");
101 - }
102 -
103 -- filteredLine = Konversation::Emoticons::parseEmoticons(filteredLine);
104 --
105 - return filteredLine;
106 - }
107 -
108 ---
109 -cgit v1.1
110 -
111 -From f1e6ec37b9a9ead194606795ed23a1ec70a784cc Mon Sep 17 00:00:00 2001
112 -From: Peter Simonsson <peter.simonsson@×××××.com>
113 -Date: Tue, 7 Apr 2020 16:37:53 +0200
114 -Subject: Remove KEmoticons from dependencies as it's not used
115 -
116 ----
117 - CMakeLists.txt | 1 -
118 - 1 file changed, 1 deletion(-)
119 -
120 -diff --git a/CMakeLists.txt b/CMakeLists.txt
121 -index 5315dbd..19facd8 100644
122 ---- a/CMakeLists.txt
123 -+++ b/CMakeLists.txt
124 -@@ -24,7 +24,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
125 - ConfigWidgets
126 - CoreAddons
127 - Crash
128 -- Emoticons
129 - I18n
130 - IdleTime
131 - NotifyConfig
132 ---
133 -cgit v1.1
134
135 diff --git a/net-irc/konversation/konversation-2.9999.ebuild b/net-irc/konversation/konversation-2.9999.ebuild
136 deleted file mode 100644
137 index 1c94e4c55e..0000000000
138 --- a/net-irc/konversation/konversation-2.9999.ebuild
139 +++ /dev/null
140 @@ -1,82 +0,0 @@
141 -# Copyright 1999-2022 Gentoo Authors
142 -# Distributed under the terms of the GNU General Public License v2
143 -
144 -EAPI=8
145 -
146 -EGIT_BRANCH="wip/qtquick"
147 -ECM_HANDBOOK="forceoptional"
148 -KDE_GEAR="true"
149 -KFMIN=5.82.0
150 -QTMIN=5.15.5
151 -inherit ecm kde.org
152 -
153 -DESCRIPTION="User friendly IRC Client"
154 -HOMEPAGE="https://konversation.kde.org https://apps.kde.org/konversation/"
155 -
156 -LICENSE="GPL-2"
157 -SLOT="5"
158 -KEYWORDS=""
159 -IUSE="+crypt"
160 -
161 -BDEPEND="sys-devel/gettext"
162 -DEPEND="
163 - >=dev-qt/qtdeclarative-${QTMIN}:5
164 - >=dev-qt/qtdbus-${QTMIN}:5
165 - >=dev-qt/qtgui-${QTMIN}:5
166 - >=dev-qt/qtnetwork-${QTMIN}:5
167 - >=dev-qt/qtwidgets-${QTMIN}:5
168 - >=dev-qt/qtxml-${QTMIN}:5
169 - >=kde-frameworks/karchive-${KFMIN}:5
170 - >=kde-frameworks/kbookmarks-${KFMIN}:5
171 - >=kde-frameworks/kcodecs-${KFMIN}:5
172 - >=kde-frameworks/kcompletion-${KFMIN}:5
173 - >=kde-frameworks/kconfig-${KFMIN}:5
174 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5
175 - >=kde-frameworks/kcoreaddons-${KFMIN}:5
176 - >=kde-frameworks/kcrash-${KFMIN}:5
177 - >=kde-frameworks/kdbusaddons-${KFMIN}:5
178 - >=kde-frameworks/kglobalaccel-${KFMIN}:5
179 - >=kde-frameworks/ki18n-${KFMIN}:5
180 - >=kde-frameworks/kiconthemes-${KFMIN}:5
181 - >=kde-frameworks/kidletime-${KFMIN}:5
182 - >=kde-frameworks/kio-${KFMIN}:5
183 - >=kde-frameworks/kitemmodels-${KFMIN}:5
184 - >=kde-frameworks/kitemviews-${KFMIN}:5
185 - >=kde-frameworks/knotifications-${KFMIN}:5
186 - >=kde-frameworks/knotifyconfig-${KFMIN}:5
187 - >=kde-frameworks/kpackage-${KFMIN}:5
188 - >=kde-frameworks/kparts-${KFMIN}:5
189 - >=kde-frameworks/kservice-${KFMIN}:5
190 - >=kde-frameworks/ktextwidgets-${KFMIN}:5
191 - >=kde-frameworks/kwallet-${KFMIN}:5
192 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
193 - >=kde-frameworks/kwindowsystem-${KFMIN}:5
194 - >=kde-frameworks/kxmlgui-${KFMIN}:5
195 - >=media-libs/phonon-4.11.0
196 - crypt? ( >=app-crypt/qca-2.3.0:2 )
197 -"
198 -RDEPEND="${DEPEND}
199 - >=kde-frameworks/qqc2-desktop-style-${KFMIN}:5
200 - crypt? ( >=app-crypt/qca-2.3.0:2[ssl] )
201 -"
202 -
203 -PATCHES=(
204 - # git master
205 - "${FILESDIR}"/${P}-unused-kemoticons.patch
206 -)
207 -
208 -src_configure() {
209 - local mycmakeargs=(
210 - $(cmake_use_find_package crypt Qca-qt5)
211 - )
212 -
213 - ecm_src_configure
214 -}
215 -
216 -src_install() {
217 - ecm_src_install
218 -
219 - # Bug 616162
220 - insinto /etc/xdg
221 - doins "${FILESDIR}"/konversationrc
222 -}