Created attachment 459038 [details] Ebuild File Since QT version 5.7, the Virtual Keyboard Module is now released under the GPLv3. This module is used by kde-plasma/kwin:5. A first version of an ebuild is attached. The DEPEND list is incomplete, the handwriting USE flag is not working properly, since the two required libraries arent in the tree and the all languages are build. Not dependent on the LINGUAS= variable. Reproducible: Always
See also https://github.com/gentoo/qt/pull/129
I tried the ebuild file from the merge request on github. The build fails with the following error message: nfo: creating stash file /var/tmp/portage/dev-qt/qtvirtualkeyboard-5.7.1/work/qtvirtualkeyboard-opensource-src-5.7.1/.qmake.stash Info: creating cache file /var/tmp/portage/dev-qt/qtvirtualkeyboard-5.7.1/work/qtvirtualkeyboard-opensource-src-5.7.1/.qmake.cache Cannot find file: no. * ERROR: dev-qt/qtvirtualkeyboard-5.7.1::x-portage failed (configure phase): * qmake failed (/var/tmp/portage/dev-qt/qtvirtualkeyboard-5.7.1/work/qtvirtualkeyboard-opensource-src-5.7.1) * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 2922: Called qt5-build_src_configure * environment, line 2522: Called qt5_foreach_target_subdir 'qt5_qmake' * environment, line 2657: Called qt5_qmake * environment, line 2722: Called die * The specific snippet of code: * "${qmakepath}"/qmake "${projectdir}" CONFIG+=$(usex debug debug release) CONFIG-=$(usex debug release debug) QMAKE_AR="$(tc-getAR) cqs" QMAKE_CC="$(tc-getCC)" QMAKE_LINK_C="$(tc-getCC)" QMAKE_LINK_C_SHLIB="$(tc-getCC)" QMAKE_CXX="$(tc-getCXX)" QMAKE_LINK="$(tc-getCXX)" QMAKE_LINK_SHLIB="$(tc-getCXX)" QMAKE_OBJCOPY="$(tc-getOBJCOPY)" QMAKE_RANLIB= QMAKE_STRIP="$(tc-getSTRIP)" QMAKE_CFLAGS="${CFLAGS}" QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS="${LDFLAGS}" QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= "${myqmakeargs[@]}" || die "qmake failed (${projectdir#${S}/})" * After changing "local myqmakeargs=(" into "local myconf=(" the build was successful.
Could we have 5.7.1 in tree now?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96970cfb33aedf2a831813e48fb722e4b54acf77 commit 96970cfb33aedf2a831813e48fb722e4b54acf77 Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2017-09-26 13:18:16 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2017-09-26 13:18:33 +0000 dev-qt/qtvirtualkeyboard: new package Imported from Qt overlay. Closes: https://bugs.gentoo.org/604914 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-qt/qtvirtualkeyboard/Manifest | 1 + dev-qt/qtvirtualkeyboard/metadata.xml | 20 ++++++++++++ .../qtvirtualkeyboard-5.7.1.ebuild | 38 ++++++++++++++++++++++ 3 files changed, 59 insertions(+)