fastports

shaderc 2026.1

graphics/shaderc

GLSL/HLSL to SPIR-V shader compiler

Category
graphics
Maintainer
tagattie@FreeBSD.org
WWW
https://github.com/google/shaderc
License
APACHE20
USES
cmake:testing compiler:c++11-lib localbase:ldflags python:build shebangfix

Description

A library and command line tool for compiling GLSL/HLSL to SPIR-V,
Vulkan's shader language.

Based on the reference glslang compiler, Shaderc aims to provide a more
convenient command-line compiler with GCC/clang-like usage and a library
with a more stable API.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
2026.1
9352a10138 files touched
Vladimir Druzenko (vvd)
graphics/shaderc: Update to 2026.1
Changelog: https://github.com/google/shaderc/blob/v2026.1/CHANGES

PR:		292737
Reported by:	vvd
Co-authored-by:	Hiroki Tagato <tagattie@FreeBSD.org>
2025.5
be3cf7dfe6 files touched
Hiroki Tagato (tagattie)
*/*: Bump port revision after spirv-tools update (691d023921f3)
2025.5
6d81aa7e95 files touched
Hiroki Tagato (tagattie)
*/*: Bump port revision after spirv-tools update (ec3b7d6b9107)
2025.5
ae79574619 files touched
Hiroki Tagato (tagattie)
graphics/shaderc: Update to 2025.5
Changelog: https://github.com/google/shaderc/blob/v2025.5/CHANGES

