Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709818 - app-i18n/ibus-1.5.21 : use depends emoji? ( gtk ) and kde? ( gtk ) seem obsolete
Summary: app-i18n/ibus-1.5.21 : use depends emoji? ( gtk ) and kde? ( gtk ) seem obsolete
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-02-16 15:49 UTC by Andrei Slavoiu
Modified: 2022-04-15 19:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2020-02-16 15:49:17 UTC
If there was a time when they were needed, it seems that is no longer the case. I removed them from the ebuild and ibus built successfully with USE="emoji kde -gtk" and the emoji picker in kde-plasma/plasma-desktop-5.18.0-r1 works fine with it.

Reproducible: Always
Comment 1 Akinori Hattori gentoo-dev 2021-10-14 14:40:36 UTC
iBus's GUI programs are built with GTK.
Comment 2 Andrei Slavoiu 2021-10-14 14:59:23 UTC
I don't see how that's related. I clearly stated in the description that I only need ibus for the emoji picker in Plasma, that works fine without ibus's GUI programs.
Comment 3 Akinori Hattori gentoo-dev 2021-10-14 15:50:46 UTC
OK, I understand the situation. A KDE applet uses an IBus's emoji dictionary for its data.

Unfortunately, it is not the use case expected for this package.
Comment 4 Andrei Slavoiu 2021-10-15 11:30:20 UTC
This is ridiculous, even binary distributions package ibus in a way that alows emoji support in plasma without installing ibus GUI programs. For example, if you look at the dependencies of Ubuntu's plasma-desktop you'll see it only depends on libibus and ibus-data, not on the main ibus package https://packages.ubuntu.com/hirsute/plasma-desktop .

If the concern is that users will start complaining that they installed ibus and the GUI programs are not there, that is highly unlikely, since gtk is a flag enabled by default by the ebuild. So users must explicitly disable it to get into this situation.

Also if you consider that having kde use flag enabled might leave the user thinking GUI programs will be installed, then leave it depending on gtk. Remove just the emoji to gtk dependency, that will be enough for plasma.
Comment 5 Larry the Git Cow gentoo-dev 2022-04-15 19:25:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abb69f3228b18af76d3adfaa86e627d1a2bcbc75

commit abb69f3228b18af76d3adfaa86e627d1a2bcbc75
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-04-14 02:26:22 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-04-15 19:24:57 +0000

    app-i18n/ibus: Remove REQUIRED_USE="emoji? ( gtk )"
    
    The emoji support is useful in KDE without gtk being enabled. IUSE=emoji
    installs a bunch of dictionary files under /usr/share/ibus/dicts/
    irrespective of the USE=gtk setting.
    
    Closes: https://bugs.gentoo.org/709818
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-i18n/ibus/ibus-1.5.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)