Cairo-dock

Hm, can anybody install cairo-dock on freebsd 7.2?

http://www.cairo-dock.org/

i have this compilation problem:
Code:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:226,
                 from cairo-dock-config.c:12:
/usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype
cairo-dock-config.c:19:19: error: crypt.h: No such file or directory
In file included from cairo-dock-draw-opengl.h:9,
                 from cairo-dock-config.c:29:
/usr/local/include/GL/glu.h:287: warning: function declaration isn't a prototype
cairo-dock-config.c: In function 'cairo_dock_decrypt_string':
cairo-dock-config.c:868: error: implicit declaration of function 'encrypt'
 
i am very interested :) i use it on linux and i am moving to FreeBSD these days, just backing up my stuff first :)
but i don't know russian ;)
could you plz translate what you wrote in that link? :)
 
Hm... sorry for my english
FreeBSD can run linux programs in some kind of emulator
I just install port linux-base-f10
Than, download these rpms:
Code:
cairo-dock-1.6.3-0.3.rc1.fc10.i386.rpm
cairo-dock-themes-1.6.3-0.3.rc1.fc10.i386.rpm
dbus-1.2.4-1.fc10.i386.rpm
dbus-glib-0.76-3.fc10.i386.rpm
dbus-libs-1.2.4-4.fc10.i386.rpm
glib2-2.18.2-3.fc10.i386.rpm
glitz-0.5.6-6.fc10.i386.rpm
gtk2-engines-2.16.1-1.fc10.i386.rpm
libcroco-0.6.1-5.fc9.i386.rpm
libgsf-1.14.10-1.fc10.i386.rpm
librsvg2-2.22.3-1.fc10.i386.rpm
libxml2-2.7.2-1.fc10.i386.rpm
Than, uncompress it to /usr/compat:
Code:
[Usaaf@freeUsaaf /usr/home/Usaaf/Downloads]$ su
[root@freeUsaaf /usr/home/Usaaf/Downloads]# cd /compat/linux/
[root@freeUsaaf /compat/linux]# rpm2cpio -q < /usr/home/Usaaf/Downloads/gtk2-engines-2.16.1-1.fc10.i386.rpm | cpio -id
Then run:
Code:
/compat/linux/usr/bin/cairo-dock
 
no problem, thank you very much :) :)
i will try it as soon as i install FreeBSD and tell you the results, i will hopefully do that later today :)

edit:
working like charm, thanks so much
:e :e
 
that is great!! could you please write a port for it? i can't compile it :\

Code:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:228,
                 from cairo-dock-config.c:23:
/usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype
cairo-dock-config.c:30:19: error: crypt.h: No such file or directory
In file included from cairo-dock-draw-opengl.h:28,
                 from cairo-dock-config.c:40:
/usr/local/include/GL/glu.h:287: warning: function declaration isn't a prototype
cairo-dock-config.c: In function 'cairo_dock_decrypt_string':
cairo-dock-config.c:862: error: implicit declaration of function 'encrypt'
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0/src.
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0/src.
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0.
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0.
 
BeautifulFish said:
that is great!! could you please write a port for it? i can't compile it :\

Code:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:228,
                 from cairo-dock-config.c:23:
/usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype
cairo-dock-config.c:30:19: error: crypt.h: No such file or directory
In file included from cairo-dock-draw-opengl.h:28,
                 from cairo-dock-config.c:40:
/usr/local/include/GL/glu.h:287: warning: function declaration isn't a prototype
cairo-dock-config.c: In function 'cairo_dock_decrypt_string':
cairo-dock-config.c:862: error: implicit declaration of function 'encrypt'
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0/src.
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0/src.
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0.
*** Error code 1

Stop in /tmp/cairo-dock-2.1.0.

I got passed that error by editing configure starting at line 15046,
Code:
# if test "$LIBCRYPT_LIBS" != ""; then
#  HAVE_LIBCRYPT_TRUE=
#  HAVE_LIBCRYPT_FALSE='#'
# else
  HAVE_LIBCRYPT_TRUE='#'
  HAVE_LIBCRYPT_FALSE=
#fi

I did this after trying libgcrypt and other with the same error.
The build fails know at

Code:
Making all in po
Error expanding embedded variable.
*** Error code 1

Stop in /usr/local/tmp/cairo-dock-2.1.0.
*** Error code 1

It built a cairo-dock executable so I tried make install, and everything except the po directory installed. I haven't been able to see if it runs because I'm doing all this remotely.
 
Something resembling a port (cairo-dock-core only, no plugins yet).
 

Attachments

  • cairo-dock.shar.bz2
    2.9 KB · Views: 200
Here's a screen. I got a few of the plugins working.



Having trouble compiling all because I get a trouble expanding embedded variable, in the src/po directory. Haven't looked into all that much(been busy). So I just compile a few of the plugins in the subdirectories and installed.
 
i compiled many plugins too even though i don't use them, the weather plugin looks cool, but i can't compile it :\

Code:
applet-notifications.c: In function 'cd_weather_show_forecast_dialog':
applet-notifications.c:120: error: too many arguments to function 'cairo_dock_show_temporary_dialog_with_icon'
applet-notifications.c: In function 'cd_weather_show_current_conditions_dialog':
applet-notifications.c:155: error: too many arguments to function 'cairo_dock_show_temporary_dialog_with_icon'
*** Error code 1

Stop in /tmp/cairo-dock_plugins/weather/src.
 
Back
Top