[Slackbuilds-users] qt5 is sorely in need of an update

David Woodfall dave at dawoodfall.net
Sun Jul 8 05:58:20 UTC 2018


On Saturday 7 July 2018 20:46,
orbea at fredslev.dk <orbea at fredslev.dk> put forth the proposition:
> Well I hit a roadblock with Qt-5.11 on 14.2.
>
> With '-system-harfbuzz' it bails on configure because harfbuzz is too
> old, with '-qt-harfbuzz' it fails to build late in the ninja stage and
> with '-no-harfbuzz' it around the same place with errors indicating it
> misses harfbuzz. The obvious solution would be to update harfbuzz, but
> that is easier said than done for 14.2.
>
> Also I forgot to mention enum34 is a new dependency of PyQt5,
> fortunately the version at SBo is both up to date and adequate.

I have a fix for that:

# fix webkit harfbuzz
WBK="qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/platform/fonts/    shaping/"
HBDIR="../../../../../../../../../../qtbase/src/3rdparty/harfbuzz-ng/src"

find $WBK -regex ".*\.\(cpp\|h\)$" -exec \
  sed -i "s%#include <hb.h>%#include \"$HBDIR/hb.h\"%" {} \;

find $WBK -regex ".*\.\(cpp\|h\)$" -exec \
  sed -i "s%#include <hb-ot.h>%#include \"$HBDIR/hb-ot.h\"%" {} \;

Note that this is still building for me though, so don't be surprised
if it fails somewhere else:

http://dawoodfall.net/testing/qt5-5.11/qt5.SlackBuild

--

As usual, this being a 1.3.x release, I haven't even compiled this
kernel yet.  So if it works, you should be doubly impressed.
  -- Linus Torvalds, announcing kernel 1.3.3

                                                            .--.  oo
                                                           (____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'


More information about the SlackBuilds-users mailing list