From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/caribou/
Date: Fri, 29 May 2020 00:11:51 +0000 (UTC) [thread overview]
Message-ID: <1590711042.fa1dff08ba14f84b92edb2bc9b4ef4dda278a109.mattst88@gentoo> (raw)
commit: fa1dff08ba14f84b92edb2bc9b4ef4dda278a109
Author: Matthew Turnbull <sparky <AT> bluefang-logic <DOT> com>
AuthorDate: Tue May 12 04:40:48 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri May 29 00:10:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa1dff08
app-accessibility/caribou: python 3.7 support
Bug: https://bugs.gentoo.org/718316
Bug: https://bugs.gentoo.org/704532
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
Closes: https://github.com/gentoo/gentoo/pull/15774
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
app-accessibility/caribou/caribou-0.4.21-r1.ebuild | 92 ++++++++++++++++++++++
1 file changed, 92 insertions(+)
diff --git a/app-accessibility/caribou/caribou-0.4.21-r1.ebuild b/app-accessibility/caribou/caribou-0.4.21-r1.ebuild
new file mode 100644
index 00000000000..a6ab60c8d63
--- /dev/null
+++ b/app-accessibility/caribou/caribou-0.4.21-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_REQ_USE="xml"
+
+inherit gnome2 python-r1
+
+DESCRIPTION="Input assistive technology intended for switch and pointer users"
+HOMEPAGE="https://wiki.gnome.org/Projects/Caribou"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ app-accessibility/at-spi2-core
+ >=dev-python/pygobject-2.90.3:3[${PYTHON_USEDEP}]
+ >=x11-libs/gtk+-3:3[introspection]
+ x11-libs/gtk+:2
+ >=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/libX11
+ x11-libs/libxklavier
+ x11-libs/libXtst
+ ${PYTHON_DEPS}
+"
+# 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]
+ >=dev-python/pyatspi-2.1.90[${PYTHON_USEDEP}]
+ >=gnome-base/gsettings-desktop-schemas-3
+ gnome-base/librsvg:2
+ sys-apps/dbus
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ >=dev-util/intltool-0.35.5
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # FIXME: Now this supports python3 too...
+ # delete custom PYTHONPATH, useless on Gentoo and potential bug source
+ # + caribou is python2 only so fix the shell scripts
+# sed -e '/export PYTHONPATH=.*python/ d' \
+# -e "s:@PYTHON@:${EPREFIX}/usr/bin/python2:" \
+# -i bin/{antler-keyboard,caribou-preferences}.in ||
+# die "sed failed"
+
+ gnome2_src_prepare
+
+ prepare_caribou() {
+ mkdir -p "${BUILD_DIR}" || die
+ }
+ python_foreach_impl prepare_caribou
+}
+
+src_configure() {
+ ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir \
+ gnome2_src_configure \
+ --disable-docs \
+ --disable-static \
+ --enable-gtk3-module \
+ --enable-gtk2-module \
+ VALAC=$(type -P true)
+ # vala is not needed for tarball builds, but configure checks for it...
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir gnome2_src_compile
+}
+
+src_test() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_install() {
+ python_foreach_impl run_in_build_dir gnome2_src_install
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=769323
+ dodoc AUTHORS NEWS README # ChangeLog simply points to git log
+}
next reply other threads:[~2020-05-29 0:11 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 0:11 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-10 2:25 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/caribou/ Sam James
2024-09-27 5:57 Eli Schwartz
2024-05-29 6:10 Joonas Niilola
2024-05-28 18:20 Arthur Zamarin
2024-05-09 9:17 Pacho Ramos
2024-02-15 13:29 Joonas Niilola
2023-09-26 15:59 WANG Xuerui
2023-05-07 22:14 Sam James
2023-05-04 6:31 Jakov Smolić
2023-05-04 4:38 Arthur Zamarin
2023-05-03 9:07 Sam James
2022-12-24 7:11 Sam James
2022-07-01 7:08 Joonas Niilola
2022-07-01 7:08 Joonas Niilola
2022-07-01 7:08 Joonas Niilola
2022-06-20 2:53 Sam James
2021-12-24 20:00 Jakov Smolić
2021-12-24 19:25 Jakov Smolić
2021-05-31 15:27 Georgy Yakovlev
2021-05-16 19:11 Andreas Sturmlechner
2021-05-16 18:53 Sam James
2021-05-16 0:13 Sam James
2021-02-02 13:08 Joonas Niilola
2021-02-01 4:42 Sam James
2021-01-25 14:04 Sam James
2021-01-24 17:31 Joonas Niilola
2020-12-16 22:30 Sam James
2020-12-04 14:59 Aaron Bauman
2020-02-05 19:12 Michał Górny
2017-08-27 21:26 Mart Raudsepp
2017-08-27 21:26 Mart Raudsepp
2017-04-19 8:03 David Seifert
2016-07-30 10:50 Pacho Ramos
2016-07-30 10:50 Pacho Ramos
2016-03-06 20:52 Mikle Kolyada
2016-02-21 23:44 Pacho Ramos
2015-10-17 10:53 Pacho Ramos
2015-10-17 10:53 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1590711042.fa1dff08ba14f84b92edb2bc9b4ef4dda278a109.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox