From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EOrUNQwAVWVcqwAA9RJhRA:P1 (envelope-from ) for ; Wed, 15 Nov 2023 18:29:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EOrUNQwAVWVcqwAA9RJhRA (envelope-from ) for ; Wed, 15 Nov 2023 18:29:49 +0100 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 84F4A36B1A for ; Wed, 15 Nov 2023 18:29:48 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=cott.am header.s=protonmail header.b=k13vcH3P; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700069388; a=rsa-sha256; cv=none; b=HLY3ZtYWcNQ2I6aQ9Dl1QJB2gV5qKvs8Qvoju1K8us9O5FZJDGE5nDqnvHjM57ePBtjAY1 fkxOo1K/1lPRPbj08U56umGlEJCwA0A4OSqU4Bsk4302QQsOwm2h5YCLxckIjkKlLl5K5v J2XKGaaPC4hpHfbN0Qit0cEKPdcdkmpIqVGM9+rPAsz0hQCVzlgYUt1fe88Y+Q2PTcocV9 +BknnCcrowwB3ygm9vVekHSfxIAlfooTHFzRngbDpQYeRX2kF9Qu1omM6MuMp5vIdMeCJe zWthd46QlVAEoAjfyVovFcFM/FSf8FRdRuywUmUjJqDnVIk+tlBZ7zlbRugUpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=cott.am header.s=protonmail header.b=k13vcH3P; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700069388; 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-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=K3je9TAm4ipGTVwuCutv70H6PSPDvyIgCGU/ED2ITQc=; b=GxZhstWCR5KxrbQznmdmVqlwB/7Rd8BLptHPa6N1RA3COiE4lcZpKPAcdNwFIwoI750lPP +f9EglaGJcsN68Htq+hsw/Ubz7d5sgNGO5IL4NngdBWqO7k/6ZQmmZbIRX8cxpf6g7kkN6 bKjjAG4jppCSE9c0X6toyR3AR+YiMBLwr65YqL5B1ZOIPXg1dYh/7LXyg1QDqmp+se/vJ1 gfW6npc+Fh8+ixK7qC2aBFzt5psMA9q0RB5AF1BqEHAtALjuRJFc9yWmCJSsWgn7SHlJle fqSyXlfsEJXi5VgxsagyVFUUWe0AnNlVYUGG8fj7ZWOz5/+zwTZP1KV8pLvyjw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3Jhr-0000pH-V3; Wed, 15 Nov 2023 12:29:40 -0500 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 1r3JhJ-0008K4-IB for guix-patches@gnu.org; Wed, 15 Nov 2023 12:29:07 -0500 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 1r3JhJ-00087S-1C for guix-patches@gnu.org; Wed, 15 Nov 2023 12:29:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3JhF-0006wz-Kw; Wed, 15 Nov 2023 12:29:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67200] [PATCH] gnu: Add minetest-server. Resent-From: Tristan Cottam Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 15 Nov 2023 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67200 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67200@debbugs.gnu.org Cc: Tristan Cottam , Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by submit@debbugs.gnu.org id=B.170006929026465 (code B ref -1); Wed, 15 Nov 2023 17:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2023 17:28:10 +0000 Received: from localhost ([127.0.0.1]:53558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3JgK-0006sh-N3 for submit@debbugs.gnu.org; Wed, 15 Nov 2023 12:28:10 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3JHx-0005xa-27 for submit@debbugs.gnu.org; Wed, 15 Nov 2023 12:02:55 -0500 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 1r3Eb5-0005xE-6p for guix-patches@gnu.org; Wed, 15 Nov 2023 07:02:19 -0500 Received: from mail-0201.mail-europe.com ([51.77.79.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3Eaz-00006q-IB for guix-patches@gnu.org; Wed, 15 Nov 2023 07:02:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cott.am; s=protonmail; t=1700049724; x=1700308924; bh=K3je9TAm4ipGTVwuCutv70H6PSPDvyIgCGU/ED2ITQc=; h=From:To:Cc:Subject:Date:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=k13vcH3PaUHOuTQUFtYjQjeMWJESiV8cYzTM7q9ESAFwFwanMFix/XXh+mLnPKAOg Lmhta2D36oh0uXhkJt9F8NA/o0FrxdEB+km7jTAj/wBdH2fXzlGE6xChwZcQ66YyA6 Jz6XtQUD6To4949M2013TcWyyXEWrPvmHXhrOE9icuxPiNQfW3WtDLpg8sLIC2nLo/ H6FseLtKjM+/4nkBcaM+6lyNyQWHb093eajpnpHKlUVo6RW+P827TmgSDEWTjzNZiY ZCzm6hhGf7LIHBaJ1omKFBHPw+uCBFGh3Rtj9priaZ4PFJ4SCjmfu2okrCdZH/CQyF g3rJWQsWLtVnw== X-Pm-Submission-Id: 4SVhbs3LSRzDMg Date: Wed, 15 Nov 2023 12:53:01 +0100 Message-ID: <008d012987a89335df89e1b1c13a553b2fd7fe55.1700049181.git.tristan@cott.am> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=51.77.79.158; envelope-from=tristan@cott.am; helo=mail-0201.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Tristan Cottam X-ACL-Warn: , Tristan Cottam via Guix-patches From: Tristan Cottam 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-Queue-Id: 84F4A36B1A X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.59 X-Spam-Score: -4.59 X-TUID: imSfm3OQGars * gnu/packages/minetest.scm (minetest-server): New variable. Change-Id: I1125888b2944acc4063a19db4c602d33286a7e14 --- This package is a variant of minetest, with modified arguments and dropped inputs. About the inputs, I'm having a hard time understanding why certain of them (i.e. pkg-config, coreutils, libxxf86vm, and ncurses) are specified for minetest in the first place; the docs make no mention of them, and the package builds fine without them. gnu/packages/minetest.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm index bf0df314a7..4d658f9e03 100644 --- a/gnu/packages/minetest.scm +++ b/gnu/packages/minetest.scm @@ -44,6 +44,7 @@ (define-module (gnu packages minetest) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix git-download) + #:use-module (guix utils) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system minetest) @@ -154,6 +155,41 @@ (define-public minetest (home-page "https://www.minetest.net/") (license license:lgpl2.1+))) +(define-public minetest-server + (package + (inherit minetest) + (name "minetest-server") + (arguments + (substitute-keyword-arguments (package-arguments minetest) + ((#:configure-flags configure-flags) + #~(cons* "-DBUILD_CLIENT=FALSE" + "-DBUILD_SERVER=TRUE" + #$configure-flags)) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" "/tmp") + (invoke "src/minetestserver" "--run-unittests")))))))) + (inputs + (modify-inputs (package-inputs minetest) + (delete "libjpeg-turbo" + "libpng" + "libogg" + "libvorbis" + "libxxf86vm" + "mesa" + "openal"))) + (synopsis "Infinite-world block sandbox game (server)") + (description + "Minetest is a sandbox construction game. Players can create and destroy +various types of blocks in a three-dimensional open world. This allows +forming structures in every possible creation, on multiplayer servers or as a +single player. Mods and texture packs allow players to personalize the game +in different ways. This package provides @command{minetestserver} to run a +Minetest server."))) + (define minetest-data (package (name "minetest-data") base-commit: bd0f2173210416e86281c1de8789e7cdab66dd57 -- 2.41.0