Reported by:	portscout
2025.4
19cee39960 files touched
Hiroki Tagato (tagattie)
*/*: bump port revision after spirv-tools update (1fcdc76337bc)
2025.4
1fe4b37fb4 files touched
Hiroki Tagato (tagattie)
graphics/shaderc: update SPIRV-Headers version and take maintainership
While here:
- add LICENSE_FILE
- add DOCS option
- reorder variables to make portclippy happy
2025.4
489b022ea8 files touched
Fernando Apesteguía (fernape)
graphics/shaderc: Update to v2025.4
Reported by:	portscout
2025.3
8b0565c456 files touched
Jan Beich (jbeich)
graphics/shaderc: drop maintainership
2025.3
79af674210 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2025.3
Changes:	https://github.com/google/shaderc/compare/v2025.2...v2025.3
Reported by:	Repology
2025.2
79c1483eda files touched
Jan Beich (jbeich)
graphics/glslang: update to 15.4.0
Changes:	https://github.com/KhronosGroup/glslang/releases/tag/15.4.0
Reported by:	GitHub (watch releases)
2025.2
17c48bcecb files touched
Jan Beich (jbeich)
graphics/spirv-tools: update to 2025.3.r1
Changes:	https://github.com/KhronosGroup/SPIRV-Tools/compare/v2025.2.rc1...v2025.3.rc1
Reported by:	Repology
2025.2
808f64e9a3 files touched
Jan Beich (jbeich)
graphics/glslang: update to 15.3.0
Changes:	https://github.com/KhronosGroup/glslang/releases/tag/15.3.0
Reported by:	GitHub (watch releases)
2025.2
d21ddeb879 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2025.2
Changes:	https://github.com/google/shaderc/compare/v2025.1...v2025.2
Reported by:	Repology
2025.1
00045e68e1 files touched
Jan Beich (jbeich)
graphics/spirv-tools: update to 2025.2.r1
Changes:	https://github.com/KhronosGroup/SPIRV-Tools/compare/v2025.1...v2025.2.rc1
Reported by:	Repology
2025.1
234928f337 files touched
Yuri Victorovich (yuri)
graphics/shaderc: Bump because spirv-tools changed and now shaderc is outdated
koboldcpp failed to compile because shaderc had an outdated version of
spirv-tools in it.
2025.1
286014b925 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2025.1
Changes:	https://github.com/google/shaderc/compare/v2024.4...v2025.1
Reported by:	Repology
2024.4
412c9ba424 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2024.4
Changes:	https://github.com/google/shaderc/compare/v2024.3...v2024.4
Reported by:	portscout
2024.3
3d0f0a1a58 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2024.3
Changes:	https://github.com/google/shaderc/compare/v2024.2...v2024.3
Reported by:	portscout
2024.2
d36c602b5e files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2024.2
Changes:	https://github.com/google/shaderc/compare/v2024.1...v2024.2
Reported by:	portscout
2024.1
bb0498cca0 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2024.1
Changes:	https://github.com/google/shaderc/compare/v2024.0...v2024.1
Reported by:	Repology
2024.0
b0cc209073 files touched
Jan Beich (jbeich)
graphics/shaderc: sync bundled spirv-headers after c487585cfeca
2024.0
c487585cfe files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2024.0
Changes:	https://github.com/google/shaderc/compare/v2023.8...v2024.0
Reported by:	Repology
2023.8
2b276fc0ee files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.8
Changes:	https://github.com/google/shaderc/compare/v2023.7...v2023.8
Reported by:	Repology, portscout
2023.7
07199c6a2e files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.7
Changes:	https://github.com/google/shaderc/compare/v2023.6...v2023.7
Reported by:	Repology, portscout
2023.6
46f318e89e files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.6
Changes:	https://github.com/google/shaderc/compare/v2023.5...v2023.6
Reported by:	Repology, portscout
2023.5
7a00a32eb6 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.5
Changes:	https://github.com/google/shaderc/compare/v2023.4...v2023.5
Reported by:	Repology, portscout
2023.4
3d9a815d9c files touched
Rene Ladan (rene)
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023.4
bd557ce961 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.4
Changes:	https://github.com/google/shaderc/compare/v2023.3...v2023.4
Reported by:	Repology, portscout
2023.3
9fa3324f7d files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.3
Changes:	https://github.com/google/shaderc/compare/v2023.2...v2023.3
Reported by:	Repology
2023.2
c61b1f7029 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.2
Changes:	https://github.com/google/shaderc/compare/v2023.1...v2023.2
Reported by:	Repology
2023.1
cdf62a5001 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2023.1
Changes:	https://github.com/google/shaderc/compare/v2022.4...v2023.1
Reported by:	Repology
2022.4
fb793ece22 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2022.4
Changes:	https://github.com/google/shaderc/compare/v2022.3...v2022.4
Reported by:	Repology
2022.3
4d7416192b files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2022.3
Changes:	https://github.com/google/shaderc/compare/v2022.2...v2022.3
Reported by:	Repology
2022.2
fb16dfecae files touched
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022.2
b7f05445c0 files touched
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022.2
9ed506ad93 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2022.2
Changes:	https://github.com/google/shaderc/compare/v2022.1...v2022.2
Reported by:	Repology, portscout
2022.1
571f5a7ff6 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2022.1
Changes:	https://github.com/google/shaderc/compare/v2022.0...v2022.1
Reported by:	Repology
2022.0
83c6d10958 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2022.0
Changes:	https://github.com/google/shaderc/compare/v2021.3...v2022.0
Reported by:	Repology
2021.3
44b2c7fb75 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2021.3
Changes:	https://github.com/google/shaderc/compare/v2021.2...v2021.3
Reported by:	portscout
2021.2
3faa49113d files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2021.2
Changes:	https://github.com/google/shaderc/compare/v2021.1...v2021.2
Reported by:	portscout
2021.1
2e42fbb85c files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2021.1
Changes:	https://github.com/google/shaderc/compare/v2021.0...v2021.1
Reported by:	Repology
2021.0
67a311cc56 files touched
Jan Beich (jbeich)
graphics/shaderc: convert TEST option to USES=cmake:testing
2021.0
715aa9edeb files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2021.0
Changes:	https://github.com/google/shaderc/compare/v2020.5...v2021.0
Reported by:	portscout
2020.5
cf118ccf87 files touched
Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday. Reported by: lwhsu
2020.5
305f148f48 files touched
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
2020.5
0c72f450b0 files touched
Jan Beich (jbeich)
graphics/shaderc: update to 2020.5
Changes:	https://github.com/google/shaderc/compare/v2020.4...v2020.5
Reported by:	Repology
2020.4
7e66128e1e files touched
Jan Beich (jbeich)
graphics/glslang: update to 11.1.0
Changes:	https://github.com/KhronosGroup/glslang/compare/11.0.0...11.1.0
Reported by:	Repology
2020.4
b8380e9254 files touched
Jan Beich (jbeich)
graphics/shaderc: clean up
- Optionally build tests
- Connect to "make test"
- Enable examples (not installed)
- Define complete version
- Document patches
- Improve style
2020.4
ebbe991684 files touched
Jan Beich (jbeich)
graphics/shaderc: unbreak consumers with ld.bfd after r559203
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setEntryPoint(char const*)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TPoolAllocator::push()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TProgram::~TProgram()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::GetKhronosToolId()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::FinalizeProcess()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setShiftUboBinding(unsigned int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TIntermediate::getBaseAlignmentScalar(glslang::TType const&, int&)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setShiftSsboBinding(unsigned int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setStringsWithLengthsAndNames(char const* const*, int const*, char const* const*, int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setResourceSetBinding(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::getInfoLog()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::TShader(EShLanguage)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TIntermediate::computeTypeLocationSize(glslang::TType const&, EShLanguage)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::InitializeProcess()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TIntermediate::improperStraddle(glslang::TType const&, int, int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setAutoMapBindings(bool)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TPoolAllocator::allocate(unsigned int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setAutoMapLocations(bool)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setHlslIoMapping(bool)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TPoolAllocator::pop()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TProgram::getInfoLog()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setShiftSamplerBinding(unsigned int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::preprocess(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, glslang::TShader::Includer&)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setShiftTextureBinding(unsigned int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::~TShader()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setShiftImageBinding(unsigned int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TProgram::mapIO(glslang::TIoMapResolver*, glslang::TIoMapper*)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TIntermediate::getMemberAlignment(glslang::TType const&, int&, int&, glslang::TLayoutPacking, bool)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TProgram::TProgram()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `spvtools::utils::BitVector::Or(spvtools::utils::BitVector const&)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setInvertY(bool)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::GetThreadPoolAllocator()'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::parse(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, glslang::TShader::Includer&)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TProgram::link(EShMessages)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setShiftUavBinding(unsigned int)'
//usr/local/lib/libshaderc_shared.so.1: undefined reference to `glslang::TShader::setNanMinMaxClamp(bool)'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
2020.4
0d849449b2 files touched
Jan Beich (jbeich)
graphics/shaderc: unbreak 11.4 and GCC architectures after r559203
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in function `glslang::GetThreadPoolAllocator()':
PoolAlloc.cpp:(.text+0xf): undefined reference to `glslang::OS_GetTLSValue(void*)'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in function `glslang::SetThreadPoolAllocator(glslang::TPoolAllocator*)':
PoolAlloc.cpp:(.text+0x33): undefined reference to `glslang::OS_SetTLSValue(void*, void*)'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(PoolAlloc.cpp.o): in function `glslang::InitializePoolIndex()':
PoolAlloc.cpp:(.text+0x45): undefined reference to `glslang::OS_AllocTLSIndex()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShInitialize':
ShaderLang.cpp:(.text+0x7): undefined reference to `glslang::InitGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0xe): undefined reference to `glslang::InitProcess()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x17): undefined reference to `glslang::GetGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x22): undefined reference to `glslang::ReleaseGlobalLock()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShConstructCompiler':
ShaderLang.cpp:(.text+0x7d): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShConstructLinker':
ShaderLang.cpp:(.text+0xad): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShConstructUniformMap':
ShaderLang.cpp:(.text+0xd5): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `ShFinalize':
ShaderLang.cpp:(.text+0x192): undefined reference to `glslang::GetGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x1ae): undefined reference to `glslang::ReleaseGlobalLock()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `glslang::TShader::parse(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, glslang::TShader::Includer&)':
ShaderLang.cpp:(.text+0x2ee4): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `glslang::TShader::preprocess(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, glslang::TShader::Includer&)':
ShaderLang.cpp:(.text+0x3019): undefined reference to `glslang::InitThread()'
/usr/bin/ld.bfd: /usr/local/lib/libMachineIndependent.a(ShaderLang.cpp.o): in function `(anonymous namespace)::SetupBuiltinSymbolTable(int, EProfile, glslang::SpvVersion const&, glslang::EShSource)':
ShaderLang.cpp:(.text+0x6acc): undefined reference to `glslang::GetGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x6b54): undefined reference to `glslang::ReleaseGlobalLock()'
/usr/bin/ld.bfd: ShaderLang.cpp:(.text+0x7d5e): undefined reference to `glslang::ReleaseGlobalLock()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Reported by:	pkg-fallout

Load all commits →