diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-12-28 03:42:29 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-28 03:47:50 +1100 |
commit | 09682387c1cb882175245e8497ede2b30b45dfd9 (patch) | |
tree | 08bb45d7b85f6e3a21fec24c58895c11da2093bf /app-accessibility/simon | |
parent | app-accessibility/simon: Fix build w/ opencv3, bug 558534 (diff) | |
download | gentoo-09682387c1cb882175245e8497ede2b30b45dfd9.tar.gz gentoo-09682387c1cb882175245e8497ede2b30b45dfd9.tar.bz2 gentoo-09682387c1cb882175245e8497ede2b30b45dfd9.zip |
app-accessibility/simon: remove old
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-accessibility/simon')
-rw-r--r-- | app-accessibility/simon/Manifest | 1 | ||||
-rw-r--r-- | app-accessibility/simon/files/simon-0.4.0-libdir.patch | 16 | ||||
-rw-r--r-- | app-accessibility/simon/files/simon-0.4.0-linguas.patch | 84 | ||||
-rw-r--r-- | app-accessibility/simon/files/simon-0.4.0-opencv.patch | 11 | ||||
-rw-r--r-- | app-accessibility/simon/files/simon-0.4.0-sphinx.patch | 16 | ||||
-rw-r--r-- | app-accessibility/simon/simon-0.4.0.ebuild | 90 |
6 files changed, 0 insertions, 218 deletions
diff --git a/app-accessibility/simon/Manifest b/app-accessibility/simon/Manifest index d6f54033a45f..72ab878c0afb 100644 --- a/app-accessibility/simon/Manifest +++ b/app-accessibility/simon/Manifest @@ -1,2 +1 @@ -DIST simon-0.4.0.tar.bz2 22139378 SHA256 c7ef35cd28ecf294ceae63f4b0c53384bcf89fc2a6e67916dc9d4116decabc12 SHA512 541c22e09bb4234871707cd73e038a5ab0c68a6cb2a28993571c434edff639e4826554f922a4a188b5c2a70ff9a0d627f53af0954431b561adeedccf9c170c85 WHIRLPOOL c2e0cc8632bf089ed14ef53cae02c51166780692222b7f3c7a3583356e9669cbbcd3222507128b35f282b49de2f10a73c42f63e28596c6e8412ff766bb3febfb DIST simon-0.4.1.tar.bz2 23856024 SHA256 8d55bc3f607a89e15efd51b844d93daf67d9967ad243f54efae324754859342d SHA512 d7349af3ec2482f18d8407891eeea7beea75630cc85aeade9f4105e3b84e82fde6284338688bbf84824d43c68de102eb34f3c21068cbe8a3307aa0586732b30d WHIRLPOOL 4c512bdfed8676cb5cfb896eacb14c66e3497abebe97a4faeb6804feb8ba36ed9101bc79a6efa573470d4a4d7eb6dfc94e3315dac488554563d35a397a066acb diff --git a/app-accessibility/simon/files/simon-0.4.0-libdir.patch b/app-accessibility/simon/files/simon-0.4.0-libdir.patch deleted file mode 100644 index 18e12fccfde3..000000000000 --- a/app-accessibility/simon/files/simon-0.4.0-libdir.patch +++ /dev/null @@ -1,16 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Fri Mar 29 22:00:19 UTC 2013 -Subject: build system - -make libdir modifiable - ---- simon-0.4.0/cmake/SimonDirs.cmake -+++ simon-0.4.0/cmake/SimonDirs.cmake -@@ -29,6 +29,6 @@ - #IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") - #set(SIMON_LIB_INSTALL_DIR lib64) - #ELSE(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") -- set(SIMON_LIB_INSTALL_DIR lib) -+ set(SIMON_LIB_INSTALL_DIR lib CACHE STRING "libdir") - #ENDIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") - ENDIF(WIN32) diff --git a/app-accessibility/simon/files/simon-0.4.0-linguas.patch b/app-accessibility/simon/files/simon-0.4.0-linguas.patch deleted file mode 100644 index bf60f16c834c..000000000000 --- a/app-accessibility/simon/files/simon-0.4.0-linguas.patch +++ /dev/null @@ -1,84 +0,0 @@ ---- simon-0.4.0/CMakeLists.txt -+++ simon-0.4.0/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) ---- simon-0.4.0/po/CMakeLists.txt -+++ simon-0.4.0/po/CMakeLists.txt -@@ -11,24 +11,14 @@ - if (NOT GETTEXT_MSGFMT_EXECUTABLE) - MESSAGE(FATAL_ERROR "Please install msgmerge binary") - endif (NOT GETTEXT_MSGFMT_EXECUTABLE) --add_subdirectory(cs) --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(ro) --add_subdirectory(ca) --add_subdirectory(sl) --add_subdirectory(pt) --add_subdirectory(hu) --add_subdirectory(gl) --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 cs de da fr nl uk pt_BR pl es ro ca sl pt hu gl sv el fi it zh_TW et) -+ -+foreach(mylang ${langs}) -+ if($ENV{LINGUAS} MATCHES "^.*${mylang}.*$" OR "${UNSETLINGUAS}" STREQUAL "") -+ add_subdirectory(${mylang}) -+ endif() -+endforeach() ---- simon-0.4.0/doc/CMakeLists.txt -+++ simon-0.4.0/doc/CMakeLists.txt -@@ -1,9 +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 de it pt 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(de) --add_subdirectory(it) --add_subdirectory(pt) --add_subdirectory(sv) --add_subdirectory(uk) diff --git a/app-accessibility/simon/files/simon-0.4.0-opencv.patch b/app-accessibility/simon/files/simon-0.4.0-opencv.patch deleted file mode 100644 index bdd4581ceafd..000000000000 --- a/app-accessibility/simon/files/simon-0.4.0-opencv.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- simon-0.4.0/CMakeLists.txt -+++ simon-0.4.0/CMakeLists.txt -@@ -68,7 +68,7 @@ - "PocketSphinx is a small-footprint continuous speech recognition system" - "http://cmusphinx.sourceforge.net/" FALSE "" - "Required to build Pocket Sphinx backend") --find_package(OpenCV) -+macro_optional_find_package(OpenCV) - macro_log_feature(OpenCV_FOUND "OpenCV" - "OpenCV (Open Source Computer Vision) is a library of programming functions for real time computer vision" "http://http://opencv.willowgarage.com/" - FALSE "" "Required for Simon Vision") diff --git a/app-accessibility/simon/files/simon-0.4.0-sphinx.patch b/app-accessibility/simon/files/simon-0.4.0-sphinx.patch deleted file mode 100644 index 0fe8aa25efa4..000000000000 --- a/app-accessibility/simon/files/simon-0.4.0-sphinx.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- simon-0.4.0/CMakeLists.txt -+++ simon-0.4.0/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.0.ebuild b/app-accessibility/simon/simon-0.4.0.ebuild deleted file mode 100644 index 3a9ecade1b41..000000000000 --- a/app-accessibility/simon/simon-0.4.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# 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="kdepim 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-base/kdelibs:4 - media-libs/alsa-lib - x11-libs/libX11 - x11-libs/libXtst - x11-libs/qwt:6 - kdepim? ( kde-base/kdepimlibs:4 ) - 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 )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-libdir.patch \ - "${FILESDIR}"/${P}-linguas.patch \ - "${FILESDIR}"/${P}-opencv.patch \ - "${FILESDIR}"/${P}-sphinx.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) - $(cmake-utils_use_with kdepim KdepimLibs) - $(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 -} |