Applying a code patch to XFree without a complete rebuild?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Applying a code patch to XFree without a complete rebuild?
Is this possible?
There is a bug in the release of XFree 4.3.0, where underlines don't show up for TrueType fonts, in Mozilla browsers. There was a bug report filed, click here to read it. The problem was fixed, and a code patch attached to the bug report.
Now, I downloaded the entire source for XFree 4.3.0, but it seems kinda excessive to rebuild X completely when all that is changing is one source code file, xc/lib/font/FreeType/ftfuncs.c. Is there a way to just rebuild the files affected by this source code file? If so, I could do that and just replace these files manually.
Well Locura, there's a way to everything... but in this case, if you're not a programmer or someone who can understand any given C/C++ structure just by looking at the code, then there's not much you can do except recompile everything.
Well I'm pretty good at coding, I just don't wanna spend all that time looking through and building manually. Just was hoping there was some command argument for make that I could use to do that.
So, what directories/config files should I back up before I install the new version of XFree?
I compiled the other day, but I had so much to do with work that I didn't have time to install until this afternoon.
I did a ton of searching, and came up with the following directories, which I tarred and then deleted:
/var/X11R6
/etc/X11
/usr/X11R6
Then I installed, and voila! Works like a charm, though I am a little overwhelmed by all the underlines that I haven't been seeing due to the aforementioned bug that caused me to recompile, haha. The only thing that I don't seem to have now, is xscreensaver. I'm guessing it was in /usr/X11R6/bin or something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.