public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/, app-accessibility/espeakup/files/
@ 2016-05-07  2:39 William Hubbs
  0 siblings, 0 replies; 3+ messages in thread
From: William Hubbs @ 2016-05-07  2:39 UTC (permalink / raw
  To: gentoo-commits

commit:     13609ac9fd7503d4d2fdef095a9ba016436e92c8
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat May  7 02:30:03 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat May  7 02:32:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13609ac9

app-accessibility/espeakup:  revision bump for /sbin/openrc-run migration

Package-Manager: portage-2.2.26
RepoMan-Options: --force

 app-accessibility/espeakup/espeakup-0.71-r1.ebuild | 59 ++++++++++++++++++++++
 app-accessibility/espeakup/files/espeakup.rc       | 25 ++-------
 2 files changed, 64 insertions(+), 20 deletions(-)

diff --git a/app-accessibility/espeakup/espeakup-0.71-r1.ebuild b/app-accessibility/espeakup/espeakup-0.71-r1.ebuild
new file mode 100644
index 0000000..93f546e
--- /dev/null
+++ b/app-accessibility/espeakup/espeakup-0.71-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
+HOMEPAGE="http://www.linux-speakup.org"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+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_compile() {
+	emake || die "Compile failed."
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "Install failed."
+	dodoc ChangeLog README ToDo
+	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/files/espeakup.rc b/app-accessibility/espeakup/files/espeakup.rc
index f0777e1..bdc2948 100644
--- a/app-accessibility/espeakup/files/espeakup.rc
+++ b/app-accessibility/espeakup/files/espeakup.rc
@@ -1,28 +1,13 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+command=/usr/bin/espeakup
+command_args="${espeakup_opts:-${ESPEAKUP_OPTS}}"
+pidfile=/run/espeakup.pid
+
 depend() {
 	after modules
 	use alsasound pulseaudio
 }
-
-start() {
-	ebegin "Starting espeakup"
-	start-stop-daemon --start --exec /usr/bin/espeakup \
-		-- ${ESPEAKUP_OPTS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping espeakup"
-	start-stop-daemon --stop --pidfile /var/run/espeakup.pid
-	eend $?
-}
-
-restart() {
-	svc_stop || exit 1
-	sleep 2
-	svc_start || exit 1
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/, app-accessibility/espeakup/files/
@ 2021-07-01 21:23 William Hubbs
  0 siblings, 0 replies; 3+ messages in thread
From: William Hubbs @ 2021-07-01 21:23 UTC (permalink / raw
  To: gentoo-commits

commit:     72f9fa47d15b348dbb73c1f44dbad2107cd5062a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  1 21:19:01 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul  1 21:23:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f9fa47

app-accessibility/espeakup: 0.90 bump

This version moves to espeak-ng instead of espeak.

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-accessibility/espeakup/Manifest             |  1 +
 app-accessibility/espeakup/espeakup-0.90.ebuild | 58 +++++++++++++++++++++++++
 app-accessibility/espeakup/files/espeakup.initd | 18 ++++++++
 3 files changed, 77 insertions(+)

diff --git a/app-accessibility/espeakup/Manifest b/app-accessibility/espeakup/Manifest
index f0ff5a95917..63475c422df 100644
--- a/app-accessibility/espeakup/Manifest
+++ b/app-accessibility/espeakup/Manifest
@@ -1 +1,2 @@
 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.90.ebuild b/app-accessibility/espeakup/espeakup-0.90.ebuild
new file mode 100644
index 00000000000..fac584f9372
--- /dev/null
+++ b/app-accessibility/espeakup/espeakup-0.90.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/williamh/espeakup.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/linux-speakup/espeakup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+inherit linux-info meson
+
+DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
+HOMEPAGE="https://github.com/williamh/espeakup"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="man systemd"
+
+COMMON_DEPEND="app-accessibility/espeak-ng[sound]
+	media-libs/alsa-lib"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="man? ( app-text/ronn )"
+
+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!"
+
+src_configure() {
+	local emesonargs
+	emesonargs=(
+		$(meson_feature man)
+		$(meson_feature systemd)
+		)
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+	einstalldocs
+	newconfd "${FILESDIR}"/espeakup.confd espeakup
+	newinitd "${FILESDIR}"/espeakup.initd 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/files/espeakup.initd b/app-accessibility/espeakup/files/espeakup.initd
new file mode 100644
index 00000000000..6ef0a339d1c
--- /dev/null
+++ b/app-accessibility/espeakup/files/espeakup.initd
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# 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
+}
+
+start_pre() {
+	[ -f /sys/accessibility/speakup/synth ] &&
+		echo soft > /sys/accessibility/speakup/synth
+	return 0
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/, app-accessibility/espeakup/files/
@ 2025-07-27  9:28 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-07-27  9:28 UTC (permalink / raw
  To: gentoo-commits

commit:     0fee17100e42b3229b28a3d16f2b28a09c41a539
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Sat Jul 26 23:39:18 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 27 09:27:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fee1710

app-accessibility/espeakup: Add module autoloading

Adding the speakup_soft module to be autoloaded when installing this package as it will fail launch the service without it enabled.

This will greatly improve accessibility under Gentoo including the offerings we support in the live media.

Bumped to EAPI8 as a freebie.

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43178
Closes: https://github.com/gentoo/gentoo/pull/43178
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{espeakup-9999.ebuild => espeakup-0.90-r2.ebuild}       | 13 +++++++++----
 app-accessibility/espeakup/espeakup-9999.ebuild             |  8 +++++---
 app-accessibility/espeakup/files/modules.espeakup           |  1 +
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild b/app-accessibility/espeakup/espeakup-0.90-r2.ebuild
similarity index 78%
copy from app-accessibility/espeakup/espeakup-9999.ebuild
copy to app-accessibility/espeakup/espeakup-0.90-r2.ebuild
index 503c5bd7ea0c..30061f2f1470 100644
--- a/app-accessibility/espeakup/espeakup-9999.ebuild
+++ b/app-accessibility/espeakup/espeakup-0.90-r2.ebuild
@@ -1,20 +1,20 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://github.com/linux-speakup/espeakup.git"
 	inherit git-r3
 else
 	SRC_URI="https://github.com/linux-speakup/espeakup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86"
 fi
 
 inherit linux-info meson
 
 DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
-HOMEPAGE="https://github.com/williamh/espeakup"
+HOMEPAGE="https://linux-speakup.org/"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -27,6 +27,8 @@ RDEPEND="${COMMON_DEPEND}"
 BDEPEND="man? ( app-text/ronn-ng )"
 
 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!"
 
 src_configure() {
 	local emesonargs
@@ -42,6 +44,9 @@ src_install() {
 	einstalldocs
 	newconfd "${FILESDIR}"/espeakup.confd espeakup
 	newinitd "${FILESDIR}"/espeakup.initd espeakup
+	insinto /etc/modprobe.d
+	newins "${FILESDIR}/modules.espeakup" espeakup.conf
+
 }
 
 pkg_postinst() {

diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild b/app-accessibility/espeakup/espeakup-9999.ebuild
index 503c5bd7ea0c..745f48752b47 100644
--- a/app-accessibility/espeakup/espeakup-9999.ebuild
+++ b/app-accessibility/espeakup/espeakup-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://github.com/linux-speakup/espeakup.git"
@@ -14,7 +14,7 @@ fi
 inherit linux-info meson
 
 DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
-HOMEPAGE="https://github.com/williamh/espeakup"
+HOMEPAGE="https://linux-speakup.org/"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -42,6 +42,8 @@ src_install() {
 	einstalldocs
 	newconfd "${FILESDIR}"/espeakup.confd espeakup
 	newinitd "${FILESDIR}"/espeakup.initd espeakup
+	insinto /etc/modprobe.d
+	newins "${FILESDIR}/modules.espeakup" espeakup.conf
 }
 
 pkg_postinst() {

diff --git a/app-accessibility/espeakup/files/modules.espeakup b/app-accessibility/espeakup/files/modules.espeakup
new file mode 100644
index 000000000000..38d53913d181
--- /dev/null
+++ b/app-accessibility/espeakup/files/modules.espeakup
@@ -0,0 +1 @@
+speakup_soft


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-27  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-27  9:28 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/, app-accessibility/espeakup/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-07-01 21:23 William Hubbs
2016-05-07  2:39 William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox