Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: fuzzylite
@ 2023-12-26 12:45 coralpink-d2e1ac26
  2023-12-26 16:25 ` [PR PATCH] [Updated] New package: fuzzylite-6.0 coralpink-d2e1ac26
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2023-12-26 12:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/coralpink-d2e1ac26/void-packages new-package-fuzzylite
https://github.com/void-linux/void-packages/pull/47908

New package: fuzzylite
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - aarch64
  - armv7l
  - armv6l

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-fuzzylite-47908.patch --]
[-- Type: text/x-diff, Size: 5027 bytes --]

From 0cc70b15e1e6e21393a1e68610e790db1730f7b4 Mon Sep 17 00:00:00 2001
From: Coral Pink <coral.pink@disr.it>
Date: Tue, 26 Dec 2023 13:41:49 +0100
Subject: [PATCH] New package: fuzzylite

---
 common/shlibs                                 |  1 +
 .../00-set_unexpected_depracation_error.patch | 12 +++++
 .../patches/01-sigstksz-not-const.patch       | 31 ++++++++++++
 srcpkgs/fuzzylite/template                    | 47 +++++++++++++++++++
 srcpkgs/fuzzylite/update                      |  2 +
 5 files changed, 93 insertions(+)
 create mode 100644 srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
 create mode 100644 srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
 create mode 100644 srcpkgs/fuzzylite/template
 create mode 100644 srcpkgs/fuzzylite/update

diff --git a/common/shlibs b/common/shlibs
index 6463e020bb473..c8b21acc0f776 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4277,3 +4277,4 @@ libdraco.so.8 draco-1.5.6_1
 libpdal_base.so.15 libpdal-2.5.6_1
 libpdal_util.so.15 libpdal-2.5.6_1
 libdisplay-info.so.1 libdisplay-info-0.1.1_1
+libfuzzylite.so.6.0 libfuzzylite-6.0_1
diff --git a/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
new file mode 100644
index 0000000000000..8a5670d9ef663
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
@@ -0,0 +1,12 @@
+diff --git a/fuzzylite/src/main.cpp b/fuzzylite/src/main.cpp
+index 06ca139e..4465fbbe 100644
+--- a/fuzzylite/src/main.cpp
++++ b/fuzzylite/src/main.cpp
+@@ -21,7 +21,6 @@
+ 
+ int main(int argc, const char* argv[]) {
+     std::set_terminate(fl::Exception::terminate);
+-    std::set_unexpected(fl::Exception::terminate);
+     ::signal(SIGSEGV, fl::Exception::signalHandler);
+     ::signal(SIGABRT, fl::Exception::signalHandler);
+     ::signal(SIGILL, fl::Exception::signalHandler);
diff --git a/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
new file mode 100644
index 0000000000000..ffafec7e5faca
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
@@ -0,0 +1,31 @@
+diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp
+index 6f9334ba..0ef1af21 100644
+--- a/fuzzylite/test/catch.hpp
++++ b/fuzzylite/test/catch.hpp
+@@ -6375,7 +6375,7 @@ namespace Catch {
+         static bool isSet;
+         static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
+         static stack_t oldSigStack;
+-        static char altStackMem[SIGSTKSZ];
++        static char altStackMem[4096];
+ 
+         static void handleSignal( int sig ) {
+             std::string name = "<unknown signal>";
+@@ -6395,7 +6395,7 @@ namespace Catch {
+             isSet = true;
+             stack_t sigStack;
+             sigStack.ss_sp = altStackMem;
+-            sigStack.ss_size = SIGSTKSZ;
++            sigStack.ss_size = 4096;
+             sigStack.ss_flags = 0;
+             sigaltstack(&sigStack, &oldSigStack);
+             struct sigaction sa = { 0 };
+@@ -6426,7 +6426,7 @@ namespace Catch {
+     bool FatalConditionHandler::isSet = false;
+     struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
+     stack_t FatalConditionHandler::oldSigStack = {};
+-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
++    char FatalConditionHandler::altStackMem[4096] = {};
+ 
+ } // namespace Catch
+ 
diff --git a/srcpkgs/fuzzylite/template b/srcpkgs/fuzzylite/template
new file mode 100644
index 0000000000000..72fc001d36d9f
--- /dev/null
+++ b/srcpkgs/fuzzylite/template
@@ -0,0 +1,47 @@
+# Template file for 'fuzzylite'
+pkgname=fuzzylite
+version=6.0
+revision=1
+
+maintainer='Coral Pink <coral.pink@disr.it>'
+short_desc='Fuzzy logic control library in C++'
+
+license='GPL-3.0-only'
+homepage='https://fuzzylite.com/'
+
+distfiles="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v${version}.tar.gz"
+
+checksum='7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0'
+
+build_style='cmake'
+build_wrksrc='fuzzylite'
+
+configure_args='-Wno-dev'
+
+# musl doesn't provide required execinfo.h header
+if [ "$XBPS_TARGET_LIBC" = 'musl' ]; then
+	configure_args+=' -DFL_BACKTRACE=OFF'
+fi
+
+post_install() {
+	vman 'fuzzylite.1'
+	vlicense '../LICENSE'
+}
+
+libfuzzylite_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libfuzzylite-devel_package() {
+	short_desc+=' - development files'
+	depends="libfuzzylite>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove 'usr/include'
+		vmove 'usr/lib/pkgconfig'
+	}
+}
diff --git a/srcpkgs/fuzzylite/update b/srcpkgs/fuzzylite/update
new file mode 100644
index 0000000000000..ad90e464f9ad3
--- /dev/null
+++ b/srcpkgs/fuzzylite/update
@@ -0,0 +1,2 @@
+site='https://github.com/fuzzylite/fuzzylite/releases'
+pattern='href="/fuzzylite/fuzzylite/releases/tag/v\K[\d.]+"'

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

* Re: [PR PATCH] [Updated] New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
@ 2023-12-26 16:25 ` coralpink-d2e1ac26
  2023-12-27 14:12 ` coralpink-d2e1ac26
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2023-12-26 16:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/coralpink-d2e1ac26/void-packages new-package-fuzzylite
https://github.com/void-linux/void-packages/pull/47908

New package: fuzzylite-6.0
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - aarch64
  - armv7l
  - armv6l

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-fuzzylite-47908.patch --]
[-- Type: text/x-diff, Size: 5655 bytes --]

From 8727156f1b61c07662212f8a151d87622bc5741e Mon Sep 17 00:00:00 2001
From: Coral Pink <coral.pink@disr.it>
Date: Tue, 26 Dec 2023 13:41:49 +0100
Subject: [PATCH] New package: fuzzylite

---
 common/shlibs                                 |  1 +
 .../00-set_unexpected_depracation_error.patch | 12 +++++
 .../patches/01-sigstksz-not-const.patch       | 31 ++++++++++++
 srcpkgs/fuzzylite/template                    | 47 +++++++++++++++++++
 srcpkgs/fuzzylite/update                      |  2 +
 srcpkgs/libfuzzylite                          |  1 +
 srcpkgs/libfuzzylite-devel                    |  1 +
 7 files changed, 95 insertions(+)
 create mode 100644 srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
 create mode 100644 srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
 create mode 100644 srcpkgs/fuzzylite/template
 create mode 100644 srcpkgs/fuzzylite/update
 create mode 120000 srcpkgs/libfuzzylite
 create mode 120000 srcpkgs/libfuzzylite-devel

diff --git a/common/shlibs b/common/shlibs
index 6463e020bb473..c8b21acc0f776 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4277,3 +4277,4 @@ libdraco.so.8 draco-1.5.6_1
 libpdal_base.so.15 libpdal-2.5.6_1
 libpdal_util.so.15 libpdal-2.5.6_1
 libdisplay-info.so.1 libdisplay-info-0.1.1_1
+libfuzzylite.so.6.0 libfuzzylite-6.0_1
diff --git a/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
new file mode 100644
index 0000000000000..8a5670d9ef663
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
@@ -0,0 +1,12 @@
+diff --git a/fuzzylite/src/main.cpp b/fuzzylite/src/main.cpp
+index 06ca139e..4465fbbe 100644
+--- a/fuzzylite/src/main.cpp
++++ b/fuzzylite/src/main.cpp
+@@ -21,7 +21,6 @@
+ 
+ int main(int argc, const char* argv[]) {
+     std::set_terminate(fl::Exception::terminate);
+-    std::set_unexpected(fl::Exception::terminate);
+     ::signal(SIGSEGV, fl::Exception::signalHandler);
+     ::signal(SIGABRT, fl::Exception::signalHandler);
+     ::signal(SIGILL, fl::Exception::signalHandler);
diff --git a/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
new file mode 100644
index 0000000000000..ffafec7e5faca
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
@@ -0,0 +1,31 @@
+diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp
+index 6f9334ba..0ef1af21 100644
+--- a/fuzzylite/test/catch.hpp
++++ b/fuzzylite/test/catch.hpp
+@@ -6375,7 +6375,7 @@ namespace Catch {
+         static bool isSet;
+         static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
+         static stack_t oldSigStack;
+-        static char altStackMem[SIGSTKSZ];
++        static char altStackMem[4096];
+ 
+         static void handleSignal( int sig ) {
+             std::string name = "<unknown signal>";
+@@ -6395,7 +6395,7 @@ namespace Catch {
+             isSet = true;
+             stack_t sigStack;
+             sigStack.ss_sp = altStackMem;
+-            sigStack.ss_size = SIGSTKSZ;
++            sigStack.ss_size = 4096;
+             sigStack.ss_flags = 0;
+             sigaltstack(&sigStack, &oldSigStack);
+             struct sigaction sa = { 0 };
+@@ -6426,7 +6426,7 @@ namespace Catch {
+     bool FatalConditionHandler::isSet = false;
+     struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
+     stack_t FatalConditionHandler::oldSigStack = {};
+-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
++    char FatalConditionHandler::altStackMem[4096] = {};
+ 
+ } // namespace Catch
+ 
diff --git a/srcpkgs/fuzzylite/template b/srcpkgs/fuzzylite/template
new file mode 100644
index 0000000000000..72fc001d36d9f
--- /dev/null
+++ b/srcpkgs/fuzzylite/template
@@ -0,0 +1,47 @@
+# Template file for 'fuzzylite'
+pkgname=fuzzylite
+version=6.0
+revision=1
+
+maintainer='Coral Pink <coral.pink@disr.it>'
+short_desc='Fuzzy logic control library in C++'
+
+license='GPL-3.0-only'
+homepage='https://fuzzylite.com/'
+
+distfiles="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v${version}.tar.gz"
+
+checksum='7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0'
+
+build_style='cmake'
+build_wrksrc='fuzzylite'
+
+configure_args='-Wno-dev'
+
+# musl doesn't provide required execinfo.h header
+if [ "$XBPS_TARGET_LIBC" = 'musl' ]; then
+	configure_args+=' -DFL_BACKTRACE=OFF'
+fi
+
+post_install() {
+	vman 'fuzzylite.1'
+	vlicense '../LICENSE'
+}
+
+libfuzzylite_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libfuzzylite-devel_package() {
+	short_desc+=' - development files'
+	depends="libfuzzylite>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove 'usr/include'
+		vmove 'usr/lib/pkgconfig'
+	}
+}
diff --git a/srcpkgs/fuzzylite/update b/srcpkgs/fuzzylite/update
new file mode 100644
index 0000000000000..ad90e464f9ad3
--- /dev/null
+++ b/srcpkgs/fuzzylite/update
@@ -0,0 +1,2 @@
+site='https://github.com/fuzzylite/fuzzylite/releases'
+pattern='href="/fuzzylite/fuzzylite/releases/tag/v\K[\d.]+"'
diff --git a/srcpkgs/libfuzzylite b/srcpkgs/libfuzzylite
new file mode 120000
index 0000000000000..90c6648a573c5
--- /dev/null
+++ b/srcpkgs/libfuzzylite
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file
diff --git a/srcpkgs/libfuzzylite-devel b/srcpkgs/libfuzzylite-devel
new file mode 120000
index 0000000000000..90c6648a573c5
--- /dev/null
+++ b/srcpkgs/libfuzzylite-devel
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file

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

* Re: New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
  2023-12-26 16:25 ` [PR PATCH] [Updated] New package: fuzzylite-6.0 coralpink-d2e1ac26
