LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2008, 04:19 AM   #1
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 45

Rep: Reputation: 15
XFCE, Gnome, and gtk 2.11+


I had a nice installation of Slackware 12.0 and I wanted to install Gnome (from GSB, Freerock) to get some of the utilities I use like gnumeric/abiword/etc.

My main WM is XFCE. After installing Gnome, I started to get random hanging of XFCE. The xfwm4 process was taking up most of the CPU and the computer became unusable.

After some searching on Google, I found others who pointed to a problem with XFCE 4.4.1 and gtk2 (2.11+). I would really like to install gnumeric/abiword but they both seem to require GOffice which requires many of the new libraries like gtk 2.11+.

I did notice that slackware-current had XFCE 4.4.2, which apparently has fixed the conflict with gtk 2.11+. I tried installing it with some other dependencies but it only created more problems on my system.

I'm hoping that would eventually make it into the patches area for slackware 12.0 (perhaps). Otherwise, I'm stuck not being able to use the Gnome applications.

Does anyone know if the current work done in "current" gets moved over to "patches" eventually?

If not, what would you recommend I do to get the Gnome apps?

Thanks.
 
Old 04-04-2008, 10:25 AM   #2
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Do you really have Gtk 2.11? It's the development version. Maybe the issue is fixed in the stable 2.12 series. But AFAIK there were some important changes from 2.10 to 2.12 and 2.12 could be incompatible with the XFCE binaries of Slackware 12.0. If so, you may try recompiling XFCE with 2.12 using the Slackbuild script (which you can get from the /source directory of the installation DVD, or just download from a mirror).
 
Old 04-04-2008, 10:51 AM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by jbum View Post
I had a nice installation of Slackware 12.0 and I wanted to install Gnome (from GSB, Freerock) to get some of the utilities I use like gnumeric/abiword/etc.

My main WM is XFCE. After installing Gnome, I started to get random hanging of XFCE. The xfwm4 process was taking up most of the CPU and the computer became unusable.

After some searching on Google, I found others who pointed to a problem with XFCE 4.4.1 and gtk2 (2.11+). I would really like to install gnumeric/abiword but they both seem to require GOffice which requires many of the new libraries like gtk 2.11+.
No, they don't. Alex Lysenka has a build script somewhere (sorry, I don't have a link) for gnumeric - it requires goffice (which will build on 12.0 just fine) and intltool (also will build just fine), and if I recall correctly, those are the only two dependencies not in stock Slackware.
The only other issue is that you will need to upgrade the libgsf in 12.0 to the version in -current --- DO NOT install the -current *package* - *compile* the version in -current using the build script for it.

I've build the latest gnumeric release on Slackware -current, and it only needs goffice, so you might have better luck with it, although there is a chance that it won't build on 12.0.

I did notice that slackware-current had XFCE 4.4.2, which apparently has fixed the conflict with gtk 2.11+. I tried installing it with some other dependencies but it only created more problems on my system.

Quote:
I'm hoping that would eventually make it into the patches area for slackware 12.0 (perhaps). Otherwise, I'm stuck not being able to use the Gnome applications.

Does anyone know if the current work done in "current" gets moved over to "patches" eventually?
Not going to happen in this case - there's no need for it whatsoever. Slackware 12.0 ships gtk-2.10.x, so why would a patch for something that only affects later gtk be added?

Now, with all that said, I have a package of xfce-4.4.2 for 12.0 on my site, so you might get lucky with it.
 
Old 04-04-2008, 10:54 AM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Ilgar View Post
Do you really have Gtk 2.11? It's the development version. Maybe the issue is fixed in the stable 2.12 series.
The fix was to Xfce, not Gtk.

Quote:
But AFAIK there were some important changes from 2.10 to 2.12 and 2.12 could be incompatible with the XFCE binaries of Slackware 12.0.
Nah, they'll run fine with newer gtk - it's backward compatible (at least in theory - there may very well be some exceptions).

Quote:
If so, you may try recompiling XFCE with 2.12 using the Slackbuild script (which you can get from the /source directory of the installation DVD, or just download from a mirror).
Not if 4.4.1 is what's recompiled. Besides, if you're going to be building it anyway, better to use 4.4.2 (plus the three patches applied in -current).
 
