From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sDfYF2GAOWeBkgAAqHPOHw:P1 (envelope-from ) for ; Sun, 17 Nov 2024 05:34:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sDfYF2GAOWeBkgAAqHPOHw (envelope-from ) for ; Sun, 17 Nov 2024 06:34:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uGLkmRqZ; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm1 header.b=Ud7l9Q9R; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VIXFhUlx; dmarc=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=1731821665; a=rsa-sha256; cv=none; b=MyIGOXbsD3b48SGHhXYh1bRbw12o9s5N2TBcagXhrUq8DsLyx9GUUiP1w7NyFA8cXqHgL/ DnbYLO4aB+ag3wpJkFiBMgV30+IL2enlzkO/VYTOQjSnnDRnifVFb28VEAqPDnkg0RrSWQ 7pMBXNnNZAkVEAH3pfjoimDfMd3hY87Z1RmZ5EBFvHLXYMaVqlhvmHgOQTDS15rZWQleYd k/PSnBrk0QmeMITYPB2jGwll2ft4d4v/yr5NFItKU7y+fY6XER54RlotYDglaxyygSXTtf 3xZkatiJSW6WSa3gCQxLA8Z0UK3Sli7dX3s0UnFp3F/XeWzk0rTnXzzT6up2Xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uGLkmRqZ; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm1 header.b=Ud7l9Q9R; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VIXFhUlx; dmarc=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731821665; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=g9beix6xfba6zSjX9qaRPRddj6isLpA8JTpdatL3WJM=; b=SkrIzINT2/2kFG8IRHquwnrwWrJI3EbCq1jRaYhffb3w86bj3PBx6pbg6+JwnfLD8p8ry3 OOYPTeuMACUOTS1x5IJixfMN0dPYXU3GRFH9ge+iesExAkf0mSl1BQ1ixJxY/IlJhSyHTP NEvr5PGi9ai0G2+hdEzCUO465EOu9h33t0ZUu7Pd6RAMSJjj9j9iV6Jjvg9ANnrmqng3vd 8f+reJCGHTlPDAEXAmGd3a+8/I4KlUQORpJ8tiW+fwBpJ1VtoXb0uczVVT/nwfj6+y1UY/ 5VXh2c+m3GNucVCgjKzamFGtmZBzyblekgoH0u08oTjwTFbdaJFhBGsnNNYwpw== 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 4D93F762CE for ; Sun, 17 Nov 2024 06:34:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCXv9-000666-Tc; Sun, 17 Nov 2024 00:34:03 -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 1tCXv8-00065q-JT for guix-patches@gnu.org; Sun, 17 Nov 2024 00:34:02 -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 1tCXv8-0006ip-Aq for guix-patches@gnu.org; Sun, 17 Nov 2024 00:34:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=g9beix6xfba6zSjX9qaRPRddj6isLpA8JTpdatL3WJM=; b=uGLkmRqZoeWT52dEKy6gXSVnzsloTKo4J7lApG3DLE48ABW+awg8dB37k2oEBetIai+XHI8Pe12dIB/rXsEHnFL3UwSHFeNnItinQgDcVvHP6apIHS+PR0nxzSp3cXIrK57XzRGJzEZSMDhY3OYDlru4h/xaL/9tU1huY2MZf8L6UVXTD5csaWESqtnIyKwK71/XXDlitWZjGbXEXOrcfBJ2CnIy2Dx4a+UABYnllAA6dVRafgpoHcGCJ6FpeJPmKfIxLbE348nCHHGAXBDAPmghaQID9EredjltgqsgEHKR1xIdVqtzP/y6Dhmv01EBrNFyvFmc4G+Uk2X0pW49OQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCXv8-0005C8-5Z for guix-patches@gnu.org; Sun, 17 Nov 2024 00:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74388] [PATCH] gnu: Add sdl3. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Nov 2024 05:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74388 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74388@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173182162219939 (code B ref -1); Sun, 17 Nov 2024 05:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2024 05:33:42 +0000 Received: from localhost ([127.0.0.1]:55572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCXuo-0005BW-EF for submit@debbugs.gnu.org; Sun, 17 Nov 2024 00:33:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:47312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCXul-0005BO-Tu for submit@debbugs.gnu.org; Sun, 17 Nov 2024 00:33:41 -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 1tCXul-0005vh-IX for guix-patches@gnu.org; Sun, 17 Nov 2024 00:33:39 -0500 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCXuj-0006fi-VL for guix-patches@gnu.org; Sun, 17 Nov 2024 00:33:39 -0500 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8E12B1140127 for ; Sun, 17 Nov 2024 00:33:36 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Sun, 17 Nov 2024 00:33:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm1; t=1731821616; x=1731908016; bh=g9beix6xfba6zSjX9qaRP Rddj6isLpA8JTpdatL3WJM=; b=Ud7l9Q9RK40QDB0spekM+ktYnhYq+iDFjMhLu Vv8+gSk3VTPweHlD+dq6IOCO56dj31uZp03RWwILz9IQ/kclR3FWAQni6C6k7Rbv zzLRxLPWl+NcbfRhoAq6FC9OqSphlJFr7RkI5JDehtKEi6gGlXMXubmuWApbvB+B 6Mwy8BMXEbVpA1SQtLxJ5BPmn+ZftxjAj+OkhBkvJQIp9RTc/fYg5w2dptaYKZ4F Ufufn/KoEkU9QOuLrys3RbGZ2+RwmWjoNR384c6XFOlY15DXo0PhlvXveVCM+CzL cOV54GKkADlduqMfIcNjeNV8oRINFQAHK9wvAVpvqC7/SAgZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1731821616; x=1731908016; bh=g9beix6xfba6zSjX9qaRPRddj6isLpA8JTp datL3WJM=; b=VIXFhUlxkmw/J6qrH+qrUE81kkmPrZFB81PmND935k43GLqQSQ+ E5RCP10Jj+UlA5P6hU+awePEB0gyrWkwoVxcsplJiIXcCeXX2DP837Uy0d90Z39b Vs99kyw6M7V3g2WiQC9nUCXsfPUXyitSf0WHCxLU0oQlpHX6tPMibG8AQioXeq6N MXHnjOFaCkTTrXQ3fdrHvVc2KQoPOhQXEfxnJCJxiUWUMb2X2nRDNypeJLsOY4yu 3cICrpsiReMbY78ou0oxsUuGA7jK+9rDIbTZyF0OTz9uBXqEBYK6bun5IVuXBGF0 +iMY4ysiQh7+fFGiySv5Og2SWe1x+uc0mXQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvdejgdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkf foggfgsedtkeertdertddtnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheq necuggftrfgrthhtvghrnhepudejfefhjeetkeehtdefveffiefggeevffelkeethfelff ehgffgueefueevhfffnecuffhomhgrihhnpehlihgsshgulhdrohhrghdpghhithhhuhgs rdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epihesuggrnhdrghgrmhgvshdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 17 Nov 2024 00:33:34 -0500 (EST) From: dan Date: Sun, 17 Nov 2024 13:33:21 +0800 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=103.168.172.152; envelope-from=i@dan.games; helo=fhigh-a1-smtp.messagingengine.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.696, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.80 X-Spam-Score: -3.80 X-Migadu-Queue-Id: 4D93F762CE X-Migadu-Scanner: mx10.migadu.com X-TUID: XGKAROJm5EAy * gnu/packages/sdl.scm (sdl3): New variable. Change-Id: I3e8c3c6290078da18139ce5375a8e1902a360f4a --- gnu/packages/sdl.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 227846c042..0ed9d24f80 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -146,6 +146,40 @@ (define-public sdl2 (home-page "https://libsdl.org/") (license license:bsd-3))) +(define-public sdl3 + (package + (inherit sdl2) + (name "sdl3") + (version "3.1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libsdl-org/SDL") + ;; Change to release- when 3.2.0 is released. + (commit (string-append "preview-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1plyp0x8rvfwxpmfdjndj78kbfaisljjza700mvks4qyjjvmk2rh")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f + #:configure-flags + #~(list "-DSDL_SHARED=ON" + "-DSDL_ALSA_SHARED=OFF" + "-DSDL_PULSEAUDIO_SHARED=OFF" + "-DSDL_X11_SHARED=OFF" + "-DSDL_WAYLAND_SHARED=OFF" + "-DSDL_KMSDRM=ON" + "-DSDL_KMSDRM_SHARED=OFF" + (string-append "-DCMAKE_INSTALL_RPATH=" + (string-join + (list + (string-append #$(this-package-input "eudev") "/lib") + (string-append #$(this-package-input "vulkan-loader") "/lib")) + ";"))))))) + (define-public sdl12-compat (package (name "sdl12-compat") base-commit: 0e1ffbc7f5f060f89c890472377a6102f27f6e9b -- 2.46.0