mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-01 05:08:10 -07:00
update EAPI 7 -> 8 fix redirect HOMEPAGE/gh_repo add snapshot with meson, bugfixes, gtk4 support add missing sys-apps/dbus (dbus-run-session), x11-misc/xvfb-run for tests patch to fix pango_test and progress_test always install examples (~460k) Closes: https://bugs.gentoo.org/836839 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/45262 Closes: https://github.com/gentoo/gentoo/pull/45262 Signed-off-by: Sam James <sam@gentoo.org>
33 lines
997 B
Diff
33 lines
997 B
Diff
allow lua multi-implementation
|
|
@GENTOO_LUA_VERSION@ will be replaced after sources copied for each lua implementation
|
|
--- a/lgi/core.c
|
|
+++ b/lgi/core.c
|
|
@@ -697,7 +697,7 @@ set_resident (lua_State *L)
|
|
}
|
|
|
|
G_MODULE_EXPORT int
|
|
-luaopen_lgi_corelgilua51 (lua_State* L)
|
|
+luaopen_lgi_corelgi@GENTOO_LUA_VERSION@ (lua_State* L)
|
|
{
|
|
LgiStateMutex *mutex;
|
|
gint state_id;
|
|
--- a/lgi/core.lua
|
|
+++ b/lgi/core.lua
|
|
@@ -11,7 +11,7 @@
|
|
-- This module decides what kind of core routines should be loaded.
|
|
-- Currently only one implementation exists, standard-Lua C-side
|
|
-- implementation, LuaJIT-FFI-based one is planned.
|
|
-local core = require 'lgi.corelgilua51'
|
|
+local core = require 'lgi.corelgi@GENTOO_LUA_VERSION@'
|
|
|
|
-- Helper methods for converting between CamelCase and uscore_delim
|
|
-- names.
|
|
--- a/lgi/meson.build
|
|
+++ b/lgi/meson.build
|
|
@@ -1,4 +1,4 @@
|
|
-liblgi = shared_module('corelgilua51',
|
|
+liblgi = shared_module('corelgi@GENTOO_LUA_VERSION@',
|
|
sources: [
|
|
'buffer.c',
|
|
'callable.c',
|