summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-13 00:02:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-13 00:02:49 +0100
commitb9d84efe873cf1b2d596925bc078c188ffd8dccd (patch)
tree81accad4e9f6e08016e27fc1332d6281333f6d6d /app-accessibility
parentapp-accessibility/simon: Restrict tests (diff)
downloadgentoo-b9d84efe873cf1b2d596925bc078c188ffd8dccd.tar.gz
gentoo-b9d84efe873cf1b2d596925bc078c188ffd8dccd.tar.bz2
gentoo-b9d84efe873cf1b2d596925bc078c188ffd8dccd.zip
app-accessibility/simon: Drop 0.4.1
Depends on kde-frameworks/kdelibs[plasma]. Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/simon/Manifest1
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-linguas.patch87
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch24
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-opencv-include.patch20
-rw-r--r--app-accessibility/simon/files/simon-0.4.1-sphinx.patch16
-rw-r--r--app-accessibility/simon/simon-0.4.1.ebuild89
6 files changed, 0 insertions, 237 deletions
diff --git a/app-accessibility/simon/Manifest b/app-accessibility/simon/Manifest
index 015f5adf7b71..de01be68fa41 100644
--- a/app-accessibility/simon/Manifest
+++ b/app-accessibility/simon/Manifest
@@ -1,2 +1 @@
-DIST simon-0.4.1.tar.bz2 23856024 BLAKE2B 12b89f823ff9d13faed71d2ad5e61f3f9ca005589019687b39f79b6ff143efc1f578ebc4d36fae6f3bfa278f3fffcf5a73a411ffa403add906c51d8fab0795ab SHA512 d7349af3ec2482f18d8407891eeea7beea75630cc85aeade9f4105e3b84e82fde6284338688bbf84824d43c68de102eb34f3c21068cbe8a3307aa0586732b30d
DIST simon-0.4.90.tar.xz 25257276 BLAKE2B d5f78c721dc55387db415a740b00831471d6325d3aa2a0282e476132d2c7e378c4b024500527fd54a4073e972494e6ecc6f094022b5651b163d78ff6fcb20fcf SHA512 88b225e6d0168b87241649019376c8726fb3cc96ccbb985fd3dac5f5b67ed2d84de2756537300d7944797bceb7e340cdaf1c5aed731c1a7e2873d284ca3f94c1
diff --git a/app-accessibility/simon/files/simon-0.4.1-linguas.patch b/app-accessibility/simon/files/simon-0.4.1-linguas.patch
deleted file mode 100644
index 01f25d6550c0..000000000000
--- a/app-accessibility/simon/files/simon-0.4.1-linguas.patch
+++ /dev/null
@@ -1,87 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -14,6 +14,9 @@
-
- set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
-
-+# NLS
-+option(ENABLE_NLS "Enable native language support" 1)
-+
- find_package(KDE4 "4.4" REQUIRED)
- find_package(Qt4 COMPONENTS QtCore QtDbus QtGui QtTest QtXml QtScript QtConcurrent REQUIRED)
- find_package(Qwt6 REQUIRED)
-@@ -143,4 +146,6 @@
- macro_display_feature_log()
-
- include(MacroOptionalAddSubdirectory)
--macro_optional_add_subdirectory( po )
-+if(ENABLE_NLS)
-+ macro_optional_add_subdirectory( po )
-+endif(ENABLE_NLS)
---- a/doc/CMakeLists.txt
-+++ b/doc/CMakeLists.txt
-@@ -1,11 +1,15 @@
-+if(ENABLE_NLS)
-+ # gettext behavior
-+ execute_process(COMMAND sh -c "echo -n \${LINGUAS+x}"
-+ OUTPUT_VARIABLE UNSETLINGUAS)
-+set(langs pt_BR ca nl et de it pt es sv uk)
-+
-+ foreach(mylang ${langs})
-+ if($ENV{LINGUAS} MATCHES "^.*${mylang}.*$" OR "${UNSETLINGUAS}" STREQUAL "")
-+ add_subdirectory(${mylang})
-+ endif()
-+ endforeach()
-+endif(ENABLE_NLS)
-+
-+# default doc
- add_subdirectory(en_US)
--add_subdirectory(pt_BR)
--add_subdirectory(ca)
--add_subdirectory(nl)
--add_subdirectory(et)
--add_subdirectory(de)
--add_subdirectory(it)
--add_subdirectory(pt)
--add_subdirectory(es)
--add_subdirectory(sv)
--add_subdirectory(uk)
---- a/po/CMakeLists.txt
-+++ b/po/CMakeLists.txt
-@@ -11,25 +11,14 @@ endif (NOT GETTEXT_MSGMERGE_EXECUTABLE)
- if (NOT GETTEXT_MSGFMT_EXECUTABLE)
- MESSAGE(FATAL_ERROR "Please install msgmerge binary")
- endif (NOT GETTEXT_MSGFMT_EXECUTABLE)
--add_subdirectory(de)
--add_subdirectory(da)
--add_subdirectory(fr)
--add_subdirectory(nl)
--add_subdirectory(uk)
--add_subdirectory(pt_BR)
--add_subdirectory(pl)
--add_subdirectory(es)
--add_subdirectory(cs)
--add_subdirectory(ro)
--add_subdirectory(ca)
--add_subdirectory(sk)
--add_subdirectory(sl)
--add_subdirectory(pt)
--add_subdirectory(gl)
--add_subdirectory(ca@valencia)
--add_subdirectory(sv)
--add_subdirectory(el)
--add_subdirectory(fi)
--add_subdirectory(it)
--add_subdirectory(zh_TW)
--add_subdirectory(et)
-+
-+# gettext behavior
-+execute_process(COMMAND sh -c "echo -n \${LINGUAS+x}"
-+ OUTPUT_VARIABLE UNSETLINGUAS)
-+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)
-+
-+foreach(mylang ${langs})
-+ if($ENV{LINGUAS} MATCHES "^.*${mylang}.*$" OR "${UNSETLINGUAS}" STREQUAL "")
-+ add_subdirectory(${mylang})
-+ endif()
-+endforeach()
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
deleted file mode 100644
index 53a157be38e1..000000000000
--- a/app-accessibility/simon/files/simon-0.4.1-no-qtwebkit.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 81bd3d089a19f1e23383e2da7376740152540f7f Mon Sep 17 00:00:00 2001
-From: Rex Dieter <rdieter@math.unl.edu>
-Date: Mon, 6 Jul 2015 09:59:56 -0500
-Subject: omit unused reference to QWebView header
-
-no cmake checks for QtWebKit either
----
- simon/src/simonview.cpp | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/simon/src/simonview.cpp b/simon/src/simonview.cpp
-index 69673bc..7a1873d 100644
---- a/simon/src/simonview.cpp
-+++ b/simon/src/simonview.cpp
-@@ -60,7 +60,6 @@
- #include <KDE/KComboBox>
- #include <QDesktopServices>
- #include <QTimeLine>
--#include <QWebView>
-
- #include <KMessageBox>
- #include <KApplication>
---
-cgit v0.11.2
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
deleted file mode 100644
index b6a7d33c409f..000000000000
--- a/app-accessibility/simon/files/simon-0.4.1-opencv-include.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: Peter Grasch <me@bedahr.org>
-Date: Sat, 25 Jul 2015 08:45:03 +0000
-Subject: Adding OpenCV include directories to include path
-X-Git-Url: http://quickgit.kde.org/?p=simon.git&a=commitdiff&h=b4e663e5cc36511b15ef20865c723182cd3d88c9
----
-Adding OpenCV include directories to include path
----
-
-
---- a/cmake/FindOpenCV.cmake
-+++ b/cmake/FindOpenCV.cmake
-@@ -61,6 +61,7 @@
-
- ## Include the standard CMake script
- include("${OpenCV_DIR}/OpenCVConfig.cmake")
-+ include_directories(${OpenCV_INCLUDE_DIRS})
-
- ## Search for a specific version
- set(CVLIB_SUFFIX "${OpenCV_VERSION_MAJOR}${OpenCV_VERSION_MINOR}${OpenCV_VERSION_PATCH}")
-
diff --git a/app-accessibility/simon/files/simon-0.4.1-sphinx.patch b/app-accessibility/simon/files/simon-0.4.1-sphinx.patch
deleted file mode 100644
index 498475c81d05..000000000000
--- a/app-accessibility/simon/files/simon-0.4.1-sphinx.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- simon-0.4.1/CMakeLists.txt
-+++ simon-0.4.1/CMakeLists.txt
-@@ -59,11 +59,11 @@
- macro_optional_find_package(QAccessibilityClient)
- 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.")
-
--find_package(Sphinxbase)
-+macro_optional_find_package(Sphinxbase)
- macro_log_feature(SphinxBase_LIBRARIES "Sphinxbase"
- "Open source toolkit for speech recognition" "http://cmusphinx.sourceforge.net/"
- FALSE "" "Required to build Sphinx backend")
--find_package(Pocketsphinx)
-+macro_optional_find_package(Pocketsphinx)
- macro_log_feature(POCKETSPHINX_LIBRARIES "PocketSphinx"
- "PocketSphinx is a small-footprint continuous speech recognition system"
- "http://cmusphinx.sourceforge.net/" FALSE ""
diff --git a/app-accessibility/simon/simon-0.4.1.ebuild b/app-accessibility/simon/simon-0.4.1.ebuild
deleted file mode 100644
index 1fb96a7bf86a..000000000000
--- a/app-accessibility/simon/simon-0.4.1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# KEEP KDE ECLASSES OUT OF HERE
-
-# TODO: qaccessibilityclient support (not in portage)
-# https://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient/repository
-# TODO: julius
-
-EAPI=5
-
-inherit eutils multilib gnome2-utils cmake-utils
-
-DESCRIPTION="Open-source speech recognition program for replacing mouse and keyboard"
-HOMEPAGE="http://simon-listens.org/"
-SRC_URI="mirror://kde/stable/simon/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="libsamplerate nls opencv sphinx"
-
-RDEPEND="
- dev-qt/qtcore:4
- dev-qt/qtdbus:4
- dev-qt/qtgui:4
- dev-qt/qtscript:4
- dev-qt/qtsql:4
- kde-frameworks/kdelibs:4[plasma(+)]
- media-libs/alsa-lib
- x11-libs/libX11
- x11-libs/libXtst
- x11-libs/qwt:6[qt4(+)]
- libsamplerate? ( media-libs/libsamplerate )
- nls? (
- kde-apps/kde4-l10n
- virtual/libintl
- )
- opencv? ( media-libs/opencv )
- sphinx? (
- >=app-accessibility/pocketsphinx-0.8
- >=app-accessibility/sphinxbase-0.8
- >=app-accessibility/SphinxTrain-1
- )
- !sphinx? ( app-accessibility/julius )"
-DEPEND="${RDEPEND}
- sys-devel/bison
- sys-devel/flex
- virtual/pkgconfig
- nls? ( sys-devel/gettext )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-libdir.patch
- "${FILESDIR}"/${P}-linguas.patch
- "${FILESDIR}"/${P}-sphinx.patch
- "${FILESDIR}"/${P}-opencv-include.patch
- "${FILESDIR}"/${P}-no-qtwebkit.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DSIMON_LIB_INSTALL_DIR=/usr/$(get_libdir)
- -DBackendType=$(usex sphinx "both" "jhtk")
- $(cmake-utils_use_with sphinx Sphinxbase)
- $(cmake-utils_use_with sphinx Pocketsphinx)
- -DWITH_KdepimLibs=OFF
- $(cmake-utils_use_with libsamplerate LibSampleRate)
- $(cmake-utils_use_with opencv OpenCV)
- $(cmake-utils_use_enable nls NLS)
- )
-
- cmake-utils_src_configure
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-
- elog "optional dependencies:"
- elog " kde-apps/jovie (support for Jovie TTS system)"
- use sphinx && elog " app-accessibility/julius (alternative backend)"
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}