Josselin Mouette <j...@debian.org> writes: > Le jeudi 16 septembre 2010 à 03:08 +0200, Jakub Wilk a écrit : >> * Hector Oron <hector.o...@gmail.com>, 2010-09-15, 21:26: >> > c) allow build depends on source packages, which it is probably a worst >> > idea. >> >> On the contrary, I think that allowing source packages to be installable >> in the same way as binary packages is an excellent idea. Imagine you can >> do: >> >> apt-get install src:linux-2.6 >> >> which will install Linux sources into a standard location, or upgrade it >> if it's already installed. > > I agree this is a cleaner solution, but how do you ensure there are > sources (deb-src) referenced in the sources.list ? > > Plus, these packages would (in the current state of affairs) lack a > description.
Going by what multiarch proposed and apt already supports that should be apt-get install linux-2.6:src where "src" is just another architecture (at least for the user interface). apt-get install foo:src should then install the source and also all Build-Depends(-Indep) of the source. Besides packages Build-Depending on source packages this is also verry usefull for working on sources. The foo:src package will be marked manual while all Build-Depends remain automatic. When one is done working with a source one can purge foo:src and all the Build-Depends can be autoremoved if nothing else needs them. MfG Goswin -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87iq1y86dm....@frosties.localdomain