git: c2cdd7dd7edc - main - devel/lua-language-server: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 22 Aug 2023 18:57:27 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c2cdd7dd7edc07f6806e1f4e4010178ed0ea4400

commit c2cdd7dd7edc07f6806e1f4e4010178ed0ea4400
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-08-22 18:56:27 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-08-22 18:57:14 +0000

    devel/lua-language-server: Remove expired port
    
    2023-08-15 devel/lua-language-server: Versions after 3.6.9 dump core (and do not compile)
---
 MOVED                                              |  1 +
 devel/Makefile                                     |  1 -
 devel/lua-language-server/Makefile                 | 68 ----------------------
 devel/lua-language-server/distinfo                 | 19 ------
 .../files/lua-language-server.in                   |  8 ---
 .../files/patch-3rd_bee.lua_compile_common.lua     | 30 ----------
 .../patch-3rd_luamake_compile_ninja_freebsd.ninja  | 54 -----------------
 devel/lua-language-server/files/patch-make.lua     | 10 ----
 devel/lua-language-server/pkg-descr                | 16 -----
 9 files changed, 1 insertion(+), 206 deletions(-)

diff --git a/MOVED b/MOVED
index ccd71e41cdd2..3cdc211d7aea 100644
--- a/MOVED
+++ b/MOVED
@@ -7788,3 +7788,4 @@ devel/py-python-Levenshtein|devel/py-Levenshtein|2023-08-17|Rename to match upst
 devel/py-jaraco||2023-08-21|Remove obsoleted port
 security/rubygem-openssl2|security/rubygem-openssl|2023-08-21|Remove obsoleted port. Use security/rubygem-openssl instead
 games/cataclysm-dda-tiles|games/cataclysm-dda@tiles|2023-08-22|Moved to a flavored version
+devel/lua-language-server||2023-08-22|Has expired: Versions after 3.6.9 dump core (and do not compile)
diff --git a/devel/Makefile b/devel/Makefile
index 923009c59265..805f9c918890 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1531,7 +1531,6 @@
     SUBDIR += lua-cjson
     SUBDIR += lua-cqueues
     SUBDIR += lua-gettext
-    SUBDIR += lua-language-server
     SUBDIR += lua-lgi
     SUBDIR += lua-libevent
     SUBDIR += lua-lpeg
