All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: [Bug 4549] A number of xorg dev packages are uninstallable
Date: Fri, 12 Sep 2008 21:04:07 +0200	[thread overview]
Message-ID: <gaeef7$cvi$1@ger.gmane.org> (raw)
In-Reply-To: <20080912160657.GE29676@smtp.west.cox.net>

Tom Rini wrote:
> [ This is all also available at
> http://bugs.openembedded.net/show_bug.cgi?id=4549 ]
>
> A number of xorg dev packages (both literally -dev and util-macros) are
> uninstallable on the target.  The problem is that by default (with ipk)
> any given -dev package will depend on the main package, for example
> xproto-dev depends on xproto.  But in these packages case, there is no
> main package (no xproto).  The following patch fixes the issue.

No, it doesn't, your patch actually *breaks* the depends chaining, the 
real fix would be to do ALLOW_EMPTY_${PN} = "1" in the recipes.

regards,

Koen

>
> This is important in the case of SDK users.
>
> #
> # old_revision [e5b917e5de77a3e1e649867986fdd33f141c7bd3]
> #
> # patch "packages/xorg-lib/xtrans_1.0.3.bb"
> #  from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
> #    to [6d46e0050d376534a486d2d6bbf3316fc0eea221]
> #
> # patch "packages/xorg-lib/xtrans_1.0.4.bb"
> #  from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
> #    to [6d46e0050d376534a486d2d6bbf3316fc0eea221]
> #
> # patch "packages/xorg-lib/xtrans_1.1.bb"
> #  from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
> #    to [6d46e0050d376534a486d2d6bbf3316fc0eea221]
> #
> # patch "packages/xorg-lib/xtrans_1.2.bb"
> #  from [5adfa3a5c753b71a9a61e266569ccbd26e940b09]
> #    to [6d46e0050d376534a486d2d6bbf3316fc0eea221]
> #
> # patch "packages/xorg-proto/xorg-proto-common.inc"
> #  from [2f88e96e17c9a539cf5bf9383cad1500375eae86]
> #    to [5c6754f960805e8352b7d28a498e98a4fb1a46be]
> #
> # patch "packages/xorg-util/util-macros_1.1.5.bb"
> #  from [e4dba9f37b257cea60724c9fd34b82e27e27e349]
> #    to [f33bcbd1e083dce6f243c7a9ca7b908c33868ad8]
> #
> # patch "packages/xorg-util/util-macros_1.1.6.bb"
> #  from [9dd3c08d7715e6e845ab141fd67cbb4e3a962977]
> #    to [0d3b638b2967a60b38c2603dad643c7325d70ae2]
> #
> ============================================================
> --- packages/xorg-lib/xtrans_1.0.3.bb	5adfa3a5c753b71a9a61e266569ccbd26e940b09
> +++ packages/xorg-lib/xtrans_1.0.3.bb	6d46e0050d376534a486d2d6bbf3316fc0eea221
> @@ -1,5 +1,7 @@ require xorg-lib-common.inc
>   require xorg-lib-common.inc
>
> +RDEPENDS_${PN}-dev = ""
> +
>   DESCRIPTION = "network API translation layer to insulate X applications and \
>   libraries from OS network vageries."
>   PE = "1"
> ============================================================
> --- packages/xorg-lib/xtrans_1.0.4.bb	5adfa3a5c753b71a9a61e266569ccbd26e940b09
> +++ packages/xorg-lib/xtrans_1.0.4.bb	6d46e0050d376534a486d2d6bbf3316fc0eea221
> @@ -1,5 +1,7 @@ require xorg-lib-common.inc
>   require xorg-lib-common.inc
>
> +RDEPENDS_${PN}-dev = ""
> +
>   DESCRIPTION = "network API translation layer to insulate X applications and \
>   libraries from OS network vageries."
>   PE = "1"
> ============================================================
> --- packages/xorg-lib/xtrans_1.1.bb	5adfa3a5c753b71a9a61e266569ccbd26e940b09
> +++ packages/xorg-lib/xtrans_1.1.bb	6d46e0050d376534a486d2d6bbf3316fc0eea221
> @@ -1,5 +1,7 @@ require xorg-lib-common.inc
>   require xorg-lib-common.inc
>
> +RDEPENDS_${PN}-dev = ""
> +
>   DESCRIPTION = "network API translation layer to insulate X applications and \
>   libraries from OS network vageries."
>   PE = "1"
> ============================================================
> --- packages/xorg-lib/xtrans_1.2.bb	5adfa3a5c753b71a9a61e266569ccbd26e940b09
> +++ packages/xorg-lib/xtrans_1.2.bb	6d46e0050d376534a486d2d6bbf3316fc0eea221
> @@ -1,5 +1,7 @@ require xorg-lib-common.inc
>   require xorg-lib-common.inc
>
> +RDEPENDS_${PN}-dev = ""
> +
>   DESCRIPTION = "network API translation layer to insulate X applications and \
>   libraries from OS network vageries."
>   PE = "1"
> ============================================================
> --- packages/xorg-proto/xorg-proto-common.inc	2f88e96e17c9a539cf5bf9383cad1500375eae86
> +++ packages/xorg-proto/xorg-proto-common.inc	5c6754f960805e8352b7d28a498e98a4fb1a46be
> @@ -1,9 +1,10 @@ XORG_PN = "${PN}"
>   DESCRIPTION = "X protocol headers: ${XORG_PN}"
>   HOMEPAGE = "http://www.x.org"
>   SECTION = "x11/libs"
>   LICENSE = "MIT-X"
>
>   XORG_PN = "${PN}"
> +RDEPENDS_${PN}-dev = ""
>
>   SRC_URI = "${XORG_MIRROR}/individual/proto/${XORG_PN}-${PV}.tar.bz2"
>
> ============================================================
> --- packages/xorg-util/util-macros_1.1.5.bb	e4dba9f37b257cea60724c9fd34b82e27e27e349
> +++ packages/xorg-util/util-macros_1.1.5.bb	f33bcbd1e083dce6f243c7a9ca7b908c33868ad8
> @@ -1,5 +1,7 @@ require xorg-util-common.inc
>   require xorg-util-common.inc
>
> +RDEPENDS_${PN}-dev = ""
> +
>   DESCRIPTION = "X autotools macros"
>   PR = "r1"
>   PE = "1"
> ============================================================
> --- packages/xorg-util/util-macros_1.1.6.bb	9dd3c08d7715e6e845ab141fd67cbb4e3a962977
> +++ packages/xorg-util/util-macros_1.1.6.bb	0d3b638b2967a60b38c2603dad643c7325d70ae2
> @@ -1,4 +1,6 @@ require xorg-util-common.inc
>   require xorg-util-common.inc
>
> +RDEPENDS_${PN}-dev = ""
> +
>   DESCRIPTION = "X autotools macros"
>   PE = "1"
>





  reply	other threads:[~2008-09-12 19:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 16:06 [Bug 4549] A number of xorg dev packages are uninstallable Tom Rini
2008-09-12 19:04 ` Koen Kooi [this message]
2008-09-12 19:21   ` Tom Rini
2008-09-12 20:10     ` Phil Blundell
2008-09-12 20:15     ` Tom Rini
2008-09-14 23:59 ` Tom Rini
2008-09-15  9:04   ` Phil Blundell
2008-09-16  0:21     ` Tom Rini
2008-09-16 15:49       ` Phil Blundell
2008-09-16 17:19         ` Tom Rini
2008-09-17  7:27           ` Phil Blundell

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='gaeef7$cvi$1@ger.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.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.