Old 04-04-2008, 01:53 PM   #5
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by rworkman View Post
Nah, they'll run fine with newer gtk - it's backward compatible (at least in theory - there may very well be some exceptions).
Yes there are some exceptions in this case (item #6):
http://gtk.org/notes/gtk-2.12.0-notes.txt

Quote:
Not if 4.4.1 is what's recompiled. Besides, if you're going to be building it anyway, better to use 4.4.2 (plus the three patches applied in -current).
You're right, what I meant to say was to grab the sources and script for 4.4.2 in current/.
 
Old 04-04-2008, 02:07 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by Ilgar View Post
Yes there are some exceptions in this case (item #6):
http://gtk.org/notes/gtk-2.12.0-notes.txt
Ah yes, and that looks strangely familiar
 
Old 04-05-2008, 10:30 PM   #7
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Ilgar View Post
Do you really have Gtk 2.11? It's the development version. Maybe the issue is fixed in the stable 2.12 series. But AFAIK there were some important changes from 2.10 to 2.12 and 2.12 could be incompatible with the XFCE binaries of Slackware 12.0. If so, you may try recompiling XFCE with 2.12 using the Slackbuild script (which you can get from the /source directory of the installation DVD, or just download from a mirror).
Oh, I didn't mean I had gtk 2.11. Just that anything 2.11 or higher seems to be incompatible with xfce 4.4.1. There is apparently a bug in xfce that shows up with the newer versions of gtk.
 
Old 04-05-2008, 10:41 PM   #8
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rworkman View Post
No, they don't. Alex Lysenka has a build script somewhere (sorry, I don't have a link) for gnumeric - it requires goffice (which will build on 12.0 just fine) and intltool (also will build just fine), and if I recall correctly, those are the only two dependencies not in stock Slackware.
The only other issue is that you will need to upgrade the libgsf in 12.0 to the version in -current --- DO NOT install the -current *package* - *compile* the version in -current using the build script for it.

I've build the latest gnumeric release on Slackware -current, and it only needs goffice, so you might have better luck with it, although there is a chance that it won't build on 12.0.

I did notice that slackware-current had XFCE 4.4.2, which apparently has fixed the conflict with gtk 2.11+. I tried installing it with some other dependencies but it only created more problems on my system.



Not going to happen in this case - there's no need for it whatsoever. Slackware 12.0 ships gtk-2.10.x, so why would a patch for something that only affects later gtk be added?

Now, with all that said, I have a package of xfce-4.4.2 for 12.0 on my site, so you might get lucky with it.
Thanks for this. I'll try the slackbuild first. I think once I get xfce upgraded, i should be able to install the Freerock Gnome packages without problems.

Thanks!
 
Old 04-07-2008, 05:55 PM   #9
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 15
rworkman,

I went over to the slackware-current sources and recompiled xfce 4.4.2 in my system. It worked like a charm and I was able to get the GSB Gnome package installed.

No bugs yet... I think that solved it.

Thanks!
 
Old 04-07-2008, 10:36 PM   #10
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
jbum:
Unless you just did that today (after the last xfce rebuild in -current), you want to do it again. The lines in the (previous) build script for xfce didn't apply two of the patches at all, so you'll want to rebuild it with them applied. Sorry for the inconvenience - those were my mistake, not Pat's.
 
Old 04-08-2008, 01:19 PM   #11
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rworkman View Post
jbum:
Unless you just did that today (after the last xfce rebuild in -current), you want to do it again. The lines in the (previous) build script for xfce didn't apply two of the patches at all, so you'll want to rebuild it with them applied. Sorry for the inconvenience - those were my mistake, not Pat's.
Really?

I took a peek at the slackbuild script and I "thought" I saw a couple of lines having to do with patching with the diff files that were present in the xfce directory.

I guess I can build the xfce package again.

Thanks for the heads up.
 
Old 04-09-2008, 11:56 AM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by jbum View Post
I took a peek at the slackbuild script and I "thought" I saw a couple of lines having to do with patching with the diff files that were present in the xfce directory.
The lines were indeed there, but they weren't doing what they were supposed to be doing
 
Old 04-09-2008, 11:54 PM   #13
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rworkman View Post
The lines were indeed there, but they weren't doing what they were supposed to be doing
Hehe. That's cool. I'll rebuild the xfce package and do a "installpkg" again.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Was Using Gnome, now I think XFCE, want Gnome Back ed_homeLinux Linux - Desktop 7 02-14-2007 09:20 AM
Shared Libraries Problem.....GTK/xfce/Nicotine!! slacksteep Slackware 4 11-05-2006 06:06 PM
Using a GTK+ 2.0 Style under Xfce? sausagejohnson Linux - General 1 12-06-2005 03:54 AM
How-to guide for designing XFCE/GTK themes erraticassassin Linux - General 1 06-26-2005 06:35 AM
New projects: Xfce and GTK themes, also, setting up a grphical login... Kuroyume Amigo 8 12-12-2004 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration