summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-21 21:04:12 +0000
committerSam James <sam@gentoo.org>2022-12-21 22:24:53 +0000
commit65828add789a247d3445d0ec0765448d87b19b2d (patch)
tree20c5967c92f33886ce0319a0f46866d91eafa7b6 /app-accessibility
parentsys-fs/xfsprogs: drop 5.14.2, 5.19.0 (diff)
downloadgentoo-65828add789a247d3445d0ec0765448d87b19b2d.tar.gz
gentoo-65828add789a247d3445d0ec0765448d87b19b2d.tar.bz2
gentoo-65828add789a247d3445d0ec0765448d87b19b2d.zip
app-accessibility/speech-dispatcher: drop 0.11.3-r1
Bug: https://bugs.gentoo.org/885123 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/speech-dispatcher/Manifest1
-rw-r--r--app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch14
-rw-r--r--app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.3-fix-dlopen.patch93
-rw-r--r--app-accessibility/speech-dispatcher/speech-dispatcher-0.11.3-r1.ebuild123
4 files changed, 0 insertions, 231 deletions
diff --git a/app-accessibility/speech-dispatcher/Manifest b/app-accessibility/speech-dispatcher/Manifest
index 531b5d4f6a1d..6ddff1958c95 100644
--- a/app-accessibility/speech-dispatcher/Manifest
+++ b/app-accessibility/speech-dispatcher/Manifest
@@ -1,2 +1 @@
-DIST speech-dispatcher-0.11.3.tar.gz 7150632 BLAKE2B 92bad589e453a243362a9e0142d2897b9651fa648012f2bd7ef00bc1ded389fd2c01b6f38f19002289357f7aa6361a6e7fa3ee35ec2ad7c044f34d87e7f2c409 SHA512 e9f5b862066c0292230fda32f16782f9a2d66e8d0c0e3aa0ccdb4628c1182661d2f40894f480ae5206af7fbbc49338189312afe02092f5d472095b053afd75c7
DIST speech-dispatcher-0.11.4.tar.gz 7127323 BLAKE2B 651a20ec403c6158756ab6ff7fbedb38ce1cec413be49367128274c8d20ccc7080a2dccd68cb7ebbec6bab05599f06a4aafc561e4e5e53cf52d19fa1b94fa286 SHA512 d0ebe832e2586abdb1284be36f8427cfbbd94f1a2dead1b74526b151e9529f9e61679339274b73afab5f829d184337372ba0aad93d880c42d2a6a1bcb2b7afef
diff --git a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch
deleted file mode 100644
index 3575e2c54c99..000000000000
--- a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.1-include-pthread_h.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-This fixes pthread_mutex_t being undefined on musl libc.
-
-https://github.com/brailcom/speechd/commit/17e4038948f01e389cbd7fedbe3f0eb54ad3292d
-https://bugs.gentoo.org/833347
---- a/src/modules/module_main.h
-+++ b/src/modules/module_main.h
-@@ -31,6 +31,7 @@
-
- #include <speechd_types.h>
- #include <spd_audio.h>
-+#include <pthread.h>
-
- #ifdef __cplusplus
- extern "C" {
diff --git a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.3-fix-dlopen.patch b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.3-fix-dlopen.patch
deleted file mode 100644
index f520fdc6adfb..000000000000
--- a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.3-fix-dlopen.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-https://github.com/brailcom/speechd/commit/db21e5fe4b3155734f60a67c8ab5da6b53174e1b
-https://github.com/brailcom/speechd/pull/783
-https://bugs.gentoo.org/877339
-
-From db21e5fe4b3155734f60a67c8ab5da6b53174e1b Mon Sep 17 00:00:00 2001
-From: Bernard Cafarelli <bernard.cafarelli@gmail.com>
-Date: Mon, 17 Oct 2022 15:28:37 +0200
-Subject: [PATCH] Fix audio plugin loading with dlopen
-
-dlopen needs the full name including .so extension
-Set SPD_AUDIO_PLUGIN_ENTRY to correct name (ltdl adds a prefix)
---- a/src/audio/alsa.c
-+++ b/src/audio/alsa.c
-@@ -37,7 +37,11 @@
- #include <alsa/asoundlib.h>
- #include <alsa/pcm.h>
-
-+#ifdef USE_DLOPEN
-+#define SPD_AUDIO_PLUGIN_ENTRY spd_audio_plugin_get
-+#else
- #define SPD_AUDIO_PLUGIN_ENTRY spd_alsa_LTX_spd_audio_plugin_get
-+#endif
- #include <spd_audio_plugin.h>
-
- typedef struct {
---- a/src/audio/libao.c
-+++ b/src/audio/libao.c
-@@ -32,7 +32,11 @@
- #include <glib.h>
- #include <ao/ao.h>
-
-+#ifdef USE_DLOPEN
-+#define SPD_AUDIO_PLUGIN_ENTRY spd_audio_plugin_get
-+#else
- #define SPD_AUDIO_PLUGIN_ENTRY spd_libao_LTX_spd_audio_plugin_get
-+#endif
- #include <spd_audio_plugin.h>
-
- /* send a packet of XXX bytes to the sound device */
---- a/src/audio/nas.c
-+++ b/src/audio/nas.c
-@@ -32,7 +32,11 @@
-
- #include <pthread.h>
-
-+#ifdef USE_DLOPEN
-+#define SPD_AUDIO_PLUGIN_ENTRY spd_audio_plugin_get
-+#else
- #define SPD_AUDIO_PLUGIN_ENTRY spd_nas_LTX_spd_audio_plugin_get
-+#endif
- #include <spd_audio_plugin.h>
-
- typedef struct {
---- a/src/audio/oss.c
-+++ b/src/audio/oss.c
-@@ -39,7 +39,11 @@
-
- #include <sys/soundcard.h>
-
-+#ifdef USE_DLOPEN
-+#define SPD_AUDIO_PLUGIN_ENTRY spd_audio_plugin_get
-+#else
- #define SPD_AUDIO_PLUGIN_ENTRY spd_oss_LTX_spd_audio_plugin_get
-+#endif
- #include <spd_audio_plugin.h>
-
- typedef struct {
---- a/src/audio/pulse.c
-+++ b/src/audio/pulse.c
-@@ -51,7 +51,11 @@
- #include <pulse/simple.h>
- #include <pulse/error.h>
-
-+#ifdef USE_DLOPEN
-+#define SPD_AUDIO_PLUGIN_ENTRY spd_audio_plugin_get
-+#else
- #define SPD_AUDIO_PLUGIN_ENTRY spd_pulse_LTX_spd_audio_plugin_get
-+#endif
- #include <spd_audio_plugin.h>
-
- typedef struct {
---- a/src/common/spd_audio.c
-+++ b/src/common/spd_audio.c
-@@ -120,7 +120,7 @@ AudioID *spd_audio_open(const char *name, void **pars, char **error)
- plugin_dir = PLUGIN_DIR;
-
- #ifdef USE_DLOPEN
-- libname = g_strdup_printf("%s/" SPD_AUDIO_LIB_PREFIX "%s", plugin_dir, name);
-+ libname = g_strdup_printf("%s/" SPD_AUDIO_LIB_PREFIX "%s.so", plugin_dir, name);
- dlhandle = dlopen(libname, RTLD_NOW | RTLD_GLOBAL);
-
- g_free(libname);
-
diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.3-r1.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.3-r1.ebuild
deleted file mode 100644
index 889db1da776b..000000000000
--- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.3-r1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit python-r1 systemd
-
-DESCRIPTION="Speech synthesis interface"
-HOMEPAGE="https://freebsoft.org/speechd"
-SRC_URI="https://github.com/brailcom/speechd/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="alsa ao espeak +espeak-ng flite nas pulseaudio python"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="python? ( ${PYTHON_DEPS} )
- >=dev-libs/dotconf-1.3
- >=dev-libs/glib-2.36:2
- >=media-libs/libsndfile-1.0.2
- alsa? ( media-libs/alsa-lib )
- ao? ( media-libs/libao )
- espeak? ( app-accessibility/espeak )
- espeak-ng? ( app-accessibility/espeak-ng )
- flite? ( app-accessibility/flite )
- nas? ( media-libs/nas )
- pulseaudio? ( media-sound/pulseaudio )"
-RDEPEND="${DEPEND}
- python? ( dev-python/pyxdg[${PYTHON_USEDEP}] )"
-BDEPEND="
- sys-apps/help2man
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.11.1-include-pthread_h.patch
- "${FILESDIR}"/${P}-fix-dlopen.patch
-)
-
-src_configure() {
- # bug 573732
- export GIT_CEILING_DIRECTORIES="${WORKDIR}"
-
- local myeconfargs=(
- --disable-ltdl
- --disable-python
- --disable-static
- --with-baratinoo=no
- --with-ibmtts=no
- --with-kali=no
- --with-pico=no
- --with-voxin=no
- $(use_with alsa)
- $(use_with ao libao)
- $(use_with espeak)
- $(use_with espeak-ng)
- $(use_with flite)
- $(use_with nas)
- $(use_with pulseaudio pulse)
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
- )
- econf "${myeconfargs[@]}"
-}
-
-src_compile() {
- use python && python_copy_sources
-
- emake
-
- if use python; then
- building() {
- cd src/api/python || die
- emake \
- pyexecdir="$(python_get_sitedir)" \
- pythondir="$(python_get_sitedir)"
- }
- python_foreach_impl run_in_build_dir building
- fi
-}
-
-src_install() {
- default
-
- if use python; then
- installation() {
- cd src/api/python || die
- emake \
- DESTDIR="${D}" \
- pyexecdir="$(python_get_sitedir)" \
- pythondir="$(python_get_sitedir)" \
- install
- }
- python_foreach_impl run_in_build_dir installation
- python_replicate_script "${ED}"/usr/bin/spd-conf
- python_foreach_impl python_optimize
- fi
-
- find "${D}" -name '*.la' -type f -delete || die
-}
-
-pkg_postinst() {
- local editconfig="n"
- if ! use espeak-ng; then
- ewarn "You have disabled espeak-ng, which is speech-dispatcher's"
- ewarn "default speech synthesizer."
- ewarn
- editconfig="y"
- fi
- if ! use pulseaudio; then
- ewarn "You have disabled pulseaudio support."
- ewarn "pulseaudio is speech-dispatcher's default audio subsystem."
- ewarn
- editconfig="y"
- fi
- if [[ "${editconfig}" == "y" ]]; then
- ewarn "You must edit ${EROOT}/etc/speech-dispatcher/speechd.conf"
- ewarn "and make sure the settings there match your system."
- ewarn
- fi
-}