Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 752864

Summary: sys-apps/roccat-tools: migrate to lua eclasses
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 657722    

Description Marek Szuba archtester gentoo-dev 2020-11-03 15:37:47 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-17 16:30:26 UTC
The bug has been closed via the following commit(s):

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

commit 3cfee91ed2c9919833cec4489003005e9e4390cf
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-17 16:24:51 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-17 16:30:18 +0000

    sys-apps/roccat-tools: migrate to lua-single.eclass
    
    Supports lua5-1 (as per the unmigrated ebuild) and luajit (as
    accidentally discovered during early tests; see Bug #760486).
    Tested with INPUT_DEVICES=roccat_ryosmk, the logic is shared with the
    other two Lua-dependent devices so it should work with those as well.
    
    Closes: https://bugs.gentoo.org/752864
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 profiles/package.mask                              |   1 +
 .../files/roccat-tools-5.9.0-cmake_lua_impl.patch  |  11 ++
 .../roccat-tools/roccat-tools-5.9.0-r100.ebuild    | 147 +++++++++++++++++++++
 3 files changed, 159 insertions(+)