39054 Commits

Author SHA1 Message Date
Adam x Nilsson 4603243cc5 lvgl: Update to 9.5.0
Signed-off-by: Adam Nilsson <Adam.X.Nilsson@axis.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-29 11:25:57 -07:00
Khem Raj b2dd6be12e freeglut: build without the glvnd distro feature for X11, Wayland and GLES
freeglut's CMake used FIND_PACKAGE(OpenGL REQUIRED COMPONENTS OpenGL),
which demands the GLVND libOpenGL.so (OPENGL_opengl_LIBRARY). Without the
glvnd distro feature libglvnd is not built, so do_configure fails on the
X11, Wayland and GLES paths:

  CMake Error: Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY)

CMake's FindOpenGL also couples the EGL component to GLVND: requesting EGL
without GLES2/GLES3 unconditionally adds OPENGL_opengl_LIBRARY, so dropping
the "OpenGL" component alone is not enough.

Extend the legacy-OpenGL patch to:

* X11/GLES: drop the unsatisfiable GLVND "OpenGL" component from
  FIND_PACKAGE and link the legacy OpenGL::GL target.
* Wayland: find EGL via pkg-config (PkgConfig::EGL), which is independent
  of GLVND, and link the legacy OpenGL::GL target.

Verified by building freeglut for qemux86-64 with x11+wayland and no glvnd
(configure, compile, install, package) and re-checking freeglut-gles
configures.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:29 -07:00
Khem Raj 3ba7fea735 apitrace: do not embed source dir into binary (buildpaths QA)
apitrace's CLI bakes APITRACE_PYTHON_EXECUTABLE, defined unconditionally
to ${Python3_EXECUTABLE} - the absolute path of the python CMake found at
configure time.

