Re: [wlug] X + Redhat7 Gui frettings

On Mon, 19 Mar 2001, Greig McGill wrote:
BUT - and there's always a but - there are no nice RPMs from RedHat for it. I've done a source build of X before on a "roll-yer-own" distro, but never tried to upgrade X under RH before. What is the best/easiest way to do this without breaking anything?
The _best_ way is to get hold of the .spec file from the 4.0.1 source RPM, tweak it as necessary for anything that might have changed in 4.0.3 then use that, along with tarballs of the 4.0.3 source and the rpm command to build your own RPMs, which you then upgrade to via the normal methods. The _easiest_ way is to wait for someone else (eg RedHat themselves) to make those RPMs for you. :) --Colin. ** Colin Palmer, Systems and Development Group, University of Waikato, NZ ** ------------ WLUG - The Waikato Linux Users Group To unsubscribe, send an email to majordomo(a)list.waikato.ac.nz with "unsubscribe wlug" in the body of the message.

On Mon, 19 Mar 2001, Colin Palmer wrote:
On Mon, 19 Mar 2001, Greig McGill wrote:
BUT - and there's always a but - there are no nice RPMs from RedHat for it. I've done a source build of X before on a "roll-yer-own" distro, but never tried to upgrade X under RH before. What is the best/easiest way to do this without breaking anything?
The _best_ way is to get hold of the .spec file from the 4.0.1 source RPM, tweak it as necessary for anything that might have changed in 4.0.3 then use that, along with tarballs of the 4.0.3 source and the rpm command to build your own RPMs, which you then upgrade to via the normal methods.
The _easiest_ way is to wait for someone else (eg RedHat themselves) to make those RPMs for you. :)
LOL...yeah, thanks Colin! :P I must admit, the .spec idea is a bit of lateral thinking...well done that man! I hate the thought of wading through the nightmares of dependencies though... -- ----------------------------------- Greig McGill Three things to remember: Green, No, and with a spring. ------------ WLUG - The Waikato Linux Users Group To unsubscribe, send an email to majordomo(a)list.waikato.ac.nz with "unsubscribe wlug" in the body of the message.

use that, along with tarballs of the 4.0.3 source and the rpm command to build your own RPMs, which you then upgrade to via the normal methods.
LOL...yeah, thanks Colin! :P I must admit, the .spec idea is a bit of lateral thinking...well done that man! I hate the thought of wading through the nightmares of dependencies though...
One cavaet is that RedHat, bless their cotton... hat? anyway, they patch a lot of stuff. There is no guarantee the patches will work against 4.0.3, so you have two choices... remove the patches entirely. This is fine if they are simply vendor string patches or the like. If they actually address bugs - especially if they address bugs with that version of XFree86 running on that version of RedHat - you might run into problems Or, get your hands dirty and reengineer the patches. Of course, some of the patches may also be for bugs that were apparent in 4.0.1 but fixed in either 4.0.2 or 4.0.3 /usr/src/redhat/SOURCES] [daniel:1235]$ ls | grep patch | wc -l 44 Thats 44 files with the word 'patch'.... :) Most are minor, or architecture dependant (one of the larger ones is something to do with sparcs ;) Good luck.. I would do this myself but RH7.0 srpms for XFree86 4.0.1 do *not* like running on rh6.2 or 6.1 - which are the versions I run currently :) Daniel ------------ WLUG - The Waikato Linux Users Group To unsubscribe, send an email to majordomo(a)list.waikato.ac.nz with "unsubscribe wlug" in the body of the message.
participants (3)
-
Colin Palmer
-
Daniel Lawson
-
Greig McGill