@ 2023-12-27 14:12 ` coralpink-d2e1ac26
  2024-01-09  3:02 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2023-12-27 14:12 UTC (permalink / raw)
  To: ml

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

New comment by coralpink-d2e1ac26 on void-packages repository

https://github.com/void-linux/void-packages/pull/47908#issuecomment-1870343646

Comment:
@classabbyamp should be okay now, just forgot to include symlinks to subpackages

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

* Re: [PR PATCH] [Updated] New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
  2023-12-26 16:25 ` [PR PATCH] [Updated] New package: fuzzylite-6.0 coralpink-d2e1ac26
  2023-12-27 14:12 ` coralpink-d2e1ac26
@ 2024-01-09  3:02 ` coralpink-d2e1ac26
  2024-01-09 14:17 ` coralpink-d2e1ac26
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-01-09  3:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/coralpink-d2e1ac26/void-packages new-package-fuzzylite
https://github.com/void-linux/void-packages/pull/47908

New package: fuzzylite-6.0
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - aarch64
  - armv7l
  - armv6l

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-fuzzylite-47908.patch --]
[-- Type: text/x-diff, Size: 7044 bytes --]

From 2cac2b50057e5dbf40567bc33af6ef364fb50f00 Mon Sep 17 00:00:00 2001
From: Coral Pink <coral.pink@disr.it>
Date: Tue, 26 Dec 2023 13:41:49 +0100
Subject: [PATCH] New package: fuzzylite-6.0

---
 common/shlibs                                 |  1 +
 .../00-set_unexpected_depracation_error.patch | 12 +++++
 .../patches/01-sigstksz-not-const.patch       | 31 ++++++++++++
 .../patches/02-fix-tests-on-i686.patch        | 23 +++++++++
 srcpkgs/fuzzylite/template                    | 47 +++++++++++++++++++
 srcpkgs/fuzzylite/update                      |  2 +
 srcpkgs/libfuzzylite                          |  1 +
 srcpkgs/libfuzzylite-devel                    |  1 +
 8 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
 create mode 100644 srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
 create mode 100644 srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
 create mode 100644 srcpkgs/fuzzylite/template
 create mode 100644 srcpkgs/fuzzylite/update
 create mode 120000 srcpkgs/libfuzzylite
 create mode 120000 srcpkgs/libfuzzylite-devel

diff --git a/common/shlibs b/common/shlibs
index 3d5db5f1c5823..9e0f9294c7bb4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4287,3 +4287,4 @@ libsqsh.so.1 libsqsh-1.3.0_1
 libunicode.so.0.4 libunicode-0.4.0_1
 libunicode_ucd.so.0.4 libunicode-0.4.0_1
 libunicode_loader.so.0.4 libunicode-0.4.0_1
+libfuzzylite.so.6.0 libfuzzylite-6.0_1
diff --git a/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
new file mode 100644
index 0000000000000..8a5670d9ef663
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
@@ -0,0 +1,12 @@
+diff --git a/fuzzylite/src/main.cpp b/fuzzylite/src/main.cpp
+index 06ca139e..4465fbbe 100644
+--- a/fuzzylite/src/main.cpp
++++ b/fuzzylite/src/main.cpp
+@@ -21,7 +21,6 @@
+ 
+ int main(int argc, const char* argv[]) {
+     std::set_terminate(fl::Exception::terminate);
+-    std::set_unexpected(fl::Exception::terminate);
+     ::signal(SIGSEGV, fl::Exception::signalHandler);
+     ::signal(SIGABRT, fl::Exception::signalHandler);
+     ::signal(SIGILL, fl::Exception::signalHandler);
diff --git a/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
new file mode 100644
index 0000000000000..ffafec7e5faca
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
@@ -0,0 +1,31 @@
+diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp
+index 6f9334ba..0ef1af21 100644
+--- a/fuzzylite/test/catch.hpp
++++ b/fuzzylite/test/catch.hpp
+@@ -6375,7 +6375,7 @@ namespace Catch {
+         static bool isSet;
+         static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
+         static stack_t oldSigStack;
+-        static char altStackMem[SIGSTKSZ];
++        static char altStackMem[4096];
+ 
+         static void handleSignal( int sig ) {
+             std::string name = "<unknown signal>";
+@@ -6395,7 +6395,7 @@ namespace Catch {
+             isSet = true;
+             stack_t sigStack;
+             sigStack.ss_sp = altStackMem;
+-            sigStack.ss_size = SIGSTKSZ;
++            sigStack.ss_size = 4096;
+             sigStack.ss_flags = 0;
+             sigaltstack(&sigStack, &oldSigStack);
+             struct sigaction sa = { 0 };
+@@ -6426,7 +6426,7 @@ namespace Catch {
+     bool FatalConditionHandler::isSet = false;
+     struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
+     stack_t FatalConditionHandler::oldSigStack = {};
+-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
++    char FatalConditionHandler::altStackMem[4096] = {};
+ 
+ } // namespace Catch
+ 
diff --git a/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
new file mode 100644
index 0000000000000..7f390438349c3
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
@@ -0,0 +1,23 @@
+backported from https://github.com/fuzzylite/fuzzylite/commit/569eba9713e9991d5ed59189e58e047e958def29
+
+diff --git a/fuzzylite/test/BenchmarkTest.cpp b/fuzzylite/test/BenchmarkTest.cpp
+index f868ec2..0d87b62 100644
+--- a/fuzzylite/test/BenchmarkTest.cpp
++++ b/fuzzylite/test/BenchmarkTest.cpp
+@@ -117,7 +117,14 @@ namespace fl {
+         CHECK(Op::isEq(1.0, Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds)));
+         FL_LOG(Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds));
+ 
+-        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds)));
++        scalar eps =
++#ifndef __i386__
++            fuzzylite::macheps();
++#else
++            1e-5;
++#endif
++
++        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds), eps));
+         CHECK(Op::isEq(35, Benchmark::convert(35e9, Benchmark::NanoSeconds, Benchmark::Seconds)));
+     }
+ 
+
diff --git a/srcpkgs/fuzzylite/template b/srcpkgs/fuzzylite/template
new file mode 100644
index 0000000000000..72fc001d36d9f
--- /dev/null
+++ b/srcpkgs/fuzzylite/template
@@ -0,0 +1,47 @@
+# Template file for 'fuzzylite'
+pkgname=fuzzylite
+version=6.0
+revision=1
+
+maintainer='Coral Pink <coral.pink@disr.it>'
+short_desc='Fuzzy logic control library in C++'
+
+license='GPL-3.0-only'
+homepage='https://fuzzylite.com/'
+
+distfiles="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v${version}.tar.gz"
+
+checksum='7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0'
+
+build_style='cmake'
+build_wrksrc='fuzzylite'
+
+configure_args='-Wno-dev'
+
+# musl doesn't provide required execinfo.h header
+if [ "$XBPS_TARGET_LIBC" = 'musl' ]; then
+	configure_args+=' -DFL_BACKTRACE=OFF'
+fi
+
+post_install() {
+	vman 'fuzzylite.1'
+	vlicense '../LICENSE'
+}
+
+libfuzzylite_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libfuzzylite-devel_package() {
+	short_desc+=' - development files'
+	depends="libfuzzylite>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove 'usr/include'
+		vmove 'usr/lib/pkgconfig'
+	}
+}
diff --git a/srcpkgs/fuzzylite/update b/srcpkgs/fuzzylite/update
new file mode 100644
index 0000000000000..ad90e464f9ad3
--- /dev/null
+++ b/srcpkgs/fuzzylite/update
@@ -0,0 +1,2 @@
+site='https://github.com/fuzzylite/fuzzylite/releases'
+pattern='href="/fuzzylite/fuzzylite/releases/tag/v\K[\d.]+"'
diff --git a/srcpkgs/libfuzzylite b/srcpkgs/libfuzzylite
new file mode 120000
index 0000000000000..90c6648a573c5
--- /dev/null
+++ b/srcpkgs/libfuzzylite
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file
diff --git a/srcpkgs/libfuzzylite-devel b/srcpkgs/libfuzzylite-devel
new file mode 120000
index 0000000000000..90c6648a573c5
--- /dev/null
+++ b/srcpkgs/libfuzzylite-devel
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file

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

* Re: New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
                   ` (2 preceding siblings ...)
  2024-01-09  3:02 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
