Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libxcb for openSUSE:Factory checked 
in at 2023-08-30 10:19:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libxcb (Old)
 and      /work/SRC/openSUSE:Factory/.libxcb.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libxcb"

Wed Aug 30 10:19:09 2023 rev:31 rq:1106070 version:1.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/libxcb/libxcb.changes    2023-01-07 
17:16:14.900915294 +0100
+++ /work/SRC/openSUSE:Factory/.libxcb.new.1766/libxcb.changes  2023-08-30 
10:21:28.182260417 +0200
@@ -1,0 +2,31 @@
+Sat Aug 26 14:44:23 UTC 2023 - Stefan Dirsch <[email protected]>
+
+- Update to version 1.16
+  * gitlab CI: add a basic build test
+  * configure.ac: drop dependency `pthread-stubs` on Solaris
+  * configure.ac: Remove obsolete AC_HEADER_STDC
+  * Raise minimum required version of Python from 2.6 to 3.0
+  * Fix windows build.
+  * Fix indentation.
+  * Fix a compiler warning
+  * Fix handling of documented enum parameters
+  * Allow full paths to sockets on non-macOS
+  * DISPLAY starting with / or unix: is always a socket path
+  * Add tests for unix socket parsing
+  * autogen.sh: use quoted string variables
+  * c_client: Fix crash in xcb_randr_set_monitor
+  * configure.ac: drop `pthread-stubs` dependency on DragonFly and FreeBSD
+  * xcb_conn: Add a check for NULL to silence a UBSan runtime error
+  * configure.ac: Require xcb-proto >= 1.16.0
+  * Fix xcb_connect() call with a custom xcb_auth_info_t
+  * autogen: add default patch prefix
+  * Build DOUBLE-BUFFER extension.
+  * Require xcb-proto >= 1.15.1, which has Dbe
+  * configure.ac: drop dependency `pthread-stubs` on macOS
+  * autogen.sh: use exec instead of waiting for configure to finish
+  * Improve tutorial example
+- adjusted bug-262309_xcb-xauthlocalhostname.diff,
+  
n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch
+- added libxcb-dbe0 subpackage for libxcb-dbe.so.0*
+
+-------------------------------------------------------------------

Old:
----
  libxcb-1.15.tar.xz
  libxcb-1.15.tar.xz.sig

New:
----
  libxcb-1.16.tar.xz
  libxcb-1.16.tar.xz.sig

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

Other differences:
------------------
++++++ libxcb.spec ++++++
--- /var/tmp/diff_new_pack.etjurU/_old  2023-08-30 10:21:29.510307821 +0200
+++ /var/tmp/diff_new_pack.etjurU/_new  2023-08-30 10:21:29.514307963 +0200
@@ -23,7 +23,7 @@
 %bcond_without python2
 %endif
 Name:           libxcb
-Version:        1.15
+Version:        1.16
 Release:        0
 Summary:        X11 core protocol C library
 License:        MIT
@@ -101,6 +101,15 @@
 The X Damage Extension allows applications to track modified regions
 of drawables.
 
+%package -n libxcb-dbe0
+Summary:        X11 Dbe Extension C library
+Group:          System/Libraries
+
+%description -n libxcb-dbe0
+The X protocol C-language Binding (XCB) is a replacement for Xlib
+featuring a small footprint, latency hiding, direct access to the
+protocol, improved threading support, and extensibility.
+
 %package -n libxcb-dpms0
 Summary:        X11 DPMS Extension C library
 Group:          System/Libraries
@@ -412,6 +421,8 @@
 %postun -n libxcb-composite0 -p /sbin/ldconfig
 %post   -n libxcb-damage0 -p /sbin/ldconfig
 %postun -n libxcb-damage0 -p /sbin/ldconfig
+%post   -n libxcb-dbe0 -p /sbin/ldconfig
+%postun -n libxcb-dbe0 -p /sbin/ldconfig
 %post   -n libxcb-dpms0 -p /sbin/ldconfig
 %postun -n libxcb-dpms0 -p /sbin/ldconfig
 %post   -n libxcb-dri2-0 -p /sbin/ldconfig
@@ -464,6 +475,9 @@
 %files -n libxcb-damage0
 %{_libdir}/libxcb-damage.so.0*
 
+%files -n libxcb-dbe0
+%{_libdir}/libxcb-dbe.so.0*
+
 %files -n libxcb-dpms0
 %{_libdir}/libxcb-dpms.so.0*
 

