summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/accerciser/Manifest2
-rw-r--r--app-accessibility/accerciser/accerciser-3.42.0.ebuild (renamed from app-accessibility/accerciser/accerciser-3.38.0.ebuild)13
-rw-r--r--app-accessibility/accerciser/metadata.xml9
-rw-r--r--app-accessibility/at-spi2-atk/Manifest1
-rw-r--r--app-accessibility/at-spi2-atk/at-spi2-atk-2.38.0.ebuild39
-rw-r--r--app-accessibility/at-spi2-atk/at-spi2-atk-2.46.0.ebuild16
-rw-r--r--app-accessibility/at-spi2-atk/metadata.xml22
-rw-r--r--app-accessibility/at-spi2-core/Manifest5
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.42.0.ebuild57
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild56
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.44.1.ebuild55
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.50.1.ebuild76
-rw-r--r--app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild76
-rw-r--r--app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch38
-rw-r--r--app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch13
-rw-r--r--app-accessibility/at-spi2-core/files/at-spi2-core-2.42.0-fix-disabling-x11.patch36
-rw-r--r--app-accessibility/at-spi2-core/metadata.xml14
-rw-r--r--app-accessibility/brltty/Manifest3
-rw-r--r--app-accessibility/brltty/brltty-6.1-r1.ebuild218
-rw-r--r--app-accessibility/brltty/brltty-6.1.ebuild218
-rw-r--r--app-accessibility/brltty/brltty-6.4.ebuild210
-rw-r--r--app-accessibility/brltty/brltty-6.6-r1.ebuild (renamed from app-accessibility/brltty/brltty-6.4-r1.ebuild)58
-rw-r--r--app-accessibility/brltty/files/brltty-5.2-respect-AR.patch11
-rw-r--r--app-accessibility/brltty/files/brltty-6.0-udev.patch27
-rw-r--r--app-accessibility/brltty/files/brltty-6.6-cython3.patch41
-rw-r--r--app-accessibility/brltty/files/brltty.rc12
-rw-r--r--app-accessibility/brltty/files/brltty.tmpfiles.conf1
-rw-r--r--app-accessibility/brltty/metadata.xml3
-rw-r--r--app-accessibility/caribou/caribou-0.4.21-r6.ebuild (renamed from app-accessibility/caribou/caribou-0.4.21-r4.ebuild)8
-rw-r--r--app-accessibility/caribou/caribou-0.4.21-r7.ebuild94
-rw-r--r--app-accessibility/edbrowse/edbrowse-3.8.2.1-r2.ebuild (renamed from app-accessibility/edbrowse/edbrowse-3.8.2.1-r1.ebuild)31
-rw-r--r--app-accessibility/edbrowse/files/edbrowse-3.8.2.1-quickjs-respect-flags.patch41
-rw-r--r--app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r1.ebuild (renamed from app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild)12
-rw-r--r--app-accessibility/emacspeak/Manifest2
-rw-r--r--app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild77
-rw-r--r--app-accessibility/emacspeak/emacspeak-56.0-r1.ebuild94
-rw-r--r--app-accessibility/emacspeak/emacspeak-9999.ebuild73
-rw-r--r--app-accessibility/emacspeak/metadata.xml1
-rw-r--r--app-accessibility/epos/epos-2.5.37-r3.ebuild18
-rw-r--r--app-accessibility/espeak-ng/Manifest2
-rw-r--r--app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild88
-rw-r--r--app-accessibility/espeak-ng/espeak-ng-1.51.ebuild13
-rw-r--r--app-accessibility/espeak-ng/espeak-ng-9999.ebuild18
-rw-r--r--app-accessibility/espeak-ng/metadata.xml2
-rw-r--r--app-accessibility/espeak/Manifest1
-rw-r--r--app-accessibility/espeak/espeak-1.48.04-r1.ebuild100
-rw-r--r--app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch13
-rw-r--r--app-accessibility/espeak/metadata.xml14
-rw-r--r--app-accessibility/espeakup/Manifest1
-rw-r--r--app-accessibility/espeakup/espeakup-0.80.ebuild62
-rw-r--r--app-accessibility/espeakup/espeakup-0.90-r1.ebuild (renamed from app-accessibility/espeakup/espeakup-0.90.ebuild)6
-rw-r--r--app-accessibility/espeakup/espeakup-9999.ebuild4
-rw-r--r--app-accessibility/espeakup/files/espeakup.rc12
-rw-r--r--app-accessibility/flite/files/flite-2.2-backport-pr30.patch91
-rw-r--r--app-accessibility/flite/files/flite-2.2-make-4.4.patch60
-rw-r--r--app-accessibility/flite/flite-2.2-r1.ebuild (renamed from app-accessibility/flite/flite-2.2.ebuild)34
-rw-r--r--app-accessibility/freetts/freetts-1.2.2-r2.ebuild6
-rw-r--r--app-accessibility/julius/julius-4.2.2-r1.ebuild (renamed from app-accessibility/julius/julius-4.2.2.ebuild)8
-rw-r--r--app-accessibility/julius/metadata.xml2
-rw-r--r--app-accessibility/kontrast/Manifest4
-rw-r--r--app-accessibility/kontrast/kontrast-22.04.1.ebuild33
-rw-r--r--app-accessibility/kontrast/kontrast-23.08.5.ebuild (renamed from app-accessibility/kontrast/kontrast-21.12.3.ebuild)12
-rw-r--r--app-accessibility/kontrast/kontrast-24.02.2.ebuild31
-rw-r--r--app-accessibility/kontrast/metadata.xml1
-rw-r--r--app-accessibility/mbrola-voices/mbrola-voices-0_pre20200331.ebuild2
-rw-r--r--app-accessibility/mbrola/Manifest24
-rw-r--r--app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild92
-rw-r--r--app-accessibility/mbrola/mbrola-3.3-r1.ebuild2
-rw-r--r--app-accessibility/mbrola/metadata.xml19
-rw-r--r--app-accessibility/nfbtrans/files/nfbtrans-7.74-modern-c.patch98
-rw-r--r--app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild4
-rw-r--r--app-accessibility/nfbtrans/nfbtrans-7.74-r3.ebuild49
-rw-r--r--app-accessibility/orca/Manifest5
-rw-r--r--app-accessibility/orca/metadata.xml31
-rw-r--r--app-accessibility/orca/orca-42.0.ebuild63
-rw-r--r--app-accessibility/orca/orca-45.1.ebuild (renamed from app-accessibility/orca/orca-41.2.ebuild)14
-rw-r--r--app-accessibility/orca/orca-45.2.ebuild (renamed from app-accessibility/orca/orca-42.1.ebuild)14
-rw-r--r--app-accessibility/powiedz/metadata.xml2
-rw-r--r--app-accessibility/sound-icons/sound-icons-0.1.ebuild16
-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/files/speech-dispatcher-0.9.1-fno-common.patch466
-rw-r--r--app-accessibility/speech-dispatcher/metadata.xml6
-rw-r--r--app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild (renamed from app-accessibility/speech-dispatcher/speech-dispatcher-0.11.1.ebuild)35
-rw-r--r--app-accessibility/speech-dispatcher/speech-dispatcher-0.9.1.ebuild117
-rw-r--r--app-accessibility/speech-tools/files/speech-tools-2.5.0-drop-curses.patch43
-rw-r--r--app-accessibility/speech-tools/files/speech-tools-2.5.0-musl-isnan.patch65
-rw-r--r--app-accessibility/speech-tools/files/speech-tools-2.5.0-warnings.patch35
-rw-r--r--app-accessibility/speech-tools/metadata.xml4
-rw-r--r--app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild (renamed from app-accessibility/speech-tools/speech-tools-2.5.0.ebuild)19
-rw-r--r--app-accessibility/speech-tools/speech-tools-2.5.0-r2.ebuild156
-rw-r--r--app-accessibility/speechd-el/Manifest1
-rw-r--r--app-accessibility/speechd-el/files/50speechd-el-gentoo.el5
-rw-r--r--app-accessibility/speechd-el/metadata.xml5
-rw-r--r--app-accessibility/speechd-el/speechd-el-2.11.ebuild45
-rw-r--r--app-accessibility/sphinx2/sphinx2-0.6-r1.ebuild (renamed from app-accessibility/sphinx2/sphinx2-0.6.ebuild)22
96 files changed, 1550 insertions, 2414 deletions
diff --git a/app-accessibility/accerciser/Manifest b/app-accessibility/accerciser/Manifest
index 7b54af672b6b..b3f4b577c1ef 100644
--- a/app-accessibility/accerciser/Manifest
+++ b/app-accessibility/accerciser/Manifest
@@ -1 +1 @@
-DIST accerciser-3.38.0.tar.xz 2006380 BLAKE2B 8a073e3a933386c9ae46d71535a3a49930bf8100d1458ac1875e1bcb69acc13e2331ac568c566ec6b8fe8ff9836155cc2ff20558de0e21942a29a568ff916fa5 SHA512 5740e4acfb00f5842dac8045ca9f10c85cf2ae164f3e0caf63ec303ff104002ace6de591a9b6516c4052ec0da8e48b394647f018b6c8b68a6c5ff77c4fff2904
+DIST accerciser-3.42.0.tar.xz 1999644 BLAKE2B 190f37ab94aba2dd1f16594242426a33bac366b89eb284c739c02a96cf0330ccb562237079d79ade5b729c5e38facbb542af2ace195a5d9b6d1c68a5005ba653 SHA512 65c3819c80c9ec3c8728963572a2c7bb4575782abde8ee34e3b7fa31217ef0e8106a7702c5b5a32b123ccb84b357984844a6d4aee75bf7e6157f3d63588224da
diff --git a/app-accessibility/accerciser/accerciser-3.38.0.ebuild b/app-accessibility/accerciser/accerciser-3.42.0.ebuild
index d3daff14e3e0..2a58c7a94afb 100644
--- a/app-accessibility/accerciser/accerciser-3.38.0.ebuild
+++ b/app-accessibility/accerciser/accerciser-3.42.0.ebuild
@@ -1,25 +1,24 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="xml"
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="xml(+)"
inherit gnome2 python-single-r1
DESCRIPTION="Interactive Python accessibility explorer"
-HOMEPAGE="https://wiki.gnome.org/Apps/Accerciser"
+HOMEPAGE="https://wiki.gnome.org/Apps/Accerciser https://gitlab.gnome.org/GNOME/accerciser"
LICENSE="BSD CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
>=app-accessibility/at-spi2-core-2.5.2:2
- >=x11-libs/gtk+-3.1.13:3[introspection]
+ >=x11-libs/gtk+-3.24.0:3[introspection]
$(python_gen_cond_dep '
>=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
>=dev-python/ipython-0.11[${PYTHON_USEDEP}]
diff --git a/app-accessibility/accerciser/metadata.xml b/app-accessibility/accerciser/metadata.xml
index 8dd8465f8b5c..3d77751efc4b 100644
--- a/app-accessibility/accerciser/metadata.xml
+++ b/app-accessibility/accerciser/metadata.xml
@@ -6,8 +6,11 @@
<name>Gentoo GNOME Desktop</name>
</maintainer>
<longdescription lang="en">
-Accerciser is an interactive Python accessibility explorer for the GNOME desktop. It uses AT-SPI to inspect and control widgets, allowing you to check if an application is providing correct information to assistive technologies and automated test frameworks. Accerciser has a simple plugin framework which you can use to create custom views of accessibility information.
+ Accerciser is an interactive Python accessibility explorer for the GNOME desktop. It uses AT-SPI to inspect and control widgets, allowing you to check if an application is providing correct information to assistive technologies and automated test frameworks. Accerciser has a simple plugin framework which you can use to create custom views of accessibility information.
-In essence, Accerciser is a next generation at-poke tool.
-</longdescription>
+ In essence, Accerciser is a next generation at-poke tool.
+ </longdescription>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/accerciser</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-accessibility/at-spi2-atk/Manifest b/app-accessibility/at-spi2-atk/Manifest
deleted file mode 100644
index 27483b5554c1..000000000000
--- a/app-accessibility/at-spi2-atk/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST at-spi2-atk-2.38.0.tar.xz 97464 BLAKE2B c5a62bd157ac6dcbf19495eb8f92bd6346651b8df64e15acf4d25c1ab35790f154bead1e012714da36c700e58e164527755137a33812f3a1844aa34f0293ebf5 SHA512 2f40ecbc55b0fbaa57ade952a75583bc8fbfde234cce9248489e9ae06e0597d98c2f4c77d8279758dec29da97e06cde5708d30a1238d91bebd023b2320f38528
diff --git a/app-accessibility/at-spi2-atk/at-spi2-atk-2.38.0.ebuild b/app-accessibility/at-spi2-atk/at-spi2-atk-2.38.0.ebuild
deleted file mode 100644
index 9049aca81d4b..000000000000
--- a/app-accessibility/at-spi2-atk/at-spi2-atk-2.38.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit gnome.org meson-multilib virtualx xdg
-
-DESCRIPTION="Gtk module for bridging AT-SPI to Atk"
-HOMEPAGE="https://wiki.gnome.org/Accessibility"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
- >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
- >=dev-libs/atk-2.36.0[${MULTILIB_USEDEP}]
- >=app-accessibility/at-spi2-core-2.33.2[${MULTILIB_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- gnome-base/gsettings-desktop-schemas
- virtual/pkgconfig
- test? ( >=dev-libs/libxml2-2.9.1 )
-"
-
-multilib_src_configure() {
- local emesonargs=(
- $(meson_use test tests)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- virtx dbus-run-session meson test -C "${BUILD_DIR}"
-}
diff --git a/app-accessibility/at-spi2-atk/at-spi2-atk-2.46.0.ebuild b/app-accessibility/at-spi2-atk/at-spi2-atk-2.46.0.ebuild
new file mode 100644
index 000000000000..2e2b07fde27f
--- /dev/null
+++ b/app-accessibility/at-spi2-atk/at-spi2-atk-2.46.0.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-build
+
+DESCRIPTION="Gtk module for bridging AT-SPI to Atk"
+HOMEPAGE="https://wiki.gnome.org/Accessibility"
+
+LICENSE="metapackage"
+SLOT="2"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+DEPEND=""
+RDEPEND=">=app-accessibility/at-spi2-core-2.46.0[${MULTILIB_USEDEP}]"
diff --git a/app-accessibility/at-spi2-atk/metadata.xml b/app-accessibility/at-spi2-atk/metadata.xml
index f7da9e6ff556..2df23ac8ea0d 100644
--- a/app-accessibility/at-spi2-atk/metadata.xml
+++ b/app-accessibility/at-spi2-atk/metadata.xml
@@ -1,13 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
-<longdescription lang="en">at-spi2-atk is the library used to bridge ATK to AT-SPI, allowing applications
-exposing information via ATK to interface with clients that use AT-SPI. This
-module provides the necessary inter-process communication to allow
-accessibility-oriented software to operate.
-</longdescription>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">
+ at-spi2-atk is the library used to bridge ATK to AT-SPI, allowing applications
+ exposing information via ATK to interface with clients that use AT-SPI. This
+ module provides the necessary inter-process communication to allow
+ accessibility-oriented software to operate.
+ </longdescription>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/at-spi2-atk</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-accessibility/at-spi2-core/Manifest b/app-accessibility/at-spi2-core/Manifest
index 870221f601b4..a089d62360c6 100644
--- a/app-accessibility/at-spi2-core/Manifest
+++ b/app-accessibility/at-spi2-core/Manifest
@@ -1,3 +1,2 @@
-DIST at-spi2-core-2.42.0.tar.xz 198016 BLAKE2B 9b14d7d0f5845c7510f7b256a05f5e30c3d3d893a9ae63eee81b3d378dfa9f6ebaa9853f60b23734929692efc4b8c652d4bd7bd035bd989fe0006975bdbea427 SHA512 befcab94b3aa99471723238d9666fc6667041b058a2bac3b012cfa15a91950996431296f33c921764e0ec4ffd0cc41ebe00be461a8460d6f4d2bafff19a38e10
-DIST at-spi2-core-2.44.0.tar.xz 209692 BLAKE2B 149251ba4061f5dbfac1e27775491bb6d7cee279cb7bd58c05f97cdec8a4e0208e5a129651a07c9febea681cc3fe36a7d7fa57c43c2b558249cdd321466729dd SHA512 6d74a56d7ad6c643985e98aebbbf0cdaad69c03b8030f8968bd9cce9357805cd846d71d35d2cc4a193770cd6d4a83cbfb98ef082e17719f3dee7b839c48bda44
-DIST at-spi2-core-2.44.1.tar.xz 209780 BLAKE2B e76f0b0c478564181db774633dfc9613bdfa6c74c5c52878d877723e37605b7b7169fee45a9025b331e84bf5af8132eed50b388db9ac1aee0fec7776a633628a SHA512 8d85df75f886c4a19d829d14e5a9412b607b9cbe2d1b7ecb95b4082602f0624e90747fe955f96d378c3a52bc0e732074b97008bb34e6acc2722c7056b2c0504e
+DIST at-spi2-core-2.50.1.tar.xz 567836 BLAKE2B 88916f322efa547be2249388a5f7b698ff7fb9464bc98fa929524616d0d25237328c10678df800b9ce325a3050804e9b0044a43024d06b71381dfc32917700a3 SHA512 d0b342a1ff2a3dd91aa87663412289d1616906c14a37e81b8514882d44981092356dc8a5d5c66b6d980d2cdf22128fff74651a4af6cad73cb62fd3154c5bbeae
+DIST at-spi2-core-2.50.2.tar.xz 569124 BLAKE2B 7a69dbeb68b674d5b4e458dc10ba0e266583216f6a45f1924dee28e848bc124802f5181b0b1cc969eae2dfbb13df56b0c87bb1f347f6e323f6474d02a3543664 SHA512 a1c9ca77d34801b421c13f66d72e6101b23896dd210efbd7931ac0778e30c51a20759796a8c121946f57c1683626fd3ef34f88e5ad6495c20f6ac79fd0a96aa4
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.42.0.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.42.0.ebuild
deleted file mode 100644
index 50059a5040db..000000000000
--- a/app-accessibility/at-spi2-core/at-spi2-core-2.42.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit gnome.org meson-multilib systemd virtualx xdg
-
-DESCRIPTION="D-Bus accessibility specifications and registration daemon"
-HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="X gtk-doc +introspection"
-REQUIRED_USE="gtk-doc? ( X )"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
- >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
- >=dev-libs/glib-2.62:2[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
- X? (
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXtst[${MULTILIB_USEDEP}]
- x11-libs/libXi[${MULTILIB_USEDEP}]
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- gtk-doc? (
- >=dev-util/gtk-doc-1.25
- app-text/docbook-xml-dtd:4.3
- )
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
-"
-
-PATCHES=(
- # disable teamspaces test since that requires Novell.ICEDesktop.Daemon
- "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
-
- "${FILESDIR}/${PN}-2.42.0-fix-disabling-x11.patch"
-)
-
-multilib_src_configure() {
- local emesonargs=(
- -Dsystemd_user_dir="$(systemd_get_userunitdir)"
- $(meson_native_use_bool gtk-doc docs)
- -Dintrospection=$(multilib_native_usex introspection)
- -Dx11=$(usex X)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- virtx dbus-run-session meson test -C "${BUILD_DIR}"
-}
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild
deleted file mode 100644
index ec6aee601bdb..000000000000
--- a/app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit gnome.org meson-multilib systemd virtualx xdg
-
-DESCRIPTION="D-Bus accessibility specifications and registration daemon"
-HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="X gtk-doc +introspection"
-REQUIRED_USE="gtk-doc? ( X )"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
- >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
- >=dev-libs/glib-2.62:2[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
- X? (
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXtst[${MULTILIB_USEDEP}]
- x11-libs/libXi[${MULTILIB_USEDEP}]
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- gtk-doc? (
- >=dev-util/gtk-doc-1.25
- app-text/docbook-xml-dtd:4.3
- )
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
-"
-
-PATCHES=(
- # disable teamspaces test since that requires Novell.ICEDesktop.Daemon
- "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
- "${FILESDIR}/${PV}-Fix-build-with-X11-disabled.patch"
-)
-
-multilib_src_configure() {
- local emesonargs=(
- -Dsystemd_user_dir="$(systemd_get_userunitdir)"
- $(meson_native_use_bool gtk-doc docs)
- -Dintrospection=$(multilib_native_usex introspection)
- -Dx11=$(usex X)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- virtx dbus-run-session meson test -C "${BUILD_DIR}"
-}
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.44.1.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.44.1.ebuild
deleted file mode 100644
index cc1490ec802f..000000000000
--- a/app-accessibility/at-spi2-core/at-spi2-core-2.44.1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit gnome.org meson-multilib systemd virtualx xdg
-
-DESCRIPTION="D-Bus accessibility specifications and registration daemon"
-HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="X gtk-doc +introspection"
-REQUIRED_USE="gtk-doc? ( X )"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-RDEPEND="
- >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
- >=dev-libs/glib-2.62:2[${MULTILIB_USEDEP}]
- introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
- X? (
- x11-libs/libX11[${MULTILIB_USEDEP}]
- x11-libs/libXtst[${MULTILIB_USEDEP}]
- x11-libs/libXi[${MULTILIB_USEDEP}]
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-util/glib-utils
- gtk-doc? (
- >=dev-util/gtk-doc-1.25
- app-text/docbook-xml-dtd:4.3
- )
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
-"
-
-PATCHES=(
- # disable teamspaces test since that requires Novell.ICEDesktop.Daemon
- "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
-)
-
-multilib_src_configure() {
- local emesonargs=(
- -Dsystemd_user_dir="$(systemd_get_userunitdir)"
- $(meson_native_use_bool gtk-doc docs)
- -Dintrospection=$(multilib_native_usex introspection)
- -Dx11=$(usex X)
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- virtx dbus-run-session meson test -C "${BUILD_DIR}"
-}
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.50.1.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.50.1.ebuild
new file mode 100644
index 000000000000..c9b6e0cf8240
--- /dev/null
+++ b/app-accessibility/at-spi2-core/at-spi2-core-2.50.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson-multilib systemd virtualx xdg
+
+DESCRIPTION="D-Bus accessibility specifications and registration daemon"
+HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="X dbus-broker gtk-doc +introspection systemd"
+REQUIRED_USE="
+ dbus-broker? ( systemd )
+ gtk-doc? ( X )
+"
+
+DEPEND="
+ >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}]
+ >=dev-libs/libxml2-2.9.1:2[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
+ systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
+ X? (
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXtst[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ )
+
+ !<dev-libs/atk-2.46.0
+ !<app-accessibility/at-spi2-atk-2.46.0
+"
+RDEPEND="${DEPEND}
+ dbus-broker? ( sys-apps/dbus-broker )
+"
+BDEPEND="
+ dev-util/glib-utils
+ gtk-doc? (
+ dev-python/sphinx
+ dev-util/gdbus-codegen
+ >=dev-util/gi-docgen-2021.1
+ )
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddefault_bus=$(usex dbus-broker dbus-broker dbus-daemon)
+ $(meson_use systemd use_systemd)
+ -Dgtk2_atk_adaptor=true
+ -Dsystemd_user_dir="$(systemd_get_userunitdir)"
+ $(meson_native_use_bool gtk-doc docs)
+ $(meson_native_use_feature introspection)
+ $(meson_feature X x11)
+ -Ddisable_p2p=false
+ -Datk_only=false
+ )
+ meson_src_configure
+}
+
+multilib_src_test() {
+ virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/{libatspi,atk} || die
+ mv "${ED}"/usr/share/doc/libatspi "${ED}"/usr/share/gtk-doc/libatspi/html || die
+ mv "${ED}"/usr/share/doc/atk "${ED}"/usr/share/gtk-doc/atk/html || die
+ fi
+}
diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild
new file mode 100644
index 000000000000..047d31f55875
--- /dev/null
+++ b/app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson-multilib systemd virtualx xdg
+
+DESCRIPTION="D-Bus accessibility specifications and registration daemon"
+HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="X dbus-broker gtk-doc +introspection systemd"
+REQUIRED_USE="
+ dbus-broker? ( systemd )
+ gtk-doc? ( X )
+"
+
+DEPEND="
+ >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}]
+ >=dev-libs/libxml2-2.9.1:2[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
+ systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
+ X? (
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXtst[${MULTILIB_USEDEP}]
+ x11-libs/libXi[${MULTILIB_USEDEP}]
+ )
+
+ !<dev-libs/atk-2.46.0
+ !<app-accessibility/at-spi2-atk-2.46.0
+"
+RDEPEND="${DEPEND}
+ dbus-broker? ( sys-apps/dbus-broker )
+"
+BDEPEND="
+ dev-util/glib-utils
+ gtk-doc? (
+ dev-python/sphinx
+ dev-util/gdbus-codegen
+ >=dev-util/gi-docgen-2021.1
+ )
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddefault_bus=$(usex dbus-broker dbus-broker dbus-daemon)
+ $(meson_use systemd use_systemd)
+ -Dgtk2_atk_adaptor=true
+ -Dsystemd_user_dir="$(systemd_get_userunitdir)"
+ $(meson_native_use_bool gtk-doc docs)
+ $(meson_native_use_feature introspection)
+ $(meson_feature X x11)
+ -Ddisable_p2p=false
+ -Datk_only=false
+ )
+ meson_src_configure
+}
+
+multilib_src_test() {
+ virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/{libatspi,atk} || die
+ mv "${ED}"/usr/share/doc/libatspi "${ED}"/usr/share/gtk-doc/libatspi/html || die
+ mv "${ED}"/usr/share/doc/atk "${ED}"/usr/share/gtk-doc/atk/html || die
+ fi
+}
diff --git a/app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch b/app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch
deleted file mode 100644
index bd6dfaaec885..000000000000
--- a/app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 08036a4c4491eea57d7b713bb4440f541584204b Mon Sep 17 00:00:00 2001
-From: Mike Gorse <mgorse@suse.com>
-Date: Mon, 21 Mar 2022 10:19:03 -0500
-Subject: [PATCH] Fix build with X11 disabled
-
-Closes #51
----
- registryd/deviceeventcontroller.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
-index 8a321adc..3068ec4b 100644
---- a/registryd/deviceeventcontroller.c
-+++ b/registryd/deviceeventcontroller.c
-@@ -1720,16 +1720,16 @@ spi_dec_synth_keysym (SpiDEController *controller, long keysym)
- if (synth_mods != modifiers) {
- lock_mods = synth_mods & ~modifiers;
- spi_dec_plat_lock_modifiers (controller, lock_mods);
-- if (modifiers & LockMask)
-- spi_dec_plat_unlock_modifiers (controller, LockMask);
-+ if (modifiers & SPI_KEYMASK_SHIFTLOCK)
-+ spi_dec_plat_unlock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
- }
- spi_dec_plat_synth_keycode_press (controller, key_synth_code);
- spi_dec_plat_synth_keycode_release (controller, key_synth_code);
-
- if (synth_mods != modifiers) {
- spi_dec_plat_unlock_modifiers (controller, lock_mods);
-- if (modifiers & LockMask)
-- spi_dec_plat_lock_modifiers (controller, LockMask);
-+ if (modifiers & SPI_KEYMASK_SHIFTLOCK)
-+ spi_dec_plat_lock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
- }
- return TRUE;
- }
---
-2.34.1
-
diff --git a/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch b/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch
deleted file mode 100644
index 269236d177e7..000000000000
--- a/app-accessibility/at-spi2-core/files/at-spi2-core-2.0.2-disable-teamspaces-test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/dbind/dbtest.c b/dbind/dbtest.c
-index e8bbb63..9843c3d 100644
---- a/dbind/dbtest.c
-+++ b/dbind/dbtest.c
-@@ -417,7 +417,7 @@ int main (int argc, char **argv)
-
- test_helpers ();
- test_marshalling ();
-- test_teamspaces (bus);
-+ /* test_teamspaces (bus); */
-
- return 0;
- }
diff --git a/app-accessibility/at-spi2-core/files/at-spi2-core-2.42.0-fix-disabling-x11.patch b/app-accessibility/at-spi2-core/files/at-spi2-core-2.42.0-fix-disabling-x11.patch
deleted file mode 100644
index 3bf32724e691..000000000000
--- a/app-accessibility/at-spi2-core/files/at-spi2-core-2.42.0-fix-disabling-x11.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-https://bugs.gentoo.org/829591
-https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/2175d89198440d948075f3268aec5f45430afb3d
-
-From 2175d89198440d948075f3268aec5f45430afb3d Mon Sep 17 00:00:00 2001
-From: Tim Orling <ticotimo@gmail.com>
-Date: Fri, 15 Oct 2021 12:44:39 -0700
-Subject: [PATCH] Ensure x11_dep is defined
-
-bus/meson.build checks if x11_dep.found(), but this fails when
--Dx11=no
-
-References:
- https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/42
- https://mesonbuild.com/howtox.html#get-a-default-notfound-dependency
-
-Signed-off-by: Tim Orling <ticotimo@gmail.com>
----
- meson.build | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index b5104c8c..cfd2e091 100644
---- a/meson.build
-+++ b/meson.build
-@@ -62,6 +62,8 @@ endif
-
- x11_deps = []
- x11_option = get_option('x11')
-+# ensure x11_dep is defined for use elsewhere, such as bus/meson.build
-+x11_dep = dependency('', required: false)
- if x11_option != 'no'
- x11_dep = dependency('x11', required: false)
-
---
-GitLab
-
diff --git a/app-accessibility/at-spi2-core/metadata.xml b/app-accessibility/at-spi2-core/metadata.xml
index 7b343b06be8a..82e71a3a93ce 100644
--- a/app-accessibility/at-spi2-core/metadata.xml
+++ b/app-accessibility/at-spi2-core/metadata.xml
@@ -1,8 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/at-spi2-core</remote-id>
+ </upstream>
+ <use>
+ <flag name="dbus-broker">Use DBus broker implementation instead of default DBus daemon</flag>
+ </use>
</pkgmetadata>
diff --git a/app-accessibility/brltty/Manifest b/app-accessibility/brltty/Manifest
index a078a76e9ad2..9e2ffde0db45 100644
--- a/app-accessibility/brltty/Manifest
+++ b/app-accessibility/brltty/Manifest
@@ -1,2 +1 @@
-DIST brltty-6.1.tar.xz 3394852 BLAKE2B 03e6358721dcd5c3bdee3301a1ed827a690128ec339669543279c7e9a115bef6c5d8630e4af2d0b214b9c7c3eaa9001ab4c54ae7fb899cb3bc675985f51d6933 SHA512 030ef60ef7a9a60dc2fba2a64ea0a0868395eee6f2f86876b4e4111e804a05b44f798a154a69a8f5e0f6358130993c360a550f7decac0535450f9cf939231eaf
-DIST brltty-6.4.tar.xz 3669296 BLAKE2B 2824b212c7e4fea0f65c7ae111432071805aa63117a7e9a9932d7720ef2157f1e6fd33e3e91e4515c7131bd066db8f910969fb186d2007b63bc83efcbe2332b1 SHA512 384848d05f78732952079d6f5170046927fcb35f400ece71ca897415a793c0aa1047934f8cd5e9e781536fb0b7cb71273283f3bba21e59f082ba8f6f2416352e
+DIST brltty-6.6.tar.xz 3684592 BLAKE2B c1ae05b925384f3869d3c90ccc06197da2a592691830504ff01a530da87319d463e25cd7b387805c199562be815ca4e79f3679f592f3a1107025e3aba17ec159 SHA512 852bfd9179570be7b0da8b1279f84bdfedc14a319988d9c2eac5a20a9ce8977f31fdee167e8e96bb411184a1d72f4cdc633944c7b3f55bddae411fc71a9e6898
diff --git a/app-accessibility/brltty/brltty-6.1-r1.ebuild b/app-accessibility/brltty/brltty-6.1-r1.ebuild
deleted file mode 100644
index ca9620c7607c..000000000000
--- a/app-accessibility/brltty/brltty-6.1-r1.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-FINDLIB_USE="ocaml"
-JAVA_PKG_WANT_SOURCE="1.8"
-JAVA_PKG_WANT_TARGET="1.8"
-
-inherit findlib multilib toolchain-funcs java-pkg-opt-2 flag-o-matic usr-ldscript \
- autotools udev systemd python-r1 tmpfiles
-
-DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
-HOMEPAGE="https://brltty.app/"
-SRC_URI="https://brltty.app/archive/${P}.tar.xz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv x86"
-IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu
- java louis +midi ncurses nls ocaml +pcm policykit python
- usb systemd +speech tcl xml X"
-REQUIRED_USE="doc? ( api )
- java? ( api )
- ocaml? ( api )
- python? ( api ${PYTHON_REQUIRED_USE} )
- tcl? ( api )"
-
-DEPEND="
- app-accessibility/at-spi2-core:2
- dev-libs/libpcre2[pcre32]
- sys-apps/dbus
- bluetooth? ( net-wireless/bluez )
- gpm? ( >=sys-libs/gpm-1.20 )
- iconv? ( virtual/libiconv )
- icu? ( dev-libs/icu:= )
- louis? ( dev-libs/liblouis:= )
- midi? ( media-libs/alsa-lib )
- ncurses? ( sys-libs/ncurses:0= )
- pcm? ( media-libs/alsa-lib )
- policykit? ( sys-auth/polkit )
- python? ( ${PYTHON_DEPS} )
- speech? (
- app-accessibility/espeak
- app-accessibility/flite
- app-accessibility/speech-dispatcher
- )
- systemd? ( sys-apps/systemd )
- tcl? ( >=dev-lang/tcl-8.4.15:0= )
- usb? ( virtual/libusb:0 )
- xml? ( dev-libs/expat )
- X? (
- x11-libs/libX11
- x11-libs/libXaw
- x11-libs/libXfixes
- x11-libs/libXt
- x11-libs/libXtst
- )"
-RDEPEND="${DEPEND}
- java? ( >=virtual/jre-1.8:* )
-"
-BDEPEND="
- virtual/pkgconfig
- java? ( >=virtual/jdk-1.8:* )
- nls? ( virtual/libintl )
- python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
-"
-
-HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.0-udev.patch
- "${FILESDIR}"/${PN}-5.2-respect-AR.patch
-)
-
-src_prepare() {
- default
-
- java-pkg-opt-2_src_prepare
-
- # We run eautoconf instead of using eautoreconf because brltty uses
- # a custom build system that uses autoconf without the rest of the
- # autotools.
- eautoconf
- use python && python_copy_sources
-}
-
-src_configure() {
- tc-export AR LD PKG_CONFIG
-
- export JAVAC=""
- export JAVA_JNI_FLAGS=""
- if use java; then
- export JAVA_HOME="$(java-config -g JAVA_HOME)"
- export JAVAC_HOME="${JAVA_HOME}/bin"
- export JAVA_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
- export JAVAC="$(java-pkg_get-javac) -encoding UTF-8 $(java-pkg_javac-args)"
- fi
-
- # override prefix in order to install into /
- # braille terminal needs to be available as soon in the boot process as
- # possible
- # Also override localstatedir so that the lib/brltty directory is installed
- # correctly.
- # Disable stripping since we do that ourselves.
- local myconf=(
- --prefix="${EPREFIX}"/
- --localedir="${EPREFIX}"/usr/share/locale
- --includedir="${EPREFIX}"/usr/include
- --localstatedir="${EPREFIX}"/var
- --disable-stripping
- --with-writable-directory="${EPREFIX}"/run/brltty
- $(use_enable api)
- $(use_with beeper beep-package)
- $(use_enable contracted-braille)
- $(use_with fm fm-package)
- $(use_enable gpm)
- $(use_enable iconv)
- $(use_enable icu)
- $(use_enable java java-bindings)
- $(use_enable louis liblouis)
- $(use_with midi midi-package)
- $(use_enable nls i18n)
- $(use_enable ocaml ocaml-bindings)
- $(use_with pcm pcm-package)
- $(use_enable policykit polkit)
- $(use_enable python python-bindings)
- $(use_enable speech speech-support)
- $(use_with systemd service-package)
- $(use_enable tcl tcl-bindings)
- $(use_enable xml expat)
- $(use_enable X x)
- $(use_with bluetooth bluetooth-package)
- $(use_with ncurses curses)
- $(use_with usb usb-package) )
-
- econf "${myconf[@]}"
-
- if use python; then
- python_configure() {
- econf "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
- fi
-}
-
-src_compile() {
- emake JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}"
-
- if use python; then
- python_build() {
- cd "Bindings/Python" || die
- emake
- }
- python_foreach_impl run_in_build_dir python_build
- fi
-}
-
-src_install() {
- if use ocaml; then
- findlib_src_preinst
- fi
-
- emake INSTALL_ROOT="${D}" OCAML_LDCONF= install
-
- if use python; then
- python_install() {
- cd "Bindings/Python" || die
- emake INSTALL_ROOT="${D}" install
- }
- python_foreach_impl run_in_build_dir python_install
- fi
-
- if use java; then
- java-pkg_doso Bindings/Java/libbrlapi_java.so
- java-pkg_dojar Bindings/Java/brlapi.jar
- fi
-
- insinto /etc
- doins Documents/brltty.conf
- udev_newrules Autostart/Udev/rules 70-brltty.rules
- newinitd "${FILESDIR}"/brltty.rc brltty
- systemd_dounit Autostart/Systemd/brltty@.service
- dotmpfiles "${FILESDIR}/${PN}.tmpfiles.conf"
-
- if use api ; then
- local libdir="$(get_libdir)"
- mkdir -p "${ED}"/usr/${libdir}/ || die
- mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir}/ || die
- gen_usr_ldscript libbrlapi.so
- fi
-
- cd Documents || die
- mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die
- mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt || die
- mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt || die
- dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt
- if use doc; then
- dodoc BrlAPI-*.txt
- HTML_DOCS="Manual-BRLTTY" einstalldocs
- fi
-
- keepdir /var/lib/BrlAPI
- rmdir "${ED}/run/brltty" || die
- rmdir "${ED}/run" || die
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.tmpfiles.conf
-
- elog
- elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system."
- elog
- elog "To make brltty start on boot, type this command as root:"
- elog
- elog "rc-update add brltty boot"
-}
diff --git a/app-accessibility/brltty/brltty-6.1.ebuild b/app-accessibility/brltty/brltty-6.1.ebuild
deleted file mode 100644
index 648e42c44bc4..000000000000
--- a/app-accessibility/brltty/brltty-6.1.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-FINDLIB_USE="ocaml"
-JAVA_PKG_WANT_SOURCE="1.8"
-JAVA_PKG_WANT_TARGET="1.8"
-
-inherit findlib multilib toolchain-funcs java-pkg-opt-2 flag-o-matic usr-ldscript \
- autotools udev systemd python-r1 tmpfiles
-
-DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
-HOMEPAGE="https://brltty.app/"
-SRC_URI="https://brltty.app/archive/${P}.tar.xz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 x86"
-IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu
- java louis +midi ncurses nls ocaml +pcm policykit python
- usb systemd +speech tcl xml X"
-REQUIRED_USE="doc? ( api )
- java? ( api )
- ocaml? ( api )
- python? ( api ${PYTHON_REQUIRED_USE} )
- tcl? ( api )"
-
-DEPEND="
- app-accessibility/at-spi2-core:2
- dev-libs/libpcre2[pcre32]
- sys-apps/dbus
- bluetooth? ( net-wireless/bluez )
- gpm? ( >=sys-libs/gpm-1.20 )
- iconv? ( virtual/libiconv )
- icu? ( dev-libs/icu:= )
- louis? ( dev-libs/liblouis:= )
- midi? ( media-libs/alsa-lib )
- ncurses? ( sys-libs/ncurses:0= )
- pcm? ( media-libs/alsa-lib )
- policykit? ( sys-auth/polkit )
- python? ( ${PYTHON_DEPS} )
- speech? (
- app-accessibility/espeak
- app-accessibility/flite
- app-accessibility/speech-dispatcher
- )
- systemd? ( sys-apps/systemd )
- tcl? ( >=dev-lang/tcl-8.4.15:0= )
- usb? ( virtual/libusb:0 )
- xml? ( dev-libs/expat )
- X? (
- x11-libs/libX11
- x11-libs/libXaw
- x11-libs/libXfixes
- x11-libs/libXt
- x11-libs/libXtst
- )"
-RDEPEND="${DEPEND}
- java? ( >=virtual/jre-1.4 )
-"
-BDEPEND="
- virtual/pkgconfig
- java? ( >=virtual/jdk-1.4 )
- nls? ( virtual/libintl )
- python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
-"
-
-HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.0-udev.patch
- "${FILESDIR}"/${PN}-5.2-respect-AR.patch
-)
-
-src_prepare() {
- default
-
- java-pkg-opt-2_src_prepare
-
- # We run eautoconf instead of using eautoreconf because brltty uses
- # a custom build system that uses autoconf without the rest of the
- # autotools.
- eautoconf
- use python && python_copy_sources
-}
-
-src_configure() {
- tc-export AR LD PKG_CONFIG
-
- export JAVAC=""
- export JAVA_JNI_FLAGS=""
- if use java; then
- export JAVA_HOME="$(java-config -g JAVA_HOME)"
- export JAVAC_HOME="${JAVA_HOME}/bin"
- export JAVA_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
- export JAVAC="$(java-pkg_get-javac) -encoding UTF-8 $(java-pkg_javac-args)"
- fi
-
- # override prefix in order to install into /
- # braille terminal needs to be available as soon in the boot process as
- # possible
- # Also override localstatedir so that the lib/brltty directory is installed
- # correctly.
- # Disable stripping since we do that ourselves.
- local myconf=(
- --prefix="${EPREFIX}"/
- --localedir="${EPREFIX}"/usr/share/locale
- --includedir="${EPREFIX}"/usr/include
- --localstatedir="${EPREFIX}"/var
- --disable-stripping
- --with-writable-directory="${EPREFIX}"/run/brltty
- $(use_enable api)
- $(use_with beeper beep-package)
- $(use_enable contracted-braille)
- $(use_with fm fm-package)
- $(use_enable gpm)
- $(use_enable iconv)
- $(use_enable icu)
- $(use_enable java java-bindings)
- $(use_enable louis liblouis)
- $(use_with midi midi-package)
- $(use_enable nls i18n)
- $(use_enable ocaml ocaml-bindings)
- $(use_with pcm pcm-package)
- $(use_enable policykit polkit)
- $(use_enable python python-bindings)
- $(use_enable speech speech-support)
- $(use_with systemd service-package)
- $(use_enable tcl tcl-bindings)
- $(use_enable xml expat)
- $(use_enable X x)
- $(use_with bluetooth bluetooth-package)
- $(use_with ncurses curses)
- $(use_with usb usb-package) )
-
- econf "${myconf[@]}"
-
- if use python; then
- python_configure() {
- econf "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
- fi
-}
-
-src_compile() {
- emake JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}"
-
- if use python; then
- python_build() {
- cd "Bindings/Python" || die
- emake
- }
- python_foreach_impl run_in_build_dir python_build
- fi
-}
-
-src_install() {
- if use ocaml; then
- findlib_src_preinst
- fi
-
- emake INSTALL_ROOT="${D}" OCAML_LDCONF= install
-
- if use python; then
- python_install() {
- cd "Bindings/Python" || die
- emake INSTALL_ROOT="${D}" install
- }
- python_foreach_impl run_in_build_dir python_install
- fi
-
- if use java; then
- java-pkg_doso Bindings/Java/libbrlapi_java.so
- java-pkg_dojar Bindings/Java/brlapi.jar
- fi
-
- insinto /etc
- doins Documents/brltty.conf
- udev_newrules Autostart/Udev/rules 70-brltty.rules
- newinitd "${FILESDIR}"/brltty.rc brltty
- systemd_dounit Autostart/Systemd/brltty@.service
- dotmpfiles "${FILESDIR}/${PN}.tmpfiles.conf"
-
- if use api ; then
- local libdir="$(get_libdir)"
- mkdir -p "${ED}"/usr/${libdir}/ || die
- mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir}/ || die
- gen_usr_ldscript libbrlapi.so
- fi
-
- cd Documents || die
- mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die
- mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt || die
- mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt || die
- dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt
- if use doc; then
- dodoc BrlAPI-*.txt
- HTML_DOCS="Manual-BRLTTY" einstalldocs
- fi
-
- keepdir /var/lib/BrlAPI
- rmdir "${ED}/run/brltty" || die
- rmdir "${ED}/run" || die
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.tmpfiles.conf
-
- elog
- elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system."
- elog
- elog "To make brltty start on boot, type this command as root:"
- elog
- elog "rc-update add brltty boot"
-}
diff --git a/app-accessibility/brltty/brltty-6.4.ebuild b/app-accessibility/brltty/brltty-6.4.ebuild
deleted file mode 100644
index 0eaf71123bbd..000000000000
--- a/app-accessibility/brltty/brltty-6.4.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-FINDLIB_USE="ocaml"
-JAVA_PKG_WANT_SOURCE="1.8"
-JAVA_PKG_WANT_TARGET="1.8"
-
-inherit findlib toolchain-funcs java-pkg-opt-2 autotools systemd \
- python-r1 tmpfiles
-
-DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
-HOMEPAGE="https://brltty.app/"
-SRC_URI="https://brltty.app/archive/${P}.tar.xz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
-IUSE="+api +beeper bluetooth doc +fm gpm iconv icu
- java louis +midi ncurses nls ocaml +pcm policykit python
- usb systemd +speech tcl xml X"
-REQUIRED_USE="doc? ( api )
- java? ( api )
- ocaml? ( api )
- python? ( api ${PYTHON_REQUIRED_USE} )
- tcl? ( api )"
-
-DEPEND="
- app-accessibility/at-spi2-core:2
- dev-libs/libpcre2[pcre32]
- sys-apps/dbus
- bluetooth? ( net-wireless/bluez )
- gpm? ( >=sys-libs/gpm-1.20 )
- iconv? ( virtual/libiconv )
- icu? ( dev-libs/icu:= )
- louis? ( dev-libs/liblouis:= )
- midi? ( media-libs/alsa-lib )
- ncurses? ( sys-libs/ncurses:0= )
- pcm? ( media-libs/alsa-lib )
- policykit? ( sys-auth/polkit )
- python? ( ${PYTHON_DEPS} )
- speech? (
- app-accessibility/espeak-ng
- app-accessibility/flite
- app-accessibility/speech-dispatcher
- )
- systemd? ( sys-apps/systemd )
- tcl? ( >=dev-lang/tcl-8.4.15:0= )
- usb? ( virtual/libusb:0 )
- xml? ( dev-libs/expat )
- X? (
- x11-libs/libX11
- x11-libs/libXaw
- x11-libs/libXfixes
- x11-libs/libXt
- x11-libs/libXtst
- )"
-RDEPEND="${DEPEND}
- java? ( >=virtual/jre-1.8:* )
-"
-BDEPEND="
- virtual/pkgconfig
- java? ( >=virtual/jdk-1.8:* )
- nls? ( virtual/libintl )
- python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
-"
-
-HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.2-respect-AR.patch
-)
-
-src_prepare() {
- default
-
- java-pkg-opt-2_src_prepare
-
- # We run eautoconf instead of using eautoreconf because brltty uses
- # a custom build system that uses autoconf without the rest of the
- # autotools.
- eautoconf
- use python && python_copy_sources
-}
-
-src_configure() {
- tc-export AR LD PKG_CONFIG
-
- export JAVAC=""
- export JAVA_JNI_FLAGS=""
- if use java; then
- export JAVA_HOME="$(java-config -g JAVA_HOME)"
- export JAVAC_HOME="${JAVA_HOME}/bin"
- export JAVA_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
- export JAVAC="$(java-pkg_get-javac) -encoding UTF-8 $(java-pkg_javac-args)"
- fi
-
- # override prefix in order to install into /
- # braille terminal needs to be available as soon in the boot process as
- # possible
- # Also override localstatedir so that the lib/brltty directory is installed
- # correctly.
- # Disable stripping since we do that ourselves.
- local myconf=(
- --prefix="${EPREFIX}"/
- --localedir="${EPREFIX}"/usr/share/locale
- --includedir="${EPREFIX}"/usr/include
- --localstatedir="${EPREFIX}"/var
- --disable-stripping
- --with-writable-directory="${EPREFIX}"/run/brltty
- $(use_enable api)
- $(use_with beeper beep-package)
- $(use_with fm fm-package)
- $(use_enable gpm)
- $(use_enable iconv)
- $(use_enable icu)
- $(use_enable java java-bindings)
- $(use_enable louis liblouis)
- $(use_with midi midi-package)
- $(use_enable nls i18n)
- $(use_enable ocaml ocaml-bindings)
- $(use_with pcm pcm-package)
- $(use_enable policykit polkit)
- $(use_enable python python-bindings)
- $(use_enable speech speech-support)
- $(use_with systemd service-package)
- $(use_enable tcl tcl-bindings)
- $(use_enable xml expat)
- $(use_enable X x)
- $(use_with bluetooth bluetooth-package)
- $(use_with ncurses curses)
- $(use_with usb usb-package)
- )
- # disable espeak since we use espeak-ng
- use speech && myconf+=( --with-speech-driver=-es )
-
- econf "${myconf[@]}"
-
- if use python; then
- python_configure() {
- econf "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
- fi
-}
-
-src_compile() {
- emake -j1 JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}"
-
- if use python; then
- python_build() {
- cd "Bindings/Python" || die
- emake -j1
- }
- python_foreach_impl run_in_build_dir python_build
- fi
-}
-
-src_install() {
- if use ocaml; then
- findlib_src_preinst
- fi
-
- emake -j1 INSTALL_ROOT="${D}" OCAML_LDCONF= install
-
- if use python; then
- python_install() {
- cd "Bindings/Python" || die
- emake -j1 INSTALL_ROOT="${D}" install
- }
- python_foreach_impl run_in_build_dir python_install
- fi
-
- if use java; then
- java-pkg_doso Bindings/Java/libbrlapi_java.so
- java-pkg_dojar Bindings/Java/brlapi.jar
- fi
-
- insinto /etc
- doins Documents/brltty.conf
- newinitd "${FILESDIR}"/brltty.rc brltty
- systemd_dounit Autostart/Systemd/brltty@.service
- dotmpfiles "${FILESDIR}/${PN}.tmpfiles.conf"
-
- mv doc/Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die
- mv doc/Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt || die
- mv doc/Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt || die
- dodoc Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO} BRLTTY-*.txt
- if use doc; then
- dodoc BrlAPI-*.txt
- HTML_DOCS="doc/Manual-BRLTTY" einstalldocs
- fi
-
- keepdir /var/lib/BrlAPI
- rm -fr "${ED}/run" || die
- find "${ED}" -name '*.a' -delete || die
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}.tmpfiles.conf
-
- elog
- elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system."
- elog
- elog "To make brltty start on boot, type this command as root:"
- elog
- elog "rc-update add brltty boot"
-}
diff --git a/app-accessibility/brltty/brltty-6.4-r1.ebuild b/app-accessibility/brltty/brltty-6.6-r1.ebuild
index db4783baac44..1c4193844a37 100644
--- a/app-accessibility/brltty/brltty-6.4-r1.ebuild
+++ b/app-accessibility/brltty/brltty-6.6-r1.ebuild
@@ -1,15 +1,14 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{10..11} )
FINDLIB_USE="ocaml"
JAVA_PKG_WANT_SOURCE="1.8"
JAVA_PKG_WANT_TARGET="1.8"
-inherit findlib toolchain-funcs java-pkg-opt-2 autotools systemd \
- python-r1 tmpfiles
+inherit findlib toolchain-funcs java-pkg-opt-2 autotools python-r1 tmpfiles
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
HOMEPAGE="https://brltty.app/"
@@ -17,7 +16,7 @@ SRC_URI="https://brltty.app/archive/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86"
IUSE="+api +beeper bluetooth doc +fm gpm iconv icu
java louis +midi ncurses nls ocaml +pcm policykit python
usb systemd +speech tcl xml X"
@@ -43,18 +42,21 @@ DEPEND="
ncurses? ( sys-libs/ncurses:0= )
pcm? ( media-libs/alsa-lib )
policykit? ( sys-auth/polkit )
- python? ( ${PYTHON_DEPS} )
+ python? (
+ ${PYTHON_DEPS}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ )
speech? (
app-accessibility/espeak-ng
app-accessibility/flite
app-accessibility/speech-dispatcher
)
systemd? ( sys-apps/systemd )
- tcl? ( >=dev-lang/tcl-8.4.15:0= )
- usb? ( virtual/libusb:0 )
+ tcl? ( >=dev-lang/tcl-8.6.13-r1:= )
+ usb? ( virtual/libusb:1 )
xml? ( dev-libs/expat )
X? (
- app-accessibility/at-spi2-core:2
+ app-accessibility/at-spi2-core:2
sys-apps/dbus
x11-libs/libX11
x11-libs/libXaw
@@ -66,16 +68,18 @@ RDEPEND="${DEPEND}
java? ( >=virtual/jre-1.8:* )
"
BDEPEND="
+ >=dev-lang/tcl-8.6.13-r1
virtual/pkgconfig
java? ( >=virtual/jdk-1.8:* )
nls? ( virtual/libintl )
- python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
+ python? ( dev-python/cython[${PYTHON_USEDEP}] )
"
HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
PATCHES=(
- "${FILESDIR}"/${P}-respect-AR.patch
+ "${FILESDIR}"/${PN}-6.4-respect-AR.patch
+ "${FILESDIR}"/${P}-cython3.patch
)
src_prepare() {
@@ -110,24 +114,31 @@ src_configure() {
--bindir="${EPREFIX}"/bin
--htmldir="${EPREFIX}"/usr/share/doc/"${P}"/html
--localstatedir="${EPREFIX}"/var
+ --runstatedir="${EPREFIX}"/run
+ # the next two lines should be removed once support is added.
+ --disable-emacs-bindings
+ --disable-lua-bindings
+ # Python bindings are built separately per-impl
+ --disable-python-bindings
--disable-stripping
--with-updatable-directory="${EPREFIX}"/var/lib/brltty
--with-writable-directory="${EPREFIX}"/run/brltty
--with-privilege-parameters=lx:user=brltty
$(use_enable api)
$(use_with beeper beep-package)
+# $(use_enable emacs emacs-bindings)
$(use_with fm fm-package)
$(use_enable gpm)
$(use_enable iconv)
$(use_enable icu)
$(use_enable java java-bindings)
$(use_enable louis liblouis)
+# $(use_enable lua lua-bindings)
$(use_with midi midi-package)
$(use_enable nls i18n)
$(use_enable ocaml ocaml-bindings)
$(use_with pcm pcm-package)
$(use_enable policykit polkit)
- $(use_enable python python-bindings)
$(use_enable speech speech-support)
$(use_with systemd service-package)
$(use_enable tcl tcl-bindings)
@@ -144,7 +155,7 @@ src_configure() {
if use python; then
python_configure() {
- econf "${myconf[@]}"
+ econf "${myconf[@]}" --enable-python-bindings PYTHON="${PYTHON}"
}
python_foreach_impl run_in_build_dir python_configure
fi
@@ -155,8 +166,7 @@ src_compile() {
if use python; then
python_build() {
- cd "Bindings/Python" || die
- emake -j1
+ emake -C "${BUILD_DIR}"/Bindings/Python -j1
}
python_foreach_impl run_in_build_dir python_build
fi
@@ -171,8 +181,7 @@ src_install() {
if use python; then
python_install() {
- cd "Bindings/Python" || die
- emake -j1 INSTALL_ROOT="${D}" install
+ emake -C "${BUILD_DIR}"/Bindings/Python -j1 INSTALL_ROOT="${D}" install
}
python_foreach_impl run_in_build_dir python_install
fi
@@ -185,16 +194,9 @@ src_install() {
insinto /etc
doins Documents/brltty.conf
newinitd "${FILESDIR}"/brltty.initd brltty
- pushd Autostart/Systemd 1> /dev/null || die
- emake -j1 INSTALL_ROOT="${ED}" install
- popd
- pushd Autostart/Udev 1> /dev/null || die
- emake -j1 INSTALL_ROOT="${ED}" install
- popd
-
- newdoc doc/Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt
- newdoc doc/Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt
- newdoc doc/Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt
+ emake -C Autostart/Systemd -j1 INSTALL_ROOT="${ED}" install
+ emake -C Autostart/Udev -j1 INSTALL_ROOT="${ED}" install
+
dodoc Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO}
if use doc; then
HTML_DOCS="doc/Manual-BRLTTY" einstalldocs
diff --git a/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch b/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch
deleted file mode 100644
index c5698a2b9399..000000000000
--- a/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Programs/Makefile.in
-+++ b/Programs/Makefile.in
-@@ -434,7 +434,7 @@
- [ ! -f lib.def ] || mv lib.def $(API_DEF)
-
- $(API_ARC): $(API_CLIENT_OBJECTS)
-- ar rc $@ $(API_CLIENT_OBJECTS)
-+ $(AR) rc $@ $(API_CLIENT_OBJECTS)
- $(RANLIB) $@
-
- brlapi_client.$O:
diff --git a/app-accessibility/brltty/files/brltty-6.0-udev.patch b/app-accessibility/brltty/files/brltty-6.0-udev.patch
deleted file mode 100644
index e53b7a6aa664..000000000000
--- a/app-accessibility/brltty/files/brltty-6.0-udev.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- brltty-6.0/Autostart/Udev/rules
-+++ brltty-6.0/Autostart/Udev/rules
-@@ -276,20 +276,22 @@
- # FreedomScientific [Focus Blue]
- ENV{PRODUCT}=="f4e/114/*", ENV{BRLTTY_BRAILLE_DRIVER}="fs", GOTO="brltty_usb_run"
-
-+# Seika rules are commented out, because they conflict with USB-to-serial
-+# converters.
- # Device: 10C4:EA60
- # Generic Identifier
- # Vendor: Cygnal Integrated Products, Inc.
- # Product: CP210x UART Bridge / myAVR mySmartUSB light
- # BrailleMemo [Pocket]
- # Seika [Braille Display]
--ENV{PRODUCT}=="10c4/ea60/*", ENV{BRLTTY_BRAILLE_DRIVER}="mm,sk", GOTO="brltty_usb_run"
-+#ENV{PRODUCT}=="10c4/ea60/*", ENV{BRLTTY_BRAILLE_DRIVER}="mm,sk", GOTO="brltty_usb_run"
-
- # Device: 10C4:EA80
- # Generic Identifier
- # Vendor: Cygnal Integrated Products, Inc.
- # Product: CP210x UART Bridge
- # Seika [Note Taker]
--ENV{PRODUCT}=="10c4/ea80/*", ENV{BRLTTY_BRAILLE_DRIVER}="sk", GOTO="brltty_usb_run"
-+#ENV{PRODUCT}=="10c4/ea80/*", ENV{BRLTTY_BRAILLE_DRIVER}="sk", GOTO="brltty_usb_run"
-
- # Device: 1148:0301
- # BrailleMemo [Smart]
diff --git a/app-accessibility/brltty/files/brltty-6.6-cython3.patch b/app-accessibility/brltty/files/brltty-6.6-cython3.patch
new file mode 100644
index 000000000000..01a860a4d646
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-6.6-cython3.patch
@@ -0,0 +1,41 @@
+https://bugs.gentoo.org/913019
+https://github.com/brltty/brltty/commit/e6707d5e094dc36db4319ce4d052a6ad568a5d26
+
+From e6707d5e094dc36db4319ce4d052a6ad568a5d26 Mon Sep 17 00:00:00 2001
+From: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date: Tue, 15 Aug 2023 16:29:13 +0200
+Subject: [PATCH] brlapi: Fix python crash on connection error
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+From Lukáš Tyrychtr:
+“
+Cython 3.0 started using the new Python object finalization APIs from PEP 442
+”
+
+This means that __del__ gets called even when raising an exception from
+__init__, while it was not before. To cope with both behaviors, we can
+set self.h to NULL to determine whether it still exists or not.
+
+Thanks Lukáš Tyrychtr for the investigation and patch draft!
+--- a/Bindings/Python/brlapi.pyx
++++ b/Bindings/Python/brlapi.pyx
+@@ -453,6 +453,7 @@ cdef class Connection:
+ c_brlapi.brlapi_protocolExceptionInit(self.h)
+ if self.fd == -1:
+ c_brlapi.free(self.h)
++ self.h = NULL
+ raise ConnectionError(self.settings.host, self.settings.auth)
+
+ def closeConnection(self):
+@@ -465,7 +466,8 @@ cdef class Connection:
+ """Release resources used by the connection"""
+ if self.fd != -1:
+ c_brlapi.brlapi__closeConnection(self.h)
+- c_brlapi.free(self.h)
++ if self.h != NULL:
++ c_brlapi.free(self.h)
+
+ property host:
+ """To get authorized to connect, libbrlapi has to tell the BrlAPI server a secret key, for security reasons. This is the path to the file which holds it; it will hence have to be readable by the application."""
diff --git a/app-accessibility/brltty/files/brltty.rc b/app-accessibility/brltty/files/brltty.rc
deleted file mode 100644
index 100dd29b778a..000000000000
--- a/app-accessibility/brltty/files/brltty.rc
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command=/bin/brltty
-pidfile=/var/run/brltty.pid
-command_args="-P ${pidfile} -q"
-
-depend() {
- before *
- after clock
-}
diff --git a/app-accessibility/brltty/files/brltty.tmpfiles.conf b/app-accessibility/brltty/files/brltty.tmpfiles.conf
deleted file mode 100644
index 18cc4021e33b..000000000000
--- a/app-accessibility/brltty/files/brltty.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/brltty 0755 root root -
diff --git a/app-accessibility/brltty/metadata.xml b/app-accessibility/brltty/metadata.xml
index 32eb443cb936..7a6c5b4307bf 100644
--- a/app-accessibility/brltty/metadata.xml
+++ b/app-accessibility/brltty/metadata.xml
@@ -8,15 +8,14 @@
<use>
<flag name="api">build brltty's application program interface</flag>
<flag name="beeper">support the console tone generator</flag>
- <flag name="contracted-braille">support in-line contracted braille</flag>
<flag name="fm">support for the sound card synthesizer</flag>
<flag name="louis">Use braille translator <pkg>dev-libs/liblouis</pkg></flag>
<flag name="midi">support the musical instrument digital interface</flag>
<flag name="pcm">support for sound card digital audio</flag>
- <flag name="speech">speech support</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:mielke:brltty</remote-id>
+ <remote-id type="github">brltty/brltty</remote-id>
</upstream>
<longdescription lang="en">
BRLTTY is a background process (daemon) which provides access to the Linux/Unix
diff --git a/app-accessibility/caribou/caribou-0.4.21-r4.ebuild b/app-accessibility/caribou/caribou-0.4.21-r6.ebuild
index 745819795ea7..ce220ef1b49a 100644
--- a/app-accessibility/caribou/caribou-0.4.21-r4.ebuild
+++ b/app-accessibility/caribou/caribou-0.4.21-r6.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="xml"
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="xml(+)"
inherit autotools gnome.org gnome2-utils python-single-r1 vala
@@ -15,7 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
${PYTHON_DEPS}
diff --git a/app-accessibility/caribou/caribou-0.4.21-r7.ebuild b/app-accessibility/caribou/caribou-0.4.21-r7.ebuild
new file mode 100644
index 000000000000..2154750619c3
--- /dev/null
+++ b/app-accessibility/caribou/caribou-0.4.21-r7.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit autotools gnome.org gnome2-utils python-single-r1 vala
+
+DESCRIPTION="Input assistive technology intended for switch and pointer users"
+HOMEPAGE="https://wiki.gnome.org/Projects/Caribou"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ app-accessibility/at-spi2-core
+ $(python_gen_cond_dep '
+ >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
+ ')
+ >=dev-libs/gobject-introspection-0.10.7:=
+ dev-libs/libgee:0.8
+ dev-libs/libxml2
+ >=media-libs/clutter-1.5.11:1.0[introspection]
+ >=x11-libs/gtk+-3:3[introspection]
+ x11-libs/libX11
+ x11-libs/libxklavier
+ x11-libs/libXtst
+"
+# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key
+# librsvg needed to load svg images in css styles
+RDEPEND="
+ ${COMMON_DEPEND}
+ dev-libs/glib[dbus]
+ >=gnome-base/gsettings-desktop-schemas-3
+ gnome-base/librsvg:2
+ sys-apps/dbus
+ !<x11-base/xorg-server-1.20.10
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-libs/libxslt
+"
+BDEPEND="
+ $(vala_depend)
+ >=dev-util/intltool-0.35.5
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-fix-compilation-error.patch"
+ "${FILESDIR}/${PN}-fix-subkey-popmenu.patch"
+ "${FILESDIR}/${PN}-fix-xadapter-xkb-calls.patch"
+ "${FILESDIR}/${PN}-fix-antler-style-css.patch"
+ "${FILESDIR}/${PN}-fix-python-env.patch"
+ "${FILESDIR}/${PN}-change_autostart_cinnamon.patch"
+ "${FILESDIR}/${PN}-drop_gir_patch.patch"
+)
+
+src_prepare() {
+ default
+ vala_src_prepare
+ gnome2_disable_deprecation_warning
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-maintainer-mode \
+ --disable-schemas-compile \
+ --disable-docs \
+ --disable-static \
+ --disable-gtk2-module \
+ --enable-gtk3-module
+}
+
+src_install() {
+ DOCS="AUTHORS NEWS README"
+ default
+ find "${D}" -name '*.la' -delete || die
+ python_optimize
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
diff --git a/app-accessibility/edbrowse/edbrowse-3.8.2.1-r1.ebuild b/app-accessibility/edbrowse/edbrowse-3.8.2.1-r2.ebuild
index d9e6b8f22449..49a249f77266 100644
--- a/app-accessibility/edbrowse/edbrowse-3.8.2.1-r1.ebuild
+++ b/app-accessibility/edbrowse/edbrowse-3.8.2.1-r2.ebuild
@@ -2,6 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+
+inherit edo toolchain-funcs
+
QUICKJS_HASH=2788d71e823b522b178db3b3660ce93689534e6d
QUICKJS_SHORT=2788d71
QUICKJS_S="${WORKDIR}/quickjs-${QUICKJS_HASH}"
@@ -14,30 +17,40 @@ SRC_URI="https://github.com/CMB/edbrowse/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="odbc"
+KEYWORDS="~amd64 ~riscv ~x86"
RDEPEND="
>=app-text/htmltidy-5.0.0:=
+ dev-db/unixODBC
dev-libs/libpcre2:=
net-misc/curl
sys-libs/readline:=
- odbc? ( dev-db/unixODBC )"
+"
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/perl
sys-apps/ed
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}"-respect-ldflags.patch
+)
- PATCHES=(
- "${FILESDIR}/${P}"-respect-ldflags.patch
- )
+src_prepare() {
+ default
+
+ cd "${QUICKJS_S}" || die
+ eapply "${FILESDIR}/${P}"-quickjs-respect-flags.patch
+}
src_compile() {
# First build quickjs so we can link to its static library.
# Also, quickjs doesn't appear to tag releases.
- tools/quickjobfixup "${QUICKJS_S}" || die
- emake -C "${QUICKJS_S}"
+ edo tools/quickjobfixup "${QUICKJS_S}"
+ emake -C "${QUICKJS_S}" CC="$(tc-getCC)" AR="$(tc-getAR)" libquickjs.a
+
+ tc-export CC
emake -C src QUICKJS_DIR="${QUICKJS_S}" STRIP=
}
diff --git a/app-accessibility/edbrowse/files/edbrowse-3.8.2.1-quickjs-respect-flags.patch b/app-accessibility/edbrowse/files/edbrowse-3.8.2.1-quickjs-respect-flags.patch
new file mode 100644
index 000000000000..f0af474427f0
--- /dev/null
+++ b/app-accessibility/edbrowse/files/edbrowse-3.8.2.1-quickjs-respect-flags.patch
@@ -0,0 +1,41 @@
+* Don't overwrite CFLAGS
+* Respect CPPFLAGS
+
+--- a/Makefile
++++ b/Makefile
+@@ -66,7 +66,7 @@
+ ifdef CONFIG_CLANG
+ HOST_CC=clang
+ CC=$(CROSS_PREFIX)clang
+- CFLAGS=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
++ CFLAGS += -Wall -MMD -MF $(OBJDIR)/$(@F).d
+ CFLAGS += -Wextra
+ CFLAGS += -Wno-sign-compare
+ CFLAGS += -Wno-missing-field-initializers
+@@ -87,7 +87,7 @@
+ else
+ HOST_CC=gcc
+ CC=$(CROSS_PREFIX)gcc
+- CFLAGS=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
++ CFLAGS += -Wall -MMD -MF $(OBJDIR)/$(@F).d
+ CFLAGS += -Wno-array-bounds -Wno-format-truncation
+ ifdef CONFIG_LTO
+ AR=$(CROSS_PREFIX)gcc-ar
+@@ -110,7 +110,7 @@
+ CFLAGS+=$(DEFINES)
+ CFLAGS_DEBUG=$(CFLAGS) -O0
+ CFLAGS_SMALL=$(CFLAGS) -Os
+-CFLAGS_OPT=$(CFLAGS) -O2
++CFLAGS_OPT=$(CFLAGS)
+ CFLAGS_NOLTO:=$(CFLAGS_OPT)
+ LDFLAGS=-g
+ ifdef CONFIG_LTO
+@@ -269,7 +269,7 @@
+ $(CC) $(CFLAGS_OPT) -fPIC -DJS_SHARED_LIBRARY -c -o $@ $<
+
+ $(OBJDIR)/%.nolto.o: %.c | $(OBJDIR)
+- $(CC) $(CFLAGS_NOLTO) -c -o $@ $<
++ $(CC) $(CFLAGS_NOLTO) $(CPPFLAGS) -c -o $@ $<
+
+ $(OBJDIR)/%.m32.o: %.c | $(OBJDIR)
+ $(CC) -m32 $(CFLAGS_OPT) -c -o $@ $<
diff --git a/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild b/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r1.ebuild
index 7eb873e8bb76..f18c1f6f8863 100644
--- a/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild
+++ b/app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1-r1.ebuild
@@ -1,20 +1,18 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit toolchain-funcs
-DESCRIPTION="adds support for several speech synthesizers to emacspeak"
+DESCRIPTION="Adds support for several speech synthesizers to emacspeak"
HOMEPAGE="http://leb.net/blinux/"
SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
-DEPEND=""
RDEPEND=">=app-accessibility/emacspeak-18"
PATCHES=(
@@ -28,8 +26,8 @@ src_prepare() {
src_install() {
emake \
- prefix="${D}"/usr \
- man1dir="${D}"/usr/share/man/man1 \
+ prefix="${ED}"/usr \
+ man1dir="${ED}"/usr/share/man/man1 \
install
dodoc CREDITS ChangeLog OtherSynthesizers TODO TROUBLESHOOTING README*
}
diff --git a/app-accessibility/emacspeak/Manifest b/app-accessibility/emacspeak/Manifest
index 1a147ca5f1d9..b01f904e548b 100644
--- a/app-accessibility/emacspeak/Manifest
+++ b/app-accessibility/emacspeak/Manifest
@@ -1 +1 @@
-DIST emacspeak-39.0.tar.bz2 4989631 BLAKE2B ea58436fd3d7450938de04b74dcefdd9b9c5bee5c8c3bf48dbd2ca5bd5ce5c795a0d4c60ec05ca83c0020ca650b717e378717dc2d68eb56e80653b5045d5b132 SHA512 c0a0c503d6ccc2abb53a8be580997b44e0449c2225e8a64cee73c24d69a28c3f47c0e660a95a6e77dd4d660272ad562ff747ce3c0a989f8fe7c8171f60349173
+DIST emacspeak-56.0.tar.bz2 7158646 BLAKE2B 484b98e5fac51d30bd9b2705308042ed9e0a49a4684ca777cbc60368fdadd8206ef212af514a5940509c84fee3fdcad12486a31a47cac658c912d7573a484fb7 SHA512 9b18fada991b914ddd3ed30950e685c1c164434536c3dd119b9ed52db80e7e31b7399c72a584938bfb63daa7e1aa76a1f377d664cc1118ffa7f0a4cbdddf0818
diff --git a/app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild b/app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild
deleted file mode 100644
index daa09b1d5317..000000000000
--- a/app-accessibility/emacspeak/emacspeak-39.0-r2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-NEED_EMACS=24
-FORCE_PRINT_ELOG=1
-DISABLE_AUTOFORMATTING=1
-inherit elisp readme.gentoo-r1
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/tvraman/emacspeak.git"
- inherit git-r3
-else
- SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
- KEYWORDS="amd64 ppc x86"
-fi
-
-DESCRIPTION="the emacspeak audio desktop"
-HOMEPAGE="http://emacspeak.sourceforge.net/"
-LICENSE="BSD GPL-2"
-SLOT="0"
-IUSE="+espeak"
-
-DEPEND="espeak? ( app-accessibility/espeak )"
-
-RDEPEND="${DEPEND}
- >=dev-tcltk/tclx-8.4"
-
-DOC_CONTENTS='
-As of version 39.0 and later, the /usr/bin/emacspeak
-shell script has been removed downstream in Gentoo.
-You should launch emacspeak by another method, for instance
-by adding the following to your ~/.emacs file:
-(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
-'
-
-HTML_DOCS=( install-guide user-guide )
-
-src_configure() {
- emake config
-}
-
-src_compile() {
- emake emacspeak
- if use espeak; then
- local tcl_version="$(echo 'puts $tcl_version;exit 0' |tclsh)"
- if [[ -z $tcl_version ]]; then
- die 'Unable to detect the installed version of dev-lang/tcl.'
- fi
- cd servers/linux-espeak || die
- emake TCL_VERSION="${tcl_version}"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- rm "${D}/usr/bin/emacspeak"
- if use espeak; then
- pushd servers/linux-espeak > /dev/null || die
- emake DESTDIR="${D}" install
- local orig_serverdir="/usr/share/emacs/site-lisp/emacspeak/servers/linux-espeak"
- local serverfile="${D}${orig_serverdir}/tclespeak.so"
- install -Dm755 "$serverfile" \
- "${D}/usr/$(get_libdir)/emacspeak/tclespeak.so" || die
- rm -f "$serverfile" || die
- dosym "/usr/$(get_libdir)/emacspeak/tclespeak.so" \
- "$orig_serverdir/tclespeak.so"
- popd > /dev/null || die
- fi
- dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
- einstalldocs
- cd "${D}/usr/share/emacs/site-lisp/${PN}" || die
- rm -rf README etc/NEWS* etc/FAQ etc/COPYRIGHT install-guide \
- user-guide || die
- readme.gentoo_create_doc
-}
diff --git a/app-accessibility/emacspeak/emacspeak-56.0-r1.ebuild b/app-accessibility/emacspeak/emacspeak-56.0-r1.ebuild
new file mode 100644
index 000000000000..2fb27f565d08
--- /dev/null
+++ b/app-accessibility/emacspeak/emacspeak-56.0-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=26.1
+FORCE_PRINT_ELOG=1
+DISABLE_AUTOFORMATTING=1
+inherit elisp toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="The emacspeak audio desktop"
+HOMEPAGE="http://emacspeak.sourceforge.net/"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/tvraman/emacspeak.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/tvraman/emacspeak/releases/download/${PV}/${P}.tar.bz2"
+ KEYWORDS="amd64 ppc x86"
+fi
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+IUSE="+espeak"
+
+# Usually need := dep with tcl anyway but in particular, it's needed
+# here as we do a version check in src_compile and bake in the results.
+DEPEND="
+ dev-lang/tcl:=
+ espeak? ( app-accessibility/espeak-ng )
+"
+RDEPEND="
+ ${DEPEND}
+ >=dev-tcltk/tclx-8.4
+"
+
+DOC_CONTENTS='
+As of version 39.0 and later, the /usr/bin/emacspeak
+shell script has been removed downstream in Gentoo.
+You should launch emacspeak by another method, for instance
+by adding the following to your ~/.emacs file:
+(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
+'
+
+HTML_DOCS=( etc/ info/ )
+
+src_configure() {
+ MAKEOPTS+=" -j1"
+
+ tc-export CXX
+
+ emake config
+}
+
+src_compile() {
+ emake emacspeak
+ if use espeak; then
+ local tcl_version="$(echo 'puts $tcl_version;exit 0' |tclsh)"
+ if [[ -z ${tcl_version} ]]; then
+ die 'Unable to detect the installed version of dev-lang/tcl.'
+ fi
+
+ cd servers/native-espeak || die
+ emake TCL_VERSION="${tcl_version}"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ if use espeak; then
+ pushd servers/native-espeak > /dev/null || die
+
+ emake DESTDIR="${D}" install
+ local orig_serverdir="/usr/share/emacs/site-lisp/emacspeak/servers/native-espeak"
+ local serverfile="${ED}${orig_serverdir}/tclespeak.so"
+
+ install -Dm755 "${serverfile}" \
+ "${ED}/usr/$(get_libdir)/emacspeak/tclespeak.so" || die
+ rm -f "${serverfile}" || die
+
+ dosym -r "/usr/$(get_libdir)/emacspeak/tclespeak.so" \
+ "${orig_serverdir}/tclespeak.so"
+ popd > /dev/null || die
+ fi
+
+ dodoc README etc/NEWS* etc/COPYRIGHT
+ einstalldocs
+
+ cd "${ED}"/usr/share/emacs/site-lisp/${PN} || die
+ rm -rf README etc/NEWS* etc/COPYRIGHT install-guide \
+ user-guide || die
+ readme.gentoo_create_doc
+}
diff --git a/app-accessibility/emacspeak/emacspeak-9999.ebuild b/app-accessibility/emacspeak/emacspeak-9999.ebuild
index 67a6062698b4..9c9472dcc6bf 100644
--- a/app-accessibility/emacspeak/emacspeak-9999.ebuild
+++ b/app-accessibility/emacspeak/emacspeak-9999.ebuild
@@ -1,31 +1,38 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-NEED_EMACS=24
+NEED_EMACS=26.1
FORCE_PRINT_ELOG=1
DISABLE_AUTOFORMATTING=1
-inherit elisp readme.gentoo-r1
+inherit elisp toolchain-funcs readme.gentoo-r1
-if [[ ${PV} == "9999" ]] ; then
+DESCRIPTION="The emacspeak audio desktop"
+HOMEPAGE="http://emacspeak.sourceforge.net/"
+
+if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/tvraman/emacspeak.git"
inherit git-r3
else
- SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
+ SRC_URI="https://github.com/tvraman/emacspeak/releases/download/${PV}/${P}.tar.bz2"
KEYWORDS="~amd64 ~ppc ~x86"
fi
-DESCRIPTION="the emacspeak audio desktop"
-HOMEPAGE="http://emacspeak.sourceforge.net/"
-LICENSE="BSD GPL-2"
+LICENSE="GPL-2+ GPL-3+"
SLOT="0"
IUSE="+espeak"
-DEPEND="espeak? ( app-accessibility/espeak )"
-
-RDEPEND="${DEPEND}
- >=dev-tcltk/tclx-8.4"
+# Usually need := dep with tcl anyway but in particular, it's needed
+# here as we do a version check in src_compile and bake in the results.
+DEPEND="
+ dev-lang/tcl:=
+ espeak? ( app-accessibility/espeak-ng )
+"
+RDEPEND="
+ ${DEPEND}
+ >=dev-tcltk/tclx-8.4
+"
DOC_CONTENTS='
As of version 39.0 and later, the /usr/bin/emacspeak
@@ -35,9 +42,13 @@ by adding the following to your ~/.emacs file:
(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
'
-HTML_DOCS=( install-guide user-guide )
+HTML_DOCS=( etc/ info/ )
src_configure() {
+ MAKEOPTS+=" -j1"
+
+ tc-export CXX
+
emake config
}
@@ -45,33 +56,39 @@ src_compile() {
emake emacspeak
if use espeak; then
local tcl_version="$(echo 'puts $tcl_version;exit 0' |tclsh)"
- if [[ -z $tcl_version ]]; then
+ if [[ -z ${tcl_version} ]]; then
die 'Unable to detect the installed version of dev-lang/tcl.'
fi
- cd servers/linux-espeak || die
+
+ cd servers/native-espeak || die
emake TCL_VERSION="${tcl_version}"
fi
}
src_install() {
emake DESTDIR="${D}" install
- rm "${D}/usr/bin/emacspeak"
+
if use espeak; then
- pushd servers/linux-espeak > /dev/null || die
+ pushd servers/native-espeak > /dev/null || die
+
emake DESTDIR="${D}" install
- local orig_serverdir="/usr/share/emacs/site-lisp/emacspeak/servers/linux-espeak"
- local serverfile="${D}${orig_serverdir}/tclespeak.so"
- install -Dm755 "$serverfile" \
- "${D}/usr/$(get_libdir)/emacspeak/tclespeak.so" || die
- rm -f "$serverfile" || die
- dosym "/usr/$(get_libdir)/emacspeak/tclespeak.so" \
- "$orig_serverdir/tclespeak.so"
+ local orig_serverdir="/usr/share/emacs/site-lisp/emacspeak/servers/native-espeak"
+ local serverfile="${ED}${orig_serverdir}/tclespeak.so"
+
+ install -Dm755 "${serverfile}" \
+ "${ED}/usr/$(get_libdir)/emacspeak/tclespeak.so" || die
+ rm -f "${serverfile}" || die
+
+ dosym -r "/usr/$(get_libdir)/emacspeak/tclespeak.so" \
+ "${orig_serverdir}/tclespeak.so"
popd > /dev/null || die
fi
- dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
+
+ dodoc README etc/NEWS* etc/COPYRIGHT
einstalldocs
- cd "${D}/usr/share/emacs/site-lisp/${PN}" || die
- rm -rf README etc/NEWS* etc/FAQ etc/COPYRIGHT install-guide \
+
+ cd "${ED}"/usr/share/emacs/site-lisp/${PN} || die
+ rm -rf README etc/NEWS* etc/COPYRIGHT install-guide \
user-guide || die
readme.gentoo_create_doc
}
diff --git a/app-accessibility/emacspeak/metadata.xml b/app-accessibility/emacspeak/metadata.xml
index 85a649a04b8e..b4f85db5b90c 100644
--- a/app-accessibility/emacspeak/metadata.xml
+++ b/app-accessibility/emacspeak/metadata.xml
@@ -17,6 +17,7 @@
<flag name="espeak">Adds support for the espeak tts engine</flag>
</use>
<upstream>
+ <remote-id type="github">tvraman/emacspeak</remote-id>
<remote-id type="google-code">emacspeak</remote-id>
<remote-id type="sourceforge">emacspeak</remote-id>
</upstream>
diff --git a/app-accessibility/epos/epos-2.5.37-r3.ebuild b/app-accessibility/epos/epos-2.5.37-r3.ebuild
index 81187ea939bf..bb198daa9877 100644
--- a/app-accessibility/epos/epos-2.5.37-r3.ebuild
+++ b/app-accessibility/epos/epos-2.5.37-r3.ebuild
@@ -1,23 +1,20 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools
+inherit autotools flag-o-matic
-DESCRIPTION="language independent text-to-speech system"
+DESCRIPTION="Language independent text-to-speech system"
HOMEPAGE="http://epos.ufe.cz/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 x86"
-IUSE=""
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 x86"
+RESTRICT="test" # needs running eposd
-RESTRICT=test # needs running eposd
-
-DEPEND="dev-util/byacc"
-RDEPEND=""
+BDEPEND="dev-util/byacc"
PATCHES=(
"${FILESDIR}"/${PN}-2.5.37-gcc43.patch
@@ -36,6 +33,9 @@ src_prepare() {
}
src_configure() {
+ # Uses removed 'register' keyword, bug #894178
+ append-cxxflags -std=c++03
+
econf \
--enable-charsets \
--disable-portaudio \
diff --git a/app-accessibility/espeak-ng/Manifest b/app-accessibility/espeak-ng/Manifest
index c145ee48ff57..174291e7849e 100644
--- a/app-accessibility/espeak-ng/Manifest
+++ b/app-accessibility/espeak-ng/Manifest
@@ -1,3 +1 @@
-DIST espeak-ng-1.50-ieee80.patch.xz 8128 BLAKE2B f9ae3b64d52f18b0dd4bb1ff1832d89fc22c319bccf3f7ada61628569857fded15a426703d035737b829fc8580707876ad09527380890f73df919740b40aa046 SHA512 4183fd13c902bdda27ac7e86fb4e4573ce85ca015aaea757aed27a869e4067a58c99b8f4d3e289710d1359d4fa289c2a4e6d5803845cd454c3dc59f79f4e2e80
-DIST espeak-ng-1.50.tar.gz 13665536 BLAKE2B c64c2a474374d4b6fe13bf3a99f5dfb661923c13ebd6c0bc323e7f26d9d90945c7075cc5c8f4b51e5db3303632c8c9daca7a65a1883e09d7c3faf63dd725ea3f SHA512 297dd80a6cdae3e2b8acf6823475220ce89d6a5fb68ea303156ad52cb3e7388049b6921759d4ed4e3d2e2ebd19bf931259e454f74a2ac0b7ecf4ce56c1d60c0c
DIST espeak-ng-1.51.tar.gz 14260788 BLAKE2B 230e8860247bdd44a26ba7281fadb7486e7fff90de229c71fb883693badfc141d5ad883769d6cead150f43560a5c47152cada4fcb5a28c0b0384dacaad2c9d09 SHA512 6c29275706d21de2d5fa393702d2f173fc05d2ce4e2f46f3bf9a2742b0a8f294177663df0d079188e31cc2541f2c21a64e09e8afffe95befab667a4d00429fd2
diff --git a/app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild b/app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild
deleted file mode 100644
index c3240b2d2dd3..000000000000
--- a/app-accessibility/espeak-ng/espeak-ng-1.50-r3.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Software speech synthesizer for English, and some other languages"
-HOMEPAGE="https://github.com/espeak-ng/espeak-ng"
-SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~ulm/distfiles/${P}-ieee80.patch.xz"
-
-LICENSE="GPL-3+ unicode"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
-IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound"
-
-COMMON_DEPEND="
- !app-accessibility/espeak
- mbrola? ( app-accessibility/mbrola )
- sound? ( media-libs/pcaudiolib )
-"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
- sound? ( media-sound/sox )
-"
-BDEPEND="
- virtual/pkgconfig
- man? ( || ( app-text/ronn-ng app-text/ronn ) )
-"
-
-PATCHES=( "${WORKDIR}"/${P}-ieee80.patch )
-
-DOCS=( CHANGELOG.md README.md docs )
-
-src_prepare() {
- default
-
- # disable failing tests
- rm tests/{language-pronunciation,translate}.test || die
- sed -i \
- -e "/language-pronunciation.check/d" \
- -e "/translate.check/d" \
- Makefile.am || die
-
- # https://github.com/espeak-ng/espeak-ng/issues/699
- # fixed in master
- sed -i -e "s/int samplerate;/static int samplerate;/" src/espeak-ng.c || die
-
- eautoreconf
-}
-
-src_configure() {
- # https://bugs.gentoo.org/836646
- export PULSE_SERVER=""
-
- local econf_args
- econf_args=(
- $(use_with async)
- $(use_with klatt)
- $(use_with l10n_ru extdict-ru)
- $(use_with l10n_zh extdict-zh)
- $(use_with l10n_zh extdict-zhy)
- $(use_with mbrola)
- $(use_with sound pcaudiolib)
- --without-libfuzzer
- --without-sonic
- --disable-rpath
- --disable-static
- )
- econf "${econf_args[@]}"
-}
-
-src_compile() {
- # see docs/building.md
- # The -j1s from compile/test/install may be droppable in next release
- # (after 1.50). Several bugs have been fixed upstream in git.
- emake -j1
-}
-
-src_test() {
- emake check -j1
-}
-
-src_install() {
- emake DESTDIR="${D}" VIMDIR=/usr/share/vim/vimfiles install -j1
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/app-accessibility/espeak-ng/espeak-ng-1.51.ebuild b/app-accessibility/espeak-ng/espeak-ng-1.51.ebuild
index a9ea01fea59e..19d3e39695fa 100644
--- a/app-accessibility/espeak-ng/espeak-ng-1.51.ebuild
+++ b/app-accessibility/espeak-ng/espeak-ng-1.51.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,21 +11,20 @@ SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar
LICENSE="GPL-3+ unicode"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound"
-COMMON_DEPEND="
- !app-accessibility/espeak
+DEPEND="
mbrola? ( app-accessibility/mbrola )
sound? ( media-libs/pcaudiolib )
"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${DEPEND}
+ !app-accessibility/espeak
sound? ( media-sound/sox )
"
BDEPEND="
virtual/pkgconfig
- man? ( || ( app-text/ronn-ng app-text/ronn ) )
+ man? ( app-text/ronn-ng )
"
DOCS=( CHANGELOG.md README.md docs )
diff --git a/app-accessibility/espeak-ng/espeak-ng-9999.ebuild b/app-accessibility/espeak-ng/espeak-ng-9999.ebuild
index 4dc30d2b5348..791939bee5a1 100644
--- a/app-accessibility/espeak-ng/espeak-ng-9999.ebuild
+++ b/app-accessibility/espeak-ng/espeak-ng-9999.ebuild
@@ -1,37 +1,36 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
DESCRIPTION="Software speech synthesizer for English, and some other languages"
HOMEPAGE="https://github.com/espeak-ng/espeak-ng"
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/espeak-ng/espeak-ng.git"
inherit git-r3
else
SRC_URI="https://github.com/espeak-ng/espeak-ng/archive/${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-3+ unicode"
SLOT="0"
IUSE="+async +klatt l10n_ru l10n_zh man mbrola +sound"
-COMMON_DEPEND="
- !app-accessibility/espeak
+DEPEND="
mbrola? ( app-accessibility/mbrola )
sound? ( media-libs/pcaudiolib )
"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="${DEPEND}
+ !app-accessibility/espeak
sound? ( media-sound/sox )
"
BDEPEND="
virtual/pkgconfig
- man? ( || ( app-text/ronn-ng app-text/ronn ) )
+ man? ( app-text/ronn-ng )
"
DOCS=( CHANGELOG.md README.md docs )
@@ -66,7 +65,6 @@ src_configure() {
--without-libfuzzer
--without-sonic
--disable-rpath
- --disable-static
)
econf "${econf_args[@]}"
}
diff --git a/app-accessibility/espeak-ng/metadata.xml b/app-accessibility/espeak-ng/metadata.xml
index 7ebc21c572bc..4901fb4be0a0 100644
--- a/app-accessibility/espeak-ng/metadata.xml
+++ b/app-accessibility/espeak-ng/metadata.xml
@@ -18,7 +18,7 @@
<flag name="klatt">Enables Klatt formant synthesis and implementation</flag>
<flag name="l10n_ru">Builds extended Russian Dictionary file</flag>
<flag name="l10n_zh">Builds extended Chinese (Mandarin and Cantonese) Dictionary files</flag>
- <flag name="man">Builds and installs manpage with app-text/ronn</flag>
+ <flag name="man">Builds and installs manpage with <pkg>app-text/ronn-ng</pkg></flag>
<flag name="mbrola">Adds support for mbrola voices</flag>
</use>
</pkgmetadata>
diff --git a/app-accessibility/espeak/Manifest b/app-accessibility/espeak/Manifest
deleted file mode 100644
index 24cc686e8b37..000000000000
--- a/app-accessibility/espeak/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST espeak-1.48.04-source.zip 3019245 BLAKE2B a29da5eab832fa76b180049765f7fa671ebf47c0a68ee2cdfb0f4466846d97b2bf7b8f07dba747e236a27c9b077000bfd471e35b9744ffac7c9014679f5c04fd SHA512 f0759e6ace2604c8cbb19e8c3fd4b106edf4dcece247a6677f6b734af7746c35a367126edfbe585396c98f6c54f07e25d64bfab35e258e64f09bd2c0833247fa
diff --git a/app-accessibility/espeak/espeak-1.48.04-r1.ebuild b/app-accessibility/espeak/espeak-1.48.04-r1.ebuild
deleted file mode 100644
index fba712bdf426..000000000000
--- a/app-accessibility/espeak/espeak-1.48.04-r1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-MY_P="${P}-source"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
-DESCRIPTION="Speech synthesizer for English and other languages"
-HOMEPAGE="http://espeak.sourceforge.net/"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="portaudio pulseaudio"
-
-COMMON_DEPEND="portaudio? ( >=media-libs/portaudio-19_pre20071207 )
- pulseaudio? ( media-sound/pulseaudio )"
-
-DEPEND="${COMMON_DEPEND}
- app-arch/unzip"
-
-RDEPEND="${COMMON_DEPEND}
- media-sound/sox"
-
-PATCHES=( "${FILESDIR}"/${P}-gcc-6-fix.patch )
-
-S="${WORKDIR}/${MY_P}/src"
-
-get_audio() {
- if use portaudio && use pulseaudio; then
- echo runtime
- elif use portaudio; then
- echo portaudio
- elif use pulseaudio; then
- echo pulseaudio
- else
- echo none
- fi
-}
-
-src_prepare() {
- default
- # gentoo uses portaudio 19.
- mv -f portaudio19.h portaudio.h
-}
-
-src_compile() {
- emake \
- PREFIX="${EPREFIX}/usr" \
- CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS}" \
- CXX="$(tc-getCXX)" \
- CXXFLAGS="${CXXFLAGS}" \
- AR="$(tc-getAR)" \
- AUDIO="$(get_audio)" \
- all
-
- einfo "Fixing byte order of phoneme data files"
- pushd ../platforms/big_endian > /dev/null
- emake \
- CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS}"
- ./espeak-phoneme-data \
- ../../espeak-data \
- . \
- ../../espeak-data/phondata-manifest
- cp -f phondata phonindex phontab "../../espeak-data"
-}
-
-src_install() {
- emake \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- DESTDIR="${D}" \
- AUDIO="$(get_audio)" \
- install
-
- cd ..
- insinto /usr/share/espeak-data
- doins -r dictsource
- dodoc ChangeLog.txt ReadMe
- HTML_DOCS="docs/*" einstalldocs
-}
-
-pkg_preinst() {
- local voicedir="${ROOT}/usr/share/${PN}-data/voices/en"
- if [ -d "${voicedir}" ]; then
- rm -rf "${voicedir}"
- fi
-}
-
-pkg_postinst() {
- if ! use portaudio && ! use pulseaudio; then
- ewarn "Since portaudio and pulseaudio are not in your use flags,"
- ewarn "espeak will only be able to create wav files."
- ewarn "If this is not what you want, please reemerge ${CATEGORY}/${PN}"
- ewarn "with either portaudio or pulseaudio USE flag enabled."
- fi
-}
diff --git a/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch b/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch
deleted file mode 100644
index f28de7338b37..000000000000
--- a/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://src.fedoraproject.org/cgit/rpms/espeak.git/tree/espeak-1.48-gcc-6-fix.patch
-diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp
---- a/tr_languages.cpp
-+++ b/tr_languages.cpp
-@@ -198,7 +198,7 @@ static const unsigned short chars_ignore_zwnj_hyphen[] = {
- 0x200d, 1, // zero width joiner
- 0, 0 };
-
--const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
-+const char string_ordinal[] = {'\xc2','\xba',0}; // masculine ordinal character, UTF-8
-
-
- static Translator* NewTranslator(void)
diff --git a/app-accessibility/espeak/metadata.xml b/app-accessibility/espeak/metadata.xml
deleted file mode 100644
index 7a1669bb69a0..000000000000
--- a/app-accessibility/espeak/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>williamh@gentoo.org</email>
- </maintainer>
- <maintainer type="project">
- <email>accessibility@gentoo.org</email>
- <name>Gentoo Accessibility Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">espeak</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-accessibility/espeakup/Manifest b/app-accessibility/espeakup/Manifest
index 63475c422dfb..59dfb0bf15fe 100644
--- a/app-accessibility/espeakup/Manifest
+++ b/app-accessibility/espeakup/Manifest
@@ -1,2 +1 @@
-DIST espeakup-0.80.tar.gz 39626 BLAKE2B f36d9776b954e73fd2bc33c7ba97dd323184480549b667ac2afc4dc40a8b98089b8ced16e8b1cb33e6b4c586df27a8d6f782236ef8770bc98a530665e257edcf SHA512 1b7e2bd46c3c13a5305746d2d2810ec94a8660f561e4f679ee4779be1b22178f8ac7de42d626d649710509f7b087b9a2f94608bde203d1bcd6d353229ed9ff83
DIST espeakup-0.90.tar.gz 25170 BLAKE2B f91a70bad0d985d313852b9e5f72dea4330ab23050ca6904ae5895d513088031f34d878cd64d97dcf2cf02dddc3e9fdabd0826cac98634829019ed3267e27bd8 SHA512 0731835a04063c5eac8ed0ed37cd92cc5d2dd1c58cbd94e158b7dfbb7bc0e2f84a6484fffd9009bf2920652a36fb737044b2e1fb67fb1679ee7150855bc9a15e
diff --git a/app-accessibility/espeakup/espeakup-0.80.ebuild b/app-accessibility/espeakup/espeakup-0.80.ebuild
deleted file mode 100644
index df2921d1d681..000000000000
--- a/app-accessibility/espeakup/espeakup-0.80.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/williamh/espeakup.git"
- inherit git-r3
-else
- EGIT_COMMIT=v${PV}
- SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 x86"
- inherit vcs-snapshot
-fi
-
-inherit linux-info
-
-DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
-HOMEPAGE="https://github.com/williamh/espeakup"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-
-COMMON_DEPEND="|| (
- app-accessibility/espeak[portaudio]
- app-accessibility/espeak[pulseaudio] )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-
-CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
-ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
-ERROR_SPEAKUP_SYNTH_SOFT="CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!"
-
-pkg_setup() {
- if kernel_is -ge 2 6 37; then
- check_extra_config
- elif ! has_version app-accessibility/speakup; then
- ewarn "Cannot find speakup on your system."
- ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
- ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
- ewarn "or install app-accessibility/speakup."
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX=/usr install
- einstalldocs
- newconfd "${FILESDIR}"/espeakup.confd espeakup
- newinitd "${FILESDIR}"/espeakup.rc espeakup
-}
-
-pkg_postinst() {
- elog "To get espeakup to start automatically, it is currently recommended"
- elog "that you add it to the default run level, by giving the following"
- elog "command as root."
- elog
- elog "rc-update add espeakup default"
- elog
- elog "You can also set a default voice now for espeakup."
- elog "See /etc/conf.d/espeakup for how to do this."
-}
diff --git a/app-accessibility/espeakup/espeakup-0.90.ebuild b/app-accessibility/espeakup/espeakup-0.90-r1.ebuild
index 35a599a7a198..0cbdd061286c 100644
--- a/app-accessibility/espeakup/espeakup-0.90.ebuild
+++ b/app-accessibility/espeakup/espeakup-0.90-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/linux-speakup/espeakup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 x86"
+ KEYWORDS="amd64 arm arm64 ~loong x86"
fi
inherit linux-info meson
@@ -24,7 +24,7 @@ COMMON_DEPEND="app-accessibility/espeak-ng[sound]
media-libs/alsa-lib"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
-BDEPEND="man? ( app-text/ronn )"
+BDEPEND="man? ( app-text/ronn-ng )"
CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild b/app-accessibility/espeakup/espeakup-9999.ebuild
index 206dd07cd258..503c5bd7ea0c 100644
--- a/app-accessibility/espeakup/espeakup-9999.ebuild
+++ b/app-accessibility/espeakup/espeakup-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -24,7 +24,7 @@ COMMON_DEPEND="app-accessibility/espeak-ng[sound]
media-libs/alsa-lib"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
-BDEPEND="man? ( app-text/ronn )"
+BDEPEND="man? ( app-text/ronn-ng )"
CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
diff --git a/app-accessibility/espeakup/files/espeakup.rc b/app-accessibility/espeakup/files/espeakup.rc
deleted file mode 100644
index 2989a970874b..000000000000
--- a/app-accessibility/espeakup/files/espeakup.rc
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command=/usr/bin/espeakup
-command_args="${espeakup_opts:-${ESPEAKUP_OPTS}}"
-pidfile=/run/espeakup.pid
-
-depend() {
- after modules
- use alsasound pulseaudio
-}
diff --git a/app-accessibility/flite/files/flite-2.2-backport-pr30.patch b/app-accessibility/flite/files/flite-2.2-backport-pr30.patch
new file mode 100644
index 000000000000..074dd857076f
--- /dev/null
+++ b/app-accessibility/flite/files/flite-2.2-backport-pr30.patch
@@ -0,0 +1,91 @@
+https://bugs.gentoo.org/896106
+https://github.com/festvox/flite/pull/90
+
+From 1f26195418fbe8915f48bb51e1e6126f531ecc25 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Fri, 24 Feb 2023 14:25:16 -0500
+Subject: [PATCH] Expose automated tests under "make check"
+
+The following unit tests can be run automatically without specifying any
+user-provided arguments:
+hrg_test lex_test multi_thread nums_test regex_test token_test
+
+Fix up the Makefiles to expose the ability to run these tests via "make
+check" or "make test", since it is currently broken (exposed at the top
+level, but missing the "test" target in testsuite/).
+---
+ Makefile | 2 +-
+ testsuite/Makefile | 22 ++++++++++++----------
+ 2 files changed, 13 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 511f8cf..1b627b2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -129,6 +129,6 @@ voices: ./bin/flite_cmu_us_awb ./bin/flite_cmu_us_rms ./bin/flite_cmu_us_rms
+ ./bin/flite_cmu_us_rms -voicedump voices/cmu_us_rms.flitevox
+ ./bin/flite_cmu_us_slt -voicedump voices/cmu_us_slt.flitevox
+
+-test:
++check test:
+ @ $(MAKE) --no-print-directory -C testsuite test
+
+diff --git a/testsuite/Makefile b/testsuite/Makefile
+index b60e98a..8b1163c 100644
+--- a/testsuite/Makefile
++++ b/testsuite/Makefile
+@@ -49,15 +49,17 @@ SRCS = token_test_main.c hrg_test_main.c \
+ bin2ascii_main.c record_in_noise_main.c \
+ compare_wave_main.c rfc_main.c lpc_resynth_main.c \
+ by_word_main.c flite_test_main.c \
+- dcoffset_wave_main.c tris1_main.c
++ dcoffset_wave_main.c tris1_main.c \
++ multi_thread_main.c
+ FC = us.flitecheck indic_hin.flitecheck indic_tam.flitecheck
+-OTHERS = kal_test_main.c multi_thread_main.c
++OTHERS = kal_test_main.c
+
+ FILES = Makefile $(SRCS) $(DATAFILES) $(OTHERS) $(FC)
+
+ LOCAL_INCLUDES = -I$(TOP)/lang/usenglish
+
+ MAIN_EXECS = $(SRCS:_main.c=$(EXEEXT))
++AUTO_EXECS = hrg_test lex_test multi_thread nums_test regex_test token_test
+ lex_test_LIBS = -lflite_cmulex
+ nums_test_LIBS = -lflite_usenglish
+ utt_test_LIBS = -lflite_cmulex
+@@ -65,6 +67,7 @@ lex_lookup_LIBS = -lflite_cmulex
+ ldom_time_LIBS = -L/home/awb/data/ldom/time_flite/flite/lib -lcmu_time_awb -lflite_usenglish -lflite_cmulex
+ flite_test_LIBS = -lflite_usenglish -lflite_cmulex
+ by_word_LIBS = -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex
++multi_thread_LIBS = -lflite_cmu_us_slt -lflite_cmulex -lflite_usenglish -lflite -lm -lasound -lgomp
+ #kal_test_LIBS = -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex \
+ # /home/awb/src/malloc/gmalloc.o
+
+@@ -73,19 +76,18 @@ LOCAL_CLEAN = $(MAIN_EXECS)
+
+ include $(TOP)/config/common_make_rules
+
++multi_thread : CFLAGS += -fopenmp
++
+ MAIN_O = $(SRCS:%=%_main.o)
+ $(MAIN_O) : %_main.o : %_main.c
+ $(CC) $(CFLAGS) -o $@ $<
+ $(MAIN_EXECS) : %$(EXEEXT) : %_main.o $(FLITELIBS)
+ $(CC) $(CFLAGS) -o $@ $@_main.o $($(@:=_LIBS)) $(FLITELIBFLAGS) $(LDFLAGS)
+
+-multi_thread: multi_thread_main.c
+- gcc -fopenmp -o multi_thread multi_thread_main.c \
+- $(CFLAGS) -I$(TOP)/include $(FLITELIBFLAGS) $(LDFLAGS) \
+- -l flite_cmu_us_slt -lflite_cmulex -lflite_usenglish \
+- -lflite -lm -lasound -lgomp
+-do_thread_test: multi_thread
+-# This shouldn't segfault
+- export OMP_NUM_THREADS=100 && ./multi_thread
++check test: $(patsubst %, run_%, $(AUTO_EXECS))
+
++run_%: %
++ LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(LIBDIR)" ./$<
+
++run_multi_thread: multi_thread
++ LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(LIBDIR)" OMP_NUM_THREADS=100 ./$<
diff --git a/app-accessibility/flite/files/flite-2.2-make-4.4.patch b/app-accessibility/flite/files/flite-2.2-make-4.4.patch
new file mode 100644
index 000000000000..21c2f866f5fc
--- /dev/null
+++ b/app-accessibility/flite/files/flite-2.2-make-4.4.patch
@@ -0,0 +1,60 @@
+https://github.com/festvox/flite/issues/86
+https://github.com/festvox/flite/pull/92
+
+From 14aa28529357ba13994a2bd90cfd11bfceeffcce Mon Sep 17 00:00:00 2001
+From: Moritz Barsnick <barsnick@gmx.net>
+Date: Thu, 23 Mar 2023 14:53:08 +0100
+Subject: [PATCH] fix implicit dependency on flite_voice_list.c
+
+Also make flite_lang_list a proper rule, so that it only builds once.
+
+Both C files were repeatedly being clobbered, as were their respective
+object files.
+
+Convert flite_voice_list.c is into an explicit dependency with a creation
+rule. flite_voice_list.o continues to be implicit from flite_voice_list.c.
+
+Convert flite_lang_list into a similar, proper object rule.
+
+Fixes https://github.com/festvox/flite/issues/86
+--- a/main/Makefile
++++ b/main/Makefile
+@@ -106,21 +106,16 @@ endif
+
+ .NOTPARALLEL: $(ALL)
+
+-flite_lang_list:
+- rm -f flite_lang_list.c
++flite_lang_list.c:
+ $(TOP)/tools/make_lang_list $(LANGS) $(LEXES)
+- $(MAKE) flite_lang_list.o
+
+-$(BINDIR)/flite$(EXEEXT): flite_main.o flite_lang_list $(flite_LIBS_deps)
++flite_voice_list.c:
+ $(TOP)/tools/make_voice_list $(VOICES)
+- rm -f flite_voice_list.o
+- $(MAKE) flite_voice_list.o
++
++$(BINDIR)/flite$(EXEEXT): flite_main.o flite_voice_list.o flite_lang_list.o $(flite_LIBS_deps)
+ $(CC) $(CFLAGS) -o $@ flite_main.o flite_voice_list.o flite_lang_list.o $(flite_LIBS_flags) $(LDFLAGS)
+
+-$(BINDIR)/flitevox_info$(EXEEXT): flitevox_info_main.o flite_lang_list $(flite_LIBS_deps)
+- $(TOP)/tools/make_voice_list $(VOICES)
+- rm -f flite_voice_list.o
+- $(MAKE) flite_voice_list.o
++$(BINDIR)/flitevox_info$(EXEEXT): flitevox_info_main.o flite_voice_list.o flite_lang_list.o $(flite_LIBS_deps)
+ $(CC) $(CFLAGS) -o $@ flitevox_info_main.o flite_voice_list.o flite_lang_list.o $(flite_LIBS_flags) $(LDFLAGS)
+
+ $(BINDIR)/world$(EXEEXT): world_main.c
+@@ -144,10 +139,7 @@ each:
+ $(MAKE) VOICE=$$i $(BINDIR)/flite_$$i ; \
+ done
+
+-$(BINDIR)/flite_${VOICE}: flite_main.o flite_lang_list $(flite_LIBS_deps)
+- $(TOP)/tools/make_voice_list $(VOICE)
+- rm -f flite_voice_list.o
+- $(MAKE) flite_voice_list.o
++$(BINDIR)/flite_${VOICE}: flite_main.o flite_voice_list.o flite_lang_list.o $(flite_LIBS_deps)
+ $(CC) $(CFLAGS) -o $@ flite_main.o flite_voice_list.o flite_lang_list.o $(flite_LIBS_flags) $(LDFLAGS)
+
+ install:
diff --git a/app-accessibility/flite/flite-2.2.ebuild b/app-accessibility/flite/flite-2.2-r1.ebuild
index 6f8a19f3681f..835c173da379 100644
--- a/app-accessibility/flite/flite-2.2.ebuild
+++ b/app-accessibility/flite/flite-2.2-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-inherit autotools multilib-minimal toolchain-funcs
+EAPI=8
+
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs
DESCRIPTION="Flite text to speech engine"
HOMEPAGE="http://www.festvox.org/flite/ https://github.com/festvox/flite"
@@ -43,17 +44,21 @@ SRC_URI="https://github.com/festvox/flite/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
-IUSE="alsa oss pulseaudio voices"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
+IUSE="alsa oss pulseaudio test voices"
+REQUIRED_USE="test? ( alsa )"
+RESTRICT="!test? ( test )"
DEPEND="
- pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
+ pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
!pulseaudio? ( alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) )
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.4-audio-interface.patch
+ "${FILESDIR}"/${PN}-2.2-backport-pr30.patch
+ "${FILESDIR}"/${PN}-2.2-make-4.4.patch
)
get_audio() {
@@ -68,6 +73,14 @@ get_audio() {
fi
}
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use test && tc-check-openmp
+}
+
src_unpack() {
for file in ${A}; do
case "${file}" in
@@ -93,6 +106,13 @@ src_prepare() {
multilib_copy_sources
}
+src_configure() {
+ # lto-type-mismatch
+ filter-lto
+
+ multilib-minimal_src_configure
+}
+
multilib_src_configure() {
local myconf=(
--enable-shared
@@ -102,7 +122,7 @@ multilib_src_configure() {
}
multilib_src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+ emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
multilib_src_install_all() {
diff --git a/app-accessibility/freetts/freetts-1.2.2-r2.ebuild b/app-accessibility/freetts/freetts-1.2.2-r2.ebuild
index 4322b03c1b15..b56e09fbc7e3 100644
--- a/app-accessibility/freetts/freetts-1.2.2-r2.ebuild
+++ b/app-accessibility/freetts/freetts-1.2.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,12 +7,12 @@ JAVA_PKG_IUSE="doc examples source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A speech synthesis system written entirely in Java"
-HOMEPAGE="https://freetts.sourceforge.net/"
+HOMEPAGE="https://freetts.sourceforge.io/"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
LICENSE="jsapi? ( sun-bcla-jsapi ) freetts"
SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
IUSE="jsapi mbrola"
DEPEND=">=virtual/jdk-1.8:*
diff --git a/app-accessibility/julius/julius-4.2.2.ebuild b/app-accessibility/julius/julius-4.2.2-r1.ebuild
index b26cdb8dfc2c..11e80caf7033 100644
--- a/app-accessibility/julius/julius-4.2.2.ebuild
+++ b/app-accessibility/julius/julius-4.2.2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit toolchain-funcs
@@ -22,10 +22,10 @@ RDEPEND="
sys-libs/zlib
alsa? ( media-libs/alsa-lib )
portaudio? ( media-libs/portaudio )
- pulseaudio? ( media-sound/pulseaudio )
+ pulseaudio? ( media-libs/libpulse )
sndfile? ( media-libs/libsndfile )"
DEPEND="${RDEPEND}
- sys-devel/flex"
+ app-alternatives/lex"
PATCHES=(
"${FILESDIR}"/${PN}-4.2.2-install.patch
diff --git a/app-accessibility/julius/metadata.xml b/app-accessibility/julius/metadata.xml
index 9292e732d9a4..637efed0390e 100644
--- a/app-accessibility/julius/metadata.xml
+++ b/app-accessibility/julius/metadata.xml
@@ -6,6 +6,6 @@
<name>Gentoo Accessibility Project</name>
</maintainer>
<upstream>
- <remote-id type="sourceforge-jp">julius</remote-id>
+ <remote-id type="osdn">julius</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-accessibility/kontrast/Manifest b/app-accessibility/kontrast/Manifest
index ee3697f3b049..6e467525d1c8 100644
--- a/app-accessibility/kontrast/Manifest
+++ b/app-accessibility/kontrast/Manifest
@@ -1,2 +1,2 @@
-DIST kontrast-21.12.3.tar.xz 125760 BLAKE2B b72d78961d22fc0eb51c0a64f9a7381ef9e87709d9fc24a08c3b08c60ad8102eadbc97943e72b1153f950654f442f97190d1e34c3beb24f4f8ea070f923dba55 SHA512 36d084f0801d393a0d7bdd771d23163a192e6d0e50f6499b9080e3928f5f3982dcee81c3e3453f8de2ece721c508479928fdff4a971cfef945acadd917e19581
-DIST kontrast-22.04.1.tar.xz 125840 BLAKE2B 262ce500121a5d825fa30a241e5754c5f08638793ca07bff76e905a3bdade5de15e73b152fbab080768990c9879891a12fe6828b8c0eb1ee4b9e5523b830113c SHA512 ceaae7d2d183e9586ffa5088bfee80a292a0b61e5d53fe964c67bf421b461ad2875513f5e39a22b18b142d48ecff66fc3f7b145b9958cb6d2676c3a5537e65e7
+DIST kontrast-23.08.5.tar.xz 211984 BLAKE2B f1c50f90031615bc9a3ddd00155f40fed2244994de309385e386fae7e21dddb7bd1dfa5a722050dcf67c7ad3def6d1979efc8623a18bcc21b6438178d15fc116 SHA512 e70d5bdc5a7363358f8d09c6a2bafda9645bcb5f9acc0fa4e51ed836e87baa92b3f9e6c4a81bd3d1050de152100426e714c6dd8d46459aa0d81949776880f9ae
+DIST kontrast-24.02.2.tar.xz 213068 BLAKE2B e0d47077d647f751683d49cf717b9aba45777079d2913c7e60fa21ef80441c51a07f45d47b2c9192a9976af4d2f2eb31e1da43f844da8dbda08b64236b334e1e SHA512 4a925a6b370820bc9d51352e81758059dd4cc8f4ac38f6cb6db5cf587653b4eb5599baa289fe22019e3a1314b05b979b950a7f34655901499d354a3cfab6d94f
diff --git a/app-accessibility/kontrast/kontrast-22.04.1.ebuild b/app-accessibility/kontrast/kontrast-22.04.1.ebuild
deleted file mode 100644
index ff5f2492ee4a..000000000000
--- a/app-accessibility/kontrast/kontrast-22.04.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KDE_GEAR="true"
-KFMIN=5.92.0
-QTMIN=5.15.3
-inherit ecm kde.org
-
-DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
-HOMEPAGE="https://apps.kde.org/kontrast/"
-
-LICENSE="GPL-3+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE=""
-
-DEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtquickcontrols2-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kirigami-${KFMIN}:5
-"
-RDEPEND="${DEPEND}
- kde-plasma/xdg-desktop-portal-kde
-"
diff --git a/app-accessibility/kontrast/kontrast-21.12.3.ebuild b/app-accessibility/kontrast/kontrast-23.08.5.ebuild
index 451c6b4c9b7d..1d879fc0f11f 100644
--- a/app-accessibility/kontrast/kontrast-21.12.3.ebuild
+++ b/app-accessibility/kontrast/kontrast-23.08.5.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-KDE_GEAR="true"
-KFMIN=5.88.0
-QTMIN=5.15.2
-inherit ecm kde.org
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
HOMEPAGE="https://apps.kde.org/kontrast/"
@@ -17,6 +17,8 @@ KEYWORDS="amd64 arm64 ~riscv x86"
IUSE=""
DEPEND="
+ dev-db/futuresql5
+ dev-libs/qcoro5
>=dev-qt/qtdbus-${QTMIN}:5
>=dev-qt/qtdeclarative-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
diff --git a/app-accessibility/kontrast/kontrast-24.02.2.ebuild b/app-accessibility/kontrast/kontrast-24.02.2.ebuild
new file mode 100644
index 000000000000..b7102e0c087d
--- /dev/null
+++ b/app-accessibility/kontrast/kontrast-24.02.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=6.0.0
+QTMIN=6.6.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
+HOMEPAGE="https://apps.kde.org/kontrast/"
+
+LICENSE="GPL-3+"
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-db/futuresql
+ dev-libs/qcoro
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,sql,widgets]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kirigami-${KFMIN}:6
+"
+RDEPEND="${DEPEND}
+ kde-plasma/xdg-desktop-portal-kde:*
+"
diff --git a/app-accessibility/kontrast/metadata.xml b/app-accessibility/kontrast/metadata.xml
index d925f2439758..2fe731d24020 100644
--- a/app-accessibility/kontrast/metadata.xml
+++ b/app-accessibility/kontrast/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<bugs-to>https://bugs.kde.org/</bugs-to>
+ <remote-id type="kde-invent">accessibility/kontrast</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-accessibility/mbrola-voices/mbrola-voices-0_pre20200331.ebuild b/app-accessibility/mbrola-voices/mbrola-voices-0_pre20200331.ebuild
index c4eac836e63d..34eb83a5677f 100644
--- a/app-accessibility/mbrola-voices/mbrola-voices-0_pre20200331.ebuild
+++ b/app-accessibility/mbrola-voices/mbrola-voices-0_pre20200331.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/numediart/mbrola-voices/archive/${GIT_COMMIT}.tar.gz
LICENSE="MBROLA-VOICES"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
# This maps the l10n values to the appropriate voices
declare -A voicemap
diff --git a/app-accessibility/mbrola/Manifest b/app-accessibility/mbrola/Manifest
index b38bb4772a3c..8ebacce40441 100644
--- a/app-accessibility/mbrola/Manifest
+++ b/app-accessibility/mbrola/Manifest
@@ -1,25 +1 @@
-DIST de1-980227.zip 9946342 BLAKE2B f14c2baef6cfdd66004a2d64e0623c347b8a1116cfb6441729cf9089eef2c67bc9c1cbf3db2679d43c4b407d4a8b73d2905fb8c547777ba1dc461bf8a603a9c3 SHA512 df9027ee1a1bd32542d02bb851bff54379a9526f3d52429786e51c4a96b9de9cb1b8e1e7d66d4c6c77a13e285311c62fa0a13e0e749c8590c7292121e231fb47
-DIST de2-990106.zip 9463658 BLAKE2B db52832db05ed81b1abe43972fc6497b8ea2a93c157fb4c5a641fb9fef0fe70d3ac8139c76b1dba00a58e722e3afdb2629979581731a48d706bdda85414061d4 SHA512 9d2dfb685c71d4348bad142035152c6c4bfb60f98121ea1be4e51adfb078137aa93c0b8b4c1e43c9aaee51e0d3bad4a6c7a2f6ffc019e0cb34ac853cddd8b7be
-DIST de3-000307.zip 10486554 BLAKE2B 019fd652fb173e6ff492467eef35d4d45ed89ae04a39785c1ddaa59d32d16cf6779d80b9812368540398e19416e280041671c2d74577e7727d0a12f6c5c3e3d0 SHA512 32bbf8d19d2f1032429b1f777c43d49746c45d5c150258f08a1533f7681df973483ac96f3db8c6bfff0481f7558853b749ee7c024410237982e712880935ccb9
-DIST de4.zip 19520969 BLAKE2B c8598846b30583f7d187be0a0ef11b45bbbd537d4df3a8a571929ed7498abd58274769eb1d7d39dfd6e30397981119e94657cc5bef41852ce38cee56764135a4 SHA512 ea8ab4192c68b9ad6c4f4c02500015449fc332c22f811cdeee8956a85c347bb48fa263082495f5cd20c0b3641b67673acb7b3da081cb15863271d988b238b4d7
-DIST de5.zip 13134662 BLAKE2B 7c755a75ce66c6c964e23ba3e5db4981137f7d8c12bf3087f14737c285f9c76e664fcdd60a8c25abc9fc006872d40d14d0a82035700841e2bf6f9f8040855303 SHA512 652110430f13cb81420ffa08d368d7992a5ce814c9682d5ab90ec1cd43aa631b6cae9df918171864184efdda0ad804ca4560ede6d048ef3067332f712f72cc19
-DIST de8.zip 9693603 BLAKE2B 714d9cf965f334cd78fad9678b211b9774e82bddfab15a8f9a277a6a1a47ed5e27c4bb49393c500e78c21577a248888c05ec3a4bb36e48cc4c5d60c30ec9c150 SHA512 6e8d1be85eb8c24d5c38c1c102cecca4af9538a55b75b78ef62bccf0761a431beb0ed3d31e4aea271c29037631ed4b00763aea90c06dffddb3b52cbe8d65b3d7
-DIST es1-980610.zip 2110022 BLAKE2B ca03827f5db08e7489f7d7526e0a5607a1d8e06d1936984dbf6cce044731ad80acdf8674b07b4efb48be27f036b5e4b4abf189e4bf85885d0cf3ed59a873443d SHA512 1459a346c66133e70eeb1cec057b762e6f22d11472c33c732cd45b92afecb8628de861992abb07c3272ee640bb023154b838d1648b6541228256e57206216ed5
-DIST es2-989825.zip 5111601 BLAKE2B f97a09006ee4e676d1b2e271330c46f989fc9df429a8b38240cee2240b4a0d667e37afdae9d14db86e0eecb99beba9b61a26350205589cde4231c5bd77ad7018 SHA512 69d9bb62b42607714ea692a3570c70ddbe32590f2dd6c0466f6cad685a292c74ade693af7fead0d4bbdf12a70a36e06e3205bd07854855b628f59d7bc1d1be3a
-DIST es4.zip 2804262 BLAKE2B 52f7d37ffafefecc82235bc9fc75e18d2beb123b1aeedcb9e2b1dae57fa97ef2bcd5d9b594f320a26b6fa8e30ad4e6d036ace9e34297166ac17f5142ce63d571 SHA512 b5ce924fc894a3e186cf06feb3afc0f8ce2805310e1da34c4a74b52100d2ecfbb073d63c87c5809e05e89b47b57fa32bc0edd44ad7477aa92facc9ac041cd349
-DIST fr1-990204.zip 4694334 BLAKE2B a47befd6d661a497072dea2d693bf20be00eda72f64d7670588692acfb3304f9cf10973e99cb6455b919c2adc89bb597ea1c78c04573b60eb5f1c0a916833054 SHA512 1a24326f6f9989d88f8a8447ebb1d9f8fbfd49f909a28d456c170bc8615b9385be678202e0d6d5c867d3a50ca68ca16f85ea5410d16fd2c70e4f9b6f7b115afb
-DIST fr2-980806.zip 5744598 BLAKE2B 21006b4b236ec05df964832eb3487b55ac447c199fa544143fadb18bb57214e7278c119f4a7566e089666e2b2562c5f1899f85b37bb746d75a8c68adc4d990ea SHA512 cca19bc7db0118e6a09f203346f355e87b2a75902e06ee7d82c2379a4ebaa8144f64ae79b5ff6cd9c49e0d46a26d2a05109f325bda78e1b0462089b6d03a104c
-DIST fr3-990324.zip 4702681 BLAKE2B 8a9078bee17f488f43225bad2aff93e94e8d6c29f2b1b291f7e651376da7ca1595d16b66360b02e429b16428aa9bbe485c44e151d9ff8a8920b11aafa6a16215 SHA512 24a715b5913ca931624f5c079d7027d3c84543c6044ab49283550dd7d0158d19c610d2ee9ebb055d8de14f9b817aac1d4b32599729b17838d5f914ec3bf50439
-DIST fr6-010330.zip 4610252 BLAKE2B 37242228b5722a5f1a9962492e9d927d8e25c54abc499f2d11f5fe6e1007c7609aca0733f40edb81fd73f8a42c443b5124398a3292a21d718dec10c4e3687588 SHA512 41bfba97e6b06a987a691a7dbb6e6a5bc00c7a6e4576215297e1db974a8efd06fc7e960fc0c83f024852c195c7f4c0da5e8d3ac6f5ad3f641193ee1d65679879
-DIST it3-010304.zip 5349273 BLAKE2B 7f1c98945c213b738eaacbf4164bb18cc44cef0b12a64f1ee2ced92e0cf468bfcebefa83307d31e5695f3580d57b06d0bf43397bd524a28825163f38aa75507a SHA512 cb179430b93cef676d4e3f792d453f2dc3a34ad0f5bd0a36e97ded98b17c0dc5cad1622f7bb7e7f4f6b26d944573b906b33eb519bc19d0bcec01ea4810d8f71c
-DIST it4-010926.zip 5044168 BLAKE2B e2e63f85f13f0d8667a46e5c78e9e449ffe32cf798d8e46b942af390b60bf636cf1d23520c5e13d180b2dcfe80040ae87616726bf1db818f2aad31d8b9a48e4f SHA512 a7fcdff5b30e213bf9f043c2323e73a769357a46ce6df9114579cc62392fe2394ce472120c73018a1a71870c7565d18bb912ba7650a267f8779e18c12f260113
-DIST la1.zip 7627631 BLAKE2B 7361fdf7fe072d6e9e71e8f41e3874023c6368d47e1fb8853578774b8df61b90e9ba6b38921f5286fd7c5ba9bfdf9056b6cdab9546e162f78f0d6082a7148a88 SHA512 5a367ede393feb28b587a380975baa84ca1840dfc5479f938de1588954f3ae23b06e0214b854e1f0137f178d197e4999e8e8750b136d964797116d53e49ec6cb
-DIST mbr301h.zip 309820 BLAKE2B 4c311e700e8ab0af7da9a33da6f57ac5fa2328f4049f703669fb03e4e468e578b5df5fa9b4cd468a74ad62a70330378f8127637e850e3f1ce3a8e1a979a6dc1d SHA512 24b522092ff8f18ab606ed9cae609a69ce8ae9ea56228468dfc3c4c6c114bc65ce9d69f420cddbdff75f1200dbed1edb667e8d84937a73218542dea25a88b848
DIST mbrola-3.3.tar.gz 345444 BLAKE2B e41d28e16d7792e91405d8449845f7f3e7a53b5176e1076a4a63e62f7f53f70fb955925762bb6c7c9560ff033530d8b20df6a0c580bc07758194982d6130e669 SHA512 4c15481d2afc7f459c511d2f2791ae1f0f89893ea86fcde113c73f9b5509b893bc7beac8ec5fa76ca0f4e0aca35982ff1db15e8611514d91991608aee004c3f2
-DIST pl1.zip 4050906 BLAKE2B ed60926ed95949e3e92313863d7e3c84c853347123ac93d54e042fc995e311d0db7afb19603f89b410ec544f0ea56d3eea1f094b45ea82c789325c09776642e8 SHA512 e42d4208719798512c5296e89defa59b46719c787bd352503f6377b185e817b709a27228a8fd2e70536632f68dff81aac9e145902e2a17fe95a366b0d4d03478
-DIST ro1-980317.zip 3222054 BLAKE2B b19e3ec147e7650fc0475dafb63af8c2d09da7f21f6536617fbaa73d4dc95431895bbe134f39daa3078e01a6620d91bc22e162401b3be42e731592c627a540e6 SHA512 06075426f3befde1a4a2c589f92340c964b22fc1cf54d34d1808d6ab8ba0d50a57f4a96e1c68ba06badee466d11bb46db6c929ce974ea25212ffb1987468b9a1
-DIST sw1-980623.zip 9386828 BLAKE2B 89a03aa3491efaf188b70d4cdeafa071dee86faefc45ecdbd6b26e10a60619a02e79874b86f67c6e2217c7592c5afaaadf4757eab6b94c1924546f1b7800ec8e SHA512 c3b2493f5ba6f91983bd6e2d821cce741d427886cdfa17f1f3ea58197445229fcaca05bd09f531c3166360f77232d04ef61290a5f2a2bbba22587d689d821484
-DIST sw2-140102.zip 5629399 BLAKE2B ea0b340dc4b0cf3fa7cbb170d2eb51d7a3f1c383de1ea2c2a397426f460eacf2f032e0e68170f98d43e5f869a5ab89cac71e867ae0b142f44b2794e8330fd145 SHA512 eedfe81cd37e3cbd022b3e2be5878d165cf29fb0cee36ddc700ba567c92181eaec0e48699fedffdd780f2205ab3e1ddd9a9426a88b0e6f02992de1639e4ce0b3
-DIST us1-980512.zip 6562915 BLAKE2B 72d884f6f8a83a07786363be8cd919748334bae52637e18b7970eebc53c3f267b3f65ff16f4440298c2a166733a38585ad498c40a2bedd7ddf793ce75d044a9e SHA512 e2b1eb7325e9fe0b58f3b0e265899b0da1cf5ec1cb183f241bf73ba670528b56cd091277f432446e6651d81dca21f2b2ea8a84622dd655d125cedda0447cdb62
-DIST us2-980812.zip 6387442 BLAKE2B 73502264a3900255f91edf5e3b92baff706205a72002faaed6b3a8eb0a7e0e32c21e14870cfa07a546c8bea6112b5433ca64b09b455070c49aaf2f059591025f SHA512 a8aea10bc08f6c66e863994a5238fc2caba1d308f5c9ef35ccd18d01eb92a38fcbc0b96593a56bd7abd2f714fe722aa6b3e2c3141da92a4c8c06e81efb843ac6
-DIST us3-990208.zip 6195800 BLAKE2B cf58531738ed412f75ff3c6d9788db8afd3468c10e5c07775b893516f399e3d14ef2bd5ebc5bb57ebb363d3c077924a496984f680e2ab9c45d05efc70642df19 SHA512 dbc6b0cdc3040ec3747f25a15dd17f35f0e97c40a153ae44e43a7e8030302e7e7c8710b10fe8184cc38f907de07a187ac0a7e3816be2230ce969aa014641d0ae
diff --git a/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild b/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
deleted file mode 100644
index f02fbb87b8fd..000000000000
--- a/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-IUSE="l10n_de l10n_es l10n_fr l10n_it l10n_la l10n_pl l10n_ro l10n_sv"
-
-DESCRIPTION="Speech synthesizer based on the concatenation of diphones. Includes samples"
-HOMEPAGE="http://tcts.fpms.ac.be/synthesis/mbrola.html"
-MY_PV=${PV//./}
-TCTS="http://tcts.fpms.ac.be/synthesis"
-SRC_URI="http://tcts.fpms.ac.be/synthesis/${PN}/bin/pclinux/mbr${MY_PV}.zip
- ${TCTS}/mbrola/dba/us1/us1-980512.zip
- ${TCTS}/mbrola/dba/us1/us2-980812.zip
- ${TCTS}/mbrola/dba/us3/us3-990208.zip
- l10n_de? ( ${TCTS}/mbrola/dba/de1/de1-980227.zip
- ${TCTS}/mbrola/dba/de2/de2-990106.zip
- ${TCTS}/mbrola/dba/de3/de3-000307.zip
- ${TCTS}/mbrola/dba/de4/de4.zip
- ${TCTS}/mbrola/dba/de5/de5.zip
- ${TCTS}/mbrola/dba/de8/de8.zip )
- l10n_es? ( ${TCTS}/mbrola/dba/es1/es1-980610.zip
- ${TCTS}/mbrola/dba/es2/es2-989825.zip
- ${TCTS}/mbrola/dba/es4/es4.zip )
- l10n_fr? ( ${TCTS}/mbrola/dba/fr1/fr1-990204.zip
- ${TCTS}/mbrola/dba/fr2/fr2-980806.zip
- ${TCTS}/mbrola/dba/fr3/fr3-990324.zip
- ${TCTS}/mbrola/dba/fr6/fr6-010330.zip )
- l10n_it? ( ${TCTS}/mbrola/dba/it3/it3-010304.zip
- ${TCTS}/mbrola/dba/it4/it4-010926.zip )
- l10n_la? ( ${TCTS}/mbrola/dba/la1/la1.zip )
- l10n_pl? ( ${TCTS}/mbrola/dba/pl1/pl1.zip )
- l10n_ro? ( ${TCTS}/mbrola/dba/ro1/ro1-980317.zip )
- l10n_sv? ( ${TCTS}/mbrola/dba/sw1/sw1-980623.zip
- ${TCTS}/mbrola/dba/sw2/sw2-140102.zip )"
-S=${WORKDIR}
-
-LICENSE="MBROLA"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
-RESTRICT="strip"
-
-BDEPEND="app-arch/unzip"
-
-QA_PREBUILT="/usr/bin/mbrola"
-
-src_unpack() {
- default
-
- if [[ -f pl1 ]]; then
- mkdir pl1DIR || die
- mv pl1 pl1.txt pl1DIR || die
- mv test pl1DIR/TEST || die
- mv pl1DIR pl1 || die
- fi
-
- case ${ARCH} in
- x86|amd64)
- cp mbrola-linux-i386 mbrola || die
- ;;
- ppc)
- cp mbrola302b-linux-ppc mbrola || die
- ;;
- sparc)
- cp mbrola-SuSElinux-ultra1.dat mbrola || die
- ;;
- alpha)
- cp mbrola-linux-alpha mbrola || die
- ;;
- *)
- elog "mbrola binary not available on this architecture. Still installing voices."
- esac
-}
-
-src_install() {
- # Take care of main binary
- if [[ -f mbrola ]]; then
- dobin mbrola
- dosym ../../bin/mbrola "/usr/share/${PN}/mbrola"
- fi
-
- dodoc readme.txt
-
- for voice in ??[0-9]; do
- insinto /usr/share/${PN}/${voice}
- [[ -f "${voice}/license.txt" ]] && doins ${voice}/license.txt
- [[ -f "${voice}/${voice}" ]] && doins ${voice}/${voice}
- [[ -f "${voice}/${voice}mrpa" ]] && doins ${voice}/${voice}mrpa
- [[ -d "${voice}/TEST" ]] && doins -r ${voice}/TEST
- [[ -f "${voice}/${voice}.txt" ]] && dodoc ${voice}/${voice}.txt
- done
-}
diff --git a/app-accessibility/mbrola/mbrola-3.3-r1.ebuild b/app-accessibility/mbrola/mbrola-3.3-r1.ebuild
index 2c07d5549f66..03426abc085c 100644
--- a/app-accessibility/mbrola/mbrola-3.3-r1.ebuild
+++ b/app-accessibility/mbrola/mbrola-3.3-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/numediart/MBROLA/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="AGPL-3+"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
RDEPEND="app-accessibility/mbrola-voices"
diff --git a/app-accessibility/mbrola/metadata.xml b/app-accessibility/mbrola/metadata.xml
index 904973efe33a..0ffb3e4615bb 100644
--- a/app-accessibility/mbrola/metadata.xml
+++ b/app-accessibility/mbrola/metadata.xml
@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>accessibility@gentoo.org</email>
- <name>Gentoo Accessibility Project</name>
-</maintainer>
-<maintainer type="project">
- <email>sound@gentoo.org</email>
- <name>Gentoo Sound project</name>
-</maintainer>
+ <maintainer type="project">
+ <email>accessibility@gentoo.org</email>
+ <name>Gentoo Accessibility Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">numediart/MBROLA</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-accessibility/nfbtrans/files/nfbtrans-7.74-modern-c.patch b/app-accessibility/nfbtrans/files/nfbtrans-7.74-modern-c.patch
new file mode 100644
index 000000000000..7752655138fe
--- /dev/null
+++ b/app-accessibility/nfbtrans/files/nfbtrans-7.74-modern-c.patch
@@ -0,0 +1,98 @@
+https://bugs.gentoo.org/874390
+
+Fix -Wimplicit-function-declaration and -Wformat-security.
+--- a/NFBTRANS.C
++++ b/NFBTRANS.C
+@@ -8,10 +8,12 @@
+ #else
+ #define UNIX_PATH "/etc/nfbtrans/"
+ #endif /* unix */
+-#include <stdio.h>
++#include <ctype.h>
++#include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #ifdef DOS
+ #include <io.h>
+ #include <string.h>
+@@ -132,6 +134,12 @@ char *output_extension[2] = {".brf", ".txt"};
+ int paramcount;
+ char **paramstr;
+
++void strnset(char *string, char c, short n);
++int strcmpi(char *s1, char *s2);
++void unbuf_stdin();
++void restore_stdin();
++void save_stdin();
++
+ typedef struct
+ {
+ char *name;
+@@ -5130,7 +5138,7 @@ void insert_hyphen_word(int date_only)
+ field[l - 1] = 0; /* remove lf */
+ if (!lines)
+ { /* first line */
+- fprintf(tempfile, date_string);
++ fprintf(tempfile, "%s", date_string);
+ cptr = strchr(field, 'A');
+ if (cptr)
+ strcpy(field, cptr); /* get rid of date */
+@@ -5341,7 +5349,7 @@ void test_hyphen_dictionary(int mode)
+ /* open for r+ */
+ open_hyp_dictionary(hyphen_dic_name, 3, 1);
+ rewind(hyp_dic_ptr);
+- fprintf(hyp_dic_ptr, date_string);
++ fprintf(hyp_dic_ptr, "%s", date_string);
+ open_hyp_dictionary(hyphen_dic_name, 3, 2);
+ } /* date found on first line */
+ else
+@@ -6511,7 +6519,7 @@ void translate_file()
+ { /* no file args */
+ if (!indirect_ptr)
+ {
+- fprintf(stderr, menu[10]);
++ fprintf(stderr, "%s", menu[10]);
+ get_input(temp, 80);
+ if (!temp[0])
+ exit_program(0);
+@@ -6709,9 +6717,9 @@ void translate_file()
+ if (!trans_mode1)
+ { /* get secondary translation mode */
+ i = (trans_default / 10);
+- fprintf(stderr, menu[0]);
++ fprintf(stderr, "%s", menu[0]);
+ for (j = 5; j < 8; j++)
+- fprintf(stderr, menu[j]);
++ fprintf(stderr, "%s", menu[j]);
+ backspace_int(i);
+ do
+ {
+@@ -6744,7 +6752,7 @@ void translate_file()
+ } /* construct output name */
+ else
+ { /* prompt */
+- fprintf(stderr, menu[11]);
++ fprintf(stderr, "%s", menu[11]);
+ get_input(outf_name, MAXPATHLEN - 1);
+ } /* prompt */
+ if (!outf_name[0])
+@@ -7110,7 +7118,7 @@ void get_page_range()
+ if (pageend < pagestart)
+ { /* pageend */
+ pageend = 9999;
+- fprintf(stderr, menu[9]);
++ fprintf(stderr, "%s", menu[9]);
+ backspace_int(pageend);
+ get_input(temp, 5);
+ get_end_page(temp);
+@@ -7481,7 +7489,7 @@ int main(int argc, char *argv[])
+ { /* choose mode */
+ j = (trans_default % 10);
+ for (i = 0; i < 4; i++)
+- fprintf(stderr, menu[i]);
++ fprintf(stderr, "%s", menu[i]);
+ while (trans_mode < 1 || trans_mode > 3)
+ {
+ fprintf(stderr, "\n%s", menu[4]);
diff --git a/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild b/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild
index 7e24f93de77b..8559b3ff195b 100644
--- a/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild
+++ b/app-accessibility/nfbtrans/nfbtrans-7.74-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,7 +7,7 @@ inherit toolchain-funcs
DESCRIPTION="Braille translator from the National Federation of the Blind"
HOMEPAGE="http://www.nfbnet.org/download/nfbtrans.htm"
-SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr774.zip"
+SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr$(ver_rs 1-2 '').zip"
S="${WORKDIR}"
LICENSE="public-domain"
diff --git a/app-accessibility/nfbtrans/nfbtrans-7.74-r3.ebuild b/app-accessibility/nfbtrans/nfbtrans-7.74-r3.ebuild
new file mode 100644
index 000000000000..725d8e586b12
--- /dev/null
+++ b/app-accessibility/nfbtrans/nfbtrans-7.74-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Braille translator from the National Federation of the Blind"
+HOMEPAGE="http://www.nfbnet.org/download/nfbtrans.htm"
+SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr$(ver_rs 1-2 '').zip"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+BDEPEND=">=app-arch/unzip-5.50-r2"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo-fix.patch
+ "${FILESDIR}"/${P}-getline-fix.patch
+ "${FILESDIR}"/${P}-respect-ldflags.patch
+ "${FILESDIR}"/${P}-modern-c.patch
+)
+
+src_prepare() {
+ mv MAKEFILE Makefile || die
+ mv SPANISH.ZIP spanish.zip || die
+
+ default
+
+ emake lowercase
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LIBS= \
+ CFLAGS="${CFLAGS} -DLINUX" \
+ LDFLAGS="${LDFLAGS}" \
+ all
+}
+
+src_install() {
+ dobin nfbtrans
+ dodoc *fmt readme.txt makedoc
+ insinto /etc/nfbtrans
+ doins *cnf *tab *dic spell.dat *zip
+}
diff --git a/app-accessibility/orca/Manifest b/app-accessibility/orca/Manifest
index 45d977f6c79f..75f961df094e 100644
--- a/app-accessibility/orca/Manifest
+++ b/app-accessibility/orca/Manifest
@@ -1,3 +1,2 @@
-DIST orca-41.2.tar.xz 3637836 BLAKE2B bebe1d6e37b88f8e1c97c2ee2a599185c2c14d88fc7d12805bb5a7623b1323ad8688cb846b6e733ef02d58390eb390d1dcd2150a0ed50c8109a7468d62f525c2 SHA512 a2d208193aaac48bf12ca22732b338cdcb5299edc7e7b5c75c88f8dee6ad69762287dbb36c25661c08f904b3848a2ca0e60f2d7153e41594944fab509ff3ef07
-DIST orca-42.0.tar.xz 3658384 BLAKE2B 7b8b83205e9b8c16021cb3582ca8ada195384b5dee4c93ea9707e5f6133f006d21e2b94c6c65131b73ac5d1072eea423d66d5c4b4e5cd6d2be7cc4fdf3c9ad0f SHA512 dee0f65cd1055293d65eabb360b515763501812264440410332d7c0bf58eff63035f8fee07d61e5caed7c860cdce44ca30b187c6fc1c0417102fb577ff02e340
-DIST orca-42.1.tar.xz 3700132 BLAKE2B 1310a1b43da709e9b273ce21374fff9fa30fbf08d1d0e171eb7eff4511ad5e2bcee12a2d6549a4c0c8e21526fb6f4b3b311d0e09fd6bfa863e29168809df9c10 SHA512 98f016087317666c4dcc7543d16ffb93214075d49d3708a1aa3dc8b6dd5d9d85c52dd31e650f4511371061c58d53e73455a09d6d7b4405b8a972b58ff1d7db91
+DIST orca-45.1.tar.xz 3966196 BLAKE2B 5d78e228c480e880ca62f5e6b35d5394cbe41b67dc14f7158ca3dcadcd9721bb6e37f2054c1fa3375019351fc609d1ab4268becede10b60fbc67051c5e67539f SHA512 581126ced85943c916d9b2c0a55c12fe16344c9d6501be0290698c0668909faab4c1f539ffd856c82d0b386cfa8ca00ba5176ff5b9c5c1176cc30faededb411a
+DIST orca-45.2.tar.xz 3997024 BLAKE2B dfdf113694127323a92450b04b20fcc5655be0236c0173167d5d15478703b676c3fd8c1de0e75783875c5d2d40541c764fb002314d66c7570475cd63f6bfa473 SHA512 57eee451cf0da52e1297beae6c6d527886721b23c3415a5e046f3431876fdf1603dbd81ca763ed614ace68e7db96d90b413c663f113d0033ec1f2797df7bf589
diff --git a/app-accessibility/orca/metadata.xml b/app-accessibility/orca/metadata.xml
index 6697d5324869..576805b0538e 100644
--- a/app-accessibility/orca/metadata.xml
+++ b/app-accessibility/orca/metadata.xml
@@ -1,18 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
-<use>
- <flag name="braille">Enable braille support</flag>
-</use>
-<longdescription>
- Orca is a flexible, extensible, and powerful assistive technology
- for people with visual impairments. Using various combinations of
- speech synthesis, braille, and magnification, Orca helps provide
- access to applications and toolkits that support the AT-SPI (e.g.,
- the GNOME desktop).
-</longdescription>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="braille">Enable braille support</flag>
+ </use>
+ <longdescription>
+ Orca is a flexible, extensible, and powerful assistive technology
+ for people with visual impairments. Using various combinations of
+ speech synthesis, braille, and magnification, Orca helps provide
+ access to applications and toolkits that support the AT-SPI (e.g.,
+ the GNOME desktop).
+ </longdescription>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/orca</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-accessibility/orca/orca-42.0.ebuild b/app-accessibility/orca/orca-42.0.ebuild
deleted file mode 100644
index b5714207dce1..000000000000
--- a/app-accessibility/orca/orca-42.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit gnome2 python-single-r1
-
-DESCRIPTION="Extensible screen reader that provides access to the desktop"
-HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
-
-LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-IUSE="+braille"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}
- >=app-accessibility/at-spi2-atk-2.34:2
- >=app-accessibility/at-spi2-core-2.36:2[introspection]
- >=dev-libs/atk-2.36
- >=dev-libs/glib-2.28:2
- media-libs/gstreamer:1.0[introspection]
- >=x11-libs/gtk+-3.6.2:3[introspection]
- $(python_gen_cond_dep '
- dev-python/gst-python:1.0[${PYTHON_USEDEP}]
- >=dev-python/pygobject-3.18:3[${PYTHON_USEDEP}]
- ')
- braille? (
- $(python_gen_cond_dep '
- >=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
- dev-libs/liblouis[python,${PYTHON_USEDEP}]
- ')
- )
-"
-RDEPEND="${DEPEND}
- dev-libs/atk[introspection]
- $(python_gen_cond_dep '
- >=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
- >=dev-python/pyatspi-2.36[${PYTHON_USEDEP}]
- dev-python/setproctitle[${PYTHON_USEDEP}]
- ')
- x11-libs/libwnck:3[introspection]
- x11-libs/pango[introspection]
-"
-BDEPEND="
- dev-util/itstool
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
-"
-# app-text/yelp-tools
-
-src_configure() {
- gnome2_src_configure \
- $(use_with braille liblouis)
-}
-
-src_install() {
- gnome2_src_install
- python_optimize
-}
diff --git a/app-accessibility/orca/orca-41.2.ebuild b/app-accessibility/orca/orca-45.1.ebuild
index 3e8ea706bcd3..69045598a323 100644
--- a/app-accessibility/orca/orca-41.2.ebuild
+++ b/app-accessibility/orca/orca-45.1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
+PYTHON_COMPAT=( python3_{10..11} )
inherit gnome2 python-single-r1
@@ -12,15 +11,13 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
IUSE="+braille"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
- >=app-accessibility/at-spi2-atk-2.34:2
- >=app-accessibility/at-spi2-core-2.36:2[introspection]
- >=dev-libs/atk-2.36
+ >=app-accessibility/at-spi2-core-2.48:2[introspection]
>=dev-libs/glib-2.28:2
media-libs/gstreamer:1.0[introspection]
>=x11-libs/gtk+-3.6.2:3[introspection]
@@ -36,10 +33,9 @@ DEPEND="${PYTHON_DEPS}
)
"
RDEPEND="${DEPEND}
- dev-libs/atk[introspection]
$(python_gen_cond_dep '
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
- >=dev-python/pyatspi-2.36[${PYTHON_USEDEP}]
+ >=dev-python/pyatspi-2.46[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
')
x11-libs/libwnck:3[introspection]
diff --git a/app-accessibility/orca/orca-42.1.ebuild b/app-accessibility/orca/orca-45.2.ebuild
index b5714207dce1..69045598a323 100644
--- a/app-accessibility/orca/orca-42.1.ebuild
+++ b/app-accessibility/orca/orca-45.2.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
+PYTHON_COMPAT=( python3_{10..11} )
inherit gnome2 python-single-r1
@@ -12,15 +11,13 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
IUSE="+braille"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
- >=app-accessibility/at-spi2-atk-2.34:2
- >=app-accessibility/at-spi2-core-2.36:2[introspection]
- >=dev-libs/atk-2.36
+ >=app-accessibility/at-spi2-core-2.48:2[introspection]
>=dev-libs/glib-2.28:2
media-libs/gstreamer:1.0[introspection]
>=x11-libs/gtk+-3.6.2:3[introspection]
@@ -36,10 +33,9 @@ DEPEND="${PYTHON_DEPS}
)
"
RDEPEND="${DEPEND}
- dev-libs/atk[introspection]
$(python_gen_cond_dep '
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
- >=dev-python/pyatspi-2.36[${PYTHON_USEDEP}]
+ >=dev-python/pyatspi-2.46[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
')
x11-libs/libwnck:3[introspection]
diff --git a/app-accessibility/powiedz/metadata.xml b/app-accessibility/powiedz/metadata.xml
index c874fbabc777..d44f4d8244c5 100644
--- a/app-accessibility/powiedz/metadata.xml
+++ b/app-accessibility/powiedz/metadata.xml
@@ -5,7 +5,7 @@
<email>accessibility@gentoo.org</email>
<name>Gentoo Accessibility Project</name>
</maintainer>
-<maintainer type="project">
+ <maintainer type="project">
<email>sound@gentoo.org</email>
<name>Gentoo Sound project</name>
</maintainer>
diff --git a/app-accessibility/sound-icons/sound-icons-0.1.ebuild b/app-accessibility/sound-icons/sound-icons-0.1.ebuild
index 30a81fbc310e..294d6b7afb58 100644
--- a/app-accessibility/sound-icons/sound-icons-0.1.ebuild
+++ b/app-accessibility/sound-icons/sound-icons-0.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-DESCRIPTION="a collection of Sound Icons for speech-dispatcher"
-HOMEPAGE="http://www.freebsoft.org"
-SRC_URI="http://www.freebsoft.org/pub/projects/${PN}/${P}.tar.gz"
+DESCRIPTION="Collection of Sound Icons for speech-dispatcher"
+HOMEPAGE="https://www.freebsoft.org"
+SRC_URI="https://www.freebsoft.org/pub/projects/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -22,9 +22,9 @@ src_install() {
dodoc README
insinto /usr/share/sounds/sound-icons
doins "${S}"/*.wav
- links="`find ${S} -type l -print`"
- for link in $links; do
- target=`readlink -n $link`
- dosym $target /usr/share/sounds/sound-icons/`basename $link`
+ local links=$(find "${S}" -type l -print)
+ for link in ${links}; do
+ target=$(readlink -n "${link}")
+ dosym "${target}" /usr/share/sounds/sound-icons/$(basename "${link}")
done
}
diff --git a/app-accessibility/speech-dispatcher/Manifest b/app-accessibility/speech-dispatcher/Manifest
index 27a152842bb7..6ddff1958c95 100644
--- a/app-accessibility/speech-dispatcher/Manifest
+++ b/app-accessibility/speech-dispatcher/Manifest
@@ -1,2 +1 @@
-DIST speech-dispatcher-0.11.1.tar.gz 6548489 BLAKE2B fd4e05c51b80991bdd5d27ecf967946cfde98f978462e909f193c14eab51f3cae047d281c3e2896b3ddeeb4e045ceb72f51e5dbfaf3f9ea8a818f8146cb5e625 SHA512 859911d7db5660423bc7911eacbe8e7a9c3104df97478cbbca48ca5fd6ec018113172d49bc66781680433c77b4d2af43578c9b0f11409e2ba7ac618deb31d7cf
-DIST speech-dispatcher-0.9.1.tar.gz 1662222 BLAKE2B 03c3d79a9cbbe7e549f638992fb276ab2270a45a057708721666257699479b3feb81daddf26d8032ba3f7b9ab6b836c7f582ee22a532ff018c99820af3864d87 SHA512 35adb353d22b8dff8884cb20f3836f96f4f74b272bbd442d522a10a3d3b91a0da6705e6c216764f295208b5446c2077da620de2a81cafe5a0c4dd826e33753c2
+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.4-GNU_SOURCE.patch b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.4-GNU_SOURCE.patch
new file mode 100644
index 000000000000..9f08e5a863a4
--- /dev/null
+++ b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.11.4-GNU_SOURCE.patch
@@ -0,0 +1,103 @@
+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/files/speech-dispatcher-0.9.1-fno-common.patch b/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.9.1-fno-common.patch
deleted file mode 100644
index 0914566a8a35..000000000000
--- a/app-accessibility/speech-dispatcher/files/speech-dispatcher-0.9.1-fno-common.patch
+++ /dev/null
@@ -1,466 +0,0 @@
-From f1c01ccc0ca3f82313ebff3f336d808acee225c8 Mon Sep 17 00:00:00 2001
-From: Samuel Thibault <samuel.thibault@ens-lyon.org>
-Date: Fri, 6 Dec 2019 10:27:39 +0100
-Subject: [PATCH] Fix global varibles definitions
-
----
- src/clients/say/options.c | 24 +++++++++++++++++++
- src/clients/say/options.h | 42 ++++++++++++++++-----------------
- src/modules/festival_client.c | 2 ++
- src/modules/festival_client.h | 2 +-
- src/modules/module_utils.c | 20 ++++++++++++++++
- src/modules/module_utils.h | 24 +++++++++----------
- src/server/compare.c | 1 +
- src/server/compare.h | 4 ++--
- src/server/configuration.c | 3 +++
- src/server/configuration.h | 4 ++--
- src/server/speaking.c | 10 ++++++++
- src/server/speaking.h | 14 +++++------
- src/server/speechd.c | 33 ++++++++++++++++++++++++++
- src/server/speechd.h | 44 +++++++++++++++++------------------
- 14 files changed, 160 insertions(+), 67 deletions(-)
-
-diff --git a/src/clients/say/options.c b/src/clients/say/options.c
-index f75ec7de..cb937d37 100644
---- a/src/clients/say/options.c
-+++ b/src/clients/say/options.c
-@@ -33,6 +33,30 @@
- #include "options.h"
- #include <i18n.h>
-
-+signed int rate;
-+signed int pitch;
-+signed int pitch_range;
-+signed int volume;
-+
-+int list_output_modules;
-+char *output_module;
-+char *sound_icon;
-+char *language;
-+char *voice_type;
-+char *punctuation_mode;
-+char *priority;
-+int pipe_mode;
-+SPDDataMode ssml_mode;
-+int spelling;
-+int wait_till_end;
-+int stop_previous;
-+int cancel_previous;
-+int list_synthesis_voices;
-+char *synthesis_voice;
-+
-+char *application_name;
-+char *connection_name;
-+
- void options_print_help(char *argv[])
- {
- assert(argv);
-diff --git a/src/clients/say/options.h b/src/clients/say/options.h
-index 2fdd3b96..dede6dcc 100644
---- a/src/clients/say/options.h
-+++ b/src/clients/say/options.h
-@@ -22,29 +22,29 @@
- #include <getopt.h>
- #include "speechd_types.h"
-
--signed int rate;
--signed int pitch;
--signed int pitch_range;
--signed int volume;
-+extern signed int rate;
-+extern signed int pitch;
-+extern signed int pitch_range;
-+extern signed int volume;
-
--int list_output_modules;
--char *output_module;
--char *sound_icon;
--char *language;
--char *voice_type;
--char *punctuation_mode;
--char *priority;
--int pipe_mode;
--SPDDataMode ssml_mode;
--int spelling;
--int wait_till_end;
--int stop_previous;
--int cancel_previous;
--int list_synthesis_voices;
--char *synthesis_voice;
-+extern int list_output_modules;
-+extern char *output_module;
-+extern char *sound_icon;
-+extern char *language;
-+extern char *voice_type;
-+extern char *punctuation_mode;
-+extern char *priority;
-+extern int pipe_mode;
-+extern SPDDataMode ssml_mode;
-+extern int spelling;
-+extern int wait_till_end;
-+extern int stop_previous;
-+extern int cancel_previous;
-+extern int list_synthesis_voices;
-+extern char *synthesis_voice;
-
--char *application_name;
--char *connection_name;
-+extern char *application_name;
-+extern char *connection_name;
-
- static struct option long_options[] = {
- {"rate", 1, 0, 'r'},
-diff --git a/src/modules/festival_client.c b/src/modules/festival_client.c
-index bb15cb86..f8327d46 100644
---- a/src/modules/festival_client.c
-+++ b/src/modules/festival_client.c
-@@ -75,6 +75,8 @@
- /* For testing endianness */
- int fapi_endian_loc = 1;
-
-+int festival_connection_crashed;
-+
- static char *socket_receive_file_to_buff(int fd, int *size);
-
- /* --- MANAGING FT STRUCTURES --- */
-diff --git a/src/modules/festival_client.h b/src/modules/festival_client.h
-index 21acdda2..dfbaac15 100644
---- a/src/modules/festival_client.h
-+++ b/src/modules/festival_client.h
-@@ -44,7 +44,7 @@
- #define FESTIVAL_DEFAULT_SERVER_PORT 1314
- #define FESTIVAL_DEFAULT_TEXT_MODE "fundamental"
-
--int festival_connection_crashed;
-+extern int festival_connection_crashed;
-
- typedef struct FT_Info {
- int encoding;
-diff --git a/src/modules/module_utils.c b/src/modules/module_utils.c
-index 0a3d3308..99e71fcb 100644
---- a/src/modules/module_utils.c
-+++ b/src/modules/module_utils.c
-@@ -35,6 +35,26 @@ extern char *module_index_mark;
-
- pthread_mutex_t module_stdout_mutex = PTHREAD_MUTEX_INITIALIZER;
-
-+int log_level;
-+
-+AudioID *module_audio_id;
-+
-+SPDMsgSettings msg_settings;
-+SPDMsgSettings msg_settings_old;
-+
-+int current_index_mark;
-+
-+int Debug;
-+FILE *CustomDebugFile;
-+
-+configfile_t *configfile;
-+configoption_t *module_dc_options;
-+int module_num_dc_options;
-+
-+const char *module_name;
-+
-+char *module_index_mark;
-+
- char *do_message(SPDMessageType msgtype)
- {
- int ret;
-diff --git a/src/modules/module_utils.h b/src/modules/module_utils.h
-index 12382d3b..87c5f813 100644
---- a/src/modules/module_utils.h
-+++ b/src/modules/module_utils.h
-@@ -49,23 +49,23 @@ typedef struct SPDMarks {
- gboolean stop;
- } SPDMarks;
-
--int log_level;
-+extern int log_level;
-
--AudioID *module_audio_id;
-+extern AudioID *module_audio_id;
-
--SPDMsgSettings msg_settings;
--SPDMsgSettings msg_settings_old;
-+extern SPDMsgSettings msg_settings;
-+extern SPDMsgSettings msg_settings_old;
-
--int current_index_mark;
-+extern int current_index_mark;
-
--int Debug;
--FILE *CustomDebugFile;
-+extern int Debug;
-+extern FILE *CustomDebugFile;
-
--configfile_t *configfile;
--configoption_t *module_dc_options;
--int module_num_dc_options;
-+extern configfile_t *configfile;
-+extern configoption_t *module_dc_options;
-+extern int module_num_dc_options;
-
--const char *module_name;
-+extern const char *module_name;
-
- #define CLEAN_OLD_SETTINGS_TABLE() do { \
- msg_settings_old.rate = -101;\
-@@ -395,7 +395,7 @@ configoption_t *add_config_option(configoption_t * options,
- #define INDEX_MARK_BODY_LEN 6
- #define INDEX_MARK_BODY "__spd_"
-
--char *module_index_mark;
-+extern char *module_index_mark;
-
- /* This macro must be placed at the initialization of the module so that the
- later functions are possible to use */
-diff --git a/src/server/compare.c b/src/server/compare.c
-index aa08ed79..8d36c39d 100644
---- a/src/server/compare.c
-+++ b/src/server/compare.c
-@@ -29,6 +29,7 @@
- #include "compare.h"
-
- /* Pointer to compare_message_uid */
-+gint(*p_msg_lc) ();
- gint(*p_msg_uid_lc) () = compare_message_uid;
-
- gint compare_message_uid(gconstpointer element, gconstpointer value, gpointer x)
-diff --git a/src/server/compare.h b/src/server/compare.h
-index f0c730c5..380c9ed2 100644
---- a/src/server/compare.h
-+++ b/src/server/compare.h
-@@ -27,7 +27,7 @@ gint compare_message_uid(gconstpointer element, gconstpointer value,
- gpointer x);
-
- /* Pointer to function compare_message_uid */
--gint(*p_msg_lc) ();
--gint(*p_msg_uid_lc) ();
-+extern gint(*p_msg_lc) ();
-+extern gint(*p_msg_uid_lc) ();
-
- #endif /* COMPARE_H */
-diff --git a/src/server/configuration.c b/src/server/configuration.c
-index a21b60c9..ba145995 100644
---- a/src/server/configuration.c
-+++ b/src/server/configuration.c
-@@ -33,6 +33,9 @@
- #include "symbols.h"
- #include <fdsetconv.h>
-
-+configoption_t *spd_options;
-+int spd_num_options;
-+
- static TFDSetClientSpecific *cl_spec_section;
-
- /* So that gcc doesn't comply about casts to char* */
-diff --git a/src/server/configuration.h b/src/server/configuration.h
-index 5850c63b..bd87a0d5 100644
---- a/src/server/configuration.h
-+++ b/src/server/configuration.h
-@@ -29,8 +29,8 @@
- #define SPEECHD_DEFAULT_PORT 6560
-
- /* Loading options from DotConf */
--configoption_t *spd_options;
--int spd_num_options;
-+extern configoption_t *spd_options;
-+extern int spd_num_options;
-
- configoption_t *load_config_options(int *num_options);
- void free_config_options(configoption_t * opts, int *num);
-diff --git a/src/server/speaking.c b/src/server/speaking.c
-index 2160c250..61463f3f 100644
---- a/src/server/speaking.c
-+++ b/src/server/speaking.c
-@@ -46,6 +46,16 @@ static SPDPriority highest_priority = 0;
- int SPEAKING = 0;
- int poll_count;
-
-+OutputModule *speaking_module;
-+int speaking_uid;
-+int speaking_gid;
-+
-+/* Pause and resume handling */
-+int pause_requested;
-+int pause_requested_fd;
-+int pause_requested_uid;
-+int resume_requested;
-+
- /*
- Speak() is responsible for getting right text from right
- queue in right time and saying it loud through the corresponding
-diff --git a/src/server/speaking.h b/src/server/speaking.h
-index 690db600..48752dfa 100644
---- a/src/server/speaking.h
-+++ b/src/server/speaking.h
-@@ -26,15 +26,15 @@
-
- #include <speechd_types.h>
-
--OutputModule *speaking_module;
--int speaking_uid;
--int speaking_gid;
-+extern OutputModule *speaking_module;
-+extern int speaking_uid;
-+extern int speaking_gid;
-
- /* Pause and resume handling */
--int pause_requested;
--int pause_requested_fd;
--int pause_requested_uid;
--int resume_requested;
-+extern int pause_requested;
-+extern int pause_requested_fd;
-+extern int pause_requested_uid;
-+extern int resume_requested;
-
- /* Speak() is responsible for getting right text from right
- * queue in right time and saying it loud through corresponding
-diff --git a/src/server/speechd.c b/src/server/speechd.c
-index 8d3c1de4..6f6e51a5 100644
---- a/src/server/speechd.c
-+++ b/src/server/speechd.c
-@@ -65,6 +65,39 @@ gint server_timeout_source = 0;
-
- int client_count = 0;
-
-+struct SpeechdOptions SpeechdOptions;
-+struct SpeechdStatus SpeechdStatus;
-+
-+pthread_t speak_thread;
-+pthread_mutex_t logging_mutex;
-+pthread_mutex_t element_free_mutex;
-+pthread_mutex_t output_layer_mutex;
-+pthread_mutex_t socket_com_mutex;
-+
-+GHashTable *fd_settings;
-+GHashTable *language_default_modules;
-+GHashTable *fd_uid;
-+
-+TSpeechDQueue *MessageQueue;
-+GList *MessagePausedList;
-+
-+GList *client_specific_settings;
-+
-+GList *last_p5_block;
-+
-+TFDSetElement GlobalFDSet;
-+
-+int speaking_pipe[2];
-+
-+GHashTable *speechd_sockets_status;
-+
-+FILE *logfile;
-+FILE *custom_logfile;
-+char *custom_log_kind;
-+FILE *debug_logfile;
-+
-+TSpeechDMode spd_mode;
-+
- static gboolean speechd_client_terminate(gpointer key, gpointer value, gpointer user);
- static gboolean speechd_reload_dead_modules(gpointer user_data);
- static gboolean speechd_load_configuration(gpointer user_data);
-diff --git a/src/server/speechd.h b/src/server/speechd.h
-index c0730b76..b23bbb69 100644
---- a/src/server/speechd.h
-+++ b/src/server/speechd.h
-@@ -123,7 +123,7 @@ typedef enum {
- SPD_MODE_SINGLE /* */
- } TSpeechDMode;
-
--TSpeechDMode spd_mode;
-+extern TSpeechDMode spd_mode;
-
- /* TSpeechDQueue is a queue for messages. */
- typedef struct {
-@@ -148,7 +148,7 @@ typedef struct {
- #include "alloc.h"
- #include "speaking.h"
-
--struct {
-+extern struct SpeechdOptions {
- char *communication_method;
- int communication_method_set;
- char *socket_path;
-@@ -172,48 +172,48 @@ struct {
- int server_timeout_set;
- } SpeechdOptions;
-
--struct {
-+extern struct SpeechdStatus {
- int max_uid; /* The largest assigned uid + 1 */
- int max_gid; /* The largest assigned gid + 1 */
- int max_fd;
- } SpeechdStatus;
-
- /* speak() thread defined in speaking.c */
--pthread_t speak_thread;
--pthread_mutex_t logging_mutex;
--pthread_mutex_t element_free_mutex;
--pthread_mutex_t output_layer_mutex;
--pthread_mutex_t socket_com_mutex;
-+extern pthread_t speak_thread;
-+extern pthread_mutex_t logging_mutex;
-+extern pthread_mutex_t element_free_mutex;
-+extern pthread_mutex_t output_layer_mutex;
-+extern pthread_mutex_t socket_com_mutex;
-
- /* Table of all configured (and succesfully loaded) output modules */
- extern GList *output_modules;
-
- /* Table of settings for each active client (=each active socket)*/
--GHashTable *fd_settings;
-+extern GHashTable *fd_settings;
- /* Table of default output modules for different languages */
--GHashTable *language_default_modules;
-+extern GHashTable *language_default_modules;
- /* Table of relations between client file descriptors and their uids */
--GHashTable *fd_uid;
-+extern GHashTable *fd_uid;
-
- /* Speech Dispatcher main priority queue for messages */
--TSpeechDQueue *MessageQueue;
-+extern TSpeechDQueue *MessageQueue;
- /* List of messages from paused clients waiting for resume */
--GList *MessagePausedList;
-+extern GList *MessagePausedList;
-
- /* List of different entries of client-specific configuration */
--GList *client_specific_settings;
-+extern GList *client_specific_settings;
-
- /* Saves the last received priority progress message */
--GList *last_p5_block;
-+extern GList *last_p5_block;
-
- /* Global default settings */
--TFDSetElement GlobalFDSet;
-+extern TFDSetElement GlobalFDSet;
-
- /* Inter thread comm pipe */
--int speaking_pipe[2];
-+extern int speaking_pipe[2];
-
- /* Managing sockets communication */
--GHashTable *speechd_sockets_status;
-+extern GHashTable *speechd_sockets_status;
- typedef struct {
- int awaiting_data;
- int inside_block;
-@@ -234,10 +234,10 @@ void MSG2(int level, char *kind, char *format, ...);
- #define FATAL(msg) do { fatal_error(); MSG(-1,"Fatal error [%s:%d]:"msg, __FILE__, __LINE__); exit(EXIT_FAILURE); } while (0)
- #define DIE(msg) do { MSG(0,"Error [%s:%d]:"msg, __FILE__, __LINE__); exit(EXIT_FAILURE); } while (0)
-
--FILE *logfile;
--FILE *custom_logfile;
--char *custom_log_kind;
--FILE *debug_logfile;
-+extern FILE *logfile;
-+extern FILE *custom_logfile;
-+extern char *custom_log_kind;
-+extern FILE *debug_logfile;
-
- /* For debugging purposes, does nothing */
- void fatal_error(void);
diff --git a/app-accessibility/speech-dispatcher/metadata.xml b/app-accessibility/speech-dispatcher/metadata.xml
index 0f3199f11253..506de2e0ba7d 100644
--- a/app-accessibility/speech-dispatcher/metadata.xml
+++ b/app-accessibility/speech-dispatcher/metadata.xml
@@ -13,8 +13,10 @@
<name>Gentoo Sound project</name>
</maintainer>
<use>
- <flag name="espeak">Adds support for espeak speech engine</flag>
- <flag name="espeak-ng">Adds support for espeak-ng speech engine</flag>
+ <flag name="espeak">Adds support for espeak-ng speech engine</flag>
<flag name="flite">Adds support for flite speech engine</flag>
</use>
+ <upstream>
+ <remote-id type="github">brailcom/speechd</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.1.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild
index 600860f99b64..7dd7e2f86301 100644
--- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.1.ebuild
+++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.4-r2.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-inherit python-r1 systemd
+PYTHON_COMPAT=( python3_{9..11} )
+# TODO: drop autotools + eautoreconf after 0.11.4
+inherit autotools python-r1 systemd
DESCRIPTION="Speech synthesis interface"
HOMEPAGE="https://freebsoft.org/speechd"
@@ -12,34 +13,44 @@ 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 ppc ppc64 ~riscv sparc x86"
-IUSE="alsa ao espeak +espeak-ng flite nas pulseaudio python"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~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
- dev-libs/libltdl:0
>=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 )
+ espeak? ( app-accessibility/espeak-ng )
flite? ( app-accessibility/flite )
nas? ( media-libs/nas )
- pulseaudio? ( media-sound/pulseaudio )"
+ 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
@@ -47,10 +58,10 @@ src_configure() {
--with-kali=no
--with-pico=no
--with-voxin=no
+ --with-espeak=no
$(use_with alsa)
$(use_with ao libao)
- $(use_with espeak)
- $(use_with espeak-ng)
+ $(use_with espeak espeak-ng)
$(use_with flite)
$(use_with nas)
$(use_with pulseaudio pulse)
@@ -97,7 +108,7 @@ src_install() {
pkg_postinst() {
local editconfig="n"
- if ! use espeak-ng; then
+ if ! use espeak; then
ewarn "You have disabled espeak-ng, which is speech-dispatcher's"
ewarn "default speech synthesizer."
ewarn
diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.9.1.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.9.1.ebuild
deleted file mode 100644
index 87ac784464a2..000000000000
--- a/app-accessibility/speech-dispatcher/speech-dispatcher-0.9.1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-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 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-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
- dev-libs/libltdl:0
- >=media-libs/libsndfile-1.0.2
- alsa? ( media-libs/alsa-lib )
- ao? ( media-libs/libao )
- espeak? ( app-accessibility/espeak )
- flite? ( app-accessibility/flite )
- nas? ( media-libs/nas )
- pulseaudio? ( media-sound/pulseaudio )"
-RDEPEND="${DEPEND}
- python? ( dev-python/pyxdg[${PYTHON_USEDEP}] )"
-BDEPEND="
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}/${P}-fno-common.patch" )
-
-src_configure() {
- # bug 573732
- export GIT_CEILING_DIRECTORIES="${WORKDIR}"
-
- local myeconfargs=(
- --disable-python
- --disable-static
- --with-baratinoo=no
- --with-ibmtts=no
- --with-kali=no
- $(use_with alsa)
- $(use_with ao libao)
- $(use_with espeak)
- $(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, 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
- elog "For festival support, you need to"
- elog "install app-accessibility/festival-freebsoft-utils."
-}
diff --git a/app-accessibility/speech-tools/files/speech-tools-2.5.0-drop-curses.patch b/app-accessibility/speech-tools/files/speech-tools-2.5.0-drop-curses.patch
new file mode 100644
index 000000000000..30b5448e820a
--- /dev/null
+++ b/app-accessibility/speech-tools/files/speech-tools-2.5.0-drop-curses.patch
@@ -0,0 +1,43 @@
+We already force in the correct detection via another patch and this
+logic (being dropped in this patch) assumes no -ltinfo.
+
+https://bugs.gentoo.org/837800
+--- a/configure.in
++++ b/configure.in
+@@ -42,12 +42,6 @@ AC_CHECK_TOOL(AR, ar)
+
+ AC_C_BIGENDIAN
+
+-AC_CHECK_LIB(ncurses, tputs, [TERMCAPLIB=-lncurses], [TERMCAPLIB=-lcurses])
+-dnl if test "$TERMCAPLIB" != "-ltermcap"; then
+-dnl AC_CHECK_LIB(termcap, tputs, [TERMCAPLIB=-ltermcap], [TERMCAPLIB=-lncurses])
+-dnl
+-AC_SUBST(TERMCAPLIB)
+-
+ dnl Which version of GCC do we have here
+ COMPILERTYPE=gcc
+ AC_TRY_COMPILE([#include <stdio.h>],
+diff --git a/config/config.in b/config/config.in
+index c7a268a..6c7f16a 100644
+--- a/config/config.in
++++ b/config/config.in
+@@ -98,7 +98,6 @@ LINUXAUDIO = @LINUXAUDIO@
+ ## It may not work under all systems, so may be optionally omitted.
+ INCLUDE_MODULES += EDITLINE
+
+-TERMCAPLIB = @TERMCAPLIB@
+ # speech recognition
+ #INCLUDE_MODULES += ASR
+
+diff --git a/config/modules/editline.mak b/config/modules/editline.mak
+index fe83c37..2d48b39 100644
+--- a/config/modules/editline.mak
++++ b/config/modules/editline.mak
+@@ -43,7 +43,6 @@ INCLUDE_EDITLINE=1
+ MOD_DESC_EDITLINE=Use editline for command line editing and history
+
+ IO_DEFINES += -DSUPPORT_EDITLINE $(MODULE_EDITLINE_OPTIONS:%=-DEDITLINE_%)
+-MODULE_LIBS += $(TERMCAPLIB)
+
+ ifeq ($(DIRNAME),siod)
+ CSRCS := $(CSRCS) el_complete.c editline.c el_sys_unix.c
diff --git a/app-accessibility/speech-tools/files/speech-tools-2.5.0-musl-isnan.patch b/app-accessibility/speech-tools/files/speech-tools-2.5.0-musl-isnan.patch
new file mode 100644
index 000000000000..da0077313abd
--- /dev/null
+++ b/app-accessibility/speech-tools/files/speech-tools-2.5.0-musl-isnan.patch
@@ -0,0 +1,65 @@
+See https://bugs.openjdk.org/browse/JDK-8178689 for some analysis - we can
+safely replace the deprecated/obsolete isnanf (which musl doesn't immplement)
+with isnan.
+
+https://bugs.gentoo.org/896170
+https://bugs.gentoo.org/829344
+--- a/intonation/tilt/tilt_utils.cc
++++ b/intonation/tilt/tilt_utils.cc
+@@ -133,7 +133,7 @@ float rfc_to_t_tilt(EST_Features &e)
+ {
+ float t_tilt;
+ t_tilt = (rfc_to_a_tilt(e) + rfc_to_d_tilt(e)) / 2;
+- if (isnanf(t_tilt))
++ if (isnan(t_tilt))
+ t_tilt = 0.0;
+ return t_tilt;
+ }
+--- a/sigpr/pda/smooth_pda.cc
++++ b/sigpr/pda/smooth_pda.cc
+@@ -112,7 +112,7 @@ void smooth_portion(EST_Track &c, EST_Features &op)
+
+ for (i = 0; i < c.num_frames(); ++i)
+ { // occasionally NaNs result...
+- if (isnanf(a[i]))
++ if (isnan(a[i]))
+ {
+ c.set_break(i);
+ c.a(i) = 0.0;
+--- a/sigpr/sigpr_frame.cc
++++ b/sigpr/sigpr_frame.cc
+@@ -314,7 +314,7 @@ void lpc2cep(const EST_FVector &lpc, EST_FVector &cep)
+ for (n = 0; n < cep.length(); n++)
+ {
+ // check if NaN -- happens on some frames of silence
+- if (isnanf(cep[n]) ) cep[n] = 0.0;
++ if (isnan(cep[n]) ) cep[n] = 0.0;
+
+ if (cep[n] > MAX_ABS_CEPS){
+ cerr << "WARNING : cepstral coeff " << n << " was " <<
+--- a/stats/confusion.cc
++++ b/stats/confusion.cc
+@@ -138,7 +138,7 @@ void print_confusion(const EST_FMatrix &a, EST_StrStr_KVL &list,
+ cout.precision(3);
+ cout.setf(ios::right);
+ // cout.setf(ios::fixed, ios::floatfield);
+- if (isnanf(correct(i)))
++ if (isnan(correct(i)))
+ cout << endl;
+ else
+ cout << correct(i) << endl;
+--- a/include/EST_math.h
++++ b/include/EST_math.h
+@@ -81,12 +81,6 @@ extern "C" {
+ #define isnanf(X) isnan(X)
+ #endif
+
+-/* Linux (and presumably Hurd too as Linux is GNU libc based) */
+-/* Sorry I haven't confirmed this cpp symbol yet */
+-#if defined(linux)
+-#define isnanf(X) __isnanf(X)
+-#endif
+-
+ /* OS/2 with gcc EMX */
+ #if defined(__EMX__)
+ #define isnanf(X) isnan(X)
diff --git a/app-accessibility/speech-tools/files/speech-tools-2.5.0-warnings.patch b/app-accessibility/speech-tools/files/speech-tools-2.5.0-warnings.patch
new file mode 100644
index 000000000000..4242700e6c2d
--- /dev/null
+++ b/app-accessibility/speech-tools/files/speech-tools-2.5.0-warnings.patch
@@ -0,0 +1,35 @@
+https://github.com/festvox/speech_tools/commit/4b677d6f3bc560248da369a86d5f2ec17c116da5
+(Just the strict aliasing hunk.)
+
+From 4b677d6f3bc560248da369a86d5f2ec17c116da5 Mon Sep 17 00:00:00 2001
+From: Sergio Oller <sergioller@gmail.com>
+Date: Sat, 29 Aug 2020 19:14:47 +0200
+Subject: [PATCH] Compile with gcc-9 without warnings (-Wall)
+
+--- a/speech_class/esps_utils.cc
++++ b/speech_class/esps_utils.cc
+@@ -1050,7 +1050,7 @@ enum EST_read_status read_esps_hdr(esps_hdr *uhdr,FILE *fd)
+ hdr->field_name[0] = wstrdup("samples");
+ fseek(fd,hdr->hdr_size,SEEK_SET);
+ /* In this cases its just in the header as a float */
+- sd_sample_rate = *((float *)(void *)&fhdr.fil4[0]);
++ memcpy(&sd_sample_rate, &fhdr.fil4[0], sizeof(float));
+ add_fea_d(hdr,"record_freq",0,(double)sd_sample_rate);
+ *uhdr = hdr;
+ return format_ok;
+@@ -1215,11 +1215,13 @@ enum EST_write_status write_esps_hdr(esps_hdr hdr,FILE *fd)
+ fhdr.thirteen = 13; /* must be for luck */
+ fhdr.sdr_size = 0;
+ fhdr.magic = ESPS_MAGIC;
+- strncpy(fhdr.date,ctime(&tx),26);
++ strncpy(fhdr.date,ctime(&tx),25);
++ fhdr.date[25] = 0;
+ sprintf(fhdr.version,"1.91"); /* that's what all the others have */
+ sprintf(fhdr.prog,"EDST");
+ sprintf(fhdr.vers,"0.1");
+- strncpy(fhdr.progcompdate,ctime(&tx),26);
++ strncpy(fhdr.progcompdate,ctime(&tx),25);
++ fhdr.progcompdate[25] = 0;
+ fhdr.num_samples = hdr->num_records;
+ fhdr.filler = 0;
+ /* in each record */
diff --git a/app-accessibility/speech-tools/metadata.xml b/app-accessibility/speech-tools/metadata.xml
index ff1e970ed22a..904973efe33a 100644
--- a/app-accessibility/speech-tools/metadata.xml
+++ b/app-accessibility/speech-tools/metadata.xml
@@ -9,8 +9,4 @@
<email>sound@gentoo.org</email>
<name>Gentoo Sound project</name>
</maintainer>
-<maintainer type="person">
- <email>bircoph@gentoo.org</email>
- <name>Andrew Savchenko</name>
-</maintainer>
</pkgmetadata>
diff --git a/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild b/app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild
index 1c0615542e77..90155ff033cd 100644
--- a/app-accessibility/speech-tools/speech-tools-2.5.0.ebuild
+++ b/app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
MY_P=${P/speech-/speech_}
PATCHSET="r3"
DESCRIPTION="Speech tools for Festival Text to Speech engine"
-HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
+HOMEPAGE="https://www.cstr.ed.ac.uk/projects/speech_tools/"
SRC_URI="http://www.festvox.org/packed/festival/$(ver_cut 1-2)/${MY_P}-release.tar.gz
https://dev.gentoo.org/~neurogeek/${PN}/speech_tools-2.1-${PATCHSET}-patches.tar.gz"
S="${WORKDIR}/speech_tools"
@@ -21,7 +21,7 @@ IUSE="nas openmp X"
RDEPEND="
media-libs/alsa-lib
- sys-libs/ncurses:0=
+ sys-libs/ncurses:=
nas? ( media-libs/nas )
X? (
x11-libs/libX11
@@ -48,6 +48,8 @@ PATCHES=(
# Fix underlinking, bug #493204
"${FILESDIR}/${PN}-2.1-underlinking.patch"
"${FILESDIR}/${PN}-2.5.0-fno-common.patch"
+ "${FILESDIR}/${PN}-2.5.0-drop-curses.patch"
+ "${FILESDIR}/${P}-warnings.patch"
)
pkg_pretend() {
@@ -75,6 +77,8 @@ src_prepare() {
-e "s|\$(OMP_DEFS)|$(use openmp && echo -DOMP_WAGON=1)|g" \
-e "/MAKE_SHARED_LIB =/s|-shared|$(use openmp && echo -fopenmp) -shared|" \
config/compilers/gcc_defaults.mak || die
+
+ eautoreconf
}
src_configure() {
@@ -95,6 +99,11 @@ src_configure() {
}
src_compile() {
+ # Lacks prototypes, bug #881863
+ append-cflags -std=gnu89
+ # Uses 'register' keyword removed in C++17, bug #894184
+ append-cxxflags -std=c++14
+
emake -j1 \
CC="$(tc-getCC)" \
CXX="$(tc-getCXX)" \
diff --git a/app-accessibility/speech-tools/speech-tools-2.5.0-r2.ebuild b/app-accessibility/speech-tools/speech-tools-2.5.0-r2.ebuild
new file mode 100644
index 000000000000..76971ff3cc3e
--- /dev/null
+++ b/app-accessibility/speech-tools/speech-tools-2.5.0-r2.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic toolchain-funcs
+
+MY_P=${P/speech-/speech_}
+PATCHSET="r3"
+
+DESCRIPTION="Speech tools for Festival Text to Speech engine"
+HOMEPAGE="https://www.cstr.ed.ac.uk/projects/speech_tools/"
+SRC_URI="http://www.festvox.org/packed/festival/$(ver_cut 1-2)/${MY_P}-release.tar.gz
+ https://dev.gentoo.org/~neurogeek/${PN}/speech_tools-2.1-${PATCHSET}-patches.tar.gz"
+S="${WORKDIR}/speech_tools"
+
+LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+IUSE="nas openmp X"
+
+RDEPEND="
+ media-libs/alsa-lib
+ sys-libs/ncurses:=
+ nas? ( media-libs/nas )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXt
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( README.md lib/cstrutt.dtd lib/example_data )
+
+PATCHES=(
+ "${WORKDIR}/patch/02_all_gcc42.patch"
+ "${WORKDIR}/patch/03_all_GentooLinux.patch"
+ "${WORKDIR}/patch/05_all_sharedlib.patch"
+ "${WORKDIR}/patch/06_all_gcc43-include.patch"
+ "${WORKDIR}/patch/09_all_remove-shared-refs.patch"
+ "${WORKDIR}/patch/10_all_base_class.patch"
+ "${WORKDIR}/patch/81_all_etcpath.patch"
+ "${WORKDIR}/patch/91_all_gentoo-config.patch"
+ "${WORKDIR}/patch/92_all_ldflags_fix.patch"
+ "${WORKDIR}/patch/94_all_ncurses_tinfo.patch"
+
+ # Fix underlinking, bug #493204
+ "${FILESDIR}/${PN}-2.1-underlinking.patch"
+ "${FILESDIR}/${PN}-2.5.0-fno-common.patch"
+ "${FILESDIR}/${PN}-2.5.0-drop-curses.patch"
+ "${FILESDIR}/${P}-warnings.patch"
+ "${FILESDIR}/${P}-musl-isnan.patch"
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ default
+
+ sed -i -e '/^CXXFLAGS =/s|CC_OTHER_FLAGS|CXX_OTHER_FLAGS|' \
+ config/compilers/gcc_defaults.mak || die
+
+ sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' \
+ main/siod_main.cc || die
+
+ # bug #309983
+ sed -i -e "s:\(GCC_SYSTEM_OPTIONS =\).*:\1:" \
+ "${S}"/config/systems/sparc_SunOS5.mak || die
+
+ sed -i -e "s|\$(OMP_OPTS)|$(use openmp && echo -fopenmp)|g" \
+ -e "s|\$(OMP_DEFS)|$(use openmp && echo -DOMP_WAGON=1)|g" \
+ -e "/MAKE_SHARED_LIB =/s|-shared|$(use openmp && echo -fopenmp) -shared|" \
+ config/compilers/gcc_defaults.mak || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local CONFIG=config/config.in
+
+ sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG} || die
+
+ if use nas; then
+ sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" \
+ ${CONFIG} || die
+ fi
+
+ if ! use X; then
+ sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak || die
+ fi
+
+ econf
+}
+
+src_compile() {
+ # Lacks prototypes, bug #881863
+ append-cflags -std=gnu89
+ # Uses 'register' keyword removed in C++17, bug #894184
+ append-cxxflags -std=c++14
+
+ emake -j1 \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ CC_OTHER_FLAGS="${CFLAGS}" \
+ CXX_OTHER_FLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ AR="$(tc-getAR)" \
+ RANLIB="$(tc-getRANLIB)"
+}
+
+src_install() {
+ default
+
+ dolib.so lib/libest*.so*
+
+ insinto /usr/share/speech-tools
+ doins -r config base_class
+
+ insinto /usr/share/speech-tools/lib
+ doins -r lib/siod
+
+ mv include speech-tools || die
+ doheader -r speech-tools
+ dosym ../../include/speech-tools /usr/share/speech-tools/include
+
+ for file in bin/*; do
+ [ "${file}" = "bin/Makefile" ] && continue
+ dobin ${file}
+ dstfile="${ED}/usr/${file}"
+ sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" \
+ ${dstfile} || die
+ sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" \
+ ${dstfile} || die
+ sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" \
+ ${dstfile} || die
+
+ # This just changes LD_LIBRARY_PATH
+ sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile} || die
+ done
+
+ exeinto /usr/$(get_libdir)/speech-tools
+ for file in `find main -perm /111 -type f`; do
+ doexe ${file}
+ done
+
+ # Remove bcat (only useful for testing on windows, see bug #418301).
+ rm "${ED}/usr/bin/bcat" || die
+ rm "${ED}/usr/$(get_libdir)/speech-tools/bcat" || die
+}
diff --git a/app-accessibility/speechd-el/Manifest b/app-accessibility/speechd-el/Manifest
index 0c8e13f5a768..13621cecb66c 100644
--- a/app-accessibility/speechd-el/Manifest
+++ b/app-accessibility/speechd-el/Manifest
@@ -1 +1,2 @@
+DIST speechd-el-2.11.tar.gz 144000 BLAKE2B ab87885b9b0873a4f00f8a960d9a4c10321a88e1edd402bc92a45dd2fc631be2a17398d0995c4c9e8c88221727739c27b506cab9cafb3a9635193bd5b9b83a3a SHA512 fc6be9f9c6dbf34be559be3ceb38ecca0e94ed7230a8e738f3bdad4153e7443cdf72f34a229c6cb119cab627bc4cfcee0542817715d980e01ed2c776c23b1b6e
DIST speechd-el-2.8.tar.gz 474614 BLAKE2B 36ac862c2f14b3f9b5be25bf666c466093f8e5bf3d456058d73a4eef0cc766d9b36ce990d8a3ee8161edb4190637a199853ac77eaedc28afd101ebd95842c47f SHA512 1a34e433d5ae61c83dfb7d3a9f26e25210613355f3a71e7601f15865cd9693db81dd9f559aef41bd3142d25702db88006bb9fd2053b597799f1b68c48911a3d2
diff --git a/app-accessibility/speechd-el/files/50speechd-el-gentoo.el b/app-accessibility/speechd-el/files/50speechd-el-gentoo.el
new file mode 100644
index 000000000000..d2614768a3cb
--- /dev/null
+++ b/app-accessibility/speechd-el/files/50speechd-el-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'speechd-speak "speechd-speak"
+ "Start or restart speaking." t)
+(autoload 'speechd-speak-mode "speechd-speak"
+ "Toggle speaking, the speechd-speak mode." t)
diff --git a/app-accessibility/speechd-el/metadata.xml b/app-accessibility/speechd-el/metadata.xml
index f3c777252cb3..690f1a3301a3 100644
--- a/app-accessibility/speechd-el/metadata.xml
+++ b/app-accessibility/speechd-el/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
-<email>williamh@gentoo.org</email>
+ <email>williamh@gentoo.org</email>
</maintainer>
<maintainer type="project">
<email>accessibility@gentoo.org</email>
@@ -12,4 +12,7 @@
<email>gnu-emacs@gentoo.org</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
+<upstream>
+ <remote-id type="github">brailcom/speechd-el</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/app-accessibility/speechd-el/speechd-el-2.11.ebuild b/app-accessibility/speechd-el/speechd-el-2.11.ebuild
new file mode 100644
index 000000000000..e183044a9320
--- /dev/null
+++ b/app-accessibility/speechd-el/speechd-el-2.11.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature readme.gentoo-r1 elisp
+
+DESCRIPTION="Emacs speech support"
+HOMEPAGE="https://www.freebsoft.org/speechd-el
+ https://github.com/brailcom/speechd-el"
+SRC_URI="https://github.com/brailcom/${PN}/archive/${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${P}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+RDEPEND=">=app-accessibility/speech-dispatcher-0.7"
+
+DOC_CONTENTS="To get Emacs to speak execute:
+M-x speechd-speak RET
+
+or add following to your initialization file (~/.emacs):
+(speechd-speak)"
+DISABLE_AUTOFORMATTING=YES
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ elisp_src_install
+
+ dobin speechd-log-extractor
+ dodoc ANNOUNCE NEWS README speechd-speak.pdf
+ doinfo ${PN}.info
+}
+
+pkg_postinst() {
+ elisp_pkg_postinst
+
+ optfeature "braille support" "app-accessibility/brltty"
+}
diff --git a/app-accessibility/sphinx2/sphinx2-0.6.ebuild b/app-accessibility/sphinx2/sphinx2-0.6-r1.ebuild
index 5a6921cdfb18..62369fd89d98 100644
--- a/app-accessibility/sphinx2/sphinx2-0.6.ebuild
+++ b/app-accessibility/sphinx2/sphinx2-0.6-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit autotools
@@ -10,13 +10,16 @@ MY_P=${P/_/}
DESCRIPTION="CMU Speech Recognition-engine"
HOMEPAGE="https://cmusphinx.github.io"
SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE="static-libs"
-S=${WORKDIR}/${MY_P}
+DOCS=( AUTHORS ChangeLog README NEWS
+ doc/{README.{bin,lib},SCHMM_format,filler.dict,phoneset{,-old}} )
+HTML_DOCS=( doc/{phoneset_s2,sphinx2}.html )
+
PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
src_prepare() {
@@ -25,16 +28,9 @@ src_prepare() {
eautoreconf
}
-src_configure() {
- econf $(use_enable static-libs static)
-}
-
src_install() {
- HTML_DOCS=( doc/{phoneset_s2,sphinx2}.html )
default
- dodoc doc/{README.{bin,lib},SCHMM_format,filler.dict,phoneset{,-old}}
- if ! use static-libs; then
- find "${D}" -name '*.la' -delete || die
- fi
+ rm -r "${ED}/usr/share/${PN}/doc" || die
+ find "${ED}" -name '*.la' -delete || die
}