mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] How to deal with "alternatives"
Date: Mon, 6 Feb 2012 21:00:40 +0100	[thread overview]
Message-ID: <20120206200040.GC32645@pengutronix.de> (raw)
In-Reply-To: <4F2F0022.2090104@erwinrol.com>

Hi,

On Sun, Feb 05, 2012 at 11:18:10PM +0100, Erwin Rol wrote:
> I was wondering how I can deal with "alternatives" packages?
> I have a nVidia BLOB driver for Tegra 2 OpenGL ES. That drivers
> brings the OpenGL libs that are needed by 3d programs. But those
> programs all "select" MESALIB which brings the opensource OpenGL
> libraries.
> 
> So how can I deal with two (or more) packages that offer feature XYZ
> that is needed by other packages?

There is no generic solution for this. In your case I'd suggest a dummy
mesalib package, that redirects the dependency to your OpenGL package:
A makefile with just "PACKAGES-$(PTXCONF_MESALIB) += mesalib" and an
in-file that selects your package.
However, this won't generate any ipkg dependencies. A solution for this is
on the todo list, but so far not implemented.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2012-02-06 20:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-05 22:18 Erwin Rol
2012-02-06 20:00 ` Michael Olbrich [this message]

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=20120206200040.GC32645@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox