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 ms8.migadu.com with LMTPS id mOIeIAmJsmVB/gAAqHPOHw:P1 (envelope-from ) for ; Thu, 25 Jan 2024 17:15:05 +0100 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 mOIeIAmJsmVB/gAAqHPOHw (envelope-from ) for ; Thu, 25 Jan 2024 17:15:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Xv1xYYkE; 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=1706199305; a=rsa-sha256; cv=none; b=pWHWSOkgt7QeRtLEV4JA/rPCEZXpv4UPBtxHEFnYc7UBYPOOJWO3S01OZxzR2/HOsXWuu5 R9//vs2SOGSa/dPHAsbumreeo6nxugldzQT5mT6q6MBv9OrN2ZTzv9lxOfg2/ElkIcScjB LfPLvZGa8Cwhpn8vtOz8SQUPwgO8DLU7duPr4BzvMwsIJdk841bDcQaQu83+Rh5+5m1Jb9 MNiQ/nTEVE+GHWlS84mVNdNzZayvKWqqlkthoBWgB216Lp+ALBNKwBbETAbBKa8SiAiv+D OgYhj7fWHWCm1lmQX1xQspBlndc8RqM+WD6AZ3oLUlPkeHSqI9Y3DrUYEmsmyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Xv1xYYkE; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706199305; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: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=ZWNgE++VI2egFdGREQo/OYeTmBxagK4N1UZ9bwXNaRs=; b=C5hnptt6KujbFu/ISVyC4Ec3chjSAyRy1HGz1zDxRJzYvoF7ZI5L0RRYb8DaX/UZYnWb9i Edh8uI9lOB2LiQftsTLSP0qgv445ffzzn82vtt8HSwV8ksuXmsIy4D/zVyItRQ/ImIqzF4 VOTNNb0uqH87QkZxaHTsesa2ntdOMmX/kdhafleU1jurofGAZCniBuzJm8Ezf0nBiGX7UQ Dk7EB10EItWQ7ZEu+FD1rSH8V7+E4kqP55YJtGWYbkIGyNX5xt5sIrQb+P+ZgwusZo3zba 4GREdd0bNPbeYm/+8x+l7tN2kRr2CJsprBjufzLJ5ZLibGnMKuB7673CjhYnlg== 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 3F97275B9C for ; Thu, 25 Jan 2024 17:15:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT2NX-0005GG-KF; Thu, 25 Jan 2024 11:14:59 -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 1rT2NV-0005Fm-8o for guix-patches@gnu.org; Thu, 25 Jan 2024 11:14:57 -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 1rT2NV-0002U3-0T for guix-patches@gnu.org; Thu, 25 Jan 2024 11:14:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rT2Na-0007Su-U9 for guix-patches@gnu.org; Thu, 25 Jan 2024 11:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68712] [PATCH 1/2] gnu: Add waffle. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Jan 2024 16:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68712 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68712@debbugs.gnu.org Received: via spool by 68712-submit@debbugs.gnu.org id=B68712.170619926528549 (code B ref 68712); Thu, 25 Jan 2024 16:15:02 +0000 Received: (at 68712) by debbugs.gnu.org; 25 Jan 2024 16:14:25 +0000 Received: from localhost ([127.0.0.1]:48956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2Mz-0007QN-Cb for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:14:25 -0500 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:60525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2Ms-0007Pl-Jo for 68712@debbugs.gnu.org; Thu, 25 Jan 2024 11:14:19 -0500 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-a2f22bfb4e6so748332466b.0 for <68712@debbugs.gnu.org>; Thu, 25 Jan 2024 08:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706199246; x=1706804046; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZWNgE++VI2egFdGREQo/OYeTmBxagK4N1UZ9bwXNaRs=; b=Xv1xYYkEu2A27EtV5a5M8W0GHc8VXc8FI45vm+7RH2W/lIT53Mo9UfAOxXUEwdix/t g6nZcFkx1yA3d12scuZxSKjU4fv4duaxm1Q9pp/04vEHItWpSroJHdT6XAutoYhR+Iap q2T2c8f+apcTNUbOstsfD7vRsrovxmkzgAuPcJhrpdZxdLXSxi5Sff+Sugaj1gpKcylT 95JfXW0z0VnLIS6MnZ7rV3JYhjKaAaj7wgsr1EkPP4y4dCjc1WmUXp3jxZP+fQD3dHyi uKC6kIfbZhmVgHE95VsFcvwS3tx6WQ6WD2m6O8Z6FGawEmDEqCFI1S1fbfsuufsTJPQJ oFRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706199246; x=1706804046; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZWNgE++VI2egFdGREQo/OYeTmBxagK4N1UZ9bwXNaRs=; b=nur4g3gAIRqnL2TdLX7puQ8ujzv/zvzbXfxRkunAIN6X2LOG9vTuuSL9/bIEGLCeiK Kv1HzQ7TYa/dFu2wkgGaqqQjppBhvMOSzaZsUPkxYyDojknBexivcYixw2mbeKoppUyf jyvA3+XswavAA08kIY1kOdFr/mSr+51zMpLvR39qWkq+j4Ro2hZ46UQSo+ivzgP03fHF dx5YLREz6u8IAh3mGg6tS/x4sAigjWyHyvm6xdNcdZ1mdtMB7GiVhM5WXbQ9TECYfZ6u 7ZIoUdYLls0sgeKJzIpdPstnuBfp9uqAl03blDiMC0VXjhLFa35l2cEWOjooO5zPWECB g/nw== X-Gm-Message-State: AOJu0YyNv/FisAU3OplTH/rGabK0SEBbLewVLjJPmbcxtrUQYx8xrvAM UPOLptietaseEZ1pLeMpOaB0Ax6lNAdVQnGRO0UGi5OQNnaLD7W1ZlPDT3Bdnrc= X-Google-Smtp-Source: AGHT+IEOdkGIhqX05Pcud3eLZRp9SBkvhHjp9erix30GdQs1JZq+xEpZz4HCpRqB9ZxkrWvivLUjyA== X-Received: by 2002:a17:906:c792:b0:a2c:b5a1:f8 with SMTP id cw18-20020a170906c79200b00a2cb5a100f8mr1075075ejb.37.1706199246295; Thu, 25 Jan 2024 08:14:06 -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 tj3-20020a170907c24300b00a2fde3a8097sm479456ejc.74.2024.01.25.08.14.05 for <68712@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:14:06 -0800 (PST) Message-ID: <824a8a7f39e9d9ea5748b20eb8c9e7472a9bf1c2.1706174426.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 09:56:50 +0100 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: mx10.migadu.com X-Spam-Score: -2.07 X-Migadu-Queue-Id: 3F97275B9C X-Migadu-Spam-Score: -2.07 X-TUID: IHI8pz/ZT6xq * gnu/packages/gl.scm (waffle): New variable. --- gnu/packages/gl.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 49dc878c02..35fb1e618c 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2023 Kaelyn Takata ;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Liliana Marie Prikler ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ (define-module (gnu packages gl) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages bison) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) @@ -1217,3 +1219,32 @@ (define-public glmark2 "glmark2 is an OpenGL 2.0 and OpenGL ES 2.0 benchmark based on the original glmark benchmark by Ben Smith.") (license license:gpl3+))) + +(define-public waffle + (package + (name "waffle") + (version "1.8.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/mesa/waffle") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mrw0arlrpm83cwaz7rnimkkjv3a134rcmi1h512y2g4yjzhnm8r")) + (modules '((ice-9 ftw) + (guix build utils))) + (snippet #~(with-directory-excursion "third_party" + (let ((keep '("." ".." "meson.build" "threads"))) + (for-each (lambda (f) + (unless (member f keep) + (delete-file-recursively f))) + (scandir "."))))))) + (build-system meson-build-system) + (propagated-inputs (list mesa wayland)) + (native-inputs (list cmocka pkg-config)) + (home-page "https://waffle.freedesktop.org/") + (synopsis "Choose OpenGL API at runtime") + (description "Waffle is a library that allows one to defer selection of an + OpenGL API and a window system until runtime.") + (license license:bsd-2))) -- 2.41.0