SHA256
10
0
forked from pool/luajit2

Compare commits

14 Commits

Author SHA256 Message Date
f14ef0d82f - Updated to 2.1.20250529 (1748495995).
* Changed file luajit2-name.patch.
  * https://github.com/openresty/luajit2/compare/v2.1-20250117...v2.1-20250529
2025-07-09 13:36:55 +02:00
2bb540db63 Accepting request 1238655 from devel:languages:lua
- Updated to 2.1.20250117 (1737090214).
  * Changed file luajit2-name.patch.
  * https://github.com/openresty/luajit2/compare/v2.1-20241203...v2.1-20250117
  * Fixed recording of BC_VARG.

OBS-URL: https://build.opensuse.org/request/show/1238655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=7
2025-01-18 12:22:41 +00:00
4a272a2270 Accepting request 1225972 from devel:languages:lua
- Updated to 2.1.20241113 (2.1.1731486438).
  * Upstream doesn't provide a ChangeLog.

OBS-URL: https://build.opensuse.org/request/show/1225972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=6
2024-11-25 22:20:01 +00:00
Илья Индиго
91d46ac4c3 - Updated to 2.1.20241113 (2.1.1731486438).
* Upstream doesn't provide a ChangeLog.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=11
2024-11-23 13:22:34 +00:00
9629606a19 Accepting request 1222025 from devel:languages:lua
- Updated to 2.1.20241104 (2.1.1728714540).
  * FFI: Added missing coercion when recording 64-bit bit.*().
  * ARM64: Used ldr literal to load FP constants.

OBS-URL: https://build.opensuse.org/request/show/1222025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=5
2024-11-07 15:28:07 +00:00
Илья Индиго
d03ca043d2 - Updated to 2.1.20241104 (2.1.1728714540).
* FFI: Added missing coercion when recording 64-bit bit.*().
  * ARM64: Used ldr literal to load FP constants.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=9
2024-11-07 08:05:04 +00:00
3079835579 Accepting request 1196383 from devel:languages:lua
- Updated to 2.1.20240815 (2.1.1723681758).
  * Changed file luajit2-name.patch.
  * Added ppc64le support.

OBS-URL: https://build.opensuse.org/request/show/1196383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=4
2024-08-28 19:30:29 +00:00
Илья Индиго
b38f8d3867 - Updated to 2.1.20240815 (2.1.1723681758).
* Changed file luajit2-name.patch.
  * Added ppc64le support.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=7
2024-08-28 04:00:36 +00:00
f900bac256 Accepting request 1173007 from devel:languages:lua
- Changed file luajit2-name.patch and fixed package.path for modules.

OBS-URL: https://build.opensuse.org/request/show/1173007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=3
2024-05-10 10:05:39 +00:00
Илья Индиго
ab9229b6ce Accepting request 1173006 from home:13ilya
- Changed file luajit2-name.patch and fixed package.path for modules.

OBS-URL: https://build.opensuse.org/request/show/1173006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=5
2024-05-10 04:12:58 +00:00
12d76cf9fd Accepting request 1171854 from devel:languages:lua
- Removed %check (tests don't run, and it's not known how to run them).

OBS-URL: https://build.opensuse.org/request/show/1171854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=2
2024-05-05 10:10:54 +00:00
Илья Индиго
0bbe70fbad Accepting request 1171853 from home:13ilya
- Removed %check (tests don't run, and it's not known how to run them).

OBS-URL: https://build.opensuse.org/request/show/1171853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=3
2024-05-03 21:50:25 +00:00
f9e8d4112c Accepting request 1171749 from devel:languages:lua
Need for nxinx-module-lua

OBS-URL: https://build.opensuse.org/request/show/1171749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=1
2024-05-03 17:46:19 +00:00
63921fdf21 Accepting request 1171061 from home:13ilya
Trying again. :-)

I think I figured out what confusion in the title you were referring to.
In luajit2 from OpenResty only the project directory and another internal version are renamed.
But everything else, library name, executable name, directory with header files, pc-file and even man-file remained unchanged.
This is what is really confusing and makes lualit2 incompatible with luajit.

I fixed this in the patch luajit2-name.patch and now luajit2 is not dependent on or related to luajit in any way, except for the html documentation, it has its own executable, library and header file directory names.
Also pc and man files have been corrected.
Now it does not conflict with luajit and can be installed simultaneously with luajit without interfering with it.
By accident something intended to be built with luajit can NOT be built with luajit2!

As for the openresty package, I strongly recommend to remove it after adopting luajit2, as nobody needs it as it is!

About the tests, upstream didn't document how to use them correctly, so I decided to check with them, I hope I guessed correctly.

https://github.com/openresty/luajit2/issues/226

Leap has a too old version of perl and they can only work in Tumbleweed.

If you have any constructive comments, I'm willing to discuss them. :-)

OBS-URL: https://build.opensuse.org/request/show/1171061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=1
2024-05-03 06:51:00 +00:00
8 changed files with 13 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3efddc4104a0ce720ddf4da3d9bce927f3c5816a8a45a043462ca58914cde271
size 1162566

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e59ec13c301c8b2855838b1248def49ef348a3e7563fabef677431706718145
size 1163521

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:197a5eb626bc9e0c19dcb025a190735ca1e23890606204bd9ef4c9828d5c4d4a
size 1163274

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b269f3a55c420e5a286bbd6b8ef8a5425dbcb4194fa2beb9e22eea277cd6638
size 1163373

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68ff3dc2cc97969f7385679da7c9ff96738aa9cc275fa6bab77316eb3340ea8e
size 1163528

BIN
luajit2-2.1-20250529.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jul 9 09:39:48 UTC 2025 - Илья Индиго <ilya@ilya.top>
- Updated to 2.1.20250529 (1748495995).
* Changed file luajit2-name.patch.
* https://github.com/openresty/luajit2/compare/v2.1-20250117...v2.1-20250529
-------------------------------------------------------------------
Sat Jan 18 10:16:26 UTC 2025 - Илья Индиго <ilya@ilya.top>

View File

@@ -20,8 +20,8 @@
%define so_ver 2
%define lib_ver 5_1-%{so_ver}
%define major 2.1
%define minor 20250117
%define upstream 1737090214
%define minor 20250529
%define upstream 1748495995
Name: luajit2
Version: %{major}.%{minor}
Release: 0
@@ -75,8 +75,7 @@ Devel files for %{name} package.
PREFIX=%{_prefix} \
MULTILIB=%{_lib}
%post -n lib%{name}-%{lib_ver} -p /sbin/ldconfig
%postun -n lib%{name}-%{lib_ver} -p /sbin/ldconfig
%ldconfig_scriptlets -n lib%{name}-%{lib_ver}
%files
%{_bindir}/%{name}