From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB183138334 for ; Sat, 7 Jul 2018 17:56:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4528DE0B94; Sat, 7 Jul 2018 17:56:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D290CE0B94 for ; Sat, 7 Jul 2018 17:56:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32FC3335C8B for ; Sat, 7 Jul 2018 17:56:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18C5F358 for ; Sat, 7 Jul 2018 17:56:35 +0000 (UTC) From: "Nick Sarnie" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" Message-ID: <1530985918.9f3d37f64f6bd0476404d702a92b035bfd75cff5.sarnex@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-loader/, media-libs/vulkan-loader/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/vulkan-loader/files/vulkan-loader-1.1.77.0-loader-Rework-include-dependencies.patch media-libs/vulkan-loader/vulkan-loader-1.1.77.0.ebuild media-libs/vulkan-loader/vulkan-loader-9999.ebuild X-VCS-Directories: media-libs/vulkan-loader/files/ media-libs/vulkan-loader/ X-VCS-Committer: sarnex X-VCS-Committer-Name: Nick Sarnie X-VCS-Revision: 9f3d37f64f6bd0476404d702a92b035bfd75cff5 X-VCS-Branch: master Date: Sat, 7 Jul 2018 17:56:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e545e916-8d63-45f8-b34f-d8938c6b0a1f X-Archives-Hash: 5fb1910ae067b2c93c6e9236fbccb000 commit: 9f3d37f64f6bd0476404d702a92b035bfd75cff5 Author: Nick Sarnie gentoo org> AuthorDate: Sat Jul 7 17:24:25 2018 +0000 Commit: Nick Sarnie gentoo org> CommitDate: Sat Jul 7 17:51:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f3d37f6 media-libs/vulkan-loader: Backport upstream patch Also update dep in 9999 Fixes: https://bugs.gentoo.org/658900 Package-Manager: Portage-2.3.41, Repoman-2.3.9 ...1.77.0-loader-Rework-include-dependencies.patch | 54 ++++++++++++++++++++++ .../vulkan-loader/vulkan-loader-1.1.77.0.ebuild | 4 +- media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 2 +- 3 files changed, 58 insertions(+), 2 deletions(-) diff --git a/media-libs/vulkan-loader/files/vulkan-loader-1.1.77.0-loader-Rework-include-dependencies.patch b/media-libs/vulkan-loader/files/vulkan-loader-1.1.77.0-loader-Rework-include-dependencies.patch new file mode 100644 index 00000000000..21fe853ce4e --- /dev/null +++ b/media-libs/vulkan-loader/files/vulkan-loader-1.1.77.0-loader-Rework-include-dependencies.patch @@ -0,0 +1,54 @@ +From 700483f5d92de01c1c8f413f8a4172d96684e93e Mon Sep 17 00:00:00 2001 +From: Lenny Komow +Date: Mon, 25 Jun 2018 14:09:51 -0600 +Subject: [PATCH] loader: Rework include dependencies + +This change removes the assumption that vk_layer.h will include +vk_layer_dispatch_table.h, since it will be removed from vk_layer.h +in the near future. + +Change-Id: I3fed5efbc35781c96aa9d0977d046c8555e04a7c +--- + CMakeLists.txt | 2 -- + loader/loader.h | 1 + + scripts/dispatch_table_helper_generator.py | 1 + + 3 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b942bd47c..64f498945 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -201,8 +201,6 @@ if(NOT WIN32) + endif() + endif() + +-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/vk_layer_dispatch_table.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/vulkan") +- + # uninstall target + if(NOT TARGET uninstall) + configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" +diff --git a/loader/loader.h b/loader/loader.h +index 0af2abf27..c39c5385e 100644 +--- a/loader/loader.h ++++ b/loader/loader.h +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include "vk_layer_dispatch_table.h" + #include "vk_loader_extensions.h" + + #if defined(__GNUC__) && __GNUC__ >= 4 +diff --git a/scripts/dispatch_table_helper_generator.py b/scripts/dispatch_table_helper_generator.py +index fba25e55e..1e2412c0c 100644 +--- a/scripts/dispatch_table_helper_generator.py ++++ b/scripts/dispatch_table_helper_generator.py +@@ -113,6 +113,7 @@ def beginFile(self, genOpts): + preamble += '#include \n' + preamble += '#include \n' + preamble += '#include \n' ++ preamble += '#include "vk_layer_dispatch_table.h"\n' + + write(copyright, file=self.outFile) + write(preamble, file=self.outFile) + diff --git a/media-libs/vulkan-loader/vulkan-loader-1.1.77.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.1.77.0.ebuild index 4f7ccd73988..28a5a556636 100644 --- a/media-libs/vulkan-loader/vulkan-loader-1.1.77.0.ebuild +++ b/media-libs/vulkan-loader/vulkan-loader-1.1.77.0.ebuild @@ -26,13 +26,15 @@ IUSE="layers wayland X" PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" DEPEND="${PYTHON_DEPS} - dev-util/vulkan-headers + >=dev-util/vulkan-headers-1.1.77.0-r1 wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] x11-libs/libXrandr:=[${MULTILIB_USEDEP}] )" +PATCHES=( "${FILESDIR}"/vulkan-loader-1.1.77.0-loader-Rework-include-dependencies.patch ) + multilib_src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=True diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild index 4f7ccd73988..0331bbbe2b6 100644 --- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild +++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild @@ -26,7 +26,7 @@ IUSE="layers wayland X" PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" DEPEND="${PYTHON_DEPS} - dev-util/vulkan-headers + >=dev-util/vulkan-headers-1.1.77.0-r1 wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}]