Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libwacom for openSUSE:Factory checked in at 2026-08-24 12:01:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwacom (Old) and /work/SRC/openSUSE:Factory/.libwacom.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwacom" Mon Aug 24 12:01:57 2026 rev:50 rq:1373123 version:2.19.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libwacom/libwacom.changes 2026-07-06 12:28:11.738777896 +0200 +++ /work/SRC/openSUSE:Factory/.libwacom.new.1258/libwacom.changes 2026-08-24 12:02:53.900356118 +0200 @@ -1,0 +2,6 @@ +Sat Aug 22 16:27:26 UTC 2026 - Dirk Müller <[email protected]> + +- update to 2.19.1: + * Build fixes for older systems and other arches + +------------------------------------------------------------------- Old: ---- libwacom-2.19.0.tar.xz libwacom-2.19.0.tar.xz.sig New: ---- libwacom-2.19.1.tar.xz libwacom-2.19.1.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwacom.spec ++++++ --- /var/tmp/diff_new_pack.mpuuNg/_old 2026-08-24 12:02:54.807388118 +0200 +++ /var/tmp/diff_new_pack.mpuuNg/_new 2026-08-24 12:02:54.809388188 +0200 @@ -19,7 +19,7 @@ %define sover 9 Name: libwacom -Version: 2.19.0 +Version: 2.19.1 Release: 0 Summary: Tablet description library License: HPND ++++++ libwacom-2.19.0.tar.xz -> libwacom-2.19.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwacom-2.19.0/NEWS new/libwacom-2.19.1/NEWS --- old/libwacom-2.19.0/NEWS 2026-05-29 02:08:42.000000000 +0200 +++ new/libwacom-2.19.1/NEWS 2026-07-20 05:12:17.000000000 +0200 @@ -1,3 +1,6 @@ +libwacom 2.19.1: +- Build fixes for older systems and other arches + libwacom 2.19.0: - New API: - libwacom_list_styli_from_database() provides a WacomStylus list of all known styli diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwacom-2.19.0/libwacom/libwacom-database.c new/libwacom-2.19.1/libwacom/libwacom-database.c --- old/libwacom-2.19.0/libwacom/libwacom-database.c 2026-05-29 02:08:42.000000000 +0200 +++ new/libwacom-2.19.1/libwacom/libwacom-database.c 2026-07-20 05:12:17.000000000 +0200 @@ -427,7 +427,8 @@ for (guint i = 0; i < array->len; i++) { id = &g_array_index(array, WacomStylusId, i); - g_strv_builder_take(builder, g_strdup_printf("0x%08x", id->tool_id)); + g_autofree char *hex = g_strdup_printf("0x%08x", id->tool_id); + g_strv_builder_add(builder, hex); } return g_strv_builder_end(builder); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwacom-2.19.0/libwacom/libwacom.c new/libwacom-2.19.1/libwacom/libwacom.c --- old/libwacom-2.19.0/libwacom/libwacom.c 2026-05-29 02:08:42.000000000 +0200 +++ new/libwacom-2.19.1/libwacom/libwacom.c 2026-07-20 05:12:17.000000000 +0200 @@ -934,7 +934,7 @@ styli = libwacom_get_styli(device, &nstyli); for (int i = 0; i < nstyli; i++) { const WacomStylus *stylus = styli[i]; - char *s; + g_autofree char *s = NULL; if (stylus->id.vid != WACOM_VENDOR_ID) s = g_strdup_printf("0x%04x:%#x", @@ -942,7 +942,7 @@ stylus->id.tool_id); else s = g_strdup_printf("%#x", stylus->id.tool_id); - g_strv_builder_take(builder, s); + g_strv_builder_add(builder, s); } strv = g_strv_builder_end(builder); @@ -1046,14 +1046,14 @@ for (char b = 'A'; b < 'A' + nbuttons; b++) { unsigned int code = libwacom_get_button_evdev_code(device, b); const char *name = libevdev_event_code_get_name(EV_KEY, code); - char *s; + g_autofree char *s = NULL; if (name) s = g_strdup(name); else s = g_strdup_printf("0x%x", code); - g_strv_builder_take(builder, s); + g_strv_builder_add(builder, s); } strv = g_strv_builder_end(builder); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwacom-2.19.0/meson.build new/libwacom-2.19.1/meson.build --- old/libwacom-2.19.0/meson.build 2026-05-29 02:08:42.000000000 +0200 +++ new/libwacom-2.19.1/meson.build 2026-07-20 05:12:17.000000000 +0200 @@ -1,5 +1,5 @@ project('libwacom', 'c', - version: '2.19.0', + version: '2.19.1', license: 'HPND', default_options: [ 'c_std=gnu99', 'warning_level=2' ], meson_version: '>= 0.58.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwacom-2.19.0/test/__init__.py new/libwacom-2.19.1/test/__init__.py --- old/libwacom-2.19.0/test/__init__.py 2026-05-29 02:08:42.000000000 +0200 +++ new/libwacom-2.19.1/test/__init__.py 2026-07-20 05:12:17.000000000 +0200 @@ -67,8 +67,8 @@ @staticmethod def _cdll(): - # BSD has 7, Linux has 6 - for libc in ("libc.so.6", "libc.so.7"): + # BSD has 7, Linux has 6, Linux/alpha has 6.1 + for libc in ("libc.so.6", "libc.so.7", "libc.so.6.1"): try: return ctypes.CDLL(libc, use_errno=True) except OSError: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwacom-2.19.0/tools/debug-device.c new/libwacom-2.19.1/tools/debug-device.c --- old/libwacom-2.19.0/tools/debug-device.c 2026-05-29 02:08:42.000000000 +0200 +++ new/libwacom-2.19.1/tools/debug-device.c 2026-07-20 05:12:17.000000000 +0200 @@ -428,8 +428,9 @@ g_auto(GStrv) strv = NULL; g_autofree char *str = NULL; for (int i = 0; i < nstyli; i++) { - char *s = g_strdup_printf("0x%06x", styli[i]); - g_strv_builder_take(builder, s); + g_autofree char *s = + g_strdup_printf("0x%06x", styli[i]); + g_strv_builder_add(builder, s); } strv = g_strv_builder_end(builder); str = g_strjoinv(", ", strv); @@ -447,11 +448,11 @@ g_autofree char *str = NULL; for (int i = 0; i < nstyli; i++) { const WacomStylus *s = styli[i]; - char *entry = g_strdup_printf( + g_autofree char *entry = g_strdup_printf( "[0x%04x, 0x%06x]", libwacom_stylus_get_vendor_id(s), libwacom_stylus_get_id(s)); - g_strv_builder_take(builder, entry); + g_strv_builder_add(builder, entry); } strv = g_strv_builder_end(builder); str = g_strjoinv(", ", strv); @@ -518,9 +519,10 @@ #pragma GCC diagnostic pop for (int i = 0; i < npaired; i++) { - char *s = g_strdup_printf("0x%06x", - paired[i]); - g_strv_builder_take(builder, s); + g_autofree char *s = + g_strdup_printf("0x%06x", + paired[i]); + g_strv_builder_add(builder, s); } strv = g_strv_builder_end(builder); str = g_strjoinv(", ", strv); @@ -544,12 +546,12 @@ for (int i = 0; i < npaired; i++) { const WacomStylus *p = paired[i]; - char *entry = g_strdup_printf( + g_autofree char *entry = g_strdup_printf( "[0x%04x, 0x%06x]", libwacom_stylus_get_vendor_id( p), libwacom_stylus_get_id(p)); - g_strv_builder_take(builder, entry); + g_strv_builder_add(builder, entry); } strv = g_strv_builder_end(builder); str = g_strjoinv(", ", strv);
