Hello community,

here is the log from the commit of package xvinfo for openSUSE:Factory checked 
in at 2019-02-24 17:18:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xvinfo (Old)
 and      /work/SRC/openSUSE:Factory/.xvinfo.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xvinfo"

Sun Feb 24 17:18:22 2019 rev:9 rq:677970 version:1.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/xvinfo/xvinfo.changes    2015-05-05 
00:56:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xvinfo.new.28833/xvinfo.changes 2019-02-24 
17:18:22.828418701 +0100
@@ -1,0 +2,7 @@
+Thu Feb 21 11:22:29 UTC 2019 - [email protected]
+
+- Update to version 1.1.4
+  * This release delivers some small bug fixes and janitorial
+    cleanups.
+
+-------------------------------------------------------------------

Old:
----
  xvinfo-1.1.3.tar.bz2

New:
----
  xvinfo-1.1.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xvinfo.spec ++++++
--- /var/tmp/diff_new_pack.JnMwi3/_old  2019-02-24 17:18:23.260418624 +0100
+++ /var/tmp/diff_new_pack.JnMwi3/_new  2019-02-24 17:18:23.264418624 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xvinfo
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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:           xvinfo
-Version:        1.1.3
+Version:        1.1.4
 Release:        0
 Summary:        Utility to print X-Video extension adaptor information
 License:        X11
@@ -48,7 +48,7 @@
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog COPYING README
+%doc ChangeLog COPYING README.md
 %{_bindir}/xvinfo
 %{_mandir}/man1/xvinfo.1%{?ext_man}
 

