Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 459690

Summary: [qt overlay] ebuild for dev-qt/linguist:5
Product: Gentoo Linux Reporter: Maik Nijhuis <manyac>
Component: New packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: enhancement CC: b.brachaczek, gentoobugs, nikita
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 454132, 485680    
Attachments: qt-linguist ebuild
patch for fixing directory paths
linguist ebuild with gui use flag

Description Maik Nijhuis 2013-02-28 10:24:10 UTC
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
Comment 1 Maik Nijhuis 2013-02-28 10:25:53 UTC
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
Comment 2 Maik Nijhuis 2013-02-28 10:26:26 UTC
Created attachment 340468 [details, diff]
patch for fixing directory paths
Comment 3 Maik Nijhuis 2013-02-28 10:29:19 UTC
I didn't check if the dependencies in the ebuild are correct. Maybe there are too many, maybe I have to add qt-designer.
Comment 4 Davide Pesavento gentoo-dev 2013-08-22 10:20:39 UTC
https://github.com/gentoo/qt/pull/10
Comment 5 Nikita Kozlov 2013-08-22 20:44:18 UTC
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