Hello community,

here is the log from the commit of package libva-utils for openSUSE:Factory 
checked in at 2020-08-24 15:05:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libva-utils (Old)
 and      /work/SRC/openSUSE:Factory/.libva-utils.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libva-utils"

Mon Aug 24 15:05:44 2020 rev:11 rq:828745 version:2.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libva-utils/libva-utils.changes  2020-04-11 
23:46:29.091086362 +0200
+++ /work/SRC/openSUSE:Factory/.libva-utils.new.3399/libva-utils.changes        
2020-08-24 15:05:51.506474639 +0200
@@ -1,0 +2,7 @@
+Sat Aug 15 22:30:56 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 2.8.0:
+  * test: cast VA_STATUS_ERROR_UNKNOWN to VAStatus type
+  * test/fixture: fix GCC 10.0.1 error with drmDevicePaths
+
+-------------------------------------------------------------------

Old:
----
  libva-utils-2.7.1.tar.gz

New:
----
  libva-utils-2.8.0.tar.gz

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

Other differences:
------------------
++++++ libva-utils.spec ++++++
--- /var/tmp/diff_new_pack.vNh7Km/_old  2020-08-24 15:05:52.342475046 +0200
+++ /var/tmp/diff_new_pack.vNh7Km/_new  2020-08-24 15:05:52.346475048 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libva-utils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:           libva-utils
-Version:        2.7.1
+Version:        2.8.0
 Release:        0
 Summary:        A collection of utilities and examples to exercise VA-API
 License:        MIT AND EPL-1.0
 Group:          Development/Tools/Other
-Url:            https://github.com/intel/libva-utils
+URL:            https://github.com/intel/libva-utils
 Source0:        %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 
 BuildRequires:  gcc-c++

++++++ libva-utils-2.7.1.tar.gz -> libva-utils-2.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libva-utils-2.7.1/NEWS new/libva-utils-2.8.0/NEWS
--- old/libva-utils-2.7.1/NEWS  2020-04-02 00:21:53.000000000 +0200
+++ new/libva-utils-2.8.0/NEWS  2020-06-26 01:50:07.000000000 +0200
@@ -1,6 +1,10 @@
-libva-utils NEWS -- summary of changes.  2020-04-01
+libva-utils NEWS -- summary of changes.  2020-06-26
 Copyright (C) 2009-2020 Intel Corporation
 
+Version 2.8.0 - 26.Jun.2020
+* test: cast VA_STATUS_ERROR_UNKNOWN to VAStatus type
+* test/fixture: fix GCC 10.0.1 error with drmDevicePaths
+
 Version 2.7.0 - 1.Apr.2020
 * meson: add missing samples
 * sfcsample: drop unused Linux-only header
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libva-utils-2.7.1/configure.ac 
new/libva-utils-2.8.0/configure.ac
--- old/libva-utils-2.7.1/configure.ac  2020-04-02 00:21:53.000000000 +0200
+++ new/libva-utils-2.8.0/configure.ac  2020-06-26 01:50:07.000000000 +0200
@@ -29,8 +29,8 @@
 # - micro version is libva_micro_version
 # - pre version is libva_pre_version, usually development version
 m4_define([libva_utils_major_version], [2])
-m4_define([libva_utils_minor_version], [7])
-m4_define([libva_utils_micro_version], [1])
+m4_define([libva_utils_minor_version], [8])
+m4_define([libva_utils_micro_version], [0])
 m4_define([libva_utils_pre_version],   [0])
 
 m4_define([libva_utils_version],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libva-utils-2.7.1/meson.build 
new/libva-utils-2.8.0/meson.build
--- old/libva-utils-2.7.1/meson.build   2020-04-02 00:21:53.000000000 +0200
+++ new/libva-utils-2.8.0/meson.build   2020-06-26 01:50:07.000000000 +0200
@@ -1,5 +1,5 @@
 project('libva-utils', 'c', 'cpp',
-        version : '2.7.1',
+        version : '2.8.0',
         default_options : [
           'warning_level=2',
           'c_std=gnu99',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libva-utils-2.7.1/test/test.h 
new/libva-utils-2.8.0/test/test.h
--- old/libva-utils-2.7.1/test/test.h   2020-04-02 00:21:53.000000000 +0200
+++ new/libva-utils-2.8.0/test/test.h   2020-06-26 01:50:07.000000000 +0200
@@ -142,7 +142,7 @@
             status = "VA_STATUS_ERROR_HW_BUSY"; break;
         case VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE:
             status = "VA_STATUS_ERROR_UNSUPPORTED_MEMORY_TYPE"; break;
-        case VA_STATUS_ERROR_UNKNOWN:
+        case VAStatus(VA_STATUS_ERROR_UNKNOWN):
             status = "VA_STATUS_ERROR_UNKNOWN"; break;
         default:
             status = "Unknown VAStatus";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libva-utils-2.7.1/test/test_va_api_fixture.cpp 
new/libva-utils-2.8.0/test/test_va_api_fixture.cpp
--- old/libva-utils-2.7.1/test/test_va_api_fixture.cpp  2020-04-02 
00:21:53.000000000 +0200
+++ new/libva-utils-2.8.0/test/test_va_api_fixture.cpp  2020-06-26 
01:50:07.000000000 +0200
@@ -39,7 +39,6 @@
     , m_vaDisplay(NULL)
     , m_restoreDriverName(getenv("LIBVA_DRIVER_NAME"))
     , m_drmHandle(-1)
-    , drmDevicePaths({ "/dev/dri/renderD128", "/dev/dri/card0" })
     , m_configID(VA_INVALID_ID)
     , m_contextID(VA_INVALID_ID)
     , m_bufferID(VA_INVALID_ID)
@@ -73,10 +72,14 @@
 
 VADisplay VAAPIFixture::getDisplay()
 {
-    uint32_t i;
+    typedef std::vector<std::string> DevicePaths;
+    typedef DevicePaths::const_iterator DevicePathsIterator;
 
-    for (i = 0; i < sizeof(drmDevicePaths) / sizeof(*drmDevicePaths); i++) {
-        m_drmHandle = open(drmDevicePaths[i].c_str(), O_RDWR);
+    static DevicePaths paths({"/dev/dri/renderD128", "/dev/dri/card0"});
+
+    const DevicePathsIterator endIt(paths.end());
+    for (DevicePathsIterator it(paths.begin()); it != endIt; ++it) {
+        m_drmHandle = open(it->c_str(), O_RDWR);
         if (m_drmHandle < 0)
             continue;
         m_vaDisplay = vaGetDisplayDRM(m_drmHandle);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libva-utils-2.7.1/test/test_va_api_fixture.h 
new/libva-utils-2.8.0/test/test_va_api_fixture.h
--- old/libva-utils-2.7.1/test/test_va_api_fixture.h    2020-04-02 
00:21:53.000000000 +0200
+++ new/libva-utils-2.8.0/test/test_va_api_fixture.h    2020-06-26 
01:50:07.000000000 +0200
@@ -102,7 +102,6 @@
 private:
     char *m_restoreDriverName;
     int m_drmHandle;
-    const std::string drmDevicePaths[2];
 
     VAConfigID m_configID;
     VAContextID m_contextID;


Reply via email to