Cairo-dock

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Cairo-dock

Postby Usaaf » 14 Jul 2009, 05:50

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

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

i have this compilation problem:
Code: Select all
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'

Usaaf
Junior Member
 
Posts: 7
Joined: 02 Jun 2009, 07:31

Postby Usaaf » 24 Jul 2009, 17:21

My dreams come true :]
Robert Noland want ti add cairo-dock to ports
Usaaf
Junior Member
 
Posts: 7
Joined: 02 Jun 2009, 07:31

Postby BeautifulFish » 05 Dec 2009, 01:43

any news about it? :)
BeautifulFish
Junior Member
 
Posts: 80
Joined: 18 Jun 2009, 05:12

Postby Usaaf » 06 Dec 2009, 08:45

Usaaf
Junior Member
 
Posts: 7
Joined: 02 Jun 2009, 07:31

Postby BeautifulFish » 09 Dec 2009, 00:09

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? :)
BeautifulFish
Junior Member
 
Posts: 80
Joined: 18 Jun 2009, 05:12

Postby Usaaf » 09 Dec 2009, 10:53

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: Select all
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: Select all
[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: Select all
/compat/linux/usr/bin/cairo-dock
Usaaf
Junior Member
 
Posts: 7
Joined: 02 Jun 2009, 07:31

Postby BeautifulFish » 10 Dec 2009, 05:08

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 :)

[color="Blue"]edit:
working like charm, thanks so much[/color] :e :e
BeautifulFish
Junior Member
 
Posts: 80
Joined: 18 Jun 2009, 05:12

Postby fidaj » 15 Jan 2010, 12:21

fidaj
Junior Member
 
Posts: 49
Joined: 16 Nov 2008, 17:29

Postby fidaj » 15 Jan 2010, 13:45

fidaj
Junior Member
 
Posts: 49
Joined: 16 Nov 2008, 17:29

Postby BeautifulFish » 15 Jan 2010, 16:02

that is great!! could you please write a port for it? i can't compile it :\

Code: Select all
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
Junior Member
 
Posts: 80
Joined: 18 Jun 2009, 05:12

Postby roddierod » 15 Jan 2010, 16:18

BeautifulFish wrote:that is great!! could you please write a port for it? i can't compile it :\

Code: Select all
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: Select all
# 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: Select all
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.
User avatar
roddierod
Member
 
Posts: 697
Joined: 17 Nov 2008, 12:36
Location: On my Slingerlands!

Postby crsd » 15 Jan 2010, 17:35

Something resembling a port (cairo-dock-core only, no plugins yet).
Attachments
cairo-dock.shar.bz2
(2.92 KiB) Downloaded 69 times
crsd
Member
 
Posts: 420
Joined: 24 Nov 2008, 02:15
Location: Russia, Krasnodar

Postby BeautifulFish » 15 Jan 2010, 19:47

thanks very much roddierod and crsd :)
the port is working :e
BeautifulFish
Junior Member
 
Posts: 80
Joined: 18 Jun 2009, 05:12

Postby Usaaf » 16 Jan 2010, 10:00

That's nice =) FreeBSD 8.0 rulez
Usaaf
Junior Member
 
Posts: 7
Joined: 02 Jun 2009, 07:31

Postby roddierod » 17 Jan 2010, 13:29

Here's a screen. I got a few of the plugins working.

Image

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.
User avatar
roddierod
Member
 
Posts: 697
Joined: 17 Nov 2008, 12:36
Location: On my Slingerlands!

Postby BeautifulFish » 18 Jan 2010, 05:14

i compiled many plugins too even though i don't use them, the weather plugin looks cool, but i can't compile it :\

Code: Select all
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.
BeautifulFish
Junior Member
 
Posts: 80
Joined: 18 Jun 2009, 05:12

Postby fidaj » 28 Jan 2010, 19:38

I managed to compile plug-ins (except one) for cairo-dock
http://www.youtube.com/watch?v=bVzC44vaDTI
In the near future will try to make a port ...
fidaj
Junior Member
 
Posts: 49
Joined: 16 Nov 2008, 17:29

Postby fidaj » 01 Feb 2010, 13:30

You can test my WIP ports (version 2.1.0)
/usr/ports/deskutils/cairo-dock and /usr/ports/deskutils/cairo-dock-plugins
fidaj
Junior Member
 
Posts: 49
Joined: 16 Nov 2008, 17:29

Postby fidaj » 20 Mar 2010, 18:20

fidaj
Junior Member
 
Posts: 49
Joined: 16 Nov 2008, 17:29

Postby fidaj » 21 Mar 2010, 14:09

already in the ports! :)
fidaj
Junior Member
 
Posts: 49
Joined: 16 Nov 2008, 17:29


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: possamai and 7 guests