LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-26-2007, 12:14 PM   #1
Camarade_Tux
LQ Newbie
 
Registered: Dec 2007
Location: Paris
Distribution: Slackware-current
Posts: 27

Rep: Reputation: 15
Chances for an update to gtk-2.12 in -current ?


Hi,

I'm using slackware-current as a base for a livecd (preliminary infos here).
I need to update gtk+2.12 as I want to use midori (a light gtk+ browser using webkit's rendering).

GTK+2.12 successfully compiled on my computer but now when I use a self compiled gmplayer (compiled after the update to 2.12), I get
Code:
root@A6T-nix:~/ajouts/multimedia/mplayer/MPlayer-1.0rc2# gmplayer
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-52 (Family: 15, Model: 72, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
gmplayer: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_once_init_enter_impl
I think this is because I've not recompiled all gtk-related components. It's not that I'm lazy but I don't have the tools ready (and most important, not much time to get them). Moreover gtk+2.10 is aging ; maybe time for an update.

I don't know whether Patrick reads this board but I don't know of any official mailing-list either so I'm trying my luck here.
Thanks.
 
Old 12-26-2007, 01:29 PM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
yes.. I've been patiently waiting for it as well. I'd like to see a glib2/gtk2/popt/pango/atk update. Last time I checked, cairo is the only one that's being updated regularly. glib2 and gtk2 are WELL into a new stable branch but no activity Slackware side. Doesn't make too much sense, especially seeing as how most new gtk apps require them and bomb on the previous releases...

A real pita for us gtk users but nothing is stopping you from updating them yourself.

I'd also like to see a hicolor-icon-theme update as well. Mind, I haven't checked the changelog in awhile.

But... That error probably stems from the way you've compiled gtk. Or possibly even from not updating the other G libs. If you upgrade GTK, upgrade glib2 is well. I like to upgrade the whole shebang (listed above including cairo). Don't use /usr/local either. That could be your problem as well; Multiple libs in various places. It's definitely a sys.admin/builder issue.

Last edited by jong357; 12-26-2007 at 01:42 PM.
 
Old 12-26-2007, 03:02 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,763

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I think ther are lots of backward-compatibility issues with the newer gtk versions. Already between 2.8 and 2.10 there were lots of porgrams which wouldn't work. I'm sure there are more that 'fall by the wayside' with 2.12. Only programs which are actively developed and updated to the new ABI/API will continue to work. Always a PITA. That's what I like about my slick GTK-1.2 desktop and apps. Absolutely stable since 2002! You'll laugh, but I shout for joy everytime I switch my box on and use those old familiar apps. (At my age learning curve becomes a significant factor...) If only I knew how to code C a little better I'd add bidi and unicode support to GTK-1.2 and fix a few more of the bugs or add a few features to those apps which need them.

jong357, the last time I looked, the hicolor-icon-theme was about 5 years old and is only a fallback for a few apps. Most progs don't use them. Of course I could be wrong -the above paragraph shows my level of interest vis-a-vis gnome/gtk2...

I really do wish that GTK2 would be a viable way to avoid gnome and KDE, but is doesn't seem to be happening. Someday I'll be forced to join the masses. Meanwhile I get lots of work done without having to always update and re-learn. I fully understand that my stance is not at all typical -but I won't apologize for not wanting the distractions...
 
Old 12-26-2007, 03:15 PM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Well, the only breakage I've seen on a Slackware 12 box with regards to upgrading the G libs is with XFCE... And it was some obscure calender program or something like that. That's not to say there aren't others but... Everything seems to chug along just like it did before.

What can I say... I'm a huge GTK2 fan. It's kind of annoying always having to update core Slackware libs after a fresh install.

hicolor-icon-theme is used extensively by various gtk/gnome themes. Lot's of wierd or missing icons on Slackware by sticking with the default package...

You'd see alot less package replacement with various GNOME offerings if updating was done on a more frequent basis in Slackware proper concerning gtk stuff. People like to gripe about package replacement but it's necessary in some cases otherwise the software won't even run on Slack...
 
Old 12-26-2007, 06:04 PM   #5
Camarade_Tux
LQ Newbie
 
Registered: Dec 2007
Location: Paris
Distribution: Slackware-current
Posts: 27

Original Poster
Rep: Reputation: 15
jong357, yup, forgot to use --prefix=/usr, thanks for pointing this out but unfortunately it didn't help. In fact I get the following but gmplayer doesn't work.
Quote:
root@A6T-nix:~/ajouts/multimedia/mplayer/MPlayer-1.0rc2# grep g_once_init_enter_impl /usr/lib/libgdk-x11-2.0.so
Binary file /usr/lib/libgdk-x11-2.0.so matches
Anyway, I don't care that much. A clean build will probably solve this so I'll see another day.


About hicolor, I thought it was not used by gtk but rather kde and as I'm building my livecd around xfce without qt(1), I dropped it. Result : lots of icons were missing, with Rodent or Gnome icon themes.


Apart from that, from gtk+2.12 changelog,
Quote:
Overview of Changes from GTK+ 2.11.6 to 2.12.0
==============================================

* GtkTooltips
- All widgets have been ported to the new tooltips code
...
I guess there have been changes to the apparent API. Moreover IIRC this was not the first change so I would understand a maintainer is reticent to update.
I think gtk is improving and is now really nice (my first contact with gtk was under windows several years ago and was not that good)but qt seems much more professional with few changes to its api


(1) it seems every OSS app with a gui that does not target kde uses gtk so qt's 70MB were sheer loss for my livecd plus I need gtk for some of my ocaml stuff
 
Old 12-26-2007, 08:00 PM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Well.. That's what I was talking about. Make sure the only libgdk-x11 resides in /usr/lib.. If so, run "ldd" on it. Make sure there are no non-standard locations listed in there. Some people on the web were saying that there was a duplicate in their opt/kde directory and that was the cause of the problem. (yep, I googled your error, you should too)

Seems to be bad packaging/installation related. Dunno. "Works For Me" (Patent Pending udrepper@redhat.com) Actually, I think McGuyver came up with that first.

And yea.. hicolor is actively used thus is a BAD idea to be using such an old version of it.

Last edited by jong357; 12-26-2007 at 08:06 PM.
 
Old 12-27-2007, 01:08 PM   #7
Camarade_Tux
LQ Newbie
 
Registered: Dec 2007
Location: Paris
Distribution: Slackware-current
Posts: 27

Original Poster
Rep: Reputation: 15
Solved the problem. Thanks.

About google, I googled too and got no interesting results and in fact I never found the proper keywords when dealing with such. Which keywords did you use ?

Also for hicolor, forgot to say that even in xfce with gnome-theme, I lack many icons.
 
Old 12-28-2007, 12:26 AM   #8
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I just googled for "g_once_init_enter_impl"

Lot's O' Hits and the general consensus was that there were duplicate libraries on the system. /opt/kde and /usr/local were common. Why gtk+2 libs were in /opt/kde, I'll never know... They shouldn't even be in /usr/local.
 
Old 12-28-2007, 04:19 AM   #9
Camarade_Tux
LQ Newbie
 
Registered: Dec 2007
Location: Paris
Distribution: Slackware-current
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks. I was surprized because when I did I had mostly uninteresting results.
One annoying thing with google is how it displays results corresponding to your locales settings first which is especially frustrating when you're french and searching for computer-related information. <_<
 
Old 12-28-2007, 08:51 AM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,763

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I've got a cool tip for you. Try clusty.com (vivisimo.com). About 4 years ago I tried it and since then I have only used google about 3 or 4 times -when clusty didn't show something that I was sure existed. Try it a couple of times and I'll bet you take the word google out of your vocabulary! I hate wasting time looking at the second an third (much less the tenth page to find what I want. clusty.com shows me exactly what I'm looking for -nearly always on the first page. The 'clustering' of similar hits is handy too.
 
Old 12-28-2007, 12:53 PM   #11
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
Quote:
Originally Posted by gnashley View Post
I've got a cool tip for you. Try clusty.com (vivisimo.com). About 4 years ago I tried it and since then I have only used google about 3 or 4 times -when clusty didn't show something that I was sure existed. Try it a couple of times and I'll bet you take the word google out of your vocabulary! I hate wasting time looking at the second an third (much less the tenth page to find what I want. clusty.com shows me exactly what I'm looking for -nearly always on the first page. The 'clustering' of similar hits is handy too.
Gnashley,

As always, a good tip coming from you. Actually thanks for reminding since I used vivisimo.com frequently about the same time you mentioned you found it and subsequently forgot about it. I can conveniently blame it on information overload. Thanks!
 
Old 12-29-2007, 03:44 AM   #12
Camarade_Tux
LQ Newbie
 
Registered: Dec 2007
Location: Paris
Distribution: Slackware-current
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks. It looks nice indeed, especially what you call the clustering.
 
Old 12-29-2007, 05:10 AM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,763

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
The clusty.com interface is a bit faster to load than vivisimo.com, though otherwise they are the same. Bye, Bye Google!
 
Old 12-31-2007, 03:20 AM   #14
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Quote:
Originally Posted by Camarade_Tux View Post
Solved the problem. Thanks.

About google, I googled too and got no interesting results and in fact I never found the proper keywords when dealing with such. Which keywords did you use ?

Also for hicolor, forgot to say that even in xfce with gnome-theme, I lack many icons.
That's because Thunar's support for icons is crap. It seems like it simply has no idea how to handle about half the icon themes Slackware ships.
 
Old 01-01-2008, 04:43 AM   #15
Camarade_Tux
LQ Newbie
 
Registered: Dec 2007
Location: Paris
Distribution: Slackware-current
Posts: 27

Original Poster
Rep: Reputation: 15
As I've stated, I'm building a livecd and therefore have memory and space constraints so I don't use xfce with kde icon themes, only rodent (in xfce's package) or gnome which I prefer.

But hicolor icon theme from freedesktop is a bit different from the one slackware ships...
Quote:
(note: it doesn't contains any icons)
-rw-r--r-- 1 root 33K 2008-01-01 11:44 hicolor-icon-theme-0.10.tar.gz

Anyway the problem may rather be icon themes in slackware were designed before freedesktop existed and xfce only (?) implements freedesktop's spec.
But in fact this is not a problem as hicolor/crystal really don't mix well with gtk. xfce looks much better with gnome-icon-theme or even better with tango (plus once compressed, tango takes less space which is good regarding my space constraints ). If you want kde, use crystal, if you want xfce, use tango.

And as for thunar, I don't use it because I find it lacks some customization capacities (the address bar especially), tabs and displays a super-user warning (a livecd is a ro filesystem so you can't damage anything). I use pcmanfm (user-friendly) or emelfm2 (mc look), ... when I don't have konqueror available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GTK+ 2.10.x on Slackware-current? AntZero Slackware 1 09-22-2006 12:48 AM
Xterminal + current GTK = segfault crxssi Linux - Software 3 01-28-2006 06:58 PM
GTK installing from Slackware current AhYup Slackware 3 06-25-2005 11:26 AM
Problem with current and gtk nikko Slackware 9 01-03-2005 01:37 PM
What are the chances? BajaNick General 14 09-13-2003 10:49 PM


All times are GMT -5. The time now is 02:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration