From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 sNDZHWdu32W1hwAAe85BDQ:P1 (envelope-from ) for ; Wed, 28 Feb 2024 18:33:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sNDZHWdu32W1hwAAe85BDQ (envelope-from ) for ; Wed, 28 Feb 2024 18:33:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b="t O9D851"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=YcvX7ZWC; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709141607; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5oyZ2a0juuvfvFQhXhPhQD+8NjQs5vHcMeQJyZtphcY=; b=u+PiLHTEK1Bddr+p6oYcjaVC4V4AiVjJx0dhOMDjsn1oJvsHcoF9ErK4zdiY4Dp31RGpLB n5cZJLrbPfU3kmOljgtsT2/MoIDcclYqz5vdDIRgZzZXXtn8DzDHjIwL0Z6HBhA9DIswkk AVW+ypsBwIfDdgc2+1RD/suSRWZMgBVL3EsgSn9LCrm54pWzxLyYMVoREmGP7VBIlQDrjm dny6Iv1GezekbHQf3H28QuNSCH9v//d2jfGRsHUOnzTdkvV897Y+JRscWz8ZBHXdPbExBj ls7E8CZdQ3aBgeXYULijPf9XnfR5MPfd127UUJwwr+rmijj/AeqM8tgHpvYYUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm2 header.b="t O9D851"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=YcvX7ZWC; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709141607; a=rsa-sha256; cv=none; b=MUCfcu4y4eeK/C+BYpW+pQX8nnU/YYBRityORdV+isP3hE3ALecZT2MNTdndUWHpAMzkQ/ uy3CN1CCqQfQ1T9iZcOgzmz1yYIGIOBlc9R8hb13jt/8cPDKhkJGsgn8uRS5d0gxawv4XY cKWtQl7QFFIq6rGXQtFL8OakfPxC1oTo2kBTtSDHy9vzZzxYAUvJ45dMrOJCLyXHODCkkf iPLG7oPpzGTPg91Sv4yNKHf4EIxiUGR8akWCz/MLAhEPR70NyKT7Tps7au1ddtyMC/87mU pV05fyi2L/PwWrdoveOp0UqVjiHjhW5rgf3gHk2nPpB6rvXN2jpLP6mGTvEAXw== 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 3E7835C16C for ; Wed, 28 Feb 2024 18:33:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfNnO-0005DD-7w; Wed, 28 Feb 2024 12:32:42 -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 1rfNnJ-0005CC-CS for guix-patches@gnu.org; Wed, 28 Feb 2024 12:32:38 -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 1rfNnJ-00021U-42 for guix-patches@gnu.org; Wed, 28 Feb 2024 12:32:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfNnj-0007EI-OU for guix-patches@gnu.org; Wed, 28 Feb 2024 12:33:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69461] [mesa-updates 03/13] gnu: glslang: Update to vulkan-sdk-1.3.275.0. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 17:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69461 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 69461@debbugs.gnu.org Received: via spool by 69461-submit@debbugs.gnu.org id=B69461.170914156927685 (code B ref 69461); Wed, 28 Feb 2024 17:33:03 +0000 Received: (at 69461) by debbugs.gnu.org; 28 Feb 2024 17:32:49 +0000 Received: from localhost ([127.0.0.1]:56309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfNnT-0007CM-P3 for submit@debbugs.gnu.org; Wed, 28 Feb 2024 12:32:48 -0500 Received: from wfout3-smtp.messagingengine.com ([64.147.123.146]:49427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfNnQ-0007Bl-V7 for 69461@debbugs.gnu.org; Wed, 28 Feb 2024 12:32:46 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.west.internal (Postfix) with ESMTP id 98F4F1C00091 for <69461@debbugs.gnu.org>; Wed, 28 Feb 2024 12:32:12 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 28 Feb 2024 12:32:12 -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:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1709141532; x= 1709227932; bh=5oyZ2a0juuvfvFQhXhPhQD+8NjQs5vHcMeQJyZtphcY=; b=t O9D851tLwQhlFYMbUxDfxJJvushAYFkvMVAh9oeWonehG4m5gd4JRNg7mkz1vivP qVnmqa6aYJAD0x+SXgb7a8xjursmnc/fBALWH8iMfRZ7PdrExIsiQAc2Ffs2ZgaP LcssEav2VwX6+IvD7DAyp/tKXKFqjCQFWaLnnDX0YBh100r/yWZe683ijy/tFL1T OeT32HfosOAiqSPKSTkvAlHMdkoV0wDytHEyirymhUCoK9Qq4/MOLXe5Wslvu5E7 JZ/tkl6w9oOgKFSsDlN7VrzsMyUTt7czpwsZj3cfC8bEL7lwPYPGb8K1DrvrkFYX eOKhHvo3NPkv4uPSMW7wA== 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 :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1709141532; x=1709227932; bh=5oyZ2a0juuvfv FQhXhPhQD+8NjQs5vHcMeQJyZtphcY=; b=YcvX7ZWCf8zerhB2VOIEoRQ6OmYG8 EpM/eLbQv7A/nasvjVKQVzDjMdFhA6NQ1YznEMsBPzv5pzMazBNqEppJUL3NTq0f fvMEi4OaDuKtu1Ermub1UStjlmzQkd9fnUb2R85PvqZuaOF9O/+8L4oeydb3jHK9 qLvN/+k8s18X4PwVXww4LKv8uQa0lD0gFcnjrhZT+21+BgPDvJ4J4euuH/As/+ah LoLB0klvh/2s5YPQ1UVmOH7U6UUVQs5a1aWGPGZHcmyVIX2amUN3GGWNql3NhJm2 G55hzlwkoIU9wfR8A/gM/aeTUjwnASX+V3wwOFofpEKL+OVTCZxrShQ4Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgeejgdeljecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgrthht vghrnhepkeehfeelieeghfegiedugeeufeegieekvefhhfegheeiiefgvdefheetgeefhf dunecuffhomhgrihhnpehgvghnthhoohdrohhrghdpghhithhhuhgsrdgtohhmnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihesuggrnhdrgh grmhgvsh X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <69461@debbugs.gnu.org>; Wed, 28 Feb 2024 12:32:10 -0500 (EST) From: dan Date: Thu, 29 Feb 2024 01:31:36 +0800 Message-ID: <61fa2d39ac8f0fce6be8946887cd19d136b3d7fc.1709140055.git.i@dan.games> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.87 X-Spam-Score: -3.87 X-Migadu-Queue-Id: 3E7835C16C X-Migadu-Scanner: mx11.migadu.com X-TUID: 0BaNrhALzrx1 * gnu/packages/vulkan.scm (glslang): Update to vulkan-sdk-1.3.275.0. [source]: Remove patch. [arguments]: Run tests. [inputs]: Add spirv-tools. * gnu/packages/patches/glslang-install-static-libs.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Ungerister it. Change-Id: I053bb7fd2d510395a248b0f5c0107a7b264a38c7 --- gnu/local.mk | 1 - .../patches/glslang-install-static-libs.patch | 61 ------------------- gnu/packages/vulkan.scm | 17 +++--- 3 files changed, 10 insertions(+), 69 deletions(-) delete mode 100644 gnu/packages/patches/glslang-install-static-libs.patch diff --git a/gnu/local.mk b/gnu/local.mk index 208d74ef3e..6177b178b3 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1352,7 +1352,6 @@ dist_patch_DATA = \ %D%/packages/patches/glibc-2.29-git-updates.patch \ %D%/packages/patches/glibc-2.29-supported-locales.patch \ %D%/packages/patches/glibc-supported-locales.patch \ - %D%/packages/patches/glslang-install-static-libs.patch \ %D%/packages/patches/gmp-arm-asm-nothumb.patch \ %D%/packages/patches/gmp-faulty-test.patch \ %D%/packages/patches/gnash-fix-giflib-version.patch \ diff --git a/gnu/packages/patches/glslang-install-static-libs.patch b/gnu/packages/patches/glslang-install-static-libs.patch deleted file mode 100644 index a155dde30e..0000000000 --- a/gnu/packages/patches/glslang-install-static-libs.patch +++ /dev/null @@ -1,61 +0,0 @@ -Install OGLCompiler et.al. even when building shared libraries. Also fix -CMake file locations. - -Patch taken from Gentoo: - - https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-util/glslang/files/glslang-1.3.231-Install-static-libs.patch - -diff --git a/OGLCompilersDLL/CMakeLists.txt b/OGLCompilersDLL/CMakeLists.txt ---- a/OGLCompilersDLL/CMakeLists.txt -+++ b/OGLCompilersDLL/CMakeLists.txt -@@ -41,7 +41,7 @@ if(WIN32) - source_group("Source" FILES ${SOURCES}) - endif(WIN32) - --if(ENABLE_GLSLANG_INSTALL AND NOT BUILD_SHARED_LIBS) -+if(ENABLE_GLSLANG_INSTALL) - install(TARGETS OGLCompiler EXPORT glslang-targets) - - # Backward compatibility -@@ -49,7 +49,7 @@ if(ENABLE_GLSLANG_INSTALL AND NOT BUILD_SHARED_LIBS) - message(WARNING \"Using `OGLCompilerTargets.cmake` is deprecated: use `find_package(glslang)` to find glslang CMake targets.\") - - if (NOT TARGET glslang::OGLCompiler) -- include(\"\${CMAKE_CURRENT_LIST_DIR}/../../${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}/glslang-targets.cmake\") -+ include(\"\${CMAKE_CURRENT_LIST_DIR}/../../${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/glslang-targets.cmake\") - endif() - - add_library(OGLCompiler ALIAS glslang::OGLCompiler) -diff --git a/glslang/CMakeLists.txt b/glslang/CMakeLists.txt ---- a/glslang/CMakeLists.txt -+++ b/glslang/CMakeLists.txt -@@ -203,7 +203,7 @@ endif() - ################################################################################ - if(ENABLE_GLSLANG_INSTALL) - install(TARGETS glslang EXPORT glslang-targets) -- if(NOT BUILD_SHARED_LIBS) -+ if(BUILD_SHARED_LIBS) - install(TARGETS MachineIndependent EXPORT glslang-targets) - install(TARGETS GenericCodeGen EXPORT glslang-targets) - -diff --git a/glslang/OSDependent/Unix/CMakeLists.txt b/glslang/OSDependent/Unix/CMakeLists.txt ---- a/glslang/OSDependent/Unix/CMakeLists.txt -+++ b/glslang/OSDependent/Unix/CMakeLists.txt -@@ -52,7 +52,7 @@ else() - target_link_libraries(OSDependent Threads::Threads) - endif() - --if(ENABLE_GLSLANG_INSTALL AND NOT BUILD_SHARED_LIBS) -+if(ENABLE_GLSLANG_INSTALL) - install(TARGETS OSDependent EXPORT glslang-targets) - - # Backward compatibility -@@ -60,7 +60,7 @@ if(ENABLE_GLSLANG_INSTALL AND NOT BUILD_SHARED_LIBS) - message(WARNING \"Using `OSDependentTargets.cmake` is deprecated: use `find_package(glslang)` to find glslang CMake targets.\") - - if (NOT TARGET glslang::OSDependent) -- include(\"\${CMAKE_CURRENT_LIST_DIR}/../../${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}/glslang-targets.cmake\") -+ include(\"\${CMAKE_CURRENT_LIST_DIR}/../../${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/glslang-targets.cmake\") - endif() - - add_library(OSDependent ALIAS glslang::OSDependent) diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index d29810f4c6..3b485901d8 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -196,17 +196,20 @@ (define-public glslang (uri (git-reference (url "https://github.com/KhronosGroup/glslang") (commit version))) - (patches (search-patches "glslang-install-static-libs.patch")) (sha256 - (base32 - "12a1zl8qxa28nbf6m67260c0lwdw3bqbj0jz1382wgm5px1fpqw6")) + (base32 "15xf1p9wwyvcps2kbyfiqnch3x2a1a9bd9aixq2y4yv9ir9hhhpf")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments - '(#:tests? #f ;FIXME: requires bundled SPIRV-Tools - #:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) - (native-inputs - (list pkg-config python)) + '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON" + "-DALLOW_EXTERNAL_SPIRV_TOOLS=ON") + #:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "ctest"))))))) + (inputs (list spirv-tools)) + (native-inputs (list pkg-config python)) (home-page "https://github.com/KhronosGroup/glslang") (synopsis "OpenGL and OpenGL ES shader front end and validator") (description -- 2.41.0