[ATrpms-users] How to recompile xorg-x11-drv-i810?

Axel Thimm Axel.Thimm at atrpms.net
Tue May 2 15:51:40 CEST 2006


On Tue, May 02, 2006 at 11:38:31PM +1000, Jean-Yves Avenard wrote:
> Probably not the right place to ask, but as you guys know better than
> everything I've seen so far, I'll give it a shot.

Probably more suited for atrpms-devel with the atrpms' lists.

> I'm trying to get the i810 drivers working on my Sony Vaio SZ running
> FC5 ; it's using a GMA950 video controller (945GM chipset)
> I found that they got it running on Ubuntu by patching DRI/DRM modules
> (available at dri.freedesktop.org)
> And also patching the 810 drivers from X.
> 
> The i810 drivers is installed by the rpm package xorg-x11-drv-i810.
> 
> Any idea on how I could modify the source code for this package,
> recompile it and install it?
> I searched but I can't find it anywhere.

In general:

o Use rpm -qi foo to see what src.rpm this package was built from. It
  may be just a subpackage and no explicit foo src.rpm exists.

  For xorg-x11-drv-i810 you'll get Source RPM: xorg-x11-drv-i810-1.4.1.3-3.1.src.rpm

o Next get the src.rpm and install it. It's spec file and sources will
  be unpacked. If you're user they will be placed into
  /usr/src/redhat. Otherwise you will have to setup some macros in
  ~/.rpmmacros to use directories where you have write access.

o Next try to rebuild w/o any changes to make sure the infrastructure
  is in place. Use rpmbuild -bb foo.spec

Then you're ready to start experimenting by adding/modifying  patches
in the specfile. Make sure you document it in the %changelog and also
that your Release: tag is bumped.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20060502/59bd9484/attachment.bin


More information about the atrpms-users mailing list