6 Commits
Author SHA1 Message Date
Khem Raj c794b5fe79 clight: Fix build with musl
log.c uses open() and O_* flags without including <fcntl.h>, which
glibc pulls in indirectly but musl does not, so clang fails with
-Wimplicit-function-declaration.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-18 17:38:48 -07:00
Ankur Tyagi 34a4496d77 libmodule: update branch in the SRC_URI
Otherwise do_fetch() fails with error:
ERROR: libmodule-5.0.2-r0 do_fetch: Fetcher failure: Unable to find revision b373482a43482459b37bcf601e21846e9c9563d1 in branch master even from upstream
ERROR: libmodule-5.0.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/FedeDP/libmodule;protocol=https;branch=master;tag=5.0.2')

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:04 -07:00
Khem Raj 9c05bf41b8 libmodule: upgrade 5.0.1 -> 5.0.2
The only upstream change between 5.0.1 and 5.0.2 is a single commit,
"chore: bump min cmake version to 3.5.", needed for CMake 4+.

Drop 0001-Update-cmake_minimum_required-to-3.5.patch, which backported
exactly that change and is now redundant.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-01 11:57:26 -07:00
LI Qingwu 185efabc62 clight: add recipe
Clight allows to match backlight level to ambient brightness,
computed by capturing frames from webcam or Ambient Light Sensors.
It does also support adjusting external monitors and keyboard backlight.
Moreover, it can manage your screen temperature, just like redshift does.
Finally, it can dim your screen after a timeout and manage screen DPMS.

Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-18 17:58:58 -07:00
LI Qingwu 6a17c90e96 clightd:add recipe
Clightd is a bus interface that lets you easily set/get screen brightness,
gamma temperature and display dpms state. Moreover, it enables getting
ambient brightness through webcam frames capture or ALS devices.

Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-18 17:58:58 -07:00
LI Qingwu 14b8d3cf17 libmodule: add recipe
libmodule offers a small and simple C implementation of an actor library
that aims to let developers easily create modular C projects in a way
which is both simple and elegant.

Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-18 17:58:58 -07:00