commit libxcb for openSUSE:Factory

2024-04-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libxcb for openSUSE:Factory checked 
in at 2024-04-18 22:07:56

Comparing /work/SRC/openSUSE:Factory/libxcb (Old)
 and  /work/SRC/openSUSE:Factory/.libxcb.new.26366 (New)


Package is "libxcb"

Thu Apr 18 22:07:56 2024 rev:36 rq:1168557 version:1.17.0

Changes:

--- /work/SRC/openSUSE:Factory/libxcb/libxcb.changes2024-03-20 
21:10:15.724947050 +0100
+++ /work/SRC/openSUSE:Factory/.libxcb.new.26366/libxcb.changes 2024-04-18 
22:07:56.615200571 +0200
@@ -1,0 +2,10 @@
+Wed Apr 17 12:49:57 UTC 2024 - Stefan Dirsch 
+
+- Update to 1.17.0
+  * tests: fix -Werror=discarded-qualifiers errors in check_public.c
+  * xcb_popcount: Use __builtin_popcount if compiler supports it
+  * Add xcb-dri3 dependency to xcb-present.pc.in
+  * configure.ac: Require xcb-proto >= 1.17.0
+  * Always write C code in UTF-8
+
+---

Old:

  libxcb-1.16.1.tar.xz
  libxcb-1.16.1.tar.xz.sig

New:

  libxcb-1.17.0.tar.xz
  libxcb-1.17.0.tar.xz.sig



Other differences:
--
++ libxcb.spec ++
--- /var/tmp/diff_new_pack.02iXSw/_old  2024-04-18 22:07:57.675239528 +0200
+++ /var/tmp/diff_new_pack.02iXSw/_new  2024-04-18 22:07:57.679239675 +0200
@@ -23,7 +23,7 @@
 %bcond_without python2
 %endif
 Name:   libxcb
-Version:1.16.1
+Version:1.17.0
 Release:0
 Summary:X11 core protocol C library
 License:MIT

++ libxcb-1.16.1.tar.xz -> libxcb-1.17.0.tar.xz ++
 13302 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/libxcb-1.16.1/ChangeLog new/libxcb-1.17.0/ChangeLog
--- old/libxcb-1.16.1/ChangeLog 2024-03-02 20:38:37.0 +0100
+++ new/libxcb-1.17.0/ChangeLog 2024-04-15 17:09:40.0 +0200
@@ -1,3 +1,97 @@
+commit 622152ee42a310876f10602601206954b8d0613e
+Author: Matt Turner 
+Date:   Fri Apr 12 12:35:55 2024 -0400
+
+libxcb 1.17.0
+
+commit 4574ab269b082bf412e1b6fb5f09daf8134acd0b
+Author: Matt Turner 
+Date:   Fri Apr 12 12:35:32 2024 -0400
+
+configure.ac: Require xcb-proto >= 1.17.0
+
+Signed-off-by: Matt Turner 
+
+commit b78d304531bfe2359baf40db06099d9158d398d4
+Author: Uli Schlachter 
+Date:   Sun Sep 17 12:43:43 2023 +0200
+
+Always write C code in UTF-8
+
+Some people apparently use non-utf8 locales and this caused errors when
+xcb-proto started using some "fancy" quote marks. Fix this by always
+using utf8 encoding.
+
+Fixes: https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/72
+Signed-off-by: Uli Schlachter 
+
+commit 389f22d1cb53e47337e96d9f78a3ef0001e8e588
+Author: Erik Kurzinger 
+Date:   Wed Mar 20 07:06:01 2024 -0700
+
+Add xcb-dri3 dependency to xcb-present.pc.in
+
+Present version 1.4 introduces a dependency on DRI3 for the DRI3Syncobj
+protocol type.
+
+Signed-off-by: Erik Kurzinger 
+
+commit 86a478032ba93f30adbc0ce96eecd3420fdf7ed1
+Author: Alan Coopersmith 
+Date:   Sat Mar 2 12:01:54 2024 -0800
+
+xcb_popcount: Use __builtin_popcount if compiler supports it
+
+If the compiler knows of a better implementation for counting the number
+of bits set in a word for the target CPU, let it use that, instead of the
+classic algorithm optimized for PDP-6.
+
+Signed-off-by: Alan Coopersmith 
+
+commit c268499c305317d2e9a67cc590c9147e11438fc7
+Author: Alan Coopersmith 
+Date:   Sat Mar 2 11:47:47 2024 -0800
+
+tests: fix -Werror=discarded-qualifiers errors in check_public.c
+
+check_public.c: In function ‘parse_display_pass’:
+check_public.c:32:32: error: passing argument 1 of ‘putenv’ discards 
‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
+   32 | putenv("DISPLAY=");
+  |^~
+In file included from check_public.c:4:
+/usr/include/stdlib.h:148:19: note: expected ‘char *’ but argument is 
of type ‘const char *’
+  148 | extern int putenv(char *);
+  |   ^~
+check_public.c:57:16: error: passing argument 1 of ‘putenv’ discards 
‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
+   57 | putenv("DISPLAY=");
+  |^~
+/usr/include/stdlib.h:148:19: note: expected ‘char *’ but argumen