@ 2024-01-09 14:17 ` coralpink-d2e1ac26
  2024-02-19  6:14 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-01-09 14:17 UTC (permalink / raw)
  To: ml

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

New comment by coralpink-d2e1ac26 on void-packages repository

https://github.com/void-linux/void-packages/pull/47908#issuecomment-1883130031

Comment:
I have included patch from upstream for the one failing test on `i686`, passes on my machine.

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

* Re: [PR PATCH] [Updated] New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
                   ` (3 preceding siblings ...)
  2024-01-09 14:17 ` coralpink-d2e1ac26
@ 2024-02-19  6:14 ` coralpink-d2e1ac26
  2024-03-08  3:52 ` coralpink-d2e1ac26
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-02-19  6:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/coralpink-d2e1ac26/void-packages new-package-fuzzylite
https://github.com/void-linux/void-packages/pull/47908

New package: fuzzylite-6.0
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - aarch64
  - armv7l
  - armv6l

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-fuzzylite-47908.patch --]
[-- Type: text/x-diff, Size: 7071 bytes --]

From 1a694ad96b971f3424f79ac4561e998c8c78ae8d Mon Sep 17 00:00:00 2001
From: Coral Pink <coral.pink@disr.it>
Date: Tue, 26 Dec 2023 13:41:49 +0100
Subject: [PATCH] New package: fuzzylite-6.0

---
 common/shlibs                                 |  1 +
 .../00-set_unexpected_depracation_error.patch | 12 +++++
 .../patches/01-sigstksz-not-const.patch       | 31 ++++++++++++
 .../patches/02-fix-tests-on-i686.patch        | 23 +++++++++
 srcpkgs/fuzzylite/template                    | 47 +++++++++++++++++++
 srcpkgs/fuzzylite/update                      |  2 +
 srcpkgs/libfuzzylite                          |  1 +
 srcpkgs/libfuzzylite-devel                    |  1 +
 8 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
 create mode 100644 srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
 create mode 100644 srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
 create mode 100644 srcpkgs/fuzzylite/template
 create mode 100644 srcpkgs/fuzzylite/update
 create mode 120000 srcpkgs/libfuzzylite
 create mode 120000 srcpkgs/libfuzzylite-devel

diff --git a/common/shlibs b/common/shlibs
index 3cf507d8ada879..02e75d455bf316 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4275,3 +4275,4 @@ libunicode_ucd.so.0.4 libunicode-0.4.0_1
 libunicode_loader.so.0.4 libunicode-0.4.0_1
 force-stage.so.0.1 void-force-stage-0.1_1
 libliftoff.so.0 libliftoff-0.4.1_1
+libfuzzylite.so.6.0 libfuzzylite-6.0_1
diff --git a/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
new file mode 100644
index 00000000000000..8a5670d9ef663b
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
@@ -0,0 +1,12 @@
+diff --git a/fuzzylite/src/main.cpp b/fuzzylite/src/main.cpp
+index 06ca139e..4465fbbe 100644
+--- a/fuzzylite/src/main.cpp
++++ b/fuzzylite/src/main.cpp
+@@ -21,7 +21,6 @@
+ 
+ int main(int argc, const char* argv[]) {
+     std::set_terminate(fl::Exception::terminate);
+-    std::set_unexpected(fl::Exception::terminate);
+     ::signal(SIGSEGV, fl::Exception::signalHandler);
+     ::signal(SIGABRT, fl::Exception::signalHandler);
+     ::signal(SIGILL, fl::Exception::signalHandler);
diff --git a/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
new file mode 100644
index 00000000000000..ffafec7e5faca8
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
@@ -0,0 +1,31 @@
+diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp
+index 6f9334ba..0ef1af21 100644
+--- a/fuzzylite/test/catch.hpp
++++ b/fuzzylite/test/catch.hpp
+@@ -6375,7 +6375,7 @@ namespace Catch {
+         static bool isSet;
+         static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
+         static stack_t oldSigStack;
+-        static char altStackMem[SIGSTKSZ];
++        static char altStackMem[4096];
+ 
+         static void handleSignal( int sig ) {
+             std::string name = "<unknown signal>";
+@@ -6395,7 +6395,7 @@ namespace Catch {
+             isSet = true;
+             stack_t sigStack;
+             sigStack.ss_sp = altStackMem;
+-            sigStack.ss_size = SIGSTKSZ;
++            sigStack.ss_size = 4096;
+             sigStack.ss_flags = 0;
+             sigaltstack(&sigStack, &oldSigStack);
+             struct sigaction sa = { 0 };
+@@ -6426,7 +6426,7 @@ namespace Catch {
+     bool FatalConditionHandler::isSet = false;
+     struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
+     stack_t FatalConditionHandler::oldSigStack = {};
+-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
++    char FatalConditionHandler::altStackMem[4096] = {};
+ 
+ } // namespace Catch
+ 
diff --git a/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
new file mode 100644
index 00000000000000..7f390438349c3d
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
@@ -0,0 +1,23 @@
+backported from https://github.com/fuzzylite/fuzzylite/commit/569eba9713e9991d5ed59189e58e047e958def29
+
+diff --git a/fuzzylite/test/BenchmarkTest.cpp b/fuzzylite/test/BenchmarkTest.cpp
+index f868ec2..0d87b62 100644
+--- a/fuzzylite/test/BenchmarkTest.cpp
++++ b/fuzzylite/test/BenchmarkTest.cpp
+@@ -117,7 +117,14 @@ namespace fl {
+         CHECK(Op::isEq(1.0, Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds)));
+         FL_LOG(Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds));
+ 
+-        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds)));
++        scalar eps =
++#ifndef __i386__
++            fuzzylite::macheps();
++#else
++            1e-5;
++#endif
++
++        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds), eps));
+         CHECK(Op::isEq(35, Benchmark::convert(35e9, Benchmark::NanoSeconds, Benchmark::Seconds)));
+     }
+ 
+
diff --git a/srcpkgs/fuzzylite/template b/srcpkgs/fuzzylite/template
new file mode 100644
index 00000000000000..72fc001d36d9f2
--- /dev/null
+++ b/srcpkgs/fuzzylite/template
@@ -0,0 +1,47 @@
+# Template file for 'fuzzylite'
+pkgname=fuzzylite
+version=6.0
+revision=1
+
+maintainer='Coral Pink <coral.pink@disr.it>'
+short_desc='Fuzzy logic control library in C++'
+
+license='GPL-3.0-only'
+homepage='https://fuzzylite.com/'
+
+distfiles="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v${version}.tar.gz"
+
+checksum='7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0'
+
+build_style='cmake'
+build_wrksrc='fuzzylite'
+
+configure_args='-Wno-dev'
+
+# musl doesn't provide required execinfo.h header
+if [ "$XBPS_TARGET_LIBC" = 'musl' ]; then
+	configure_args+=' -DFL_BACKTRACE=OFF'
+fi
+
+post_install() {
+	vman 'fuzzylite.1'
+	vlicense '../LICENSE'
+}
+
+libfuzzylite_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libfuzzylite-devel_package() {
+	short_desc+=' - development files'
+	depends="libfuzzylite>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove 'usr/include'
+		vmove 'usr/lib/pkgconfig'
+	}
+}
diff --git a/srcpkgs/fuzzylite/update b/srcpkgs/fuzzylite/update
new file mode 100644
index 00000000000000..ad90e464f9ad3c
--- /dev/null
+++ b/srcpkgs/fuzzylite/update
@@ -0,0 +1,2 @@
+site='https://github.com/fuzzylite/fuzzylite/releases'
+pattern='href="/fuzzylite/fuzzylite/releases/tag/v\K[\d.]+"'
diff --git a/srcpkgs/libfuzzylite b/srcpkgs/libfuzzylite
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file
diff --git a/srcpkgs/libfuzzylite-devel b/srcpkgs/libfuzzylite-devel
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite-devel
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
                   ` (4 preceding siblings ...)
  2024-02-19  6:14 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
