Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752516 - app-admin/lsyncd: migrate to lua eclasses
Summary: app-admin/lsyncd: migrate to lua eclasses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slotted-lua
  Show dependency tree
 
Reported: 2020-11-03 15:35 UTC by Marek Szuba
Modified: 2021-02-28 09:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2020-11-03 15:35:27 UTC
In order for Gentoo Linux to properly support side-by-side installation of
different versions of Lua (including LuaJIT), please migrate this package as
to lua.eclass (for packages which should support multiple Lua implementations
at the same time, i.e. most likely Lua modules) or lua-single.eclass (for
packages which only have to support one Lua implementation at a time). For
details, consult documentation of respective eclasses as well as
already-migrated ebuilds in the tree.

Please note that since slotted dev-lang/lua is currently masked, your
migrated ebuilds should be masked as well. There is a section of package.mask,
created in September 2020, which you can use for this purpose so that it will
be easier in the future to unmask them all in one go.

Thank you in advance for your effort!
Comment 1 Larry the Git Cow gentoo-dev 2020-12-03 23:41:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f4980a29badde11785f1ea8bebc82c4fbfcd89

commit d3f4980a29badde11785f1ea8bebc82c4fbfcd89
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-03 23:30:30 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-03 23:40:58 +0000

    app-admin/lsyncd-2.2.3: migrate to lua-single.eclass
    
    Upstream uses a customised variant of a really old version of
    FindLua.cmake which is not easy to replace with a modern stock version
    because it sets paths to lua and luac. Fortunately, it was simple enough
    to patch to only accept one specific ABI version.
    
    Was masked to begin with and I have kept the relevant package.mask line
    where it was.
    
    Closes: https://bugs.gentoo.org/752516
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/lsyncd-2.2.3-cmake_lua_version.patch      | 20 ++++++++++++++++++++
 app-admin/lsyncd/lsyncd-2.2.3.ebuild                | 21 ++++++++++++++++++---
 2 files changed, 38 insertions(+), 3 deletions(-)
Comment 2 Andreas Sturmlechner gentoo-dev 2021-02-28 09:31:23 UTC
2.2.3 was stabilised in bug 766528, please cleanup old.