GNU bug report logs - #46311
[PATCH] gnu: Add cockatrice.

Previous Next

Package: guix-patches;

Reported by: Leo Prikler <leo.prikler <at> student.tugraz.at>

Date: Thu, 4 Feb 2021 23:36:01 UTC

Severity: normal

Tags: patch

Done: Leo Prikler <leo.prikler <at> student.tugraz.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46311 in the body.
You can then email your comments to 46311 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#46311; Package guix-patches. (Thu, 04 Feb 2021 23:36:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 04 Feb 2021 23:36:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add cockatrice.
Date: Fri,  5 Feb 2021 00:33:53 +0100
* gnu/packages/games.scm (cockatrice): New variable.
---
 gnu/packages/games.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e3e18bf09e..953fd317ed 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -857,6 +857,52 @@ things far stranger and deadlier, and against the others like yourself, that
 want what you have.")
     (license license:cc-by-sa3.0)))
 
+(define-public cockatrice
+  (let ((release-date "2021-01-26"))
+    (package
+      (name "cockatrice")
+      (version "2.8.0")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Cockatrice/Cockatrice")
+               (commit (string-append release-date "-Release-" version))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0q8ffcklb2b7hcqhy3d2f9kz9aw22pp04pc9y4sslyqmf17pwnz9"))
+         (modules '((guix build utils)))
+         (snippet
+          ;; Strip image URLs as they point towards non-free web services
+          '(substitute* "cockatrice/src/settings/downloadsettings.cpp"
+             (("downloadURLs.append\\(\".*\"\\);") "")))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:configure-flags '("-DWITH_SERVER=1"
+                             "-DWITH_CLIENT=1"
+                             "-DWITH_ORACLE=1"
+                             "-DTEST=1")))
+      (native-inputs
+       `(("googletest" ,googletest)
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       `(("protobuf" ,protobuf)
+         ("qtbase" ,qtbase)
+         ("qtmultimedia" ,qtmultimedia)
+         ("qtsvg" ,qtsvg)
+         ("qttools" ,qttools)
+         ("qtwebsockets" ,qtwebsockets)
+         ("xz" ,xz)
+         ("zlib" ,zlib)))
+      (home-page "https://cockatrice.github.io")
+      (synopsis "Tabletop card game simulator")
+      (description "Cockatrice is an open-source, multiplatform program for
+playing tabletop card games over a network.  The program's server design
+prevents users from manipulating the game for unfair advantage.  The client
+also provides a single-player mode, which allows users to brew while offline.")
+      (license license:gpl2))))
+
 (define-public corsix-th
   (package
     (name "corsix-th")
-- 
2.30.0





Information forwarded to guix-patches <at> gnu.org:
bug#46311; Package guix-patches. (Fri, 05 Feb 2021 15:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 46311 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>
Cc: 46311 <at> debbugs.gnu.org
Subject: Re: [bug#46311] [PATCH] gnu: Add cockatrice.
Date: Fri, 05 Feb 2021 16:31:39 +0100
Hello,

Leo Prikler <leo.prikler <at> student.tugraz.at> writes:

> +      (description "Cockatrice is an open-source, multiplatform program for
> +playing tabletop card games over a network.  

I suggest to remove "open-source" and "multiplatform" from the
description.

Otherwise, LGTM!

Regards,
-- 
Nicolas Goaziou




Reply sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
You have taken responsibility. (Fri, 05 Feb 2021 16:40:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
bug acknowledged by developer. (Fri, 05 Feb 2021 16:40:01 GMT) Full text and rfc822 format available.

Message #13 received at 46311-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 46311-done <at> debbugs.gnu.org
Subject: Re: [bug#46311] [PATCH] gnu: Add cockatrice.
Date: Fri, 05 Feb 2021 17:39:01 +0100
Hello,

Am Freitag, den 05.02.2021, 16:31 +0100 schrieb Nicolas Goaziou:
> I suggest to remove "open-source" and "multiplatform" from the
> description.
> 
> Otherwise, LGTM!
Changed and pushed.  Thanks!





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Mar 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.