colord icon indicating copy to clipboard operation
colord copied to clipboard

cd-create-profile manpage belongs in a museum

Open Aeva opened this issue 8 years ago • 3 comments

cd-create-profile appears to have been written under the byzantine empire, on the day of April 8, 1011.

The contents of the man page are also grossly out of date. It suggest one use a csv input file, but cd-create-profile.c looks to only expect xml.

It is a bad look to snark that the user did not read the man page when it is so old that they have to read the source code to figure out how to use the program.

Aeva avatar Jul 30 '17 18:07 Aeva

Would you be able to create a PR with some fixes and enhancements please? The cd-create-profile executable is really only used when colord is building, so it's not hugely useful to end users, hence the lack of effort in making it awesome.

hughsie avatar Jul 31 '17 11:07 hughsie

I'd be happy to! I assume it used to build all the profiles in /data/profiles? And that the usage of cd-create-profile within the build script in that directory is the only intended use? Is there anything else I should know?

Aeva avatar Jul 31 '17 20:07 Aeva

I think that's everything; the format of the XML it accepts is: https://github.com/hughsie/colord/blob/master/data/profiles/AdobeRGB1998.iccprofile.xml -- yell if you need any help. Thanks!

hughsie avatar Aug 01 '17 11:08 hughsie