Summary: | sys-auth/polkit-qt - pkg-config file reports incorrect includes for --cflags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Julian Ospald <hasufell> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/114771/ | ||
Whiteboard: | tracking upstream | ||
Package list: | Runtime testing required: | --- | |
Attachments: | polkit-qt-0.103.0-pkgconfig.patch |
Description
Julian Ospald
2012-04-02 21:17:30 UTC
meh, despite that I have a very strong opinion about modifying pkgconfig files downstream... should we just fix this? The bug has been open long enough upstream. I am not particularly familiar with pkgconfig file generation. If you know how to fix the issue "correctly", I can integrate the changes upstream directly. Created attachment 366388 [details, diff]
polkit-qt-0.103.0-pkgconfig.patch
please review
# for i in "" "-agent" "-core" "-gui" ; do pkg-config --libs polkit-qt${i}-1 ; done
-L/usr/lib64/qt4 -lpolkit-qt-gui-1 -lpolkit-qt-core-1 -lpolkit-qt-agent-1 -lQtGui -lQtCore
-L/usr/lib64/qt4 -lpolkit-qt-agent-1 -lQtGui -lQtCore
-L/usr/lib64/qt4 -lpolkit-qt-core-1 -lQtCore
-L/usr/lib64/qt4 -lpolkit-qt-gui-1 -lQtGui -lpolkit-qt-core-1 -lQtCore
# for i in "" "-agent" "-core" "-gui" ; do pkg-config --cflags polkit-qt${i}-1 ; done
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtCore
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtCore
# pkg-config --variable=polkit_policy_files_install_dir polkit-qt-1
/usr/share/polkit-1/actions
so? still waiting for upstream This is fixed in polkit-qt-0.112.0, except for the variable=polkit_policy_files_install_dir thing. If that's still needed let us know and we can follow up again. |