pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

add lua-language-server. needs more work and patches to actually build.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Wed Mar 29 19:07:14 2023 +0200
Changeset:	d1e10327b61e7f91e5afd7c3dfe91c1c74763134

Added Files:
	lua-language-server/DESCR
	lua-language-server/Makefile
	lua-language-server/PLIST
	lua-language-server/distinfo
	lua-language-server/patches/patch-make.lua

Log Message:
add lua-language-server. needs more work and patches to actually build.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d1e10327b61e7f91e5afd7c3dfe91c1c74763134

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-language-server/DESCR                  |  0
 lua-language-server/Makefile               | 54 ++++++++++++++++++++++++++++++
 lua-language-server/PLIST                  |  1 +
 lua-language-server/distinfo               | 30 +++++++++++++++++
 lua-language-server/patches/patch-make.lua | 10 ++++++
 5 files changed, 95 insertions(+)

diffs:
diff --git a/lua-language-server/DESCR b/lua-language-server/DESCR
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/lua-language-server/Makefile b/lua-language-server/Makefile
new file mode 100644
index 0000000000..b423c932cd
--- /dev/null
+++ b/lua-language-server/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD$
+
+DISTNAME=		lua-language-server-3.6.9
+PKGNAME=		${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=		devel lua
+MASTER_SITES=		${MASTER_SITE_GITHUB:=sumneko/}
+GITHUB_PROJECT=		lua-language-server
+GITHUB_TAG=		${PKGVERSION_NOREV}
+
+MAINTAINER=		nikita%NetBSD.org@localhost
+HOMEPAGE=		https://github.com/sumneko/lua-language-server/
+COMMENT=		Language server for Lua
+LICENSE=		mit
+
+MAKE_FLAGS+=		PREFIX=${PREFIX}
+MAKE_FLAGS+=		CC=${CC}
+MAKE_FLAGS+=		CFLAGS="${CFLAGS} -fPIC"
+MAKE_FLAGS+=		LUA_VERSION=${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
+
+TOOL_DEPENDS+=	ninja-build-[0-9]*:../../devel/ninja-build
+
+# TODO: Maybe unbundle (some of) them?
+GITDEPS+=		luamake 3d8d1fde146da293240e86c1b99ff00a7d865ac0 https://github.com/actboy168/luamake luamake
+GITDEPS+=		bee.lua c4e989a2e2dbed6c063aa0460a451cd795925a88 https://github.com/actboy168/bee.lua bee.lua
+GITDEPS+=		bee.lua eff93259f6093645564aae1a530eb98e03e01677 https://github.com/actboy168/bee.lua luamake/3rd/bee.lua
+GITDEPS+=		json.lua b5f5e7b00091974ae2663c6db7ff9d4802bd1f3b https://github.com/actboy168/json.lua json.lua
+GITDEPS+=		EmmyLuaCodeStyle 66eeece38d6f53093347dbee8476820afe69f87f https://github.com/CppCXY/EmmyLuaCodeStyle EmmyLuaCodeStyle
+GITDEPS+=		lovr-docs 8900d79360c48b1a5fc957ec85f8333c4437cb45 https://github.com/bjornbytes/lovr-docs lovr-api
+GITDEPS+=		love-api 495ecc72d994f5d52fc21592dda9d16f4fd75ba1 https://github.com/love2d-community/love-api/ love-api
+GITDEPS+=		lpeglabel e25eb35666201b10dc2778d6147ea36a9f6e033d https://github.com/sqmedeiros/lpeglabel lpeglabel
+
+DISTFILES?=             	${DEFAULT_DISTFILES}
+.for name rev url path in ${GITDEPS}
+GITDEPS_DISTFILE:=		${name}-${rev}.tar.gz
+GITDEPS_DISTFILES:=		${GITDEPS_DISTFILES} ${GITDEPS_DISTFILE}
+SITES.${GITDEPS_DISTFILE}=	-${url}/archive/${rev}.tar.gz
+.endfor
+DISTFILES:=			${DISTFILES} ${GITDEPS_DISTFILES}
+
+post-extract:
+.for dir in EmmyLuaCodeStyle bee.lua json.lua love-api lovr-api lpeglabel luamake
+	${RMDIR} ${WRKSRC}/3rd/${dir}
+.endfor
+.for name rev url path in ${GITDEPS}
+	${LN} -s ${WRKDIR}/${name}-${rev} ${WRKSRC}/3rd/${path}
+.endfor
+	cd ${WRKSRC}/3rd/luamake/3rd && ${RM} -rf bee.lua && ${LN} -s ${WRKDIR}/bee.lua-eff93259f6093645564aae1a530eb98e03e01677 bee.lua
+
+do-build:
+	ninja -C ${WRKSRC}/3rd/luamake -f compile/ninja/netbsd.ninja
+	cd ${WRKSRC} && ${MAKE_ENV} ./3rd/luamake/luamake -v
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-language-server/PLIST b/lua-language-server/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/lua-language-server/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/lua-language-server/distinfo b/lua-language-server/distinfo
new file mode 100644
index 0000000000..d936fbed89
--- /dev/null
+++ b/lua-language-server/distinfo
@@ -0,0 +1,30 @@
+$NetBSD: distinfo,v 1.9 2021/10/26 10:15:34 nia Exp $
+
+BLAKE2s (EmmyLuaCodeStyle-66eeece38d6f53093347dbee8476820afe69f87f.tar.gz) = 111c93d9af625bd04d161c56e142eb6956b56a08c318f781901cf6e69c8236a5
+SHA512 (EmmyLuaCodeStyle-66eeece38d6f53093347dbee8476820afe69f87f.tar.gz) = 1ead0b0941f20026074522a42e078c6e79e606aadc8f0dc12df77d5e4ed47e4c6855ba033583c7fc1dea7186cce9be3f233aa4bdadd66c0d7ee9ad4d33cef0c7
+Size (EmmyLuaCodeStyle-66eeece38d6f53093347dbee8476820afe69f87f.tar.gz) = 4246009 bytes
+BLAKE2s (bee.lua-c4e989a2e2dbed6c063aa0460a451cd795925a88.tar.gz) = cb662dd9f913164e4e8ef12de595e0018c4901fc7576e539523549109ebcc5de
+SHA512 (bee.lua-c4e989a2e2dbed6c063aa0460a451cd795925a88.tar.gz) = c01626b1f70c9aa1ed0b874b8611e521850188de15583b191553804ef55830acae91386e22a2b8a0e28af7aeba10665deec2cfe18627444283ad338e7e4d914c
+Size (bee.lua-c4e989a2e2dbed6c063aa0460a451cd795925a88.tar.gz) = 480778 bytes
+BLAKE2s (bee.lua-eff93259f6093645564aae1a530eb98e03e01677.tar.gz) = c6f44d8dbbd8749d80cd98d373d5f972609bc68c983cc032ef601e99cf668895
+SHA512 (bee.lua-eff93259f6093645564aae1a530eb98e03e01677.tar.gz) = a463c92986c6e18a10799861b979e8de0255b15ec9fa87b978acfc5c04f797c3350a5d3ddad50b4a64de456e46cc08dd7994253476603b4d77f2f0a77e862661
+Size (bee.lua-eff93259f6093645564aae1a530eb98e03e01677.tar.gz) = 480677 bytes
+BLAKE2s (json.lua-b5f5e7b00091974ae2663c6db7ff9d4802bd1f3b.tar.gz) = 56ca03373ee3d6ed4cb1d063eb4bed91db9a0081c7425c02aa9db0104bb7d81c
+SHA512 (json.lua-b5f5e7b00091974ae2663c6db7ff9d4802bd1f3b.tar.gz) = 07b9a657a596f0ac3cdb62e2324d1bfe76486901c7f1b4d0590cde8b7b38f79ad46d6d86076082b3bbd3ee01e32324144705f614e4c77f3c5bec366919949405
+Size (json.lua-b5f5e7b00091974ae2663c6db7ff9d4802bd1f3b.tar.gz) = 12661 bytes
+BLAKE2s (love-api-495ecc72d994f5d52fc21592dda9d16f4fd75ba1.tar.gz) = dafcab4bd210269add730394ca841a2e3840983b6dcdec775d9a0b33c96b52fa
+SHA512 (love-api-495ecc72d994f5d52fc21592dda9d16f4fd75ba1.tar.gz) = 7ce718c17535fdd94012ee479f3fc9ebf0ee5b5e8c95fe70ceb1f72a050aa85b0ffff9ccda4920997f6f1b5401cdec48cc7716fb2df7d71d35adf753f8fa6a9b
+Size (love-api-495ecc72d994f5d52fc21592dda9d16f4fd75ba1.tar.gz) = 152483 bytes
+BLAKE2s (lovr-docs-8900d79360c48b1a5fc957ec85f8333c4437cb45.tar.gz) = 7d5f463500ea6d4bd60b15e457d09d9616326848810ceeaca34552cf187c48f7
+SHA512 (lovr-docs-8900d79360c48b1a5fc957ec85f8333c4437cb45.tar.gz) = 05c40c59368aef685412a2d75dd57fb8692917eaa8352f04c7627da32cd9ea403eda236da08a4bcdb4f2a9a1c0b7247de99655bc76eb8b7f3de25c3daa0952c3
+Size (lovr-docs-8900d79360c48b1a5fc957ec85f8333c4437cb45.tar.gz) = 18069983 bytes
+BLAKE2s (lpeglabel-e25eb35666201b10dc2778d6147ea36a9f6e033d.tar.gz) = 0c0fc8242ad01885af3082dfc50b549c66973c6202689078d352d7a601bb2b00
+SHA512 (lpeglabel-e25eb35666201b10dc2778d6147ea36a9f6e033d.tar.gz) = ef069e5d1b3b3ac0112fa922f7b1e191e51ad409efb34d326e6f616e4ec6bf8b11f9a52faa4f364587e19a1d503b729ed443ab61b415821b91635969517152c8
+Size (lpeglabel-e25eb35666201b10dc2778d6147ea36a9f6e033d.tar.gz) = 83082 bytes
+BLAKE2s (lua-language-server-3.6.9.tar.gz) = 0e29cb37083a862678723581e014ee6f8b990e6686c49fcf9e5d2367abeb8fff
+SHA512 (lua-language-server-3.6.9.tar.gz) = 4b93c4c7ad9eb13edd667d36d88f7506615c20273b9da7643c2f04300961fa58b5b0f1d07f94ae3b335977317cc327f72b3ff1c9a8dd86f3f5e56a05face0324
+Size (lua-language-server-3.6.9.tar.gz) = 3293832 bytes
+BLAKE2s (luamake-3d8d1fde146da293240e86c1b99ff00a7d865ac0.tar.gz) = 75ce61e1480ad34fd22c69bb9622921931ca49e58c983ff84e0d4969663434cb
+SHA512 (luamake-3d8d1fde146da293240e86c1b99ff00a7d865ac0.tar.gz) = 475aa1313f89b6f55580f90107add967447fc6f1c3f0fe86bd70ccb6316a4443fe5f0fcae8da8f04132911acac3493052677619fd3898d219b0ed725336554a4
+Size (luamake-3d8d1fde146da293240e86c1b99ff00a7d865ac0.tar.gz) = 56393 bytes
+SHA1 (patch-make.lua) = faca9c2ce30ada8c1a44e1204e8f2396da1afeea
diff --git a/lua-language-server/patches/patch-make.lua b/lua-language-server/patches/patch-make.lua
new file mode 100644
index 0000000000..d5a2d40ab0
--- /dev/null
+++ b/lua-language-server/patches/patch-make.lua
@@ -0,0 +1,10 @@
+--- make.lua.orig	2022-09-06 18:48:12 UTC
++++ make.lua
+@@ -96,6 +96,5 @@ lm:build 'unit-test' {
+ }
+ 
+ lm:default {
+-    "bee-test",
+-    "unit-test",
++    "all"
+ }


Home | Main Index | Thread Index | Old Index