++++++ xvinfo-1.1.3.tar.bz2 -> xvinfo-1.1.4.tar.bz2 ++++++
++++ 5639 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/xvinfo-1.1.3/ChangeLog new/xvinfo-1.1.4/ChangeLog
--- old/xvinfo-1.1.3/ChangeLog  2015-05-01 08:05:41.000000000 +0200
+++ new/xvinfo-1.1.4/ChangeLog  2019-02-20 01:19:35.000000000 +0100
@@ -1,3 +1,113 @@
+commit bb4630116ae96299b10fae177c6d048cf7173a28
+Author: Alan Coopersmith <[email protected]>
+Date:   Tue Feb 19 16:18:41 2019 -0800
+
+    xvinfo 1.1.4
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit f973457fb7dffef4c414975f55fccf50b14b3eba
+Author: Alan Coopersmith <[email protected]>
+Date:   Wed Nov 21 17:21:15 2018 -0800
+
+    Update configure.ac bug URL for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 0dd41d38e6dfd4513ed31a19dae704068d366d49
+Author: Alan Coopersmith <[email protected]>
+Date:   Fri Nov 16 23:30:34 2018 -0800
+
+    Update README for gitlab migration
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit 95b2d71016bc10f1419e3b49852e8bccb3194c1d
+Author: Alan Coopersmith <[email protected]>
+Date:   Sat Sep 22 13:57:30 2018 -0700
+
+    Fix sign mismatch warnings for loop index comparisons
+    
+    xvinfo.c: In function ‘main’:
+    xvinfo.c:99:23: warning: comparison between signed and unsigned integer
+     expressions [-Wsign-compare]
+             for (j = 0; j < nadaptors; j++) {
+                           ^
+    xvinfo.c:129:31: warning: comparison between signed and unsigned integer
+     expressions [-Wsign-compare]
+                     for (k = 0; k < ainfo[j].num_formats; k++, format++) {
+                                   ^
+    xvinfo.c:198:31: warning: comparison between signed and unsigned integer
+     expressions [-Wsign-compare]
+                     for (n = 0; n < nencode; n++) {
+                                   ^
+    xvinfo.c:207:35: warning: comparison between signed and unsigned integer
+     expressions [-Wsign-compare]
+                         for (n = 0; n < nencode; n++) {
+                                       ^
+    xvinfo.c:222:35: warning: comparison between signed and unsigned integer
+     expressions [-Wsign-compare]
+                         for (n = 0; n < nencode; n++) {
+                                       ^
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit efd68bc7bf95959652619763bb5d37428546000d
+Author: Alan Coopersmith <[email protected]>
+Date:   Sat Sep 22 13:35:54 2018 -0700
+
+    Make xvinfo not exit with error in normal operation
+    
+    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74227
+    aka https://gitlab.freedesktop.org/xorg/app/xvinfo/issues/1
+    
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit b086401357cfdf02cbd52d29dcd604f6cabaa1d8
+Author: Tobias Stoeckmann <[email protected]>
+Date:   Mon Jul 18 23:10:33 2016 +0200
+
+    Properly handle failures of Xv query functions.
+    
+    If one of the query functions fail, xvinfo does not properly handle
+    these cases and will most likely run into a segmentation fault due
+    to accessing uninitialized variables (which includes pointers).
+    
+    Signed-off-by: Tobias Stoeckmann <[email protected]>
+    Signed-off-by: Alan Coopersmith <[email protected]>
+
+commit b792adfce0127237739b906ddb28a246d23c81ae
+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 c67a7cef0e1ebeebe86dbb49e231194c5d3cf1b3
+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 a22f41101698c87affe7f153968294ddde5fd637
+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 ec76226d2986b1a77c9c021bb9b41e59bd839ed4
 Author: Alan Coopersmith <[email protected]>
 Date:   Thu Apr 30 23:03:01 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/xvinfo-1.1.3/Makefile.am new/xvinfo-1.1.4/Makefile.am
--- old/xvinfo-1.1.3/Makefile.am        2015-05-01 08:03:10.000000000 +0200
+++ new/xvinfo-1.1.4/Makefile.am        2019-02-20 01:19:25.000000000 +0100
@@ -40,4 +40,4 @@
 
 dist-hook: ChangeLog INSTALL
 
-
+EXTRA_DIST = README.md
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/xvinfo-1.1.3/README new/xvinfo-1.1.4/README
--- old/xvinfo-1.1.3/README     2015-05-01 08:03:10.000000000 +0200
+++ new/xvinfo-1.1.4/README     1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-xvinfo prints out the capabilities of any video adaptors associated
-with the display that are accessible through the X-Video extension.
-
-All questions regarding this software should be directed at the
-Xorg mailing list:
-
-        http://lists.freedesktop.org/mailman/listinfo/xorg
-
-Please submit bug reports to the Xorg bugzilla:
-
-        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
-
-The master development code repository can be found at:
-
-        git://anongit.freedesktop.org/git/xorg/app/xvinfo
-
-        http://cgit.freedesktop.org/xorg/app/xvinfo
-
-For patch submission instructions, see:
-
-       http://www.x.org/wiki/Development/Documentation/SubmittingPatches
-
-For more information on the git code manager, see:
-
-        http://wiki.x.org/wiki/GitPage
-
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/xvinfo-1.1.3/README.md new/xvinfo-1.1.4/README.md
--- old/xvinfo-1.1.3/README.md  1970-01-01 01:00:00.000000000 +0100
+++ new/xvinfo-1.1.4/README.md  2019-02-20 01:19:25.000000000 +0100
@@ -0,0 +1,18 @@
+xvinfo prints out the capabilities of any video adaptors associated
+with the display that are accessible through the X-Video extension.
+
+All questions regarding this software should be directed at the
+Xorg mailing list:
+
+  https://lists.x.org/mailman/listinfo/xorg
+
+The master development code repository can be found at:
+
+  https://gitlab.freedesktop.org/xorg/app/xvinfo
+
+Please submit bug reports and requests to merge patches there.
+
+For patch submission instructions, see:
+
+  https://www.x.org/wiki/Development/Documentation/SubmittingPatches
+
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/xvinfo-1.1.3/configure.ac new/xvinfo-1.1.4/configure.ac
--- old/xvinfo-1.1.3/configure.ac       2015-05-01 08:03:10.000000000 +0200
+++ new/xvinfo-1.1.4/configure.ac       2019-02-20 01:19:25.000000000 +0100
@@ -23,8 +23,8 @@
 
 # Initialize Autoconf
 AC_PREREQ([2.60])
-AC_INIT([xvinfo], [1.1.3],
-        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xvinfo])
+AC_INIT([xvinfo], [1.1.4],
+        [https://gitlab.freedesktop.org/xorg/app/xvinfo/issues], [xvinfo])
 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/xvinfo-1.1.3/xvinfo.c new/xvinfo-1.1.4/xvinfo.c
--- old/xvinfo-1.1.3/xvinfo.c   2015-05-01 08:03:10.000000000 +0200
+++ new/xvinfo-1.1.4/xvinfo.c   2019-02-20 01:19:25.000000000 +0100
@@ -25,7 +25,6 @@
 {
     Display *dpy;
     unsigned int ver, rev, eventB, reqB, errorB;
-    int i, j, k, n;
     unsigned int nencode, nadaptors;
     int nscreens, nattr, numImages;
     XvAdaptorInfo *ainfo;
@@ -42,7 +41,7 @@
         PrintUsage();
 
     if (argc != 1) {
-        for (i = 1; i < argc; i++) {
+        for (int i = 1; i < argc; i++) {
             if (!strcmp(argv[i], "-display")) {
                 if (++i >= argc) {
                     fprintf (stderr, "%s: missing argument to -display\n",
@@ -71,7 +70,7 @@
         exit(-1);
     }
 
-    if ((Success != XvQueryExtension(dpy, &ver, &rev, &reqB, &eventB, 
&errorB))) {
+    if (Success != XvQueryExtension(dpy, &ver, &rev, &reqB, &eventB, &errorB)) 
{
         fprintf(stderr, "%s: No X-Video Extension on %s\n", progname,
                 (disname != NULL) ? disname : XDisplayName(NULL));
         exit(0);
@@ -82,16 +81,21 @@
 
     nscreens = ScreenCount(dpy);
 
-    for (i = 0; i < nscreens; i++) {
+    for (int i = 0; i < nscreens; i++) {
         fprintf(stdout, "screen #%i\n", i);
-        XvQueryAdaptors(dpy, RootWindow(dpy, i), &nadaptors, &ainfo);
+        if (Success != XvQueryAdaptors(dpy, RootWindow(dpy, i), &nadaptors,
+                                       &ainfo)) {
+            fprintf(stderr, "%s:  Failed to query adaptors on display %s\n",
+                    progname, (disname != NULL) ? disname : 
XDisplayName(NULL));
+            exit(-1);
+        }
 
         if (!nadaptors) {
             fprintf(stdout, " no adaptors present\n");
             continue;
         }
 
-        for (j = 0; j < nadaptors; j++) {
+        for (unsigned int j = 0; j < nadaptors; j++) {
             fprintf(stdout, "  Adaptor #%i: \"%s\"\n", j, ainfo[j].name);
             fprintf(stdout, "    number of ports: %li\n", ainfo[j].num_ports);
             fprintf(stdout, "    port base: %li\n", ainfo[j].base_id);
@@ -121,7 +125,7 @@
 
             if (!shortmode) {
                 fprintf(stdout, "    supported visuals:\n");
-                for (k = 0; k < ainfo[j].num_formats; k++, format++) {
+                for (unsigned long k = 0; k < ainfo[j].num_formats; k++, 
format++) {
                     fprintf(stdout, "      depth %i, visualID 0x%2lx\n",
                             format->depth, format->visual_id);
                 }
@@ -132,7 +136,7 @@
             if (attributes && nattr) {
                 fprintf(stdout, "    number of attributes: %i\n", nattr);
 
-                for (k = 0; k < nattr; k++) {
+                for (int k = 0; k < nattr; k++) {
                     fprintf(stdout, "      \"%s\" (range %i to %i)\n",
                             attributes[k].name,
                             attributes[k].min_value, attributes[k].max_value);
@@ -178,12 +182,19 @@
                 fprintf(stdout, "    no port attributes defined\n");
             }
 
-            XvQueryEncodings(dpy, ainfo[j].base_id, &nencode, &encodings);
+            if (Success != XvQueryEncodings(dpy, ainfo[j].base_id, &nencode,
+                                            &encodings)) {
+                fprintf(stderr,
+                        "%s:  Failed to query encodings on display %s\n",
+                        progname,
+                        (disname != NULL) ? disname : XDisplayName(NULL));
+                exit(-1);
+            }
 
             if (encodings && nencode) {
                 unsigned int ImageEncodings = 0;
 
-                for (n = 0; n < nencode; n++) {
+                for (unsigned int n = 0; n < nencode; n++) {
                     if (!strcmp(encodings[n].name, "XV_IMAGE"))
                         ImageEncodings++;
                 }
@@ -192,7 +203,7 @@
                     fprintf(stdout, "    number of encodings: %i\n",
                             nencode - ImageEncodings);
 
-                    for (n = 0; n < nencode; n++) {
+                    for (unsigned int n = 0; n < nencode; n++) {
                         if (strcmp(encodings[n].name, "XV_IMAGE")) {
                             fprintf(stdout, "      encoding ID #%li: \"%s\"\n",
                                     encodings[n].encoding_id,
@@ -207,7 +218,7 @@
                 }
 
                 if (ImageEncodings && (ainfo[j].type & XvImageMask)) {
-                    for (n = 0; n < nencode; n++) {
+                    for (unsigned int n = 0; n < nencode; n++) {
                         if (!strcmp(encodings[n].name, "XV_IMAGE")) {
                             fprintf(stdout,
                                     "    maximum XvImage size: %li x %li\n",
@@ -222,7 +233,7 @@
                     fprintf(stdout, "    Number of image formats: %i\n",
                             numImages);
 
-                    for (n = 0; n < numImages; n++) {
+                    for (int n = 0; n < numImages; n++) {
                         char imageName[5];
 
                         snprintf(imageName, sizeof(imageName), "%c%c%c%c",
@@ -310,5 +321,5 @@
 
         XvFreeAdaptorInfo(ainfo);
     }
-    return 1;
+    return 0;
 }


Reply via email to