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 oEGRHmSTu2S7BAEASxT56A (envelope-from ) for ; Sat, 22 Jul 2023 10:29:24 +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 yJOkHWSTu2RDMAAAG6o9tA (envelope-from ) for ; Sat, 22 Jul 2023 10:29:24 +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 394185AC63 for ; Sat, 22 Jul 2023 10:29:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Qab02PEd; 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=1690014564; 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=Tt995DqSWFfCs5cJc5aY2D7ziP1Yt6pXK2JccAttCtw=; b=OQ883BfwaTb3Kg9AjjjEBtGqx8HA4lPa2rsEbS+akDLGY62u+15I9jm4Kr3dy1kUA2IVx1 jr9pv9P1pkKqCKozWXYkt2GZCYfMgC8xbgrrlLxGZUOZii9OHLrHwrheWW5P9EoATE5RmJ sXKYkL55Fk8qv47/Wjf07LxWsKyvSgzqcpYdz/MEr8u6SBgvO/Cqd8v4Mm4D/AiNPLLEfi nQmILrolv9MLEIkXS27S3u/LJ7ecyLCkvXdrYSbatXHpoXE2yitKZ+uxTyzJ1AKSESr1eg wcrXbQNupquwGf5n4ooIJkQpMeBc2DgfC/C1X83Y95PPjNo0DyvlxjejYGU9HA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Qab02PEd; 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=1690014564; a=rsa-sha256; cv=none; b=LvG61RX8NqO3vBUMOR7rDP33Jg2+WhB1rrbjabWf5H8fyb8w3uLnTkfkjTBl5e2dPImR2W rgPj0Hvfc63GaKz0b16jVflGlpr/N2VhqdkahwjkNsSuyXLWH9Dm13r6lNwP59ptyfwZlf E5P4DIhY7wgA6ClVTvHP5fQCZjwPUlvcOx3A22p1rzVYXGQYk7xmSJMivR+sfPsWJM7tKa xBJI+npoRq7qpfQmahMUeiAUUBF9GLPBN9zFYcjTyrBRObG0BNvND3wMp82o3j9mpBKizV sTX0R+UGPC1riK5qHKdpkFGJWSv9CNn7kdjDygaAA0AsLw7h+G2OetTOi78UEQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qN7z6-0002H8-K0; Sat, 22 Jul 2023 04:29:04 -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 1qN7z4-0002Fc-S6 for guix-patches@gnu.org; Sat, 22 Jul 2023 04:29:02 -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 1qN7z4-0004qx-JZ for guix-patches@gnu.org; Sat, 22 Jul 2023 04:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qN7z4-0004XG-Fc for guix-patches@gnu.org; Sat, 22 Jul 2023 04:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64787] [PATCH 2/2] gnu: Add openquest. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Jul 2023 08:29: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 , iyzsong@envs.net Received: via spool by 64787-submit@debbugs.gnu.org id=B64787.169001448217319 (code B ref 64787); Sat, 22 Jul 2023 08:29:02 +0000 Received: (at 64787) by debbugs.gnu.org; 22 Jul 2023 08:28:02 +0000 Received: from localhost ([127.0.0.1]:35441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN7y5-0004V3-Rb for submit@debbugs.gnu.org; Sat, 22 Jul 2023 04:28:02 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qN7y2-0004Ui-MG for 64787@debbugs.gnu.org; Sat, 22 Jul 2023 04:27:59 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E5C7A44F24; Sat, 22 Jul 2023 10:27:54 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wAeqRgl_9IrS; Sat, 22 Jul 2023 10:27:53 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1690014473; bh=HA/vdaqApmNYCJifuVcPdAZl0/lwYPgeO71GZUy+WWY=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=Qab02PEdNvCrVHQlt8jK2v0B8o8ld+6Watp+e9ws6lUoLyneLlASfizYvs1drNFIL h2UKCMAvr57ZtK0M9+FkndrCiW+SntCcTb1aemdPe7eWMsxN1dnfug1aFqUE9blZKZ 8x/Rvz/haA1Ba2X8H3B0JaIEqFYsXsVlBXKqgxT82LR/IcxFAvDQa6xmGNj7C0Sp7r UHBZGe3l+HHW2m9Vg+hFY2KY1jQJlC/Ot/t2Gv2lq4PxQVd7YiFtFTbUKMMZ0KkZxn 7H4xSkHxPz9pQEppIwMbpu+Mj+FZyid1nhkCWVTeTRUkWwBUhwndjGBvoYsDyWU64G XkaqGddEQwcKA== Date: Sat, 22 Jul 2023 16:27:49 +0800 MIME-Version: 1.0 Content-Language: en-US References: <82cbd1ec-be9b-bd78-79a4-0c375d0f5c57@disroot.org> In-Reply-To: <82cbd1ec-be9b-bd78-79a4-0c375d0f5c57@disroot.org> 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-Spam-Score: -6.65 X-Migadu-Queue-Id: 394185AC63 X-Migadu-Spam-Score: -6.65 X-Migadu-Scanner: mx0.migadu.com X-TUID: ff/k+gvEtqNu >From 856d172ba50107ee74fe5c2aca5114923c89fbb1 Mon Sep 17 00:00:00 2001 Message-ID: <856d172ba50107ee74fe5c2aca5114923c89fbb1.1690012542.git.adam.faiz@disroot.org> In-Reply-To: References: From: AwesomeAdam54321 Date: Sat, 22 Jul 2023 15:38:48 +0800 Subject: [PATCH 2/2] gnu: Add openquest. * gnu/packages/games.scm (openquest): New variable. --- gnu/packages/games.scm | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index c388314771..7355b295b7 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5094,6 +5094,55 @@ (define openrct2-objects "openrct2-objects is a set of objects for OpenRCT2.") (license license:gpl3+))) +(define-public openquest + (package + (inherit scummc) + (name "openquest") + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils) + (ice-9 match)) + (let* ((out (assoc-ref %outputs "out")) + (scummc (assoc-ref %build-inputs "scummc")) + (share (string-append scummc "/examples/openquest")) + (scummvm (assoc-ref %build-inputs "scummvm"))) + ;; Create standalone executable. + (let* ((bin (string-append out "/bin")) + (executable (string-append bin "/openquest")) + (bash (search-input-file %build-inputs "/bin/bash"))) + (mkdir-p bin) + (with-output-to-file executable + (lambda () + (format #t "#!~a~%" bash) + (format #t + "exec ~a/bin/scummvm --path=~a tentacle~%" + scummvm share))) + (chmod executable #o755)) + ;; Create desktop file. There is no official icon, + ;; but the main character of the game is a good choice. + (let ((apps (string-append out "/share/applications"))) + (mkdir-p apps) + (make-desktop-entry-file + (string-append apps "/openquest.desktop") + #:name "OpenQuest" + #:generic-name "OpenQuest" + #:exec (string-append out "/bin/openquest") + #:icon (string-append scummc "/examples/openquest/graphics/zob/frames/stand_S.bmp") + #:categories '("AdventureGame" "Game" "RolePlaying") + #:keywords '("game" "adventure" "roleplaying" "2D" "sci-fi") + #:comment '((#f "Simple 2D point and click adventure game")))))))) + (native-inputs + (list bash unzip)) + (inputs + (list scummc scummvm)) + (home-page "https://www.scummvm.org") + (synopsis "Simple 2D point and click adventure game") + (description "OpenQuest is a two room adventure game +that follows two aliens who come to Earth in search of a stolen artifact."))) + (define-public openrct2 (package (name "openrct2") -- 2.41.0