dev-lua/lua-periphery
Lua library for GPIO, LED, PWM, SPI, I2C, MMIO and serial I/O in Linux
ChangeLog
commit 9d63e49de2cd425a92d1047af6643be5be65fd27
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Oct 6 11:27:06 2026 +0200
dev-lua/lua-periphery: add 2.5.1
Upstream's only change is the Makefile install rule, which the ebuild
does not use; src/ is identical to 2.5.0. Both patches still apply
without fuzz, so the ebuild references the 2.5.0 files instead of
copying them.
The ebuild build-check was skipped: dev-libs/c-periphery, declared in
DEPEND, was not installed. The patched sources were instead compiled
against a scratch build of c-periphery 2.5.0 for lua5-1, lua5-4 and
luajit.
commit 32b19a8330718ced14e18b980059e86150e4b43a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Sep 27 18:47:46 2026 +0200
dev-lua/lua-periphery: new package, add 2.5.0
Lua bindings for c-periphery. Upstream's Makefile builds the
c-periphery git submodule into a static archive, but the release
tarball ships the submodule empty; the first patch links the system
libperiphery through pkg-config and includes its headers by name.
The second patch fixes MMIO:read64 for values above LUA_MAXINTEGER.
"0x%lux" prints the value in decimal with a literal trailing x, and on
32-bit targets %lu is also the wrong width for a uint64_t. Still
present upstream; not yet reported.
GCC's "line may be used uninitialized" warning in lua_gpio.c is a
false positive: every path that reads line has assigned it.
The test suite drives real peripherals, so it is restricted.
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Oct 6 11:27:06 2026 +0200
dev-lua/lua-periphery: add 2.5.1
Upstream's only change is the Makefile install rule, which the ebuild
does not use; src/ is identical to 2.5.0. Both patches still apply
without fuzz, so the ebuild references the 2.5.0 files instead of
copying them.
The ebuild build-check was skipped: dev-libs/c-periphery, declared in
DEPEND, was not installed. The patched sources were instead compiled
against a scratch build of c-periphery 2.5.0 for lua5-1, lua5-4 and
luajit.
commit 32b19a8330718ced14e18b980059e86150e4b43a
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Sep 27 18:47:46 2026 +0200
dev-lua/lua-periphery: new package, add 2.5.0
Lua bindings for c-periphery. Upstream's Makefile builds the
c-periphery git submodule into a static archive, but the release
tarball ships the submodule empty; the first patch links the system
libperiphery through pkg-config and includes its headers by name.
The second patch fixes MMIO:read64 for values above LUA_MAXINTEGER.
"0x%lux" prints the value in decimal with a literal trailing x, and on
32-bit targets %lu is also the wrong width for a uint64_t. Still
present upstream; not yet reported.
GCC's "line may be used uninitialized" warning in lua_gpio.c is a
false positive: every path that reads line has assigned it.
The test suite drives real peripherals, so it is restricted.


View
Download
Browse