Your message dated Mon, 18 Jan 2021 10:59:17 +0000
with message-id <yavqbvzjvc8q2...@espresso.pseudorandom.co.uk>
and subject line Re: Bug#940487: glslang-dev: please codify how to link to the
provided libraries (e.g. pkg-config .pc file)
has caused the Debian Bug report #940487,
regarding glslang-dev: please codify how to link to the provided libraries
(e.g. pkg-config .pc file)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
940487: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940487
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: glslang-dev
Version: 7.10.2984-1
Severity: wishlist
Tags: upstream
Forwarded: https://github.com/KhronosGroup/glslang/issues/1715
While backporting glslang-dev to an older Debian derivative I noticed
that there doesn't seem to be an obvious way to link to the supplied
libraries: dependent packages need to have out-of-band knowledge of the
names and interdependencies of all the static libraries, and also have
to know that some (all?) of them depend on libpthread.
It would be great if glslang had pkg-config .pc files, or some similar
way to document/codify how to use each of the APIs it exports.
For example, libplacebo currently needs to have
glslang_deps = [
cxx.find_library('glslang', required: glslang_req),
cxx.find_library('HLSL', required: glslang_req),
cxx.find_library('OGLCompiler', required: glslang_req),
cxx.find_library('OSDependent', required: glslang_req),
cxx.find_library('SPIRV', required: glslang_req),
cxx.find_library('SPVRemapper', required: glslang_req),
]
...
pthread = cxx.find_library('pthread', required: false)
glslang_combined = declare_dependency(dependencies: glslang_deps +
[pthread])
and renderdoc has similar glue, but with CMake instead of Meson, and
without pulling in SPVRemapper or pthread:
list(APPEND RDOC_LIBRARIES
PRIVATE -lglslang
PRIVATE -lHLSL
PRIVATE -lOGLCompiler
PRIVATE -lOSDependent
PRIVATE -lSPIRV)
--- End Message ---
--- Begin Message ---
Version: 7.13.3496-1
On Mon, 16 Sep 2019 at 12:21:07 +0100, Simon McVittie wrote:
> It would be great if glslang had pkg-config .pc files, or some similar
> way to document/codify how to use each of the APIs it exports.
It now does, using a patch taken from Fedora. Unfortunately they are
not complete for the latest upstream releases (see #980369, #951988).
smcv
--- End Message ---