# pkg-config --cflags polkit-qt-1 -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui Shouldn't this be: /usr/include/polkit-qt-1 and it's subdirs? Version: # pkg-config --modversion polkit-qt-1 0.103.0 # pkg-config --version 0.26
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.