Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix gpg support in opkg
@ 2014-08-08 11:37 Paul Barker
  2014-08-08 11:37 ` [PATCH 1/2] gpgme: Add pkg-config file Paul Barker
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Paul Barker @ 2014-08-08 11:37 UTC (permalink / raw)
  To: openembedded-core

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

-- 
2.0.3



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-08-19 19:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-08 11:37 [PATCH 0/2] Fix gpg support in opkg Paul Barker
2014-08-08 11:37 ` [PATCH 1/2] gpgme: Add pkg-config file Paul Barker
2014-08-08 11:37 ` [PATCH 2/2] opkg: Add runtime dep on gnupg if 'gpg' is in PACAKGECONFIG Paul Barker
2014-08-08 12:13   ` Martin Jansa
2014-08-08 12:16     ` Paul Barker
2014-08-14 16:50       ` Paul Barker
2014-08-14 17:16         ` Martin Jansa
2014-08-14 17:19           ` Paul Barker
2014-08-19 18:55 ` [PATCH 0/2] Fix gpg support in opkg Paul Barker
2014-08-19 19:29   ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox