From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WMNsE3L16mT2GAEAG6o9tA:P1 (envelope-from ) for ; Sun, 27 Aug 2023 09:04:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WMNsE3L16mT2GAEAG6o9tA (envelope-from ) for ; Sun, 27 Aug 2023 09:04:18 +0200 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 D5A73670BB for ; Sun, 27 Aug 2023 09:04:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Xg92Ed5h; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693119858; a=rsa-sha256; cv=none; b=Zxkf8A2U0ycLoISQkzAM8JLoG4V7ts1WNF0tRItOOw9rJT6lV9CgyvsgrNW7r83bYd1Vcz VlOH+ZvN6bC/JdxBXlveQWePNRlgKu6ZqcZs3Zr1IoTBLtyIV+oTvtQ9V5SZqXRQfttXOV UUFIDv6U6h45qPz0ylp9gEyIgy1N/K2egCalZ1/k1NOx9Y7ppP+b4ejRrrdCOkjbMcLu2D fUSuct742Csz40VqtqbHW37NIepesQQWba73Axr8let1ZkCP62l11u39LxEqKx1qMNfvb/ HEw3IULow9SWLKD3wZmUHUMDgSGm2Mc2ORX/oyJ13p7XYO08QWJBttVzxAzJxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Xg92Ed5h; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693119858; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=DmhXGxkrkRvY2232AN/rQvdKlQzQiv5bOYY5fCgwj4Y=; b=CWLZ6eJTPUK3/pM56/yXsSbmdLLEXs7oxeCT9SybubVoMxzre0LyQWrRlFNJaCoPaTPriT 5LN01JDxUWYsixNHglAA/z2pMHw0e5cyXYSIP0/UAX1U4reqC2yQ/jKVAKwcD9tDrh15pz qYHsgCqMJrGPsOg0iJ2RSYKhRDLj1PuZYCfcxerExBcQvuhOl96I0ldje2xsoTY4FKmANG hGT03yrTSFdlqLoDJzRdSt7puEq4E1UjXmxQN+9V6Fevi6elipB3XPrNqYBlmQC+YsNy9p W7idF80FYYIhmfHK2H+8coFGqZ9mHwQLqV5NtDmaM2VUa8W66N9jfnYFlfbd1Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qa9oU-000750-5g; Sun, 27 Aug 2023 03:03:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qa9oT-00074j-49 for guix-patches@gnu.org; Sun, 27 Aug 2023 03:03:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qa9oS-0002V4-QY for guix-patches@gnu.org; Sun, 27 Aug 2023 03:03:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qa9oY-0007Ad-D4 for guix-patches@gnu.org; Sun, 27 Aug 2023 03:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64787] [PATCH v4 1/2] gnu: Add scummc. References: In-Reply-To: Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Aug 2023 07:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64787 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64787@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 64787-submit@debbugs.gnu.org id=B64787.169311978727484 (code B ref 64787); Sun, 27 Aug 2023 07:04:02 +0000 Received: (at 64787) by debbugs.gnu.org; 27 Aug 2023 07:03:07 +0000 Received: from localhost ([127.0.0.1]:43935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa9ne-00079C-Vr for submit@debbugs.gnu.org; Sun, 27 Aug 2023 03:03:07 -0400 Received: from layka.disroot.org ([178.21.23.139]:39576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa9nc-000791-En for 64787@debbugs.gnu.org; Sun, 27 Aug 2023 03:03:05 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0A2C5413FA; Sun, 27 Aug 2023 09:02:57 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pjDlTRlLPSgk; Sun, 27 Aug 2023 09:02:55 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1693119775; bh=/cP66mZNmpCIGuvRkrdzJ0j9pncrOfmv64a8hE4x5AU=; h=Date:To:Cc:From:Subject; b=Xg92Ed5h+PeW5p/08hx4pc3K63RNTxmPWteT4awv1babEqn5DRNVWEf8bPUigfz4G xhiEweKIwIZQNqiqmqRxYVKr0ruVYFojxWzh1gD+EmGnbDKBTuyTRLJ6vB7DVr3Qhd 8UAQlEgWDf8AshfcoIN3Mm/UqV9PnwH1a0bqtUrh8j+OYox62LRD125b221zlv4co0 BP9vvSq8lEsHqEW8DR1xV9U4KKfKUgW6GKHET4tbg4Q2AC9prQHlMqTnHjV/HlbC14 UUFUv+ExdUMOpBx384bV340llpEo5EreiNE3ObiA9e1zvSwpvRrH7SSiTm+0a3ywGH 6vJvMe8cTIXcQ== Date: Sun, 27 Aug 2023 15:02:51 +0800 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -6.72 X-Migadu-Queue-Id: D5A73670BB X-Migadu-Spam-Score: -6.72 X-TUID: 4HAc0CtyDVfD >From 98ebef1cd99f84a70b5e16ed9dd6e772c2c61f74 Mon Sep 17 00:00:00 2001 Message-ID: <98ebef1cd99f84a70b5e16ed9dd6e772c2c61f74.1693119612.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Sat, 22 Jul 2023 15:34:55 +0800 Subject: [PATCH v4 1/2] gnu: Add scummc. * gnu/packages/game-development.scm (scummc): New variable. --- gnu/packages/game-development.scm | 55 +++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 5e470f0d25..964f7623db 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -66,6 +66,7 @@ (define-module (gnu packages game-development) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages build-tools) #:use-module (gnu packages compression) @@ -745,6 +746,60 @@ (define-public tsukundere experimental.") (license license:lgpl3+))) +(define-public scummc + (package + (name "scummc") + (version "0.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AlbanBedel/scummc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yyq05kfmvgx5aa68kg1l5a4lpsky7hzxxcdvv2xbgf0jljdcl3k")) + (modules '((guix build utils))) + (snippet + #~(begin + (substitute* "configure" + (("\\|alpha" all) + (string-append all "|arm|aarch64|powerpc64le"))) + (substitute* "examples/example.mak" + (("scost.*\n$") "scost\n") + (("bmp \\$\\(.*\n$") "bmp\n") + (("/%.scc.*\n$") "/%.scc\n") + (("voc \\$\\(.*\n$") "voc\n")) + (substitute* "Makefile.target" + (("distrib-data:.*\n") "distrib-data:\n") + (("cp.*/bin" all) + (string-append all " || true"))))))) + (build-system gnu-build-system) + (arguments + (list #:test-target "test" + #:tests? #f ; The only tests verify that game checksums match + #:make-flags + #~(list "SHOW_WARNINGS=no") + #:phases + #~(modify-phases %standard-phases + (replace 'configure ; ScummC uses a non-standard configure + (lambda* (#:key configure-flags #:allow-other-keys) + (apply invoke "./configure" configure-flags))) + (replace 'install ; install target is referred to as distrib + (lambda _ + (invoke "make" "distrib" + (string-append "DISTRIB=" #$output))))))) + (inputs + (list freetype gtk+-2 sdl)) + (native-inputs + (list bison doxygen libxslt pkg-config)) + (synopsis "SCUMM Compiler") + (description + "ScummC is a set of tools allowing to create SCUMM games from scratch. +It is capable of creating games for SCUMM version 6 and partially version 7.") + (home-page "https://github.com/AlbanBedel/scummc") + (license license:gpl2+))) + (define-public sfml (package (name "sfml") base-commit: d17eea747277643811134f9a33b534e58160688f -- 2.41.0