OS/2, eCS & ArcaOS - Technical > Programming
harfbuzz (TeX Live)
Mentore:
Hello all,
I'm in the process of compiling the latest version of TeX live for OS/2.
I just stopped with a really strange error (make log attached) regarding namespaces and I can't wrap my head around it.
Searching this forum for harfbuzz I found it in the wonderful Qt6 development thread from the GOAT, Paul Smedley, so the question is:
is harfbuzz somehow available under OS/2? Or, on a second instance, is it possible to work around this (for me) never seen problem?
I feel we could use a new TeX version...
Thanks all
Mentore
Dave Yeo:
As far as I know, harfbuzz has always simply compiled. Programs do change, the harfbuzz in the Mozilla tree doesn't have hb-ot-face.hh but it is relatively old. Don't have the Qt source handy here.
Paul Smedley:
Looking at https://github.com/psmedley/qt6-base-os2/tree/main/src/3rdparty/harfbuzz-ng it seems there were no OS/2 specific patches.
Something rings a bell about harfbuzz failing to build at some point, can you post the error you're getting and a link to the source?
Dave Yeo:
Mentore posted the error already. Harfbuzz is at hrafbuzz.org. Guess they've moved to Meson for building otherwise I'd try
Steven Levine:
This is the first time I have looked at this code, so I could easily be way offbase.
As I read the code, in Paul repo, while there may be no OS/2 specific patches, the there is OS/2 specific code.
I suspect the error is because OS2 has been defined in some header and the code does not expect this. Here's a testcase that generates a similar error
#define HB_OT_TABLE(Namespace, Type) namespace Namespace { struct Type; }
#define OS2 4.5
namespace OT { struct OS2; }
compile this with g++ -c.
Navigation
[0] Message Index
[#] Next page
Go to full version