Hello community, here is the log from the commit of package shaderc for openSUSE:Factory checked in at 2020-02-24 15:55:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/shaderc (Old) and /work/SRC/openSUSE:Factory/.shaderc.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "shaderc" Mon Feb 24 15:55:16 2020 rev:4 rq:778749 version:2019.1 Changes: -------- --- /work/SRC/openSUSE:Factory/shaderc/shaderc.changes 2019-11-19 12:59:51.946113607 +0100 +++ /work/SRC/openSUSE:Factory/.shaderc.new.26092/shaderc.changes 2020-02-24 15:57:28.564130211 +0100 @@ -1,0 +2,8 @@ +Mon Feb 17 12:45:35 UTC 2020 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 2019.1 + * Vulkan 1.2 support + * Add spvc parser support for a number of ops +- Drop 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch + +------------------------------------------------------------------- Old: ---- 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch _service shaderc-2019.0.tar.xz New: ---- v2019.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shaderc.spec ++++++ --- /var/tmp/diff_new_pack.I7TYxN/_old 2020-02-24 15:57:29.452132048 +0100 +++ /var/tmp/diff_new_pack.I7TYxN/_new 2020-02-24 15:57:29.456132056 +0100 @@ -1,7 +1,7 @@ # # spec file for package shaderc # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,16 @@ Name: shaderc %define lname libshaderc_shared1 -Version: 2019.0 +Version: 2019.1 Release: 0 Summary: A collection of tools, libraries and tests for shader compilation License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/google/shaderc -Source: %name-%version.tar.xz + +#Git-Clone: https://github.com/google/shaderc +Source: https://github.com/google/shaderc/archive/v%version.tar.gz Patch1: 0001-Use-system-third-party-libs.patch -Patch2: 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch BuildRequires: c++_compiler BuildRequires: cmake BuildRequires: glslang-devel >= 7 ++++++ 0001-Use-system-third-party-libs.patch ++++++ --- /var/tmp/diff_new_pack.I7TYxN/_old 2020-02-24 15:57:29.464132073 +0100 +++ /var/tmp/diff_new_pack.I7TYxN/_new 2020-02-24 15:57:29.468132081 +0100 @@ -3,16 +3,16 @@ Subject: [PATCH 1/2] Use system third party libs --- - CMakeLists.txt | 6 ------ + CMakeLists.txt | 7 ------- glslc/CMakeLists.txt | 2 +- libshaderc/CMakeLists.txt | 2 ++ - 3 files changed, 3 insertions(+), 7 deletions(-) + 3 files changed, 3 insertions(+), 8 deletions(-) -Index: shaderc-2019.0/CMakeLists.txt +Index: shaderc-2019.1/CMakeLists.txt =================================================================== ---- shaderc-2019.0.orig/CMakeLists.txt -+++ shaderc-2019.0/CMakeLists.txt -@@ -70,7 +70,6 @@ endif(MSVC) +--- shaderc-2019.1.orig/CMakeLists.txt ++++ shaderc-2019.1/CMakeLists.txt +@@ -92,7 +92,6 @@ endif(MSVC) # Configure subdirectories. # We depend on these for later projects, so they should come first. @@ -20,22 +20,23 @@ if(SHADERC_ENABLE_SPVC) add_subdirectory(libshaderc_spvc) -@@ -81,11 +80,6 @@ add_subdirectory(libshaderc) +@@ -103,12 +102,6 @@ add_subdirectory(libshaderc) add_subdirectory(glslc) add_subdirectory(examples) -add_custom_target(build-version - ${PYTHON_EXECUTABLE} - ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py -- ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} +- ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/build-version.inc - COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).") - +- function(define_pkg_config_file NAME LIBS) add_custom_target(${NAME}-pkg-config ALL -Index: shaderc-2019.0/glslc/CMakeLists.txt + COMMAND ${CMAKE_COMMAND} +Index: shaderc-2019.1/glslc/CMakeLists.txt =================================================================== ---- shaderc-2019.0.orig/glslc/CMakeLists.txt -+++ shaderc-2019.0/glslc/CMakeLists.txt +--- shaderc-2019.1.orig/glslc/CMakeLists.txt ++++ shaderc-2019.1/glslc/CMakeLists.txt @@ -18,7 +18,7 @@ add_library(glslc STATIC shaderc_default_compile_options(glslc) target_include_directories(glslc PUBLIC ${glslang_SOURCE_DIR}) @@ -45,10 +46,10 @@ target_link_libraries(glslc PRIVATE shaderc_util shaderc) add_executable(glslc_exe src/main.cc) -Index: shaderc-2019.0/libshaderc/CMakeLists.txt +Index: shaderc-2019.1/libshaderc/CMakeLists.txt =================================================================== ---- shaderc-2019.0.orig/libshaderc/CMakeLists.txt -+++ shaderc-2019.0/libshaderc/CMakeLists.txt +--- shaderc-2019.1.orig/libshaderc/CMakeLists.txt ++++ shaderc-2019.1/libshaderc/CMakeLists.txt @@ -46,6 +46,8 @@ set(SHADERC_LIBS shaderc_util SPIRV # from glslang