summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-07-10rgb: Make color entries uniformHEADmasterChristian Persch1-292/+292
While the format for most entries was "R G B\t\tName\n", some lines had a HT between G and B instead of space, or an extra space after B. That makes parsing the file harder; this commit makes all lines have the common format.
2023-03-18showrgb.man: Use bold instead of italic for program nameAlan Coopersmith1-1/+1
Closes: #2 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-25Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith5-5/+5
Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-29rgb 1.1.0rgb-1.1.0Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-16gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-13gitlab CI: build all 3 --with-rgb-db-type=(text|dbm|ndbm) optionsAlan Coopersmith1-4/+13
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-13configure: Add --with-rgb-db-library optionAlan Coopersmith2-6/+28
Allows builders to choose a specific database library instead of relying on the default auto-detection, which can allow use of libraries we don't normally search for (like gdbm_compat) or to bypass libraries we do normally search for (like Berkeley db). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-13README: provide more information on --with-rgb-db-typeAlan Coopersmith1-2/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-06rgb.c: if filename is too long, report error instead of truncatingAlan Coopersmith1-0/+7
Avoid possibly creating a file of unknown name/location Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-06rgb.c: fix -Wdiscarded-qualifiers warningAlan Coopersmith1-1/+1
rgb.c: In function ‘main’: rgb.c:81:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] dbname = RGB_DB; ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-06Remove unnecessary casts from malloc() & memcpy() callsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith2-13/+6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-4/+4
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-1/+1
Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2014-11-08rgb 1.0.6rgb-1.0.6Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-10-25If opening argv[1] + ".txt" fails, try opening argv[1] without suffixAlan Coopersmith1-1/+1
Previously, running "showrgb /usr/share/X11/rgb.txt" would give the confusing error message: showrgb: unable to open rgb database "/usr/share/X11/rgb.txt" since it was really looking for rgb.txt.txt. Now it just works, allowing users to use filename completion. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-10-25Use asprintf() instead of malloc/strcpy/strcat, if its availableAlan Coopersmith2-0/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
2014-07-06Add aliases for colors that differ between X11 and CSSDaphne Pfister1-0/+20
While CSS colors are based on X11 color and mostly the same there are a handful that have different values: gray, grey, green, and maroon. Add versions of the color names with X11 and Web prefix so that tools that process rgb.txt can get either version. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-06Add missing colors from CSS Color Module Level 4Daphne Pfister1-0/+10
CSS web colors are based on the X11 rgb.txt file. There are a few colors in CSS that were not in rgb.txt. Update rgb.txt to include all CSS color names. Adding aqua, lime, fuchsia, crimson, indigo, olive, rebecca purple, silver and teal. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-19rgb 1.0.5rgb-1.0.5Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-19config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith1-1/+5
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-11Replace unbounded strcpy/strcat pairs with snprintf callsAlan Coopersmith1-4/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-06-05unifdef __UNIXOS2__Alan Coopersmith1-11/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-26Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith1-4/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-03-04man: replace hard coded section number (1) and (3) with variablesGaetan Nadon1-2/+2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
This silences an Autoconf warning
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-2/+2
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove unrequired AC_SUBST([*_CFLAGS])Gaetan Nadon1-1/+0
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-06rgb 1.0.4rgb-1.0.4Alan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-22Sun's copyrights belong to Oracle nowAlan Coopersmith4-4/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-22config: Remove AC_PROG_CC & AC_PROG_INSTALL that XORG_DEFAULT_OPTIONS provideAlan Coopersmith1-3/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-22config: update AC_PREREQ statement to 2.60Gaetan Nadon1-1/+1
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-20config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon5-43/+49
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Use the appropriate platform version of sed Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-20man: remove trailing whitespaceGaetan Nadon2-9/+9
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-11config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon2-2/+1
Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-26INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon4-3/+6
Add missing INSTALL file. Use standard GNU file on building tarball Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-11-26Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon1-1/+1
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
2009-11-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon1-2/+0
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-11-26.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-12/+66
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-11-20Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith2-12/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-11-20Update Sun license noticesAlan Coopersmith4-92/+68
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith1-0/+31
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-12Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade4-4/+14
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings.
2008-06-05rgb version 1.0.3rgb-1.0.3Alan Coopersmith1-1/+1
Don't you hate it when you push out a new version and then realize minutes later than you've got a manpage in your distro that's not in upstream you could have included?