commit libxcb for openSUSE:Factory

2024-03-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libxcb for openSUSE:Factory checked 
in at 2024-03-07 18:27:51

Comparing /work/SRC/openSUSE:Factory/libxcb (Old)
 and  /work/SRC/openSUSE:Factory/.libxcb.new.1770 (New)


Package is "libxcb"

Thu Mar  7 18:27:51 2024 rev:34 rq:1155614 version:1.16.1

Changes:

--- /work/SRC/openSUSE:Factory/libxcb/libxcb.changes2024-03-03 
20:18:33.456172707 +0100
+++ /work/SRC/openSUSE:Factory/.libxcb.new.1770/libxcb.changes  2024-03-07 
18:28:09.238218826 +0100
@@ -1,0 +2,7 @@
+Wed Mar  6 15:18:25 UTC 2024 - Fabian Vogt 
+
+- Fix 
n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch,
+  the rebase in 1.16 caused an regression: It loops indefinitely if
+  XAUTHLOCALHOSTNAME is unset (boo#1221078)
+
+---



Other differences:
--


++ 
n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch
 ++
--- /var/tmp/diff_new_pack.1LKfwE/_old  2024-03-07 18:28:11.406298828 +0100
+++ /var/tmp/diff_new_pack.1LKfwE/_new  2024-03-07 18:28:11.418299271 +0100
@@ -11,10 +11,10 @@
  src/xcb_auth.c | 26 ++
  1 file changed, 18 insertions(+), 8 deletions(-)
 
-Index: libxcb-1.16/src/xcb_auth.c
+Index: libxcb-1.16.1/src/xcb_auth.c
 ===
 libxcb-1.16.orig/src/xcb_auth.c
-+++ libxcb-1.16/src/xcb_auth.c
+--- libxcb-1.16.1.orig/src/xcb_auth.c
 libxcb-1.16.1/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)
@@ -33,7 +33,7 @@
  family = FamilyLocal; /* 256 */
  switch(sockname->sa_family)
  {
-@@ -163,17 +165,22 @@ static Xauth *get_authptr(struct sockadd
+@@ -163,18 +165,23 @@ static Xauth *get_authptr(struct sockadd
  addrlen = strlen(addr);
  }
  
@@ -61,11 +61,12 @@
 +(unsigned short) strlen(addr), 
addr,
 +(unsigned short) dispbuflen, 
dispbuf,
 +N_AUTH_PROTOS, authnames, 
authnameslen);
-+*stage = 2;
-+return authptr;
  }
++*stage = 2;
++return authptr;
  }
  return authptr;
+ }
 @@ -329,7 +336,7 @@ static struct sockaddr *get_peer_sock_na
  return NULL;
  }
