2017-11-26

Next -- qtwebkit-5.212.0-alpha2


qtwebkit-5.212.0-alpha2

/bin/sh: QtTestBrowser: not found

libpng warning: iCCP: known incorrect sRGB profile
Segmentation fault


Updated:

http://hg.slitaz.org/wok-next/rev/41f56649ce60


1.
root@slitaz:~# QtTestBrowser
/bin/sh: QtTestBrowser: not found


root@slitaz:~# ls -l /usr/bin/QtTestBrowser
ls: /usr/bin/QtTestBrowser: No such file or directory

root@slitaz:~# tazpkg -lf qtwebkit | grep QtTestBrowser
/usr/share/applications/QtTestBrowser.desktop


2.
# SliTaz package receipt.
http://cook.slitaz.org/next/qtwebkit/receipt


PACKAGE="qtwebkit"
VERSION="5.212.0-alpha2"
CATEGORY="network"
SHORT_DESC="KDE version of Qt Webkit browser engine."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="http://code.qt.io/cgit/qt/qtwebkit.git/"
WEB_SITE_2="https://github.com/annulen/webkit/"
WGET_URL="${WEB_SITE_2}releases/download/${TARBALL/.tar*/}/$TARBALL"

PROVIDE="libQtWebkit"

DEPENDS="qt5 sqlite3 hyphen libxslt" # gstreamer1 gst1-plugins-base
[..]

 genpkg_rules()
{
# qtwebkit
mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications

# cp -a $src/WebKitBuild/Release/bin/QtTestBrowser $fs/usr/bin

# cp -a $install/usr/lib/*.so* $fs/usr/lib
cat > $fs/usr/share/applications/QtTestBrowser.desktop <<EOT
[Desktop Entry]
Type=Application
Name=QtTestBrowser
Exec=QtTestBrowser
Categories=Network;WebBrowser;
EOT

# qtwebkit + qtwebkit-dev:
cp -a $install/* $fs
}


3.
QtTestBrowser 2017-Oct-29 20:56:55 279.5K
http://cook.slitaz.org/next/qtwebkit/browse/source/qtwebkit-5.212.0-alpha2/WebKitBuild/Release/bin/QtTestBrowser

root@slitaz:~# QtTestBrowser
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Segmentation fault