diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /app-accessibility/brltty | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'app-accessibility/brltty')
| -rw-r--r-- | app-accessibility/brltty/Manifest | 4 | ||||
| -rw-r--r-- | app-accessibility/brltty/brltty-6.7.ebuild | 222 | ||||
| -rw-r--r-- | app-accessibility/brltty/brltty-6.8.ebuild | 282 | ||||
| -rw-r--r-- | app-accessibility/brltty/brltty-6.9.1.ebuild | 292 | ||||
| -rw-r--r-- | app-accessibility/brltty/brltty-6.9.ebuild | 281 | ||||
| -rw-r--r-- | app-accessibility/brltty/files/brltty-6.4-respect-AR.patch | 13 | ||||
| -rw-r--r-- | app-accessibility/brltty/files/brltty-6.8-atspi2_optional.patch | 46 | ||||
| -rw-r--r-- | app-accessibility/brltty/files/brltty.initd | 11 | ||||
| -rw-r--r-- | app-accessibility/brltty/files/brltty.initd-r1 | 13 | ||||
| -rw-r--r-- | app-accessibility/brltty/metadata.xml | 33 |
10 files changed, 0 insertions, 1197 deletions
diff --git a/app-accessibility/brltty/Manifest b/app-accessibility/brltty/Manifest deleted file mode 100644 index d2a65a4f489c..000000000000 --- a/app-accessibility/brltty/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST brltty-6.7.tar.xz 3727940 BLAKE2B 61ef2d5e54a53132fe9e864c6c7c8c5ee7af4974fb1a090d9366fbdf7fe0735ca0a4c462cef2fa820d07335f442471af148707a191bb1d631f203ddc5e8f5d2e SHA512 68ef75369ce2a23dff17b212aec0844b5e3e416cc730bdf872d68f32b0d8398f86d1e91f076dcb1730543c3d47266a40d7d61842524076d2fd4e82ef95bc34bb -DIST brltty-6.8.tar.xz 3901252 BLAKE2B ba37436d159ead52a4c78b078bc7291f618f864f87fe2368ef833134876a6bde36a36753c8cfd0c9ed36484f74cf69dd3d47876cbba08e29c2ec1258c1a6cc43 SHA512 08540cdf09eaa1caabd8400cb6e589f99f5f2b8aaaf8c031e5165e9b0605858e90dc9dd72f2095347f4860714214ecf184e3675422df880f1bf06bb4cc6f42ee -DIST brltty-6.9.1.tar.xz 12945560 BLAKE2B a0d7d5c301b243b93ed544c31e1adcedc7924fbee55c41ad9ad3fb36c0f06f59a20c764fa8875348a484b99613c00859356bafd66ef719fe9b4b0fc712e39dcd SHA512 be1abb02274c937f56c94a211acdcccb3b870aa9cfa9282cca5e6859ae90ae075a9c65ea694c75a63ca81ae36ff0fa003fb38945f6dfed9786baab221247fdc7 -DIST brltty-6.9.tar.xz 9279984 BLAKE2B 6f4d434310c666b50c2c582926e2c28bf67b5254aa26b6b9f34656573eb0d83bcb0dba47cd73a723c613272d7cbf647406c0c30df2fb0852bc5066c97677c1a0 SHA512 0a37e0cf805023e2e03d2d4d0bf652cc6a49060c9a1f3107bce1fde45aac21ecdba085e8c34625cff384c44dd51113216e7a29b69cdb1600a7c1c7da5eaecb1d diff --git a/app-accessibility/brltty/brltty-6.7.ebuild b/app-accessibility/brltty/brltty-6.7.ebuild deleted file mode 100644 index 8e65e2728c89..000000000000 --- a/app-accessibility/brltty/brltty-6.7.ebuild +++ /dev/null @@ -1,222 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -FINDLIB_USE="ocaml" -JAVA_PKG_WANT_SOURCE="1.8" -JAVA_PKG_WANT_TARGET="1.8" - -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/" -SRC_URI="https://brltty.app/archive/${P}.tar.xz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~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" -REQUIRED_USE="doc? ( api ) - java? ( api ) - ocaml? ( api ) - python? ( api ${PYTHON_REQUIRED_USE} ) - tcl? ( api )" - -COMMON_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} - 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.6.13-r1:= ) - usb? ( virtual/libusb:1 ) - 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 - )" -DEPEND="${COMMON_DEPEND} - java? ( >=virtual/jdk-1.8:* ) -" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -BDEPEND=" - >=dev-lang/tcl-8.6.13-r1 - virtual/pkgconfig - nls? ( virtual/libintl ) - python? ( dev-python/cython[${PYTHON_USEDEP}] ) -" - -HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. ) - -PATCHES=( "${FILESDIR}"/${PN}-6.4-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 - --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 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[@]}" --enable-python-bindings PYTHON="${PYTHON}" - } - 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() { - emake -C "${BUILD_DIR}"/Bindings/Python -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() { - emake -C "${BUILD_DIR}"/Bindings/Python -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 - 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 - 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.8.ebuild b/app-accessibility/brltty/brltty-6.8.ebuild deleted file mode 100644 index 7e6c76d6e6c7..000000000000 --- a/app-accessibility/brltty/brltty-6.8.ebuild +++ /dev/null @@ -1,282 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FINDLIB_USE="ocaml" -LUA_COMPAT=( lua5-{1,3,4} luajit ) -PYTHON_COMPAT=( python3_{13..14} ) - -inherit autotools elisp-common findlib java-pkg-opt-2 linux-info lua-single python-r1 tmpfiles toolchain-funcs udev - -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="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86" -BINDINGS="emacs java lua ocaml python tcl" -IUSE="+api +beeper bluetooth caps +fm gpm +hid iconv icu louis +midi -ncurses nls +pcm policykit +pcre usb systemd +speech xml X ${BINDINGS}" -REQUIRED_USE=" - emacs? ( api ) - java? ( api ) - lua? ( api ${LUA_REQUIRED_USE} ) - ocaml? ( api ) - policykit? ( api ) - python? ( api ${PYTHON_REQUIRED_USE} ) - tcl? ( api ) -" - -COMMON_DEPEND=" - acct-group/brltty - acct-user/brltty - bluetooth? ( - net-wireless/bluez:= - sys-apps/dbus - ) - caps? ( sys-libs/libcap ) - emacs? ( app-editors/emacs:* ) - gpm? ( >=sys-libs/gpm-1.20 ) - hid? ( virtual/libudev:= ) - iconv? ( virtual/libiconv ) - icu? ( dev-libs/icu:= ) - louis? ( dev-libs/liblouis:= ) - midi? ( media-libs/alsa-lib ) - ncurses? ( sys-libs/ncurses:0= ) - lua? ( ${LUA_DEPS} ) - pcm? ( media-libs/alsa-lib ) - pcre? ( dev-libs/libpcre2:=[pcre32] ) - policykit? ( - dev-libs/glib:2 - sys-auth/polkit - ) - 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.6.13-r1:= ) - usb? ( virtual/libusb:1 ) - xml? ( dev-libs/expat ) - X? ( - app-accessibility/at-spi2-core:2 - dev-libs/glib:2 - sys-apps/dbus - x11-libs/libX11 - x11-libs/libXaw - x11-libs/libXfixes - x11-libs/libXt - api? ( x11-libs/libXtst ) - ) -" -DEPEND=" - ${COMMON_DEPEND} - hid? ( sys-kernel/linux-headers ) - java? ( >=virtual/jdk-1.8:* ) - X? ( x11-base/xorg-proto ) -" -RDEPEND=" - ${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -BDEPEND=" - >=dev-lang/tcl-8.6.13-r1 - virtual/pkgconfig - nls? ( virtual/libintl ) - python? ( dev-python/cython[${PYTHON_USEDEP}] ) -" - -CONFIG_CHECK=" - ~INPUT_UINPUT - ~INPUT_PCSPKR -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4-respect-AR.patch - "${FILESDIR}"/${PN}-6.8-atspi2_optional.patch -) - -pkg_setup() { - linux-info_pkg_setup - - # bindings - java-pkg-opt-2_pkg_setup - use lua && lua-single_pkg_setup - use python && python_setup -} - -src_prepare() { - default - - # api-socket-api is not defined/used if api is not enabled, see bug #878203 - if ! use api; then - sed -e '/^d @BRLAPI_SOCKETPATH@/s/^/#/' \ - -i Autostart/Systemd/tmpfiles.in || die - fi - - 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 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 - - # see bug #830239, '-n' arg not handled by musl - export brltty_cv_prog_conflibdir="ldconfig" - - # 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/"${PF}"/html - --localstatedir="${EPREFIX}"/var - --runstatedir="${EPREFIX}"/run - # 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_with caps pgmprivs-package) - $(use_enable emacs emacs-bindings) - $(use_with fm fm-package) - $(use_enable gpm) - $(use_with hid hid-package) - $(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_with pcre rgx-package) - $(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[@]}" --enable-python-bindings PYTHON="${PYTHON}" - } - python_foreach_impl run_in_build_dir python_configure - fi -} - -src_compile() { - emake -j1 JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}" - - use emacs && elisp-compile Bindings/Emacs/add_directory.el - - if use python; then - python_build() { - emake -C "${BUILD_DIR}"/Bindings/Python -j1 - } - python_foreach_impl run_in_build_dir python_build - fi -} - -src_install() { - use ocaml && findlib_src_preinst - - # install-extras for locales, metainfo, polkit rules, systemd-files, udev rules - emake -j1 INSTALL_ROOT="${D}" OCAML_LDCONF= install install-extras - - use emacs && elisp-install ${PN} Bindings/Emacs/add_directory.el{,c} - - if use python; then - python_install() { - emake -C "${BUILD_DIR}"/Bindings/Python -j1 INSTALL_ROOT="${D}" install - rm -r "${D}/$(python_get_sitedir)"/*.egg-info || die - } - 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-r1 brltty - - local DOCS=( Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO} doc/Manual-BRLTTY ) - local HTML_DOCS=( doc/*.html ) - use api && DOCS+=( Documents/Manual-BrlAPI/English/BrlAPI.sgml ) - einstalldocs - - keepdir /var/lib/BrlAPI - rm -fr "${ED}/run" || die - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - use emacs && elisp-site-regen - - tmpfiles_process ${PN}.conf - - udev_reload - - elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system." - elog - if use systemd; then - elog "To make brltty start on boot on systemd system, type these commands:" - elog "# systemctl daemon-reload" - elog "# systemctl enable brltty.path" - elog "To launch manually:" - elog "# systemctl start brltty.path" - elog "Don't try brltty.service" - else - elog "To make brltty start on boot on an OpenRC system, type this command:" - elog "# rc-update add brltty boot" - elog "To launch manually:" - elog "# rc-service brltty start" - fi - - if use caps; then - elog "To launch brltty as an unprivileged user, please refer to:" - elog "${EROOT}/usr/share/doc/${PF}/README.Linux#Assigning Capabilities to the Executable" - fi -} - -pkg_postrm() { - udev_reload -} diff --git a/app-accessibility/brltty/brltty-6.9.1.ebuild b/app-accessibility/brltty/brltty-6.9.1.ebuild deleted file mode 100644 index 7e316ccdf67a..000000000000 --- a/app-accessibility/brltty/brltty-6.9.1.ebuild +++ /dev/null @@ -1,292 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FINDLIB_USE="ocaml" -LUA_COMPAT=( lua5-{1,3,4} luajit ) -PYTHON_COMPAT=( python3_{13..14} ) - -inherit autotools elisp-common findlib java-pkg-opt-2 linux-info lua-single python-r1 tmpfiles toolchain-funcs udev - -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="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -BINDINGS="emacs java lua ocaml python tcl" -IUSE="+api +beeper bluetooth caps +fm gpm +hid iconv icu louis +midi -ncurses nls +pcm policykit +pcre usb systemd +speech xml X ${BINDINGS}" -REQUIRED_USE=" - emacs? ( api ) - java? ( api ) - lua? ( api ${LUA_REQUIRED_USE} ) - ocaml? ( api ) - policykit? ( api ) - python? ( api ${PYTHON_REQUIRED_USE} ) - tcl? ( api ) -" - -COMMON_DEPEND=" - acct-group/brltty - acct-user/brltty - bluetooth? ( - net-wireless/bluez:= - sys-apps/dbus - ) - caps? ( sys-libs/libcap ) - emacs? ( app-editors/emacs:* ) - gpm? ( >=sys-libs/gpm-1.20 ) - hid? ( virtual/libudev:= ) - iconv? ( virtual/libiconv ) - icu? ( dev-libs/icu:= ) - louis? ( dev-libs/liblouis:= ) - midi? ( media-libs/alsa-lib ) - ncurses? ( sys-libs/ncurses:0= ) - lua? ( ${LUA_DEPS} ) - pcm? ( media-libs/alsa-lib ) - pcre? ( dev-libs/libpcre2:=[pcre32] ) - policykit? ( - dev-libs/glib:2 - 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.6.13-r1:= ) - usb? ( virtual/libusb:1 ) - xml? ( dev-libs/expat ) - X? ( - app-accessibility/at-spi2-core:2 - dev-libs/glib:2 - sys-apps/dbus - x11-libs/libX11 - x11-libs/libXaw - x11-libs/libXfixes - x11-libs/libXt - api? ( x11-libs/libXtst ) - ) -" -DEPEND=" - ${COMMON_DEPEND} - hid? ( sys-kernel/linux-headers ) - java? ( >=virtual/jdk-1.8:* ) - X? ( x11-base/xorg-proto ) -" -RDEPEND=" - ${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -BDEPEND=" - >=dev-lang/tcl-8.6.13-r1 - virtual/pkgconfig - emacs? ( app-editors/emacs:* ) - nls? ( virtual/libintl ) - python? ( - ${PYTHON_DEPS} - dev-python/cython[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - ) -" - -CONFIG_CHECK=" - ~INPUT_UINPUT - ~INPUT_PCSPKR -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4-respect-AR.patch -) - -pkg_setup() { - linux-info_pkg_setup - - # bindings - java-pkg-opt-2_pkg_setup - use lua && lua-single_pkg_setup - use python && python_setup -} - -src_prepare() { - default - - # api-socket-api is not defined/used if api is not enabled, see bug #878203 - if ! use api; then - sed -e '/^d @BRLAPI_SOCKETPATH@/s/^/#/' \ - -i Autostart/Systemd/tmpfiles.in || die - fi - - 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 CC 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 - - # see bug #830239, '-n' arg not handled by musl - export brltty_cv_prog_conflibdir="ldconfig" - - # 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/"${PF}"/html - --localstatedir="${EPREFIX}"/var - --runstatedir="${EPREFIX}"/run - # 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_with caps pgmprivs-package) - $(use_enable emacs emacs-bindings) - $(use_with fm fm-package) - $(use_enable gpm) - $(use_with hid hid-package) - $(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_with pcre rgx-package) - $(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) - ) - - use speech && myconf+=( - # espeak-ng installs a wrapper espeak, auto-detected by brltty - # fix autodetection w/ a custom ROOT and then disable espeak - --with-espeak="${ESYSROOT}/usr" - --with-espeak_ng="${ESYSROOT}/usr" - --with-flite="${ESYSROOT}/usr" - # disable espeak since we use espeak-ng - --with-speech-driver=-es - ) - - econf "${myconf[@]}" - - if use python; then - python_configure() { - econf "${myconf[@]}" --enable-python-bindings PYTHON="${PYTHON}" - } - python_foreach_impl run_in_build_dir python_configure - fi -} - -src_compile() { - emake JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}" - - use emacs && elisp-compile Bindings/Emacs/add_directory.el - - if use python; then - python_build() { - emake -C "${BUILD_DIR}"/Bindings/Python - } - python_foreach_impl run_in_build_dir python_build - fi -} - -src_install() { - use ocaml && findlib_src_preinst - - # install-extras for locales, metainfo, polkit rules, systemd-files, udev rules - # restrict jobs for #973624 - emake -j1 INSTALL_ROOT="${D}" OCAML_LDCONF= install install-extras - - use emacs && elisp-install ${PN} Bindings/Emacs/add_directory.el{,c} - - if use python; then - python_install() { - emake -C "${BUILD_DIR}"/Bindings/Python INSTALL_ROOT="${D}" install - rm -r "${D}/$(python_get_sitedir)"/*.egg-info || die - } - 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-r1 brltty - - local DOCS=( Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO} doc/Manual-BRLTTY ) - local HTML_DOCS=( doc/*.html ) - use api && DOCS+=( Documents/Manual-BrlAPI/English/BrlAPI.sgml ) - einstalldocs - - keepdir /var/lib/BrlAPI - rm -fr "${ED}/run" || die - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - use emacs && elisp-site-regen - - tmpfiles_process ${PN}.conf - - udev_reload - - elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system." - elog - if use systemd; then - elog "To make brltty start on boot on systemd system, type these commands:" - elog "# systemctl daemon-reload" - elog "# systemctl enable brltty.path" - elog "To launch manually:" - elog "# systemctl start brltty.path" - elog "Don't try brltty.service" - else - elog "To make brltty start on boot on an OpenRC system, type this command:" - elog "# rc-update add brltty boot" - elog "To launch manually:" - elog "# rc-service brltty start" - fi - - if use caps; then - elog "To launch brltty as an unprivileged user, please refer to:" - elog "${EROOT}/usr/share/doc/${PF}/README.Linux#Assigning Capabilities to the Executable" - fi -} - -pkg_postrm() { - udev_reload -} diff --git a/app-accessibility/brltty/brltty-6.9.ebuild b/app-accessibility/brltty/brltty-6.9.ebuild deleted file mode 100644 index 0119e325ed5f..000000000000 --- a/app-accessibility/brltty/brltty-6.9.ebuild +++ /dev/null @@ -1,281 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FINDLIB_USE="ocaml" -LUA_COMPAT=( lua5-{1,3,4} luajit ) -PYTHON_COMPAT=( python3_{13..14} ) - -inherit autotools elisp-common findlib java-pkg-opt-2 linux-info lua-single python-r1 tmpfiles toolchain-funcs udev - -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="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -BINDINGS="emacs java lua ocaml python tcl" -IUSE="+api +beeper bluetooth caps +fm gpm +hid iconv icu louis +midi -ncurses nls +pcm policykit +pcre usb systemd +speech xml X ${BINDINGS}" -REQUIRED_USE=" - emacs? ( api ) - java? ( api ) - lua? ( api ${LUA_REQUIRED_USE} ) - ocaml? ( api ) - policykit? ( api ) - python? ( api ${PYTHON_REQUIRED_USE} ) - tcl? ( api ) -" - -COMMON_DEPEND=" - acct-group/brltty - acct-user/brltty - bluetooth? ( - net-wireless/bluez:= - sys-apps/dbus - ) - caps? ( sys-libs/libcap ) - emacs? ( app-editors/emacs:* ) - gpm? ( >=sys-libs/gpm-1.20 ) - hid? ( virtual/libudev:= ) - iconv? ( virtual/libiconv ) - icu? ( dev-libs/icu:= ) - louis? ( dev-libs/liblouis:= ) - midi? ( media-libs/alsa-lib ) - ncurses? ( sys-libs/ncurses:0= ) - lua? ( ${LUA_DEPS} ) - pcm? ( media-libs/alsa-lib ) - pcre? ( dev-libs/libpcre2:=[pcre32] ) - policykit? ( - dev-libs/glib:2 - sys-auth/polkit - ) - 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.6.13-r1:= ) - usb? ( virtual/libusb:1 ) - xml? ( dev-libs/expat ) - X? ( - app-accessibility/at-spi2-core:2 - dev-libs/glib:2 - sys-apps/dbus - x11-libs/libX11 - x11-libs/libXaw - x11-libs/libXfixes - x11-libs/libXt - api? ( x11-libs/libXtst ) - ) -" -DEPEND=" - ${COMMON_DEPEND} - hid? ( sys-kernel/linux-headers ) - java? ( >=virtual/jdk-1.8:* ) - X? ( x11-base/xorg-proto ) -" -RDEPEND=" - ${COMMON_DEPEND} - java? ( >=virtual/jre-1.8:* ) -" -BDEPEND=" - >=dev-lang/tcl-8.6.13-r1 - virtual/pkgconfig - nls? ( virtual/libintl ) - python? ( dev-python/cython[${PYTHON_USEDEP}] ) -" - -CONFIG_CHECK=" - ~INPUT_UINPUT - ~INPUT_PCSPKR -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4-respect-AR.patch -) - -pkg_setup() { - linux-info_pkg_setup - - # bindings - java-pkg-opt-2_pkg_setup - use lua && lua-single_pkg_setup - use python && python_setup -} - -src_prepare() { - default - - # api-socket-api is not defined/used if api is not enabled, see bug #878203 - if ! use api; then - sed -e '/^d @BRLAPI_SOCKETPATH@/s/^/#/' \ - -i Autostart/Systemd/tmpfiles.in || die - fi - - 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 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 - - # see bug #830239, '-n' arg not handled by musl - export brltty_cv_prog_conflibdir="ldconfig" - - # 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/"${PF}"/html - --localstatedir="${EPREFIX}"/var - --runstatedir="${EPREFIX}"/run - # 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_with caps pgmprivs-package) - $(use_enable emacs emacs-bindings) - $(use_with fm fm-package) - $(use_enable gpm) - $(use_with hid hid-package) - $(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_with pcre rgx-package) - $(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[@]}" --enable-python-bindings PYTHON="${PYTHON}" - } - python_foreach_impl run_in_build_dir python_configure - fi -} - -src_compile() { - emake JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}" - - use emacs && elisp-compile Bindings/Emacs/add_directory.el - - if use python; then - python_build() { - emake -C "${BUILD_DIR}"/Bindings/Python - } - python_foreach_impl run_in_build_dir python_build - fi -} - -src_install() { - use ocaml && findlib_src_preinst - - # install-extras for locales, metainfo, polkit rules, systemd-files, udev rules - emake INSTALL_ROOT="${D}" OCAML_LDCONF= install install-extras - - use emacs && elisp-install ${PN} Bindings/Emacs/add_directory.el{,c} - - if use python; then - python_install() { - emake -C "${BUILD_DIR}"/Bindings/Python INSTALL_ROOT="${D}" install - rm -r "${D}/$(python_get_sitedir)"/*.egg-info || die - } - 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-r1 brltty - - local DOCS=( Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO} doc/Manual-BRLTTY ) - local HTML_DOCS=( doc/*.html ) - use api && DOCS+=( Documents/Manual-BrlAPI/English/BrlAPI.sgml ) - einstalldocs - - keepdir /var/lib/BrlAPI - rm -fr "${ED}/run" || die - find "${ED}" -name '*.a' -delete || die -} - -pkg_postinst() { - use emacs && elisp-site-regen - - tmpfiles_process ${PN}.conf - - udev_reload - - elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system." - elog - if use systemd; then - elog "To make brltty start on boot on systemd system, type these commands:" - elog "# systemctl daemon-reload" - elog "# systemctl enable brltty.path" - elog "To launch manually:" - elog "# systemctl start brltty.path" - elog "Don't try brltty.service" - else - elog "To make brltty start on boot on an OpenRC system, type this command:" - elog "# rc-update add brltty boot" - elog "To launch manually:" - elog "# rc-service brltty start" - fi - - if use caps; then - elog "To launch brltty as an unprivileged user, please refer to:" - elog "${EROOT}/usr/share/doc/${PF}/README.Linux#Assigning Capabilities to the Executable" - fi -} - -pkg_postrm() { - udev_reload -} diff --git a/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch b/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch deleted file mode 100644 index 1c647cfad53b..000000000000 --- a/app-accessibility/brltty/files/brltty-6.4-respect-AR.patch +++ /dev/null @@ -1,13 +0,0 @@ -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-6.8-atspi2_optional.patch b/app-accessibility/brltty/files/brltty-6.8-atspi2_optional.patch deleted file mode 100644 index 48520b7cf841..000000000000 --- a/app-accessibility/brltty/files/brltty-6.8-atspi2_optional.patch +++ /dev/null @@ -1,46 +0,0 @@ -Avoid automagic for atspi-2 -PR pending https://github.com/brltty/brltty/pull/513 ---- a/configure.ac -+++ b/configure.ac -@@ -1921,27 +1921,27 @@ then - ]) - ]) - ], [:]) --fi - --BRLTTY_IF_DBUS([dnl -- AC_CHECK_HEADER([X11/keysym.h], [dnl -- BRLTTY_HAVE_PACKAGE([atspi2], [atspi-2], [dnl -- brltty_cppflags_save="${CPPFLAGS}" -- CPPFLAGS="${CPPFLAGS} ${atspi2_cflags}" -- BRLTTY_SCREEN_DRIVER([a2], [AtSpi2], [$(DBUS_LIBS) $(ATSPI2_LIBS) $(GLIB2_LIBS) $(X11_LIBS) $(XFIXES_LIBS)]) -+ BRLTTY_IF_DBUS([dnl -+ AC_CHECK_HEADER([X11/keysym.h], [dnl -+ BRLTTY_HAVE_PACKAGE([atspi2], [atspi-2], [dnl -+ brltty_cppflags_save="${CPPFLAGS}" -+ CPPFLAGS="${CPPFLAGS} ${atspi2_cflags}" -+ BRLTTY_SCREEN_DRIVER([a2], [AtSpi2], [$(DBUS_LIBS) $(ATSPI2_LIBS) $(GLIB2_LIBS) $(X11_LIBS) $(XFIXES_LIBS)]) - -- brltty_libs_save="${LIBS}" -- LIBS="${atspi2_libs} ${LIBS}" -+ brltty_libs_save="${LIBS}" -+ LIBS="${atspi2_libs} ${LIBS}" - -- AC_CHECK_FUNCS([atspi_get_a11y_bus]) -+ AC_CHECK_FUNCS([atspi_get_a11y_bus]) - -- CPPFLAGS="${brltty_cppflags_save}" -- LIBS="${brltty_libs_save}" -+ CPPFLAGS="${brltty_cppflags_save}" -+ LIBS="${brltty_libs_save}" - -- BRLTTY_HAVE_PACKAGE([glib2], [glib-2.0]) -+ BRLTTY_HAVE_PACKAGE([glib2], [glib-2.0]) -+ ]) - ]) - ]) --]) -+fi - - BRLTTY_ARG_DRIVER([screen], [Screen]) - BRLTTY_SUMMARY_ITEM([screen-driver], [default_screen_driver]) diff --git a/app-accessibility/brltty/files/brltty.initd b/app-accessibility/brltty/files/brltty.initd deleted file mode 100644 index 1d93e1e533c6..000000000000 --- a/app-accessibility/brltty/files/brltty.initd +++ /dev/null @@ -1,11 +0,0 @@ -#!/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/files/brltty.initd-r1 b/app-accessibility/brltty/files/brltty.initd-r1 deleted file mode 100644 index 8b53a43f4a4b..000000000000 --- a/app-accessibility/brltty/files/brltty.initd-r1 +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command=/bin/brltty -command_args="--no-daemon --quiet ${EXTRA_OPTS}" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" -retry="TERM/60/KILL/5" - -depend() { - after dbus localmount udev -} diff --git a/app-accessibility/brltty/metadata.xml b/app-accessibility/brltty/metadata.xml deleted file mode 100644 index 0f7c4cbd67aa..000000000000 --- a/app-accessibility/brltty/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?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> - <use> - <flag name="api">build brltty's application program interface</flag> - <flag name="beeper">support the console tone generator</flag> - <flag name="fm">support for the sound card synthesizer</flag> - <flag name="hid">support for opening and closing a HID device</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> -</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 -console (when in text mode) for a blind person using a refreshable braille -display. It drives the braille display, and provides complete screen review -functionality. Some speech capability has also been incorporated. -</longdescription> -<longdescription lang="ja"> -BRLTTYは、盲人用ブライユ点字ディスプレイのためのLinux/Unixコンソールを制御するバ -ックグラウンド・プロセス(デーモン)です。ブライユ点字ディスプレイを動かし、その多 -機能な完全なスクリーン・レビューを提供します。幾つかの台詞読み上げ機能も統合され -ています。 -</longdescription> -</pkgmetadata> |
