From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MJapF+EUoGD8pgAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 20:37:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qC89E+EUoGBMIwAAB5/wlQ (envelope-from ) for ; Sat, 15 May 2021 18:37:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D29B39F0E for ; Sat, 15 May 2021 20:37:20 +0200 (CEST) Received: from localhost ([::1]:39634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhzA7-0006G2-W0 for larch@yhetil.org; Sat, 15 May 2021 14:37:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhz5z-0002uf-4z for guix-patches@gnu.org; Sat, 15 May 2021 14:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhz5y-0006gR-2X for guix-patches@gnu.org; Sat, 15 May 2021 14:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhz5x-0003xm-Vi for guix-patches@gnu.org; Sat, 15 May 2021 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47824] [PATCH] gnu: tsukundere: Update to 0.3.0. References: <20210416110511.9812-1-leo.prikler@student.tugraz.at> In-Reply-To: <20210416110511.9812-1-leo.prikler@student.tugraz.at> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 May 2021 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47824 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47824@debbugs.gnu.org Cc: ludo@gnu.org Received: via spool by 47824-submit@debbugs.gnu.org id=B47824.162110355815206 (code B ref 47824); Sat, 15 May 2021 18:33:01 +0000 Received: (at 47824) by debbugs.gnu.org; 15 May 2021 18:32:38 +0000 Received: from localhost ([127.0.0.1]:49224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhz5a-0003xC-FX for submit@debbugs.gnu.org; Sat, 15 May 2021 14:32:38 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:46382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhz5Y-0003x2-Np for 47824@debbugs.gnu.org; Sat, 15 May 2021 14:32:37 -0400 Received: from localhost.localdomain (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FjDXK11Y7z1DH8x; Sat, 15 May 2021 20:32:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FjDXK11Y7z1DH8x DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1621103553; bh=yoppTRVlF525FhUhUrGOZv8gtR+DmONPGT5DOHRJTk4=; h=From:To:Cc:Subject:Date:From; b=CVYcfnOSie9wdgIm6gaDXEMdPlkxzD7qPYl870WtaEwDMQxQPtyCG2pNbK5ZgNe5a okBc2p07uARHrdl7Ac6PqC0aNj+oAvCiOb2rlbiVc5KGOpsEL1i13URWTbfKTHbAKo 4XIEHnQOXSbUwE3HmrkMC54pLc8pVtElqzx0YI0I= From: Leo Prikler Date: Sat, 15 May 2021 20:32:23 +0200 Message-Id: <20210515183223.29644-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621103841; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yoppTRVlF525FhUhUrGOZv8gtR+DmONPGT5DOHRJTk4=; b=a6unHaDmfLUNm/iLulTeHa9I5K9AmiRjk+4E9jZQNY18Ej1xK2QBUFGjzxuCiLWl4g8ab1 skGbsxOfDQTB+/P+y9cZl7ldwXzkqrcH7f9UE8UQbs2Fkr0ttrcyL0UCTafVteoze2Zf/7 M3eyXp1+jJJQSR0ng/QFJACugwz4Olbo9wIW3HyH1pkcG6CH6Zb8ffK0Qsa4CxphiqBVqY X4LFgCJCvzXtGwBoYQeqKv+/UGPZlFtVu2/9vmugl6HqKqMbQNl/PFccq2SIjifrFJ8Seq BR4HsCb79cLMRMYrpU0bEQVzXgkzhouaQLqMn1k0zZsiowA0/kWc/gIBbO2sKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621103841; a=rsa-sha256; cv=none; b=BffKrcGtSpg+14YmBbYMJsWH6lPFLpx2kHCxP7DPABU2g9uxyHqGQugXozRQcdwJOmOUZ9 9ZI24hbj6MSVO7LQVSl70a6x/rDvBGk/56ECjL3szpHhUz4s0yaTHYlVt5Gdxz01m4RLij T1lxBJ6VQi9sON0ciwckj3Kd1XoDo0xYkaxgikVS4mKC0wAh8b2zYD3NcfDCkXHvcYzLgv oSkpeQpwUFM5jMur3RV4lywFrn1ODRjR8WsDRffyZfL3JJvUfgWzIOTZCcmIWly1gZEBCj UkMezAD7uCDMWE1DTMRq7XO90wR4hbKqmjbUeG/fR0WcXnAdeStplGIPkHeGZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=CVYcfnOS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=CVYcfnOS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D29B39F0E X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: JRShwKC9wQmv * gnu/packages/game-development.scm (tsukundere): Update to 0.3.0. [patch-command]: Patch path to guile. Construct load paths directly from inputs. [propagated-inputs]: Remove. [inputs]: Add guile and guile-sdl2. --- gnu/packages/game-development.scm | 52 ++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index cee7e5dc0a..52541196b3 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -493,7 +493,7 @@ clone.") (define-public tsukundere (package (name "tsukundere") - (version "0.2.3") + (version "0.3.0") (source (origin (method git-fetch) (uri (git-reference @@ -502,10 +502,12 @@ clone.") (file-name (git-file-name name version)) (sha256 (base32 - "05ckds2df810441wfavllx9lsw5jsc9h3nb7m31df01nsj56azdw")))) + "06jiaylbnx8khicsaq2gwnd8wspjhjymbb5z6x5445krklk0jx18")))) (build-system gnu-build-system) (arguments - `(#:modules (((guix build guile-build-system) + `(#:modules ((ice-9 match) + (srfi srfi-1) + ((guix build guile-build-system) #:select (target-guile-effective-version)) ,@%gnu-build-system-modules) #:imported-modules ((guix build guile-build-system) @@ -513,22 +515,33 @@ clone.") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-command - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (version (target-guile-effective-version)) - (scm (string-append out "/share/guile/site/" - version)) - (go (string-append out "/lib/guile/" - version "/site-ccache"))) - + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((scm (lambda (in) + (string-append in "/share/guile/site/" + (target-guile-effective-version)))) + (ccache (lambda (in) + (string-append in "/lib/guile/" + (target-guile-effective-version) + "/site-ccache"))) + (pkgs + (cons + (assoc-ref outputs "out") + (filter-map + (match-lambda + (("guile" . pkg) pkg) + ((label . pkg) + (and (string-prefix? "guile-" label) pkg))) + inputs)))) (substitute* "bin/tsukundere" - (("exec guile .*" all) + (("exec guile (.*)" _ args) (string-append - (format #f "export GUILE_LOAD_PATH=~@?~%" - "\"~a:~a\"" scm (getenv "GUILE_LOAD_PATH")) - (format #f "export GUILE_LOAD_COMPILED_PATH=~@?~%" - "\"~a:~a\"" go (getenv "GUILE_LOAD_COMPILED_PATH")) - all))) + (format #f "export GUILE_LOAD_PATH=\"~@?\"~%" + "~{~a~^:~}" (map scm pkgs)) + (format #f "export GUILE_LOAD_COMPILED_PATH=\"~@?\"~%" + "~{~a~^:~}" (map ccache pkgs)) + "exec " + (assoc-ref inputs "guile") + "/bin/guile " args))) #t)))))) (native-inputs `(("autoconf" ,autoconf) @@ -536,8 +549,9 @@ clone.") ("guile" ,guile-3.0) ("pkg-config" ,pkg-config) ("texinfo" ,texinfo))) - (propagated-inputs - `(("guile-sdl2" ,guile3.0-sdl2))) + (inputs + `(("guile-sdl2" ,guile3.0-sdl2) + ("guile" ,guile-3.0))) (home-page "https://gitlab.com/leoprikler/tsukundere") (synopsis "Visual novel engine") (description "Tsukundere is a game engine geared heavily towards the -- 2.31.1