* [PR PATCH] New package: Cockatrice-2.10.0
@ 2025-02-27 3:48 jason1987d
2025-02-27 3:49 ` [PR PATCH] [Updated] " jason1987d
` (18 more replies)
0 siblings, 19 replies; 20+ messages in thread
From: jason1987d @ 2025-02-27 3:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
There is a new pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 1397 bytes --]
From 5c1b324d1b73cc8611dfd106bd622d1e4c745845 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
srcpkgs/Cockatrice/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..21e05507e9cafd
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,15 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="cmake git liblzma pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
+depends="qt6-core qt6-base qt6-sql mariadb qt6-tools zlib libprotobuf"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
@ 2025-02-27 3:49 ` jason1987d
2025-02-27 4:15 ` jason1987d
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-27 3:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 1393 bytes --]
From 488fa904632f51e96bb9f9d49c7080c6d0fa231e Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
srcpkgs/Cockatrice/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..3c1c4fb32bfe94
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,15 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="cmake git liblzma pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
+depends="qt6-core qt6-base qt6-sql mariadb qt6-tools zlib libprotobuf"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
2025-02-27 3:49 ` [PR PATCH] [Updated] " jason1987d
@ 2025-02-27 4:15 ` jason1987d
2025-02-27 4:16 ` [PR PATCH] [Updated] " jason1987d
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-27 4:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2686821138
Comment:
Apologies for the build failures on other architectures. Doing some research, found the arch pkgbuild lists support for only i686 and x86_64, consistent with what I'm seeing here. Will update.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
2025-02-27 3:49 ` [PR PATCH] [Updated] " jason1987d
2025-02-27 4:15 ` jason1987d
@ 2025-02-27 4:16 ` jason1987d
2025-02-27 19:48 ` Rutpiv
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-27 4:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 1415 bytes --]
From fe33bd8db64c16bd297daa4150e368345fec3793 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
srcpkgs/Cockatrice/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..522b27be9fd433
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,16 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+archs="i686 x86_64"
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="cmake git liblzma pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
+depends="qt6-core qt6-base qt6-sql mariadb qt6-tools zlib libprotobuf"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (2 preceding siblings ...)
2025-02-27 4:16 ` [PR PATCH] [Updated] " jason1987d
@ 2025-02-27 19:48 ` Rutpiv
2025-02-27 21:16 ` [PR PATCH] [Updated] " jason1987d
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Rutpiv @ 2025-02-27 19:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]
New comment by Rutpiv on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2688962972
Comment:
Hello, I've looked into the build process using CMake, and it appears that the issue might be more related to crossbuilding than to the supported architectures. Specifically, CMake doesn't seem to find qt6 at [this line](https://github.com/Cockatrice/Cockatrice/blob/93d28717e09b0530fe633f37694c54124b9ea407/CMakeLists.txt#L221) and then fails after reaching [this line](https://github.com/Cockatrice/Cockatrice/blob/93d28717e09b0530fe633f37694c54124b9ea407/cmake/FindQtRuntime.cmake#L73), returning an error that qt was not found.
Additionally, I noticed on [Repology](https://repology.org/project/cockatrice/versions) that there are ARM builds in the Arch derivatives, and I believe the package compiles on these architectures when not crossbuilt. Given this, it might be better to set `nocross=yes` in the template rather than restricting it to `i686 x86_64`.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (3 preceding siblings ...)
2025-02-27 19:48 ` Rutpiv
@ 2025-02-27 21:16 ` jason1987d
2025-02-27 23:05 ` Rutpiv
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-27 21:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 1407 bytes --]
From 3f7994a0b7e8d14da2338e250921b1befcaad1e4 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
srcpkgs/Cockatrice/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..5c5f94c09ffd8f
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,16 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="cmake git liblzma pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
+depends="qt6-core qt6-base qt6-sql mariadb qt6-tools zlib libprotobuf"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
+nocross=yes
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (4 preceding siblings ...)
2025-02-27 21:16 ` [PR PATCH] [Updated] " jason1987d
@ 2025-02-27 23:05 ` Rutpiv
2025-02-27 23:55 ` [PR PATCH] [Updated] " jason1987d
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Rutpiv @ 2025-02-27 23:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
New comment by Rutpiv on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2689311515
Comment:
I've noticed that the build fails on musl. On my system, compiling for musl, if I add the following snippet:
```
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
fi
```
the build passes the previously failing part.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (5 preceding siblings ...)
2025-02-27 23:05 ` Rutpiv
@ 2025-02-27 23:55 ` jason1987d
2025-02-28 0:00 ` jason1987d
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-27 23:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 1499 bytes --]
From 6837ae79db6f3d5cf3bd5780b47857ae5c932a93 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
srcpkgs/Cockatrice/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..4ab899fa8d2f3e
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,20 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="cmake git liblzma pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
+depends="qt6-core qt6-base qt6-sql mariadb qt6-tools zlib libprotobuf"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
+nocross=yes
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ makedepends+=" libexecinfo-devel"
+fi
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (6 preceding siblings ...)
2025-02-27 23:55 ` [PR PATCH] [Updated] " jason1987d
@ 2025-02-28 0:00 ` jason1987d
2025-02-28 9:18 ` Rutpiv
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-28 0:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 1496 bytes --]
From 17a03eabc621d80a73690d613f431c166fb7c650 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
srcpkgs/Cockatrice/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..b65f23fb9bd6a9
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,20 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="cmake git liblzma pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
+depends="qt6-core qt6-base qt6-sql mariadb qt6-tools zlib libprotobuf"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
+nocross=yes
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ makedepends+=" libexecinfo-devel"
+fi
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (7 preceding siblings ...)
2025-02-28 0:00 ` jason1987d
@ 2025-02-28 9:18 ` Rutpiv
2025-02-28 14:40 ` [PR PATCH] [Updated] " jason1987d
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Rutpiv @ 2025-02-28 9:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3451 bytes --]
New comment by Rutpiv on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2690133268
Comment:
During my initial testing I hadn't completed a full build, and only noticed the **libexecinfo** linking error when reviewing CI logs later. After reproducing the issue locally with a complete build, I resolved it by introducing an `ENABLE_LIBEXECINFO` flag to conditionally activate the existing FreeBSD linking logic in CMake through this patch:
<details>
<summary>CMake patch for libexecinfo handling</summary>
```diff
diff --git a/servatrice/CMakeLists.txt b/servatrice/CMakeLists.txt
index 2b34536..9f55dba 100644
--- a/servatrice/CMakeLists.txt
+++ b/servatrice/CMakeLists.txt
@@ -30,7 +30,7 @@ if(WIN32)
endif(WIN32)
# Under FreeBSD we need libexecinfo to use backtrace_symbols_fd()
-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
+if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
find_package(Libexecinfo REQUIRED)
set(SYSTEM_LIBRARIES ${EXECINFO_LIBRARY} ${SYSTEM_LIBRARIES})
endif()
@@ -105,7 +105,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
# Build servatrice binary and link it
add_executable(servatrice MACOSX_BUNDLE ${servatrice_MOC_SRCS} ${servatrice_RESOURCES_RCC} ${servatrice_SOURCES})
-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
+if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES} ${LIBEXECINFO_LIBRARY})
else()
target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES})
```
</details>
Key improvements:
1. **Reused Existing Logic:** The patch doesn't create new linking behavior - it simply extends the existing FreeBSD-specific libexecinfo handling to musl via a new `ENABLE_LIBEXECINFO` flag
2. **Cross-Compilation Fixes:** Adjusted Qt6 detection paths for non-native builds
3. **CI Compatibility:** Removed problematic `-DTEST=1` due to flaky test downloads in cross compilation
4. **Template Refinement:** Updated package dependencies and configuration flags
<details>
<summary>Final template configuration</summary>
```bash
# Template file for 'Cockatrice'
pkgname=Cockatrice
version=2.10.0
revision=1
build_style=cmake
configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1"
hostmakedepends="qt6-tools qt6-base pkg-config extra-cmake-modules protobuf zlib"
makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel
qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
short_desc="Cross-platform virtual tabletop for multiplayer card games"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="GPL-2.0-only"
homepage="https://github.com/Cockatrice/Cockatrice"
distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
if [ -n "$CROSS_BUILD" ]; then
configure_args+="-DQt6_DIR=${XBPS_CROSS_BASE}/usr/lib/cmake/Qt6"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
# Musl does not provide backtrace_symbols_fd(), so libexecinfo is required
makedepends+=" libexecinfo-devel"
configure_args+=" -DENABLE_LIBEXECINFO=1"
fi
```
</details>
**Verification:** Successfully built for:
- `x86_64`
- `x86_64-musl`
- `aarch64`
- `aarch64-musl`
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (8 preceding siblings ...)
2025-02-28 9:18 ` Rutpiv
@ 2025-02-28 14:40 ` jason1987d
2025-02-28 15:02 ` jason1987d
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-28 14:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 2958 bytes --]
From 65c67a70252a5dfa70626f83de8088d051b0c761 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
.../Cockatrice/patches/CMakeLists.txt.diff | 21 ++++++++++++++++
srcpkgs/Cockatrice/template | 24 +++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff b/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
new file mode 100644
index 00000000000000..2847c12e37a305
--- /dev/null
+++ b/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
@@ -0,0 +1,21 @@
+index 2b34536..9f55dba 100644
+--- a/servatrice/CMakeLists.txt
++++ b/servatrice/CMakeLists.txt
+@@ -30,7 +30,7 @@ if(WIN32)
+ endif(WIN32)
+
+ # Under FreeBSD we need libexecinfo to use backtrace_symbols_fd()
+-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
++if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
+ find_package(Libexecinfo REQUIRED)
+ set(SYSTEM_LIBRARIES ${EXECINFO_LIBRARY} ${SYSTEM_LIBRARIES})
+ endif()
+@@ -105,7 +105,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ # Build servatrice binary and link it
+ add_executable(servatrice MACOSX_BUNDLE ${servatrice_MOC_SRCS} ${servatrice_RESOURCES_RCC} ${servatrice_SOURCES})
+
+-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
++if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
+ target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES} ${LIBEXECINFO_LIBRARY})
+ else()
+ target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES})
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..cde44cfe308994
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,24 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1"
+hostmakedepends="qt6-tools qt6-base pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel
+qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
+
+if [ -n "$CROSS_BUILD" ]; then
+ configure_args+="-DQt6_DIR=${XBPS_CROSS_BASE}/usr/lib/cmake/Qt6"
+fi
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ makedepends+=" libexecinfo-devel"
+ configure_args+=" -DENABLE_LIBEXECINFO=1"
+fi
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (9 preceding siblings ...)
2025-02-28 14:40 ` [PR PATCH] [Updated] " jason1987d
@ 2025-02-28 15:02 ` jason1987d
2025-02-28 15:03 ` jason1987d
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-28 15:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 824 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2690866729
Comment:
I have now changed the template to match what you have with the patch file as well. Thank you for taking a look, I didn't expect so many detailed and quick responses, there must have been demand to build this before. I am not a CMake or musl expert, but am learning more because of all this. The templates I had researched across the few other distros where this was built all had not only different versions of Cockatrice, but different sets of architectures listed.
I had also attempted to build 2.9.x series before, and even had discussion with developers on their discord, but nothing they suggested could truly compile and had just thought to check for any new versions.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (10 preceding siblings ...)
2025-02-28 15:02 ` jason1987d
@ 2025-02-28 15:03 ` jason1987d
2025-02-28 18:20 ` Rutpiv
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-28 15:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2690866729
Comment:
I have now changed the template to match what you have with the patch file as well. Thank you for taking a look, I didn't expect so many detailed and quick responses, there must have been demand to build this before. I am not a CMake or musl expert, but am learning more because of all this. The templates I had researched across the few other distros where this was built all had not only different versions of Cockatrice, but different sets of architectures listed.
I had also attempted to build 2.9.x series before, and even had discussion with developers on their discord, but nothing they suggested could truly compile and had just thought to check for any new versions.
Is the lack of tests acceptable here, since your template suggestion doesn't build them? I had not had any issues with tests failing on any builds I have done, but is there desire to potentially add googletest as a void package?
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (11 preceding siblings ...)
2025-02-28 15:03 ` jason1987d
@ 2025-02-28 18:20 ` Rutpiv
2025-02-28 19:32 ` [PR PATCH] [Updated] " jason1987d
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: Rutpiv @ 2025-02-28 18:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 5275 bytes --]
New comment by Rutpiv on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2691281393
Comment:
Thank you for your response.
I wasn’t entirely sure how the musl configuration should work, so I based my approach on other templates in the repository.
Regarding the cross-compiling issue, here’s the error log I encountered:
<details>
<summary>Cross-compiling issue</summary>
```shell
-- Downloading googletest
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Warning (dev) at /usr/libexec/xbps-src/share/cmake-3.30/Modules/ExternalProject/shared_internal_commands.cmake:1282 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/usr/libexec/xbps-src/share/cmake-3.30/Modules/ExternalProject.cmake:3035 (_ep_add_download_command)
CMakeLists.txt:6 (ExternalProject_Add)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /builddir/Cockatrice-2.10.0/build/gtest-download
[1/9] Creating directories for 'googletest'
[2/9] Performing download step (download, verify and extract) for 'googletest'
FAILED: googletest-prefix/src/googletest-stamp/googletest-download /builddir/Cockatrice-2.10.0/build/gtest-download/googletest-prefix/src/googletest-stamp/googletest-download
cd /builddir/Cockatrice-2.10.0/build && /usr/libexec/xbps-src/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /builddir/Cockatrice-2.10.0/build/gtest-download/googletest-prefix/src/googletest-stamp/download-googletest.cmake && /usr/libexec/xbps-src/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /builddir/Cockatrice-2.10.0/build/gtest-download/googletest-prefix/src/googletest-stamp/verify-googletest.cmake && /usr/libexec/xbps-src/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /builddir/Cockatrice-2.10.0/build/gtest-download/googletest-prefix/src/googletest-stamp/extract-googletest.cmake && /usr/libexec/xbps-src/bin/cmake -E touch /builddir/Cockatrice-2.10.0/build/gtest-download/googletest-prefix/src/googletest-stamp/googletest-download
-- Downloading...
dst='/builddir/Cockatrice-2.10.0/build/gtest-download/googletest-prefix/src/release-1.11.0.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/google/googletest/archive/release-1.11.0.zip'
CMake Error at gtest-download/googletest-prefix/src/googletest-stamp/download-googletest.cmake:163 (message):
Each download failed!
error: downloading 'https://github.com/google/googletest/archive/release-1.11.0.zip' failed
status_code: 1
status_string: "Unsupported protocol, xbps-src's cmake has no network"
log:
--- LOG BEGIN ---
Protocol "https" not supported
Closing connection
--- LOG END ---
ninja: build stopped: subcommand failed.
CMake Error at tests/CMakeLists.txt:32 (add_subdirectory):
The source directory
/builddir/Cockatrice-2.10.0/build/gtest-src
does not contain a CMakeLists.txt file.
CMake Error at tests/CMakeLists.txt:36 (target_include_directories):
Cannot specify include directories for target "gtest" which is not built by
this project.
-- Configuring incomplete, errors occurred!
=> ERROR: Cockatrice-2.10.0_1: do_configure: 'CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} ${LIBS:+-DCMAKE_C_STANDARD_LIBRARIES="$LIBS"} ${LIBS:+-DCMAKE_CXX_STANDARD_LIBRARIES="$LIBS"} ${wrksrc}/${build_wrksrc}' exited with 1
=> ERROR: in do_configure() at common/build-style/cmake.sh:77
```
</details>
**I resolved this error by using the `gtest` package (Void’s package name for GoogleTest).**
After reading your comment about googletest, I checked the repository and discovered that Void already provides it under the package name `gtest`. Initially, I compiled with the repository’s version (1.12.1), which worked seamlessly for cross-compiling. To test further, I updated the package to version 1.16.0, and it also compiled successfully. This confirms that relying on the system’s `gtest` (instead of downloading googletest during compilation) resolves the issue.
To re-enable tests in the template, add `-DTEST=1` to `configure_args` and include `gtest-devel` in `makedepends`.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (12 preceding siblings ...)
2025-02-28 18:20 ` Rutpiv
@ 2025-02-28 19:32 ` jason1987d
2025-02-28 19:45 ` jason1987d
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-28 19:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 2979 bytes --]
From dd8d87a2aa141de1216f81bebee03a10036f3bf6 Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.0
---
.../Cockatrice/patches/CMakeLists.txt.diff | 21 ++++++++++++++++
srcpkgs/Cockatrice/template | 24 +++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff b/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
new file mode 100644
index 00000000000000..2847c12e37a305
--- /dev/null
+++ b/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
@@ -0,0 +1,21 @@
+index 2b34536..9f55dba 100644
+--- a/servatrice/CMakeLists.txt
++++ b/servatrice/CMakeLists.txt
+@@ -30,7 +30,7 @@ if(WIN32)
+ endif(WIN32)
+
+ # Under FreeBSD we need libexecinfo to use backtrace_symbols_fd()
+-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
++if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
+ find_package(Libexecinfo REQUIRED)
+ set(SYSTEM_LIBRARIES ${EXECINFO_LIBRARY} ${SYSTEM_LIBRARIES})
+ endif()
+@@ -105,7 +105,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ # Build servatrice binary and link it
+ add_executable(servatrice MACOSX_BUNDLE ${servatrice_MOC_SRCS} ${servatrice_RESOURCES_RCC} ${servatrice_SOURCES})
+
+-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
++if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
+ target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES} ${LIBEXECINFO_LIBRARY})
+ else()
+ target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES})
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..8a5dbedaead0ff
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,24 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="qt6-tools qt6-base pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel
+qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel gtest-devel"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/${pkgname}/archive/refs/tags/2025-02-10-Release-${version}.tar.gz"
+checksum=7c2855c7277f9f57bb92a43eb24fe4d488d6ddb8f46929f03eb9c09a026dded8
+
+if [ -n "$CROSS_BUILD" ]; then
+ configure_args+="-DQt6_DIR=${XBPS_CROSS_BASE}/usr/lib/cmake/Qt6"
+fi
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ makedepends+=" libexecinfo-devel"
+ configure_args+=" -DENABLE_LIBEXECINFO=1"
+fi
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (13 preceding siblings ...)
2025-02-28 19:32 ` [PR PATCH] [Updated] " jason1987d
@ 2025-02-28 19:45 ` jason1987d
2025-04-29 14:12 ` [PR PATCH] [Updated] " jason1987d
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-02-28 19:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2691425559
Comment:
Good catch, did not see the gtest, I only searched for 'googletest' in packages. Thank you for your help, it tested/compiled again on my end.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Updated] New package: Cockatrice-2.10.0
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (14 preceding siblings ...)
2025-02-28 19:45 ` jason1987d
@ 2025-04-29 14:12 ` jason1987d
2025-05-27 7:24 ` New package: Cockatrice-2.10.2 Rutpiv
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: jason1987d @ 2025-04-29 14:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages Cockatrice
https://github.com/void-linux/void-packages/pull/54508
New package: Cockatrice-2.10.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-libc
A patch file from https://github.com/void-linux/void-packages/pull/54508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Cockatrice-54508.patch --]
[-- Type: text/x-diff, Size: 2979 bytes --]
From fb5029f0c1345d45921a4d82cb61978e0b52e9ae Mon Sep 17 00:00:00 2001
From: Jason Elswick <jason@jasondavid.us>
Date: Wed, 26 Feb 2025 21:15:57 -0600
Subject: [PATCH] New package: Cockatrice-2.10.2
---
.../Cockatrice/patches/CMakeLists.txt.diff | 21 ++++++++++++++++
srcpkgs/Cockatrice/template | 24 +++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
create mode 100644 srcpkgs/Cockatrice/template
diff --git a/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff b/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
new file mode 100644
index 00000000000000..2847c12e37a305
--- /dev/null
+++ b/srcpkgs/Cockatrice/patches/CMakeLists.txt.diff
@@ -0,0 +1,21 @@
+index 2b34536..9f55dba 100644
+--- a/servatrice/CMakeLists.txt
++++ b/servatrice/CMakeLists.txt
+@@ -30,7 +30,7 @@ if(WIN32)
+ endif(WIN32)
+
+ # Under FreeBSD we need libexecinfo to use backtrace_symbols_fd()
+-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
++if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
+ find_package(Libexecinfo REQUIRED)
+ set(SYSTEM_LIBRARIES ${EXECINFO_LIBRARY} ${SYSTEM_LIBRARIES})
+ endif()
+@@ -105,7 +105,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ # Build servatrice binary and link it
+ add_executable(servatrice MACOSX_BUNDLE ${servatrice_MOC_SRCS} ${servatrice_RESOURCES_RCC} ${servatrice_SOURCES})
+
+-if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD")
++if(CMAKE_HOST_SYSTEM MATCHES "FreeBSD" OR (ENABLE_LIBEXECINFO))
+ target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES} ${LIBEXECINFO_LIBRARY})
+ else()
+ target_link_libraries(servatrice cockatrice_common Threads::Threads ${SERVATRICE_QT_MODULES})
diff --git a/srcpkgs/Cockatrice/template b/srcpkgs/Cockatrice/template
new file mode 100644
index 00000000000000..e6247b7ba87140
--- /dev/null
+++ b/srcpkgs/Cockatrice/template
@@ -0,0 +1,24 @@
+# Template file for 'Cockatrice'
+pkgname=Cockatrice
+version=2.10.2
+revision=1
+build_style=cmake
+configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1 -DTEST=1"
+hostmakedepends="qt6-tools qt6-base pkg-config extra-cmake-modules protobuf zlib"
+makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel
+qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel gtest-devel"
+short_desc="Cross-platform virtual tabletop for multiplayer card games"
+maintainer="Jason Elswick <jason@jasondavid.us>"
+license="GPL-2.0-only"
+homepage="https://github.com/Cockatrice/Cockatrice"
+distfiles="https://github.com/Cockatrice/Cockatrice/archive/refs/tags/2025-04-03-Release-${version}.tar.gz"
+checksum=73cabec34604261b3ec2beb66b6a11faff0b0d1ca50f25cc58a45325a39225d4
+
+if [ -n "$CROSS_BUILD" ]; then
+ configure_args+="-DQt6_DIR=${XBPS_CROSS_BASE}/usr/lib/cmake/Qt6"
+fi
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ makedepends+=" libexecinfo-devel"
+ configure_args+=" -DENABLE_LIBEXECINFO=1"
+fi
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.2
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (15 preceding siblings ...)
2025-04-29 14:12 ` [PR PATCH] [Updated] " jason1987d
@ 2025-05-27 7:24 ` Rutpiv
2025-08-26 2:09 ` github-actions
2025-09-10 2:02 ` [PR PATCH] [Closed]: " github-actions
18 siblings, 0 replies; 20+ messages in thread
From: Rutpiv @ 2025-05-27 7:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2109 bytes --]
New comment by Rutpiv on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-2911447513
Comment:
Hi,
While updating `gtest`, I tested the crossbuild of the `Cockatrice` package for `armv6l` with the new version of `gtest` and noticed that the test binaries weren’t actually running during crossbuild.
Because of that, I modified the build system logic to only enable tests on `xbps-src` when not crossbuilding and explicitly requested with `-Q`.
By observing the CI system, I believe it doesn’t run crossbuilds with `-Q`, so this change should help reduce build time. Since `gtest-devel` is now in `checkdepends` instead of `makedepends`, it won’t be installed during crossbuilds either, which helps reduce installation time and avoids pulling unnecessary dependencies in environments where tests can’t run anyway.
The updated template is below:
<details>
<summary>Template Updated</summary>
```bash
# Template file for 'Cockatrice'
pkgname=Cockatrice
version=2.10.2
revision=1
build_style=cmake
configure_args="-DWITH_SERVER=1 -DWITH_CLIENT=1 -DWITH_ORACLE=1"
hostmakedepends="qt6-tools qt6-base pkg-config extra-cmake-modules protobuf zlib"
makedepends="qt6-base-devel liblzma-devel protobuf-devel qt6-svg-devel qt6-tools-devel
qt6-websockets-devel qt6-multimedia-devel abseil-cpp-devel"
checkdepends="gtest-devel"
short_desc="Cross-platform virtual tabletop for multiplayer card games"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="GPL-2.0-only"
homepage="https://github.com/Cockatrice/Cockatrice"
distfiles="https://github.com/Cockatrice/Cockatrice/archive/refs/tags/2025-04-03-Release-${version}.tar.gz"
checksum=73cabec34604261b3ec2beb66b6a11faff0b0d1ca50f25cc58a45325a39225d4
if [ -n "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DTEST=1"
fi
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" -DQt6_DIR=${XBPS_CROSS_BASE}/usr/lib/cmake/Qt6"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
configure_args+=" -DENABLE_LIBEXECINFO=1"
fi
```
</details>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: New package: Cockatrice-2.10.2
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (16 preceding siblings ...)
2025-05-27 7:24 ` New package: Cockatrice-2.10.2 Rutpiv
@ 2025-08-26 2:09 ` github-actions
2025-09-10 2:02 ` [PR PATCH] [Closed]: " github-actions
18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2025-08-26 2:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/54508#issuecomment-3222319278
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PR PATCH] [Closed]: New package: Cockatrice-2.10.2
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
` (17 preceding siblings ...)
2025-08-26 2:09 ` github-actions
@ 2025-09-10 2:02 ` github-actions
18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2025-09-10 2:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
There's a closed pull request on the void-packages repository
New package: Cockatrice-2.10.2
https://github.com/void-linux/void-packages/pull/54508
Description:
#### 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-libc
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2025-09-10 2:02 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 3:48 [PR PATCH] New package: Cockatrice-2.10.0 jason1987d
2025-02-27 3:49 ` [PR PATCH] [Updated] " jason1987d
2025-02-27 4:15 ` jason1987d
2025-02-27 4:16 ` [PR PATCH] [Updated] " jason1987d
2025-02-27 19:48 ` Rutpiv
2025-02-27 21:16 ` [PR PATCH] [Updated] " jason1987d
2025-02-27 23:05 ` Rutpiv
2025-02-27 23:55 ` [PR PATCH] [Updated] " jason1987d
2025-02-28 0:00 ` jason1987d
2025-02-28 9:18 ` Rutpiv
2025-02-28 14:40 ` [PR PATCH] [Updated] " jason1987d
2025-02-28 15:02 ` jason1987d
2025-02-28 15:03 ` jason1987d
2025-02-28 18:20 ` Rutpiv
2025-02-28 19:32 ` [PR PATCH] [Updated] " jason1987d
2025-02-28 19:45 ` jason1987d
2025-04-29 14:12 ` [PR PATCH] [Updated] " jason1987d
2025-05-27 7:24 ` New package: Cockatrice-2.10.2 Rutpiv
2025-08-26 2:09 ` github-actions
2025-09-10 2:02 ` [PR PATCH] [Closed]: " github-actions
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).