Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: Criterion-2.4.2
@ 2024-04-29 12:39 MIvanchev
  2024-04-29 16:12 ` [PR PATCH] [Updated] " MIvanchev
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: MIvanchev @ 2024-04-29 12:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages criterion
https://github.com/void-linux/void-packages/pull/50109

[WIP] New package: Criterion-2.4.2
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 31c6b01f5ae1e70a1efc5e05184bc6e1ed934b19 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Mon, 29 Apr 2024 14:38:42 +0200
Subject: [PATCH] New package: Criterion-2.4.2

---
 srcpkgs/Criterion-devel               |  1 +
 srcpkgs/Criterion/patches/wraps.patch | 38 ++++++++++++++++++++
 srcpkgs/Criterion/template            | 50 +++++++++++++++++++++++++++
 3 files changed, 89 insertions(+)
 create mode 120000 srcpkgs/Criterion-devel
 create mode 100644 srcpkgs/Criterion/patches/wraps.patch
 create mode 100644 srcpkgs/Criterion/template

diff --git a/srcpkgs/Criterion-devel b/srcpkgs/Criterion-devel
new file mode 120000
index 00000000000000..f21a0adfe892f3
--- /dev/null
+++ b/srcpkgs/Criterion-devel
@@ -0,0 +1 @@
+Criterion
\ No newline at end of file
diff --git a/srcpkgs/Criterion/patches/wraps.patch b/srcpkgs/Criterion/patches/wraps.patch
new file mode 100644
index 00000000000000..ba6bc0a3f7379b
--- /dev/null
+++ b/srcpkgs/Criterion/patches/wraps.patch
@@ -0,0 +1,38 @@
+diff --git a/subprojects/debugbreak.wrap b/subprojects/debugbreak.wrap
+index e8fd6cc..a46a315 100644
+--- a/subprojects/debugbreak.wrap
++++ b/subprojects/debugbreak.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/MrAnno/debugbreak.git
+-revision = 83bf7e933311b88613cbaadeced9c2e2c811054a
++[wrap-file]
+ directory = debugbreak
+-patch_directory = debugbreak 
+ 
+ [provide]
+ debugbreak = debugbreak_dep
+diff --git a/subprojects/klib.wrap b/subprojects/klib.wrap
+index 9c9cc7a..446f4da 100644
+--- a/subprojects/klib.wrap
++++ b/subprojects/klib.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/attractivechaos/klib.git
+-revision = cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
++[wrap-file]
+ directory = klib
+-patch_directory = klib
+ 
+ [provide]
+ klib = klib_dep
+diff --git a/subprojects/nanopb-cmake.wrap b/subprojects/nanopb-cmake.wrap
+index 0e4d1fa..960ab61 100644
+--- a/subprojects/nanopb-cmake.wrap
++++ b/subprojects/nanopb-cmake.wrap
+@@ -1,4 +1,2 @@
+-[wrap-git]
++[wrap-file]
+ directory = nanopb
+-url = https://github.com/nanopb/nanopb
+-revision = nanopb-0.4.7
diff --git a/srcpkgs/Criterion/template b/srcpkgs/Criterion/template
new file mode 100644
index 00000000000000..db1f6ef842d779
--- /dev/null
+++ b/srcpkgs/Criterion/template
@@ -0,0 +1,50 @@
+# Template file for 'Criterion'
+pkgname=Criterion
+version=2.4.2
+revision=1
+build_style=meson
+configure_args="-Dsamples=false"
+hostmakedepends="pkg-config cmake"
+makedepends="libffi-devel libgit2-devel nanomsg-devel gettext-devel"
+short_desc="Cross-platform C and C++ unit testing framework for the 21st century"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://github.com/Snaipe/Criterion"
+distfiles="https://github.com/Snaipe/Criterion/archive/refs/tags/v${version}.tar.gz
+	https://github.com/MrAnno/debugbreak/archive/83bf7e933311b88613cbaadeced9c2e2c811054a.tar.gz>debugbreak.tar.gz
+	https://github.com/attractivechaos/klib/archive/cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502.tar.gz>klib.tar.gz
+	https://github.com/nanopb/nanopb/archive/refs/tags/0.4.7.tar.gz>nanopb.tar.gz
+	https://github.com/Snaipe/BoxFort/archive/c91d7181734ab2fd6d1299e8aa927297f0ddb754.tar.gz>BoxFort.tar.gz"
+checksum="83e1a39c8c519fbef0d64057dc61c8100b3a5741595788c9f094bba2eeeef0df
+ 9de3bb0d23f43a6f019f186261a21f3f709c5717c61539ab655b7051ae58ee51
+ 1291ba5df7badf7f68188b4a622a7e694de61f8a01adbed9099da01df81f9c9a
+ e1d89b166367a3c42d42311bdc2ed57ff78f86aede9a66828516e45490d48c81
+ e48cdc4973a20d5efd68c6a00b42df4d664953bb8778ca5d9b7e9e2b1a3cd527"
+skip_extraction="debugbreak klib nanopb BoxFort"
+build_wrksrc=${pkgname}-${version}
+patch_args="-Np1 --directory=${build_wrksrc}"
+
+post_extract() {
+	subprojs=${build_wrksrc}/subprojects
+	vsrcextract -C ${subprojs}/debugbreak debugbreak.tar.gz
+	cp -R ${subprojs}/packagefiles/debugbreak ${subprojs}/
+	vsrcextract -C ${subprojs}/klib klib.tar.gz
+	cp -R ${subprojs}/packagefiles/klib ${subprojs}/
+	vsrcextract -C ${subprojs}/nanopb nanopb.tar.gz
+	vsrcextract -C ${subprojs}/boxfort BoxFort.tar.gz
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+Criterion-devel_package() {
+	depends="Criterion>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/*.so
+		vmove usr/lib/*.a
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: Criterion-2.4.2
  2024-04-29 12:39 [PR PATCH] [WIP] New package: Criterion-2.4.2 MIvanchev
@ 2024-04-29 16:12 ` MIvanchev
  2024-04-29 17:38 ` [PR PATCH] [Updated] " MIvanchev
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: MIvanchev @ 2024-04-29 16:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages criterion
https://github.com/void-linux/void-packages/pull/50109

[WIP] New package: Criterion-2.4.2
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 314bc7ce3ffac0717403618b9e0cfb2e32f425b6 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Mon, 29 Apr 2024 14:38:42 +0200
Subject: [PATCH] New package: Criterion-2.4.2

---
 srcpkgs/Criterion-devel               |  1 +
 srcpkgs/Criterion/patches/wraps.patch | 38 ++++++++++++++++++++
 srcpkgs/Criterion/template            | 51 +++++++++++++++++++++++++++
 3 files changed, 90 insertions(+)
 create mode 120000 srcpkgs/Criterion-devel
 create mode 100644 srcpkgs/Criterion/patches/wraps.patch
 create mode 100644 srcpkgs/Criterion/template

diff --git a/srcpkgs/Criterion-devel b/srcpkgs/Criterion-devel
new file mode 120000
index 00000000000000..f21a0adfe892f3
--- /dev/null
+++ b/srcpkgs/Criterion-devel
@@ -0,0 +1 @@
+Criterion
\ No newline at end of file
diff --git a/srcpkgs/Criterion/patches/wraps.patch b/srcpkgs/Criterion/patches/wraps.patch
new file mode 100644
index 00000000000000..ba6bc0a3f7379b
--- /dev/null
+++ b/srcpkgs/Criterion/patches/wraps.patch
@@ -0,0 +1,38 @@
+diff --git a/subprojects/debugbreak.wrap b/subprojects/debugbreak.wrap
+index e8fd6cc..a46a315 100644
+--- a/subprojects/debugbreak.wrap
++++ b/subprojects/debugbreak.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/MrAnno/debugbreak.git
+-revision = 83bf7e933311b88613cbaadeced9c2e2c811054a
++[wrap-file]
+ directory = debugbreak
+-patch_directory = debugbreak 
+ 
+ [provide]
+ debugbreak = debugbreak_dep
+diff --git a/subprojects/klib.wrap b/subprojects/klib.wrap
+index 9c9cc7a..446f4da 100644
+--- a/subprojects/klib.wrap
++++ b/subprojects/klib.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/attractivechaos/klib.git
+-revision = cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
++[wrap-file]
+ directory = klib
+-patch_directory = klib
+ 
+ [provide]
+ klib = klib_dep
+diff --git a/subprojects/nanopb-cmake.wrap b/subprojects/nanopb-cmake.wrap
+index 0e4d1fa..960ab61 100644
+--- a/subprojects/nanopb-cmake.wrap
++++ b/subprojects/nanopb-cmake.wrap
+@@ -1,4 +1,2 @@
+-[wrap-git]
++[wrap-file]
+ directory = nanopb
+-url = https://github.com/nanopb/nanopb
+-revision = nanopb-0.4.7
diff --git a/srcpkgs/Criterion/template b/srcpkgs/Criterion/template
new file mode 100644
index 00000000000000..15d9902cb81d2f
--- /dev/null
+++ b/srcpkgs/Criterion/template
@@ -0,0 +1,51 @@
+# Template file for 'Criterion'
+pkgname=Criterion
+version=2.4.2
+revision=1
+build_style=meson
+configure_args="-Dsamples=false"
+hostmakedepends="pkg-config cmake"
+makedepends="libffi-devel libgit2-devel nanomsg-devel gettext-devel"
+short_desc="Cross-platform C and C++ unit testing framework for the 21st century"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://github.com/Snaipe/Criterion"
+distfiles="https://github.com/Snaipe/Criterion/archive/refs/tags/v${version}.tar.gz
+	https://github.com/MrAnno/debugbreak/archive/83bf7e933311b88613cbaadeced9c2e2c811054a.tar.gz>debugbreak.tar.gz
+	https://github.com/attractivechaos/klib/archive/cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502.tar.gz>klib.tar.gz
+	https://github.com/nanopb/nanopb/archive/refs/tags/0.4.7.tar.gz>nanopb.tar.gz
+	https://github.com/Snaipe/BoxFort/archive/c91d7181734ab2fd6d1299e8aa927297f0ddb754.tar.gz>BoxFort.tar.gz"
+checksum="83e1a39c8c519fbef0d64057dc61c8100b3a5741595788c9f094bba2eeeef0df
+ 9de3bb0d23f43a6f019f186261a21f3f709c5717c61539ab655b7051ae58ee51
+ 1291ba5df7badf7f68188b4a622a7e694de61f8a01adbed9099da01df81f9c9a
+ e1d89b166367a3c42d42311bdc2ed57ff78f86aede9a66828516e45490d48c81
+ e48cdc4973a20d5efd68c6a00b42df4d664953bb8778ca5d9b7e9e2b1a3cd527"
+skip_extraction="debugbreak klib nanopb BoxFort"
+build_wrksrc=${pkgname}-${version}
+patch_args="-Np1 --directory=${build_wrksrc}"
+
+post_extract() {
+	subprojs=${build_wrksrc}/subprojects
+	vsrcextract -C ${subprojs}/debugbreak debugbreak.tar.gz
+	cp -R ${subprojs}/packagefiles/debugbreak ${subprojs}/
+	vsrcextract -C ${subprojs}/klib klib.tar.gz
+	cp -R ${subprojs}/packagefiles/klib ${subprojs}/
+	vsrcextract -C ${subprojs}/nanopb nanopb.tar.gz
+	vsrcextract -C ${subprojs}/boxfort BoxFort.tar.gz
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+Criterion-devel_package() {
+	depends="Criterion>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: Criterion-2.4.2
  2024-04-29 12:39 [PR PATCH] [WIP] New package: Criterion-2.4.2 MIvanchev
  2024-04-29 16:12 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-04-29 17:38 ` MIvanchev
  2024-04-29 17:38 ` MIvanchev
  2024-04-29 17:50 ` MIvanchev
  3 siblings, 0 replies; 5+ messages in thread
