Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: tcl-Ffidl-0.9
@ 2024-04-15 14:27 Eloitor
  2024-04-15 14:28 ` [PR PATCH] [Updated] " Eloitor
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Eloitor @ 2024-04-15 14:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

There is a new pull request by Eloitor against master on the void-packages repository

https://github.com/Eloitor/void-packages tcl-Ffidl
https://github.com/void-linux/void-packages/pull/49850

New package: tcl-Ffidl-0.9
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This can be tested with: [qsort_ffidl.tcl.txt](https://github.com/void-linux/void-packages/files/14980433/qsort_ffidl.tcl.txt)


A patch file from https://github.com/void-linux/void-packages/pull/49850.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tcl-Ffidl-49850.patch --]
[-- Type: text/x-diff, Size: 1110 bytes --]

From 41695a9724f67a0ba43756a5fc3bdfaa2413d29d Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 15 Apr 2024 19:24:55 +0200
Subject: [PATCH] New package: tcl-Ffidl-0.9

---
 srcpkgs/tcl-Ffidl/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/tcl-Ffidl/template

diff --git a/srcpkgs/tcl-Ffidl/template b/srcpkgs/tcl-Ffidl/template
new file mode 100644
index 00000000000000..85cd11f482b0fb
--- /dev/null
+++ b/srcpkgs/tcl-Ffidl/template
@@ -0,0 +1,18 @@
+# Template file for 'tcl-Ffidl'
+pkgname=tcl-Ffidl
+version=0.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="tcl-devel libffi-devel"
+short_desc="Extend Tcl without extensions"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://prs-de.github.io/ffidl"
+changelog="ihttps://prs-de.github.io/ffidl/#changelog"
+distfiles="https://github.com/prs-de/ffidl/archive/refs/tags/${version}.tar.gz"
+checksum=756baf3e57385cdd0656bf1e4e7556b520ef27c733275753818411c733bd5983
+
+post_install() {
+	vlicense ilicense.terms
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: tcl-Ffidl-0.9
  2024-04-15 14:27 [PR PATCH] New package: tcl-Ffidl-0.9 Eloitor
@ 2024-04-15 14:28 ` Eloitor
  2024-04-15 14:31 ` Eloitor
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2024-04-15 14:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

There is an updated pull request by Eloitor against master on the void-packages repository

https://github.com/Eloitor/void-packages tcl-Ffidl
https://github.com/void-linux/void-packages/pull/49850

New package: tcl-Ffidl-0.9
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This can be tested with: [qsort_ffidl.tcl.txt](https://github.com/void-linux/void-packages/files/14980433/qsort_ffidl.tcl.txt)


A patch file from https://github.com/void-linux/void-packages/pull/49850.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tcl-Ffidl-49850.patch --]
[-- Type: text/x-diff, Size: 1109 bytes --]

From 2c3a42d2c6424929ea731ffe7349edc7dc220903 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 15 Apr 2024 19:24:55 +0200
Subject: [PATCH] New package: tcl-Ffidl-0.9

---
 srcpkgs/tcl-Ffidl/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/tcl-Ffidl/template

diff --git a/srcpkgs/tcl-Ffidl/template b/srcpkgs/tcl-Ffidl/template
new file mode 100644
index 00000000000000..027b62a59ed441
--- /dev/null
+++ b/srcpkgs/tcl-Ffidl/template
@@ -0,0 +1,18 @@
+# Template file for 'tcl-Ffidl'
+pkgname=tcl-Ffidl
+version=0.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="tcl-devel libffi-devel"
+short_desc="Extend Tcl without extensions"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://prs-de.github.io/ffidl"
+changelog="ihttps://prs-de.github.io/ffidl/#changelog"
+distfiles="https://github.com/prs-de/ffidl/archive/refs/tags/${version}.tar.gz"
+checksum=756baf3e57385cdd0656bf1e4e7556b520ef27c733275753818411c733bd5983
+
+post_install() {
+	vlicense license.terms
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: tcl-Ffidl-0.9
  2024-04-15 14:27 [PR PATCH] New package: tcl-Ffidl-0.9 Eloitor
  2024-04-15 14:28 ` [PR PATCH] [Updated] " Eloitor
@ 2024-04-15 14:31 ` Eloitor
  2024-04-15 14:34 ` Eloitor
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2024-04-15 14:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

There is an updated pull request by Eloitor against master on the void-packages repository

https://github.com/Eloitor/void-packages tcl-Ffidl
https://github.com/void-linux/void-packages/pull/49850

