Unix Technical Forum

GTK2

This is a discussion on GTK2 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Is it easy to upgrade SL81 (with GTK1.2) to GTK2? Thanks JB...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 07:37 PM
J Boehm
 
Posts: n/a
Default GTK2

Is it easy to upgrade SL81 (with GTK1.2) to GTK2?

Thanks

JB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 07:37 PM
Erik L
 
Posts: n/a
Default Re: GTK2

On Wed, 05 Nov 2003 08:15:46 +0100, J Boehm wrote:

> Is it easy to upgrade SL81 (with GTK1.2) to GTK2?


Yes. Just bare in mind that (I'm pretty sure of this, not 100% though),
GTK2 does NOT replace GTK1.2... You need both of them.
You can for instance not satisfy a 1.2 dependency with GTK2.x.

But the installation itself is rather simple. Just standard.

Good luck.

--
Erik L
erik@metalab.unc.edu
Sweden

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 07:37 PM
Blumf
 
Posts: n/a
Default Re: GTK2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

J Boehm wrote:

> Is it easy to upgrade SL81 (with GTK1.2) to GTK2?


I just did a source build, no problems. The site points to all the
dependancies you'll need. Leave the 1.2 stuff on there for the std. apps
compiled against it.

Blumf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/qMJlMid3IcxolsoRAmlDAJ9Cfz8Is3EJ7E3dm04LSrcNPSu9Og CeOOWg
83UR8/Ntmx4tgykrrK4ChhU=
=Uiuh
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 07:37 PM
Joost Kremers
 
Posts: n/a
Default Re: GTK2

Erik L wrote:
> On Wed, 05 Nov 2003 08:15:46 +0100, J Boehm wrote:
>
>> Is it easy to upgrade SL81 (with GTK1.2) to GTK2?

>
> Yes. Just bare in mind that (I'm pretty sure of this, not 100% though),
> GTK2 does NOT replace GTK1.2... You need both of them.


luckily it is very simple to have both of them installed together. i
installed gtk+2 from source, with gtk+1.2 installed. the presence of
gtk+1.2 never interfered with the build of gtk+2, and when i now compile a
program that requires gtk+, it just picks the right version (or sometimes
you can specify the version).

getting gtk+2 on an 8.1 system is not difficult, but it does take some
work, because it depends on a lot of other packages that 8.1 does not
have. like i said, i did this in the past two weeks, installing gtk+2 on a
mixed 8.1/9.0 system, so let me outline what i did. (i'd give you my
packages, but they're for powerpc, so i doubt they're of any use to you.)

first, i compiled xfree86 4.3.0. i heard gtk+2 is more stable with this
version, and i wanted the xft support. for xfree86 4.3.0 to compile, i
needed freetype and expat. freetype should be built during the build of
xfree86, if you use Pat's build script, but that didn't work for me, so i
built it by hand first. (actually, i ended up not using Pat's build script
at all for xfree86.) it may work for you, though.

then i compiled glib2, which (i think) is needed for gtk+2.

then i compiled atk and pango, which are required by gtk+2. then i compiled
gtk+2, and then gdk-pixbuf.

the easiest way to do all this is to get the source and build or Slackbuild
scripts plus any additional stuff for the required packages from your
favourite slackware mirror. then get slacktrack from
<http://www.interlude.org.uk/unix/slackware/>. slacktrack will run the
build scripts for you and create a package out of them. (note that the
<package>.build scripts do not create packages, only the
<package>.Slackbuild scripts do.)

before you install a package created with slacktrack, check it thoroughly,
by less-ing the package and by examining the log file created by
slacktrack. slacktrack normally does not terminate when an error occurs, so
you always end up with a package, but if something went wrong, it won't
contain the programs you were trying to compile.

--
Joost Kremers
since when is vi an editor? a discussion on vi belongs in
comp.tools.unusable or something... ;-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 07:40 PM
J Boehm
 
Posts: n/a
Default Re: GTK2

On Wed, 05 Nov 2003 11:56:20 +0100, Erik L wrote:

> On Wed, 05 Nov 2003 08:15:46 +0100, J Boehm wrote:
>
>> Is it easy to upgrade SL81 (with GTK1.2) to GTK2?

>
> Yes. Just bare in mind that (I'm pretty sure of this, not 100% though),
> GTK2 does NOT replace GTK1.2... You need both of them. You can for
> instance not satisfy a 1.2 dependency with GTK2.x.
>
> But the installation itself is rather simple. Just standard.
>
> Good luck.


Many thanks

JB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com