From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- app-accessibility/Manifest.gz | Bin 4725 -> 4715 bytes app-accessibility/at-spi2-core/Manifest | 2 - .../at-spi2-core/at-spi2-core-2.40.2.ebuild | 55 ----- app-accessibility/brltty/Manifest | 9 +- app-accessibility/brltty/brltty-6.1-r1.ebuild | 4 +- app-accessibility/brltty/brltty-6.4-r1.ebuild | 221 +++++++++++++++++++++ app-accessibility/brltty/brltty-6.4.ebuild | 210 ++++++++++++++++++++ .../brltty/files/brltty-6.4-respect-AR.patch | 13 ++ app-accessibility/brltty/files/brltty.initd | 11 + app-accessibility/brltty/metadata.xml | 2 +- app-accessibility/caribou/Manifest | 1 - app-accessibility/caribou/caribou-0.4.21-r3.ebuild | 98 --------- app-accessibility/espeak-ng/Manifest | 5 +- .../espeak-ng/espeak-ng-1.50-r1.ebuild | 82 ++++++++ app-accessibility/espeak-ng/espeak-ng-1.50.ebuild | 8 +- app-accessibility/espeak-ng/espeak-ng-9999.ebuild | 11 +- app-accessibility/mbrola-voices/Manifest | 2 +- .../mbrola-voices-0_pre20200331.ebuild | 4 +- app-accessibility/mbrola/Manifest | 2 +- app-accessibility/mbrola/mbrola-3.3-r1.ebuild | 4 +- app-accessibility/orca/Manifest | 6 + app-accessibility/orca/orca-40.1.ebuild | 63 ++++++ app-accessibility/orca/orca-41.1.ebuild | 63 ++++++ app-accessibility/orca/orca-41.2.ebuild | 63 ++++++ app-accessibility/speech-dispatcher/Manifest | 4 +- app-accessibility/speech-dispatcher/metadata.xml | 1 + .../speech-dispatcher-0.11.1.ebuild | 117 +++++++++++ 27 files changed, 880 insertions(+), 181 deletions(-) delete mode 100644 app-accessibility/at-spi2-core/at-spi2-core-2.40.2.ebuild create mode 100644 app-accessibility/brltty/brltty-6.4-r1.ebuild create mode 100644 app-accessibility/brltty/brltty-6.4.ebuild create mode 100644 app-accessibility/brltty/files/brltty-6.4-respect-AR.patch create mode 100644 app-accessibility/brltty/files/brltty.initd delete mode 100644 app-accessibility/caribou/caribou-0.4.21-r3.ebuild create mode 100644 app-accessibility/espeak-ng/espeak-ng-1.50-r1.ebuild create mode 100644 app-accessibility/orca/orca-40.1.ebuild create mode 100644 app-accessibility/orca/orca-41.1.ebuild create mode 100644 app-accessibility/orca/orca-41.2.ebuild create mode 100644 app-accessibility/speech-dispatcher/speech-dispatcher-0.11.1.ebuild (limited to 'app-accessibility') diff --git a/app-accessibility/Manifest.gz b/app-accessibility/Manifest.gz index 2660dd9eb7e9..418086bb6996 100644 Binary files a/app-accessibility/Manifest.gz and b/app-accessibility/Manifest.gz differ diff --git a/app-accessibility/at-spi2-core/Manifest b/app-accessibility/at-spi2-core/Manifest index 466201ec0671..c8bb851d0c55 100644 --- a/app-accessibility/at-spi2-core/Manifest +++ b/app-accessibility/at-spi2-core/Manifest @@ -1,9 +1,7 @@ AUX at-spi2-core-2.0.2-disable-teamspaces-test.patch 302 BLAKE2B 4165c68b7e8d9835273a55f6bd7a05435a4b3982399871563da7ed1b37444377718a4e31766529dfdd320bf9e2cfb89fc9aad98b7e757c633cfbc1dfaf61487e SHA512 866a2e372999491a74aa3bd230e666151b8fbf74554f70b7ff01891c62a6b2e87459107d885340076c049ebba656e399cb13ea6cb93af88552a328e17b4f8753 AUX at-spi2-core-2.42.0-fix-disabling-x11.patch 1017 BLAKE2B 7db683a92ff8587444a34a6c4ad12be8e8a31b26128c843f6c89fa42b1604d55e25a72855272930082c3a1ca2b73f2d3a51ae5274770aa0cc0c530f691e062be SHA512 22ff6474e7fdcee3e00c979e56d23b40f8625236f0cc885171ded9434af6ea12900d29577fbdf08cd655919b9b623c172bca4dada7f2b9d15a57c900b326c333 -DIST at-spi2-core-2.40.2.tar.xz 197476 BLAKE2B a3b6f1edb7beace2a54cc651f8bf5d002009a3d2791306f2b0a33c351c68d04e0a1003ab11f215333d498c50d17139b978e7f232df802f6c620bbe31997a8e1c SHA512 854fbba39064ba4b1d9728fc4943e811f0a9557f1096f32d7a6486bcb6c73379ab84c5fb8ce5288bf4dab1d1cd3e0664c492977450d4da503ce4b08abfc75fd9 DIST at-spi2-core-2.40.3.tar.xz 197528 BLAKE2B bc248d57d51cea6ae6dd6c737d85f10599a9c177a3a59f95ffc8f96f74b7da057f75e2b961c281650795ba8d5387a9439b00a0f277731af3d490cc8f34c3ab1a SHA512 85adf3da0a369d7f3481646a495a9c4c3337da3ae6a20ce8c924f8621d3d6ed1d9461bfac0e821dfe86e4ad6b930e4fd65d24c26401cbea644ef4951e5dda5ce DIST at-spi2-core-2.42.0.tar.xz 198016 BLAKE2B 9b14d7d0f5845c7510f7b256a05f5e30c3d3d893a9ae63eee81b3d378dfa9f6ebaa9853f60b23734929692efc4b8c652d4bd7bd035bd989fe0006975bdbea427 SHA512 befcab94b3aa99471723238d9666fc6667041b058a2bac3b012cfa15a91950996431296f33c921764e0ec4ffd0cc41ebe00be461a8460d6f4d2bafff19a38e10 -EBUILD at-spi2-core-2.40.2.ebuild 1458 BLAKE2B df824a43b37bcda7829d3dc21e202d4aacf36d81d7b047a3de3447e1a9159ada562b1b207b06fd6dc0aecf331ea4a0bc7720e6baf493d7ddcc840d7f47cd0c30 SHA512 e32832a771c53744760704ab5a3c9bef0caed556d7dcb2e18f20c44fa1ce598a910739276145478a45a43251c2be2771592f8abacfd3eec0bc1c8d59c5cbb1f7 EBUILD at-spi2-core-2.40.3.ebuild 1457 BLAKE2B 40ec75db6ff2913254e9a0554a8b8d3903f06d3b5ce8064705ef60dd081146ab0a6a5c81821b4b10f23566b250c01d63f0ce64da58818f62a51648df690d5097 SHA512 b304db6a07e8add0cc3da2d898bf2a12d3714617d57aed783e97637e1ff63b813943a18a69a8c3c2b46d865a9a89b7eed0b7fdd4fc7d29e19c10bfd1f82d658b EBUILD at-spi2-core-2.42.0.ebuild 1518 BLAKE2B ebab3d2dbb43ff0126001b32bc577869b37b8d2245650a2d86e0c890a240ef46b5f532cbfa2773d5d4566eec715e19d172e505dbcf35063f5b5494e26e362b7f SHA512 40e67cacf459990898e3bbceb43e9d7e050890e6031845da3d0a696a915ae7f5a8f1ea6678d35d155655adcd77cafaa08e802ff1c43fde770b4a05e7d7c90d69 MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8 diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.40.2.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.40.2.ebuild deleted file mode 100644 index 8370320a1b7e..000000000000 --- a/app-accessibility/at-spi2-core/at-spi2-core-2.40.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 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" -) - -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/brltty/Manifest b/app-accessibility/brltty/Manifest index f754089e9652..9273d2605e58 100644 --- a/app-accessibility/brltty/Manifest +++ b/app-accessibility/brltty/Manifest @@ -1,8 +1,13 @@ AUX brltty-5.2-respect-AR.patch 260 BLAKE2B 4bdf1c41a881e59477e9472a8e9f691bccce5c837b1d1358f405df9e485aab9041b8612dfffa78d30cf90814668e8234b947b43f933d80e8e00e5c618ae8e768 SHA512 2b8de99e98e257041d7a2131775a936166f183197dc02a242cb9efaebebc19afed45292defa9567f86f8ce71e32458743b8c2d3361b1b290f6c93df88e83b1ff AUX brltty-6.0-udev.patch 1033 BLAKE2B d5220b3351af4191ab78f122265296ed802209d0320ebde04c3e947ba736132f5c16db8be18f3e1964c39fe61aadb535d4f84f75d070f68caeea4ca3b3c3ee05 SHA512 0512fbfcd9e9085e37b3b935f8f5a002e82fb514aa56ad807819a39d9da16fbf3bc5f45540ae1ca754160a81957f62d5c5bc8acc6295ee1af971aa9acf5b915a +AUX brltty-6.4-respect-AR.patch 385 BLAKE2B 0029b98054c21b86bb3d03ff52a358fd08585fd10dcf43443c44857c13c17e65e8a60c1e14c06e708dbf77e55760d465a7929bf35cb37cb5758b42770cd7e4c7 SHA512 d603e195d9981a608b46ebb047536acece13c5106b46d1a4b76cc7e7aad6db2fb47d338224faaa9973295e10994fdd62a6986b0a3fd193a4808d432681d3dd60 +AUX brltty.initd 241 BLAKE2B 80969e4840d2d38af6bc310ecf18e0253ef01667517135bc5a2f92e50882c2b72e8a4763b215c62ccbfd8d2250067b44ce9a4cb5d318dd6eb48b298826d8d5de SHA512 55ea97a546a2335ee1148396df71363442b66ed4526f8adb93e88c2cf489f10a21b5361658f590b3f64eec24844235491b15349bd0e1c4533fef7b1390fc3a6e AUX brltty.rc 241 BLAKE2B 873b1344cc6dee3aa6272d9c8857b58a751200e77d7fa0d96f9ff992f2825267503db5fc11ea07d7064a0fa4fe78af637c41ced04212d063efb92183bb936c9f SHA512 d3b91fddbfa61e212537c58444585262d2781fa97ff7f8f4e9ab3c3ad937c680b230d805f7541e2701050e2b001d7d11f7e5937476568a3459d73bb36026f847 AUX brltty.tmpfiles.conf 31 BLAKE2B e51c4c6e98da2d68ebd2aca39d3015ca28b40dbee5528155f9efb87ef8ec5264b382c78acf748514bd1f3902dbedcd471f4e18b0361c6a924108a950c75aceb9 SHA512 3d52a11e0d266ac508ab5447b6515f006f610e3bcb2ec396c3fe4c58a68874c9568f7fd6a143829f69c1b87680f1157953eae9fe326f5db3723c7e4b46390bf7 DIST brltty-6.1.tar.xz 3394852 BLAKE2B 03e6358721dcd5c3bdee3301a1ed827a690128ec339669543279c7e9a115bef6c5d8630e4af2d0b214b9c7c3eaa9001ab4c54ae7fb899cb3bc675985f51d6933 SHA512 030ef60ef7a9a60dc2fba2a64ea0a0868395eee6f2f86876b4e4111e804a05b44f798a154a69a8f5e0f6358130993c360a550f7decac0535450f9cf939231eaf -EBUILD brltty-6.1-r1.ebuild 5617 BLAKE2B 20b6988776585a1d6d846c7c2a9a08f2e7acc40dd230ea822698d122031827f0d7d2b3e9e28a371bf1b9bc6f04c6fe81e2d5476801f806e06c67b5c40eca5251 SHA512 62107fabb16d8dfabc9462acde03cd47d2395deb8852b659bf1b116e2ed5e8ed645d62b1b91637dfe13dbb6ccf720995c3641cd95b6c63924919b0f1c68a7a5e +DIST brltty-6.4.tar.xz 3669296 BLAKE2B 2824b212c7e4fea0f65c7ae111432071805aa63117a7e9a9932d7720ef2157f1e6fd33e3e91e4515c7131bd066db8f910969fb186d2007b63bc83efcbe2332b1 SHA512 384848d05f78732952079d6f5170046927fcb35f400ece71ca897415a793c0aa1047934f8cd5e9e781536fb0b7cb71273283f3bba21e59f082ba8f6f2416352e +EBUILD brltty-6.1-r1.ebuild 5612 BLAKE2B 5622e19bd95f3d30a0797aac52e3e28efabaa4e20c6f274dbb437ab600d270a1004b1ffc5df3bb91e5b1a0441245dd77aedcad06c539c717d51fb656f7aa5e56 SHA512 dd317fc0e49568a6119c1715c21baa531cf88ba68055f9b35e28ac1b5e1baba64e73bba5ea0c26243903ea7b373a7076a0150ba42783328816ef1c268bf3e682 EBUILD brltty-6.1.ebuild 5601 BLAKE2B e26efd68d25484109eac679fe9ee28a86da220089f5a642ac412096476727d967f594465c31e2001e5119b5b35e0ac2a092c428844c4e79bec3a923a385a5019 SHA512 a1e938b5e8648286c03ad10164cbae3b3f07ff9faebc6c09f38f4ebc0c4ce6ac8890d6e9ee222af854a603003773de73583b1fdde96b1d54256ced864cdb71b2 -MISC metadata.xml 1662 BLAKE2B 46ba8439b31b6d391c93bdf34188c57179bcb3af882065b559ea41473937627802cf49a32300b47c590a0c13470fb72ed46ea272d4598e1cb8fdb2cc7b715653 SHA512 4849dc267e88460878b084ebf551dc3cabd3808aaba4e8779cd13528a7db665707e8291ed4965da6ef995a99cacb18f8b68fa54d3bd81ffcd1efe13e77aa4b8c +EBUILD brltty-6.4-r1.ebuild 5613 BLAKE2B 13d9d17d742f6c67a69851b135537cc87161103f14008cb9913e1a8ccd71f57f9fb35d48c53b8604a1ed1a8fff08b9c8bf8295cab3e6c72822a42d4b6a8679aa SHA512 3afddcbb03ee8bedcb2ec5c86d110d3d6323904b43629cd5874d111dbc6b2f493f69e77b1a3d7a7fc358364516b1c54288d2d88f43b8b6628e802e07ca7de966 +EBUILD brltty-6.4.ebuild 5372 BLAKE2B 892ce75770f4795a469fc939bbd102643cb00edbd4fd8e1179d969c4a81d0ba15f88dfe75624fca08bebb5603b6d30f05f6b3a2f14ad8c8caa0325e53b939237 SHA512 60d4da4739317681fb772ce6fe04c9614c409da7c8552ce9de87dc41046d1bee93f981328d6793599ebbaa55392fa2226005aa5c793b305856378163cafab435 +MISC metadata.xml 1663 BLAKE2B 8e06dbd802713f8ec58dc4fed6aee6ffed135df23776e0c3d6ef7885ee4f8a221d1b0a8c605150d59511dcf11f673ed2f388d5c11ac35c9c54d51392d57c3e7d SHA512 b0dc1e72a17fc4ebf7c9abb4cd545f6e65d963e775d8f8c7c140d6c2ca325f20ab3ba4ef70404978f37bf6ff8c6da6f34f0d2afa95e44a5c7fd34e835c07253c diff --git a/app-accessibility/brltty/brltty-6.1-r1.ebuild b/app-accessibility/brltty/brltty-6.1-r1.ebuild index 5cab86b4c9c7..ca9620c7607c 100644 --- a/app-accessibility/brltty/brltty-6.1-r1.ebuild +++ b/app-accessibility/brltty/brltty-6.1-r1.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 @@ -17,7 +17,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 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" diff --git a/app-accessibility/brltty/brltty-6.4-r1.ebuild b/app-accessibility/brltty/brltty-6.4-r1.ebuild new file mode 100644 index 000000000000..2805474e8b9a --- /dev/null +++ b/app-accessibility/brltty/brltty-6.4-r1.ebuild @@ -0,0 +1,221 @@ +# 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 ~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=" + acct-group/brltty + acct-user/brltty + dev-libs/libpcre2[pcre32] + bluetooth? ( + sys-apps/dbus + 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? ( + app-accessibility/at-spi2-core:2 + sys-apps/dbus + 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}"/${P}-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 bindir for backward compatibility. + # Also override localstatedir so that the lib/brltty directory is installed + # correctly. + # Disable stripping since we do that ourselves. + local myconf=( + --bindir="${EPREFIX}"/bin + --htmldir="${EPREFIX}"/usr/share/doc/"${P}"/html + --localstatedir="${EPREFIX}"/var + --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_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.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 + dodoc Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO} + if use doc; then + 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}.conf + + elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system." + elog + elog "To make brltty start on boot on an OpenRC system, type this command:" + elog "# rc-update add brltty boot" + elog + elog "If you are using systemd, type this command:" + elog "# systemctl daemon-reload" + elog + elog "Please reload udev by typing:" + elog "# udevadm control --reload" +} diff --git a/app-accessibility/brltty/brltty-6.4.ebuild b/app-accessibility/brltty/brltty-6.4.ebuild new file mode 100644 index 000000000000..0eaf71123bbd --- /dev/null +++ b/app-accessibility/brltty/brltty-6.4.ebuild @@ -0,0 +1,210 @@ +# 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/files/brltty-6.4-respect-AR.patch b/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch new file mode 100644 index 000000000000..1c647cfad53b --- /dev/null +++ b/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch @@ -0,0 +1,13 @@ +diff --git a/Programs/Makefile.in b/Programs/Makefile.in +index f1dc9aeb5..811a73a11 100644 +--- a/Programs/Makefile.in ++++ b/Programs/Makefile.in +@@ -687,7 +687,7 @@ $(API_DLL): $(API_CLIENT_OBJECTS) + [ ! -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.initd b/app-accessibility/brltty/files/brltty.initd new file mode 100644 index 000000000000..1d93e1e533c6 --- /dev/null +++ b/app-accessibility/brltty/files/brltty.initd @@ -0,0 +1,11 @@ +#!/sbin/openrc-run +# Copyright 1999-2022 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() { + after dbus localmount +} diff --git a/app-accessibility/brltty/metadata.xml b/app-accessibility/brltty/metadata.xml index f3f6d0a7c577..32eb443cb936 100644 --- a/app-accessibility/brltty/metadata.xml +++ b/app-accessibility/brltty/metadata.xml @@ -10,7 +10,7 @@ support the console tone generator support in-line contracted braille support for the sound card synthesizer - Use braille tranlator dev-libs/liblouis + Use braille translator dev-libs/liblouis support the musical instrument digital interface support for sound card digital audio speech support diff --git a/app-accessibility/caribou/Manifest b/app-accessibility/caribou/Manifest index 6664e43279f0..5b8c4dfccbd6 100644 --- a/app-accessibility/caribou/Manifest +++ b/app-accessibility/caribou/Manifest @@ -6,6 +6,5 @@ AUX caribou-fix-python-env.patch 2508 BLAKE2B b27a37c5f14affb2610b6a2caca9827a4b AUX caribou-fix-subkey-popmenu.patch 916 BLAKE2B 5f833fded2a5d1dedf613aecd1e473f80954a730174f9509e2a3c846b790f8abe861fb65ddf683bee87b0cd99b8d18c4c6eab6413f978a295190cc5d9a355c51 SHA512 8ce9b33c09e19a24e2e8366674437afa03743637d0d1854e8c5b4f73cbd69148b8c4d59d65212c509146fd051015d7a20f9d8ff92e9c835b4d805ca6c564b5c2 AUX caribou-fix-xadapter-xkb-calls.patch 1840 BLAKE2B c752a1e7f9cee33ed8ecdb5c9d72267e11b3881c6c1e4e7576b070088ecbe7893c9d5ef1dce8483b062ef31083441072a3b88309db523832a8b06e2254e65a82 SHA512 122b1004e601f3c669d8f8d33d4fd167d662086f54e0376f4cc6147e470b07a1345af99581313facb286c4392a2ae17b39565d36cca32fd5eeb7a44a49807999 DIST caribou-0.4.21.tar.xz 426516 BLAKE2B bd5e27bbbdb08fc31edce3b65124177e30b6d51e0071601bcd84c325b5794ce936b3f782ac8639dca332c246e329773f462dcecc0f236f52aeb0dcc7c5607a24 SHA512 5fc0cf54a1cad50d41e659adbbb932b51d69d18951562f87497e99aaae17ac72b453b759dd7289ff8f68a79574dfce510b9de6bedc61408c14cb48b83eaf08da -EBUILD caribou-0.4.21-r3.ebuild 2151 BLAKE2B 832b4c0988850899014970bd158d907c15a38fe79f2b2d7f06bc18624c09ec5b1004703a1de306a14e82981fc9c609a930110f276a13c2ef82ad46f3a8ef6b35 SHA512 f266db24f6feb28c36b70850465b2c05cbf81d2a74670cc0e0301314095d6ab95aba8a9894c43597d6d7ef7627db92f5f7d894334ae4508c81419d955e378dff EBUILD caribou-0.4.21-r4.ebuild 2247 BLAKE2B 04bdcc1d001a8f358b6a2c88a69052e8d0c647ace8926a3b774254f424a26f251e2b91baddb50ae621bdadc2182768e0beac82c65c4ff2f02147ea8e7a0acd42 SHA512 008c12ad32dc8f2783e0499f66c7ea0f9c6ada18c88361adb56c760da44cf95726a3fedc5726d62c37ace36ad27b7271366595f52656505dec172910236e1bbd MISC metadata.xml 840 BLAKE2B 671f825fbc4ae6d54e4f954841e64ac34affbec420b2bf7bf07ec8dcf9f94bf68bd614566c06018476bd5a6f6c29ed86072d1f3b6b2e84281744052c9ddc1b3b SHA512 1db29ec2266887839c007307a66e10fae1bd119e3a2eef9b3223382e2dbd0413defb864c2b4917ddf24eeaa36929100cb092e0d065dff26853e54532d88bfd30 diff --git a/app-accessibility/caribou/caribou-0.4.21-r3.ebuild b/app-accessibility/caribou/caribou-0.4.21-r3.ebuild deleted file mode 100644 index db6f57062819..000000000000 --- a/app-accessibility/caribou/caribou-0.4.21-r3.ebuild +++ /dev/null @@ -1,98 +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} ) -PYTHON_REQ_USE="xml" - -VALA_MAX_API_VERSION="0.50" - -inherit 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" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~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 -# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed -# librsvg needed to load svg images in css styles -RDEPEND=" - ${COMMON_DEPEND} - dev-libs/glib[dbus] - $(python_gen_cond_dep ' - >=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}] - ') - >=gnome-base/gsettings-desktop-schemas-3 - gnome-base/librsvg:2 - sys-apps/dbus - ! Adds support for espeak speech engine + Adds support for espeak-ng speech engine Adds support for flite speech engine diff --git a/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.1.ebuild b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.1.ebuild new file mode 100644 index 000000000000..ec934b5203c4 --- /dev/null +++ b/app-accessibility/speech-dispatcher/speech-dispatcher-0.11.1.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="alsa ao espeak +espeak-ng flite nas pulseaudio python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND="python? ( ${PYTHON_DEPS} ) + >=dev-libs/dotconf-1.3 + >=dev-libs/glib-2.36:2 + 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 ) + 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" + +src_configure() { + # bug 573732 + export GIT_CEILING_DIRECTORIES="${WORKDIR}" + + local myeconfargs=( + --disable-python + --disable-static + --with-baratinoo=no + --with-ibmtts=no + --with-kali=no + --with-pico=no + --with-voxin=no + $(use_with alsa) + $(use_with ao libao) + $(use_with espeak) + $(use_with espeak-ng) + $(use_with flite) + $(use_with nas) + $(use_with pulseaudio pulse) + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + use python && python_copy_sources + + emake + + if use python; then + building() { + cd src/api/python || die + emake \ + pyexecdir="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" + } + python_foreach_impl run_in_build_dir building + fi +} + +src_install() { + default + + if use python; then + installation() { + cd src/api/python || die + emake \ + DESTDIR="${D}" \ + pyexecdir="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" \ + install + } + python_foreach_impl run_in_build_dir installation + python_replicate_script "${ED}"/usr/bin/spd-conf + python_foreach_impl python_optimize + fi + + find "${D}" -name '*.la' -type f -delete || die +} + +pkg_postinst() { + local editconfig="n" + if ! use espeak-ng; then + ewarn "You have disabled espeak-ng, which is speech-dispatcher's" + ewarn "default speech synthesizer." + ewarn + editconfig="y" + fi + if ! use pulseaudio; then + ewarn "You have disabled pulseaudio support." + ewarn "pulseaudio is speech-dispatcher's default audio subsystem." + ewarn + editconfig="y" + fi + if [[ "${editconfig}" == "y" ]]; then + ewarn "You must edit ${EROOT}/etc/speech-dispatcher/speechd.conf" + ewarn "and make sure the settings there match your system." + ewarn + fi +} -- cgit v1.2.3