Summary: | Suggestion: make the Qt and KDE paths relative through a variable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Nagel <juergennagel> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED CANTFIX | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 28757 | ||
Attachments: |
kde-functions.eclass
uses the new variable KDEROOT in /etc/make.conf
qt-3.1.2-r3.ebuild uses the new variable QTROOT in /etc/make.conf qt-3.1.2-r3.ebuild: now uses a pkgconfig file to set the prefix pkgconfig file qt-3.1.2-r3.ebuild: corrected a typo pkgconfig file: added a mandatory dummy version field |
Description
Juergen Nagel
2003-04-02 16:25:07 UTC
I've implemented the possibility to use other "root directories" for QT and KDE. Please test the kde-functions.eclass and qt-3.1.2-r3.ebuild to see if it works as I intended. Created attachment 10965 [details]
kde-functions.eclass
uses the new variable KDEROOT in /etc/make.conf
Created attachment 10966 [details]
qt-3.1.2-r3.ebuild
uses the new variable QTROOT in /etc/make.conf
I'm looking into the possibility of making qt and kde use pkg-config to amke this stuf truly generic and forget about it once and for all... Created attachment 11085 [details]
qt-3.1.2-r3.ebuild: now uses a pkgconfig file to set the prefix
Created attachment 11086 [details]
pkgconfig file
Created attachment 11087 [details]
qt-3.1.2-r3.ebuild: corrected a typo
Created attachment 11096 [details]
pkgconfig file: added a mandatory dummy version field
After the correction of the nasty bug in the qt.pc file, Qt gets installed correctly. Could you edit it so that the pkg-config uses the version of qt to get the prefix (including version part). A query would then be: pkg-config --prefix qt --maxversion=3.99.99 --atleastversion=3. This way things can work even when different versions exist at different locations I've searched around the net a bit, but as far as I could find out, you can't let a variable depend on a version. I think the current solution is a good one. One the one hand you can customize the root prefix of your Qt installations and on the other hand you take away the need of altering ebuilds. Thanks Dan for bringing up the idea of using pkgconfig. Ok, I was under the impression that pkg-config could handle multiple simultaneous versions. QT 4 will live in /usr (not /usr/qt/4), and presumably qt5 will be able to live in the same directory with it. For general relocation functionality look to the pathspec stuff. Is any part of this bug still relevant? The Qt part of this bug will be irrelevant by the time Qt 4 comes out. The KDE part is still relevant, but since I'm personally not happy about my own solution anymore, this bug can be closed. Let's hope the KDE developers decide to use the /usr hierarchy in the same way as Trolltech. :) Agreed. |