For the x11-misc/xkeyboard-config package: Patch the files rules/evdev.xml.in and symbols/latam with the files evdev-dvorak.patch and latam-dvorak.patch, respectively. Hint: Add these lines in the respective ebuilds: '' #Time for patching cd "${WORKDIR}"/"${P}"/symbols epatch "${FILESDIR}/latam-dvorak.patch" cd "${WORKDIR}"/"${P}"/rules epatch "${FILESDIR}/evdev-dvorak.patch" '' within the src_prepare function. Also, you must create the files directory with the patches. Reproducible: Always
Created attachment 395978 [details, diff] Evdev patch
Created attachment 395980 [details, diff] Patch for symbols/latam file
It is probably a good idea to submit a bug report to upstream at https://bugs.freedesktop.org/ Once it is applied there, we can look into backporting that to current xkeyboard-config.
Surely yes, but meanwhile, the patches would be a good idea.
(In reply to jorgicio from comment #4) > Surely yes, but meanwhile, the patches would be a good idea. The thing is, we don't want to carry the patches in Gentoo forever, and we'd also like to make sure that your improvements are available to people outside Gentoo. Please link us to where you've submitted it upstream.
This is fixed upstream in https://cgit.freedesktop.org/xkeyboard-config/commit/?id=78173abe94630c08f549a24bc1b3cb1f4ffa1d1d It is in 2.15 release. So this bug should be closed.