From: MIvanchev @ 2024-04-29 17:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages criterion
https://github.com/void-linux/void-packages/pull/50109

New package: Criterion-2.4.2
#### 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)


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

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

From 6e0536b30f47c42d975718c12fea9b127ceb79bb Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Mon, 29 Apr 2024 14:38:42 +0200
Subject: [PATCH] New package: Criterion-2.4.2

---
 srcpkgs/Criterion-devel               |  1 +
 srcpkgs/Criterion/patches/wraps.patch | 38 ++++++++++++++++++
 srcpkgs/Criterion/template            | 55 +++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)
 create mode 120000 srcpkgs/Criterion-devel
 create mode 100644 srcpkgs/Criterion/patches/wraps.patch
 create mode 100644 srcpkgs/Criterion/template

diff --git a/srcpkgs/Criterion-devel b/srcpkgs/Criterion-devel
new file mode 120000
index 00000000000000..f21a0adfe892f3
--- /dev/null
+++ b/srcpkgs/Criterion-devel
@@ -0,0 +1 @@
+Criterion
\ No newline at end of file
diff --git a/srcpkgs/Criterion/patches/wraps.patch b/srcpkgs/Criterion/patches/wraps.patch
new file mode 100644
index 00000000000000..ba6bc0a3f7379b
--- /dev/null
+++ b/srcpkgs/Criterion/patches/wraps.patch
@@ -0,0 +1,38 @@
+diff --git a/subprojects/debugbreak.wrap b/subprojects/debugbreak.wrap
+index e8fd6cc..a46a315 100644
+--- a/subprojects/debugbreak.wrap
++++ b/subprojects/debugbreak.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/MrAnno/debugbreak.git
+-revision = 83bf7e933311b88613cbaadeced9c2e2c811054a
++[wrap-file]
+ directory = debugbreak
+-patch_directory = debugbreak 
+ 
+ [provide]
+ debugbreak = debugbreak_dep
+diff --git a/subprojects/klib.wrap b/subprojects/klib.wrap
+index 9c9cc7a..446f4da 100644
+--- a/subprojects/klib.wrap
++++ b/subprojects/klib.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/attractivechaos/klib.git
+-revision = cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
++[wrap-file]
+ directory = klib
+-patch_directory = klib
+ 
+ [provide]
+ klib = klib_dep
+diff --git a/subprojects/nanopb-cmake.wrap b/subprojects/nanopb-cmake.wrap
+index 0e4d1fa..960ab61 100644
+--- a/subprojects/nanopb-cmake.wrap
++++ b/subprojects/nanopb-cmake.wrap
+@@ -1,4 +1,2 @@
+-[wrap-git]
++[wrap-file]
+ directory = nanopb
+-url = https://github.com/nanopb/nanopb
+-revision = nanopb-0.4.7
diff --git a/srcpkgs/Criterion/template b/srcpkgs/Criterion/template
new file mode 100644
index 00000000000000..4f596a4020054c
--- /dev/null
+++ b/srcpkgs/Criterion/template
@@ -0,0 +1,55 @@
+# Template file for 'Criterion'
+pkgname=Criterion
+version=2.4.2
+_debugbreakcommit=83bf7e933311b88613cbaadeced9c2e2c811054a
+_klibcommit=cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
+_nanopbver=0.4.7
+_BoxFortcommit=c91d7181734ab2fd6d1299e8aa927297f0ddb754
+revision=1
+build_style=meson
+configure_args="-Dsamples=false"
+hostmakedepends="pkg-config cmake"
+makedepends="libffi-devel libgit2-devel nanomsg-devel gettext-devel"
+short_desc="Cross-platform C and C++ unit testing framework for the 21st century"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://github.com/Snaipe/Criterion"
+distfiles="https://github.com/Snaipe/Criterion/archive/refs/tags/v${version}.tar.gz
+	https://github.com/MrAnno/debugbreak/archive/${_debugbreakcommit}.tar.gz>debugbreak.tar.gz
+	https://github.com/attractivechaos/klib/archive/${_klibcommit}.tar.gz>klib.tar.gz
+	https://github.com/nanopb/nanopb/archive/refs/tags/${_nanopbver}.tar.gz>nanopb.tar.gz
+	https://github.com/Snaipe/BoxFort/archive/${_BoxFortcommit}.tar.gz>BoxFort.tar.gz"
+checksum="83e1a39c8c519fbef0d64057dc61c8100b3a5741595788c9f094bba2eeeef0df
+ 9de3bb0d23f43a6f019f186261a21f3f709c5717c61539ab655b7051ae58ee51
+ 1291ba5df7badf7f68188b4a622a7e694de61f8a01adbed9099da01df81f9c9a
+ e1d89b166367a3c42d42311bdc2ed57ff78f86aede9a66828516e45490d48c81
+ e48cdc4973a20d5efd68c6a00b42df4d664953bb8778ca5d9b7e9e2b1a3cd527"
+skip_extraction="debugbreak klib nanopb BoxFort"
+build_wrksrc=${pkgname}-${version}
+patch_args="-Np1 --directory=${build_wrksrc}"
+
+post_extract() {
+	subprojs=${build_wrksrc}/subprojects
+	vsrcextract -C ${subprojs}/debugbreak debugbreak.tar.gz
+	cp -R ${subprojs}/packagefiles/debugbreak ${subprojs}/
+	vsrcextract -C ${subprojs}/klib klib.tar.gz
+	cp -R ${subprojs}/packagefiles/klib ${subprojs}/
+	vsrcextract -C ${subprojs}/nanopb nanopb.tar.gz
+	vsrcextract -C ${subprojs}/boxfort BoxFort.tar.gz
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+Criterion-devel_package() {
+	depends="Criterion>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: Criterion-2.4.2
  2024-04-29 12:39 [PR PATCH] [WIP] New package: Criterion-2.4.2 MIvanchev
  2024-04-29 16:12 ` [PR PATCH] [Updated] " MIvanchev
  2024-04-29 17:38 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-04-29 17:38 ` MIvanchev
  2024-04-29 17:50 ` MIvanchev
  3 siblings, 0 replies; 5+ messages in thread
From: MIvanchev @ 2024-04-29 17:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages criterion
https://github.com/void-linux/void-packages/pull/50109

New package: Criterion-2.4.2
#### 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)


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

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

From af40094c42b677492b09861f004a6722cafe7126 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Mon, 29 Apr 2024 14:38:42 +0200
Subject: [PATCH] New package: Criterion-2.4.2

---
 srcpkgs/Criterion-devel               |  1 +
 srcpkgs/Criterion/patches/wraps.patch | 38 ++++++++++++++++++
 srcpkgs/Criterion/template            | 55 +++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)
 create mode 120000 srcpkgs/Criterion-devel
 create mode 100644 srcpkgs/Criterion/patches/wraps.patch
 create mode 100644 srcpkgs/Criterion/template

diff --git a/srcpkgs/Criterion-devel b/srcpkgs/Criterion-devel
new file mode 120000
index 00000000000000..f21a0adfe892f3
--- /dev/null
+++ b/srcpkgs/Criterion-devel
@@ -0,0 +1 @@
+Criterion
\ No newline at end of file
diff --git a/srcpkgs/Criterion/patches/wraps.patch b/srcpkgs/Criterion/patches/wraps.patch
new file mode 100644
index 00000000000000..ba6bc0a3f7379b
--- /dev/null
+++ b/srcpkgs/Criterion/patches/wraps.patch
@@ -0,0 +1,38 @@
+diff --git a/subprojects/debugbreak.wrap b/subprojects/debugbreak.wrap
+index e8fd6cc..a46a315 100644
+--- a/subprojects/debugbreak.wrap
++++ b/subprojects/debugbreak.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/MrAnno/debugbreak.git
+-revision = 83bf7e933311b88613cbaadeced9c2e2c811054a
++[wrap-file]
+ directory = debugbreak
+-patch_directory = debugbreak 
+ 
+ [provide]
+ debugbreak = debugbreak_dep
+diff --git a/subprojects/klib.wrap b/subprojects/klib.wrap
+index 9c9cc7a..446f4da 100644
+--- a/subprojects/klib.wrap
++++ b/subprojects/klib.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/attractivechaos/klib.git
+-revision = cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
++[wrap-file]
+ directory = klib
+-patch_directory = klib
+ 
+ [provide]
+ klib = klib_dep
+diff --git a/subprojects/nanopb-cmake.wrap b/subprojects/nanopb-cmake.wrap
+index 0e4d1fa..960ab61 100644
+--- a/subprojects/nanopb-cmake.wrap
++++ b/subprojects/nanopb-cmake.wrap
+@@ -1,4 +1,2 @@
+-[wrap-git]
++[wrap-file]
+ directory = nanopb
+-url = https://github.com/nanopb/nanopb
+-revision = nanopb-0.4.7
diff --git a/srcpkgs/Criterion/template b/srcpkgs/Criterion/template
new file mode 100644
index 00000000000000..7bc90973de3fc7
--- /dev/null
+++ b/srcpkgs/Criterion/template
@@ -0,0 +1,55 @@
+# Template file for 'Criterion'
+pkgname=Criterion
+_debugbreakcommit=83bf7e933311b88613cbaadeced9c2e2c811054a
+_klibcommit=cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
+_nanopbver=0.4.7
+_BoxFortcommit=c91d7181734ab2fd6d1299e8aa927297f0ddb754
+version=2.4.2
+revision=1
+build_style=meson
+configure_args="-Dsamples=false"
+hostmakedepends="pkg-config cmake"
+makedepends="libffi-devel libgit2-devel nanomsg-devel gettext-devel"
+short_desc="Cross-platform C and C++ unit testing framework for the 21st century"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://github.com/Snaipe/Criterion"
+distfiles="https://github.com/Snaipe/Criterion/archive/refs/tags/v${version}.tar.gz
+	https://github.com/MrAnno/debugbreak/archive/${_debugbreakcommit}.tar.gz>debugbreak.tar.gz
+	https://github.com/attractivechaos/klib/archive/${_klibcommit}.tar.gz>klib.tar.gz
+	https://github.com/nanopb/nanopb/archive/refs/tags/${_nanopbver}.tar.gz>nanopb.tar.gz
+	https://github.com/Snaipe/BoxFort/archive/${_BoxFortcommit}.tar.gz>BoxFort.tar.gz"
+checksum="83e1a39c8c519fbef0d64057dc61c8100b3a5741595788c9f094bba2eeeef0df
+ 9de3bb0d23f43a6f019f186261a21f3f709c5717c61539ab655b7051ae58ee51
+ 1291ba5df7badf7f68188b4a622a7e694de61f8a01adbed9099da01df81f9c9a
+ e1d89b166367a3c42d42311bdc2ed57ff78f86aede9a66828516e45490d48c81
+ e48cdc4973a20d5efd68c6a00b42df4d664953bb8778ca5d9b7e9e2b1a3cd527"
+skip_extraction="debugbreak klib nanopb BoxFort"
+build_wrksrc=${pkgname}-${version}
+patch_args="-Np1 --directory=${build_wrksrc}"
+
+post_extract() {
+	subprojs=${build_wrksrc}/subprojects
+	vsrcextract -C ${subprojs}/debugbreak debugbreak.tar.gz
+	cp -R ${subprojs}/packagefiles/debugbreak ${subprojs}/
+	vsrcextract -C ${subprojs}/klib klib.tar.gz
+	cp -R ${subprojs}/packagefiles/klib ${subprojs}/
+	vsrcextract -C ${subprojs}/nanopb nanopb.tar.gz
+	vsrcextract -C ${subprojs}/boxfort BoxFort.tar.gz
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+Criterion-devel_package() {
+	depends="Criterion>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: Criterion-2.4.2
  2024-04-29 12:39 [PR PATCH] [WIP] New package: Criterion-2.4.2 MIvanchev
                   ` (2 preceding siblings ...)
  2024-04-29 17:38 ` MIvanchev
@ 2024-04-29 17:50 ` MIvanchev
  3 siblings, 0 replies; 5+ messages in thread
From: MIvanchev @ 2024-04-29 17:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages criterion
https://github.com/void-linux/void-packages/pull/50109

New package: Criterion-2.4.2
#### 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)


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

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

From 4ddca3564d1c3b49eaf37d048bb494c0536821ad Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Mon, 29 Apr 2024 14:38:42 +0200
Subject: [PATCH] New package: Criterion-2.4.2

---
 srcpkgs/Criterion-devel               |  1 +
 srcpkgs/Criterion/patches/wraps.patch | 38 ++++++++++++++++++
 srcpkgs/Criterion/template            | 55 +++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)
 create mode 120000 srcpkgs/Criterion-devel
 create mode 100644 srcpkgs/Criterion/patches/wraps.patch
 create mode 100644 srcpkgs/Criterion/template

diff --git a/srcpkgs/Criterion-devel b/srcpkgs/Criterion-devel
new file mode 120000
index 00000000000000..f21a0adfe892f3
--- /dev/null
+++ b/srcpkgs/Criterion-devel
@@ -0,0 +1 @@
+Criterion
\ No newline at end of file
diff --git a/srcpkgs/Criterion/patches/wraps.patch b/srcpkgs/Criterion/patches/wraps.patch
new file mode 100644
index 00000000000000..ba6bc0a3f7379b
--- /dev/null
+++ b/srcpkgs/Criterion/patches/wraps.patch
@@ -0,0 +1,38 @@
+diff --git a/subprojects/debugbreak.wrap b/subprojects/debugbreak.wrap
+index e8fd6cc..a46a315 100644
+--- a/subprojects/debugbreak.wrap
++++ b/subprojects/debugbreak.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/MrAnno/debugbreak.git
+-revision = 83bf7e933311b88613cbaadeced9c2e2c811054a
++[wrap-file]
+ directory = debugbreak
+-patch_directory = debugbreak 
+ 
+ [provide]
+ debugbreak = debugbreak_dep
+diff --git a/subprojects/klib.wrap b/subprojects/klib.wrap
+index 9c9cc7a..446f4da 100644
+--- a/subprojects/klib.wrap
++++ b/subprojects/klib.wrap
+@@ -1,8 +1,5 @@
+-[wrap-git]
+-url = https://github.com/attractivechaos/klib.git
+-revision = cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
++[wrap-file]
+ directory = klib
+-patch_directory = klib
+ 
+ [provide]
+ klib = klib_dep
+diff --git a/subprojects/nanopb-cmake.wrap b/subprojects/nanopb-cmake.wrap
+index 0e4d1fa..960ab61 100644
+--- a/subprojects/nanopb-cmake.wrap
++++ b/subprojects/nanopb-cmake.wrap
+@@ -1,4 +1,2 @@
+-[wrap-git]
++[wrap-file]
+ directory = nanopb
+-url = https://github.com/nanopb/nanopb
+-revision = nanopb-0.4.7
diff --git a/srcpkgs/Criterion/template b/srcpkgs/Criterion/template
new file mode 100644
index 00000000000000..7bc90973de3fc7
--- /dev/null
+++ b/srcpkgs/Criterion/template
@@ -0,0 +1,55 @@
+# Template file for 'Criterion'
+pkgname=Criterion
+_debugbreakcommit=83bf7e933311b88613cbaadeced9c2e2c811054a
+_klibcommit=cdb7e9236dc47abf8da7ebd702cc6f7f21f0c502
+_nanopbver=0.4.7
+_BoxFortcommit=c91d7181734ab2fd6d1299e8aa927297f0ddb754
+version=2.4.2
+revision=1
+build_style=meson
+configure_args="-Dsamples=false"
+hostmakedepends="pkg-config cmake"
+makedepends="libffi-devel libgit2-devel nanomsg-devel gettext-devel"
+short_desc="Cross-platform C and C++ unit testing framework for the 21st century"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://github.com/Snaipe/Criterion"
+distfiles="https://github.com/Snaipe/Criterion/archive/refs/tags/v${version}.tar.gz
+	https://github.com/MrAnno/debugbreak/archive/${_debugbreakcommit}.tar.gz>debugbreak.tar.gz
+	https://github.com/attractivechaos/klib/archive/${_klibcommit}.tar.gz>klib.tar.gz
+	https://github.com/nanopb/nanopb/archive/refs/tags/${_nanopbver}.tar.gz>nanopb.tar.gz
+	https://github.com/Snaipe/BoxFort/archive/${_BoxFortcommit}.tar.gz>BoxFort.tar.gz"
+checksum="83e1a39c8c519fbef0d64057dc61c8100b3a5741595788c9f094bba2eeeef0df
+ 9de3bb0d23f43a6f019f186261a21f3f709c5717c61539ab655b7051ae58ee51
+ 1291ba5df7badf7f68188b4a622a7e694de61f8a01adbed9099da01df81f9c9a
+ e1d89b166367a3c42d42311bdc2ed57ff78f86aede9a66828516e45490d48c81
+ e48cdc4973a20d5efd68c6a00b42df4d664953bb8778ca5d9b7e9e2b1a3cd527"
+skip_extraction="debugbreak klib nanopb BoxFort"
+build_wrksrc=${pkgname}-${version}
+patch_args="-Np1 --directory=${build_wrksrc}"
+
+post_extract() {
+	subprojs=${build_wrksrc}/subprojects
+	vsrcextract -C ${subprojs}/debugbreak debugbreak.tar.gz
+	cp -R ${subprojs}/packagefiles/debugbreak ${subprojs}/
+	vsrcextract -C ${subprojs}/klib klib.tar.gz
+	cp -R ${subprojs}/packagefiles/klib ${subprojs}/
+	vsrcextract -C ${subprojs}/nanopb nanopb.tar.gz
+	vsrcextract -C ${subprojs}/boxfort BoxFort.tar.gz
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+Criterion-devel_package() {
+	depends="Criterion>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

end of thread, other threads:[~2024-04-29 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-29 12:39 [PR PATCH] [WIP] New package: Criterion-2.4.2 MIvanchev
2024-04-29 16:12 ` [PR PATCH] [Updated] " MIvanchev
2024-04-29 17:38 ` [PR PATCH] [Updated] " MIvanchev
2024-04-29 17:38 ` MIvanchev
2024-04-29 17:50 ` MIvanchev

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