Bug 758709 - RFE: port off of pyxf86config
Summary: RFE: port off of pyxf86config
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-keyboard
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-30 14:51 UTC by Adam Jackson
Modified: 2011-12-01 17:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-12-01 17:16:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Jackson 2011-11-30 14:51:05 UTC
Description of problem:

s-c-k is the sole remaining user of pyxf86config, which is itself a fairly fragile bit of code.  If it's possible to port us off of it, we should do so.

I _think_ that code can (and should) simply be removed, as system-setup-keyboard handles conversion from /etc/sysconfig/keyboard to xorg.conf.d already.  The existing code is probably broken anyway, as the 'kbd' driver is somewhat deprecated these days.

Comment 1 Peter Hutterer 2011-11-30 21:56:32 UTC
All system-config-keyboard needs to do is write out to /etc/sysconfig/keyboard and provide the keyboard_models database (we could move that one to system-setup-keyboard if necessary). Any actual X keyboard configuration that system-config-keyboard does is ignored by the server anyway. So porting off it would simply mean dropping the code that writes out the InputDevice sections.

Comment 2 Adam Jackson 2011-12-01 17:16:16 UTC
Well that's easy then.

http://koji.fedoraproject.org/koji/taskinfo?taskID=3555987


Note You need to log in before you can comment on or make changes to this bug.