diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-accessibility/yasr | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-accessibility/yasr')
-rw-r--r-- | app-accessibility/yasr/Manifest | 7 | ||||
-rw-r--r-- | app-accessibility/yasr/files/yasr-0.6.9-automake113.patch | 15 | ||||
-rw-r--r-- | app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch | 25 | ||||
-rw-r--r-- | app-accessibility/yasr/files/yasr-0.6.9-gettext019.patch | 11 | ||||
-rw-r--r-- | app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch | 27 | ||||
-rw-r--r-- | app-accessibility/yasr/metadata.xml | 11 | ||||
-rw-r--r-- | app-accessibility/yasr/yasr-0.6.9-r1.ebuild | 54 |
7 files changed, 150 insertions, 0 deletions
diff --git a/app-accessibility/yasr/Manifest b/app-accessibility/yasr/Manifest new file mode 100644 index 000000000000..0e88931a8fe2 --- /dev/null +++ b/app-accessibility/yasr/Manifest @@ -0,0 +1,7 @@ +AUX yasr-0.6.9-automake113.patch 350 BLAKE2B e0b5dfea954b7454b53c2895782394402ff5d7b57fe7dae8a8b14e74884c89a26d971169910235d0c689bc639a2d9a6f50b62eb112d391ddfbd53a58981b2061 SHA512 4af1f1cd14f78f7ead05398b981d5028f3d2c8164dcc43102b6d42fbf86e0f829df70c2316f14a62db01527c2bf0f5abc88ebff88d4fcfabbd3aa99f720a3738 +AUX yasr-0.6.9-gcc43.patch 830 BLAKE2B 12f6cfb9cd4761eddbe7b1fa5063fa122916858a68de1df553fa213cd5df9c6c6332df716eb361d9a0df61bafcc6761bd36945eef575e57b8e1afa5292516530 SHA512 bc41914287b834dfc2469658a0462c1a32e83fb176005e0b093d1f0eedafad1ff1495e257a8b24ad0bde7d6b59076332e484a99f1b2e44d5c4402a58c5c659ff +AUX yasr-0.6.9-gettext019.patch 210 BLAKE2B 055cf2d8a4e8321be0303a5dfb7cb1004d6e1e6f78bb46530806317c598ea2d5661daa93c7dd104cd1e94272ed0bed6e2011cc212158f6aca8c9311d248424cf SHA512 8183f356c48b9a71c74bbca6aaf01845fd6575f7ebdf266e4fbd3a023c1dd3e3f87821598a24dc15c9e11244ca7b969480d33283ad9920e8ab97cfc5ba1a9572 +AUX yasr-0.6.9-remove-m4.patch 412 BLAKE2B 41487fd7799a02b4abd0a30db012ff3d7c30a78e450be3f0b6daaa2612b75ac20ca6810a55a47a9a31e2a6e6abd82a0947d116bb8ea30b38f1dbd6f7c9fa07f6 SHA512 960559acb69be73f5f93162a0d2cded594c332ee4dc50fea92eaae58cfa64c9d473d86289643e1fac50663c0b90145d3fdd9c67a423ee93cd0fd67bd40689409 +DIST yasr-0.6.9.tar.gz 235768 BLAKE2B fbc9e9933b608644465e10e6418c6471fdd85497b98d19e7c66402a5d9075aaea78384c009e01d691899ae41268cfcd81a1f907d9cf6ee88863cf524335504f0 SHA512 107af558fce20bd79b81d68915032e511aa44df33a37b82ee2e82fb0d60ee14759d9b4dfe8634fdf1926c8b5c57e89aad1966e2dba243b725e72f783fe123df4 +EBUILD yasr-0.6.9-r1.ebuild 1217 BLAKE2B 50751a4ef1135a66c6588aad351591621d0e1c9f7ff9d615f5fda424e6b5a5d1ee30da70a7b53a75a4cd18052e46a5bf85adc552b83230749c5f86c12e208ea2 SHA512 65e5108414d119aebc5933cd75982f6ef3b338ab3350d4961466879e11cfcd1b765a6634daba00f4c21230e8492ea049bf2603c63fa81519c8117540f61691a9 +MISC metadata.xml 343 BLAKE2B 996f4f22178b37cf20289679145ed57ce54dd1c4cfe90eb0bb77ed527b8e605241bdc7183418157b6795fcea0a4a340e2683dcfc44bc72a7fbafc047af16c490 SHA512 ec1a6eb820455bbb6d1dca0aba4e60e1e47e91725ea2091480f96a52cc98b1779b0c6bd2927142bc9bed45a45d51de22c84626531ee287303fce14ff9bd1a8f0 diff --git a/app-accessibility/yasr/files/yasr-0.6.9-automake113.patch b/app-accessibility/yasr/files/yasr-0.6.9-automake113.patch new file mode 100644 index 000000000000..0697a17fdc3f --- /dev/null +++ b/app-accessibility/yasr/files/yasr-0.6.9-automake113.patch @@ -0,0 +1,15 @@ +--- a/configure.in ++++ b/configure.in +@@ -2,11 +2,10 @@ dnl Process this file with autoconf to produce a configure script. + + AC_INIT(yasr, 0.6.9, mgorse@alum.wpi.edu) + AM_INIT_AUTOMAKE() +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + + AC_ISC_POSIX + AC_PROG_CC +-AM_PROG_CC_STDC + AC_HEADER_STDC + AC_PROG_INSTALL + dnl Checks for libraries. diff --git a/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch b/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch new file mode 100644 index 000000000000..ccff0009e9eb --- /dev/null +++ b/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch @@ -0,0 +1,25 @@ +--- a/yasr/yasr.h ++++ b/yasr/yasr.h +@@ -306,22 +306,10 @@ + extern void opt_say(int num, int flag); + extern void opt_set(int num, void *val); + extern void opt_queue_empty(int ll); + extern void opt_write(FILE * fp); + +-/* openpty.c prototypes */ +-extern int openpty(int *, int *, char *, struct termios *, struct winsize *); +- +-/* cfmakeraw.c prototypes */ +-extern void cfmakeraw(struct termios *); +- +-/* login_tty.c prototypes */ +-extern int login_tty(int); +- +-/* forkpty.c prototypes */ +-extern int forkpty(int *, char *, struct termios *, struct winsize *); +- + /* tbc - Would it be more efficient to ensure that "blank" grids always held + ascii 0x20 rather than ascii 0x00? */ + #define y_isblank(ch) ((ch & 0xdf) == 0) + #define cblank(r, c) ((win->row[r][c] & 0xdf) == 0) + #define ttssend(x) if (x) tts_send(x, strlen(x)) diff --git a/app-accessibility/yasr/files/yasr-0.6.9-gettext019.patch b/app-accessibility/yasr/files/yasr-0.6.9-gettext019.patch new file mode 100644 index 000000000000..89b2adfcd45f --- /dev/null +++ b/app-accessibility/yasr/files/yasr-0.6.9-gettext019.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -57,7 +57,7 @@ fi + changequote([,])dnl + + AM_GNU_GETTEXT(external) +-AM_GNU_GETTEXT_VERSION([0.17]) ++AM_GNU_GETTEXT_VERSION([0.19]) + + AC_OUTPUT([ m4/Makefile + Makefile diff --git a/app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch b/app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch new file mode 100644 index 000000000000..4c2a345df58b --- /dev/null +++ b/app-accessibility/yasr/files/yasr-0.6.9-remove-m4.patch @@ -0,0 +1,27 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -7,7 +7,6 @@ + + SUBDIRS = \ + $(yasr_DDIRS) \ +-m4 \ + po + + pkgdata_DATA = \ +@@ -25,4 +24,3 @@ + README-fr \ + README-ru + +-ACLOCAL_AMFLAGS = -I m4 +--- a/configure.in ++++ b/configure.in +@@ -59,8 +59,7 @@ + AM_GNU_GETTEXT(external) + AM_GNU_GETTEXT_VERSION([0.17]) + +-AC_OUTPUT([ m4/Makefile +-Makefile ++AC_OUTPUT([ Makefile + yasr/Makefile + acclogin/Makefile + po/Makefile.in diff --git a/app-accessibility/yasr/metadata.xml b/app-accessibility/yasr/metadata.xml new file mode 100644 index 000000000000..57bad5623af8 --- /dev/null +++ b/app-accessibility/yasr/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>accessibility@gentoo.org</email> + <name>Gentoo Accessibility Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">yasr</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild new file mode 100644 index 000000000000..b9e8c1573d6e --- /dev/null +++ b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="General-purpose console screen reader" +HOMEPAGE="http://yasr.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="nls" + +RDEPEND="" +DEPEND="nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.9-automake113.patch + "${FILESDIR}"/${PN}-0.6.9-gettext019.patch + "${FILESDIR}"/${PN}-0.6.9-gcc43.patch + "${FILESDIR}"/${PN}-0.6.9-remove-m4.patch +) + +src_prepare() { + default + local x=/usr/share/gettext/po/Makefile.in.in + [[ -e $x ]] && cp -f $x po/ || die #330879 + + rm -r "${S}"/m4 || die + + sed -i \ + 's:^\(synthesizer=emacspeak server\):#\1: + s:^\(synthesizer port=|/usr/local/bin/eflite\):#\1: + s:^#\(synthesizer=speech dispatcher\):\1: + s:^#\(synthesizer port=127.0.0.1.6560\):\1:' yasr.conf || die + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + --datadir="${EPREFIX}"/etc \ + $(use_enable nls) +} + +pkg_postinst() { + elog + elog "Speech-dispatcher is configured as the default synthesizer for yasr." + elog "If this is not what you want, edit /etc/yasr/yasr.conf." +} |