I have a fresh Squeeze install, but its version of Nouveau is too old to properly support my card (e.g.: desktop effects). In order to get (or, preferably, compile from source) the latest Nouveau, I need a higher version of both the kernel and X.org.
Now, the kernel if needs be I could do from scratch and manually add it to GRUB, but is there a better way to start from a new kernel tree and end up with a nice .deb that APT can keep track of?
X.org is a stickier situation. Ideally, there would be something like Ubuntu’s xorg-edgers PPA, but I couldn’t find anything like it for Debian. If I compile X.org from scratch, how to properly replace the Debian version, or again, make a proper .deb for it? Or is there a good way to get the version in Sid without pulling in the rest of the world, and having it stay updated? (I tried apt-pinning, but as far as I could tell, I would have to track down every dependency and dependency of the dependency etc… myself and pin it.)
Helmut Grohne
[ Editor ]
Kernel: You can use make-kpkg kernel-image from the package kernel-package on a configured kernel tree to create a Debian package.
Xorg: I’d also try pinning. You can try aptitude -s install xserver-xorg-video-nouveau/sid to get a list of packages that need an update and write a little script that creates a suitable preferences file from the list. Note in squeeze apt-get -s install foo/sid does not resolve the dependencies inside sid.
I finally got it to work; I had to run update-initramfs (as I found on a forum post) to generate initrd, and it was a pain to find the correct Sid packages to pin for X.org, but it worked. Thank you.