* [gentoo-commits] repo/gentoo:master commit in: dev-debug/gfxreconstruct/files/, dev-debug/gfxreconstruct/
@ 2025-01-15 1:38 Matt Turner
0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2025-01-15 1:38 UTC (permalink / raw
To: gentoo-commits
commit: 72a4ba26eff2cdb9665a8d138c53c11f4e669505
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 01:17:29 2025 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 01:37:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a4ba26
dev-debug/gfxreconstruct: Add new package, version 1.3.296.0
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
dev-debug/gfxreconstruct/Manifest | 2 +
.../files/1.3.296.0-use-system-vulkan.patch | 27 ++++++++
.../gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild | 76 ++++++++++++++++++++++
.../gfxreconstruct/gfxreconstruct-9999.ebuild | 76 ++++++++++++++++++++++
dev-debug/gfxreconstruct/metadata.xml | 11 ++++
5 files changed, 192 insertions(+)
diff --git a/dev-debug/gfxreconstruct/Manifest b/dev-debug/gfxreconstruct/Manifest
new file mode 100644
index 000000000000..b6f8db9293ee
--- /dev/null
+++ b/dev-debug/gfxreconstruct/Manifest
@@ -0,0 +1,2 @@
+DIST SPIRV-Reflect-1.3.296.0.tar.gz 306294 BLAKE2B d87677fc67dc55cf10e55f4286300fea5664e870c4d3365246f407514ec682087399c9a06aaa81a88a2f57f6b198de7265ee17dd88215e16e71bb90d32468a4e SHA512 770d46172fed140816dcecc3155bce62ce319f5cbe99bb58e81994e07aed14ebc8f65675c6e47dde2148e2706603ba470f364ab41bcbfbc05c69e25be7c5a898
+DIST gfxreconstruct-1.3.296.0.tar.gz 41585326 BLAKE2B 0b89b4e3be47adbdda45a0e7f14a2176d1ba79980f0c0998c318d1f62c1d4792ddf0db64c125016d531163d8af08d470b9973fc7477ed2a3c05639fe1f1ead2c SHA512 911d2914bbbed24451c1950ac49213cb056db663a6d00557135aec1301ee179ff9c7883b6074db8227cd59100949656e15e53f6b8513cb5d25af4a1fa2ea1f99
diff --git a/dev-debug/gfxreconstruct/files/1.3.296.0-use-system-vulkan.patch b/dev-debug/gfxreconstruct/files/1.3.296.0-use-system-vulkan.patch
new file mode 100644
index 000000000000..27e0fe65e200
--- /dev/null
+++ b/dev-debug/gfxreconstruct/files/1.3.296.0-use-system-vulkan.patch
@@ -0,0 +1,27 @@
+Author: Dylan Aïssi <daissi@debian.org>
+Description: Use system Vulkan Headers instead of embedded ones.
+Last-Update: 2021-06-04
+Forwarded: not-needed
+
+--- a/cmake/FindVulkanVersion.cmake
++++ b/cmake/FindVulkanVersion.cmake
+@@ -9,8 +9,7 @@
+ find_file (VULKAN_HEADER
+ vulkan_core.h
+ HINTS
+- external/Vulkan-Headers/include/vulkan
+- ../external/Vulkan-Headers/include/vulkan)
++ /usr/include/vulkan/)
+
+ MESSAGE(STATUS "Vulkan Header = ${VULKAN_HEADER}")
+
+@@ -20,8 +19,7 @@
+ find_file(VULKAN_HEADER
+ vulkan.h
+ HINTS
+- external/Vulkan-Headers/include/vulkan
+- ../external/Vulkan-Headers/include/vulkan)
++ /usr/include/vulkan/)
+ set(VulkanHeaders_main_header ${VULKAN_HEADER})
+ endif()
+
diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild
new file mode 100644
index 000000000000..ddd0350534fb
--- /dev/null
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.3.296.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/LunarG/gfxreconstruct.git"
+ EGIT_SUBMODULES=( external/{Vulkan-Headers,SPIRV-Headers,SPIRV-Reflect} )
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/LunarG/${PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/KhronosGroup/SPIRV-Reflect/archive/vulkan-sdk-${PV}.tar.gz -> SPIRV-Reflect-${PV}.tar.gz
+ "
+ KEYWORDS="~amd64"
+ S="${WORKDIR}"/${PN}-vulkan-sdk-${PV}
+fi
+
+DESCRIPTION="Graphics API Capture and Replay Tools"
+HOMEPAGE="https://github.com/LunarG/gfxreconstruct"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND="
+ app-arch/lz4:=
+ app-arch/zstd:=
+ sys-libs/zlib:=
+
+ media-libs/vulkan-loader[wayland?,X?]
+ wayland? ( dev-libs/wayland )
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ )
+"
+DEPEND="${RDEPEND}
+ X? ( x11-libs/libXrandr )
+"
+if [[ ${PV} == 9999* ]]; then
+ DEPEND+="
+ ~dev-util/spirv-headers-${PV}
+ ~dev-util/vulkan-headers-${PV}
+ "
+else
+ PATCHES=(
+ "${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
+ )
+fi
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]]; then
+ git-r3_src_unpack
+ else
+ default
+ rmdir "${S}"/external/SPIRV-Reflect || die
+ mv "${WORKDIR}"/SPIRV-Reflect-vulkan-sdk-${PV} "${S}"/external/SPIRV-Reflect || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ -DBUILD_WERROR=OFF
+ -DBUILD_WSI_DISPLAY_SUPPORT=ON
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake_src_configure
+}
diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
new file mode 100644
index 000000000000..ddd0350534fb
--- /dev/null
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit cmake
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/LunarG/gfxreconstruct.git"
+ EGIT_SUBMODULES=( external/{Vulkan-Headers,SPIRV-Headers,SPIRV-Reflect} )
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/LunarG/${PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/KhronosGroup/SPIRV-Reflect/archive/vulkan-sdk-${PV}.tar.gz -> SPIRV-Reflect-${PV}.tar.gz
+ "
+ KEYWORDS="~amd64"
+ S="${WORKDIR}"/${PN}-vulkan-sdk-${PV}
+fi
+
+DESCRIPTION="Graphics API Capture and Replay Tools"
+HOMEPAGE="https://github.com/LunarG/gfxreconstruct"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND="
+ app-arch/lz4:=
+ app-arch/zstd:=
+ sys-libs/zlib:=
+
+ media-libs/vulkan-loader[wayland?,X?]
+ wayland? ( dev-libs/wayland )
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ )
+"
+DEPEND="${RDEPEND}
+ X? ( x11-libs/libXrandr )
+"
+if [[ ${PV} == 9999* ]]; then
+ DEPEND+="
+ ~dev-util/spirv-headers-${PV}
+ ~dev-util/vulkan-headers-${PV}
+ "
+else
+ PATCHES=(
+ "${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
+ )
+fi
+
+src_unpack() {
+ if [[ ${PV} == 9999* ]]; then
+ git-r3_src_unpack
+ else
+ default
+ rmdir "${S}"/external/SPIRV-Reflect || die
+ mv "${WORKDIR}"/SPIRV-Reflect-vulkan-sdk-${PV} "${S}"/external/SPIRV-Reflect || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ -DBUILD_WERROR=OFF
+ -DBUILD_WSI_DISPLAY_SUPPORT=ON
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake_src_configure
+}
diff --git a/dev-debug/gfxreconstruct/metadata.xml b/dev-debug/gfxreconstruct/metadata.xml
new file mode 100644
index 000000000000..9b533f1ce767
--- /dev/null
+++ b/dev-debug/gfxreconstruct/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vulkan@gentoo.org</email>
+ <name>Vulkan Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">LunarG/gfxreconstruct</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/gfxreconstruct/files/, dev-debug/gfxreconstruct/
@ 2025-01-18 19:34 Nick Sarnie
0 siblings, 0 replies; 2+ messages in thread
From: Nick Sarnie @ 2025-01-18 19:34 UTC (permalink / raw
To: gentoo-commits
commit: 980f48b46c8e57c8ddb21225c71f1d3be26ba98a
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 18 18:51:16 2025 +0000
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 19:33:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980f48b4
dev-debug/gfxreconstruct: add 1.4.304.0
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
dev-debug/gfxreconstruct/Manifest | 2 ++
.../gfxreconstruct/files/1.4.304.0-fix-build.patch | 33 ++++++++++++++++++++++
...9999.ebuild => gfxreconstruct-1.4.304.0.ebuild} | 1 +
.../gfxreconstruct/gfxreconstruct-9999.ebuild | 1 +
4 files changed, 37 insertions(+)
diff --git a/dev-debug/gfxreconstruct/Manifest b/dev-debug/gfxreconstruct/Manifest
index b6f8db9293ee..e4409f0a5268 100644
--- a/dev-debug/gfxreconstruct/Manifest
+++ b/dev-debug/gfxreconstruct/Manifest
@@ -1,2 +1,4 @@
DIST SPIRV-Reflect-1.3.296.0.tar.gz 306294 BLAKE2B d87677fc67dc55cf10e55f4286300fea5664e870c4d3365246f407514ec682087399c9a06aaa81a88a2f57f6b198de7265ee17dd88215e16e71bb90d32468a4e SHA512 770d46172fed140816dcecc3155bce62ce319f5cbe99bb58e81994e07aed14ebc8f65675c6e47dde2148e2706603ba470f364ab41bcbfbc05c69e25be7c5a898
+DIST SPIRV-Reflect-1.4.304.0.tar.gz 307488 BLAKE2B f2268287c6ca70dc8e51898b541bea51dad406715de0e3c8c9467c964f48085332d274ce3086824a6c13369f37c79467930d425ae958eecbaa1fb5cf1514243a SHA512 19eade2f661e3bd58665167265dc79e3c94690910d28089ac1d1acfb1771e010a75a23b85555dd494020d0e9584d68f2a97f33ab2f8271f90ea2295bcc484150
DIST gfxreconstruct-1.3.296.0.tar.gz 41585326 BLAKE2B 0b89b4e3be47adbdda45a0e7f14a2176d1ba79980f0c0998c318d1f62c1d4792ddf0db64c125016d531163d8af08d470b9973fc7477ed2a3c05639fe1f1ead2c SHA512 911d2914bbbed24451c1950ac49213cb056db663a6d00557135aec1301ee179ff9c7883b6074db8227cd59100949656e15e53f6b8513cb5d25af4a1fa2ea1f99
+DIST gfxreconstruct-1.4.304.0.tar.gz 40390002 BLAKE2B 5e99d6685648617c8ef35a0f9199f5ef75aa8b670e0a4e2a75c8dae68620ab39ca7fcc9c3804b1f30f196d71b1b4aa061c9dc0532004dfec0598c25206868d41 SHA512 5a08e8565218119c980f6511dc9dc26660f5eb86307d47feeb220efb9ec817827b02d2da10da68b5beaf71f7ce2d56b381201d98be220229fa6a22a2b6560441
diff --git a/dev-debug/gfxreconstruct/files/1.4.304.0-fix-build.patch b/dev-debug/gfxreconstruct/files/1.4.304.0-fix-build.patch
new file mode 100644
index 000000000000..296609ec5982
--- /dev/null
+++ b/dev-debug/gfxreconstruct/files/1.4.304.0-fix-build.patch
@@ -0,0 +1,33 @@
+From 60d2ac8fe2a2cbabbb53bda679e3a5a0fa3363a3 Mon Sep 17 00:00:00 2001
+From: Nick Sarnie <sarnex@gentoo.org>
+Date: Sun, 19 Jan 2025 04:17:16 +0900
+Subject: [PATCH] Fix build with spirv-headers-1.4.304
+
+---
+ framework/util/spirv_helper.h | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/framework/util/spirv_helper.h b/framework/util/spirv_helper.h
+index 062fbbc5..e31ab7c4 100644
+--- a/framework/util/spirv_helper.h
++++ b/framework/util/spirv_helper.h
+@@ -1402,12 +1402,12 @@ const char* string_SpvOpcode(uint32_t opcode)
+ return "OpFragmentFetchAMD";
+ case spv::OpReadClockKHR:
+ return "OpReadClockKHR";
+- case spv::OpFinalizeNodePayloadsAMDX:
+- return "OpFinalizeNodePayloadsAMDX";
++ case spv::OpEnqueueNodePayloadsAMDX:
++ return "OpEnqueueNodePayloadsAMDX";
+ case spv::OpFinishWritingNodePayloadAMDX:
+ return "OpFinishWritingNodePayloadAMDX";
+- case spv::OpInitializeNodePayloadsAMDX:
+- return "OpInitializeNodePayloadsAMDX";
++ case spv::OpAllocateNodePayloadsAMDX:
++ return "OpAllocateNodePayloadsAMDX";
+ case spv::OpGroupNonUniformQuadAllKHR:
+ return "OpGroupNonUniformQuadAllKHR";
+ case spv::OpGroupNonUniformQuadAnyKHR:
+--
+2.45.2
+
diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.304.0.ebuild
similarity index 97%
copy from dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
copy to dev-debug/gfxreconstruct/gfxreconstruct-1.4.304.0.ebuild
index 89faea5c0da3..50b18f8b85b7 100644
--- a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.304.0.ebuild
@@ -49,6 +49,7 @@ if [[ ${PV} != 9999* ]]; then
"
PATCHES=(
"${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
+ "${FILESDIR}"/1.4.304.0-fix-build.patch
)
fi
diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
index 89faea5c0da3..50b18f8b85b7 100644
--- a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
@@ -49,6 +49,7 @@ if [[ ${PV} != 9999* ]]; then
"
PATCHES=(
"${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
+ "${FILESDIR}"/1.4.304.0-fix-build.patch
)
fi
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-18 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-15 1:38 [gentoo-commits] repo/gentoo:master commit in: dev-debug/gfxreconstruct/files/, dev-debug/gfxreconstruct/ Matt Turner
-- strict thread matches above, loose matches on Subject: below --
2025-01-18 19:34 Nick Sarnie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox