D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian portage

 

On 17/09/06, Neil Williams <linux@xxxxxxxxxxxxxx> wrote:
Ben Goodger wrote:
> This should be built in. Anyone looking for a hacking assignment? apt-get
> build-install would be my favourite :)

Isn't going to happen.

You really don't get as much benefit as you are thinking. Debian build
environment rules are often very precise. The rebuilt package uses
precisely the same rules as the original. debuild is mostly used for
porting to different *architectures* not just kernels.

You'll have to do the hard work yourself in most cases - creating and
testing patches. The simple process of rebuilding from source without
changing the build environment is unlikely to make a particularly large
difference.

Many packages don't respond well to large changes in optimisation flags.
Some particularly intransigent Debian bugs have simply come down to not
using certain flags.

Also note that you'll need a lot of dependencies (-dev libraries). If
you're going to do this a lot, substitute 'pdebuild' for 'debuild' but
read the manpage first to generate a base tarball. pdebuild builds the
package in a chroot and gets all the dependencies from the archive for
each build.

If you want this kind of system, use a distro that is designed with this
in mind: Gentoo.

I tried gentoo. I didn't like the fact that I had to configure ALSA by hand (impossible) and that I couldn't compile a kernel so it doesn't hang on boot. Basically I'd like to recompile things like firefox with specific optimisations to improve a couple of packages' performance.
However, if I can only do that by pratting about with make then I shan't bother.

--
Ben Goodger
#391382
---------------------

Mi admiras religiajn; ili estas fine ebliĝinta solvi la maljunegan demandon "kiel oni povas vivi sencerbe?".
It is well-known that I am blunt and unsophisticated. It's largely your fault if you object to this.
-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html