mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
dev-util/lua-language-server: add 3.6.17, drop 3.6.11; Close bug (thanks
tastytea) https://schlomp.space/tastytea/overlay/src/branch/master/dev-util/lua-language-server Closes: https://bugs.gentoo.org/900545 Signed-off-by: Mathis Winterer <mrmagic223325@fedora.email>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/build/build.ninja
|
||||
+++ b/build/build.ninja
|
||||
@@ -12,17 +12,17 @@
|
||||
@@ -12,26 +12,26 @@
|
||||
3rd/bee.lua/compile/config.lua 3rd/bee.lua/compile/common.lua $
|
||||
make/code_format.lua
|
||||
rule c_source_bee
|
||||
@@ -16,15 +16,16 @@
|
||||
3rd/bee.lua/3rd/lua-seri/lua-seri.c
|
||||
rule cxx_source_bee
|
||||
- command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $
|
||||
- -Werror -fvisibility=hidden -DNDEBUG -fPIC -o $out -c $in
|
||||
- -Werror -fvisibility=hidden -I3rd/bee.lua/bee/nonstd/3rd -DNDEBUG -fPIC $
|
||||
- -o $out -c $in
|
||||
+ command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -Wall $
|
||||
+ -fvisibility=hidden -DNDEBUG -fPIC -o $out -c $in CXXFLAGS
|
||||
+ -fvisibility=hidden -I3rd/bee.lua/bee/nonstd/3rd -DNDEBUG -fPIC $
|
||||
+ -o $out -c $in CXXFLAGS
|
||||
description = Compile C++ $out
|
||||
deps = gcc
|
||||
depfile = $out.d
|
||||
@@ -30,8 +30,8 @@
|
||||
3rd/bee.lua/bee/nonstd/3rd/format.cc
|
||||
build $obj/source_bee/os.obj: cxx_source_bee 3rd/bee.lua/bee/nonstd/3rd/os.cc
|
||||
build $obj/source_bee/format.obj: cxx_source_bee $
|
||||
3rd/bee.lua/bee/nonstd/3rd/fmt/format.cc
|
||||
rule cxx_source_bee_1
|
||||
- command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $
|
||||
- -Werror -fvisibility=hidden -I3rd/bee.lua -DNDEBUG -fPIC -o $out -c $in
|
||||
@@ -33,7 +34,7 @@
|
||||
description = Compile C++ $out
|
||||
deps = gcc
|
||||
depfile = $out.d
|
||||
@@ -55,9 +55,9 @@
|
||||
@@ -57,9 +57,9 @@
|
||||
build $obj/source_bee/path_helper.obj: cxx_source_bee_1 $
|
||||
3rd/bee.lua/bee/utility/path_helper.cpp
|
||||
rule cxx_source_bee_2
|
||||
@@ -46,7 +47,7 @@
|
||||
description = Compile C++ $out
|
||||
deps = gcc
|
||||
depfile = $out.d
|
||||
@@ -78,26 +78,26 @@
|
||||
@@ -80,26 +80,26 @@
|
||||
build $obj/source_bee/lua_time.obj: cxx_source_bee_2 $
|
||||
3rd/bee.lua/binding/lua_time.cpp
|
||||
rule c_source_lua
|
||||
@@ -80,18 +81,18 @@
|
||||
description = Compile C++ $out
|
||||
deps = gcc
|
||||
depfile = $out.d
|
||||
@@ -107,7 +107,7 @@
|
||||
@@ -109,7 +109,7 @@
|
||||
3rd/bee.lua/bootstrap/progdir.cpp
|
||||
rule link_bootstrap
|
||||
command = $cc $in -o $out -lm -ldl -Wl,-E -lstdc++fs -pthread $
|
||||
- -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -static-libgcc -s
|
||||
+ -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -static-libgcc LDFLAGS
|
||||
description = Link Exe $out
|
||||
build /bootstrap: link_bootstrap $obj/source_bootstrap/main.obj $
|
||||
build $bin/bootstrap: link_bootstrap $obj/source_bootstrap/main.obj $
|
||||
$obj/source_bootstrap/progdir.obj $obj/source_bee/lua-seri.obj $
|
||||
@@ -145,10 +145,10 @@
|
||||
@@ -148,10 +148,10 @@
|
||||
3rd/bee.lua/test/test_thread.lua 3rd/bee.lua/test/test_time.lua | $
|
||||
/bootstrap copy_script
|
||||
$bin/bootstrap copy_script
|
||||
rule cxx_code_format
|
||||
- command = $cc -MMD -MT $out -MF $out.d -std=c++17 -O2 -Wall $
|
||||
+ command = $cc -MMD -MT $out -MF $out.d -std=c++17 -Wall $
|
||||
@@ -102,7 +103,7 @@
|
||||
description = Compile C++ $out
|
||||
deps = gcc
|
||||
depfile = $out.d
|
||||
@@ -243,9 +243,9 @@
|
||||
@@ -246,9 +246,9 @@
|
||||
build $obj/code_format/Utf8.obj: cxx_code_format $
|
||||
3rd/EmmyLuaCodeStyle/Util/src/Utf8.cpp
|
||||
rule c_lpeglabel
|
||||
@@ -114,7 +115,7 @@
|
||||
description = Compile C $out
|
||||
deps = gcc
|
||||
depfile = $out.d
|
||||
@@ -255,9 +255,9 @@
|
||||
@@ -258,9 +258,9 @@
|
||||
build $obj/lpeglabel/lpltree.obj: c_lpeglabel 3rd/lpeglabel/lpltree.c
|
||||
build $obj/lpeglabel/lplvm.obj: c_lpeglabel 3rd/lpeglabel/lplvm.c
|
||||
rule cxx_lua_language_server
|
||||
|
||||
15
dev-util/lua-language-server/files/wrapper.sh
Normal file
15
dev-util/lua-language-server/files/wrapper.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Thanks To tastytea for the script <https://schlomp.space/tastytea/overlay/src/branch/master/dev-util/lua-language-server/files/wrapper-r1.sh>
|
||||
|
||||
# Some paths must be writable, so we put them into user-owned directories
|
||||
|
||||
DATAPATH="${XDG_DATA_HOME:-${HOME}/.local/share}/lua-language-server"
|
||||
STATEPATH="${XDG_STATE_HOME:-${HOME}/.local/state}/lua-language-server"
|
||||
|
||||
mkdir --parents ${DATAPATH} ${STATEPATH}
|
||||
|
||||
exec @GENTOO_PORTAGE_EPREFIX@/opt/lua-language-server/bin/lua-language-server \
|
||||
--logpath="${STATEPATH}/log" \
|
||||
--metapath="${DATAPATH}/meta" \
|
||||
"${@}"
|
||||
Reference in New Issue
Block a user