Hi all, A tricky (for me) packaging question: xkeyboard-config 2.45 upstream changed the installation directory to make future multi-version installs possible. Traditionally files were installed in /usr/share/X11/xkb with an xkeyboard-config.pc pointing to those files (though that path is also frequently hardcoded).
As of 2.45 XKB files are installed in /usr/share/xkeyboard-config-2/ with an xkeyboard-config-2.pc pointing to those files. xkeyboard-config.pc is provided for backwards compatibility and /usr/share/X11/xkb symlinks to the new install location. What I would like to do in Fedora: - new locations are packaged as xkeyboard-config and -devel - the /usr/share/X11/xkb symlink is packaged as xkeyboard-config-legacy - xkeyboard-config.pc is packaged as xkeyboard-config-legacy-devel Until some point very far into the future, xkeyboard-config and xkeyboard-config-legacy will Require each other. Same for the dev packages requiring each other. There are two difficulties with the above: - Directories cannot be replaced by symlinks [2]. The example scriptlet would move everything to /usr/share/X11/xkb.rpmmoved which, uhm, would basically virtually every non-server workstation - that's a lot of files kept on a lot of machines. - For years we have suggested users can drop a file into /usr/share/X11/symbols/custom and it will be magically handled as the "custom" keyboard layout [2]. So basically: I don't expect many users to have custom layouts in that old directory but I *do* expect some users to have the custom layout. That one could be easily moved on its own though. Either way, I'd appreciate some suggestions on what is best here. Thanks. Cheers, Peter [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Directory_Replacement/ [2] https://who-t.blogspot.com/2021/02/a-pre-supplied-custom-keyboard-layout.html -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue