Re: 3D acceleration for Radeon 9600 Pro chip on PowerBook G4
Herminio Hernandez, Jr. wrote:
I'd follow a different route, the one I followed to test patches against
drivers. Build yourself a patched debian package. That way you build
from source with eventually other useful debian configurations and
patches. You get a "drop in" replacement.
This what I have done so far and I plan to do :
1. I have downloaded the source code for libgl1-mesa-dri
now the version I have is 10.3.2 in the threads it look like this
patch was applied to 10.1.1 will that be an issue?
2. I have not done a patch before so I am following the instruction
here <http://jungels.net/articles/diff-patch-ten-minutes.html>. If
anyone has objects please let me know.
3. After I applycj the pat I just compile and install the driver or
should I uninstall the current one before I install this one?
I followed these instruction:
- create a file with the patch: mach64.patch
- install dpkg-dev: apt-get install dpkg-dev
- get and extract the package source: apt-get source xf86-video-mach64
- cd into the directory
- apply the patch: patch -p1 -i ../mach64.patch
- compile and create the binary package: dpkg-buildpackage -nc -us -uc
- install the package: dpkg -i ../xf86-video-mach64_n.n.n_powerpc.deb
With some adaptation in the filenames, I hope they can be useful for you