You are not logged in.

#1 2010-04-20 14:59:27

Milena
Member
Registered: 2010-04-02
Posts: 67

[SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Hi

I did an system update through pacman today:

[2010-04-20 16:33] upgraded gtkglext (1.2.0-2 -> 1.2.0-3)
[2010-04-20 16:33] upgraded imagemagick (6.6.0.10-1 -> 6.6.1.4-1)
[2010-04-20 16:33] upgraded libcddb (1.3.2-1.1 -> 1.3.2-2)
[2010-04-20 16:33] upgraded libsidplay (1.36.59-3 -> 1.36.59-4)
[2010-04-20 16:33] upgraded libvisual (0.4.0-2 -> 0.4.0-3)
[2010-04-20 16:33] upgraded mime-types (1.0-2 -> 1.0-3)
[2010-04-20 16:33] upgraded recode (3.6-3 -> 3.6-4)

I restarted and cairo-dock does not load anymore, the terminal output is:

[milena@MilenaPC ~]$ cairo-dock -o

 ============================================================================ 
    Cairo-Dock version: 2.1.3-7
    Compiled date:  Apr 17 2010 15:15:48
    Running with OpenGL: 1
 ============================================================================

cairo-dock: symbol lookup error: /usr/lib/libgtkglext-x11-1.0.so.0: undefined symbol: GTK_WIDGET_NO_WINDOW

What can I do ?

Many thanks in advance

Last edited by Milena (2010-04-22 20:59:08)

Offline

#2 2010-04-20 15:05:43

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Try rebuilding it.

Offline

#3 2010-04-20 15:12:30

Milena
Member
Registered: 2010-04-02
Posts: 67

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Thanks for the reply, there are already some comments at the AUR page: http://aur.archlinux.org/packages.php?ID=15201

(Re)building fails here too.

Offline

#4 2010-04-20 15:15:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

it helps if you paste the errors from compilation.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-04-20 15:27:32

Milena
Member
Registered: 2010-04-02
Posts: 67

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

This is what I get:

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_REALIZED'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_TOPLEVEL'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../lib/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_NO_WINDOW'
collect2: ld returned 1 exit status
make[3]: *** [cairo-dock] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-milena/aur-cairo-dock/cairo-dock/src/cairo-dock-2.1.3-7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-milena/aur-cairo-dock/cairo-dock/src/cairo-dock-2.1.3-7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-milena/aur-cairo-dock/cairo-dock/src/cairo-dock-2.1.3-7'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build cairo-dock package.

For now I downgraded to gtkglext-1.2.0-2-x86_64.pkg.tar.gz and the dock works again.

Offline

#6 2010-04-20 16:18:46

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

that's a bug in gtkglext. please submit it on our bugtracker. it has to be patched because some macros in gtk2 2.20 was deprecated

http://library.gnome.org/devel/gtk/stab … idget.html

EDIT: here is a patch for that, let me know if is working fine http://some

Last edited by wonder (2010-04-20 18:34:58)


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-04-20 16:35:19

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Someone reported it already here.

Offline

#8 2010-04-20 16:49:33

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

@wonder
thanks for the patch.

cairo-dock starts now, but does not display anything. It spams a lot of errors and warnings, the relevant ones should be these three:

gtk_widget_set_gl_capability: assertion `!gtk_widget_get_has_window (widget)' failed
gdk_gl_drawable_gl_begin: assertion `GDK_IS_GL_DRAWABLE (gldrawable)' failed
gdk_x11_gl_context_get_glxcontext: assertion `GDK_IS_GL_CONTEXT_IMPL_X11 (glcontext)' failed

repeating itself ad infinitum in varying combinations. let me know if I can be of any help fixing this.

ps: uhh, I applied the patch with "cat patchfile | patch -p1" inside the src directory, hope that was right... *off reading man patch*

Last edited by hokasch (2010-04-20 17:01:00)

Offline

#9 2010-04-20 17:45:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2010-04-20 17:58:07

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Yeah! works fine...
cairo-dock still spits out a stream of warnings, but I think they've always been there. From all I can see, it works as expected.
Thanks for the quick fix!! you should attach it to the bug linked above.

p.s.: I have to emphasize this: you guys just rock! I mean, look at this, from problem reported (on bbs) to fixed in 3 hours. Thanks again for the time and work you put into arch!

Last edited by hokasch (2010-04-20 18:11:22)

Offline

#11 2010-04-20 18:18:02

Milena
Member
Registered: 2010-04-02
Posts: 67

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Thanks for the quick info and solution smile

Offline

#12 2010-04-20 18:23:41

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

thanks for testing, i'll commit the patch to our package now. no need to report on our tracker


Give what you have. To someone, it may be better than you dare to think.

Offline

#13 2010-04-20 22:03:50

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

guess it is easier to follow up here instead of the bugtracker:

the new package in extra doesn't work, looks like there is one bang too much at line 46 in the patch:

gtk2.20.patch wrote:

+  g_return_val_if_fail (!gtk_widget_get_has_window (widget), FALSE);

vs

pastebin.patch above wrote:

+  g_return_val_if_fail (gtk_widget_get_has_window (widget), FALSE);

Last edited by hokasch (2010-04-20 22:07:59)

Offline

#14 2010-04-20 22:07:54

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

@hokasch oh i was drunk on something. thanks

Last edited by wonder (2010-04-20 22:09:27)


Give what you have. To someone, it may be better than you dare to think.

Offline

#15 2010-04-20 22:11:02

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Noroc! wink

Last edited by hokasch (2010-04-20 22:15:09)

Offline

#16 2010-04-20 22:13:57

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

now should be fixed. i was pretty sure that i didn't touch the patch since i last submitted on the pastebin, but seems that i was wrong.


Give what you have. To someone, it may be better than you dare to think.

Offline

#17 2010-04-20 22:44:10

lasu1
Member
Registered: 2010-02-10
Posts: 83

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Any help on applying the patch? I tried doing the cat patchfile.... bit mentioned above, but to no avail. My src directories all seem to be empty.

I tried copying the package to a directory in ~/home, and then applying the patch. When the prompt asked for a file to apply the patch to, I supplied it with the gtkglext package. It then lists 8 "Hunks," and notes that it failed to patch any of those hunks. The rejects are then saved to a file.

I'm sorry, I'm not much a frequent "file patcher" (stick to "safe" stuff ;-) ), and the only information I could find on the wiki pertained to ABS, which I don't think pertains to me here.

Well, now that I think of it, I guess I'll try the ABS route.

EDIT: Durr...now I'm reading ABS on the wiki (never used it before, like I said....generally use stuff from the repos, unaltered). ABS is syncing...I've got a feeling this is what I should be doing!

Last edited by lasu1 (2010-04-20 22:46:23)

Offline

#18 2010-04-20 22:46:56

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)


Give what you have. To someone, it may be better than you dare to think.

Offline

#19 2010-04-20 23:42:13

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

@lasu1
if you want to find out, just have a look how it is done in the PKGBUILD - I haven't used patch manually till today either. also makepkg's -o and -e switches are pretty convenient...

Offline

#20 2010-04-20 23:57:32

lasu1
Member
Registered: 2010-02-10
Posts: 83

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

I love you guys.

It worked perfectly.

So, not only did I get my first stab at the ABS (something I'd always want to try out), and patch something for the first time, I also got a link to a complete version of the package.

Thanks so much, everyone.

Offline

#21 2010-04-21 01:24:48

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Saw this behaviour, rebuilt cairo-dock (no effect), googled and came up with this thread. You rock wonder smile.

OP, please mark solved.

Also, a bit off-topic, I realized it could run non-opengl just fine. The benefit of opengl is only in less CPU usage, isn't it?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#22 2010-04-21 01:33:11

lasu1
Member
Registered: 2010-02-10
Posts: 83

Re: [SOLVED]Cairo-dock not working anymore since last updates (gtkglext)

Seriously though...wow...that bug was fixed in like...an hour....I'm still sort of in shock about how quickly the patch was released...totally cool.

Offline

Board footer

Powered by FluxBB