Compilation error: cairo-dock-icon-manager.c : storage size of ‘s_aMutexLookupIcon’ isn’t known

Bug #1007286 reported by Write2david
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
Fix Released
Undecided
Matthieu Baerts

Bug Description

Compiling latest BZR revision (1088) fails with:

/var/tmp/portage/x11-misc/cairo-dock-9999/work/cairo-dock-9999/src/gldit/cairo-dock-icon-manager.c:75:15: error: storage size of ‘s_aMutexLookupIcon’ isn’t known

I realize that I am using a development version (not an official release) and I realize that I do not understand the error message, so feel free to close this bug as "INVALID" if appropriate.

I decided to file a bug report because I noticed that "cairo-dock-icon-manager.c" was edited recently.

Build log is attached.

Revision history for this message
Write2david (write2david) wrote :
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Hello and thank you for this bug report!

Is it better with this patch? http://pastebin.com/336wuZbd

Revision history for this message
Matthieu Baerts (matttbe) wrote :

Ok, I think if found what's wrong: with older versions of GLib (< 2.32) we have to use a GStaticMutex instead of a GMutex
Can you try to compile (and launch) the latest rev from BZR (rev 1090)?

Revision history for this message
Write2david (write2david) wrote :

Compiling and launching with the latest rev is now working fine. Thank you for your time on this!

Revision history for this message
Matthieu Baerts (matttbe) wrote :

PS: I modify the version from 3.1.0-0alpha0 to 3.0.99.0alpha0. It can be interesting to modify to modify a few config files: simply compile and install the latest version from bzr (core and plug-ins), then quit the dock and launch this command:

   $ grep "3.1.0-0alpha0" ~/.config/cairo-dock/current_theme/launchers/*.desktop ~/.config/cairo-dock/current_theme/*.conf ~/.config/cairo-dock/.cairo-dock -l | xargs sed -i "s/3\.1\.0-/3.0.99./g"

Changed in cairo-dock-core:
assignee: nobody → Matthieu Baerts (matttbe)
status: New → Fix Released
Revision history for this message
José Filipe (jfilipe) wrote :

how i do it ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.