···11+commit 149e46f06a661bd51f3a247dd41a49b553fdca65
22+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
33+Date: Mon Dec 19 18:33:43 2022 -0800
44+55+ xdriiinfo 1.0.7
66+77+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
88+99+commit c311687d90564f670e1ec943371c5cab4711f3e3
1010+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1111+Date: Thu Dec 8 14:47:33 2022 -0800
1212+1313+ Ensure screenNum is always initialized
1414+1515+ Clears this warning from clang, even though it seems like a
1616+ false positive, as all the uses are behind the same conditions:
1717+1818+ xdriinfo.c:117:27: warning: variable 'screenNum' may be uninitialized
1919+ when used here [-Wconditional-uninitialized]
2020+ if (func == DRIVER && screenNum == -1) {
2121+ ^~~~~~~~~
2222+ xdriinfo.c:61:28: note: initialize the variable 'screenNum' to silence
2323+ this warning
2424+ int nScreens, screenNum;
2525+2626+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2727+2828+commit a318124b38bbfac36f6bfe537839b0d3a9065b94
2929+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3030+Date: Thu Dec 8 14:45:02 2022 -0800
3131+3232+ Variable scope reduction
3333+3434+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3535+3636+commit 710f7c9e9fad765bfe4c31071a82460c473abee7
3737+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3838+Date: Thu Jul 28 17:30:21 2022 -0700
3939+4040+ gitlab CI: stop requiring Signed-off-by in commits
4141+4242+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
4343+4444+commit 8567c4d6f5c7663cde7b7c0f0c6d7f5ded175e18
4545+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
4646+Date: Sat Dec 4 12:01:08 2021 -0800
4747+4848+ Build xz tarballs instead of bzip2
4949+5050+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5151+5252+commit 4b1b5e4e826d739f203ab899af965f0557b10e0f
5353+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
5454+Date: Sat Dec 4 12:01:05 2021 -0800
5555+5656+ gitlab CI: add a basic build test
5757+5858+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5959+6060+commit 8346a277d26d8b476709aa740cb1aaaa2824bb76
6161+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
6262+Date: Wed Nov 21 17:02:07 2018 -0800
6363+6464+ Update configure.ac bug URL for gitlab migration
6565+6666+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6767+6868+commit 8f0c54ec113bb7502fa75d2057224f9c98d9cdf1
6969+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
7070+Date: Fri Nov 16 21:36:46 2018 -0800
7171+7272+ Update README for gitlab migration
7373+7474+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7575+176commit 3727e9dd2b964bed15083e79e55051132522a148
277Author: Alan Coopersmith <alan.coopersmith@oracle.com>
378Date: Tue Mar 6 23:22:03 2018 -0800
···11-xdriinfo - query configuration information of X11 DRI drivers
22-33-More information about the Direct Rendering Infrastructure project
44-can be found at:
55- http://dri.freedesktop.org/
66-77-All questions regarding this software should be directed at the
88-Xorg mailing list:
99-1010- http://lists.freedesktop.org/mailman/listinfo/xorg
1111-1212-Please submit bug reports to the Xorg bugzilla:
1313-1414- https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
1515-1616-The master development code repository can be found at:
1717-1818- git://anongit.freedesktop.org/git/xorg/app/xdriinfo
1919-2020- http://cgit.freedesktop.org/xorg/app/xdriinfo
2121-2222-For patch submission instructions, see:
2323-2424- http://www.x.org/wiki/Development/Documentation/SubmittingPatches
2525-2626-For more information on the git code manager, see:
2727-2828- http://wiki.x.org/wiki/GitPage
2929-
+22
app/xdriinfo/README.md
···11+xdriinfo - query configuration information of X11 DRI drivers
22+-------------------------------------------------------------
33+44+More information about the Direct Rendering Infrastructure project
55+can be found at:
66+ https://dri.freedesktop.org/
77+88+All questions regarding this software should be directed at the
99+Xorg mailing list:
1010+1111+ https://lists.x.org/mailman/listinfo/xorg
1212+1313+The master development code repository can be found at:
1414+1515+ https://gitlab.freedesktop.org/xorg/app/xdriinfo
1616+1717+Please submit bug reports and requests to merge patches there.
1818+1919+For patch submission instructions, see:
2020+2121+ https://www.x.org/wiki/Development/Documentation/SubmittingPatches
2222+
···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-2014 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:
+154-22
app/xdriinfo/configure
···11#! /bin/sh
22# Guess values for system-dependent variables and create Makefiles.
33-# Generated by GNU Autoconf 2.69 for xdriinfo 1.0.6.
33+# Generated by GNU Autoconf 2.69 for xdriinfo 1.0.7.
44#
55-# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
55+# Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdriinfo/-/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/xdriinfo/-/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='xdriinfo'
583583PACKAGE_TARNAME='xdriinfo'
584584-PACKAGE_VERSION='1.0.6'
585585-PACKAGE_STRING='xdriinfo 1.0.6'
586586-PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
584584+PACKAGE_VERSION='1.0.7'
585585+PACKAGE_STRING='xdriinfo 1.0.7'
586586+PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xdriinfo/-/issues'
587587PACKAGE_URL=''
588588589589ac_unique_file="Makefile.am"
···729729docdir
730730oldincludedir
731731includedir
732732+runstatedir
732733localstatedir
733734sharedstatedir
734735sysconfdir
···809810sysconfdir='${prefix}/etc'
810811sharedstatedir='${prefix}/com'
811812localstatedir='${prefix}/var'
813813+runstatedir='${localstatedir}/run'
812814includedir='${prefix}/include'
813815oldincludedir='/usr/include'
814816docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
···10611063 | -silent | --silent | --silen | --sile | --sil)
10621064 silent=yes ;;
1063106510661066+ -runstatedir | --runstatedir | --runstatedi | --runstated \
10671067+ | --runstate | --runstat | --runsta | --runst | --runs \
10681068+ | --run | --ru | --r)
10691069+ ac_prev=runstatedir ;;
10701070+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
10711071+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
10721072+ | --run=* | --ru=* | --r=*)
10731073+ runstatedir=$ac_optarg ;;
10741074+10641075 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
10651076 ac_prev=sbindir ;;
10661077 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
···11981209for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11991210 datadir sysconfdir sharedstatedir localstatedir includedir \
12001211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12011201- libdir localedir mandir
12121212+ libdir localedir mandir runstatedir
12021213do
12031214 eval ac_val=\$$ac_var
12041215 # Remove trailing slashes.
···13111322 # Omit some internal or obsolete options to make the list less imposing.
13121323 # This message is too long to be a string in the A/UX 3.1 sh.
13131324 cat <<_ACEOF
13141314-\`configure' configures xdriinfo 1.0.6 to adapt to many kinds of systems.
13251325+\`configure' configures xdriinfo 1.0.7 to adapt to many kinds of systems.
1315132613161327Usage: $0 [OPTION]... [VAR=VALUE]...
13171328···13511362 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
13521363 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
13531364 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
13651365+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
13541366 --libdir=DIR object code libraries [EPREFIX/lib]
13551367 --includedir=DIR C header files [PREFIX/include]
13561368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
···1381139313821394if test -n "$ac_init_help"; then
13831395 case $ac_init_help in
13841384- short | recursive ) echo "Configuration of xdriinfo 1.0.6:";;
13961396+ short | recursive ) echo "Configuration of xdriinfo 1.0.7:";;
13851397 esac
13861398 cat <<\_ACEOF
13871399···14271439Use these variables to override the choices made by `configure' or to help
14281440it to find libraries and programs with nonstandard names/locations.
1429144114301430-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
14421442+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdriinfo/-/issues>.
14311443_ACEOF
14321444ac_status=$?
14331445fi
···14901502test -n "$ac_init_help" && exit $ac_status
14911503if $ac_init_version; then
14921504 cat <<\_ACEOF
14931493-xdriinfo configure 1.0.6
15051505+xdriinfo configure 1.0.7
14941506generated by GNU Autoconf 2.69
1495150714961508Copyright (C) 2012 Free Software Foundation, Inc.
···17471759This file contains any messages produced by compilers while
17481760running configure, to aid debugging if configure makes a mistake.
1749176117501750-It was created by xdriinfo $as_me 1.0.6, which was
17621762+It was created by xdriinfo $as_me 1.0.7, which was
17511763generated by GNU Autoconf 2.69. Invocation command line was
1752176417531765 $ $0 $@
···2576258825772589# Define the identity of the package.
25782590 PACKAGE='xdriinfo'
25792579- VERSION='1.0.6'
25912591+ VERSION='1.0.7'
258025922581259325822594cat >>confdefs.h <<_ACEOF
···63976409 fi
639864106399641164006400-# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls])
64126412+64136413+64146414+64156415+64166416+64176417+64186418+64196419+64206420+64216421+64226422+64236423+64246424+64256425+xorg_testset_save_CFLAGS="$CFLAGS"
64266426+64276427+if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
64286428+ CFLAGS="$CFLAGS -Werror=unknown-warning-option"
64296429+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
64306430+$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
64316431+if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
64326432+ $as_echo_n "(cached) " >&6
64336433+else
64346434+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64356435+/* end confdefs.h. */
64366436+int i;
64376437+_ACEOF
64386438+if ac_fn_c_try_compile "$LINENO"; then :
64396439+ xorg_cv_cc_flag_unknown_warning_option=yes
64406440+else
64416441+ xorg_cv_cc_flag_unknown_warning_option=no
64426442+fi
64436443+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64446444+fi
64456445+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
64466446+$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
64476447+ xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
64486448+ CFLAGS="$xorg_testset_save_CFLAGS"
64496449+fi
64506450+64516451+if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
64526452+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
64536453+ CFLAGS="$CFLAGS -Werror=unknown-warning-option"
64546454+ fi
64556455+ CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
64566456+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
64576457+$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
64586458+if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
64596459+ $as_echo_n "(cached) " >&6
64606460+else
64616461+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64626462+/* end confdefs.h. */
64636463+int i;
64646464+_ACEOF
64656465+if ac_fn_c_try_compile "$LINENO"; then :
64666466+ xorg_cv_cc_flag_unused_command_line_argument=yes
64676467+else
64686468+ xorg_cv_cc_flag_unused_command_line_argument=no
64696469+fi
64706470+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64716471+fi
64726472+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
64736473+$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
64746474+ xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
64756475+ CFLAGS="$xorg_testset_save_CFLAGS"
64766476+fi
64776477+64786478+found="no"
64796479+64806480+ if test $found = "no" ; then
64816481+ if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
64826482+ CFLAGS="$CFLAGS -Werror=unknown-warning-option"
64836483+ fi
64846484+64856485+ if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
64866486+ CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
64876487+ fi
64886488+64896489+ CFLAGS="$CFLAGS -Wredundant-decls"
64906490+64916491+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
64926492+$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
64936493+ cacheid=xorg_cv_cc_flag__Wredundant_decls
64946494+ if eval \${$cacheid+:} false; then :
64956495+ $as_echo_n "(cached) " >&6
64966496+else
64976497+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64986498+/* end confdefs.h. */
64996499+int i;
65006500+int
65016501+main ()
65026502+{
65036503+65046504+ ;
65056505+ return 0;
65066506+}
65076507+_ACEOF
65086508+if ac_fn_c_try_link "$LINENO"; then :
65096509+ eval $cacheid=yes
65106510+else
65116511+ eval $cacheid=no
65126512+fi
65136513+rm -f core conftest.err conftest.$ac_objext \
65146514+ conftest$ac_exeext conftest.$ac_ext
65156515+fi
65166516+65176517+65186518+ CFLAGS="$xorg_testset_save_CFLAGS"
65196519+65206520+ eval supported=\$$cacheid
65216521+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
65226522+$as_echo "$supported" >&6; }
65236523+ if test "$supported" = "yes" ; then
65246524+ BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
65256525+ found="yes"
65266526+ fi
65276527+ fi
65286528+65296529+640165306402653164036532···65246653# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
65256654# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
6526665565276527-# Turn some warnings into errors, so we don't accidently get successful builds
66566656+# Turn some warnings into errors, so we don't accidentally get successful builds
65286657# when there are problems that should be fixed.
6529665865306659if test "x$SELECTIVE_WERROR" = "xyes" ; then
···1019610325101971032610198103271032810328+1032910329+1019910330cat >>confdefs.h <<_ACEOF
1020010331#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
1020110332_ACEOF
···1039810529103991053010400105311053210532+1040110533# Checks for pkg-config packages
10402105341040310535pkg_failed=no
1040410404-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDRIINFO" >&5
1040510405-$as_echo_n "checking for XDRIINFO... " >&6; }
1053610536+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xext x11 glproto" >&5
1053710537+$as_echo_n "checking for xext x11 glproto... " >&6; }
10406105381040710539if test -n "$XDRIINFO_CFLAGS"; then
1040810540 pkg_cv_XDRIINFO_CFLAGS="$XDRIINFO_CFLAGS"
···104421057410443105751044410576if test $pkg_failed = yes; then
1044510445- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1057710577+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1044610578$as_echo "no" >&6; }
10447105791044810580if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
···1046910601and XDRIINFO_LIBS to avoid the need to call pkg-config.
1047010602See the pkg-config man page for more details." "$LINENO" 5
1047110603elif test $pkg_failed = untried; then
1047210472- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1060410604+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1047310605$as_echo "no" >&6; }
1047410606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1047510607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
···1109011222# report actual input values of CONFIG_FILES etc. instead of their
1109111223# values after options handling.
1109211224ac_log="
1109311093-This file was extended by xdriinfo $as_me 1.0.6, which was
1122511225+This file was extended by xdriinfo $as_me 1.0.7, which was
1109411226generated by GNU Autoconf 2.69. Invocation command line was
11095112271109611228 CONFIG_FILES = $CONFIG_FILES
···1115011282Configuration commands:
1115111283$config_commands
11152112841115311153-Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
1128511285+Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdriinfo/-/issues>."
11154112861115511287_ACEOF
1115611288cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1115711289ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1115811290ac_cs_version="\\
1115911159-xdriinfo config.status 1.0.6
1129111291+xdriinfo config.status 1.0.7
1116011292configured by $0, generated by GNU Autoconf 2.69,
1116111293 with options \\"\$ac_cs_config\\"
1116211294
+3-3
app/xdriinfo/configure.ac
···22222323# Initialize Autoconf
2424AC_PREREQ([2.60])
2525-AC_INIT([xdriinfo], [1.0.6],
2626- [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xdriinfo])
2525+AC_INIT([xdriinfo], [1.0.7],
2626+ [https://gitlab.freedesktop.org/xorg/app/xdriinfo/-/issues], [xdriinfo])
2727AC_CONFIG_SRCDIR([Makefile.am])
2828AC_CONFIG_HEADERS([config.h])
29293030# Initialize Automake
3131-AM_INIT_AUTOMAKE([foreign dist-bzip2])
3131+AM_INIT_AUTOMAKE([foreign dist-xz])
32323333# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
3434m4_ifndef([XORG_MACROS_VERSION],