summaryrefslogtreecommitdiff
path: root/app-accessibility
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
commite8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 (patch)
tree14ad0b4141ec6704388a9130b87976ed75435984 /app-accessibility
parent6fcdccbe589d724b6c268b49f66414e40eb0d807 (diff)
gentoo auto-resync : 14:09:2024 - 12:32:27
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/Manifest.gzbin4393 -> 4393 bytes
-rw-r--r--app-accessibility/speech-dispatcher/Manifest3
-rw-r--r--app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.4-GNU_SOURCE.patch103
-rw-r--r--app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild128
4 files changed, 0 insertions, 234 deletions
diff --git a/app-accessibility/Manifest.gz b/app-accessibility/Manifest.gz
index 124bc9333bd7..d9cc53e34ef7 100644
--- a/app-accessibility/Manifest.gz
+++ b/app-accessibility/Manifest.gz
Binary files differ
diff --git a/app-accessibility/speech-dispatcher/Manifest b/app-accessibility/speech-dispatcher/Manifest
index 640237fc3f8d..73ac636b8eb4 100644
--- a/app-accessibility/speech-dispatcher/Manifest
+++ b/app-accessibility/speech-dispatcher/Manifest
@@ -1,6 +1,3 @@
-AUX speech-dispatcher-0.11.4-GNU_SOURCE.patch 3680 BLAKE2B 671b55d0418b92d299427fd2d457e3279f1ae9d97548dd1ff89b52a2487cd700c134e7bb042ae6b621883933d1b3c96765f6fc2ed040c0de4c7d97f017ad965f SHA512 d07edc73370fdb8d9c71f8cc9c9db15da8fe3b7d83ca42bd05a09fc4795899786e54436d7dbc8407ab08eb0384997126322352ed9d4c4250d41a11d0d68dd4b4
-DIST speech-dispatcher-0.11.4.tar.gz 7127323 BLAKE2B 651a20ec403c6158756ab6ff7fbedb38ce1cec413be49367128274c8d20ccc7080a2dccd68cb7ebbec6bab05599f06a4aafc561e4e5e53cf52d19fa1b94fa286 SHA512 d0ebe832e2586abdb1284be36f8427cfbbd94f1a2dead1b74526b151e9529f9e61679339274b73afab5f829d184337372ba0aad93d880c42d2a6a1bcb2b7afef
DIST speech-dispatcher-0.11.5.tar.gz 7230756 BLAKE2B cacc0030489c17dcab4648c55e5b203f40d7a473be9a1ec0402e39fc8f853d30596caff4204052782ca562cc318363aa52118e6d375b5e9bf505ef7159129544 SHA512 d6d880bce0ae5bc2a5d519ef7740c689ae8b4b0bb658379762810e4beae3e465a429fbe19f7c490e89db0ea6a36aedd4b2287ac9251b90059b5c2cb3c0dd8a28
-EBUILD speech-dispatcher-0.11.4-r2.ebuild 2907 BLAKE2B 52525950d7146aa1459bdb0b4ad3f4f276aca39a2f86960c1ccef9c418a823f7743b58d928a1068a528bfc43f070d3f7730d3e26ef0d1863900287ae6af528fb SHA512 71d68dbdd8378dd793bbc23077e783dc2137c997a6107e8ea7d2fb9170ff08a5f6b529db73ee5a6fa53e2d4d85c5077e2db8816bc938e1ad5b028d17cadc2a96
EBUILD speech-dispatcher-0.11.5.ebuild 2747 BLAKE2B 9753599a5455485a7dfa3526981f22bc1955f7e59135c21d6c90920a1f3718d13d84b7053ebaa89557b2d375a4cdfb3652feb69977d1b67554f43f045ebd8899 SHA512 00b55cce36e5eeb35c59646a3683ce0901e20de9194c1094ddb2245091e58565d7fb6d6a62999c1ca996a4b6e72f18499a3969a5761228d8d6ad6bb3f5f8350a
MISC metadata.xml 721 BLAKE2B 926d97f613858988bb43ba292b45699cd0d2df876d05db38767296d1408d6f60580f32a019cd1541a517ad27606185d046838637ee4c4c27c6c70ced30d0d492 SHA512 22eeafb4e7bad9bdd96f5b950a5bbdd5259734b589bfb34876fe758a0779a5dda532b0bd696acf9da5ff124bb78e3b58d6787bd8bdc698879e34e6c8ed5bcd45
diff --git a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.4-GNU_SOURCE.patch b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.4-GNU_SOURCE.patch
deleted file mode 100644
index 9f08e5a863a4..000000000000
--- a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.4-GNU_SOURCE.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-https://github.com/brailcom/speechd/pull/789
-
-From da19d096901466e5ff395846405547d422c90b4c Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Mon, 31 Oct 2022 18:33:17 +0000
-Subject: [PATCH] Use AC_USE_SYSTEM_EXTENSIONS
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-We already set _GNU_SOURCE in various places but not consistently. Let's
-just use autoconf's AC_USE_SYSTEM_EXTENSIONS to ensure it's always set.
-
-Fixes failure when building tests:
-```
-x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/api/c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type -ggdb3 -Werror=format-security -Werror=implicit-function-declaration -Wimplicit-int -Wformat -c -o run_test.o run_test.c
-run_test.c: In function ‘wait_for’:
-run_test.c:93:21: error: implicit declaration of function ‘strcasestr’; did you mean ‘strcasecmp’? [-Werror=implicit-function-declaration]
- 93 | while (0 == strcasestr(reply, event)) {
- | ^~~~~~~~~~
- | strcasecmp
-cc1: some warnings being treated as errors
-```
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/configure.ac
-+++ b/configure.ac
-@@ -68,6 +68,8 @@ AC_PROG_LN_S
- AC_CHECK_PROGS([HELP2MAN], [help2man])
- AM_CONDITIONAL([HAVE_HELP2MAN], [test "x$HELP2MAN" != "x"])
-
-+AC_USE_SYSTEM_EXTENSIONS
-+
- # Checks for libraries.
- AC_SEARCH_LIBS([sqrt], [m], [],
- [AC_MSG_FAILURE([Math library missing])])
---- a/src/api/c/Makefile.am
-+++ b/src/api/c/Makefile.am
-@@ -24,7 +24,7 @@ BUILT_SOURCES = libspeechd_version.h
- lib_LTLIBRARIES = libspeechd.la
- libspeechd_la_SOURCES = libspeechd.c
- libspeechd_la_CFLAGS = $(ERROR_CFLAGS)
--libspeechd_la_CPPFLAGS = $(inc_local) -D_GNU_SOURCE $(GLIB_CFLAGS) -DSPD_SPAWN_CMD=\""$(prefix)/bin/speech-dispatcher"\"
-+libspeechd_la_CPPFLAGS = $(inc_local) $(GLIB_CFLAGS) -DSPD_SPAWN_CMD=\""$(prefix)/bin/speech-dispatcher"\"
- libspeechd_la_LDFLAGS = -version-info $(LIB_SPD_CURRENT):$(LIB_SPD_REVISION):$(LIB_SPD_AGE)
- libspeechd_la_LIBADD = $(GLIB_LIBS)
-
---- a/src/api/guile/gssip.c
-+++ b/src/api/guile/gssip.c
-@@ -24,8 +24,6 @@
- #include <config.h>
- #endif
-
--#define _GNU_SOURCE
--
- #include <stdio.h>
- #include <string.h>
-
---- a/src/audio/pulse.c
-+++ b/src/audio/pulse.c
-@@ -34,8 +34,6 @@
- *
- */
-
--#define _GNU_SOURCE
--
- #ifdef HAVE_CONFIG_H
- #include <config.h>
- #endif
---- a/src/clients/spdsend/spdsend.h
-+++ b/src/clients/spdsend/spdsend.h
-@@ -24,8 +24,6 @@
-
- #define __SPDSEND_H
-
--#define _GNU_SOURCE
--
- #include <stddef.h>
-
- /* Configuration */
---- a/src/modules/Makefile.am
-+++ b/src/modules/Makefile.am
-@@ -32,7 +32,7 @@ common_LDADD = $(DOTCONF_LIBS) $(GLIB_LIBS) $(audio_dlopen) -lpthread
-
- AM_CFLAGS = $(ERROR_CFLAGS)
- AM_CXXFLAGS = $(ERROR_CFLAGS)
--AM_CPPFLAGS = $(inc_local) -DDATADIR=\"$(snddatadir)\" -D_GNU_SOURCE $(GLIB_CFLAGS)
-+AM_CPPFLAGS = $(inc_local) -DDATADIR=\"$(snddatadir)\" $(GLIB_CFLAGS)
-
- module_utils_CPPFLAGS = $(AM_CPPFLAGS) \
- $(DOTCONF_CFLAGS)
---- a/src/server/Makefile.am
-+++ b/src/server/Makefile.am
-@@ -35,7 +35,7 @@ speech_dispatcher_CPPFLAGS = $(inc_local) $(DOTCONF_CFLAGS) $(GLIB_CFLAGS) \
- -DMODULEBINDIR=\"$(modulebindir)\" \
- -DOLDMODULEBINDIR=\"$(oldmodulebindir)\" \
- -DLOCALE_DATA=\"$(localedatadir)\" \
-- -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"$(default_audio_method)\"
-+ -DDEFAULT_AUDIO_METHOD=\"$(default_audio_method)\"
- speech_dispatcher_LDFLAGS = $(RDYNAMIC)
- speech_dispatcher_LDADD = $(lib_common) $(DOTCONF_LIBS) $(GLIB_LIBS) \
- $(SNDFILE_LIBS) $(GMODULE_LIBS) $(GTHREAD_LIBS) $(EXTRA_SOCKET_LIBS) \
-
diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild
deleted file mode 100644
index 8011c7a470e0..000000000000
--- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-# TODO: drop autotools + eautoreconf after 0.11.4
-inherit autotools 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 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="alsa ao +espeak 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-ng )
- flite? ( app-accessibility/flite )
- nas? ( media-libs/nas )
- pulseaudio? ( media-libs/libpulse )"
-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.4-GNU_SOURCE.patch
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-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
- --with-espeak=no
- $(use_with alsa)
- $(use_with ao libao)
- $(use_with espeak 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; 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
-}