On Fri, Aug 08, 2014 at 11:37:07AM +0000, Paul Barker wrote: > After recent changes to disable binconfig programs, 'gpgme-config' is no longer > installed with gpgme. This prevents opkg from finding gpgme which is needed when > 'gpg' is added to PACKAGECONFIG. This is fixed in two stages: > > - A 'gpgme.pc' file was created and added to openembedded-core to be installed > with gpgme. The Cflags and Libs values for this file were found by running > 'gpgme-config' on my development machine. This patch is included here. > > - Changes were made to 'configure.ac' in opkg to use pkg-config to find gpgme > instead of using 'gpgme-config'. These changes could be added as a patch in > openembedded-core but I don't think there's much point. opkg-0.2.3 should be > released in the next couple of weeks and I'll include the relevant changes > in that. > > Additionally, I found that gpg itself wasn't installed when opkg was installed > with gpg support. The 'opkg-key' program uses gpg to manage the list of trusted > keys so without gpg it isn't possible to set up package feed verification on a > device. Therefore, I've added 'gnupg' to RDEPENDS when 'gpg' is in > PACKAGECONFIG. > > Paul Barker (2): > gpgme: Add pkg-config file > opkg: Add runtime dep on gnupg if 'gpg' is in PACAKGECONFIG > > meta/recipes-devtools/opkg/opkg.inc | 2 +- > meta/recipes-support/gpgme/gpgme-1.4.3/gpgme.pc | 10 ++++++++++ > meta/recipes-support/gpgme/gpgme_1.4.3.bb | 8 +++++++- > 3 files changed, 18 insertions(+), 2 deletions(-) > create mode 100644 meta/recipes-support/gpgme/gpgme-1.4.3/gpgme.pc > Ping on these two patches. I think I've addressed Martin's question on the second patch now, they should hopefully be ok to merge. Thanks, -- Paul Barker Email: paul@paulbarker.me.uk http://www.paulbarker.me.uk