Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/simon/files/, app-accessibility/simon/
Date: Tue, 12 Dec 2017 23:04:16
Message-Id: 1513119769.b9d84efe873cf1b2d596925bc078c188ffd8dccd.asturm@gentoo
1 commit: b9d84efe873cf1b2d596925bc078c188ffd8dccd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 12 23:02:49 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 12 23:02:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d84efe
7
8 app-accessibility/simon: Drop 0.4.1
9
10 Depends on kde-frameworks/kdelibs[plasma].
11
12 Package-Manager: Portage-2.3.18, Repoman-2.3.6
13
14 app-accessibility/simon/Manifest | 1 -
15 .../simon/files/simon-0.4.1-linguas.patch | 87 ---------------------
16 .../simon/files/simon-0.4.1-no-qtwebkit.patch | 24 ------
17 .../simon/files/simon-0.4.1-opencv-include.patch | 20 -----
18 .../simon/files/simon-0.4.1-sphinx.patch | 16 ----
19 app-accessibility/simon/simon-0.4.1.ebuild | 89 ----------------------
20 6 files changed, 237 deletions(-)
21
22 diff --git a/app-accessibility/simon/Manifest b/app-accessibility/simon/Manifest
23 index 015f5adf7b7..de01be68fa4 100644
24 --- a/app-accessibility/simon/Manifest
25 +++ b/app-accessibility/simon/Manifest
26 @@ -1,2 +1 @@
27 -DIST simon-0.4.1.tar.bz2 23856024 BLAKE2B 12b89f823ff9d13faed71d2ad5e61f3f9ca005589019687b39f79b6ff143efc1f578ebc4d36fae6f3bfa278f3fffcf5a73a411ffa403add906c51d8fab0795ab SHA512 d7349af3ec2482f18d8407891eeea7beea75630cc85aeade9f4105e3b84e82fde6284338688bbf84824d43c68de102eb34f3c21068cbe8a3307aa0586732b30d
28 DIST simon-0.4.90.tar.xz 25257276 BLAKE2B d5f78c721dc55387db415a740b00831471d6325d3aa2a0282e476132d2c7e378c4b024500527fd54a4073e972494e6ecc6f094022b5651b163d78ff6fcb20fcf SHA512 88b225e6d0168b87241649019376c8726fb3cc96ccbb985fd3dac5f5b67ed2d84de2756537300d7944797bceb7e340cdaf1c5aed731c1a7e2873d284ca3f94c1
29
30 diff --git a/app-accessibility/simon/files/simon-0.4.1-linguas.patch b/app-accessibility/simon/files/simon-0.4.1-linguas.patch
31 deleted file mode 100644
32 index 01f25d6550c..00000000000
33 --- a/app-accessibility/simon/files/simon-0.4.1-linguas.patch
34 +++ /dev/null
35 @@ -1,87 +0,0 @@
36 ---- a/CMakeLists.txt
37 -+++ b/CMakeLists.txt
38 -@@ -14,6 +14,9 @@
39 -
40 - set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
41 -
42 -+# NLS
43 -+option(ENABLE_NLS "Enable native language support" 1)
44 -+
45 - find_package(KDE4 "4.4" REQUIRED)
46 - find_package(Qt4 COMPONENTS QtCore QtDbus QtGui QtTest QtXml QtScript QtConcurrent REQUIRED)
47 - find_package(Qwt6 REQUIRED)
48 -@@ -143,4 +146,6 @@
49 - macro_display_feature_log()
50 -
51 - include(MacroOptionalAddSubdirectory)
52 --macro_optional_add_subdirectory( po )
53 -+if(ENABLE_NLS)
54 -+ macro_optional_add_subdirectory( po )
55 -+endif(ENABLE_NLS)
56 ---- a/doc/CMakeLists.txt
57 -+++ b/doc/CMakeLists.txt
58 -@@ -1,11 +1,15 @@
59 -+if(ENABLE_NLS)
60 -+ # gettext behavior
61 -+ execute_process(COMMAND sh -c "echo -n \${LINGUAS+x}"
62 -+ OUTPUT_VARIABLE UNSETLINGUAS)
63 -+set(langs pt_BR ca nl et de it pt es sv uk)
64 -+
65 -+ foreach(mylang ${langs})
66 -+ if($ENV{LINGUAS} MATCHES "^.*${mylang}.*$" OR "${UNSETLINGUAS}" STREQUAL "")
67 -+ add_subdirectory(${mylang})
68 -+ endif()
69 -+ endforeach()
70 -+endif(ENABLE_NLS)
71 -+
72 -+# default doc
73 - add_subdirectory(en_US)
74 --add_subdirectory(pt_BR)
75 --add_subdirectory(ca)
76 --add_subdirectory(nl)
77 --add_subdirectory(et)
78 --add_subdirectory(de)
79 --add_subdirectory(it)
80 --add_subdirectory(pt)
81 --add_subdirectory(es)
82 --add_subdirectory(sv)
83 --add_subdirectory(uk)
84 ---- a/po/CMakeLists.txt
85 -+++ b/po/CMakeLists.txt
86 -@@ -11,25 +11,14 @@ endif (NOT GETTEXT_MSGMERGE_EXECUTABLE)
87 - if (NOT GETTEXT_MSGFMT_EXECUTABLE)
88 - MESSAGE(FATAL_ERROR "Please install msgmerge binary")
89 - endif (NOT GETTEXT_MSGFMT_EXECUTABLE)
90 --add_subdirectory(de)
91 --add_subdirectory(da)
92 --add_subdirectory(fr)
93 --add_subdirectory(nl)
94 --add_subdirectory(uk)
95 --add_subdirectory(pt_BR)
96 --add_subdirectory(pl)
97 --add_subdirectory(es)
98 --add_subdirectory(cs)
99 --add_subdirectory(ro)
100 --add_subdirectory(ca)
101 --add_subdirectory(sk)
102 --add_subdirectory(sl)
103 --add_subdirectory(pt)
104 --add_subdirectory(gl)
105 --add_subdirectory(ca@valencia)
106 --add_subdirectory(sv)
107 --add_subdirectory(el)
108 --add_subdirectory(fi)
109 --add_subdirectory(it)
110 --add_subdirectory(zh_TW)
111 --add_subdirectory(et)
112 -+
113 -+# gettext behavior
114 -+execute_process(COMMAND sh -c "echo -n \${LINGUAS+x}"
115 -+ OUTPUT_VARIABLE UNSETLINGUAS)
116 -+set(langs ca@valencia cs de da fr nl uk pt_BR pl es ro ca sl pt gl sk sv el fi it zh_TW et)
117 -+
118 -+foreach(mylang ${langs})
119 -+ if($ENV{LINGUAS} MATCHES "^.*${mylang}.*$" OR "${UNSETLINGUAS}" STREQUAL "")
120 -+ add_subdirectory(${mylang})
121 -+ endif()
122 -+endforeach()
123
124 diff --git a/app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch b/app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch
125 deleted file mode 100644
126 index 53a157be38e..00000000000
127 --- a/app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch
128 +++ /dev/null
129 @@ -1,24 +0,0 @@
130 -From 81bd3d089a19f1e23383e2da7376740152540f7f Mon Sep 17 00:00:00 2001
131 -From: Rex Dieter <rdieter@××××××××.edu>
132 -Date: Mon, 6 Jul 2015 09:59:56 -0500
133 -Subject: omit unused reference to QWebView header
134 -
135 -no cmake checks for QtWebKit either
136 ----
137 - simon/src/simonview.cpp | 1 -
138 - 1 file changed, 1 deletion(-)
139 -
140 -diff --git a/simon/src/simonview.cpp b/simon/src/simonview.cpp
141 -index 69673bc..7a1873d 100644
142 ---- a/simon/src/simonview.cpp
143 -+++ b/simon/src/simonview.cpp
144 -@@ -60,7 +60,6 @@
145 - #include <KDE/KComboBox>
146 - #include <QDesktopServices>
147 - #include <QTimeLine>
148 --#include <QWebView>
149 -
150 - #include <KMessageBox>
151 - #include <KApplication>
152 ---
153 -cgit v0.11.2
154
155 diff --git a/app-accessibility/simon/files/simon-0.4.1-opencv-include.patch b/app-accessibility/simon/files/simon-0.4.1-opencv-include.patch
156 deleted file mode 100644
157 index b6a7d33c409..00000000000
158 --- a/app-accessibility/simon/files/simon-0.4.1-opencv-include.patch
159 +++ /dev/null
160 @@ -1,20 +0,0 @@
161 -From: Peter Grasch <me@××××××.org>
162 -Date: Sat, 25 Jul 2015 08:45:03 +0000
163 -Subject: Adding OpenCV include directories to include path
164 -X-Git-Url: http://quickgit.kde.org/?p=simon.git&a=commitdiff&h=b4e663e5cc36511b15ef20865c723182cd3d88c9
165 ----
166 -Adding OpenCV include directories to include path
167 ----
168 -
169 -
170 ---- a/cmake/FindOpenCV.cmake
171 -+++ b/cmake/FindOpenCV.cmake
172 -@@ -61,6 +61,7 @@
173 -
174 - ## Include the standard CMake script
175 - include("${OpenCV_DIR}/OpenCVConfig.cmake")
176 -+ include_directories(${OpenCV_INCLUDE_DIRS})
177 -
178 - ## Search for a specific version
179 - set(CVLIB_SUFFIX "${OpenCV_VERSION_MAJOR}${OpenCV_VERSION_MINOR}${OpenCV_VERSION_PATCH}")
180 -
181
182 diff --git a/app-accessibility/simon/files/simon-0.4.1-sphinx.patch b/app-accessibility/simon/files/simon-0.4.1-sphinx.patch
183 deleted file mode 100644
184 index 498475c81d0..00000000000
185 --- a/app-accessibility/simon/files/simon-0.4.1-sphinx.patch
186 +++ /dev/null
187 @@ -1,16 +0,0 @@
188 ---- simon-0.4.1/CMakeLists.txt
189 -+++ simon-0.4.1/CMakeLists.txt
190 -@@ -59,11 +59,11 @@
191 - macro_optional_find_package(QAccessibilityClient)
192 - macro_log_feature(QAccessibilityClient_FOUND "qaccessibilityclient" "KDE client-side accessibility library" "https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient" FALSE "" "Required to enable ATSPI plugin.")
193 -
194 --find_package(Sphinxbase)
195 -+macro_optional_find_package(Sphinxbase)
196 - macro_log_feature(SphinxBase_LIBRARIES "Sphinxbase"
197 - "Open source toolkit for speech recognition" "http://cmusphinx.sourceforge.net/"
198 - FALSE "" "Required to build Sphinx backend")
199 --find_package(Pocketsphinx)
200 -+macro_optional_find_package(Pocketsphinx)
201 - macro_log_feature(POCKETSPHINX_LIBRARIES "PocketSphinx"
202 - "PocketSphinx is a small-footprint continuous speech recognition system"
203 - "http://cmusphinx.sourceforge.net/" FALSE ""
204
205 diff --git a/app-accessibility/simon/simon-0.4.1.ebuild b/app-accessibility/simon/simon-0.4.1.ebuild
206 deleted file mode 100644
207 index 1fb96a7bf86..00000000000
208 --- a/app-accessibility/simon/simon-0.4.1.ebuild
209 +++ /dev/null
210 @@ -1,89 +0,0 @@
211 -# Copyright 1999-2017 Gentoo Foundation
212 -# Distributed under the terms of the GNU General Public License v2
213 -
214 -# KEEP KDE ECLASSES OUT OF HERE
215 -
216 -# TODO: qaccessibilityclient support (not in portage)
217 -# https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient/repository
218 -# TODO: julius
219 -
220 -EAPI=5
221 -
222 -inherit eutils multilib gnome2-utils cmake-utils
223 -
224 -DESCRIPTION="Open-source speech recognition program for replacing mouse and keyboard"
225 -HOMEPAGE="http://simon-listens.org/"
226 -SRC_URI="mirror://kde/stable/simon/${PV}/src/${P}.tar.bz2"
227 -
228 -LICENSE="GPL-2"
229 -SLOT="0"
230 -KEYWORDS="amd64 x86"
231 -IUSE="libsamplerate nls opencv sphinx"
232 -
233 -RDEPEND="
234 - dev-qt/qtcore:4
235 - dev-qt/qtdbus:4
236 - dev-qt/qtgui:4
237 - dev-qt/qtscript:4
238 - dev-qt/qtsql:4
239 - kde-frameworks/kdelibs:4[plasma(+)]
240 - media-libs/alsa-lib
241 - x11-libs/libX11
242 - x11-libs/libXtst
243 - x11-libs/qwt:6[qt4(+)]
244 - libsamplerate? ( media-libs/libsamplerate )
245 - nls? (
246 - kde-apps/kde4-l10n
247 - virtual/libintl
248 - )
249 - opencv? ( media-libs/opencv )
250 - sphinx? (
251 - >=app-accessibility/pocketsphinx-0.8
252 - >=app-accessibility/sphinxbase-0.8
253 - >=app-accessibility/SphinxTrain-1
254 - )
255 - !sphinx? ( app-accessibility/julius )"
256 -DEPEND="${RDEPEND}
257 - sys-devel/bison
258 - sys-devel/flex
259 - virtual/pkgconfig
260 - nls? ( sys-devel/gettext )"
261 -
262 -PATCHES=(
263 - "${FILESDIR}"/${P}-libdir.patch
264 - "${FILESDIR}"/${P}-linguas.patch
265 - "${FILESDIR}"/${P}-sphinx.patch
266 - "${FILESDIR}"/${P}-opencv-include.patch
267 - "${FILESDIR}"/${P}-no-qtwebkit.patch
268 -)
269 -
270 -src_configure() {
271 - local mycmakeargs=(
272 - -DSIMON_LIB_INSTALL_DIR=/usr/$(get_libdir)
273 - -DBackendType=$(usex sphinx "both" "jhtk")
274 - $(cmake-utils_use_with sphinx Sphinxbase)
275 - $(cmake-utils_use_with sphinx Pocketsphinx)
276 - -DWITH_KdepimLibs=OFF
277 - $(cmake-utils_use_with libsamplerate LibSampleRate)
278 - $(cmake-utils_use_with opencv OpenCV)
279 - $(cmake-utils_use_enable nls NLS)
280 - )
281 -
282 - cmake-utils_src_configure
283 -}
284 -
285 -pkg_preinst() {
286 - gnome2_icon_savelist
287 -}
288 -
289 -pkg_postinst() {
290 - gnome2_icon_cache_update
291 -
292 - elog "optional dependencies:"
293 - elog " kde-apps/jovie (support for Jovie TTS system)"
294 - use sphinx && elog " app-accessibility/julius (alternative backend)"
295 -}
296 -
297 -pkg_postrm() {
298 - gnome2_icon_cache_update
299 -}