@ 2024-03-08  3:52 ` coralpink-d2e1ac26
  2024-03-16 14:55 ` coralpink-d2e1ac26
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-03-08  3:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/coralpink-d2e1ac26/void-packages new-package-fuzzylite
https://github.com/void-linux/void-packages/pull/47908

New package: fuzzylite-6.0
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - aarch64
  - armv7l
  - armv6l

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-fuzzylite-47908.patch --]
[-- Type: text/x-diff, Size: 7057 bytes --]

From e54912c831852f03995bbf2f888bed7ca238f7f9 Mon Sep 17 00:00:00 2001
From: Coral Pink <coral.pink@disr.it>
Date: Tue, 26 Dec 2023 13:41:49 +0100
Subject: [PATCH] New package: fuzzylite-6.0

---
 common/shlibs                                 |  1 +
 .../00-set_unexpected_depracation_error.patch | 12 +++++
 .../patches/01-sigstksz-not-const.patch       | 31 ++++++++++++
 .../patches/02-fix-tests-on-i686.patch        | 23 +++++++++
 srcpkgs/fuzzylite/template                    | 47 +++++++++++++++++++
 srcpkgs/fuzzylite/update                      |  2 +
 srcpkgs/libfuzzylite                          |  1 +
 srcpkgs/libfuzzylite-devel                    |  1 +
 8 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
 create mode 100644 srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
 create mode 100644 srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
 create mode 100644 srcpkgs/fuzzylite/template
 create mode 100644 srcpkgs/fuzzylite/update
 create mode 120000 srcpkgs/libfuzzylite
 create mode 120000 srcpkgs/libfuzzylite-devel