New package: tcl-Ffidl-0.9
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This can be tested with: [qsort_ffidl.tcl.txt](https://github.com/void-linux/void-packages/files/14980433/qsort_ffidl.tcl.txt)


A patch file from https://github.com/void-linux/void-packages/pull/49850.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tcl-Ffidl-49850.patch --]
[-- Type: text/x-diff, Size: 1113 bytes --]

From c8c9f9c4cb8999639840acc68efd86bfba9cc07e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 15 Apr 2024 19:24:55 +0200
Subject: [PATCH] New package: tcl-Ffidl-0.9

---
 srcpkgs/tcl-Ffidl/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/tcl-Ffidl/template

diff --git a/srcpkgs/tcl-Ffidl/template b/srcpkgs/tcl-Ffidl/template
new file mode 100644
index 00000000000000..82c85618028db1
--- /dev/null
+++ b/srcpkgs/tcl-Ffidl/template
@@ -0,0 +1,18 @@
+# Template file for 'tcl-Ffidl'
+pkgname=tcl-Ffidl
+version=0.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config tcl"
+makedepends="tcl-devel libffi-devel"
+short_desc="Extend Tcl without extensions"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://prs-de.github.io/ffidl"
+changelog="ihttps://prs-de.github.io/ffidl/#changelog"
+distfiles="https://github.com/prs-de/ffidl/archive/refs/tags/${version}.tar.gz"
+checksum=756baf3e57385cdd0656bf1e4e7556b520ef27c733275753818411c733bd5983
+
+post_install() {
+	vlicense license.terms
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: tcl-Ffidl-0.9
  2024-04-15 14:27 [PR PATCH] New package: tcl-Ffidl-0.9 Eloitor
  2024-04-15 14:28 ` [PR PATCH] [Updated] " Eloitor
  2024-04-15 14:31 ` Eloitor
@ 2024-04-15 14:34 ` Eloitor
  2024-04-15 14:37 ` Eloitor
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2024-04-15 14:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

There is an updated pull request by Eloitor against master on the void-packages repository

https://github.com/Eloitor/void-packages tcl-Ffidl
https://github.com/void-linux/void-packages/pull/49850

New package: tcl-Ffidl-0.9
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This can be tested with: [qsort_ffidl.tcl.txt](https://github.com/void-linux/void-packages/files/14980433/qsort_ffidl.tcl.txt)


A patch file from https://github.com/void-linux/void-packages/pull/49850.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tcl-Ffidl-49850.patch --]
[-- Type: text/x-diff, Size: 1119 bytes --]

From e11ebfdb5a362f93a65abed50bc2cb3546496f0f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 15 Apr 2024 19:24:55 +0200
Subject: [PATCH] New package: tcl-Ffidl-0.9

---
 srcpkgs/tcl-Ffidl/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/tcl-Ffidl/template

diff --git a/srcpkgs/tcl-Ffidl/template b/srcpkgs/tcl-Ffidl/template
new file mode 100644
index 00000000000000..9eced7ce7d72f2
--- /dev/null
+++ b/srcpkgs/tcl-Ffidl/template
@@ -0,0 +1,18 @@
+# Template file for 'tcl-Ffidl'
+pkgname=tcl-Ffidl
+version=0.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config tcl-devel"
+makedepends="tcl-devel libffi-devel"
+short_desc="Extend Tcl without extensions"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://prs-de.github.io/ffidl"
+changelog="ihttps://prs-de.github.io/ffidl/#changelog"
+distfiles="https://github.com/prs-de/ffidl/archive/refs/tags/${version}.tar.gz"
+checksum=756baf3e57385cdd0656bf1e4e7556b520ef27c733275753818411c733bd5983
+
+post_install() {
+	vlicense license.terms
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: tcl-Ffidl-0.9
  2024-04-15 14:27 [PR PATCH] New package: tcl-Ffidl-0.9 Eloitor
                   ` (2 preceding siblings ...)
  2024-04-15 14:34 ` Eloitor
@ 2024-04-15 14:37 ` Eloitor
  2024-04-15 22:46 ` iFoundSilentHouse
  2024-04-16  7:45 ` [PR PATCH] [Updated] " Eloitor
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2024-04-15 14:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/49850#issuecomment-2057021025

Comment:
I don't know how to make it cross compile...

`checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /builddir/tcl-8.6.13`

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: tcl-Ffidl-0.9
  2024-04-15 14:27 [PR PATCH] New package: tcl-Ffidl-0.9 Eloitor
                   ` (3 preceding siblings ...)
  2024-04-15 14:37 ` Eloitor
@ 2024-04-15 22:46 ` iFoundSilentHouse
  2024-04-16  7:45 ` [PR PATCH] [Updated] " Eloitor
  5 siblings, 0 replies; 7+ messages in thread
From: iFoundSilentHouse @ 2024-04-15 22:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1763 bytes --]

New comment by iFoundSilentHouse on void-packages repository

https://github.com/void-linux/void-packages/pull/49850#issuecomment-2057937876

Comment:
1) add all of dependencies in hostmakedepends
2) Fix patch that makes compiler think it's windows
```
checking platform... checking for cygpath... echo
windows
```
The easiest option (it should be enough for void):
```
diff --git a/configure b/configure
index 1970ae6..8607443 100755
--- a/configure
+++ b/configure
@@ -3758,7 +3758,7 @@ if ac_fn_c_try_compile "$LINENO"; then :

 else

-           TEA_PLATFORM="windows"
+           TEA_PLATFORM="unix"
            # Extract the first word of "cygpath", so it can be a program name with args.
 set dummy cygpath; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
```
3) Fix another error:
```
aarch64-linux-gnu-gcc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a   -I/usr/aarch64-linux-gnu/usr/include -ffile-prefix-map=/builddir/tcl-Ffidl-0.9=. -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC    -Wl,-z,relro -Wl,-z,now -Wl,--as-needed    -L/usr/aarch64-linux-gnu/usr/lib -Wl,--export-dynamic  -shared -o libFfidl0.9.so ffidl.o ffidl_test.o  /usr/lib/libffi.a  -L/usr/lib64 -ltclstub8.6
[cc-wrapper] ignoring -L/usr/lib64
/usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a(prep_cif.o): Relocations
in generic ELF (EM: 62)
/usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a(prep_cif.o): Relocations
in generic ELF (EM: 62)
/usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a: error adding symbols: file in wrong format
```
I don't even know now

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: tcl-Ffidl-0.9
  2024-04-15 14:27 [PR PATCH] New package: tcl-Ffidl-0.9 Eloitor
                   ` (4 preceding siblings ...)
  2024-04-15 22:46 ` iFoundSilentHouse
@ 2024-04-16  7:45 ` Eloitor
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2024-04-16  7:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

There is an updated pull request by Eloitor against master on the void-packages repository

https://github.com/Eloitor/void-packages tcl-Ffidl
https://github.com/void-linux/void-packages/pull/49850

New package: tcl-Ffidl-0.9
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This can be tested with: [qsort_ffidl.tcl.txt](https://github.com/void-linux/void-packages/files/14980433/qsort_ffidl.tcl.txt)


A patch file from https://github.com/void-linux/void-packages/pull/49850.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tcl-Ffidl-49850.patch --]
[-- Type: text/x-diff, Size: 1901 bytes --]

From 1c0a756c16e77a09ed85a420a2d2a57b840591cb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 15 Apr 2024 19:24:55 +0200
Subject: [PATCH] New package: tcl-Ffidl-0.9

---
 srcpkgs/tcl-Ffidl/patches/platform.patch | 13 +++++++++++++
 srcpkgs/tcl-Ffidl/template               | 18 ++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/tcl-Ffidl/patches/platform.patch
 create mode 100644 srcpkgs/tcl-Ffidl/template

diff --git a/srcpkgs/tcl-Ffidl/patches/platform.patch b/srcpkgs/tcl-Ffidl/patches/platform.patch
new file mode 100644
index 00000000000000..2d88b4e8636698
--- /dev/null
+++ b/srcpkgs/tcl-Ffidl/patches/platform.patch
@@ -0,0 +1,13 @@
+diff --git a/configure b/configure
+index b94fc49..752788c 100755
+--- a/configure
++++ b/configure
+@@ -3758,7 +3758,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
+ 
+ else
+ 
+-	    TEA_PLATFORM="windows"
++	    TEA_PLATFORM="unix"
+ 	    # Extract the first word of "cygpath", so it can be a program name with args.
+ set dummy cygpath; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
diff --git a/srcpkgs/tcl-Ffidl/template b/srcpkgs/tcl-Ffidl/template
new file mode 100644
index 00000000000000..027b62a59ed441
--- /dev/null
+++ b/srcpkgs/tcl-Ffidl/template
@@ -0,0 +1,18 @@
+# Template file for 'tcl-Ffidl'
+pkgname=tcl-Ffidl
+version=0.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="tcl-devel libffi-devel"
+short_desc="Extend Tcl without extensions"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://prs-de.github.io/ffidl"
+changelog="ihttps://prs-de.github.io/ffidl/#changelog"
+distfiles="https://github.com/prs-de/ffidl/archive/refs/tags/${version}.tar.gz"
+checksum=756baf3e57385cdd0656bf1e4e7556b520ef27c733275753818411c733bd5983
+
+post_install() {
+	vlicense license.terms
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-16  7:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15 14:27 [PR PATCH] New package: tcl-Ffidl-0.9 Eloitor
2024-04-15 14:28 ` [PR PATCH] [Updated] " Eloitor
2024-04-15 14:31 ` Eloitor
2024-04-15 14:34 ` Eloitor
2024-04-15 14:37 ` Eloitor
2024-04-15 22:46 ` iFoundSilentHouse
2024-04-16  7:45 ` [PR PATCH] [Updated] " Eloitor

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).