[pkg-lua-devel] Bug#1128820: lua-lgi: please restore lua 5.2 bindings

astian astian at memeware.net
Mon Feb 23 11:12:23 GMT 2026


Package: lua-lgi
Version: 0.9.2-7
Severity: normal

Dear Maintainer,

Support for Lua 5.2 was recently removed in version 0.9.2-5, without any
explanation for why.

Debian packages mpv which uses the Lua 5.2 interpreter for plugins.  As
I'm sure you know, Lua is so bare-bones that depending on external
libraries is unavoidable.  lgi is extremely useful here.  The removal of
the 5.2 bindings broke several of my mpv scripts.

Debian also packages many other programs which use Lua 5.1 or 5.3+, some
even directly depend on lua-lgi.  For example, I also need lgi 5.3 for
awesome wm.

If there's a problem with the 5.2 bindings and they cannot be restored,
mpv should be built with a different lua interpreter.  AFAIK, though,
upstream mpv has explicitly stated that they have no intention of moving
to lua >= 5.3 (apparently due to imperfect backward compatibility).
However, skimming the meson file in the mpv source tree, it seems that
it should be possible to build mpv with lua 5.1 (and at least up to ~1-2
years ago luajit was also an option, a better one for speed).

So please restore the 5.2 bindings or advise the mpv DM to rebuild with
5.1, and in any case do explain why you are removing them.

Thanks.

-- System Information:
Debian Release: forky/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.69+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lua-lgi depends on:
ii  gir1.2-glib-2.0        2.87.2-3
ii  libc6                  2.42-12
ii  libffi8                3.5.2-3+b1
ii  libgirepository-1.0-1  1.86.0-6
ii  libglib2.0-0t64        2.87.2-3

lua-lgi recommends no packages.

lua-lgi suggests no packages.

-- debconf-show failed



More information about the pkg-lua-devel mailing list