diff --git a/common/shlibs b/common/shlibs
index 9bcf0c5756b8fd..98c4a97cd5b52c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4291,3 +4291,4 @@ libunicode_loader.so.0.4 libunicode-0.4.0_1
 force-stage.so.0.1 void-force-stage-0.1_1
 libliftoff.so.0 libliftoff-0.4.1_1
 libscfg.so libscfg-0.1.1_1
+libfuzzylite.so.6.0 libfuzzylite-6.0_1
diff --git a/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
new file mode 100644
index 00000000000000..8a5670d9ef663b
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
@@ -0,0 +1,12 @@
+diff --git a/fuzzylite/src/main.cpp b/fuzzylite/src/main.cpp
+index 06ca139e..4465fbbe 100644
+--- a/fuzzylite/src/main.cpp
++++ b/fuzzylite/src/main.cpp
+@@ -21,7 +21,6 @@
+ 
+ int main(int argc, const char* argv[]) {
+     std::set_terminate(fl::Exception::terminate);
+-    std::set_unexpected(fl::Exception::terminate);
+     ::signal(SIGSEGV, fl::Exception::signalHandler);
+     ::signal(SIGABRT, fl::Exception::signalHandler);
+     ::signal(SIGILL, fl::Exception::signalHandler);
diff --git a/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
new file mode 100644
index 00000000000000..ffafec7e5faca8
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
@@ -0,0 +1,31 @@
+diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp
+index 6f9334ba..0ef1af21 100644
+--- a/fuzzylite/test/catch.hpp
++++ b/fuzzylite/test/catch.hpp
+@@ -6375,7 +6375,7 @@ namespace Catch {
+         static bool isSet;
+         static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
+         static stack_t oldSigStack;
+-        static char altStackMem[SIGSTKSZ];
++        static char altStackMem[4096];
+ 
+         static void handleSignal( int sig ) {
+             std::string name = "<unknown signal>";
+@@ -6395,7 +6395,7 @@ namespace Catch {
+             isSet = true;
+             stack_t sigStack;
+             sigStack.ss_sp = altStackMem;
+-            sigStack.ss_size = SIGSTKSZ;
++            sigStack.ss_size = 4096;
+             sigStack.ss_flags = 0;
+             sigaltstack(&sigStack, &oldSigStack);
+             struct sigaction sa = { 0 };
+@@ -6426,7 +6426,7 @@ namespace Catch {
+     bool FatalConditionHandler::isSet = false;
+     struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
+     stack_t FatalConditionHandler::oldSigStack = {};
+-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
++    char FatalConditionHandler::altStackMem[4096] = {};
+ 
+ } // namespace Catch
+ 
diff --git a/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
new file mode 100644
index 00000000000000..7f390438349c3d
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
@@ -0,0 +1,23 @@
+backported from https://github.com/fuzzylite/fuzzylite/commit/569eba9713e9991d5ed59189e58e047e958def29
+
+diff --git a/fuzzylite/test/BenchmarkTest.cpp b/fuzzylite/test/BenchmarkTest.cpp
+index f868ec2..0d87b62 100644
+--- a/fuzzylite/test/BenchmarkTest.cpp
++++ b/fuzzylite/test/BenchmarkTest.cpp
+@@ -117,7 +117,14 @@ namespace fl {
+         CHECK(Op::isEq(1.0, Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds)));
+         FL_LOG(Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds));
+ 
+-        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds)));
++        scalar eps =
++#ifndef __i386__
++            fuzzylite::macheps();
++#else
++            1e-5;
++#endif
++
++        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds), eps));
+         CHECK(Op::isEq(35, Benchmark::convert(35e9, Benchmark::NanoSeconds, Benchmark::Seconds)));
+     }
+ 
+
diff --git a/srcpkgs/fuzzylite/template b/srcpkgs/fuzzylite/template
new file mode 100644
index 00000000000000..72fc001d36d9f2
--- /dev/null
+++ b/srcpkgs/fuzzylite/template
@@ -0,0 +1,47 @@
+# Template file for 'fuzzylite'
+pkgname=fuzzylite
+version=6.0
+revision=1
+
+maintainer='Coral Pink <coral.pink@disr.it>'
+short_desc='Fuzzy logic control library in C++'
+
+license='GPL-3.0-only'
+homepage='https://fuzzylite.com/'
+
+distfiles="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v${version}.tar.gz"
+
+checksum='7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0'
+
+build_style='cmake'
+build_wrksrc='fuzzylite'
+
+configure_args='-Wno-dev'
+
+# musl doesn't provide required execinfo.h header
+if [ "$XBPS_TARGET_LIBC" = 'musl' ]; then
+	configure_args+=' -DFL_BACKTRACE=OFF'
+fi
+
+post_install() {
+	vman 'fuzzylite.1'
+	vlicense '../LICENSE'
+}
+
+libfuzzylite_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libfuzzylite-devel_package() {
+	short_desc+=' - development files'
+	depends="libfuzzylite>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove 'usr/include'
+		vmove 'usr/lib/pkgconfig'
+	}
+}
diff --git a/srcpkgs/fuzzylite/update b/srcpkgs/fuzzylite/update
new file mode 100644
index 00000000000000..ad90e464f9ad3c
--- /dev/null
+++ b/srcpkgs/fuzzylite/update
@@ -0,0 +1,2 @@
+site='https://github.com/fuzzylite/fuzzylite/releases'
+pattern='href="/fuzzylite/fuzzylite/releases/tag/v\K[\d.]+"'
diff --git a/srcpkgs/libfuzzylite b/srcpkgs/libfuzzylite
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file
diff --git a/srcpkgs/libfuzzylite-devel b/srcpkgs/libfuzzylite-devel
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite-devel
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file

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

