Similary to qt-designer, I added an ebuild for qt-linguist. Unfortunately qt-linguist assumes that qt-designer is also built in the same build tree. qt-linguist and sets some directories to those of qt-designer, which caused sandbox violations, when building qt-linguist separately, as the qt-designer directories are in the main tree. I fixed it by adding converting some paths into relative paths. Reproducible: Always
Created attachment 340466 [details] qt-linguist ebuild Also requires modifications to qt5-build.eclass: case ${PN#qt-} in concurrent|core|core-doc|dbus|gui|network|opengl|printsupport|sql|test|w idgets|xml) EGIT_PROJECT="qtbase" ;; assistant|designer|linguist) EGIT_PROJECT="qttools" ;; doc) EGIT_PROJECT="qtdoc" ;; *) EGIT_PROJECT="${PN/-}" ;; esac
Created attachment 340468 [details, diff] patch for fixing directory paths
I didn't check if the dependencies in the ebuild are correct. Maybe there are too many, maybe I have to add qt-designer.
https://github.com/gentoo/qt/pull/10
Created attachment 356706 [details] linguist ebuild with gui use flag An ebuild for linguist 5.1.0 You can build only lrelease/lupdate/lconvert without the gui useflag
http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=de88a85ebfdae5c280bb9773ae6d0c24903ced39 http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=978e72f4b295edd3148986c36b67e02b71c97d93