diff --git a/devel/lua-language-server/Makefile b/devel/lua-language-server/Makefile
deleted file mode 100644
index a8c8d459dca1..000000000000
--- a/devel/lua-language-server/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-PORTNAME=	lua-language-server
-DISTVERSION=	3.6.9
-PORTEPOCH=	1
-CATEGORIES=	devel
-
-MAINTAINER=	adamw@FreeBSD.org
-COMMENT=	Lua development server and LSP client
-WWW=		https://github.com/luals/lua-language-server
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Versions after 3.6.9 dump core (and do not compile)
-EXPIRATION_DATE=2023-08-15
-
-LIB_DEPENDS=	libinotify.so:devel/libinotify
-
-USES=		compiler:features dos2unix lua:build ninja:make
-USE_GITHUB=	yes
-GH_ACCOUNT=	luals
-GH_TUPLE=	actboy168:bee.lua:c4e989a:bee/3rd/bee.lua \
-		actboy168:bee.lua:eff9325:bee_luamake/3rd/luamake/3rd/bee.lua \
-		actboy168:json.lua:b5f5e7b:json/3rd/json.lua \
-		actboy168:luamake:3d8d1fd:luamake/3rd/luamake \
-		cppcxy:EmmyLuaCodeStyle:66eeece:emmyluacodestyle/3rd/EmmyLuaCodeStyle \
-		bjornbytes:lovr-docs:8900d79:lovr/3rd/lovr-api \
-		love2d-community:love-api:495ecc7:love/3rd/love-api \
-		sqmedeiros:lpeglabel:e25eb35:lpeglabel/3rd/lpeglabel
-
-BINARY_ALIAS=	gcc=${CC}
-DOS2UNIX_FILES=	3rd/bee.lua/bee/thread/spinlock.h \
-		3rd/luamake/3rd/bee.lua/bee/thread/spinlock.h
-SUB_FILES=	lua-language-server
-PLIST_FILES=	bin/lua-language-server \
-		${DATADIR_REL}/bin/lua-language-server \
-		${DATADIR_REL}/bin/main.lua \
-		${DATADIR_REL}/debugger.lua \
-		${DATADIR_REL}/main.lua
-PORTDATA=	locale meta script
-
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 130
-BUILD_DEPENDS+=	llvm13>0:devel/llvm13
-CPP=		${LOCALBASE}/bin/clang-cpp13
-CC=		${LOCALBASE}/bin/clang13
-CXX=		${LOCALBASE}/bin/clang++13
-.endif
-
-post-patch:
-	${REINPLACE_CMD} -e 's|%%CC%%|${CC}|; s|%%LOCALBASE%%|${LOCALBASE}|' \
-		${WRKSRC}/3rd/luamake/compile/ninja/freebsd.ninja \
-		${WRKSRC}/3rd/bee.lua/compile/common.lua
-
-do-build:
-	${DO_MAKE_BUILD} -C ${WRKSRC}/3rd/luamake -f compile/ninja/freebsd.ninja
-	cd ${WRKSRC} && ${MAKE_ENV} ./3rd/luamake/luamake -v
-
-do-install:
-	${MKDIR} ${STAGEDIR}${DATADIR}/bin
-	${INSTALL_SCRIPT} ${WRKDIR}/lua-language-server ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/lua-language-server ${STAGEDIR}${DATADIR}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/bin/main.lua ${STAGEDIR}${DATADIR}/bin
-	${INSTALL_DATA} ${WRKSRC}/debugger.lua ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/main.lua ${STAGEDIR}${DATADIR}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "locale meta script" ${STAGEDIR}${DATADIR}
-
-.include <bsd.port.post.mk>
diff --git a/devel/lua-language-server/distinfo b/devel/lua-language-server/distinfo
deleted file mode 100644
index 2fd62adc3c20..000000000000
--- a/devel/lua-language-server/distinfo
+++ /dev/null
@@ -1,19 +0,0 @@
-TIMESTAMP = 1676212670
-SHA256 (luals-lua-language-server-3.6.9_GH0.tar.gz) = 6e291e769184cabeb4a42969eaa80cf42fbfeb79e3731ce016209946f1aeafcd
-SIZE (luals-lua-language-server-3.6.9_GH0.tar.gz) = 3293832
-SHA256 (actboy168-bee.lua-c4e989a_GH0.tar.gz) = 801cf72c57960293507d2fabe7b3686c9a1343977475cd0ddf72c6b7d841d663
-SIZE (actboy168-bee.lua-c4e989a_GH0.tar.gz) = 480401
-SHA256 (actboy168-bee.lua-eff9325_GH0.tar.gz) = 7c139b1b318a652f41414c677061ddf76e7ed723ca52bb73b83071568e43b229
-SIZE (actboy168-bee.lua-eff9325_GH0.tar.gz) = 480307
-SHA256 (actboy168-json.lua-b5f5e7b_GH0.tar.gz) = ee05dd78a08105d2599c6c100c71301bde20633938a4c198495183bfb305910b
-SIZE (actboy168-json.lua-b5f5e7b_GH0.tar.gz) = 12660
-SHA256 (actboy168-luamake-3d8d1fd_GH0.tar.gz) = 9166d4b6812e582b4a594780a62a99bb068e605980c4fea07811bb4ce519be49
-SIZE (actboy168-luamake-3d8d1fd_GH0.tar.gz) = 56409
-SHA256 (cppcxy-EmmyLuaCodeStyle-66eeece_GH0.tar.gz) = 4b16eefc26dc70d124d14aef45bb7b6cb828ab6dd0228a4a365b4fac4487e598
-SIZE (cppcxy-EmmyLuaCodeStyle-66eeece_GH0.tar.gz) = 4243029
-SHA256 (bjornbytes-lovr-docs-8900d79_GH0.tar.gz) = 33b6ab2ec5dd7d26733bf2757d3a2b382174fbea2f18a06159ef753944c88239
-SIZE (bjornbytes-lovr-docs-8900d79_GH0.tar.gz) = 18070542
-SHA256 (love2d-community-love-api-495ecc7_GH0.tar.gz) = 9d63ae5a7a180d2f8db6bc52407900089c15e00b64e0cda65309e548369d06c2
-SIZE (love2d-community-love-api-495ecc7_GH0.tar.gz) = 152170
-SHA256 (sqmedeiros-lpeglabel-e25eb35_GH0.tar.gz) = 07b7771490d7dbd2a5aedc165e01bc4a33ef0e0b2e274182f20ac212a98c0620
-SIZE (sqmedeiros-lpeglabel-e25eb35_GH0.tar.gz) = 83005
diff --git a/devel/lua-language-server/files/lua-language-server.in b/devel/lua-language-server/files/lua-language-server.in
deleted file mode 100644
index 3769af677064..000000000000
--- a/devel/lua-language-server/files/lua-language-server.in
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-TMPPATH=$(/usr/bin/mktemp -d '/tmp/lua-language-server.XXXXXX' || exit 1)
-
-exec '%%DATADIR%%/bin/lua-language-server' \
-    --logpath="${TMPPATH}/log" \
-    --metapath="${TMPPATH}/meta" \
-    "$@"
diff --git a/devel/lua-language-server/files/patch-3rd_bee.lua_compile_common.lua b/devel/lua-language-server/files/patch-3rd_bee.lua_compile_common.lua
deleted file mode 100644
index a5a69b25e78f..000000000000
--- a/devel/lua-language-server/files/patch-3rd_bee.lua_compile_common.lua
+++ /dev/null
@@ -1,30 +0,0 @@
---- 3rd/bee.lua/compile/common.lua.orig	2022-08-25 08:04:59 UTC
-+++ 3rd/bee.lua/compile/common.lua
-@@ -37,7 +37,7 @@ local function need(lst)
- end
- 
- lm:source_set "source_bee" {
--    includes = ".",
-+    includes = {"%%LOCALBASE%%/include", "."},
-     sources = "bee/**/*.cpp",
-     windows = {
-         sources = need "win"
-@@ -152,8 +152,9 @@ lm:lua_source "source_bee" {
-         sources = {
-             "!binding/lua_unicode.cpp",
-         },
-+        includes = "%%LOCALBASE%%/include",
-         links = "inotify",
--        ldflags = "-pthread"
-+        ldflags = {"-L%%LOCALBASE%%/lib", "-pthread"}
-     },
- }
- 
-@@ -191,6 +192,6 @@ lm:source_set 'source_lua' {
-         flags = "/wd4267"
-     },
-     gcc = {
--        flags = "-Wno-maybe-uninitialized",
-+        flags = "-Wno-uninitialized",
-     }
- }
diff --git a/devel/lua-language-server/files/patch-3rd_luamake_compile_ninja_freebsd.ninja b/devel/lua-language-server/files/patch-3rd_luamake_compile_ninja_freebsd.ninja
deleted file mode 100644
index 80e21ca065dc..000000000000
--- a/devel/lua-language-server/files/patch-3rd_luamake_compile_ninja_freebsd.ninja
+++ /dev/null
@@ -1,54 +0,0 @@
---- 3rd/luamake/compile/ninja/freebsd.ninja.orig	2023-01-31 14:25:23 UTC
-+++ 3rd/luamake/compile/ninja/freebsd.ninja
-@@ -2,7 +2,7 @@ ninja_required_version = 1.7
- builddir = build/freebsd
- bin = $builddir/bin
- obj = $builddir/obj
--cc = gcc
-+cc = %%CC%%
- luamake = luamake
- rule c_source_bee
-   command = $cc -MMD -MT $out -MF $out.d  -O2 -Wall -Werror $
-@@ -25,7 +25,7 @@ build $obj/source_bee/format.obj: cxx_source_bee $
- build $obj/source_bee/os.obj: cxx_source_bee 3rd/bee.lua/bee/nonstd/fmt/os.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 -o $out -c $in
-+    -Werror -fvisibility=hidden -I3rd/bee.lua -I%%LOCALBASE%%/include -DNDEBUG -o $out -c $in
-   description = Compile C++ $out
-   deps = gcc
-   depfile = $out.d
-@@ -51,7 +51,7 @@ build $obj/source_bee/path_helper.obj: cxx_source_bee_
- rule cxx_source_bee_2
-   command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $
-     -Werror -fvisibility=hidden -I3rd/bee.lua/3rd/lua-seri -I3rd/bee.lua $
--    -Itools/lua54 -DBEE_STATIC -DNDEBUG -o $out -c $in
-+    -Itools/lua54 -I%%LOCALBASE%%/include -DBEE_STATIC -DNDEBUG -o $out -c $in
-   description = Compile C++ $out
-   deps = gcc
-   depfile = $out.d
-@@ -81,7 +81,7 @@ build $obj/source_lua/utf8_crt.obj: c_source_lua $
-     3rd/bee.lua/3rd/lua/utf8_crt.c
- rule c_source_lua_1
-   command = $cc -MMD -MT $out -MF $out.d  -O2 -Wall -Werror -DMAKE_LIB $
--    -DLUA_USE_LINUX -DNDEBUG -Wno-maybe-uninitialized -o $out -c $in
-+    -DLUA_USE_LINUX -DNDEBUG -Wno-uninitialized -o $out -c $in
-   description = Compile C   $out
-   deps = gcc
-   depfile = $out.d
-@@ -99,8 +99,7 @@ build $obj/source_bootstrap/main.obj: cxx_source_boots
- build $obj/source_bootstrap/progdir.obj: cxx_source_bootstrap $
-     3rd/bee.lua/bootstrap/progdir.cpp
- rule link_luamake
--  command = $cc $in -o $out -lm -Wl,-E -linotify -pthread -Wl,-Bstatic $
--    -lstdc++ -Wl,-Bdynamic -static-libgcc -s
-+  command = $cc $in -o $out -lm -L%%LOCALBASE%%/lib -linotify -pthread -lstdc++ -s
-   description = Link    Exe $out
- build $bin/luamake: link_luamake $obj/source_bootstrap/main.obj $
-     $obj/source_bootstrap/progdir.obj $obj/source_bee/lua-seri.obj $
-@@ -143,4 +142,4 @@ build copy_script: phony $bin/main.lua
- build test: phony $obj/test.stamp
- build copy_luamake: phony luamake
- build notest: phony copy_luamake
--default test notest
-+default notest
diff --git a/devel/lua-language-server/files/patch-make.lua b/devel/lua-language-server/files/patch-make.lua
deleted file mode 100644
index d5a2d40ab0cb..000000000000
--- a/devel/lua-language-server/files/patch-make.lua
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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"
- }
diff --git a/devel/lua-language-server/pkg-descr b/devel/lua-language-server/pkg-descr
deleted file mode 100644
index 46f3d7de1b46..000000000000
--- a/devel/lua-language-server/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-The Sumneko Lua Language Server is a comprehensive Lua development
-server. It functions as an LSP client, supporting:
-
-* Over 20 supported annotations for documenting your code
-* Go to definition
-* Dynamic type checking
-* Find references
-* Diagnostics/Warnings
-* Syntax checking
-* Element renaming
-* Hover to view details on variables, functions, and more
-* Autocompletion
-* Support for libraries
-* Code formatting
-* Spell checking
-* Custom plugins