1afb14e9bSmrgX color name database 2afb14e9bSmrg--------------------- 3afb14e9bSmrg 4afb14e9bSmrgThis package includes both the list mapping X color names to RGB values 5afb14e9bSmrg(rgb.txt) and programs to read and write the color database. 6afb14e9bSmrg 7afb14e9bSmrgThe "others" subdirectory contains some alternate color databases. 8afb14e9bSmrg 9afb14e9bSmrgThe configure script accepts --with-rgb-db-type=(text|dbm|ndbm) to specify 10afb14e9bSmrgthe type of database to use for the color name data. The default is "text". 11afb14e9bSmrg 12afb14e9bSmrgThe configure script accepts --with-rgb-db-library=<library-name> to specify 13afb14e9bSmrgthe dbm or ndbm compatible library to use for the color name data. The default 14afb14e9bSmrgis "auto" to search for known implementations. Library names should be 15afb14e9bSmrgspecified as would be provided for the "-l" flag for the linker - for 16afb14e9bSmrginstance, "c" for libc, "dbm" for libdbm, etc. 17afb14e9bSmrg 18afb14e9bSmrgDistributors who do choose to enable the use of a database library are 19afb14e9bSmrgresponsible for understanding the requirements of the license terms of 20afb14e9bSmrgthe library they link with, which may impose additional restrictions 21afb14e9bSmrgbeyond the MIT/X11 license used for this package. 22afb14e9bSmrg 23afb14e9bSmrgIf the dbm or ndbm format are chosen, this package also builds the 24afb14e9bSmrgrgb command to build the database in that format from rgb.txt. 25afb14e9bSmrg 26afb14e9bSmrgRegardless of format, this package builds the showrgb command to show 27afb14e9bSmrgthe contents of the database, from whichever of dbm, ndbm, or text file 28afb14e9bSmrgwas chosen by the --with-rgb-db-type option when building. 29afb14e9bSmrg 30afb14e9bSmrgAll questions regarding this software should be directed at the 31afb14e9bSmrgXorg mailing list: 32afb14e9bSmrg 33afb14e9bSmrg https://lists.x.org/mailman/listinfo/xorg 34afb14e9bSmrg 35afb14e9bSmrgThe master development code repository can be found at: 36afb14e9bSmrg 37afb14e9bSmrg https://gitlab.freedesktop.org/xorg/app/rgb 38afb14e9bSmrg 39afb14e9bSmrgPlease submit bug reports and requests to merge patches there. 40afb14e9bSmrg 41afb14e9bSmrgFor patch submission instructions, see: 42afb14e9bSmrg 43afb14e9bSmrg https://www.x.org/wiki/Development/Documentation/SubmittingPatches 44afb14e9bSmrg 45