parse xorg version for nicer display
ClosedPublic

Authored by sitter on Jan 17 2020, 3:55 PM.

Details

Summary

instead of just printing a random integer lets try to print a
nice looking version string. since I couldn't find
cross-implementation documentation on what the format of the
int is, I am going to assume it is vendor specific and guard
the xorg specific parsing behind a guard based on the vendor
string containig x.org

BUG: 344038
FIXED-IN: 5.18.0

Test Plan

version looks nice in xorg module

Diff Detail

Repository
R102 KInfoCenter
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Jan 17 2020, 3:55 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 17 2020, 3:55 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sitter requested review of this revision.Jan 17 2020, 3:55 PM
sitter retitled this revision from pare xorg version for nicer display to parse xorg version for nicer display.Jan 17 2020, 5:56 PM
mart accepted this revision.Jan 22 2020, 10:09 AM
This revision is now accepted and ready to land.Jan 22 2020, 10:09 AM
This revision was automatically updated to reflect the committed changes.