@@ -84,10 +85,10 @@
  if (authptr == 0)
  {
  free(sockname);
-Index: libxcb-1.16/src/xcbint.h
+Index: libxcb-1.16.1/src/xcbint.h
 ===
 libxcb-1.16.orig/src/xcbint.h
-+++ libxcb-1.16/src/xcbint.h
+--- libxcb-1.16.1.orig/src/xcbint.h
 libxcb-1.16.1/src/xcbint.h
 @@ -232,7 +232,7 @@ int _xcb_conn_wait(xcb_connection_t *c,
  
  /* xcb_auth.c */
@@ -97,11 +98,11 @@
  
  #ifdef GCC_HAS_VISIBILITY
  #pragma GCC visibility pop
-Index: libxcb-1.16/src/xcb_util.c
+Index: libxcb-1.16.1/src/xcb_util.c
 ===
 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
+--- libxcb-1.16.1.orig/src/xcb_util.c
 libxcb-1.16.1/src/xcb_util.c
+@@ -516,6 +516,7 @@ xcb_connection_t *xcb_connect_to_display
  char *protocol = NULL;
  xcb_auth_info_t ourauth;
  xcb_connection_t *c;
@@ -109,7 +110,7 @@
  
  int parsed = _xcb_parse_display(displayname, &host, &protocol, &display, 
screenp);
  
-@@ -530,6 +531,7 @@ xcb_connection_t *xcb_connect_to_display
+@@ -532,6 +533,7 @@ xcb_connection_t *xcb_connect_to_display
  }
  #endif
  
@@ -117,7 +118,7 @@
  fd = _xcb_open(host, protocol, display);
  
  if(fd == -1) {
-@@ -543,7 +545,7 @@ xcb_connection_t *xcb_connect_to_display
+@@ -545,7 +547,7 @@ xcb_connection_t *xcb_connect_to_display
  if(auth) {
  c = xcb_connect_to_fd(fd, auth);
  }
@@ -126,7 +127,7 @@
  {
  c = xcb_connect_to_fd(fd, &ourauth);
  free(ourauth.name);
-@@ -552,8 +554,11 @@ xcb_connection_t *xcb_connect_to_display
+@@ -554,8 +556,11 @@ xcb_connection_t *xcb_connect_to_display
  else
  c = xcb_connect_to_fd(fd, 0);
  


commit libxcb for openSUSE:Factory

2023-08-30 Thread Source-Sync
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.changes2023-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 
+
+- 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.orig2009-05-29 17:48:24.0 +0200
-+++ src/xcb_auth.c 2009-05-29 17:56:01.0 +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 = XauGe

commit libxcb for openSUSE:Factory

2023-01-07 Thread Source-Sync
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-01-07 17:15:59

Comparing /work/SRC/openSUSE:Factory/libxcb (Old)
 and  /work/SRC/openSUSE:Factory/.libxcb.new.1563 (New)


Package is "libxcb"

Sat Jan  7 17:15:59 2023 rev:30 rq:1056273 version:1.15

Changes:

--- /work/SRC/openSUSE:Factory/libxcb/libxcb.changes2022-05-06 
18:59:16.097351942 +0200
+++ /work/SRC/openSUSE:Factory/.libxcb.new.1563/libxcb.changes  2023-01-07 
17:16:14.900915294 +0100
@@ -1,0 +2,6 @@
+Thu Jan  5 20:19:45 UTC 2023 - Dirk Müller 
+
+- avoid configuring twice 
+- add gpg validation / source url / keyring
+
+---

New:

  libxcb-1.15.tar.xz.sig
  libxcb.keyring



Other differences:
--
++ libxcb.spec ++
--- /var/tmp/diff_new_pack.OJpqLp/_old  2023-01-07 17:16:15.412918348 +0100
+++ /var/tmp/diff_new_pack.OJpqLp/_new  2023-01-07 17:16:15.416918373 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libxcb
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,12 +28,14 @@
 Summary:X11 core protocol C library
 License:MIT
 Group:  Development/Libraries/C and C++
-URL:http://xcb.freedesktop.org/
+URL:https://xcb.freedesktop.org/
 #Git-Clone:git://anongit.freedesktop.org/xcb/libxcb
 #Git-Web:  https://cgit.freedesktop.org/xcb/libxcb/
 #DL-URL:   https://xcb.freedesktop.org/dist/
-Source: %{name}-%{version}.tar.xz
-Source1:baselibs.conf
+Source: https://xcb.freedesktop.org/dist/libxcb-%{version}.tar.xz
+Source1:https://xcb.freedesktop.org/dist/libxcb-%{version}.tar.xz.sig
+Source2:baselibs.conf
+Source3:libxcb.keyring
 Patch1: bug-262309_xcb-xauthlocalhostname.diff
 Patch2: 
n_If-auth-with-credentials-for-hostname-fails-retry-with-XAUTHLOCALHOSTNAME.patch
 BuildRequires:  autoconf >= 2.57
@@ -392,13 +394,13 @@
 %patch2 -p1
 
 %build
-./autogen.sh
+NOCONFIGURE=1 ./autogen.sh
 %configure --docdir=%{_docdir}/%{name} \
--disable-static \
--enable-xinput \
--enable-xkb \
--enable-sendfds
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install