Hi,
I'm using CentOS 5.3 on all my desktops, and I really like it. Now I'd like to build a few additional apps that aren't included in any third party repo. Some of them require GTK2 2.12 to build, so I'm considering a (careful) upgrade of this package.
General question: 1) how "safe" is it to upgrade this package? To do so, I'd use an SRPM from Fedora. 2) What could I possible "break" on a vanilla CentOS install by doing this?
Cheers from the sunny South of France,
Niki Kovacs
Niki Kovacs wrote:
Hi,
I'm using CentOS 5.3 on all my desktops, and I really like it. Now I'd like to build a few additional apps that aren't included in any third party repo. Some of them require GTK2 2.12 to build, so I'm considering a (careful) upgrade of this package.
General question: 1) how "safe" is it to upgrade this package? To do so, I'd use an SRPM from Fedora. 2) What could I possible "break" on a vanilla CentOS install by doing this?
Try it out and see what happens.. since the version change seems pretty minor I wouldn't expect too much breakage .. Though to be on the safe side it's probably good to install it to another directory(/usr/local or something) and change the package name so it doesn't conflict.
When building your new programs just be sure that you point them to the other version of GTK via LD_LIBRARY_PATH CPPFLAGS etc..
nate
nate a écrit :
Try it out and see what happens.. since the version change seems pretty minor I wouldn't expect too much breakage .. Though to be on the safe side it's probably good to install it to another directory(/usr/local or something) and change the package name so it doesn't conflict.
When building your new programs just be sure that you point them to the other version of GTK via LD_LIBRARY_PATH CPPFLAGS etc..
I did quite a lot of researching and fiddling, and in the end, after weighing the pros and the cons... I guess I'll wait for CentOS 6 to build these new apps. Should be less than a year, if things go well :o)
After all, installing an enterprise-class distro only to fiddle around with the base packages doesn't make much sense... or else, I'd stick to Slackware ;o)
cheers,
Niki
Niki Kovacs wrote:
nate a écrit :
Try it out and see what happens.. since the version change seems pretty minor I wouldn't expect too much breakage .. Though to be on the safe side it's probably good to install it to another directory(/usr/local or something) and change the package name so it doesn't conflict.
When building your new programs just be sure that you point them to the other version of GTK via LD_LIBRARY_PATH CPPFLAGS etc..
I did quite a lot of researching and fiddling, and in the end, after weighing the pros and the cons... I guess I'll wait for CentOS 6 to build these new apps.
If I recall - gtk is one of the nicer apps in that it properly uses pkgconfig allowing multiple versions to be installed side by side.
What you could probably do is take a more recent src.rpm from a more recent Fedora and change the package name to compat-gtk2 and it probably will nicely install side (including devel packages) with stock gtk2+
Note that if what you want are newer GNOME apps - GNOME libraries version often so you may find yourself needing to build several newer libraries to get a modern GNOME application to build.
I've not tried building a newer gtk2+ on CentOS but until I switched to CentOS, I frequently built older versions of gtk2+ to install side by side with stock Fedora because Fedora was so bleeding edge that some small developer base special projects I used were always 1 or 2 versions behind.