On 3 Sep 2022, at 13:12, Richard Purdie <richard.pur...@linuxfoundation.org> 
wrote:
> 
> On Sat, 2022-09-03 at 12:11 +0200, Andreas Müller wrote:
>> Hi,
>> 
>> this is a major change on behaviour and causing trouble at least for
>> KDE's kdoctools. Am no expert but I guess kdoctools uses custom
>> catalogs. Worked around trouble in meta-qt5-extra (assume meta-kf5
>> will face same) by preferring bare xmllint [1].
>> Just a heads up - it is about to land in kirkstone - have no idea what
>> this patch fixes.
>> 
>> [1] 
>> https://github.com/schnitzeltony/meta-qt5-extra/blob/master/recipes-kde/kf5/tier2/kdoctools/files/0002-Prefer-bare-xmllint.patch
>> 
> 
> Thanks for the warning, I dropped it from the kirkstone pull request.
> 
> Does anyone know if that env var takes multiple paths?
> 
> If not, we probably need to adjust the wrapper to only set the envvar
> if one isn't already set.

From catalog.c:

 /* the XML_CATALOG_FILES envvar is allowed to contain a
           space-separated list of entries. */

So one solution is that the wrapper should append an existing XML_CATALOG_FILES 
if set.  Of course, the wrapper script is generated so we’d have to write that 
manually.

Interestingly catalog.c has some automatic relocation support for Windows where 
it finds catalogues based on the location of libxml2.dll.  Using dlopen/dlinfo 
to do the same thing should be possible...

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170305): 
https://lists.openembedded.org/g/openembedded-core/message/170305
Mute This Topic: https://lists.openembedded.org/mt/93206851/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to