From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 6AfZNhWJsmXGUwAAqHPOHw:P1 (envelope-from ) for ; Thu, 25 Jan 2024 17:15:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6AfZNhWJsmXGUwAAqHPOHw (envelope-from ) for ; Thu, 25 Jan 2024 17:15:18 +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=SyZe0+E9; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706199317; 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=vybAa0YzCJWUm/NXOe7S3U9Hr3j2ZT+jorpxTj16vLc=; b=SGocYJLgSn9EiOkDzDsSQ/573tgqgtS6NDWNGV2owj9EwokzHNsooZ43jdL5U39exxHigH bSzNx9RNx16J31Uh7h9bp41qNfyfgWzxGWSAP7rPXcT1S8QoGmPolQuPdHP2EmsG4Wq50F TS6JknYgmjOrzEww4Uxs5xm1sfoZFbKUbPOgMlbElquterJi3gdjz8jL1Qh8+CJiyPQJtc DBCHOPoBOIvq/bRXwV8Uz1yN4hlggdnrAIbP5NbjVuz88H4AxoHR+3hPSadqrjX2FbAfjD SBF90T6Jgu+PAJypMvi8jl78cIqrVnzbTqbSrte1RT8wyxueTBaCTfgL3v6EbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SyZe0+E9; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706199317; a=rsa-sha256; cv=none; b=oRATIMkKxBqEA9EsgqsjFfFv5U6/sdSI0zvme4U86UlTjt9lpvwBPS45UUx0x5+YVvRdo7 XA6U9IwJTT4eEMhiuuqXs4s+o5/SzYP/oGDQn45P4Z5iZrkBUYQ1EquWwSihUcs2iX6126 a+RZGaJUhk/vo7yZhhbMlPa5nO4fM0ImlPPYPnIEwRBX0/Pg3lF+NcNZFrj1f8ZIo7Pb1D 4v7wiXvWDGM718Q98dp4coHVmau8RXmEIjZk2KY330FUUfFIaOOs2hOPj8WSJRNtMKQdvE gLX+f/8gFfI2GfJePxpBDFx6lcnVjTzexlWQrB38Ba0LeQcTjJfT1mtiqu/AXQ== 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 7FE58389E4 for ; Thu, 25 Jan 2024 17:15:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT2NW-0005Fy-LH; Thu, 25 Jan 2024 11:14:58 -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 1rT2NU-0005Fc-PZ for guix-patches@gnu.org; Thu, 25 Jan 2024 11:14:56 -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 1rT2NU-0002Ty-H7 for guix-patches@gnu.org; Thu, 25 Jan 2024 11:14:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rT2Na-0007Sg-Cm for guix-patches@gnu.org; Thu, 25 Jan 2024 11:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68712] [PATCH 2/2] gnu: Add piglit. 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.170619926128536 (code B ref 68712); Thu, 25 Jan 2024 16:15:02 +0000 Received: (at 68712) by debbugs.gnu.org; 25 Jan 2024 16:14:21 +0000 Received: from localhost ([127.0.0.1]:48954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2Mu-0007QA-VG for submit@debbugs.gnu.org; Thu, 25 Jan 2024 11:14:21 -0500 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:46104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT2Ms-0007Pn-Le for 68712@debbugs.gnu.org; Thu, 25 Jan 2024 11:14:19 -0500 Received: by mail-ej1-x644.google.com with SMTP id a640c23a62f3a-a30f7c9574eso288919066b.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=1706199247; x=1706804047; 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=vybAa0YzCJWUm/NXOe7S3U9Hr3j2ZT+jorpxTj16vLc=; b=SyZe0+E9SQjJXFQp4bRWbgc3Df36h91CYSB0PSXRnow9Tf+ldbobh0en/NxDnWuBKQ Ux1HUDvImSgfJrqmZYY+MznXFYdxkiP5ESm9j+pVlFdH5aJQEHU9VfjKu1M0EgCJnl5E C45FZSl4bXV7P9QS7fj1ZFAQis/vh0/gfX/jb/GKRql/UtS3bPuSY0xdqO6+rbYxIL7a kduKhCgfD+9YvJ2p85qsL8ckGrK9FsZbbbK1e9KgPH75/O4rBUythhYL/bktLf29Gxi9 7ngdYYO6U8J2eA5kwamQqgBk8qxOMjISmCdpRUsXHmgYmQfD3OCMIy86xUHoD6Ae3LDb GY8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706199247; x=1706804047; 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=vybAa0YzCJWUm/NXOe7S3U9Hr3j2ZT+jorpxTj16vLc=; b=ilVZU6CSJO9a94z88YDfZM75aCt7ELJRSjnSJKKGcsxTpea1a9nG4rg90VluQEbyTM IkpEM08Sz1DMixGAfaIuNDxxDaT1RFBLoHWHcoCJUriPOAbyElzE07FBmS1IqoyswviT jVwo7Jo1ty6bRq1wgZstYVW1XUk6HBO1ERwU0FI3+AD18BRpTAk/p+fiflvc9SqRNo7I VQeBGKKvYRT6SVB38mPc0rgT2qzwtFa5RdA/rXtbIwY1PnwelZJX3r/gpqapzg/9cZK8 k4ALDrpQ4LvK7IYuMknqi7sJTqZQAf0SCV+MgVlNQqHggLsZCVEMw23uMa9p/0gVP8Mw MYuw== X-Gm-Message-State: AOJu0Yz9Xjoxm11CbT8j0WVDNgnuzMCohnB2i0QMj1fGfmfsRjkfflEi v6jK0cuO4ljLzNaMi/r9mD9yEgVeOXfCvFln1yq7GgxmOHkRx/8NyRcSwkXt6H8= X-Google-Smtp-Source: AGHT+IEL4WvhJEfy9ru+pt0nMwPxkUQxogvCv8DHhmprgS40FAgzMDtbWbGOyJRnhVBWmX89RgDz6w== X-Received: by 2002:a17:906:712:b0:a26:c9e6:d5e0 with SMTP id y18-20020a170906071200b00a26c9e6d5e0mr444244ejb.74.1706199246868; 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.06 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: <8ecf33f93cb6858219a8349837e3e22cabaa4f69.1706174426.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Thu, 25 Jan 2024 10:19:29 +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-Spam-Score: 2.34 X-Migadu-Queue-Id: 7FE58389E4 X-Spam-Score: 2.34 X-Migadu-Scanner: mx11.migadu.com X-TUID: X/pb2WIbc9r2 * gnu/packages/gl.scm (piglit): New variable. --- gnu/packages/gl.scm | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 35fb1e618c..f8dc8c1d9d 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -1248,3 +1248,55 @@ (define-public waffle (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))) + +(define-public piglit + (let ((revision "1") + (commit "814046fe6942eac660ee4a6cc5fcc54011a49945")) + (package + (name "piglit") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/mesa/piglit") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1bzaalcxskckfnwprw77sbbmfqi59by2j8imaq8ghnlzhlxv7mk7")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags #~(list "-DPIGLIT_SSE2=OFF") + ;; Tests are not invoked through cmake. Instead, there are + ;; pytest/tox-based tests for the framework, but they require + ;; unpackaged plugins. + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (find-files "framework/" "\\.py$") + (("'wflinfo'") + (string-append "'" + (search-input-file inputs "/bin/wflinfo") + "'"))))) + (add-after 'install 'wrap + (lambda* (#:key outputs #:allow-other-keys) + (wrap-script (string-append (assoc-ref outputs "out") + "/bin/piglit") + `("GUIX_PYTHONPATH" prefix + (,(getenv "GUIX_PYTHONPATH"))))))))) + (inputs (list guile-3.0 ; for wrap-script + libxkbcommon + python python-lxml python-mako python-numpy + glslang vulkan-headers vulkan-loader + waffle)) + (native-inputs (list pkg-config)) + (home-page "https://piglit.freedesktop.org/") + (synopsis "Test OpenGL implementations") + (description "Piglit is a collection of automated tests for OpenGL and +OpenCL implementations.") + ;; A mix of licenses for various tests + (license (list license:expat + license:bsd-3 + license:gpl2+ + license:gpl3+))))) -- 2.41.0