On the autobuilder that resolves to the launching
venv python /srv/pokybuild/buildbot-venv/bin/python3, which lives under the
worker HOME, so /usr/bin/apitrace trips:

  QA Issue: File /usr/bin/apitrace in package apitrace contains reference
  to the build host HOME directory [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:28 -07:00
Khem Raj c3377df257 tokyocabinet: drop $HOME/lib from LD_RUN_PATH to fix buildpaths QA
The Makefile bakes LD_RUN_PATH=...:$(HOME)/lib:/usr/local/lib:... into the
command binaries via LDENV, embedding the build host HOME directory in the
shipped binaries:

  do_package_qa: QA Issue: File /usr/bin/tchmgr ... contains reference to the
  build host HOME directory [buildpaths]

Strip the $(HOME)/lib and /usr/local/lib entries from the generated Makefile
after configure.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:28 -07:00
Khem Raj 9c02e30bef usbguard: fix bundled PEGTL demangle static_assert with GCC 16
The bundled PEGTL parses __PRETTY_FUNCTION__ at compile time and trips a
static_assert under GCC 16:

  src/ThirdParty/PEGTL/include/tao/pegtl/demangle.hpp:118:23:
  error: static assertion failed

usbguard demangles PEGTL rules built from ascii::one<'\000', '\012'>,
i.e. types with a char non-type template parameter whose value is '\0'.
GCC 16 renders such a parameter as a literal NUL byte and truncates
__PRETTY_FUNCTION__ there:

  constexpr std::string_view demangle() [with T = seq<one<'

so the trailing "; std::string_view = ...]" and even the closing ']' are
gone, and rfind(';')/rfind(']') both return npos.

Patch demangle() to fall back to the remainder of the string when no
';'/']' terminator survives, instead of failing the build; the demangled
name is only used for tracing diagnostics. Type names without a '\0' char
parameter are unaffected.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:28 -07:00
Khem Raj 884e0c9ff7 libyui-ncurses: fix wchar_t stream to narrow ostream for GCC 16
GCC 16 / libstdc++ implements the C++20 deletion of
std::operator<<(std::ostream&, wchar_t). NCtext.cc and NCRichText.cc stream
a wchar_t directly into a narrow std::ostream for debug output:

  NCtext.cc:348:34: error: use of deleted function
  'std::basic_ostream<char, _Traits>& std::operator<<(...wchar_t)'

Add a patch casting both sites to char (the values are ASCII).

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:28 -07:00
Khem Raj a93093b2d4 telepathy-glib: relax -Werror=incompatible-pointer-types for GCC 14+
GCC 14 promotes -Wincompatible-pointer-types to an error by default. This
release passes a wrongly-typed GDestroyNotify to g_ptr_array_new_full:

  telepathy-glib/protocol.c:1794:42: error: passing argument 2 of
  'g_ptr_array_new_full' from incompatible pointer type
  [-Wincompatible-pointer-types]

Add -Wno-error=incompatible-pointer-types so the build completes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:28 -07:00
Khem Raj 089472974c redis-plus-plus: relax -Werror=maybe-uninitialized for GCC 16
GCC 16 emits a spurious -Wmaybe-uninitialized for the exception helper
constructors in reply.h, and the project builds with -Werror:

  src/sw/redis++/reply.h:54:60: error: '<unknown>' may be used uninitialized
  [-Werror=maybe-uninitialized]
  cc1plus: all warnings being treated as errors

Add -Wno-error=maybe-uninitialized for the gcc toolchain.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:28 -07:00
Khem Raj 2eec21779c avro-c++: relax -Werror=unused-but-set-variable for GCC 16
GCC 16 reports a set-but-unused variable in the JSON parser, and avro builds
with -Werror:

  lang/c++/impl/json/JsonIO.cc:296:30: error: variable 'n' set but not used
  [-Werror=unused-but-set-variable=]

Extend the existing toolchain-gcc -Wno-error workaround to cover it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:27 -07:00
Khem Raj b113489408 assimp: disable warnings-as-errors to fix GCC 16 build
GCC 16 flags a set-but-unused variable in MS3DLoader.cpp and assimp builds
with -Werror:

  code/AssetLib/MS3D/MS3DLoader.cpp:633:28: error: variable 'qu' set but not
  used [-Werror=unused-but-set-variable=]
  cc1plus: all warnings being treated as errors

Pass -DASSIMP_WARNINGS_AS_ERRORS=OFF so upstream warnings do not break the
build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:27 -07:00
Khem Raj d3d3506ad9 libowfat: relax -Werror=incompatible-pointer-types for GCC 14+
GCC 14 promotes -Wincompatible-pointer-types to an error by default. The
buffer_init*.c sources pass read()/write() directly where a typeless op
function pointer is expected:

  buffer/buffer_init_read.c:6:18: error: passing argument 2 of 'buffer_init'
  from incompatible pointer type [-Wincompatible-pointer-types]

The existing gcc-15 patch only fixes the BUFFER_INIT macro, not these call
sites. Add -Wno-error=incompatible-pointer-types so the build completes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:27 -07:00
Khem Raj f7352f131c android-tools: fix build with libstdc++ and current C++ frontends
Two build failures occur with the default clang/lld toolchain (and with
gcc) when compiling android-tools 35.0.2:

1. The bundled fmtlib 10.2.0 validates FMT_STRING() inside a consteval
   basic_format_string constructor whose parse path evaluates
   "format_str_.remove_prefix(detail::to_unsigned(it - begin()))". Current
   C++ frontends reject that iterator subtraction as a non-constant
   subexpression:

     error: call to consteval function
       'fmt::basic_format_string<...>::basic_format_string<FMT_COMPILE_STRING,0>'
       is not a constant expression

   Define FMT_CONSTEVAL to empty so fmt drops the consteval qualifier and
   validates format strings via its runtime path instead.

2. adb's IOVector::coalesce() static_asserts that its Block collection type
   is standard-layout. Block holds a std::unique_ptr<char[]>, which is
   standard-layout under LLVM libc++ (AOSP's runtime) but not under GNU
   libstdc++, so the assertion fails for libstdc++ based toolchains:

     packages/modules/adb/types.h:235:27: error: static assertion failed due
     to requirement 'std::is_standard_layout<Block>()'

   The assertion does not protect the memcpy it guards (which writes into
   plain char storage), so drop it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:27 -07:00
Khem Raj fafc6d2942 procmail: drop target-only libs from native autoconf.h probe
do_configure generates autoconf.h by compiling and running a
small lock-feature probe with the build-host compiler.
The Makefile hardcodes the target networking libs
(-lnet -lnsl, from the libnet/libnsl2 DEPENDS)
into LDFLAGS, but those only exist in the target sysroot,
so the native link fails with

'cannot find -lnet/-lnsl'

The probe does not use them, so override LDFLAGS for this native
step with just what it needs.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:27 -07:00
Khem Raj 7153beeccb libmng: skip pre-configure make clean via CLEANBROKEN
The release tarball ships a pre-generated Makefile with
the maintainer's absolute build paths baked in (${SHELL} /sources/LIB/MNG/.../missing)
so the make clean run by autotools_preconfigure fails before autoreconf
regenerates the build system.

Set CLEANBROKEN to skip that pre-configure clean.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:27 -07:00
Khem Raj 456502c8a3 pam-radius: skip pre-configure make clean via CLEANBROKEN
The shipped Makefile errors out

'You must run ./configure before make'

when Make.inc/src/config.h are missing, so the 'make clean' run by
autotools_preconfigure fails before configure has run.

Set CLEANBROKEN to skip that clean.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:26 -07:00
Khem Raj e04efc88e9 abseil-cpp: fix clang build with BMI2
Clang errors on a direct include of <bmi2intrin.h>

'Never use <bmi2intrin.h> directly; include <immintrin.h> instead.'

 hit whenever __BMI2__ is defined.

Backport the upstream fix to include the umbrella <immintrin.h>
header guarded by an x86 check.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:26 -07:00
Khem Raj af3b353bbf pimd: skip pre-configure make clean via CLEANBROKEN
The shipped Makefile does 'include config.mk' which is only created by
configure, so the 'make clean' run by autotools_preconfigure fails before
configure has run.

Set CLEANBROKEN to skip that pre-configure clean.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-06-28 00:59:26 -07:00
Khem Raj 4278aeace7 xfce4-panel: fix redefinition of autoptr cleanup for XfceTitledDialog
Newer libxfce4ui defines the XfceTitledDialog autoptr cleanup functions
the panel's guarded redefinition is redundant and breaks the build
under GCC 16. Drop it (backport of upstream 3ac941fc).

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:26 -07:00
Khem Raj f7bd7b11ba python3-croniter: refresh trove-classifiers patch
Regenerate 0001-Allow-using-newer-versions-of-trove-classifiers so it
applies to 6.2.2.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:26 -07:00
Khem Raj caf16b5558 minifi-cpp: fix fmt branch and retarget gcc-16 patch
fmt renamed its default branch master -> main, so the SRCREV was
unreachable.

Also retarget 0001-Fix-build-with-gcc-16 to
minifi-api/include/minifi-cpp/core/RepositoryMetricsSource.h after
the source-tree restructure in 0.99.2.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:26 -07:00
Khem Raj d532bde920 mbuffer: build in-tree so mkversion.sh is found
mbuffer's Makefile invokes 'bash mkversion.sh' with no path
which only works in the source tree so set B = S.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:25 -07:00
Khem Raj dd7292fee5 genimage: set pipefail shell explicitly for cross builds
configure cannot probe for a pipefail-capable shell when
cross compiling; pass --with-shell=/bin/bash and add bash
to runtime deps.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:25 -07:00
Khem Raj b8adbe20c9 gd: guard GCC-only -Wno-error=maybe-uninitialized
clang does not recognise -Wmaybe-uninitialized and errors on
the -Wno-error form under -Werror,-Wunknown-warning-option
apply it only for the gcc toolchain.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:25 -07:00
Khem Raj 08a0e6429b pstack: include <cstdint> for fixed-width integer types
GCC 16 / libstdc++ no longer transitively pulls in cstdint
so reader.h fails to find uintmax_t/intmax_t.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:25 -07:00
Khem Raj 7094af24e7 poke: fix cross configure of bundled jitter
The bundled jitter sub-configure runs a gnulib AC_RUN_IFELSE strcasecmp
test that aborts under cross compilation use the cached result.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:25 -07:00
Khem Raj 5effccd77a breakpad: fix build with GCC 16
Move ModuleFactory::CreateModule out of line.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:25 -07:00
Khem Raj d35092260d android-libboringssl: Use discarded-qualifiers that works with clang
clang names this -Wno-incompatible-pointer-types-discards-qualifiers;
the GCC spelling is an unknown -W option under -Werror,
which broke every configure try_compile (including pthread detection).

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:25 -07:00
Khem Raj 045aade8e9 weechat: fix cross Python detection
Inherit python3targetconfig

point CMake's FindPython at the target sysroot libpython/headers
so Embed component resolves when cross compiling.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:24 -07:00
Khem Raj bc404033bb networkmanager-openconnect: only require webkit2gtk for the auth dialog
The webkit2gtk pkg-config check was unconditional, but WEBKIT is only
used by the GNOME auth dialog. Move it under the with-gnome guard

add webkitgtk3 to the gnome PACKAGECONFIG deps

ship the D-Bus system policy file.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:24 -07:00
Khem Raj f2ecf28404 libcamera: fix malformed -Wno-error=array-bounds flag
Drop the stray trailing '=' that produced an invalid compiler option.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:24 -07:00
Khem Raj 4574cff2c0 libisofs: upgrade 1.5.6 -> 1.5.8.pl02
fix S for the .pl02 patchlevel tarball

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:24 -07:00
Khem Raj 756f33ec9c libisoburn: upgrade 1.5.6 -> 1.5.8.pl02
fix S for the .pl02 patchlevel tarball

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:24 -07:00
Khem Raj bf1d5ced1e libcrypt-openssl-rsa-perl: upgrade 0.37 -> 0.41
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:24 -07:00
Khem Raj 7765fb4546 libextutils-parsexs-perl: upgrade 3.35 -> 3.63
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:23 -07:00
Khem Raj 9224849d03 libextutils-installpaths-perl: upgrade 0.012 -> 0.015
License-Update: bundled GPL/Artistic license text reflowed; FSF postal address replaced with a URL (Perl licensing unchanged)

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:23 -07:00
Khem Raj ee06eef8e6 libdata-hexdump-perl: upgrade 0.02 -> 0.04
License-Update: license POD section relocated to lines 277-279; license text unchanged

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:23 -07:00
Khem Raj be3df952ee libmodule-build-tiny-perl: upgrade 0.048 -> 0.053
License-Update: bundled GPL/Artistic license text reflowed; FSF postal address replaced with a URL (Perl licensing unchanged)

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:22 -07:00
Khem Raj 9a7fdf61f7 logcheck: upgrade 1.4.3 -> 1.4.7
The Makefile now creates /run/lock/logcheck (was /var/lock/logcheck);
update the sed that comments out that install line so nothing is left
installed-but-not-shipped.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:22 -07:00
Khem Raj de65cb93c3 ktls-utils: upgrade 1.3.0 -> 1.4.0
Drop 0001-systemd-Fix-out-of-tree-builds, which is present in 1.4.0 and
no longer applies.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:22 -07:00
Khem Raj 43fe6bed60 cairomm: upgrade 1.14.5 -> 1.14.6
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:22 -07:00
Khem Raj 4a8a15f7aa ipmiutil: upgrade 3.1.9 -> 3.2.2
Refresh fix_systemd_path.patch for 3.2.2.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:22 -07:00
Khem Raj a42028a54e flashrom: upgrade 1.6.0 -> 1.7.0
License-Update: COPYING renamed to COPYING.rst; GPL-2.0-or-later unchanged

COPYING was renamed to COPYING.rst upstream; update LIC_FILES_CHKSUM.
Add a patch initializing time_start/time_end, which clang flags as
used-uninitialized.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:21 -07:00
Khem Raj 009cff1a8a libmtp: upgrade 1.1.21 -> 1.1.23
1.1.23 gained --enable-crossbuilddir, which uses the native mtp-hotplug
to generate udev rules. Use it and drop the local
0001-Use-native-mtp-hotplug and 0002-util-mtp-hotplug patches.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:21 -07:00
Khem Raj e49e41b4e6 cairomm-1.16: upgrade 1.18.0 -> 1.18.1
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:21 -07:00
Khem Raj c88eb5aff1 libpaper: upgrade 2.2.6 -> 2.2.8
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:21 -07:00
Khem Raj 71e96c9483 zabbix: upgrade 7.0.24 -> 7.0.27
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:21 -07:00
Khem Raj a132aa6f5d ace: upgrade 8.0.5 -> 8.0.6
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:20 -07:00
Khem Raj 7da0f0e028 telepathy-glib: upgrade 0.24.1 -> 0.24.2
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:20 -07:00
Khem Raj 13bafd2753 nmap: upgrade 7.92 -> 7.99
License-Update: relicensed to NPSL (Nmap Public Source License)

fix bundled libdnet configure and static link

Add a patch fixing the libdnet PF_PACKET conftest, which used a
nested function definition clang rejects, making configure
wrongly conclude there is no Ethernet support.

Clear DISABLE_STATIC so the bundled libdnet libtool build also
produces libdnet.a (nmap links it statically), and serialize
the make since the top-level Makefile does not order the
link after the recursive libdnet build.

Also regenerate an existing patch to apply without fuzz.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:20 -07:00
Khem Raj 0ee2147e4e proj: upgrade 9.7.0 -> 9.8.1
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:20 -07:00