- Update to new upstream release 7.9.2933

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=36
This commit is contained in:
Jan Engelhardt 2018-11-12 16:55:07 +00:00 committed by Git OBS Bridge
parent 8ffba0296a
commit f0be5cee06
6 changed files with 39 additions and 27 deletions

View File

@ -3,9 +3,9 @@
<param name="scm">git</param>
<param name="url">git://github.com/KhronosGroup/glslang</param>
<!-- minor part also in glslang/Include/revision.h -->
<param name="revision">e7df8e0b76af2fb9f58124be6b95688e5dbcdb7a</param>
<param name="parent-tag">7.8.2853</param>
<param name="versionformat">7.8.2853.g@TAG_OFFSET@</param>
<param name="revision">d509a5eec6f5a65b3ffdfa0a19096f338d2582be</param>
<param name="parent-tag">43bb5bd1885913d4edd16304c08d37f34d4a44b7</param>
<param name="versionformat">7.9.2933.g@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e49be2cc513162cddad001f8caa5868631fe87cb6b2fa6d91f37d8c4569aa334
size 1364904

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dde2e8d21b08624364a7f3e560676c02cfb90e7bfa68a9c34a15263123130ab2
size 1411632

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Nov 12 16:12:41 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 7.9.2933
* Add a SPIRV-Tools validator
* GLSL: Remove use of "__" in the implementation of keywords
having "__".
* Add GL_EXT_shader_atomic_int64
* Add ES 320 support and additional error checks for
SPV_NV_mesh_shader.
-------------------------------------------------------------------
Fri Aug 24 07:02:34 UTC 2018 - jengelh@inai.de

View File

@ -12,19 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define version_unconverted 7.8.2853.g9
%define version_unconverted 7.9.2933.g33
Name: glslang
Version: 7.8.2853.g9
Version: 7.9.2933.g33
Release: 0
Summary: OpenGL and OpenGL ES shader front end and validator
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Url: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
URL: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
#Git-URL: https://github.com/KhronosGroup/glslang
Source: %name-%version.tar.xz
Patch1: nodate.diff

View File

@ -10,11 +10,11 @@ Unversioned libraries suck!
hlsl/CMakeLists.txt | 1 +
4 files changed, 5 insertions(+)
Index: glslang-7.8.2853.g9/SPIRV/CMakeLists.txt
Index: glslang-7.9.2933.g33/SPIRV/CMakeLists.txt
===================================================================
--- glslang-7.8.2853.g9.orig/SPIRV/CMakeLists.txt
+++ glslang-7.8.2853.g9/SPIRV/CMakeLists.txt
@@ -42,12 +42,14 @@ if(ENABLE_NV_EXTENSIONS)
--- glslang-7.9.2933.g33.orig/SPIRV/CMakeLists.txt
+++ glslang-7.9.2933.g33/SPIRV/CMakeLists.txt
@@ -44,12 +44,14 @@ if(ENABLE_NV_EXTENSIONS)
endif(ENABLE_NV_EXTENSIONS)
add_library(SPIRV ${LIB_TYPE} ${SOURCES} ${HEADERS})
@ -29,10 +29,10 @@ Index: glslang-7.8.2853.g9/SPIRV/CMakeLists.txt
set_property(TARGET SPVRemapper PROPERTY FOLDER glslang)
set_property(TARGET SPVRemapper PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
Index: glslang-7.8.2853.g9/StandAlone/CMakeLists.txt
Index: glslang-7.9.2933.g33/StandAlone/CMakeLists.txt
===================================================================
--- glslang-7.8.2853.g9.orig/StandAlone/CMakeLists.txt
+++ glslang-7.8.2853.g9/StandAlone/CMakeLists.txt
--- glslang-7.9.2933.g33.orig/StandAlone/CMakeLists.txt
+++ glslang-7.9.2933.g33/StandAlone/CMakeLists.txt
@@ -1,5 +1,6 @@
add_library(glslang-default-resource-limits
${CMAKE_CURRENT_SOURCE_DIR}/ResourceLimits.cpp)
@ -40,24 +40,24 @@ Index: glslang-7.8.2853.g9/StandAlone/CMakeLists.txt
set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang)
set_property(TARGET glslang-default-resource-limits PROPERTY POSITION_INDEPENDENT_CODE ON)
Index: glslang-7.8.2853.g9/glslang/CMakeLists.txt
Index: glslang-7.9.2933.g33/glslang/CMakeLists.txt
===================================================================
--- glslang-7.8.2853.g9.orig/glslang/CMakeLists.txt
+++ glslang-7.8.2853.g9/glslang/CMakeLists.txt
@@ -81,6 +81,7 @@ set(HEADERS
# set(BISON_GLSLParser_OUTPUT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/MachineIndependent/glslang_tab.cpp)
--- glslang-7.9.2933.g33.orig/glslang/CMakeLists.txt
+++ glslang-7.9.2933.g33/glslang/CMakeLists.txt
@@ -83,6 +83,7 @@ set(HEADERS
glslang_pch(SOURCES MachineIndependent/pch.cpp)
add_library(glslang ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${SOURCES} ${HEADERS})
+set_target_properties(glslang PROPERTIES SOVERSION suse1)
set_property(TARGET glslang PROPERTY FOLDER glslang)
set_property(TARGET glslang PROPERTY POSITION_INDEPENDENT_CODE ON)
target_link_libraries(glslang OGLCompiler OSDependent)
Index: glslang-7.8.2853.g9/hlsl/CMakeLists.txt
Index: glslang-7.9.2933.g33/hlsl/CMakeLists.txt
===================================================================
--- glslang-7.8.2853.g9.orig/hlsl/CMakeLists.txt
+++ glslang-7.8.2853.g9/hlsl/CMakeLists.txt
@@ -18,6 +18,7 @@ set(HEADERS
hlslParseables.h)
--- glslang-7.9.2933.g33.orig/hlsl/CMakeLists.txt
+++ glslang-7.9.2933.g33/hlsl/CMakeLists.txt
@@ -20,6 +20,7 @@ set(HEADERS
glslang_pch(SOURCES pch.cpp)
add_library(HLSL ${LIB_TYPE} ${SOURCES} ${HEADERS})
+set_target_properties(HLSL PROPERTIES SOVERSION suse1)