On Tue, Aug 19, 2003 at 11:40:21AM -0700, Gregory P. Smith wrote: > On Mon, Aug 18, 2003 at 03:48:43PM +0200, Michael Bramer wrote: > > I use sbuild to backport some sid packages for woody and I have a > > problem. > > > > Some packages have in Build-Depends: a package like libgtk2.0, but I > > like to use libgtk1.2 for the backport. Some other packages like a newer > > version of a lib. > > > > How can I override this Build-Depends with sbuild? I know, how to add > > some extra Build-Depends, but I don't find something like s/lib/lib2/.. > > I recently started playing with backporting some debian packages from > source that i didn't want to compile and install in /usr/local myself. > This is what i've been doing. I have no idea if its the "correct" > debian thing to do. > > % apt-get build-dep packagename > [optional; not to useful if you're looking to work around dependancies > on later package versions] > % apt-get source packagename > % cd packagename-ver > edit whatever needs to be edited under debian/ to change the > dependancies and package configure options > % fakeroot ./debian/rules binary > % cd .. > % ls -l *.deb I know this way (you miss to change the package version for the backport). But I like to backport 100+ source packages in a automatic way and I like sbuild. (sbuild do this all and more already) Gruss Grisu -- Michael Bramer -- http://www.feuerwehr.kreuzau.de/wiki/ PGP: finger grisu@db.debian.org -- Linux Sysadmin -- Use Debian Linux "Unix ist das Betriebssystem der Zukunft - und das schon seit über dreißig Jahren."
Attachment:
pgp3gYSwQg57Q.pgp
Description: PGP signature