commit:     7fada2a636fe5d76cc6a40572341d4b0ed8fb24c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 10 06:54:08 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 10 06:59:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fada2a6

app-i18n/ibus-cangjie: fix dependencies, shebang

The bug reported a broken shebang as well as a missing gui-libs/libadwaita
dep. Fix those.

NLS was also wrongly conditional (ibus-cangjie is built and installed
unconditionally).

On inspection, we had a few other issues there too: a bunch of missing
introspection USE deps and some other missing ones, so fix that too.

Closes: https://bugs.gentoo.org/971039
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...s-cangjie-2.5.0.ebuild => ibus-cangjie-2.5.0-r1.ebuild} | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/app-i18n/ibus-cangjie/ibus-cangjie-2.5.0.ebuild 
b/app-i18n/ibus-cangjie/ibus-cangjie-2.5.0-r1.ebuild
similarity index 80%
rename from app-i18n/ibus-cangjie/ibus-cangjie-2.5.0.ebuild
rename to app-i18n/ibus-cangjie/ibus-cangjie-2.5.0-r1.ebuild
index 08fb028edd41..fe04d65d5492 100644
--- a/app-i18n/ibus-cangjie/ibus-cangjie-2.5.0.ebuild
+++ b/app-i18n/ibus-cangjie/ibus-cangjie-2.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,21 +13,24 @@ 
SRC_URI="https://gitlab.freedesktop.org/cangjie/ibus-cangjie/-/jobs/67033920/art
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="nls"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
        ${PYTHON_DEPS}
-       app-i18n/ibus[python(+),${PYTHON_USEDEP}]
+       app-i18n/ibus[introspection,python(+),${PYTHON_USEDEP}]
        >=app-i18n/libcangjie-1.4.0
+       dev-libs/glib[introspection]
        >=dev-python/cangjie-1.5.0[${PYTHON_USEDEP}]
+       dev-python/pygobject[${PYTHON_USEDEP}]
+       gui-libs/gtk:4[introspection]
+       >=gui-libs/libadwaita-1.5[introspection]
        media-libs/gsound[introspection]
-       nls? ( virtual/libintl )
+       virtual/libintl
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
        >=dev-build/meson-1.3.2
-       nls? ( sys-devel/gettext )
+       sys-devel/gettext
 "
 
 PATCHES=(
@@ -49,6 +52,7 @@ src_test() {
 src_install() {
        python_install() {
                meson_src_install
+               python_fix_shebang "${ED}"
                python_optimize
        }
        python_foreach_impl python_install

Reply via email to