136 Commits
Author SHA1 Message Date
Dmitry Baryshkov 29e36ae164 Merge pull request #42 from lumag/drop-bullseye
ci: drop Debian bullseye
2026-09-15 22:54:13 +03:00
Dmitry Baryshkov 50070087b8 ci: drop Debian bullseye
Debian Bullseye release was EOLed and removed from the main archive.
Drop it from the CI configuration

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-09-15 22:50:43 +03:00
Konrad Dybcio 27d2c9dfb4 Merge pull request #39 from me-cafebabe/master
Android support
2026-08-24 16:24:30 +02:00
Konrad Dybcio 0428c6541d Merge pull request #41 from lumag/ci-android
ci: refresh matrix and add Android NDK cross-compile job
2026-07-08 12:51:33 +02:00
Dmitry Baryshkov 6c8a7fb8bc ci: add Android NDK cross-compile job
qrtr ships an Android.bp (Soong) build that produces libqrtr and the
qrtr-cfg/qrtr-lookup tools for the vendor image, but nothing in CI
exercises an Android build, so bionic-specific breakage goes unnoticed.
Building Android.bp the real way needs a full AOSP/Soong tree, which is
impractical in GitHub CI.

Add an Android job that cross-compiles the meson build with the Android
NDK via a generated meson cross-file, which is enough to catch compile
and link regressions on bionic. The job runs on the ubuntu-latest host
(not inside a distro container) across the arm64-v8a, armeabi-v7a and
x86_64 ABIs, caches the downloaded NDK, and verifies that the resulting
qrtr-cfg binary really targets the requested ABI.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-07-06 21:08:31 +03:00
Yumi Yukimura c52edff621 Android.bp: Run bpfmt
Reformat the Android build rules to better style
using the `bpfmt` tool from AOSP build output.

Signed-off-by: Yumi Yukimura <me.cafebabe@gmail.com>
2026-07-06 22:39:18 +08:00
Yumi Yukimura 282c1214bd Android.bp: Add missing include dir
Commit dece9315ea ("treewide: meson")
moved headers to `include` dir, however the Android build rules
weren't updated to use headers from the new include dir. Fix this.

Signed-off-by: Yumi Yukimura <me.cafebabe@gmail.com>
2026-07-06 22:37:08 +08:00
Dmitry Baryshkov 7e65f8924b ci: refresh distro image matrix
The build matrix still pins several release-specific Fedora images that
have reached end of life, whose package repositories are no longer served
from the normal location and can fail during dependency installation.

Drop the fixed fedora:39/38/37 jobs and keep fedora:latest so CI continues
to catch issues on the active release. Move the Alpine images out of the
include block into the main container list so they are exercised with both
gcc and clang like every other distribution, and add the rolling
alpine:edge and the ubuntu:latest/noble targets to broaden coverage.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-07-06 13:51:21 +03:00
Dmitry Baryshkov 761822b5f1 ci: install full Alpine build toolchain
The Alpine clang jobs fail during Meson compiler setup rather than during
source compilation. Installing clang alone does not guarantee the complete
native build environment needed for compiler sanity checks, linking, and
startup objects on Alpine.

Install build-base in the Alpine CI setup so both gcc and clang jobs have
the standard compiler, libc, binutils, and make toolchain expected by Meson.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-07-06 13:51:02 +03:00
Dmitry Baryshkov 9d39799347 ci: update checkout action for Node 24
GitHub Actions now warns that actions targeting Node.js 20 are being
forced to run on Node.js 24. The warning is emitted by actions/checkout@v3
in every matrix job, which obscures the real CI output and will eventually
become a hard compatibility problem as older Node support is removed from
the runners.

Move to actions/checkout@v5 so the workflow uses an action version that is
compatible with the current runner JavaScript runtime.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-07-06 13:50:40 +03:00
Dmitry Baryshkov ae881086df Merge pull request #40 from z3ntu/libqrtr-static
lib: meson.build: Don't force shared libqrtr
2026-04-16 14:21:53 +03:00
Luca Weiss f83bb6c1a8 lib: meson.build: Don't force shared libqrtr
Allow the build system to build a static version of libqrtr when the
user requests it.

As per meson manual:
> You should use this [library()] instead of shared_library(),
> static_library() or both_libraries() most of the time.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2026-04-16 09:11:29 +02:00
Konrad Dybcio a38e9afbe7 Merge pull request #38 from linux-msm/topic/lunar_eol
ci: Drop EOL Ubuntu Lunar
2025-12-08 13:17:23 +01:00
Konrad Dybcio 76a7663d7d ci: Drop EOL Ubuntu Lunar
Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
2025-12-08 13:13:46 +01:00
Konrad Dybcio cd069ad7ed Merge pull request #37 from z3ntu/drop-ns
ns: Drop qrtr-ns
2025-12-08 13:10:50 +01:00
Konrad Dybcio b51ffaf227 meson.build: Tag v1.2 v1.2 2025-12-08 13:02:58 +01:00
Luca Weiss 3edda0ebec ns: Drop qrtr-ns
The qrtr-ns has been superceded by the in-kernel nameserver since
multiple years. If anybody wants to do archeology, they can find qrtr-ns
with old releases / in the git history. Drop it and remove quite some
code.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2025-11-21 13:16:29 +01:00
Luca Weiss 6d950d26e5 meson.build: Remove unused hash.c from qrtr-cfg compilation
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2025-11-21 13:15:55 +01:00
Luca Weiss ab378a18f4 lookup: Remove unused header
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2025-11-21 13:10:13 +01:00
Dmitry Baryshkov 5923eea973 Merge pull request #35 from minlexx/lookup-new-smgr-ids
lookup: add Sensor Manager (SMGR) service IDs
2025-03-01 23:06:36 +02:00
Alexey Min 305b4615d1 lookup: add Sensor Manager (SMGR) service IDs
On some older SoCs (older than SDM845) downstream userspace starts a
Sensor Registry service (271) to provide sensor configuration information
to a remote processor (SDSP or ADSP). After receiving registry data, SDSP
or ADSP exposes a Sensor Manager service "SMGR" (256), which allows to
access sensor readings. Add these services to the known list of services.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-02-14 15:36:50 +03:00
Dylan Van Assche ef44ad10f2 qrtr.py: adding missing buffer size arg to recvfrom
qrtr_recvfrom needs to know the size of the buffer, add this missing argument.
2024-08-21 17:51:52 +02:00
Konrad Dybcio daf7f4cc32 treewide: Include libqrtr.h as a global header
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
2024-05-21 11:10:11 +02:00
Arnaud Ferraris b6b586f3d0 lib: meson.build: restore libqrtr SONAME
The previous version of `libqrtr` had `libqrtr.so.1` as their SONAME,
while the current version have only `libqrtr.so`. This is problematic as
previously built binaries using this lib will have to be rebuilt for
this new version (or rather, re-linked, which is practically
equivalent).

This change ensures the SONAME is kept by setting the project version
in the top-level `meson.build` and uses this string as the shared
library version.

In practice, the generated library filename is now `libqrtr.so.1.1` with
SONAME still being `libqrtr.so.1`.
2024-04-30 23:51:42 +02:00
Konrad Dybcio 8f9b2bc3b6 meson.build: Make building qrtr-ns opt-in
It's been moved to the kernel since forever..

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
v1.1
2024-04-09 20:08:09 +02:00