forked from pool/lua-language-server
Accepting request 1005755 from home:uncomfyhalomacro:branches:devel:languages:lua
- Update to version 3.5.6: * fix #1506 * meta template: luajit add cdata type * fix #1537 * Replace old variable return syntax * fix: string.match return type * string.find returns any for now * update submodules * update 3rd-api - Remove time_includes.patch OBS-URL: https://build.opensuse.org/request/show/1005755 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=25
This commit is contained in:
parent
577fab7868
commit
ce91409c89
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0d79ec00291cfe65d24c99d5d06566ef4f776ed48df482428bc711e133e50f6b
|
|
||||||
size 3108887
|
|
3
3.5.6.tar.gz
Normal file
3
3.5.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8370df4cac05677028cff36743795b3d63be2a1d033e8b7d16c8d553563c2ee7
|
||||||
|
size 3133740
|
4
_service
4
_service
@ -4,14 +4,14 @@
|
|||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="revision">505ed9411939fe8c45903e3c9ce559fde50a0584</param>
|
<param name="revision">16f4d9c</param>
|
||||||
<param name="versionrewrite-pattern">(.*)</param>
|
<param name="versionrewrite-pattern">(.*)</param>
|
||||||
<param name="versionrewrite-replacement">\1</param>
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="download_url" mode="disabled">
|
<service name="download_url" mode="disabled">
|
||||||
<param name="protocol">https</param>
|
<param name="protocol">https</param>
|
||||||
<param name="host">github.com</param>
|
<param name="host">github.com</param>
|
||||||
<param name="path">sumneko/lua-language-server/releases/download/3.2.4/lua-language-server-3.2.4-submodules.zip</param>
|
<param name="path">sumneko/lua-language-server/releases/download/3.5.6/lua-language-server-3.5.6-submodules.zip</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="tar" mode="disabled" />
|
<service name="tar" mode="disabled" />
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b8dbbd7834fb338a36426b11f8f2cac7c995e7ccf846ac0a5a02b8c7d3b55344
|
|
||||||
size 30544939
|
|
3
lua-language-server-3.5.6-submodules.zip
Normal file
3
lua-language-server-3.5.6-submodules.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e93879645e8fd7de8b434f8db4825e29960806805f1612f34765a359251e1059
|
||||||
|
size 30682527
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 24 10:17:33 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 3.5.6:
|
||||||
|
* fix #1506
|
||||||
|
* meta template: luajit add cdata type
|
||||||
|
* fix #1537
|
||||||
|
* Replace old variable return syntax
|
||||||
|
* fix: string.match return type
|
||||||
|
* string.find returns any for now
|
||||||
|
* update submodules
|
||||||
|
* update 3rd-api
|
||||||
|
|
||||||
|
- Remove time_includes.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 26 00:08:48 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Tue Jul 26 00:08:48 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: lua-language-server
|
Name: lua-language-server
|
||||||
Version: 3.5.0
|
Version: 3.5.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Lua Language Server coded by Lua
|
Summary: Lua Language Server coded by Lua
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -31,7 +31,7 @@ Source2: lua-lsp-launcher.sh
|
|||||||
Source3: README.suse-maint.md
|
Source3: README.suse-maint.md
|
||||||
# PATCH-FIX-UPSTREAM time_includes.patch gh#sumneko/lua-language-server#1377 mcepl@suse.com
|
# PATCH-FIX-UPSTREAM time_includes.patch gh#sumneko/lua-language-server#1377 mcepl@suse.com
|
||||||
# Add missing #include
|
# Add missing #include
|
||||||
Patch0: time_includes.patch
|
# Patch0: time_includes.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: ninja
|
BuildRequires: ninja
|
||||||
@ -42,7 +42,7 @@ ExcludeArch: s390x ppc64le ppc64
|
|||||||
This package provides a Language Server Protocol (LSP) implementation for Lua.
|
This package provides a Language Server Protocol (LSP) implementation for Lua.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -c
|
%autosetup -c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
From e9ba0461065b94f3b0611cf6b5e2d88994cfa124 Mon Sep 17 00:00:00 2001
|
|
||||||
From: actboy168 <actboy168@gmail.com>
|
|
||||||
Date: Mon, 25 Jul 2022 09:42:26 +0800
|
|
||||||
Subject: [PATCH] fixes #1377
|
|
||||||
|
|
||||||
---
|
|
||||||
3rd/bee.lua/binding/lua_time.cpp | 2 ++
|
|
||||||
3rd/luamake/3rd/bee.lua/binding/lua_time.cpp | 2 ++
|
|
||||||
luamake/3rd/bee.lua/binding/lua_time.cpp | 2 ++
|
|
||||||
3 files changed, 6 insertions(+)
|
|
||||||
|
|
||||||
--- a/3rd/bee.lua/binding/lua_time.cpp
|
|
||||||
+++ b/3rd/bee.lua/binding/lua_time.cpp
|
|
||||||
@@ -2,6 +2,8 @@
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#include <Windows.h>
|
|
||||||
+#else
|
|
||||||
+#include <time.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace bee::lua_time {
|
|
||||||
--- a/3rd/luamake/3rd/bee.lua/binding/lua_time.cpp
|
|
||||||
+++ b/3rd/luamake/3rd/bee.lua/binding/lua_time.cpp
|
|
||||||
@@ -2,6 +2,8 @@
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#include <Windows.h>
|
|
||||||
+#else
|
|
||||||
+#include <time.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace bee::lua_time {
|
|
||||||
--- a/luamake/3rd/bee.lua/binding/lua_time.cpp
|
|
||||||
+++ b/luamake/3rd/bee.lua/binding/lua_time.cpp
|
|
||||||
@@ -2,6 +2,8 @@
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#include <Windows.h>
|
|
||||||
+#else
|
|
||||||
+#include <time.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace bee::lua_time {
|
|
Loading…
x
Reference in New Issue
Block a user