* [PR PATCH] lua52-compat53: fix cross
@ 2025-01-02 9:13 Luciogi
2025-01-02 9:15 ` [PR PATCH] [Updated] " Luciogi
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: Luciogi @ 2025-01-02 9:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
There is a new pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages lua-compat53
https://github.com/void-linux/void-packages/pull/53801
lua52-compat53: fix cross
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64
A patch file from https://github.com/void-linux/void-packages/pull/53801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lua-compat53-53801.patch --]
[-- Type: text/x-diff, Size: 872 bytes --]
From dae2f31ec625e85f119619b8da6192d384504b6b Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 14:09:22 +0500
Subject: [PATCH] lua52-compat53: fix cross
---
srcpkgs/lua52-compat53/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/lua52-compat53/template b/srcpkgs/lua52-compat53/template
index 9c9386654384de..3cba7d09563058 100644
--- a/srcpkgs/lua52-compat53/template
+++ b/srcpkgs/lua52-compat53/template
@@ -14,6 +14,11 @@ checksum=f5dc30e7b1fda856ee4d392be457642c1f0c259264a9b9bfbcb680302ce88fc2
_rockname=${pkgname#lua52-}
_rocksrel=1
+
+if [ $CROSS_BUILD ]; then
+ hostmakedepends+=" ${makedepends}"
+fi
+
_package() {
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] lua52-compat53: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
@ 2025-01-02 9:15 ` Luciogi
2025-01-02 10:12 ` Luciogi
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2025-01-02 9:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages lua-compat53
https://github.com/void-linux/void-packages/pull/53801
lua52-compat53: fix cross
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64
A patch file from https://github.com/void-linux/void-packages/pull/53801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lua-compat53-53801.patch --]
[-- Type: text/x-diff, Size: 871 bytes --]
From 9bedf9d43919688b2c447e8b352ee610fab8f152 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 14:09:22 +0500
Subject: [PATCH] lua52-compat53: fix cross
---
srcpkgs/lua52-compat53/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/lua52-compat53/template b/srcpkgs/lua52-compat53/template
index 9c9386654384de..8a6dc513251c19 100644
--- a/srcpkgs/lua52-compat53/template
+++ b/srcpkgs/lua52-compat53/template
@@ -14,6 +14,11 @@ checksum=f5dc30e7b1fda856ee4d392be457642c1f0c259264a9b9bfbcb680302ce88fc2
_rockname=${pkgname#lua52-}
_rocksrel=1
+
+if [ $CROSS_BUILD ]; then
+ hostmakedepends+=" ${makedepends}"
+fi
+
_package() {
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] lua52-compat53: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
2025-01-02 9:15 ` [PR PATCH] [Updated] " Luciogi
@ 2025-01-02 10:12 ` Luciogi
2025-01-02 10:16 ` Luciogi
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2025-01-02 10:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages lua-compat53
https://github.com/void-linux/void-packages/pull/53801
lua52-compat53: fix cross
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64
A patch file from https://github.com/void-linux/void-packages/pull/53801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lua-compat53-53801.patch --]
[-- Type: text/x-diff, Size: 2584 bytes --]
From 9bedf9d43919688b2c447e8b352ee610fab8f152 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 14:09:22 +0500
Subject: [PATCH 1/3] lua52-compat53: fix cross
---
srcpkgs/lua52-compat53/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/lua52-compat53/template b/srcpkgs/lua52-compat53/template
index 9c9386654384de..8a6dc513251c19 100644
--- a/srcpkgs/lua52-compat53/template
+++ b/srcpkgs/lua52-compat53/template
@@ -14,6 +14,11 @@ checksum=f5dc30e7b1fda856ee4d392be457642c1f0c259264a9b9bfbcb680302ce88fc2
_rockname=${pkgname#lua52-}
_rocksrel=1
+
+if [ $CROSS_BUILD ]; then
+ hostmakedepends+=" ${makedepends}"
+fi
+
_package() {
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
From ab8c89307415cc3bba1955d1bdda36e29418796f Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 15:11:51 +0500
Subject: [PATCH 2/3] lua54-linenoise: fix cross
---
srcpkgs/lua54-linenoise/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/lua54-linenoise/template b/srcpkgs/lua54-linenoise/template
index 8505d1c3334ec5..b9e6852cc86680 100644
--- a/srcpkgs/lua54-linenoise/template
+++ b/srcpkgs/lua54-linenoise/template
@@ -14,6 +14,11 @@ checksum=cc1cdb4047edd056a10dcdeec853dbaf5088e2202941d579e4592584d733f09c
_rockname=${pkgname#lua54-}
_rocksrel=1
+
+if [ $CROSS_BUILD ]; then
+ hostmakedepends+=" ${makedepends}"
+fi
+
_package() {
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
make --deps-mode=none --no-manifest "${_rockname}-${version}-${_rocksrel}.rockspec"
From 09f3ba8d4ef4feb02b746674eb3245af98f73af3 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 15:12:12 +0500
Subject: [PATCH 3/3] lua54-luautf: fix cross
---
srcpkgs/lua54-luautf8/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/lua54-luautf8/template b/srcpkgs/lua54-luautf8/template
index 909d6b9e57f106..0c3a65af6f66bf 100644
--- a/srcpkgs/lua54-luautf8/template
+++ b/srcpkgs/lua54-luautf8/template
@@ -14,7 +14,7 @@ checksum=f4bddecc87521c53d37c09b9e9edd70a4ab35b0074040f303cbe3a0e088af21c
_lua_versions="lua5.1 lua5.2 lua5.3 lua5.4"
for _lua_version in $_lua_versions; do
- hostmakedepends+=" ${_lua_version/./}"
+ hostmakedepends+=" ${_lua_version/./} ${_lua_version/./}-devel"
makedepends+=" ${_lua_version/./}-devel"
done
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] lua52-compat53: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
2025-01-02 9:15 ` [PR PATCH] [Updated] " Luciogi
2025-01-02 10:12 ` Luciogi
@ 2025-01-02 10:16 ` Luciogi
2025-01-02 12:06 ` lua52-compat53, lua54-luautf8, lua54-luautf8: " Johnnynator
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2025-01-02 10:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages lua-compat53
https://github.com/void-linux/void-packages/pull/53801
lua52-compat53: fix cross
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64
A patch file from https://github.com/void-linux/void-packages/pull/53801.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lua-compat53-53801.patch --]
[-- Type: text/x-diff, Size: 2585 bytes --]
From 9bedf9d43919688b2c447e8b352ee610fab8f152 Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 14:09:22 +0500
Subject: [PATCH 1/3] lua52-compat53: fix cross
---
srcpkgs/lua52-compat53/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/lua52-compat53/template b/srcpkgs/lua52-compat53/template
index 9c9386654384de..8a6dc513251c19 100644
--- a/srcpkgs/lua52-compat53/template
+++ b/srcpkgs/lua52-compat53/template
@@ -14,6 +14,11 @@ checksum=f5dc30e7b1fda856ee4d392be457642c1f0c259264a9b9bfbcb680302ce88fc2
_rockname=${pkgname#lua52-}
_rocksrel=1
+
+if [ $CROSS_BUILD ]; then
+ hostmakedepends+=" ${makedepends}"
+fi
+
_package() {
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
From ab8c89307415cc3bba1955d1bdda36e29418796f Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 15:11:51 +0500
Subject: [PATCH 2/3] lua54-linenoise: fix cross
---
srcpkgs/lua54-linenoise/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/lua54-linenoise/template b/srcpkgs/lua54-linenoise/template
index 8505d1c3334ec5..b9e6852cc86680 100644
--- a/srcpkgs/lua54-linenoise/template
+++ b/srcpkgs/lua54-linenoise/template
@@ -14,6 +14,11 @@ checksum=cc1cdb4047edd056a10dcdeec853dbaf5088e2202941d579e4592584d733f09c
_rockname=${pkgname#lua54-}
_rocksrel=1
+
+if [ $CROSS_BUILD ]; then
+ hostmakedepends+=" ${makedepends}"
+fi
+
_package() {
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
make --deps-mode=none --no-manifest "${_rockname}-${version}-${_rocksrel}.rockspec"
From 0804fad98407ef2342972844ce007fc685b3e69a Mon Sep 17 00:00:00 2001
From: Luciogi <githubvoidlinux.supremacy429@passinbox.com>
Date: Thu, 2 Jan 2025 15:12:12 +0500
Subject: [PATCH 3/3] lua54-luautf8: fix cross
---
srcpkgs/lua54-luautf8/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/lua54-luautf8/template b/srcpkgs/lua54-luautf8/template
index 909d6b9e57f106..0c3a65af6f66bf 100644
--- a/srcpkgs/lua54-luautf8/template
+++ b/srcpkgs/lua54-luautf8/template
@@ -14,7 +14,7 @@ checksum=f4bddecc87521c53d37c09b9e9edd70a4ab35b0074040f303cbe3a0e088af21c
_lua_versions="lua5.1 lua5.2 lua5.3 lua5.4"
for _lua_version in $_lua_versions; do
- hostmakedepends+=" ${_lua_version/./}"
+ hostmakedepends+=" ${_lua_version/./} ${_lua_version/./}-devel"
makedepends+=" ${_lua_version/./}-devel"
done
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
` (2 preceding siblings ...)
2025-01-02 10:16 ` Luciogi
@ 2025-01-02 12:06 ` Johnnynator
2025-01-02 12:52 ` Johnnynator
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Johnnynator @ 2025-01-02 12:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/53801#issuecomment-2567676905
Comment:
Shouldn't these template just set `luarocks config --lua-version="$1" variables.LUA_INCDIR "${XBPS_CROSS_BASE}/usr/include/lua$1"` in `package()` like you did in `lua51-luasocket`?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
` (3 preceding siblings ...)
2025-01-02 12:06 ` lua52-compat53, lua54-luautf8, lua54-luautf8: " Johnnynator
@ 2025-01-02 12:52 ` Johnnynator
2025-01-02 13:09 ` Johnnynator
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Johnnynator @ 2025-01-02 12:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 240 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/53801#issuecomment-2567731313
Comment:
Mh.. `luarocks config` has a big problem, it will taint the masterdir outside of build/destdir
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
` (4 preceding siblings ...)
2025-01-02 12:52 ` Johnnynator
@ 2025-01-02 13:09 ` Johnnynator
2025-01-02 13:15 ` [PR PATCH] [Closed]: " Johnnynator
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Johnnynator @ 2025-01-02 13:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/53801#issuecomment-2567751883
Comment:
https://github.com/void-linux/void-packages/pull/53804
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Closed]: lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
` (5 preceding siblings ...)
2025-01-02 13:09 ` Johnnynator
@ 2025-01-02 13:15 ` Johnnynator
2025-01-02 13:44 ` Luciogi
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Johnnynator @ 2025-01-02 13:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
There's a closed pull request on the void-packages repository
lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
https://github.com/void-linux/void-packages/pull/53801
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
` (6 preceding siblings ...)
2025-01-02 13:15 ` [PR PATCH] [Closed]: " Johnnynator
@ 2025-01-02 13:44 ` Luciogi
2025-01-02 13:55 ` Johnnynator
2025-01-02 14:25 ` Luciogi
9 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2025-01-02 13:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
New comment by Luciogi on void-packages repository
https://github.com/void-linux/void-packages/pull/53801#issuecomment-2567797066
Comment:
you approach is worked
i could not found good documentation hint, that you can pass variable to luarock directly
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
` (7 preceding siblings ...)
2025-01-02 13:44 ` Luciogi
@ 2025-01-02 13:55 ` Johnnynator
2025-01-02 14:25 ` Luciogi
9 siblings, 0 replies; 11+ messages in thread
From: Johnnynator @ 2025-01-02 13:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/53801#issuecomment-2567812921
Comment:
```
Variables:
Variables from the "variables" table of the configuration file can be
overridden with VAR=VALUE assignments.
```
at the end of `luarocks --help` (but easy to miss)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: lua52-compat53, lua54-luautf8, lua54-luautf8: fix cross
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
` (8 preceding siblings ...)
2025-01-02 13:55 ` Johnnynator
@ 2025-01-02 14:25 ` Luciogi
9 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2025-01-02 14:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
New comment by Luciogi on void-packages repository
https://github.com/void-linux/void-packages/pull/53801#issuecomment-2567797066
Comment:
your approach is worked
i could not found good documentation hint, that you can pass variable to luarock directly
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-01-02 14:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-02 9:13 [PR PATCH] lua52-compat53: fix cross Luciogi
2025-01-02 9:15 ` [PR PATCH] [Updated] " Luciogi
2025-01-02 10:12 ` Luciogi
2025-01-02 10:16 ` Luciogi
2025-01-02 12:06 ` lua52-compat53, lua54-luautf8, lua54-luautf8: " Johnnynator
2025-01-02 12:52 ` Johnnynator
2025-01-02 13:09 ` Johnnynator
2025-01-02 13:15 ` [PR PATCH] [Closed]: " Johnnynator
2025-01-02 13:44 ` Luciogi
2025-01-02 13:55 ` Johnnynator
2025-01-02 14:25 ` Luciogi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).