From: Colin Walters <walters@verbum.org>
To: poky@yoctoproject.org
Subject: Re: -dev RPM packages Require:ing all of their bitbake build dependences
Date: Tue, 03 Jan 2012 21:13:10 -0500 [thread overview]
Message-ID: <1325643190.24646.9.camel@lenny> (raw)
In-Reply-To: <1325642890.24646.8.camel@lenny>
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
See example attached patch for pkg-config.
A question if we go down this path though - should e.g. the GCC plugin
header files by this rationale also be in the main package, and not
-dev?
[-- Attachment #2: 0001-pkgconfig-Include-pkg.m4-in-main-package.patch --]
[-- Type: text/x-patch, Size: 1331 bytes --]
From 1e94c2156c46eada940f7d50ae42cc0984e02237 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Tue, 3 Jan 2012 21:11:03 -0500
Subject: [PATCH] pkgconfig: Include pkg.m4 in main package
Having it in -dev forces consumers to include the -dev package which
in turn pulls in libglib-2.0-dev which pulls in...
I can't imagine anyone wants /usr/bin/pkg-config without the .m4 file.
---
meta/recipes-devtools/pkgconfig/pkgconfig.inc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig.inc b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
index 641bfae..37f6a90 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig.inc
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
@@ -25,6 +25,10 @@ EXTRA_OECONF = "--with-installed-glib --with-installed-popt --disable-legacy-scr
EXTRA_OECONF_virtclass-native = "--disable-legacy-scripts"
EXTRA_OECONF_virtclass-nativesdk = "--disable-legacy-scripts"
+# Include the .m4 in the main package - it's silly to have pkg-config without also
+# being able to run aclocal and use the PKG_CHECK_MODULES() macro.
+FILES_${PN} += "${datadir}/aclocal/pkg.m4"
+
acpaths = "-I ."
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h glib-1.2.10/
--
1.7.6.4
next prev parent reply other threads:[~2012-01-04 2:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 2:08 -dev RPM packages Require:ing all of their bitbake build dependences Colin Walters
2012-01-04 2:13 ` Colin Walters [this message]
2012-01-04 16:23 ` [poky] " Richard Purdie
2012-01-04 16:23 ` Richard Purdie
2012-01-04 16:34 ` [poky] " Chris Larson
2012-01-04 16:34 ` [OE-core] " Chris Larson
2012-01-04 16:40 ` [poky] " Mark Hatle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1325643190.24646.9.camel@lenny \
--to=walters@verbum.org \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.