[packagekit] [PATCH] Build the glib outside the source tree, fix regression in FindQPackageKit.cmake

Trever Fischer wm161 at wm161.net
Thu Nov 20 12:15:59 PST 2008


I can't seem to be able to build packagekit-glib outside of the source tree. 
It fails because of this:

PackageKit/lib/packagekit-glib/pk-client.c:56:40: error: packagekit-glib/pk-
marshal.h: No such file or directory

The file exists in my build directory though (/tmp/build-
PackageKit/lib/packagekit-glib/).

In KPackageKit, we simply include <QPackageKit>, but the cmake module sets our 
QPK include path to '/usr/include/packagekit-qt'. Before the move into 
/usr/include/PackageKit/packagekit-qt, things worked and now they don't.

This patch fixes both those problems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-fix.diff
Type: text/x-patch
Size: 1117 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20081120/e17f14f5/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20081120/e17f14f5/attachment-0004.pgp>


More information about the PackageKit mailing list