Hello community, here is the log from the commit of package xdriinfo for openSUSE:Factory checked in at 2018-03-08 10:58:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdriinfo (Old) and /work/SRC/openSUSE:Factory/.xdriinfo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdriinfo" Thu Mar 8 10:58:32 2018 rev:4 rq:583865 version:1.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/xdriinfo/xdriinfo.changes 2016-07-14 09:44:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xdriinfo.new/xdriinfo.changes 2018-03-08 10:58:35.302974126 +0100 @@ -1,0 +2,9 @@ +Wed Mar 7 11:59:23 UTC 2018 - [email protected] + +- Update to version 1.0.6 + * autogen.sh: use quoted string variables + * Fix xdriinfo not working with glvnd + * autogen: add default patch prefix + * autogen.sh: use exec instead of waiting for configure to finish + +------------------------------------------------------------------- Old: ---- xdriinfo-1.0.5.tar.bz2 xdriinfo-1.0.5.tar.bz2.sig New: ---- xdriinfo-1.0.6.tar.bz2 xdriinfo-1.0.6.tar.bz2.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdriinfo.spec ++++++ --- /var/tmp/diff_new_pack.VPJMuR/_old 2018-03-08 10:58:36.034947668 +0100 +++ /var/tmp/diff_new_pack.VPJMuR/_new 2018-03-08 10:58:36.038947524 +0100 @@ -1,7 +1,7 @@ # # spec file for package xdriinfo # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: xdriinfo -Version: 1.0.5 +Version: 1.0.6 Release: 0 Summary: Query configuration information of DRI drivers License: MIT ++++++ xdriinfo-1.0.5.tar.bz2 -> xdriinfo-1.0.6.tar.bz2 ++++++ ++++ 8897 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xdriinfo-1.0.5/ChangeLog new/xdriinfo-1.0.6/ChangeLog --- old/xdriinfo-1.0.5/ChangeLog 2015-04-17 08:04:30.000000000 +0200 +++ new/xdriinfo-1.0.6/ChangeLog 2018-03-07 08:23:25.000000000 +0100 @@ -1,3 +1,55 @@ +commit 3727e9dd2b964bed15083e79e55051132522a148 +Author: Alan Coopersmith <[email protected]> +Date: Tue Mar 6 23:22:03 2018 -0800 + + xdriinfo 1.0.6 + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 6273d9dacbf165331c21bcda5a8945c8931d87b8 +Author: Hans de Goede <[email protected]> +Date: Mon Mar 13 12:18:53 2017 +0100 + + Fix xdriinfo not working with glvnd + + For glx calls to work on libglvnd as glx provider we must first call + glXGetClientString. This also means that we can no longer take the + shortcut to not open the Display when a driver name is past to options. + + Signed-off-by: Hans de Goede <[email protected]> + +commit 9f0b01c590d1bceb31657edbf52aa94680428038 +Author: Mihail Konev <[email protected]> +Date: Thu Jan 26 14:00:21 2017 +1000 + + autogen: add default patch prefix + + Signed-off-by: Mihail Konev <[email protected]> + +commit 9ff8d18d8a32872a805c50776afc06438c9bfa2a +Author: Emil Velikov <[email protected]> +Date: Mon Mar 9 12:00:52 2015 +0000 + + autogen.sh: use quoted string variables + + Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent + fall-outs, when they contain space. + + Signed-off-by: Emil Velikov <[email protected]> + Reviewed-by: Peter Hutterer <[email protected]> + Signed-off-by: Peter Hutterer <[email protected]> + +commit 63c9e54c080f4546c31014f5dc347000a7114602 +Author: Peter Hutterer <[email protected]> +Date: Tue Jan 24 10:32:07 2017 +1000 + + autogen.sh: use exec instead of waiting for configure to finish + + Syncs the invocation of configure with the one from the server. + + Signed-off-by: Peter Hutterer <[email protected]> + Reviewed-by: Emil Velikov <[email protected]> + commit d3a33f66615cbf727866d3db5cf20475d4bb1f77 Author: Alan Coopersmith <[email protected]> Date: Thu Apr 16 23:04:02 2015 -0700 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xdriinfo-1.0.5/configure.ac new/xdriinfo-1.0.6/configure.ac --- old/xdriinfo-1.0.5/configure.ac 2015-04-17 08:04:09.000000000 +0200 +++ new/xdriinfo-1.0.6/configure.ac 2018-03-07 08:23:16.000000000 +0100 @@ -22,7 +22,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([xdriinfo], [1.0.5], +AC_INIT([xdriinfo], [1.0.6], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xdriinfo]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xdriinfo-1.0.5/xdriinfo.c new/xdriinfo-1.0.6/xdriinfo.c --- old/xdriinfo-1.0.5/xdriinfo.c 2015-04-17 08:04:09.000000000 +0200 +++ new/xdriinfo-1.0.6/xdriinfo.c 2018-03-07 08:23:16.000000000 +0100 @@ -112,23 +112,9 @@ return 1; } } - /* if the argument to the options command is a driver name, we can handle - * it without opening an X connection */ - if (func == OPTIONS && screenNum == -1) { - const char *options = (*GetDriverConfig) (funcArg); - if (!options) { - fprintf (stderr, - "Driver \"%s\" is not installed or does not support configuration.\n", - funcArg); - return 1; - } - printf ("%s", options); - if (isatty (STDOUT_FILENO)) - printf ("\n"); - return 0; - } + /* driver command needs a valid screen number */ - else if (func == DRIVER && screenNum == -1) { + if (func == DRIVER && screenNum == -1) { fprintf (stderr, "Invalid screen number \"%s\".\n", funcArg); return 1; } @@ -146,6 +132,9 @@ return 1; } + /* Call glXGetClientString to load vendor libs on glvnd enabled systems */ + glXGetClientString (dpy, GLX_EXTENSIONS); + switch (func) { case NSCREENS: printf ("%d", nScreens); @@ -165,7 +154,13 @@ break; } case OPTIONS: { - const char *name = (*GetScreenDriver) (dpy, screenNum), *options; + const char *name, *options; + + if (screenNum == -1) { + name = funcArg; + } else { + name = (*GetScreenDriver) (dpy, screenNum); + } if (!name) { fprintf (stderr, "Screen \"%d\" is not direct rendering capable.\n", screenNum);
