David Fokkema wrote:
Hi,

I have a box with a cd-writer which also acts as a file/print/internet
server, so I run stable (just to be on the safe side). Now I would like to
have cdrdao, but that is only available for testing. Of course, I could
recompile the whole thing from source and be done with it, but I'd like to
do it 'the Debian way'. So:

apt-get source cdrdao

gets cdrdao from testing (I set up apt with stable and testing and
APT::Default-Release "stable") but when I want to compile it, it wants to
have a bunch of libraries, especially for the GUI. I don't mind to install
them all, compile the whole thing and then only install the cdrdao package
(without the GUI) and consider it a waste of bandwidth, CPU time and
go on with my life without caring. BUT,


If you know you don't want a feature, than you can manually edit debian/control to remove the build-depends on -dev packages that you don't want. You may also need to do a little editing to the ./configure call in debian/rules as well. As long as ./configure exits successfully, you have at least the bare mininum of build-depends installed regardless of what apt-get/dpkg-buildpackage tries to tell you.[Your package just might not have all the features of the official packages]


1) Is there a simple way to install the packages needed to compile cdrdao?
(I tried apt-get build-deb cdrdao, but it bailes).


Probably not, if apt-get build-dep bails than you probably have to recursively build/back-port the build-dependencies which may be non-trivial. You may be able to just ignore the build-dependencies as above if you are lucky.


2) Maybe even more important, is there a simple way to get rid of _all_
installed packages which I only needed for compiling cdrdao and won't need
since I won't use the GUI?


Write down what you have to install and then apt-get --purge remove it... :) [Though if you don't fiddle with debian/control and/or debian/rules, apt won't let you uninstall the runtime libraries that you needed to install]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to