From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wJl4FJcQVWVtmQAA9RJhRA:P1 (envelope-from ) for ; Wed, 15 Nov 2023 19:40:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wJl4FJcQVWVtmQAA9RJhRA (envelope-from ) for ; Wed, 15 Nov 2023 19:40:23 +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 87BB35BE74 for ; Wed, 15 Nov 2023 19:40:22 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TDeKjsGP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1700073623; a=rsa-sha256; cv=none; b=j3nUcmyxttGlh3Do1Z0SJj7eVUxXZCN5FsN1lg1j5VEejmGYu5vnK8QgbWFWKnWQytIC07 vZi8qAqNWzqWxogJ5kbNOUu9mfOZGhENE9OCnPC/TNDHnh0C9hn4Yf2QyIcfK1SMB3D0aU EDo3Kvtx5TJb10gToa2eIkQnEPGOTymoW+t49ZUjaZVYzTdlP++eTYD6i1nCf0Lfqns3mE xbuPUttQHlsS/rV39yANKYuS3daHFKxEuTP8EnMMfGDhyk3E8XMGSDziOpo3KeQ2+KI34y AbN1gQS220RQJiNnrH0Hq77mzqV3kEbTU0THc03/WMvGshqugJ67RThRmgdQCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700073623; h=from:from:sender:sender: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=jDAM5ZPa3zY4WTCpzhWvIpk1prmTRQRgpDbEwxGUTpg=; b=gF8FNKcq4Ryxvk5hE3GiwDGWOwa/fctR/VyC8GsPyluV8hdleXYt8FqPgo8YPFgFs1vNF5 qLopGxJCqH9wxtlwRcDzk+CI8FgMPkL89sw3pwxLF3Z4fUdFiSybV6eZDhO3Xx1cWcTMJ0 JC72boXyFW3doqcttY0ZK+gefGkD3XpoSSyd+J8uRyOWYKYjwIfoFE9agBPkjtjlGnXV42 UKemvCMXRaoqMXOtsx7A41dE+ZMOWJlMDYZGyLVrmrwCmrC7KcOV4Q40rnrzegk93M4QRJ oBJpr0yDsgjHRoYEUxffetaL1dJA6Gv1uwS8cOjL1fMr7xNiTW5kUltKKngymA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TDeKjsGP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3Ko1-0002bk-W6; Wed, 15 Nov 2023 13:40:06 -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 1r3Knz-0002bQ-6B for guix-patches@gnu.org; Wed, 15 Nov 2023 13:40:03 -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 1r3Kny-0006Hy-U5 for guix-patches@gnu.org; Wed, 15 Nov 2023 13:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3Kny-0005ix-2O for guix-patches@gnu.org; Wed, 15 Nov 2023 13:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67200] [PATCH] gnu: Add minetest-server. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Nov 2023 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67200 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tristan Cottam , 67200@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 67200-submit@debbugs.gnu.org id=B67200.170007355621943 (code B ref 67200); Wed, 15 Nov 2023 18:40:02 +0000 Received: (at 67200) by debbugs.gnu.org; 15 Nov 2023 18:39:16 +0000 Received: from localhost ([127.0.0.1]:53785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3KnE-0005hr-44 for submit@debbugs.gnu.org; Wed, 15 Nov 2023 13:39:16 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:59462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3KnB-0005hb-Mr for 67200@debbugs.gnu.org; Wed, 15 Nov 2023 13:39:14 -0500 Received: by mail-wm1-x341.google.com with SMTP id 5b1f17b1804b1-4083ac51d8aso58419855e9.2 for <67200@debbugs.gnu.org>; Wed, 15 Nov 2023 10:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700073548; x=1700678348; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=jDAM5ZPa3zY4WTCpzhWvIpk1prmTRQRgpDbEwxGUTpg=; b=TDeKjsGPCka79KYI4CqwH1geSA8yRl0Wj2zlGr9QTLM7lUPc2G3TsjeSStr8BpkRcQ LRIAkQHVyqjXLn5coVXWWne9DpyfBZcY2UGzQPXiBFoRg/BM1nbuiuecrV6OKyOHYs7g 23EHjmLdyK9xlFOmInTJPZaP+B7xZf9gS1MboUjJ7/814N9eKe+PdTz4EAzcMYugx+Zs TOSX9eEiCutT07GeI0UdFy7WQc748/DZsZk3+EOGJ65TwhDBi9NOKqxCRvCW1wOeKduP 7IXc3aUpX8Zjr7Xwi1Vj83K33yAON+TGMK5x5uoXJMM/uTA3OInPj47bQI6k5d3eaufO m6mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700073548; x=1700678348; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jDAM5ZPa3zY4WTCpzhWvIpk1prmTRQRgpDbEwxGUTpg=; b=IlQQNyz2/tj2UH1ffZA5rXTOeB36DBXhwqK9KLigeXu8N2nGcPrrX8FvgzM0qCwHLS oGkMfILVuLTmaYvt+eENJt6ojMBEM60Uo/QjcLux7cFVFyIRCMJTEzSdZEqwVsiv2Z1L qrQTeXd18yDNCWjuk9rdcsV7o2SrWxb/SXT3vs0wNeh1Axz8jtOFq/TC4yEfqvfjKjpS cHnwZnOABLJOVNXjcBIPxTaa1MtMxl+tlz707YdR10Z8Td1Qintm5aPc1Rc2T/+4Hh5+ pMS3o0vwLw4VBbPd/ROs6Yr0IFX6Y419L+dPBJptBnmKgcpU9v6IlVkYL/7QLGZEAMI2 XN4Q== X-Gm-Message-State: AOJu0YxlVNxnZxXS+vndX8mJ2Dewv3FA3Y4fglZLsF3psoWBKpUFUEEG Etvm9trYYZfiVVzpF8PaDeO8L6jMnp3HrQ== X-Google-Smtp-Source: AGHT+IEEPM3HGxgp3UiMJscP8qv5BrLVKsW1LqB+TkjyhcpLWlzUD6B63yUttspexHJ980qxOxKfpw== X-Received: by 2002:a05:600c:1e28:b0:409:5580:bc9f with SMTP id ay40-20020a05600c1e2800b004095580bc9fmr12002292wmb.34.1700073548293; Wed, 15 Nov 2023 10:39:08 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id x16-20020a05600c21d000b004063cd8105csm528770wmj.22.2023.11.15.10.39.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 10:39:07 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Wed, 15 Nov 2023 19:39:06 +0100 In-Reply-To: <008d012987a89335df89e1b1c13a553b2fd7fe55.1700049181.git.tristan@cott.am> References: <008d012987a89335df89e1b1c13a553b2fd7fe55.1700049181.git.tristan@cott.am> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: 2.91 X-Migadu-Queue-Id: 87BB35BE74 X-Migadu-Spam-Score: 2.91 X-TUID: RVIOYJhFm+0R Am Mittwoch, dem 15.11.2023 um 12:53 +0100 schrieb Tristan Cottam: > * gnu/packages/minetest.scm (minetest-server): New variable. >=20 > Change-Id: I1125888b2944acc4063a19db4c602d33286a7e14 > --- >=20 > This package is a variant of minetest, with modified arguments and > dropped > inputs. >=20 > 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. pkg-config is nice to have for dependency resolution, though I don't know whether the current version of minetest makes use of it.=20 Coreutils were at one point required to patch rm; I hope minetest now uses system calls for that. The other two I don't know. > =C2=A0gnu/packages/minetest.scm | 36 ++++++++++++++++++++++++++++++++++++ > =C2=A01 file changed, 36 insertions(+) >=20 > 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) > =C2=A0=C2=A0 #:use-module (guix packages) > =C2=A0=C2=A0 #:use-module (guix gexp) > =C2=A0=C2=A0 #:use-module (guix git-download) > +=C2=A0 #:use-module (guix utils) > =C2=A0=C2=A0 #:use-module (guix build-system cmake) > =C2=A0=C2=A0 #:use-module (guix build-system copy) > =C2=A0=C2=A0 #:use-module (guix build-system minetest) > @@ -154,6 +155,41 @@ (define-public minetest > =C2=A0=C2=A0=C2=A0=C2=A0 (home-page "https://www.minetest.net/") > =C2=A0=C2=A0=C2=A0=C2=A0 (license license:lgpl2.1+))) > =C2=A0 > +(define-public minetest-server > +=C2=A0 (package > +=C2=A0=C2=A0=C2=A0 (inherit minetest) > +=C2=A0=C2=A0=C2=A0 (name "minetest-server") > +=C2=A0=C2=A0=C2=A0 (arguments > +=C2=A0=C2=A0=C2=A0=C2=A0 (substitute-keyword-arguments (package-argument= s minetest) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:configure-flags configure-flags= ) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #~(cons* "-DBUILD_CLIENT=3DFA= LSE" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 "-DBUILD_SERVER=3DTRUE" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 #$configure-flags)) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:phases phases) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #~(modify-phases #$phases > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (repl= ace 'check > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (lambda* (#:key tests? #:allow-other-keys) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (when tests? > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setenv "HOME" "/tmp") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (invoke "src/minetestserver" "--run- > unittests")))))))) > +=C2=A0=C2=A0=C2=A0 (inputs > +=C2=A0=C2=A0=C2=A0=C2=A0 (modify-inputs (package-inputs minetest) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete "libjpeg-turbo" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "libpng" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "libogg" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "libvorbis" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "libxxf86vm" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "mesa" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "openal"))) > +=C2=A0=C2=A0=C2=A0 (synopsis "Infinite-world block sandbox game (server)= ") > +=C2=A0=C2=A0=C2=A0 (description > +=C2=A0=C2=A0=C2=A0=C2=A0 "Minetest is a sandbox construction game.=C2=A0= Players can create > and destroy > +various types of blocks in a three-dimensional open world.=C2=A0 This > allows > +forming structures in every possible creation, on multiplayer > servers or as a > +single player.=C2=A0 Mods and texture packs allow players to personalize > the game > +in different ways.=C2=A0 This package provides @command{minetestserver} > to run a > +Minetest server."))) > + > =C2=A0(define minetest-data > =C2=A0=C2=A0 (package > =C2=A0=C2=A0=C2=A0=C2=A0 (name "minetest-data") >=20 > base-commit: bd0f2173210416e86281c1de8789e7cdab66dd57 LGTM, assuming CI lights green. Cheers