dev-lua/lua-periphery
Lua library for GPIO, LED, PWM, SPI, I2C, MMIO and serial I/O in Linux
ChangeLog
commit e4c3357097c896d3e3b5269120412e552e838229
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Nov 4 15:10:41 2026 +0100
dev-lua/lua-periphery: drop 2.5.0
commit 06979b2f47fac654edde2fd8b7ede8f2a44cdf70
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Nov 4 15:10:28 2026 +0100
dev-lua/lua-periphery: add 2.5.3
Upstream moved its c-periphery submodule to 2.5.2, so the floor follows.
Both patches still apply.
The ebuild build-check was skipped: dev-libs/c-periphery, declared in
DEPEND, is not installed. The patched sources were instead compiled
against a scratch build of c-periphery 2.5.2 and loaded with lua5.1,
lua5.4 and luajit.
commit 17eaaaa2e27d3cfb0928198723890b32aa318b90
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Oct 20 10:38:40 2026 +0200
dev-lua/lua-periphery: add 2.5.2
Upstream moved its c-periphery dependency to 2.5.1 for the gpio-cdev
v1 fixes, so the floor follows. Both patches still apply.
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: Wed Nov 4 15:10:41 2026 +0100
dev-lua/lua-periphery: drop 2.5.0
commit 06979b2f47fac654edde2fd8b7ede8f2a44cdf70
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Nov 4 15:10:28 2026 +0100
dev-lua/lua-periphery: add 2.5.3
Upstream moved its c-periphery submodule to 2.5.2, so the floor follows.
Both patches still apply.
The ebuild build-check was skipped: dev-libs/c-periphery, declared in
DEPEND, is not installed. The patched sources were instead compiled
against a scratch build of c-periphery 2.5.2 and loaded with lua5.1,
lua5.4 and luajit.
commit 17eaaaa2e27d3cfb0928198723890b32aa318b90
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Oct 20 10:38:40 2026 +0200
dev-lua/lua-periphery: add 2.5.2
Upstream moved its c-periphery dependency to 2.5.1 for the gpio-cdev
v1 fixes, so the floor follows. Both patches still apply.
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.


View
Download
Browse