Summary: | RFC: Model specific multi-layout support | ||
---|---|---|---|
Product: | xkeyboard-config | Reporter: | Rami Ylimaki <rami.ylimaki> |
Component: | General | Assignee: | xkb |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | svu |
Version: | unspecified | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 25507 | ||
Attachments: |
Extend multi-layout configuration to depend on keyboard model.
Rename confs/scripts to indicate that a model column was added. Combined patch. |
Description
Rami Ylimaki
2009-12-15 07:34:22 UTC
Created attachment 32119 [details] [review] Extend multi-layout configuration to depend on keyboard model. Here is a proposal for fixing this issue. If this kind of change is acceptable, there's only need to rename some configuration files and scripts to take into account the fact that a new model column has been added. Created attachment 32121 [details] [review] Rename confs/scripts to indicate that a model column was added. This is the second and last patch to fix this issue. This patch isn't absolutely needed, but it's best to apply it to avoid any confusion. Adding Sergey into CC. It's been a month since the patches were attached here so maybe they haven't been noticed. What's the correct way of getting them into upstream? Should I just be more patient or increase the priority for the bug? I added the patch keyword if that's going to help to make this noticed. I am really sorry for overlooking this bug! That code makes sense to me. Unfortunately right now we're in pre-release freeze. But I'll commit the code once the release is out (i.e. tomorrow). Rami, I have some questions. First of all, the first patch is not really correct, because you already take models into consideration, so the filenames should be changed. I guess two patches should be combined, to keep the schema correct. Also, I guess those files are missing in the 2nd patch: base.ml2v2_s.part base.ml3v3_s.part base.ml4v4_s.part Could you please fix that in your combined patch? Thanks (In reply to comment #5) > Rami, I have some questions. > > First of all, the first patch is not really correct, because you already take > models into consideration, so the filenames should be changed. I guess two > patches should be combined, to keep the schema correct. I'll provide a combined patch in the next message. There is one problem though regarding renaming of files. When I change and rename files at the same time, git doesn't understand any more that the file is the same. Therefore we'll lose history for the renamed files. Git is only able to understand that the file has been changed and renamed if the changes are very minor. In this case all of the changes are too big so git will just delete the old files and create new files. > Also, I guess those files are missing in the 2nd patch: > > base.ml2v2_s.part > base.ml3v3_s.part > base.ml4v4_s.part > > Could you please fix that in your combined patch? Those files aren't missing because they are generated. [sbox: ~/fdo/xkeyboard-config] > ls -la rules/*/base.ml?v?_s.part dir: rules/*/base.ml?v?_s.part: No such file or directory [sbox: ~/fdo/xkeyboard-config] > ./autogen.sh --prefix=/usr [sbox: ~/fdo/xkeyboard-config] > make [sbox: ~/fdo/xkeyboard-config] > ls -la rules/*/base.ml?v?_s.part -rw-rw-r-- 1 rjy rjy 1793 Jan 29 11:45 rules/compat/base.ml1v1_s.part -rw-rw-r-- 1 rjy rjy 1743 Jan 29 11:45 rules/compat/base.ml2v2_s.part -rw-rw-r-- 1 rjy rjy 1743 Jan 29 11:45 rules/compat/base.ml3v3_s.part -rw-rw-r-- 1 rjy rjy 1743 Jan 29 11:45 rules/compat/base.ml4v4_s.part -rw-rw-r-- 1 rjy rjy 200 Jan 29 11:45 rules/extras/base.ml1v1_s.part -rw-rw-r-- 1 rjy rjy 196 Jan 29 11:45 rules/extras/base.ml2v2_s.part -rw-rw-r-- 1 rjy rjy 196 Jan 29 11:45 rules/extras/base.ml3v3_s.part -rw-rw-r-- 1 rjy rjy 196 Jan 29 11:45 rules/extras/base.ml4v4_s.part > Thanks No problem. Created attachment 32893 [details] [review] Combined patch. This patch contains the previous two patches combined into single commit. The main problem here is that I don't know how to make git understand that the patch contains files that have been renamed and changed at the same time. We'll lose history for the renamed files. I like your last patch. Committed, thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.