···11+commit 06cf6fa78bfec2ea4c9dc061900079f2cc9c9dd1
22+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
33+Date: Sat Oct 29 10:31:35 2022 -0700
44+55+ rgb 1.1.0
66+77+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
88+99+commit 5db536d77f99e9f425b5363af71f2abcdbbc4f4c
1010+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1111+Date: Sun Oct 16 12:28:36 2022 -0700
1212+1313+ gitlab CI: stop requiring Signed-off-by in commits
1414+1515+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1616+1717+commit fa59e95ca40aab93388f8b27b1c1a36acee8f4ec
1818+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1919+Date: Thu Oct 13 16:52:31 2022 -0700
2020+2121+ gitlab CI: build all 3 --with-rgb-db-type=(text|dbm|ndbm) options
2222+2323+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2424+2525+commit c4e6767272fd37b6464f67b4dde387895297eb63
2626+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2727+Date: Thu Oct 13 16:47:47 2022 -0700
2828+2929+ configure: Add --with-rgb-db-library option
3030+3131+ Allows builders to choose a specific database library instead of relying
3232+ on the default auto-detection, which can allow use of libraries we don't
3333+ normally search for (like gdbm_compat) or to bypass libraries we do
3434+ normally search for (like Berkeley db).
3535+3636+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3737+3838+commit af3f9bd84de98baff8df88cf51fe2750829254c0
3939+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
4040+Date: Fri Oct 7 18:00:11 2022 -0700
4141+4242+ README: provide more information on --with-rgb-db-type
4343+4444+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4545+4646+commit fd561bf3a80a9a23c130f11d26e93a4fded6d464
4747+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
4848+Date: Thu Oct 6 20:01:29 2022 -0700
4949+5050+ rgb.c: if filename is too long, report error instead of truncating
5151+5252+ Avoid possibly creating a file of unknown name/location
5353+5454+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5555+5656+commit be9658d3380bbdee73a687d74a18ae22c8272ac5
5757+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
5858+Date: Thu Oct 6 19:53:56 2022 -0700
5959+6060+ rgb.c: fix -Wdiscarded-qualifiers warning
6161+6262+ rgb.c: In function ‘main’:
6363+ rgb.c:81:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
6464+ dbname = RGB_DB;
6565+ ^
6666+6767+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6868+6969+commit a413f34351b6e72100bdbef7ae32d1266dfa8942
7070+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
7171+Date: Thu Oct 6 19:49:15 2022 -0700
7272+7373+ Remove unnecessary casts from malloc() & memcpy() calls
7474+7575+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7676+7777+commit f0d6e69279eaeb71a3e36b5cf40ba8384b1ec84c
7878+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
7979+Date: Fri Dec 3 16:28:26 2021 -0800
8080+8181+ Build xz tarballs instead of bzip2
8282+8383+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8484+8585+commit a22ca19fa8920f3d28f6676b009ef9ea0770d06b
8686+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
8787+Date: Fri Dec 3 16:28:22 2021 -0800
8888+8989+ gitlab CI: add a basic build test
9090+9191+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
9292+9393+commit 97820e748eb496a1f6d3fc3bf89688f0ce1f64f9
9494+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
9595+Date: Wed Nov 21 16:56:07 2018 -0800
9696+9797+ Update configure.ac bug URL for gitlab migration
9898+9999+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
100100+101101+commit 3da8f3109f063952516b0782949a96f0c92a092f
102102+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
103103+Date: Fri Nov 16 20:38:15 2018 -0800
104104+105105+ Update README for gitlab migration
106106+107107+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
108108+109109+commit 33a89951afcc53a591294de24b08fee581d31c3c
110110+Author: Mihail Konev <k.mvc@ya.ru>
111111+Date: Thu Jan 26 14:00:20 2017 +1000
112112+113113+ autogen: add default patch prefix
114114+115115+ Signed-off-by: Mihail Konev <k.mvc@ya.ru>
116116+117117+commit ea85c550234b928ac4add45f14bffba163d7684b
118118+Author: Emil Velikov <emil.l.velikov@gmail.com>
119119+Date: Mon Mar 9 12:00:52 2015 +0000
120120+121121+ autogen.sh: use quoted string variables
122122+123123+ Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
124124+ fall-outs, when they contain space.
125125+126126+ Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
127127+ Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
128128+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
129129+130130+commit 2e5ed74deddd8f2c2fe7742f991a632e437dd03d
131131+Author: Peter Hutterer <peter.hutterer@who-t.net>
132132+Date: Tue Jan 24 10:32:07 2017 +1000
133133+134134+ autogen.sh: use exec instead of waiting for configure to finish
135135+136136+ Syncs the invocation of configure with the one from the server.
137137+138138+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
139139+ Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
140140+1141commit 41599a3703e7b95c73a44c548d2ba074aa3eb3d8
2142Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3143Date: Sat Nov 8 11:31:26 2014 -0800
···499639 Fix distcheck for remaining apps
500640501641commit 794993251c8700061f84246f87ec3c060f2ffb37
502502-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
642642+Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
503643Date: Wed Jul 27 19:40:28 2005 +0000
504644505645 Check for xproto
···526666 site.h & rgb.h from Xserver/includes)
527667528668commit 7a676fdf168ed250baef3b99393f3dccbda91a7e
529529-Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
669669+Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
530670Date: Wed Jun 29 18:20:16 2005 +0000
531671532672 Add build system for rgb symlink.sh: Link pmconfig.cpp, link various text
···11-X color name database
22-33-This package includes both the list mapping X color names to RGB values
44-(rgb.txt) and, if configured to use a database for color lookup, the
55-rgb program to convert the text file into the binary database format.
66-77-The "others" subdirectory contains some alternate color databases.
88-99-All questions regarding this software should be directed at the
1010-Xorg mailing list:
1111-1212- http://lists.freedesktop.org/mailman/listinfo/xorg
1313-1414-Please submit bug reports to the Xorg bugzilla:
1515-1616- https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
1717-1818-The master development code repository can be found at:
1919-2020- git://anongit.freedesktop.org/git/xorg/app/rgb
2121-2222- http://cgit.freedesktop.org/xorg/app/rgb
2323-2424-For patch submission instructions, see:
2525-2626- http://www.x.org/wiki/Development/Documentation/SubmittingPatches
2727-2828-For more information on the git code manager, see:
2929-3030- http://wiki.x.org/wiki/GitPage
3131-
+44
app/rgb/README.md
···11+X color name database
22+---------------------
33+44+This package includes both the list mapping X color names to RGB values
55+(rgb.txt) and programs to read and write the color database.
66+77+The "others" subdirectory contains some alternate color databases.
88+99+The configure script accepts --with-rgb-db-type=(text|dbm|ndbm) to specify
1010+the type of database to use for the color name data. The default is "text".
1111+1212+The configure script accepts --with-rgb-db-library=<library-name> to specify
1313+the dbm or ndbm compatible library to use for the color name data. The default
1414+is "auto" to search for known implementations. Library names should be
1515+specified as would be provided for the "-l" flag for the linker - for
1616+instance, "c" for libc, "dbm" for libdbm, etc.
1717+1818+Distributors who do choose to enable the use of a database library are
1919+responsible for understanding the requirements of the license terms of
2020+the library they link with, which may impose additional restrictions
2121+beyond the MIT/X11 license used for this package.
2222+2323+If the dbm or ndbm format are chosen, this package also builds the
2424+rgb command to build the database in that format from rgb.txt.
2525+2626+Regardless of format, this package builds the showrgb command to show
2727+the contents of the database, from whichever of dbm, ndbm, or text file
2828+was chosen by the --with-rgb-db-type option when building.
2929+3030+All questions regarding this software should be directed at the
3131+Xorg mailing list:
3232+3333+ https://lists.x.org/mailman/listinfo/xorg
3434+3535+The master development code repository can be found at:
3636+3737+ https://gitlab.freedesktop.org/xorg/app/rgb
3838+3939+Please submit bug reports and requests to merge patches there.
4040+4141+For patch submission instructions, see:
4242+4343+ https://www.x.org/wiki/Development/Documentation/SubmittingPatches
4444+
···11#! /bin/sh
22# Wrapper for compilers which do not understand '-c -o'.
3344-scriptversion=2012-10-14.11; # UTC
44+scriptversion=2018-03-07.03; # UTC
5566-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
66+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
77# Written by Tom Tromey <tromey@cygnus.com>.
88#
99# This program is free software; you can redistribute it and/or modify
···1717# GNU General Public License for more details.
1818#
1919# You should have received a copy of the GNU General Public License
2020-# along with this program. If not, see <http://www.gnu.org/licenses/>.
2020+# along with this program. If not, see <https://www.gnu.org/licenses/>.
21212222# As a special exception to the GNU General Public License, if you
2323# distribute this file as part of a program that contains a
···5353 MINGW*)
5454 file_conv=mingw
5555 ;;
5656- CYGWIN*)
5656+ CYGWIN* | MSYS*)
5757 file_conv=cygwin
5858 ;;
5959 *)
···6767 mingw/*)
6868 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
6969 ;;
7070- cygwin/*)
7070+ cygwin/* | msys/*)
7171 file=`cygpath -m "$file" || echo "$file"`
7272 ;;
7373 wine/*)
···255255 echo "compile $scriptversion"
256256 exit $?
257257 ;;
258258- cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
258258+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
259259+ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
259260 func_cl_wrapper "$@" # Doesn't return...
260261 ;;
261262esac
···339340# Local Variables:
340341# mode: shell-script
341342# sh-indentation: 2
342342-# eval: (add-hook 'write-file-hooks 'time-stamp)
343343+# eval: (add-hook 'before-save-hook 'time-stamp)
343344# time-stamp-start: "scriptversion="
344345# time-stamp-format: "%:y-%02m-%02d.%02H"
345345-# time-stamp-time-zone: "UTC"
346346+# time-stamp-time-zone: "UTC0"
346347# time-stamp-end: "; # UTC"
347348# End:
+213-52
app/rgb/configure
···11#! /bin/sh
22# Guess values for system-dependent variables and create Makefiles.
33-# Generated by GNU Autoconf 2.69 for rgb 1.0.6.
33+# Generated by GNU Autoconf 2.69 for rgb 1.1.0.
44#
55-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
55+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/rgb/-/issues>.
66#
77#
88# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
···267267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268268 else
269269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270270-$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
270270+$0: https://gitlab.freedesktop.org/xorg/app/rgb/-/issues
271271$0: about your system, including any error possibly output
272272$0: before this message. Then install a modern shell, or
273273$0: manually run the script under such a shell if you do
···581581# Identity of this package.
582582PACKAGE_NAME='rgb'
583583PACKAGE_TARNAME='rgb'
584584-PACKAGE_VERSION='1.0.6'
585585-PACKAGE_STRING='rgb 1.0.6'
586586-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
584584+PACKAGE_VERSION='1.1.0'
585585+PACKAGE_STRING='rgb 1.1.0'
586586+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/rgb/-/issues'
587587PACKAGE_URL=''
588588589589ac_unique_file="Makefile.am"
···737737docdir
738738oldincludedir
739739includedir
740740+runstatedir
740741localstatedir
741742sharedstatedir
742743sysconfdir
···766767enable_silent_rules
767768with_rgb_db_dir
768769with_rgb_db_type
770770+with_rgb_db_library
769771'
770772 ac_precious_vars='build_alias
771773host_alias
···821823sysconfdir='${prefix}/etc'
822824sharedstatedir='${prefix}/com'
823825localstatedir='${prefix}/var'
826826+runstatedir='${localstatedir}/run'
824827includedir='${prefix}/include'
825828oldincludedir='/usr/include'
826829docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
···10731076 | -silent | --silent | --silen | --sile | --sil)
10741077 silent=yes ;;
1075107810791079+ -runstatedir | --runstatedir | --runstatedi | --runstated \
10801080+ | --runstate | --runstat | --runsta | --runst | --runs \
10811081+ | --run | --ru | --r)
10821082+ ac_prev=runstatedir ;;
10831083+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
10841084+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
10851085+ | --run=* | --ru=* | --r=*)
10861086+ runstatedir=$ac_optarg ;;
10871087+10761088 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10771089 ac_prev=sbindir ;;
10781090 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
···12101222for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12111223 datadir sysconfdir sharedstatedir localstatedir includedir \
12121224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12131213- libdir localedir mandir
12251225+ libdir localedir mandir runstatedir
12141226do
12151227 eval ac_val=\$$ac_var
12161228 # Remove trailing slashes.
···13231335 # Omit some internal or obsolete options to make the list less imposing.
13241336 # This message is too long to be a string in the A/UX 3.1 sh.
13251337 cat <<_ACEOF
13261326-\`configure' configures rgb 1.0.6 to adapt to many kinds of systems.
13381338+\`configure' configures rgb 1.1.0 to adapt to many kinds of systems.
1327133913281340Usage: $0 [OPTION]... [VAR=VALUE]...
13291341···13631375 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13641376 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13651377 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
13781378+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
13661379 --libdir=DIR object code libraries [EPREFIX/lib]
13671380 --includedir=DIR C header files [PREFIX/include]
13681381 --oldincludedir=DIR C header files for non-gcc [/usr/include]
···1393140613941407if test -n "$ac_init_help"; then
13951408 case $ac_init_help in
13961396- short | recursive ) echo "Configuration of rgb 1.0.6:";;
14091409+ short | recursive ) echo "Configuration of rgb 1.1.0:";;
13971410 esac
13981411 cat <<\_ACEOF
13991412···14251438 ${datadir}/X11/rgb)
14261439 --with-rgb-db-type=(text|dbm|ndbm)
14271440 rgb database type (default is text)
14411441+ --with-rgb-db-library=<library-name>
14421442+ rgb database library (default is to search for one)
1428144314291444Some influential environment variables:
14301445 CC C compiler command
···14481463Use these variables to override the choices made by `configure' or to help
14491464it to find libraries and programs with nonstandard names/locations.
1450146514511451-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
14661466+Report bugs to <https://gitlab.freedesktop.org/xorg/app/rgb/-/issues>.
14521467_ACEOF
14531468ac_status=$?
14541469fi
···15111526test -n "$ac_init_help" && exit $ac_status
15121527if $ac_init_version; then
15131528 cat <<\_ACEOF
15141514-rgb configure 1.0.6
15291529+rgb configure 1.1.0
15151530generated by GNU Autoconf 2.69
1516153115171532Copyright (C) 2012 Free Software Foundation, Inc.
···16701685$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
16711686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
16721687$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
16731673-( $as_echo "## ---------------------------------------------------------------------- ##
16741674-## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
16751675-## ---------------------------------------------------------------------- ##"
16881688+( $as_echo "## ------------------------------------------------------------------- ##
16891689+## Report this to https://gitlab.freedesktop.org/xorg/app/rgb/-/issues ##
16901690+## ------------------------------------------------------------------- ##"
16761691 ) | sed "s/^/$as_me: WARNING: /" >&2
16771692 ;;
16781693esac
···19261941This file contains any messages produced by compilers while
19271942running configure, to aid debugging if configure makes a mistake.
1928194319291929-It was created by rgb $as_me 1.0.6, which was
19441944+It was created by rgb $as_me 1.1.0, which was
19301945generated by GNU Autoconf 2.69. Invocation command line was
1931194619321947 $ $0 $@
···4066408140674082# Define the identity of the package.
40684083 PACKAGE='rgb'
40694069- VERSION='1.0.6'
40844084+ VERSION='1.1.0'
407040854071408640724087cat >>confdefs.h <<_ACEOF
···1046010475104611047610462104771046310463-CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
1047810478+CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
1046410479mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
1046510465-|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
1046610466-echo 'git directory not found: installing possibly empty changelog.' >&2)"
1048010480+|| (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
1048110481+touch \$(top_srcdir)/ChangeLog; \
1048210482+echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
104671048310468104841046910485···1047110487macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
1047210488INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
1047310489mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
1047410474-|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
1047510475-echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
1049010490+|| (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
1049110491+touch \$(top_srcdir)/INSTALL; \
1049210492+echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
1047610493104771049410478104951047910496104801049710481104981049910499+case $host_os in
1050010500+ solaris*)
1050110501+ # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
1050210502+ # check for a man page file found in later versions that use
1050310503+ # traditional section numbers instead
1050410504+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
1050510505+$as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
1050610506+if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
1050710507+ $as_echo_n "(cached) " >&6
1050810508+else
1050910509+ test "$cross_compiling" = yes &&
1051010510+ as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
1051110511+if test -r "/usr/share/man/man7/attributes.7"; then
1051210512+ ac_cv_file__usr_share_man_man7_attributes_7=yes
1051310513+else
1051410514+ ac_cv_file__usr_share_man_man7_attributes_7=no
1051510515+fi
1051610516+fi
1051710517+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
1051810518+$as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
1051910519+if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
1052010520+ SYSV_MAN_SECTIONS=false
1052110521+else
1052210522+ SYSV_MAN_SECTIONS=true
1052310523+fi
1052410524+1052510525+ ;;
1052610526+ *) SYSV_MAN_SECTIONS=false ;;
1052710527+esac
1052810528+1048210529if test x$APP_MAN_SUFFIX = x ; then
1048310530 APP_MAN_SUFFIX=1
1048410531fi
···1049410541fi
10495105421049610543if test x$FILE_MAN_SUFFIX = x ; then
1049710497- case $host_os in
1049810498- solaris*) FILE_MAN_SUFFIX=4 ;;
1049910499- *) FILE_MAN_SUFFIX=5 ;;
1054410544+ case $SYSV_MAN_SECTIONS in
1054510545+ true) FILE_MAN_SUFFIX=4 ;;
1054610546+ *) FILE_MAN_SUFFIX=5 ;;
1050010547 esac
1050110548fi
1050210549if test x$FILE_MAN_DIR = x ; then
···1050410551fi
10505105521050610553if test x$MISC_MAN_SUFFIX = x ; then
1050710507- case $host_os in
1050810508- solaris*) MISC_MAN_SUFFIX=5 ;;
1050910509- *) MISC_MAN_SUFFIX=7 ;;
1055410554+ case $SYSV_MAN_SECTIONS in
1055510555+ true) MISC_MAN_SUFFIX=5 ;;
1055610556+ *) MISC_MAN_SUFFIX=7 ;;
1051010557 esac
1051110558fi
1051210559if test x$MISC_MAN_DIR = x ; then
···1051410561fi
10515105621051610563if test x$DRIVER_MAN_SUFFIX = x ; then
1051710517- case $host_os in
1051810518- solaris*) DRIVER_MAN_SUFFIX=7 ;;
1051910519- *) DRIVER_MAN_SUFFIX=4 ;;
1056410564+ case $SYSV_MAN_SECTIONS in
1056510565+ true) DRIVER_MAN_SUFFIX=7 ;;
1056610566+ *) DRIVER_MAN_SUFFIX=4 ;;
1052010567 esac
1052110568fi
1052210569if test x$DRIVER_MAN_DIR = x ; then
···1052410571fi
10525105721052610573if test x$ADMIN_MAN_SUFFIX = x ; then
1052710527- case $host_os in
1052810528- solaris*) ADMIN_MAN_SUFFIX=1m ;;
1052910529- *) ADMIN_MAN_SUFFIX=8 ;;
1057410574+ case $SYSV_MAN_SECTIONS in
1057510575+ true) ADMIN_MAN_SUFFIX=1m ;;
1057610576+ *) ADMIN_MAN_SUFFIX=8 ;;
1053010577 esac
1053110578fi
1053210579if test x$ADMIN_MAN_DIR = x ; then
···106201066710621106681062210669pkg_failed=no
1062310623-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RGB" >&5
1062410624-$as_echo_n "checking for RGB... " >&6; }
1067010670+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xproto" >&5
1067110671+$as_echo_n "checking for xproto... " >&6; }
10625106721062610673if test -n "$RGB_CFLAGS"; then
1062710674 pkg_cv_RGB_CFLAGS="$RGB_CFLAGS"
···106611070810662107091066310710if test $pkg_failed = yes; then
1066410664- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1071110711+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1066510712$as_echo "no" >&6; }
10666107131066710714if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
···1068810735and RGB_LIBS to avoid the need to call pkg-config.
1068910736See the pkg-config man page for more details." "$LINENO" 5
1069010737elif test $pkg_failed = untried; then
1069110691- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1073810738+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1069210739$as_echo "no" >&6; }
1069310740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1069410741$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
···10742107891074310790RGB_DB_TYPE=$db_type
10744107911079210792+1079310793+# Check whether --with-rgb-db-library was given.
1079410794+if test "${with_rgb_db_library+set}" = set; then :
1079510795+ withval=$with_rgb_db_library; db_lib=$withval
1079610796+else
1079710797+ db_lib="auto"
1079810798+fi
1079910799+1080010800+1074510801case $db_type in
1074610802 text)
1074710803 RGB_DB_FILES=""
···10750108061075110807 ;;
1075210808 dbm)
1075310753- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbminit" >&5
1080910809+ if test "x$db_lib" = "xauto"; then :
1081010810+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbminit" >&5
1075410811$as_echo_n "checking for library containing dbminit... " >&6; }
1075510812if ${ac_cv_search_dbminit+:} false; then :
1075610813 $as_echo_n "(cached) " >&6
···1080810865 as_fn_error $? "dbm requested but dbminit() not found in any libraries" "$LINENO" 5
1080910866fi
10810108671086810868+else
1086910869+ as_ac_Lib=`$as_echo "ac_cv_lib_$db_lib''_dbminit" | $as_tr_sh`
1087010870+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbminit in -l$db_lib" >&5
1087110871+$as_echo_n "checking for dbminit in -l$db_lib... " >&6; }
1087210872+if eval \${$as_ac_Lib+:} false; then :
1087310873+ $as_echo_n "(cached) " >&6
1087410874+else
1087510875+ ac_check_lib_save_LIBS=$LIBS
1087610876+LIBS="-l$db_lib $LIBS"
1087710877+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1087810878+/* end confdefs.h. */
1087910879+1088010880+/* Override any GCC internal prototype to avoid an error.
1088110881+ Use char because int might match the return type of a GCC
1088210882+ builtin and then its argument prototype would still apply. */
1088310883+#ifdef __cplusplus
1088410884+extern "C"
1088510885+#endif
1088610886+char dbminit ();
1088710887+int
1088810888+main ()
1088910889+{
1089010890+return dbminit ();
1089110891+ ;
1089210892+ return 0;
1089310893+}
1089410894+_ACEOF
1089510895+if ac_fn_c_try_link "$LINENO"; then :
1089610896+ eval "$as_ac_Lib=yes"
1089710897+else
1089810898+ eval "$as_ac_Lib=no"
1089910899+fi
1090010900+rm -f core conftest.err conftest.$ac_objext \
1090110901+ conftest$ac_exeext conftest.$ac_ext
1090210902+LIBS=$ac_check_lib_save_LIBS
1090310903+fi
1090410904+eval ac_res=\$$as_ac_Lib
1090510905+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1090610906+$as_echo "$ac_res" >&6; }
1090710907+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1090810908+ cat >>confdefs.h <<_ACEOF
1090910909+#define `$as_echo "HAVE_LIB$db_lib" | $as_tr_cpp` 1
1091010910+_ACEOF
1091110911+1091210912+ LIBS="-l$db_lib $LIBS"
1091310913+1091410914+else
1091510915+ as_fn_error $? "dbm requested but dbminit() not found when linking with -l$db_lib" "$LINENO" 5
1091610916+fi
1091710917+1091810918+fi
1081110919 ac_fn_c_check_header_mongrel "$LINENO" "dbm.h" "ac_cv_header_dbm_h" "$ac_includes_default"
1081210920if test "x$ac_cv_header_dbm_h" = xyes; then :
1081310921 DBM_HEADER='<dbm.h>'
···108251093310826109341082710935pkg_failed=no
1082810828-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
1082910829-$as_echo_n "checking for XORG... " >&6; }
1093610936+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xorg-server" >&5
1093710937+$as_echo_n "checking for xorg-server... " >&6; }
10830109381083110939if test -n "$XORG_CFLAGS"; then
1083210940 pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
···108661097410867109751086810976if test $pkg_failed = yes; then
1086910869- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1097710977+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1087010978$as_echo "no" >&6; }
10871109791087210980if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
···1089311001and XORG_LIBS to avoid the need to call pkg-config.
1089411002See the pkg-config man page for more details." "$LINENO" 5
1089511003elif test $pkg_failed = untried; then
1089610896- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1100411004+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1089711005$as_echo "no" >&6; }
1089811006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1089911007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
···1091911027 ;;
1092011028 ndbm)
1092111029 # Find a dbm or ndbm implementation
1092210922- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbm_open" >&5
1103011030+ if test "x$db_lib" = "xauto"; then :
1103111031+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dbm_open" >&5
1092311032$as_echo_n "checking for library containing dbm_open... " >&6; }
1092411033if ${ac_cv_search_dbm_open+:} false; then :
1092511034 $as_echo_n "(cached) " >&6
···1097311082if test "$ac_res" != no; then :
1097411083 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10975110841097610976-$as_echo "#define NDBM 1" >>confdefs.h
1108511085+else
1108611086+ as_fn_error $? "ndbm requested but dbm_open() not found in any libraries" "$LINENO" 5
1108711087+fi
1108811088+1108911089+else
1109011090+ as_ac_Lib=`$as_echo "ac_cv_lib_$db_lib''_dbm_open" | $as_tr_sh`
1109111091+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -l$db_lib" >&5
1109211092+$as_echo_n "checking for dbm_open in -l$db_lib... " >&6; }
1109311093+if eval \${$as_ac_Lib+:} false; then :
1109411094+ $as_echo_n "(cached) " >&6
1109511095+else
1109611096+ ac_check_lib_save_LIBS=$LIBS
1109711097+LIBS="-l$db_lib $LIBS"
1109811098+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1109911099+/* end confdefs.h. */
1110011100+1110111101+/* Override any GCC internal prototype to avoid an error.
1110211102+ Use char because int might match the return type of a GCC
1110311103+ builtin and then its argument prototype would still apply. */
1110411104+#ifdef __cplusplus
1110511105+extern "C"
1110611106+#endif
1110711107+char dbm_open ();
1110811108+int
1110911109+main ()
1111011110+{
1111111111+return dbm_open ();
1111211112+ ;
1111311113+ return 0;
1111411114+}
1111511115+_ACEOF
1111611116+if ac_fn_c_try_link "$LINENO"; then :
1111711117+ eval "$as_ac_Lib=yes"
1111811118+else
1111911119+ eval "$as_ac_Lib=no"
1112011120+fi
1112111121+rm -f core conftest.err conftest.$ac_objext \
1112211122+ conftest$ac_exeext conftest.$ac_ext
1112311123+LIBS=$ac_check_lib_save_LIBS
1112411124+fi
1112511125+eval ac_res=\$$as_ac_Lib
1112611126+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1112711127+$as_echo "$ac_res" >&6; }
1112811128+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1112911129+ cat >>confdefs.h <<_ACEOF
1113011130+#define `$as_echo "HAVE_LIB$db_lib" | $as_tr_cpp` 1
1113111131+_ACEOF
1113211132+1113311133+ LIBS="-l$db_lib $LIBS"
10977111341097811135else
1097910979- as_fn_error $? "ndbm requested but dbm_open() not found in any libraries" "$LINENO" 5
1113611136+ as_fn_error $? "ndbm requested but dbm_open() not found when linking with -l$db_lib" "$LINENO" 5
1113711137+fi
1113811138+1098011139fi
1114011140+1114111141+$as_echo "#define NDBM 1" >>confdefs.h
10981111421098211143 DBM_HEADER='<ndbm.h>'
10983111441098411145pkg_failed=no
1098510985-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
1098610986-$as_echo_n "checking for XORG... " >&6; }
1114611146+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xorg-server" >&5
1114711147+$as_echo_n "checking for xorg-server... " >&6; }
10987111481098811149if test -n "$XORG_CFLAGS"; then
1098911150 pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
···110231118411024111851102511186if test $pkg_failed = yes; then
1102611026- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1118711187+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1102711188$as_echo "no" >&6; }
11028111891102911190if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
···1105011211and XORG_LIBS to avoid the need to call pkg-config.
1105111212See the pkg-config man page for more details." "$LINENO" 5
1105211213elif test $pkg_failed = untried; then
1105311053- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1121411214+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1105411215$as_echo "no" >&6; }
1105511216 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1105611217$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
···1163411795# report actual input values of CONFIG_FILES etc. instead of their
1163511796# values after options handling.
1163611797ac_log="
1163711637-This file was extended by rgb $as_me 1.0.6, which was
1179811798+This file was extended by rgb $as_me 1.1.0, which was
1163811799generated by GNU Autoconf 2.69. Invocation command line was
11639118001164011801 CONFIG_FILES = $CONFIG_FILES
···1169411855Configuration commands:
1169511856$config_commands
11696118571169711697-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
1185811858+Report bugs to <https://gitlab.freedesktop.org/xorg/app/rgb/-/issues>."
11698118591169911860_ACEOF
1170011861cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1170111862ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1170211863ac_cs_version="\\
1170311703-rgb config.status 1.0.6
1186411864+rgb config.status 1.1.0
1170411865configured by $0, generated by GNU Autoconf 2.69,
1170511866 with options \\"\$ac_cs_config\\"
1170611867
+20-9
app/rgb/configure.ac
···23232424# Initialize Autoconf
2525AC_PREREQ([2.60])
2626-AC_INIT([rgb], [1.0.6],
2727- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [rgb])
2626+AC_INIT([rgb], [1.1.0],
2727+ [https://gitlab.freedesktop.org/xorg/app/rgb/-/issues], [rgb])
2828AC_CONFIG_SRCDIR([Makefile.am])
2929AC_CONFIG_HEADERS([config.h])
3030AC_USE_SYSTEM_EXTENSIONS
31313232# Initialize Automake
3333-AM_INIT_AUTOMAKE([foreign dist-bzip2])
3333+AM_INIT_AUTOMAKE([foreign dist-xz])
34343535# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
3636m4_ifndef([XORG_MACROS_VERSION],
···63636464RGB_DB_TYPE=$db_type
65656666+AC_ARG_WITH([rgb-db-library],
6767+ AS_HELP_STRING([--with-rgb-db-library=<library-name>],
6868+ [rgb database library (default is to search for one)]),
6969+ [db_lib=$withval], [db_lib="auto"])
7070+6671case $db_type in
6772 text)
6873 RGB_DB_FILES=""
···7075 [Define to 1 to use plain text files for rgb database])
7176 ;;
7277 dbm)
7373- AC_SEARCH_LIBS([dbminit], [db dbm nsl], [],
7474- AC_MSG_ERROR([dbm requested but dbminit() not found in any libraries]))
7878+ AS_IF([test "x$db_lib" = "xauto"],
7979+ [AC_SEARCH_LIBS([dbminit], [db dbm nsl], [],
8080+ AC_MSG_ERROR([dbm requested but dbminit() not found in any libraries]))],
8181+ [AC_CHECK_LIB([$db_lib], [dbminit], [],
8282+ AC_MSG_ERROR([dbm requested but dbminit() not found when linking with -l$db_lib]))])
7583 AC_CHECK_HEADER([dbm.h], [DBM_HEADER='<dbm.h>'],
7684 [AC_CHECK_HEADER([rpcsvc/dbm.h], [DBM_HEADER='<rpcsvc/dbm.h>'],
7785 [AC_MSG_ERROR([dbm requested but dbm.h not found])])])
···8189 ;;
8290 ndbm)
8391 # Find a dbm or ndbm implementation
8484- AC_SEARCH_LIBS([dbm_open], [db ndbm dbm],
8585- AC_DEFINE([NDBM], [1],
8686- [Define to 1 if you have ndbm.h interfaces]),
8787- AC_MSG_ERROR([ndbm requested but dbm_open() not found in any libraries]))
9292+ AS_IF([test "x$db_lib" = "xauto"],
9393+ [AC_SEARCH_LIBS([dbm_open], [db ndbm dbm], [],
9494+ AC_MSG_ERROR([ndbm requested but dbm_open() not found in any libraries]))],
9595+ [AC_CHECK_LIB([$db_lib], [dbm_open], [],
9696+ AC_MSG_ERROR([ndbm requested but dbm_open() not found when linking with -l$db_lib]))])
9797+ AC_DEFINE([NDBM], [1],
9898+ [Define to 1 if you have ndbm.h interfaces])
8899 DBM_HEADER='<ndbm.h>'
89100 PKG_CHECK_MODULES(XORG, [xorg-server])
90101 RGB_CFLAGS="$RGB_CFLAGS $XORG_CFLAGS"