Main Page | Report this Page
Linux Forum Index  »  Linux - Slackware Forum  »  Upgrading gtk+ to 2.16 (or 2.18) in Slackware 13.0...
Page 1 of 1    

Upgrading gtk+ to 2.16 (or 2.18) in Slackware 13.0...

Author Message
Jim Diamond...
Posted: Mon Oct 19, 2009 9:01 am
Guest
I want to compile something which requires gtk+ 2.16 or greater.

I could compile it into its own location (e.g., /opt/gtk+2), as
opposed to upgrading the system gtk+2, but for reasons that you
probably aren't interested in, I don't want to do that if I can
possibly avoid it.

So before I risk clobbering my system, has anyone else here attempted
doing that? If so, any words of wisdom?

Thanks.
Jim
 
Douglas Mayne...
Posted: Mon Oct 19, 2009 10:06 am
Guest
On Mon, 19 Oct 2009 12:01:02 -0300, Jim Diamond wrote:

Quote:
I want to compile something which requires gtk+ 2.16 or greater.

I could compile it into its own location (e.g., /opt/gtk+2), as
opposed to upgrading the system gtk+2, but for reasons that you
probably aren't interested in, I don't want to do that if I can
possibly avoid it.

So before I risk clobbering my system, has anyone else here attempted
doing that? If so, any words of wisdom?

Thanks.
Jim

Dropline Gnome 2.26 provides gtk+2-2.16 on top of Slackware 12.2. That

works for me; YMMV. Also, it looks like gtk+2-2.18 is available for use as
part of the "unstable" branch of several distributions- including
Dropline, Debian, ArchLinux, etc.

If you are to test it, then it is always a good idea to make backups
before making major changes to your system. That way, you have an easy
method to restore your system to a known working state.

--
Douglas Mayne
 
Jim Diamond...
Posted: Mon Oct 19, 2009 10:21 am
Guest
On 2009-10-19 at 13:06 ADT, Douglas Mayne <doug at (no spam) localhost.localnet> wrote:
Quote:
On Mon, 19 Oct 2009 12:01:02 -0300, Jim Diamond wrote:

I want to compile something which requires gtk+ 2.16 or greater.

I could compile it into its own location (e.g., /opt/gtk+2), as
opposed to upgrading the system gtk+2, but for reasons that you
probably aren't interested in, I don't want to do that if I can
possibly avoid it.

So before I risk clobbering my system, has anyone else here attempted
doing that? If so, any words of wisdom?

Thanks.

Dropline Gnome 2.26 provides gtk+2-2.16 on top of Slackware 12.2. That
works for me; YMMV.
Thanks for the pointer, I haven't looked at dropline in a year or three.


Quote:
Also, it looks like gtk+2-2.18 is available for use as part of the
"unstable" branch of several distributions- including Dropline,
Debian, ArchLinux, etc.
I considered trying 2.18, but was trading off its newness vs. the

requirements of the software.

Quote:
If you are to test it, then it is always a good idea to make backups
before making major changes to your system. That way, you have an easy
method to restore your system to a known working state.
Thanks; I think in this case removepkg'ing the updates and

installpkg'ing the original Slackware packages might be the way to
go. (But perhaps you have knowledge to the contrary.)

Cheers.
Jim
 
Douglas Mayne...
Posted: Mon Oct 19, 2009 2:12 pm
Guest
On Mon, 19 Oct 2009 13:21:48 -0300, Jim Diamond wrote:

Quote:
On 2009-10-19 at 13:06 ADT, Douglas Mayne <doug at (no spam) localhost.localnet> wrote:
On Mon, 19 Oct 2009 12:01:02 -0300, Jim Diamond wrote:

I want to compile something which requires gtk+ 2.16 or greater.

I could compile it into its own location (e.g., /opt/gtk+2), as
opposed to upgrading the system gtk+2, but for reasons that you
probably aren't interested in, I don't want to do that if I can
possibly avoid it.

So before I risk clobbering my system, has anyone else here attempted
doing that? If so, any words of wisdom?

Thanks.

Dropline Gnome 2.26 provides gtk+2-2.16 on top of Slackware 12.2. That
works for me; YMMV.
Thanks for the pointer, I haven't looked at dropline in a year or three.

Also, it looks like gtk+2-2.18 is available for use as part of the
"unstable" branch of several distributions- including Dropline,
Debian, ArchLinux, etc.
I considered trying 2.18, but was trading off its newness vs. the
requirements of the software.

If you are to test it, then it is always a good idea to make backups
before making major changes to your system. That way, you have an easy
method to restore your system to a known working state.
Thanks; I think in this case removepkg'ing the updates and
installpkg'ing the original Slackware packages might be the way to
go. (But perhaps you have knowledge to the contrary.)

Cheers.
Jim

You're probably right- that is, if you are very careful in limiting what

packages are installed. For example, if your problem is solved by
installing only gtk+2-2.16 from Dropline, then you could probably use the
standard tools to roll the package back to the official Slackware
package if necesssary. However, if you start by installing a lot of
Dropline Gnome packages, and then end up having to uninstall, it can get
very tricky fast. It might not be possible to practically remove it. In
that case, having the ability to roll back to a known working state is
worth the trouble of making an initial backup. YMMV.

--
Douglas Mayne
 
Robby Workman...
Posted: Tue Nov 03, 2009 1:34 am
Guest
On 2009-10-19, Jim Diamond <Jim.Diamond at (no spam) nospam.AcadiaU.ca> wrote:
Quote:
I want to compile something which requires gtk+ 2.16 or greater.

I could compile it into its own location (e.g., /opt/gtk+2), as
opposed to upgrading the system gtk+2, but for reasons that you
probably aren't interested in, I don't want to do that if I can
possibly avoid it.

So before I risk clobbering my system, has anyone else here attempted
doing that? If so, any words of wisdom?


Sure, it's possible, and while it's not trivial, it's not too
terribly difficult either. Theoretically, gtk is backwards
compatible, but in practice, that's not always the case. For
the most part, it's a pretty safe bet though.

-RW
 
Jim Diamond...
Posted: Mon Nov 30, 2009 10:06 am
Guest
On 2009-11-03 at 02:34 AST, Robby Workman <newsgroups at (no spam) rlworkman.net> wrote:
Quote:
On 2009-10-19, Jim Diamond <Jim.Diamond at (no spam) nospam.AcadiaU.ca> wrote:
I want to compile something which requires gtk+ 2.16 or greater.

I could compile it into its own location (e.g., /opt/gtk+2), as
opposed to upgrading the system gtk+2, but for reasons that you
probably aren't interested in, I don't want to do that if I can
possibly avoid it.

So before I risk clobbering my system, has anyone else here attempted
doing that? If so, any words of wisdom?


Sure, it's possible, and while it's not trivial, it's not too
terribly difficult either. Theoretically, gtk is backwards
compatible, but in practice, that's not always the case. For
the most part, it's a pretty safe bet though.

In case anyone cares:

On Slackware 13.0 I upgraded to pango-1.26.0, glib2-2.22.2 and
gtk+2-2.18.3 and (so far) everything seems to be OK.

On a Slackware 12.2 system, upgrading to glib2-2.22.2 and gtk+2-2.16.6
sufficed.

Jim
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Wed Dec 02, 2009 2:31 pm