Bug 2297735

Summary: drop ibus dependency on xorg-x11-xinit and setxkbmap for Fedora 41 Workstation
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: i18n-bugs, ngompa13, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ibus-1.5.31~beta1-8.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-18 11:24:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2296276    

Description Jens Petersen 2024-07-14 11:07:02 UTC
ibus currently depends on xorg-x11-xinit and setxkbmap.
Since Xorg is being dropped from F41 WS by default,
they should not be pulled in and installed by default.
I think other Xorg desktops will have to require ibus-xinit.

Also note that /etc/X11/xinit has been owned also by filesystem since RHEL 9,
so there should be no need to depend on xorg-x11-xinit for the file ownership.
The same is true of /etc/X11/xinit/xinput.d/ .

Reproducible: Always

Steps to Reproduce:
1. rpm -q --requires ibus | grep -v 64 | grep x
Actual Results:  
setxkbmap
xorg-x11-xinit

Comment 1 Neal Gompa 2024-07-14 16:40:08 UTC
Looks like this is controlled by a bcond that currently only eliminates it for RHEL 10+: https://src.fedoraproject.org/rpms/ibus/blob/rawhide/f/ibus.spec#_18-25

Comment 2 fujiwara 2024-07-18 08:30:27 UTC
Should be for GNOME only.