[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Source Builds

Tom Allison <tallison@tacocat.net> writes:

> Is there a link that describes how to go about building packages from
> the deb-src files and how I might identify packages for source build
> only?

Modify the source as you feel appropriate, add a new entry to the top
of debian/changelog, and run 'debuild' out of the devscripts package.
Read documentation on http://www.debian.org/devel/.

> An example might be to change XFree and my Window Manager to
> compiled packages to take advantage of the chipset graphics
> instructions.

I don't think recompiling either of these will have any useful effects
for you.  Your window manager doesn't communicate directly with the
hardware at all; it even isn't necessarily running on the same machine
as the graphics card.  While the X server does communicate with the
hardware, how it does so is written into the source code; the C
compiler doesn't know anything about your graphics hardware.  So if
you had a custom driver for a strange graphics card, this might be a
useful approach, but otherwise, this is pretty much wasted effort.

ObGentoo: except in limited cases involving computationally intensive
processing (linear algebra, crypto), recompilation doesn't seem to
actually give much in terms of a performance boost.  Where it does
make a difference, Debian supplies processor-specific libraries and
binaries.  If you have actual numbers demonstrating otherwise, please
share.  :-)

David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell

Reply to: