Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hwinfo for openSUSE:Factory checked 
in at 2021-11-13 22:48:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hwinfo (Old)
 and      /work/SRC/openSUSE:Factory/.hwinfo.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hwinfo"

Sat Nov 13 22:48:15 2021 rev:182 rq:930959 version:21.78

Changes:
--------
--- /work/SRC/openSUSE:Factory/hwinfo/hwinfo.changes    2021-10-11 
15:31:06.170795485 +0200
+++ /work/SRC/openSUSE:Factory/.hwinfo.new.1890/hwinfo.changes  2021-11-13 
22:48:28.581247677 +0100
@@ -1,0 +2,11 @@
+Thu Nov 11 17:14:55 UTC 2021 - wfe...@opensuse.org
+
+- merge gh#openSUSE/hwinfo#106
+- Always read numerical 32bit serial number from EDID header.
+  Override this with ASCII serial number from display descriptor,
+  if available.
+- Display numerical 32bit serial number for monitors without serial
+  number display descriptor
+- 21.78
+
+--------------------------------------------------------------------

Old:
----
  hwinfo-21.77.tar.xz

New:
----
  hwinfo-21.78.tar.xz

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

Other differences:
------------------
++++++ hwinfo.spec ++++++
--- /var/tmp/diff_new_pack.7GxWA5/_old  2021-11-13 22:48:29.113248085 +0100
+++ /var/tmp/diff_new_pack.7GxWA5/_new  2021-11-13 22:48:29.113248085 +0100
@@ -37,7 +37,7 @@
 License:        GPL-2.0-or-later
 Group:          Hardware/Other
 Url:            http://gitorious.org/opensuse/hwinfo
-Version:        21.77
+Version:        21.78
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ hwinfo-21.77.tar.xz -> hwinfo-21.78.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.77/VERSION new/hwinfo-21.78/VERSION
--- old/hwinfo-21.77/VERSION    2021-10-01 13:55:16.000000000 +0200
+++ new/hwinfo-21.78/VERSION    2021-11-11 18:14:55.000000000 +0100
@@ -1 +1 @@
-21.77
+21.78
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.77/changelog new/hwinfo-21.78/changelog
--- old/hwinfo-21.77/changelog  2021-10-01 13:55:16.000000000 +0200
+++ new/hwinfo-21.78/changelog  2021-11-11 18:14:55.000000000 +0100
@@ -1,3 +1,11 @@
+2021-11-11:    21.78
+       - merge gh#openSUSE/hwinfo#106
+       - Always read numerical 32bit serial number from EDID header.
+         Override this with ASCII serial number from display descriptor,
+         if available.
+       - Display numerical 32bit serial number for monitors without serial
+         number display descriptor
+
 2021-10-01:    21.77
        - merge gh#openSUSE/hwinfo#105
        - Use license file from gnu.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.77/src/hd/monitor.c 
new/hwinfo-21.78/src/hd/monitor.c
--- old/hwinfo-21.77/src/hd/monitor.c   2021-10-01 13:55:16.000000000 +0200
+++ new/hwinfo-21.78/src/hd/monitor.c   2021-11-11 18:14:55.000000000 +0100
@@ -330,6 +330,9 @@
     if((u >> 8) == bc_monitor) hd->sub_class.id = u & 0xff;
   }
 
+  u = edid[12] + (edid[13] << 8) + (edid[14] << 16) + (edid[15] << 24);
+  str_printf(&serial, -1, "%u", u);
+
   if(edid[0x15] > 0 && edid[0x16] > 0) {
     width_mm = edid[0x15] * 10;
     height_mm = edid[0x16] * 10;
@@ -414,7 +417,8 @@
         break;
 
       case 0xff:
-        if(!serial && edid[i + 5]) {
+        if(edid[i + 5]) {
+          free_mem(serial);
           serial = canon_str(edid + i + 5, 0xd);
           for(s = serial; *s; s++) if(*s < ' ') *s = ' ';
         }

Reply via email to