After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719942 - gnome_xkb X11 dependency
gnome_xkb X11 dependency
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
Other Linux
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on: 724277
Reported: 2013-12-06 02:35 UTC by Matthias Clasen
Modified: 2014-02-13 14:49 UTC
See Also:
GNOME target: 3.12
GNOME version: ---

gnome-xkb-info: Remove xkbfile dependency (7.01 KB, patch)
2014-02-13 09:41 UTC, Rui Matos
committed Details | Review

Description Matthias Clasen 2013-12-06 02:35:13 UTC
gnome-initial-setup does not work under Wayland, because the input sources page uses gnome_xkb, which has a hard X dependency.
Comment 1 Rui Matos 2014-02-13 09:41:24 UTC
Created attachment 268992 [details] [review]
gnome-xkb-info: Remove xkbfile dependency

This code was originally from gnome-settings-daemon but got moved here
so that we could be sure that all GnomeXkbInfo users were using the
same xkb rules file by getting it from the X server.

As we move towards wayland though, we find ourselves in a position to
specify how and where xkb data resides so we can drop this
dependency. Instead, for now, we'll just hardcode the path to the xkb
data from the xkeyboard-config XKB_DATA compile time variable.
Comment 2 Bastien Nocera 2014-02-13 12:15:04 UTC
Review of attachment 268992 [details] [review]:

Looks good.
Comment 3 Rui Matos 2014-02-13 14:49:30 UTC
Attachment 268992 [details] pushed as 579456e - gnome-xkb-info: Remove xkbfile dependency