* [PR PATCH] New package: uarmsolver-0.3.0
@ 2025-01-07 19:05 firefly-cpp
2025-01-07 19:12 ` [PR PATCH] [Updated] " firefly-cpp
0 siblings, 1 reply; 2+ messages in thread
From: firefly-cpp @ 2025-01-07 19:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]
There is a new pull request by firefly-cpp against master on the void-packages repository
https://github.com/firefly-cpp/void-packages uarmsolver
https://github.com/void-linux/void-packages/pull/53884
New package: uarmsolver-0.3.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### 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**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53884.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-uarmsolver-53884.patch --]
[-- Type: text/x-diff, Size: 1215 bytes --]
From 4b3f37e39ebcb2a56db2a5f72e7fe81a036e28d4 Mon Sep 17 00:00:00 2001
From: "Iztok Fister, Jr." <iztok@iztok.dev>
Date: Tue, 7 Jan 2025 20:01:49 +0100
Subject: [PATCH] New package: uarmsolver-0.3.0
---
srcpkgs/uarmsolver/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/uarmsolver/template
diff --git a/srcpkgs/uarmsolver/template b/srcpkgs/uarmsolver/template
new file mode 100644
index 00000000000000..b170d881c4183c
--- /dev/null
+++ b/srcpkgs/uarmsolver/template
@@ -0,0 +1,20 @@
+# Template file for 'uarmsolver'
+pkgname=uarmsolver
+version=0.3.0
+revision=1
+build_style=cmake
+hostmakedepends="cmake samurai"
+short_desc="Universal Association Rule Mining Solver"
+maintainer="Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>"
+license="MIT"
+homepage="https://github.com/firefly-cpp/uARMSolver"
+distfiles="https://github.com/firefly-cpp/uARMSolver/archive/${version}/uARMSolver-${version}.tar.gz"
+checksum=314cc2e621317d447be0e724a84a56d9cd3132c2a9e5ad090bdaafef5ad3c784
+
+do_install() {
+ install -Dm755 build/uARMSolver "${DESTDIR}/usr/bin/uARMSolver"
+
+ install -Dm644 uARMSolver.1 "${DESTDIR}/usr/share/man/man1/uARMSolver.1"
+
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Updated] New package: uarmsolver-0.3.0
2025-01-07 19:05 [PR PATCH] New package: uarmsolver-0.3.0 firefly-cpp
@ 2025-01-07 19:12 ` firefly-cpp
0 siblings, 0 replies; 2+ messages in thread
From: firefly-cpp @ 2025-01-07 19:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]
There is an updated pull request by firefly-cpp against master on the void-packages repository
https://github.com/firefly-cpp/void-packages uarmsolver
https://github.com/void-linux/void-packages/pull/53884
New package: uarmsolver-0.3.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### 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**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53884.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-uarmsolver-53884.patch --]
[-- Type: text/x-diff, Size: 2163 bytes --]
From 33f8dad9698d56041ccb8a25f2c54a80df36ad2e Mon Sep 17 00:00:00 2001
From: "Iztok Fister, Jr." <iztok@iztok.dev>
Date: Tue, 7 Jan 2025 20:01:49 +0100
Subject: [PATCH] New package: uarmsolver-0.3.0
---
srcpkgs/uarmsolver/fix-uint.patch | 35 +++++++++++++++++++++++++++++++
srcpkgs/uarmsolver/template | 24 +++++++++++++++++++++
2 files changed, 59 insertions(+)
create mode 100644 srcpkgs/uarmsolver/fix-uint.patch
create mode 100644 srcpkgs/uarmsolver/template
diff --git a/srcpkgs/uarmsolver/fix-uint.patch b/srcpkgs/uarmsolver/fix-uint.patch
new file mode 100644
index 00000000000000..98eb4798f6245f
--- /dev/null
+++ b/srcpkgs/uarmsolver/fix-uint.patch
@@ -0,0 +1,35 @@
+--- a/sources/Problem.h
++++ b/sources/Problem.h
+@@ -18,6 +18,8 @@
+ #include "Rule.h"
+ #include "Setup.h"
+
++#define uint unsigned int
++
+
+ using namespace std;
+
+--- a/sources/Setup.h
++++ b/sources/Setup.h
+@@ -19,6 +19,8 @@
+ #define VISUAL_FLOW 1
+ #define VISUAL_METRO 2
+
++#define uint unsigned int
++
+ using namespace std;
+
+ // algorithm's setups
+--- a/sources/Feature.h
++++ b/sources/Feature.h
+@@ -5,6 +5,8 @@
+
+ #include "Attribute.h"
+
++#define uint unsigned int
++
+ using namespace std;
+
+ typedef struct {
+
+
diff --git a/srcpkgs/uarmsolver/template b/srcpkgs/uarmsolver/template
new file mode 100644
index 00000000000000..84c9ede9203af1
--- /dev/null
+++ b/srcpkgs/uarmsolver/template
@@ -0,0 +1,24 @@
+# Template file for 'uarmsolver'
+pkgname=uarmsolver
+version=0.3.0
+revision=1
+build_style=cmake
+hostmakedepends="cmake samurai"
+short_desc="Universal Association Rule Mining Solver"
+maintainer="Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>"
+license="MIT"
+homepage="https://github.com/firefly-cpp/uARMSolver"
+distfiles="https://github.com/firefly-cpp/uARMSolver/archive/${version}/uARMSolver-${version}.tar.gz"
+checksum=314cc2e621317d447be0e724a84a56d9cd3132c2a9e5ad090bdaafef5ad3c784
+
+patch() {
+ patch -p1 < "${FILESDIR}/fix-uint.patch"
+}
+
+do_install() {
+ install -Dm755 build/uARMSolver "${DESTDIR}/usr/bin/uARMSolver"
+
+ install -Dm644 uARMSolver.1 "${DESTDIR}/usr/share/man/man1/uARMSolver.1"
+
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-07 19:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-07 19:05 [PR PATCH] New package: uarmsolver-0.3.0 firefly-cpp
2025-01-07 19:12 ` [PR PATCH] [Updated] " firefly-cpp
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).