Re: [multiarch] Proposal for *-dev packages
Stephen Frost <firstname.lastname@example.org> writes:
> * Daniel Kobras (email@example.com) wrote:
> > On Wed, Jan 14, 2004 at 07:26:53PM +0100, Goswin von Brederlow wrote:
> > > 3. support binaries in the -dev package
> > >
> > > I'm thinking about gtk-config, sdl-config, kde-config, ...
> > > Are all of those scripts or are there some compiled programs in hte
> > > mix?
> > Same problem here. Those scripts may contain arch-specific data, eg.
> > arch-dependent CFLAGS.
> So you check what the architecture is in the script, that's not terribly
> > > I suggest splitting any binary programms (if there are any) out into a
> > > -helper package and have the -dev depend on them.
> > Now instead of -dev, the -helper packages conflict. So what was the
> > purpose again?
> The purpose is to avoid having to go through every source package and
> change it's Build-Depend line, if at all possible.
And the -helper packages can have different names without much trouble
and don't need to conflict or be multiarch capable. Its easy enough to
check for the target cpu at runtime and behave acordingly.