Debian Developers - Multiple package variants with CDBS?

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > January 2006 > Multiple package variants with CDBS?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Multiple package variants with CDBS?
W. Borgert

2006-01-29, 9:38 pm

Hi,

I have a package that is configured and compiled two times, so
that two binary packages are built in one dpkg-buildpackage run:
One with --enable-gnome, the second without. Is this supported
by CDBS somehow? Is there a package, that already does such a
thing using CDBS? Any hint or example debian/rules file
appreciated, thanks in advance!

Cheers, WB


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Jay Berkenbilt

2006-01-29, 9:38 pm

"W. Borgert" <debacle@debian.org> wrote:

> I have a package that is configured and compiled two times, so
> that two binary packages are built in one dpkg-buildpackage run:
> One with --enable-gnome, the second without. Is this supported
> by CDBS somehow? Is there a package, that already does such a
> thing using CDBS? Any hint or example debian/rules file
> appreciated, thanks in advance!


I used to do this kind of thing with the xerces packages. I no longer
do, but the versions of xerces25 and xerces26 in sarge still
demonstrate one way to do it. Feel free to contact me off list if you
look at this and have any questions about how it works. The basic
approach I used was to create two symlink farms to the extracted
sources and build once in each location.

--
Jay Berkenbilt <qjb@debian.org>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Michelle Konzack

2006-01-30, 5:57 pm

Am 2006-01-28 13:27:11, schrieb W. Borgert:
> Hi,
>
> I have a package that is configured and compiled two times, so
> that two binary packages are built in one dpkg-buildpackage run:
> One with --enable-gnome, the second without. Is this supported
> by CDBS somehow? Is there a package, that already does such a
> thing using CDBS? Any hint or example debian/rules file
> appreciated, thanks in advance!


Look at fvwm.

> Cheers, WB


Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Michael Banck

2006-01-30, 5:57 pm

On Sun, Jan 29, 2006 at 11:06:20AM +0100, Michelle Konzack wrote:
> Am 2006-01-28 13:27:11, schrieb W. Borgert:
>
> Look at fvwm.


fvwm does not use cdbs, I think we all know how to do this in general.


Michael

--
Michael Banck
Debian Developer
mbanck@debian.org
http://www.advogato.org/person/mbanck/diary.html


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Manoj Srivastava

2006-01-30, 5:57 pm

On Mon, 30 Jan 2006 17:22:46 +0100, Michael Banck <mbanck@debian.org> said:

> On Sun, Jan 29, 2006 at 11:06:20AM +0100, Michelle Konzack wrote:
[vbcol=seagreen]
> fvwm does not use cdbs, I think we all know how to do this in
> general.


While fvwm does not use CDBS, my build mechanisms did copy
some bits of CDBS, and the solution in debian/local.mk in fvwm can be
adapted for use with CDBS.

manoj
--
If you wait long enough, it will go away... after having done its
damage. If it was bad, it will be back.
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com