pkg-config produces wrong flags for liblightdm-qt-1

Bug #943914 reported by Surlykke
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Fix Released
Low
Unassigned
1.0
Confirmed
Low
Unassigned
lightdm (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When running:

      pkg-config --cflags --libs liblightdm-qt-1

I get:

    -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/lightdm-qt-0 -llightdm-qt-0 -lQtGui -lQtCore

I believe it should be:

    -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/lightdm-qt-1 -llightdm-qt-1 -lQtGui -lQtCore

(lightdm-qt-1 rather than lightdm-qt-0)

It appears the culprit is liblightdm-qt/liblightdm-qt-1.pc.in

I'm on a (mostly) lubuntu install.

My installed lightdm stuff looks like:

dpkg -l '*lightdm*' | grep ii
ii liblightdm-gobject-1-0 1.0.6-0ubuntu1.3 LightDM GObject client library
ii liblightdm-gobject-1-dev 1.0.6-0ubuntu1.3 LightDM client library (development files)
ii liblightdm-gobject-1-doc 1.0.6-0ubuntu1.3 LightDM client library (documentation)
ii liblightdm-qt-1-0 1.0.6-0ubuntu1.3 LightDM Qt client library
ii liblightdm-qt-1-dev 1.0.6-0ubuntu1.3 LightDM client library (development files)
ii lightdm 1.0.6-0ubuntu1.3 Display Manager
ii lightdm-gtk-greeter 1.0.6-0ubuntu1.3 LightDM GTK+ Greeter
ii lightdm-qt-greeter 1.0.6-0ubuntu1.3 LightDM Qt Greeter

I've attached a patch.

br. Christian Surlykke

Tags: patch
Revision history for this message
Surlykke (christian-surlykke) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch.txt" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that issue is fixed in precise:

liblightdm-qt-2.pc.in:
...
Libs: -L${libdir} -llightdm-qt-2
Cflags: -I${includedir}/lightdm-qt-2

Changed in lightdm (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Changed in lightdm:
importance: Undecided → Low
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.