* Re: New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
                   ` (5 preceding siblings ...)
  2024-03-08  3:52 ` coralpink-d2e1ac26
@ 2024-03-16 14:55 ` coralpink-d2e1ac26
  2024-04-04 12:02 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-03-16 14:55 UTC (permalink / raw)
  To: ml

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

New comment by coralpink-d2e1ac26 on void-packages repository

https://github.com/void-linux/void-packages/pull/47908#issuecomment-2002010979

Comment:
Can we give it a spin?

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

* Re: [PR PATCH] [Updated] New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
                   ` (6 preceding siblings ...)
  2024-03-16 14:55 ` coralpink-d2e1ac26
@ 2024-04-04 12:02 ` coralpink-d2e1ac26
  2024-04-22 16:23 ` coralpink-d2e1ac26
  2024-04-22 16:26 ` coralpink-d2e1ac26
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-04-04 12:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/coralpink-d2e1ac26/void-packages new-package-fuzzylite
https://github.com/void-linux/void-packages/pull/47908

New package: fuzzylite-6.0
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - aarch64
  - armv7l
  - armv6l

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-fuzzylite-47908.patch --]
[-- Type: text/x-diff, Size: 7051 bytes --]

From 1adfafd50d712208731531729466c0d5284a8ab0 Mon Sep 17 00:00:00 2001
From: Coral Pink <coral.pink@disr.it>
Date: Tue, 26 Dec 2023 13:41:49 +0100
Subject: [PATCH] New package: fuzzylite-6.0

---
 common/shlibs                                 |  1 +
 .../00-set_unexpected_depracation_error.patch | 12 +++++
 .../patches/01-sigstksz-not-const.patch       | 31 ++++++++++++
 .../patches/02-fix-tests-on-i686.patch        | 23 +++++++++
 srcpkgs/fuzzylite/template                    | 47 +++++++++++++++++++
 srcpkgs/fuzzylite/update                      |  2 +
 srcpkgs/libfuzzylite                          |  1 +
 srcpkgs/libfuzzylite-devel                    |  1 +
 8 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
 create mode 100644 srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
 create mode 100644 srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
 create mode 100644 srcpkgs/fuzzylite/template
 create mode 100644 srcpkgs/fuzzylite/update
 create mode 120000 srcpkgs/libfuzzylite
 create mode 120000 srcpkgs/libfuzzylite-devel

diff --git a/common/shlibs b/common/shlibs
index 041ca865b19f4c..2d716f54e8d71f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4304,3 +4304,4 @@ force-stage.so.0.1 void-force-stage-0.1_1
 libliftoff.so.0 libliftoff-0.4.1_1
 libscfg.so libscfg-0.1.1_1
 libmsgraph-0.so.1 msgraph-0.2.1_1
