commit: fa55396b092f4114a6379ee3e9c2e7bfd39c9d6c Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com> AuthorDate: Wed Jan 28 04:42:15 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 6 00:40:31 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa55396b
app-accessibility/caribou: update EAPI 7 -> 8 Bump Python compat to 3.14, drop outdated xorg-server blocker, and fix some QA noise. Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> Closes: https://bugs.gentoo.org/959106 Part-of: https://github.com/gentoo/gentoo/pull/45857 Signed-off-by: Sam James <sam <AT> gentoo.org> app-accessibility/caribou/caribou-0.4.21-r9.ebuild | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/app-accessibility/caribou/caribou-0.4.21-r9.ebuild b/app-accessibility/caribou/caribou-0.4.21-r9.ebuild new file mode 100644 index 000000000000..89dfb81478e4 --- /dev/null +++ b/app-accessibility/caribou/caribou-0.4.21-r9.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="xml(+)" + +inherit autotools gnome.org gnome2-utils python-single-r1 vala + +DESCRIPTION="Input assistive technology intended for switch and pointer users" +HOMEPAGE="https://wiki.gnome.org/Projects/Caribou" + +LICENSE="LGPL-2.1" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + app-accessibility/at-spi2-core:2 + $(python_gen_cond_dep ' + >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}] + ') + >=dev-libs/gobject-introspection-1.82.0-r2:= + dev-libs/libgee:0.8= + dev-libs/libxml2:= + >=media-libs/clutter-1.5.11:1.0[introspection] + >=x11-libs/gtk+-3:3[X,introspection] + x11-libs/libX11 + x11-libs/libxklavier:= + x11-libs/libXtst +" +# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key +# librsvg needed to load svg images in css styles +RDEPEND=" + ${COMMON_DEPEND} + dev-libs/glib:2[dbus] + >=gnome-base/gsettings-desktop-schemas-3 + gnome-base/librsvg:2 + sys-apps/dbus +" +DEPEND=" + ${COMMON_DEPEND} + dev-libs/libxslt +" +BDEPEND=" + $(vala_depend) + >=dev-util/intltool-0.35.5 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/${PN}-fix-compilation-error.patch" + "${FILESDIR}/${PN}-fix-subkey-popmenu.patch" + "${FILESDIR}/${PN}-fix-xadapter-xkb-calls.patch" + "${FILESDIR}/${PN}-fix-antler-style-css.patch" + "${FILESDIR}/${PN}-fix-python-env.patch" + "${FILESDIR}/${PN}-change_autostart_cinnamon.patch" + "${FILESDIR}/${PN}-drop_gir_patch.patch" +) + +src_prepare() { + default + vala_setup + gnome2_disable_deprecation_warning + eautoreconf +} + +src_configure() { + econf \ + --disable-maintainer-mode \ + --disable-schemas-compile \ + --disable-docs \ + --disable-static \ + --disable-gtk2-module \ + --enable-gtk3-module +} + +src_install() { + DOCS="AUTHORS NEWS README" + default + find "${D}" -name '*.la' -delete || die + python_optimize +} + +pkg_postinst() { + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_schemas_update +}