++++++ bug-262309_xcb-xauthlocalhostname.diff ++++++
--- /var/tmp/diff_new_pack.etjurU/_old  2023-08-30 10:21:29.550309248 +0200
+++ /var/tmp/diff_new_pack.etjurU/_new  2023-08-30 10:21:29.554309391 +0200
@@ -1,16 +1,24 @@
---- src/xcb_auth.c.orig        2009-05-29 17:48:24.000000000 +0200
-+++ src/xcb_auth.c     2009-05-29 17:56:01.000000000 +0200
-@@ -119,2 +119,3 @@ static Xauth *get_authptr(struct sockadd
+Index: src/xcb_auth.c
+===================================================================
+--- src/xcb_auth.c.orig
++++ src/xcb_auth.c
+@@ -118,6 +118,7 @@ static Xauth *get_authptr(struct sockadd
+     char hostnamebuf[256];   /* big enough for max hostname */
+     char dispbuf[40];   /* big enough to hold more than 2^64 base 10 */
      int dispbuflen;
 +    Xauth *authptr = NULL;
  
-@@ -163,6 +163,16 @@ static Xauth *get_authptr(struct sockadd
+     family = FamilyLocal; /* 256 */
+     switch(sockname->sa_family)
+@@ -162,10 +163,20 @@ static Xauth *get_authptr(struct sockadd
+         addrlen = strlen(addr);
+     }
  
 -    return XauGetBestAuthByAddr (family,
 +    authptr = XauGetBestAuthByAddr (family,
                                   (unsigned short) addrlen, addr,
                                   (unsigned short) dispbuflen, dispbuf,
-                                  N_AUTH_PROTOS, authnames, authnameslen);
+                                  N_AUTH_PROTOS, (char **)authnames, 
authnameslen);
 +    // && !phostname
 +    if ((!authptr || !authptr->data_length) && family == FamilyLocal) {
 +        if ( (addr = getenv("XAUTHLOCALHOSTNAME")) ) {
@@ -22,4 +30,6 @@
 +    }
 +    return authptr;
  }
+ 
+ #ifdef HASXDMAUTH
 

++++++ libxcb-1.15.tar.xz -> libxcb-1.16.tar.xz ++++++
++++ 7524 lines of diff (skipped)


++++++ 
n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch
 ++++++
--- /var/tmp/diff_new_pack.etjurU/_old  2023-08-30 10:21:29.738315959 +0200
+++ /var/tmp/diff_new_pack.etjurU/_new  2023-08-30 10:21:29.738315959 +0200
@@ -11,11 +11,11 @@
  src/xcb_auth.c | 26 ++++++++++++++++++--------
  1 file changed, 18 insertions(+), 8 deletions(-)
 
-Index: libxcb-1.12/src/xcb_auth.c
+Index: libxcb-1.16/src/xcb_auth.c
 ===================================================================
---- libxcb-1.12.orig/src/xcb_auth.c
-+++ libxcb-1.12/src/xcb_auth.c
-@@ -109,7 +109,7 @@ static int authname_match(enum auth_prot
+--- libxcb-1.16.orig/src/xcb_auth.c
++++ libxcb-1.16/src/xcb_auth.c
+@@ -110,7 +110,7 @@ static int authname_match(enum auth_prot
  
  #define SIN6_ADDR(s) (&((struct sockaddr_in6 *)s)->sin6_addr)
  
@@ -24,7 +24,7 @@
  {
      char *addr = 0;
      int addrlen = 0;
-@@ -119,6 +119,8 @@ static Xauth *get_authptr(struct sockadd
+@@ -120,6 +120,8 @@ static Xauth *get_authptr(struct sockadd
      int dispbuflen;
      Xauth *authptr = NULL;
  
@@ -33,38 +33,40 @@
      family = FamilyLocal; /* 256 */
      switch(sockname->sa_family)
      {
-@@ -161,18 +163,23 @@ static Xauth *get_authptr(struct sockadd
+@@ -163,17 +165,22 @@ static Xauth *get_authptr(struct sockadd
          addrlen = strlen(addr);
      }
  
 -    authptr = XauGetBestAuthByAddr (family,
 -                                 (unsigned short) addrlen, addr,
 -                                 (unsigned short) dispbuflen, dispbuf,
--                                 N_AUTH_PROTOS, authnames, authnameslen);
+-                                 N_AUTH_PROTOS, (char **)authnames, 
authnameslen);
 -    // && !phostname
 -    if ((!authptr || !authptr->data_length) && family == FamilyLocal) {
 -        if ( (addr = getenv("XAUTHLOCALHOSTNAME")) ) {
 +    if (*stage == 0) {
 +        authptr = XauGetBestAuthByAddr (family,
-+                                       (unsigned short) addrlen, addr,
-+                                       (unsigned short) dispbuflen, dispbuf,
-+                                       N_AUTH_PROTOS, authnames, 
authnameslen);
++                                        (unsigned short) addrlen, addr,
++                                        (unsigned short) dispbuflen, dispbuf,
++                                        N_AUTH_PROTOS, (char **)authnames, 
authnameslen);
 +        *stage = 1;
 +        return authptr;
 +    }
 +    if (*stage == 1) {
 +        if ((!authptr || !authptr->data_length) && family == FamilyLocal && 
(addr = getenv("XAUTHLOCALHOSTNAME"))) {
              authptr = XauGetBestAuthByAddr (family,
-                                            (unsigned short) strlen(addr), 
addr,
-                                            (unsigned short) dispbuflen, 
dispbuf,
-                                            N_AUTH_PROTOS, authnames, 
authnameslen);
+-                                           (unsigned short) strlen(addr), 
addr,
+-                                           (unsigned short) dispbuflen, 
dispbuf,
+-                                           N_AUTH_PROTOS, authnames, 
authnameslen);
++                                            (unsigned short) strlen(addr), 
addr,
++                                            (unsigned short) dispbuflen, 
dispbuf,
++                                            N_AUTH_PROTOS, authnames, 
authnameslen);
++            *stage = 2;
++            return authptr;
          }
-+        *stage = 2;
-+        return authptr;
      }
      return authptr;
- }
-@@ -320,7 +327,7 @@ static struct sockaddr *get_peer_sock_na
+@@ -329,7 +336,7 @@ static struct sockaddr *get_peer_sock_na
      return NULL;
  }
  
@@ -73,7 +75,7 @@
  {
      /* code adapted from Xlib/ConnDis.c, xtrans/Xtranssocket.c,
         xtrans/Xtransutils.c */
-@@ -345,7 +352,7 @@ int _xcb_get_auth_info(int fd, xcb_auth_
+@@ -354,7 +361,7 @@ int _xcb_get_auth_info(int fd, xcb_auth_
          gotsockname = 1;
      }
  
@@ -82,11 +84,11 @@
      if (authptr == 0)
      {
          free(sockname);
-Index: libxcb-1.12/src/xcbint.h
+Index: libxcb-1.16/src/xcbint.h
 ===================================================================
---- libxcb-1.12.orig/src/xcbint.h
-+++ libxcb-1.12/src/xcbint.h
-@@ -219,7 +219,7 @@ int _xcb_conn_wait(xcb_connection_t *c,
+--- libxcb-1.16.orig/src/xcbint.h
++++ libxcb-1.16/src/xcbint.h
+@@ -232,7 +232,7 @@ int _xcb_conn_wait(xcb_connection_t *c,
  
  /* xcb_auth.c */
  
@@ -95,11 +97,11 @@
  
  #ifdef GCC_HAS_VISIBILITY
  #pragma GCC visibility pop
-Index: libxcb-1.12/src/xcb_util.c
+Index: libxcb-1.16/src/xcb_util.c
 ===================================================================
---- libxcb-1.12.orig/src/xcb_util.c
-+++ libxcb-1.12/src/xcb_util.c
-@@ -494,6 +494,7 @@ xcb_connection_t *xcb_connect_to_display
+--- libxcb-1.16.orig/src/xcb_util.c
++++ libxcb-1.16/src/xcb_util.c
+@@ -514,6 +514,7 @@ xcb_connection_t *xcb_connect_to_display
      char *protocol = NULL;
      xcb_auth_info_t ourauth;
      xcb_connection_t *c;
@@ -107,7 +109,7 @@
  
      int parsed = _xcb_parse_display(displayname, &host, &protocol, &display, 
screenp);
  
-@@ -510,6 +511,7 @@ xcb_connection_t *xcb_connect_to_display
+@@ -530,6 +531,7 @@ xcb_connection_t *xcb_connect_to_display
      }
  #endif
  
@@ -115,16 +117,16 @@
      fd = _xcb_open(host, protocol, display);
  
      if(fd == -1) {
-@@ -525,7 +527,7 @@ xcb_connection_t *xcb_connect_to_display
-         goto out;
+@@ -543,7 +545,7 @@ xcb_connection_t *xcb_connect_to_display
+     if(auth) {
+         c = xcb_connect_to_fd(fd, auth);
      }
- 
--    if(_xcb_get_auth_info(fd, &ourauth, display))
-+    if(_xcb_get_auth_info(fd, &ourauth, display, &stage))
+-    else if(_xcb_get_auth_info(fd, &ourauth, display))
++    else if(_xcb_get_auth_info(fd, &ourauth, display, &stage))
      {
          c = xcb_connect_to_fd(fd, &ourauth);
          free(ourauth.name);
-@@ -534,8 +536,11 @@ xcb_connection_t *xcb_connect_to_display
+@@ -552,8 +554,11 @@ xcb_connection_t *xcb_connect_to_display
      else
          c = xcb_connect_to_fd(fd, 0);
  

Reply via email to