+libfuzzylite.so.6.0 libfuzzylite-6.0_1
diff --git a/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
new file mode 100644
index 00000000000000..8a5670d9ef663b
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
@@ -0,0 +1,12 @@
+diff --git a/fuzzylite/src/main.cpp b/fuzzylite/src/main.cpp
+index 06ca139e..4465fbbe 100644
+--- a/fuzzylite/src/main.cpp
++++ b/fuzzylite/src/main.cpp
+@@ -21,7 +21,6 @@
+ 
+ int main(int argc, const char* argv[]) {
+     std::set_terminate(fl::Exception::terminate);
+-    std::set_unexpected(fl::Exception::terminate);
+     ::signal(SIGSEGV, fl::Exception::signalHandler);
+     ::signal(SIGABRT, fl::Exception::signalHandler);
+     ::signal(SIGILL, fl::Exception::signalHandler);
diff --git a/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
new file mode 100644
index 00000000000000..ffafec7e5faca8
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
@@ -0,0 +1,31 @@
+diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp
+index 6f9334ba..0ef1af21 100644
+--- a/fuzzylite/test/catch.hpp
++++ b/fuzzylite/test/catch.hpp
+@@ -6375,7 +6375,7 @@ namespace Catch {
+         static bool isSet;
+         static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
+         static stack_t oldSigStack;
+-        static char altStackMem[SIGSTKSZ];
++        static char altStackMem[4096];
+ 
+         static void handleSignal( int sig ) {
+             std::string name = "<unknown signal>";
+@@ -6395,7 +6395,7 @@ namespace Catch {
+             isSet = true;
+             stack_t sigStack;
+             sigStack.ss_sp = altStackMem;
+-            sigStack.ss_size = SIGSTKSZ;
++            sigStack.ss_size = 4096;
+             sigStack.ss_flags = 0;
+             sigaltstack(&sigStack, &oldSigStack);
+             struct sigaction sa = { 0 };
+@@ -6426,7 +6426,7 @@ namespace Catch {
+     bool FatalConditionHandler::isSet = false;
+     struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
+     stack_t FatalConditionHandler::oldSigStack = {};
+-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
++    char FatalConditionHandler::altStackMem[4096] = {};
+ 
+ } // namespace Catch
+ 
diff --git a/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
new file mode 100644
index 00000000000000..7f390438349c3d
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
@@ -0,0 +1,23 @@
+backported from https://github.com/fuzzylite/fuzzylite/commit/569eba9713e9991d5ed59189e58e047e958def29
+
+diff --git a/fuzzylite/test/BenchmarkTest.cpp b/fuzzylite/test/BenchmarkTest.cpp
+index f868ec2..0d87b62 100644
+--- a/fuzzylite/test/BenchmarkTest.cpp
++++ b/fuzzylite/test/BenchmarkTest.cpp
+@@ -117,7 +117,14 @@ namespace fl {
+         CHECK(Op::isEq(1.0, Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds)));
+         FL_LOG(Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds));
+ 
+-        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds)));
++        scalar eps =
++#ifndef __i386__
++            fuzzylite::macheps();
++#else
++            1e-5;
++#endif
++
++        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds), eps));
+         CHECK(Op::isEq(35, Benchmark::convert(35e9, Benchmark::NanoSeconds, Benchmark::Seconds)));
+     }
+ 
+
diff --git a/srcpkgs/fuzzylite/template b/srcpkgs/fuzzylite/template
new file mode 100644
index 00000000000000..72fc001d36d9f2
--- /dev/null
+++ b/srcpkgs/fuzzylite/template
@@ -0,0 +1,47 @@
+# Template file for 'fuzzylite'
+pkgname=fuzzylite
+version=6.0
+revision=1
+
+maintainer='Coral Pink <coral.pink@disr.it>'
+short_desc='Fuzzy logic control library in C++'
+
+license='GPL-3.0-only'
+homepage='https://fuzzylite.com/'
+
+distfiles="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v${version}.tar.gz"
+
+checksum='7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0'
+
+build_style='cmake'
+build_wrksrc='fuzzylite'
+
+configure_args='-Wno-dev'
+
+# musl doesn't provide required execinfo.h header
+if [ "$XBPS_TARGET_LIBC" = 'musl' ]; then
+	configure_args+=' -DFL_BACKTRACE=OFF'
+fi
+
+post_install() {
+	vman 'fuzzylite.1'
+	vlicense '../LICENSE'
+}
+
+libfuzzylite_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libfuzzylite-devel_package() {
+	short_desc+=' - development files'
+	depends="libfuzzylite>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove 'usr/include'
+		vmove 'usr/lib/pkgconfig'
+	}
+}
diff --git a/srcpkgs/fuzzylite/update b/srcpkgs/fuzzylite/update
new file mode 100644
index 00000000000000..9b7413e79a0a03
--- /dev/null
+++ b/srcpkgs/fuzzylite/update
@@ -0,0 +1,2 @@
+site='https://github.com/fuzzylite/fuzzylite/releases'
+pattern='href="/fuzzylite/fuzzylite/releases/tag/v\K[\d.]+(?=")'
diff --git a/srcpkgs/libfuzzylite b/srcpkgs/libfuzzylite
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file
diff --git a/srcpkgs/libfuzzylite-devel b/srcpkgs/libfuzzylite-devel
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite-devel
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
                   ` (7 preceding siblings ...)
  2024-04-04 12:02 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
@ 2024-04-22 16:23 ` coralpink-d2e1ac26
  2024-04-22 16:26 ` coralpink-d2e1ac26
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-04-22 16:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/coralpink-d2e1ac26/void-packages new-package-fuzzylite
https://github.com/void-linux/void-packages/pull/47908

New package: fuzzylite-6.0
#### 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - i686
  - aarch64
  - armv7l
  - armv6l

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-package-fuzzylite-47908.patch --]
[-- Type: text/x-diff, Size: 7072 bytes --]

From 3ee6fe2ca9f052f52b502a3faf7aee4242a2bf93 Mon Sep 17 00:00:00 2001
From: Coral Pink <coral.pink@disr.it>
Date: Tue, 26 Dec 2023 13:41:49 +0100
Subject: [PATCH] New package: fuzzylite-6.0

---
 common/shlibs                                 |  1 +
 .../00-set_unexpected_depracation_error.patch | 12 +++++
 .../patches/01-sigstksz-not-const.patch       | 31 ++++++++++++
 .../patches/02-fix-tests-on-i686.patch        | 23 +++++++++
 srcpkgs/fuzzylite/template                    | 47 +++++++++++++++++++
 srcpkgs/fuzzylite/update                      |  2 +
 srcpkgs/libfuzzylite                          |  1 +
 srcpkgs/libfuzzylite-devel                    |  1 +
 8 files changed, 118 insertions(+)
 create mode 100644 srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
 create mode 100644 srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
 create mode 100644 srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
 create mode 100644 srcpkgs/fuzzylite/template
 create mode 100644 srcpkgs/fuzzylite/update
 create mode 120000 srcpkgs/libfuzzylite
 create mode 120000 srcpkgs/libfuzzylite-devel

diff --git a/common/shlibs b/common/shlibs
index 4fe3b26a2e0378..d62a571eb1421d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4305,3 +4305,4 @@ libmsgraph-0.so.1 msgraph-0.2.1_1
 libgtk-session-lock.so.0 gtk-session-lock-0.2.0_1
 libcamera.so.0.2 libcamera-0.2.0_1
 libcamera-base.so.0.2 libcamera-0.2.0_1
+libfuzzylite.so.6.0 libfuzzylite-6.0_1
diff --git a/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
new file mode 100644
index 00000000000000..8a5670d9ef663b
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/00-set_unexpected_depracation_error.patch
@@ -0,0 +1,12 @@
+diff --git a/fuzzylite/src/main.cpp b/fuzzylite/src/main.cpp
+index 06ca139e..4465fbbe 100644
+--- a/fuzzylite/src/main.cpp
++++ b/fuzzylite/src/main.cpp
+@@ -21,7 +21,6 @@
+ 
+ int main(int argc, const char* argv[]) {
+     std::set_terminate(fl::Exception::terminate);
+-    std::set_unexpected(fl::Exception::terminate);
+     ::signal(SIGSEGV, fl::Exception::signalHandler);
+     ::signal(SIGABRT, fl::Exception::signalHandler);
+     ::signal(SIGILL, fl::Exception::signalHandler);
diff --git a/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
new file mode 100644
index 00000000000000..ffafec7e5faca8
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/01-sigstksz-not-const.patch
@@ -0,0 +1,31 @@
+diff --git a/fuzzylite/test/catch.hpp b/fuzzylite/test/catch.hpp
+index 6f9334ba..0ef1af21 100644
+--- a/fuzzylite/test/catch.hpp
++++ b/fuzzylite/test/catch.hpp
+@@ -6375,7 +6375,7 @@ namespace Catch {
+         static bool isSet;
+         static struct sigaction oldSigActions [sizeof(signalDefs)/sizeof(SignalDefs)];
+         static stack_t oldSigStack;
+-        static char altStackMem[SIGSTKSZ];
++        static char altStackMem[4096];
+ 
+         static void handleSignal( int sig ) {
+             std::string name = "<unknown signal>";
+@@ -6395,7 +6395,7 @@ namespace Catch {
+             isSet = true;
+             stack_t sigStack;
+             sigStack.ss_sp = altStackMem;
+-            sigStack.ss_size = SIGSTKSZ;
++            sigStack.ss_size = 4096;
+             sigStack.ss_flags = 0;
+             sigaltstack(&sigStack, &oldSigStack);
+             struct sigaction sa = { 0 };
+@@ -6426,7 +6426,7 @@ namespace Catch {
+     bool FatalConditionHandler::isSet = false;
+     struct sigaction FatalConditionHandler::oldSigActions[sizeof(signalDefs)/sizeof(SignalDefs)] = {};
+     stack_t FatalConditionHandler::oldSigStack = {};
+-    char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
++    char FatalConditionHandler::altStackMem[4096] = {};
+ 
+ } // namespace Catch
+ 
diff --git a/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
new file mode 100644
index 00000000000000..7f390438349c3d
--- /dev/null
+++ b/srcpkgs/fuzzylite/patches/02-fix-tests-on-i686.patch
@@ -0,0 +1,23 @@
+backported from https://github.com/fuzzylite/fuzzylite/commit/569eba9713e9991d5ed59189e58e047e958def29
+
+diff --git a/fuzzylite/test/BenchmarkTest.cpp b/fuzzylite/test/BenchmarkTest.cpp
+index f868ec2..0d87b62 100644
+--- a/fuzzylite/test/BenchmarkTest.cpp
++++ b/fuzzylite/test/BenchmarkTest.cpp
+@@ -117,7 +117,14 @@ namespace fl {
+         CHECK(Op::isEq(1.0, Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds)));
+         FL_LOG(Benchmark::convert(1000.0, Benchmark::MilliSeconds, Benchmark::Seconds));
+ 
+-        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds)));
++        scalar eps =
++#ifndef __i386__
++            fuzzylite::macheps();
++#else
++            1e-5;
++#endif
++
++        CHECK(Op::isEq(35e9, Benchmark::convert(35, Benchmark::Seconds, Benchmark::NanoSeconds), eps));
+         CHECK(Op::isEq(35, Benchmark::convert(35e9, Benchmark::NanoSeconds, Benchmark::Seconds)));
+     }
+ 
+
diff --git a/srcpkgs/fuzzylite/template b/srcpkgs/fuzzylite/template
new file mode 100644
index 00000000000000..72fc001d36d9f2
--- /dev/null
+++ b/srcpkgs/fuzzylite/template
@@ -0,0 +1,47 @@
+# Template file for 'fuzzylite'
+pkgname=fuzzylite
+version=6.0
+revision=1
+
+maintainer='Coral Pink <coral.pink@disr.it>'
+short_desc='Fuzzy logic control library in C++'
+
+license='GPL-3.0-only'
+homepage='https://fuzzylite.com/'
+
+distfiles="https://github.com/fuzzylite/fuzzylite/archive/refs/tags/v${version}.tar.gz"
+
+checksum='7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0'
+
+build_style='cmake'
+build_wrksrc='fuzzylite'
+
+configure_args='-Wno-dev'
+
+# musl doesn't provide required execinfo.h header
+if [ "$XBPS_TARGET_LIBC" = 'musl' ]; then
+	configure_args+=' -DFL_BACKTRACE=OFF'
+fi
+
+post_install() {
+	vman 'fuzzylite.1'
+	vlicense '../LICENSE'
+}
+
+libfuzzylite_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libfuzzylite-devel_package() {
+	short_desc+=' - development files'
+	depends="libfuzzylite>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove 'usr/include'
+		vmove 'usr/lib/pkgconfig'
+	}
+}
diff --git a/srcpkgs/fuzzylite/update b/srcpkgs/fuzzylite/update
new file mode 100644
index 00000000000000..9b7413e79a0a03
--- /dev/null
+++ b/srcpkgs/fuzzylite/update
@@ -0,0 +1,2 @@
+site='https://github.com/fuzzylite/fuzzylite/releases'
+pattern='href="/fuzzylite/fuzzylite/releases/tag/v\K[\d.]+(?=")'
diff --git a/srcpkgs/libfuzzylite b/srcpkgs/libfuzzylite
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file
diff --git a/srcpkgs/libfuzzylite-devel b/srcpkgs/libfuzzylite-devel
new file mode 120000
index 00000000000000..90c6648a573c5e
--- /dev/null
+++ b/srcpkgs/libfuzzylite-devel
@@ -0,0 +1 @@
+fuzzylite
\ No newline at end of file

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

* Re: New package: fuzzylite-6.0
  2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
                   ` (8 preceding siblings ...)
  2024-04-22 16:23 ` coralpink-d2e1ac26
@ 2024-04-22 16:26 ` coralpink-d2e1ac26
  9 siblings, 0 replies; 11+ messages in thread
From: coralpink-d2e1ac26 @ 2024-04-22 16:26 UTC (permalink / raw)
  To: ml

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

New comment by coralpink-d2e1ac26 on void-packages repository

https://github.com/void-linux/void-packages/pull/47908#issuecomment-2070122753

Comment:
![canny](https://github.com/void-linux/void-packages/assets/149012635/92bf1a06-7e77-45f3-8e88-37f1e1867eb0)


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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-26 12:45 [PR PATCH] New package: fuzzylite coralpink-d2e1ac26
2023-12-26 16:25 ` [PR PATCH] [Updated] New package: fuzzylite-6.0 coralpink-d2e1ac26
2023-12-27 14:12 ` coralpink-d2e1ac26
2024-01-09  3:02 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
2024-01-09 14:17 ` coralpink-d2e1ac26
2024-02-19  6:14 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
2024-03-08  3:52 ` coralpink-d2e1ac26
2024-03-16 14:55 ` coralpink-d2e1ac26
2024-04-04 12:02 ` [PR PATCH] [Updated] " coralpink-d2e1ac26
2024-04-22 16:23 ` coralpink-d2e1ac26
2024-04-22 16:26 ` coralpink-d2e1ac26

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