From unknown Fri Sep 05 20:37:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#58295 <58295@debbugs.gnu.org> To: bug#58295 <58295@debbugs.gnu.org> Subject: Status: [PATCH] Add dds-bridge Reply-To: bug#58295 <58295@debbugs.gnu.org> Date: Sat, 06 Sep 2025 03:37:22 +0000 retitle 58295 [PATCH] Add dds-bridge reassign 58295 guix-patches submitter 58295 Nicolas Goaziou severity 58295 normal tag 58295 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 17:57:09 2022 Received: (at submit) by debbugs.gnu.org; 4 Oct 2022 21:57:09 +0000 Received: from localhost ([127.0.0.1]:55373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofpuW-00013t-OJ for submit@debbugs.gnu.org; Tue, 04 Oct 2022 17:57:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:33470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofpuS-00013j-QO for submit@debbugs.gnu.org; Tue, 04 Oct 2022 17:57:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofpuM-000881-99 for guix-patches@gnu.org; Tue, 04 Oct 2022 17:57:04 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:45765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofpuI-00050K-Qg for guix-patches@gnu.org; Tue, 04 Oct 2022 17:56:57 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 7A122E000A for ; Tue, 4 Oct 2022 21:56:50 +0000 (UTC) From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add dds-bridge Date: Tue, 04 Oct 2022 23:56:49 +0200 Message-ID: <878rlvmevy.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@nicolasgoaziou.fr; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Hello, The following patch adds the DDS library for bridge card game development. Note: it builds without libomp (but not without boost). I'm not sure it is really necessary, even though OpenMP is mentioned in the code base. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-dds-bridge.patch Content-Transfer-Encoding: quoted-printable >From af7d1beeebac44c18cac7a37c539043de244215b Mon Sep 17 00:00:00 2001 Message-Id: From: Nicolas Goaziou Date: Tue, 4 Oct 2022 23:51:00 +0200 Subject: [PATCH] gnu: Add dds-bridge. * gnu/packages/game-development.scm (dds-bridge): New variable. --- gnu/packages/game-development.scm | 70 ++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-developm= ent.scm index 889b435cfb..bda72fe72e 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -17,7 +17,7 @@ ;;; Copyright =C2=A9 2019 Pierre Neidhardt ;;; Copyright =C2=A9 2019, 2020, 2021 Liliana Marie Prikler ;;; Copyright =C2=A9 2019 Jethro Cao -;;; Copyright =C2=A9 2020, 2021 Nicolas Goaziou +;;; Copyright =C2=A9 2020-2022 Nicolas Goaziou ;;; Copyright =C2=A9 2020 Timotej Lazar ;;; Copyright =C2=A9 2020 Giacomo Leidi ;;; Copyright =C2=A9 2021 Alexandru-Sergiu Marton @@ -74,6 +74,7 @@ (define-module (gnu packages game-development) #:use-module (gnu packages freedesktop) #:use-module (gnu packages fribidi) #:use-module (gnu packages dbm) + #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) @@ -85,6 +86,7 @@ (define-module (gnu packages game-development) #:use-module (gnu packages guile) #:use-module (gnu packages image) #:use-module (gnu packages linux) + #:use-module (gnu packages llvm) #:use-module (gnu packages lua) #:use-module (gnu packages m4) #:use-module (gnu packages mp3) @@ -181,6 +183,72 @@ (define-public bullet is used in some video games and movies.") (license license:zlib))) =20 +(define-public dds-bridge + (package + (name "dds-bridge") + (version "2.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dds-bridge/dds") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1iv09qic43nvla02lm8zgnkqpjgnc95p8zh3wyifmnmlh1rz02yj")))) + (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "src"))) + (replace 'configure + ;; Configuration is done by copying the appropriate + ;; make file in the working directory. There is no + ;; configure script. + (lambda _ + (copy-file "Makefiles/Makefile_linux_shared" + "Makefile"))) + (replace 'check + ;; There is no "check" traget. We must compile + ;; a "dtest" program and apply it on a data set. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (install-file "libdds.so" "../test") + (with-directory-excursion "../test" + (copy-file "Makefiles/Makefile_linux" + "Makefile") + (substitute* "Makefile" + (("-Werror") "")) + (invoke "make") + (invoke "./dtest") + (invoke "./dtest" "-f" "../hands/list100.txt"))))) + (replace 'install + ;; "install" target merely moves ".so" file around + ;; the source directory. We install it in the store, + ;; along with all shipped documentation (which cannot + ;; be built from source unfortunately). + (lambda _ + (install-file "libdds.so" + (string-append #$output "/lib")) + (let ((doc (string-append #$output + "/share/doc/" + #$name "-" #$version))) + (install-file "../LICENSE" doc) + (copy-recursively "../doc" doc))))))) + (native-inputs + (list gawk procps)) + (inputs + (list boost libomp)) + (home-page "http://privat.bahnhof.se/wb758135/") + (synopsis "Double dummy solver for the bridge card game") + (description "DDS is a double-dummy solver of bridge hands. It suppor= ts +single-threading and multi-threading for improved performance. DDS +offers a wide range of functions, including par-score calculations.") + (license license:asl2.0))) + (define-public deutex (package (name "deutex") --=20 2.37.3 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 15:22:23 2022 Received: (at 58295-done) by debbugs.gnu.org; 16 Oct 2022 19:22:23 +0000 Received: from localhost ([127.0.0.1]:46278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok9DL-0003hq-0N for submit@debbugs.gnu.org; Sun, 16 Oct 2022 15:22:23 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok9DJ-0003hZ-16 for 58295-done@debbugs.gnu.org; Sun, 16 Oct 2022 15:22:21 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 3EAA160004 for <58295-done@debbugs.gnu.org>; Sun, 16 Oct 2022 19:22:11 +0000 (UTC) From: Nicolas Goaziou To: 58295-done@debbugs.gnu.org Subject: Re: [bug#58295] [PATCH] Add dds-bridge References: <878rlvmevy.fsf@nicolasgoaziou.fr> Date: Sun, 16 Oct 2022 21:22:10 +0200 In-Reply-To: <878rlvmevy.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 04 Oct 2022 23:56:49 +0200") Message-ID: <8735bnfual.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 58295-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Nicolas Goaziou writes: > The following patch adds the DDS library for bridge card game > development. > > Note: it builds without libomp (but not without boost). I'm not sure it > is really necessary, even though OpenMP is mentioned in the code base. I renamed it to "dds", removed libomp from inputs, and pushed. From unknown Fri Sep 05 20:37:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 14 Nov 2022 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator