Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zbar for openSUSE:Factory checked in at 2026-10-13 17:43:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zbar (Old) and /work/SRC/openSUSE:Factory/.zbar.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zbar" Tue Oct 13 17:43:19 2026 rev:24 rq:1384378 version:0.23.95 Changes: -------- --- /work/SRC/openSUSE:Factory/zbar/zbar.changes 2026-06-03 20:21:10.574086499 +0200 +++ /work/SRC/openSUSE:Factory/.zbar.new.3698736/zbar.changes 2026-10-13 17:43:29.769665664 +0200 @@ -1,0 +2,58 @@ +Mon Oct 12 17:16:08 UTC 2026 - Tomáš Chvátal <[email protected]> + +- drop libzbarqt0 from baselibs.conf: the Qt subpackages are no + longer built, so the stale entry fails source validation + +------------------------------------------------------------------- +Mon Oct 12 14:05:00 UTC 2026 - Tomáš Chvátal <[email protected]> + +- drop unused BuildRequires: libtool (meson build, never invoked), + pkgconfig(ImageMagick) (GraphicsMagick preferred and used), + pkgconfig(ice) and pkgconfig(sm) (never probed or linked by meson) +- add %check section running the upstream meson test suite + under xvfb-run (display tests need an X server) +- drop the Qt bindings conditional: the %bcond_with qt branch was dead + (only active for suse_version < 1600, which no built distro has) and + its -Dqt flag logic was inverted, so Qt never built anywhere + +------------------------------------------------------------------- +Mon Oct 12 06:28:47 UTC 2026 - Paolo Stivanin <[email protected]> + +- Update to 0.23.95: + * fix: undefined behavior (UBSan) warnings in QR decoder and scanner + * ci: address some issues for artifact generation + * v4l2: prefer video fourcc with maximum fps + * add a .editorconfig to define zbar's codingstyle + * Add a SECURITY.md file and intended audience to README.md + * README: update files now that Windows and MacOS have ImageMagick + * INSTALL.md: update build instructions and move Windows ones to here + * ci: update github actions after meson changes + * ci: add support for running unit tests on Windows and MacOS + * ci: build static Windows release executables + * build: drop Autoconf pkg-config templates + * zbar: add a feature to select between static, dynamic or both lib types + * zbar.spec.in: update it from Fedora repository and make it work + * qrcode: reserve extra spaces for NUL separators + * zbarimg: release image on error paths + * zbarimg: fix potential memory leak + * zbarcam-qt: fix wayland SIGSEGV at init + * zbarcam/zbarcam-gtk: fix compilation against GTK2 + * python: avoid Py_SIZE on exact integers + * java: Fix an obsolete call + * Symbol.h: Fix warnings with newer g++/stdlib++ + * qt/QZBarThread.cpp: handle fourcc the right way + * img_scanner: include stddef for ptrdiff_t + * sqcode: fix memory leak in _zbar_sq_decode + * qrdectxt: Disallow 0x80 in text_is_big5() and make more readable + * qrdectxt: Fix Big5 pre-validation + * image: minor change to length calculation logic + * symbol: Fix base64_encode to correctly encode bytes above 0x7F + * qr: preserve edge points to avoid corruption + * qr: avoid reading an uninitialized sa[] slot on a malformed S-A index + * fix pointer-overflow UB in movedelta causing SIGSEGV + * keep the code93 and databar edge sums out of signed shifts + * check decode_e() results before shifting them into a signature +- Remove upstreamed zbar-configure.patch +- Remove upstreamed zbar-pkgconfig.patch + +------------------------------------------------------------------- Old: ---- zbar-0.23.93.tar.bz2 zbar-configure.patch zbar-pkgconfig.patch New: ---- zbar-0.23.95.tar.gz ----------(Old B)---------- Old: * check decode_e() results before shifting them into a signature - Remove upstreamed zbar-configure.patch - Remove upstreamed zbar-pkgconfig.patch Old:- Remove upstreamed zbar-configure.patch - Remove upstreamed zbar-pkgconfig.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zbar.spec ++++++ --- /var/tmp/diff_new_pack.sunDDK/_old 2026-10-13 17:43:30.584699819 +0200 +++ /var/tmp/diff_new_pack.sunDDK/_new 2026-10-13 17:43:30.585699861 +0200 @@ -19,44 +19,29 @@ %define sover 0 %define libname lib%{name}%{sover} -%if 0%{?suse_version} >= 1600 -%bcond_with qt -%else -%bcond_without qt -%endif Name: zbar -Version: 0.23.93 +Version: 0.23.95 Release: 0 Summary: Bar code reader License: LGPL-2.1-or-later URL: https://github.com/mchehab/zbar -Source0: https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2 +Source0: https://github.com/mchehab/zbar/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source98: baselibs.conf -# https://github.com/mchehab/zbar/issues/277 -Patch0: https://github.com/mchehab/zbar/commit/368571ffa1a0f6cc41f708dd0d27f9b6e9409df8.patch#/zbar-pkgconfig.patch -# https://github.com/mchehab/zbar/issues/277 -Patch1: https://github.com/mchehab/zbar/commit/a549566ea11eb03622bd4458a1728ffe3f589163.patch#/zbar-configure.patch -BuildRequires: automake +BuildRequires: GraphicsMagick-devel +BuildRequires: cmake +BuildRequires: gcc-c++ BuildRequires: libjpeg-devel -BuildRequires: libtool +BuildRequires: meson BuildRequires: pkgconfig >= 0.9.0 BuildRequires: xmlto -BuildRequires: pkgconfig(ImageMagick) +BuildRequires: xvfb-run BuildRequires: pkgconfig(dbus-1) -BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(python3) -BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xv) %lang_package -%if %{with qt} -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5X11Extras) -%endif %description ZBar reads bar codes from various sources, such as video streams, @@ -87,22 +72,6 @@ configuration files and development tools needed to compile and link applications using the zbar library. -%package -n lib%{name}qt0 -Summary: ZBar Qt bindings - -%description -n lib%{name}qt0 -This package provides ZBar Qt bindings. - -%package -n lib%{name}qt-devel -Summary: Development environment for the ZBar Qt bindings library -Requires: lib%{name}-devel = %{version} -Requires: lib%{name}qt0 = %{version} - -%description -n lib%{name}qt-devel -This package contains all necessary include files, libraries, -configuration files and development tools needed to compile and link -applications using the zbar-qt library. - %package -n python3-zbar Summary: Python3 module for ZBar @@ -113,24 +82,18 @@ %autosetup -p1 %build -autoreconf -fiv -%configure \ - --docdir=%{_docdir}/%{name} \ - --disable-static \ - --without-java \ - --with-python=python3 \ - --without-gtk \ -%if %{with qt} - --with-qt \ -%else - --without-qt \ -%endif +%meson \ + -Djava=disabled \ + -Dqt=false \ %{nil} -%make_build +%meson_build + +%check +xvfb-run -a /usr/bin/meson test -C %{_vpath_builddir} --print-errorlogs %install -%make_install +%meson_install find %{buildroot} -name "*.la" -or -name "*.a" | xargs rm -f rm -rf %{buildroot}%{_datadir}/doc/zbar-%{version}/ rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE.md,INSTALL.md} @@ -140,18 +103,12 @@ rm -rf %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.linuxtv.Zbar.conf %ldconfig_scriptlets -n %{libname} -%if %{with qt} -%ldconfig_scriptlets -n libzbarqt0 -%endif %files -%license COPYING LICENSE.md -%{_defaultdocdir}/%{name}/ +%dir %{_datadir}/doc/zbar +%{_datadir}/doc/zbar/* %{_bindir}/zbarimg %{_bindir}/zbarcam -%if %{with qt} -%{_bindir}/zbarcam-qt -%endif %{_mandir}/man1/* %files lang -f %{name}.lang @@ -175,16 +132,6 @@ %{_libdir}/libzbar.so %{_libdir}/pkgconfig/zbar.pc -%if %{with qt} -%files -n lib%{name}qt0 -%{_libdir}/libzbarqt.so.%{sover}* - -%files -n lib%{name}qt-devel -%{_includedir}/%{name}/QZBar*.h -%{_libdir}/libzbarqt.so -%{_libdir}/pkgconfig/zbar-qt.pc -%endif - %files -n python3-zbar -%{python3_sitearch}/zbar.so +%{python3_sitearch}/*.so ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.sunDDK/_old 2026-10-13 17:43:30.614701077 +0200 +++ /var/tmp/diff_new_pack.sunDDK/_new 2026-10-13 17:43:30.616701160 +0200 @@ -1,3 +1,2 @@ libzbar0 -libzbarqt0
