Date: Wed, 22 Jul 2009 06:31:22 -0500 From: Robert Noland <rnoland@FreeBSD.org> To: Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: "Sam Fourman Jr." <sfourman@gmail.com>, freebsd-ports@freebsd.org Subject: Re: cairo-dock on FreeBSD Message-ID: <1248262282.51779.10.camel@balrog.2hip.net> In-Reply-To: <200907121236.30877.mel.flynn%2Bfbsd.ports@mailing.thruhere.net> References: <11167f520907071355p771aa1bbx9c9585fc48685722@mail.gmail.com> <11167f520907071443y540eaddcn83ac96a2ba6ddd6@mail.gmail.com> <200907121236.30877.mel.flynn%2Bfbsd.ports@mailing.thruhere.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2009-07-12 at 12:36 -0800, Mel Flynn wrote: > On Tuesday 07 July 2009 13:43:45 Sam Fourman Jr. wrote: > > On Tue, Jul 7, 2009 at 3:55 PM, Sam Fourman Jr.<sfourman@gmail.com> wrote: > > > Hello Ports list > > > > > > cairo-dock (A desktop dock bar like OSX) does not appear to have a > > > port in the ports tree > > > so I am attempting to compile cairo-dock from scratch in FreeBSD > > > it would appear that I too need crypt.h, I downloaded the linux source > > > here: http://download.berlios.de/cairo-dock/cairo-dock-2.0.7.tar.bz2 > > > > > > All i did was download the source, extract it and ./configure && make > > > below a is the bottom part of the compile error, along with my FreeBSD > > > version > > > > > > I have never made a port before, so any help getting this to compile > > > would be Great. > > > > > > uname -a > > > FreeBSD 8.0-HEAD-20090601-JPSNAP FreeBSD 8.0-HEAD-20090601-JPSNAP #0: > > > Mon Jun 1 02:48:06 UTC 2009 > > > root@build-i386-fbsd-2.allbsd.org:/usr/obj/i386/usr/src/sys/GENERIC > > > i386 > > > > > > > > > > > > from cairo-dock-draw.c:14: > > > /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function > > > declaration isn't a prototype > > > mv -f .deps/cairo_dock-cairo-dock-draw.Tpo > > > .deps/cairo_dock-cairo-dock-draw.Po gcc -DHAVE_CONFIG_H -I. -I.. > > > -D_THREAD_SAFE -D_REENTRANT > > > -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include > > > -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo > > > -I/usr/local/include/pango-1.0 -I/usr/local/include > > > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include > > > -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 > > > -I/usr/local/include/librsvg-2 -I/usr/local/include/dbus-1.0 > > > -I/usr/local/include/dbus-1.0/include -I/usr/local/include/libxml2 > > > -I/usr/local/include/gtkglext-1.0 > > > -I/usr/local/lib/gtkglext-1.0/include -D_THREAD_SAFE > > > -I/usr/local/include -DHAVE_XEXTEND="1" -DHAVE_LIBCRYPT=1 > > > -DCAIRO_DOCK_SHARE_DATA_DIR=\""/usr/local/share/cairo-dock"\" > > > -DCAIRO_DOCK_SHARE_THEMES_DIR=\""/usr/local/share/cairo-dock/themes"\" > > > -DCAIRO_DOCK_MODULES_DIR=\""/usr/local/lib/cairo-dock"\" > > > -DCAIRO_DOCK_CONF_FILE=\""cairo-dock.conf"\" > > > -DCAIRO_DOCK_LAUNCHER_CONF_FILE=\""launcher.conf"\" > > > -DCAIRO_DOCK_CONTAINER_CONF_FILE=\""container.conf"\" > > > -DCAIRO_DOCK_SEPARATOR_CONF_FILE=\""separator.conf"\" > > > -DCAIRO_DOCK_THEME_CONF_FILE=\""themes.conf"\" > > > -DCAIRO_DOCK_MAIN_DOCK_CONF_FILE=\""main-dock.conf"\" > > > -DCAIRO_DOCK_DEFAULT_ICON_NAME=\""default-icon.svg"\" > > > -DCAIRO_DOCK_DEFAULT_APPLI_ICON_NAME=\""default-icon-appli.svg"\" > > > -DCAIRO_DOCK_DEFAULT_INDICATOR_NAME=\""default-indicator.png"\" > > > -DCAIRO_DOCK_DEFAULT_CLASS_INDICATOR_NAME=\""default-class-indicator.svg" > > >\" -DCAIRO_DOCK_VERSION=\""2.0.7"\" > > > -DCAIRO_DOCK_LOCALE_DIR=\""/usr/local/share/locale"\" > > > -DCAIRO_DOCK_GETTEXT_PACKAGE=\""cairo-dock"\" > > > -DCAIRO_DOCK_ICON=\""cairo-dock.svg"\" > > > -DCAIRO_DOCK_LOGO=\""cairo-dock-logo.png"\" > > > -DCAIRO_DOCK_THEMES_DIR=\""themes"\" -DGL_GLEXT_PROTOTYPES=\""1"\" > > > -std=c99 -O3 -g -ggdb -Wstrict-prototypes -Wextra -Wwrite-strings > > > -Wuninitialized -Werror-implicit-function-declaration -g -O2 -MT > > > cairo_dock-cairo-dock-config.o -MD -MP -MF > > > .deps/cairo_dock-cairo-dock-config.Tpo -c -o > > > cairo_dock-cairo-dock-config.o `test -f 'cairo-dock-config.c' || echo > > > './'`cairo-dock-config.c > > > 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' *** Error code 1 So, I've sent a bit of time the last couple of days porting cairo-dock and cairo-dock-plugins. Hopefully, I'll have something to commit pretty soon. I am interested to see how you handled patching the crypt support though. I am just disabling it right now. The patch that you attached was stripped. Sigh, gtk is fun... ;) robert. > > > > > > Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7/src. > > > *** Error code 1 > > > > > > Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7/src. > > > *** Error code 1 > > > > > > Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7. > > > *** Error code 1 > > > > > > Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7. > > > > > > Sam Fourman Jr. > > > > Here is a update, this probably isn't news to anyone on this list > > after a half hour of googling I found the answer to my first problem. > > > > in cairo-dock-config.c do the following. > > > > /* #include <crypt.h> */ > > #include <unistd.h> > > > > after that it compiled further we now have this problem, it no doubt > > is something else *BSD > > does different than linux (most likely for a good reason :) ) > > I will continue my quest to compile cairo-dock, and report back once I > > find the answer to this error. > > > > <snip> > > > cairo-dock-menu.c:56: error: conflicting types for 'localtime_r' > > /usr/include/time.h:176: error: previous declaration of 'localtime_r' was > > here *** Error code 1 > > Attached port works for me as far as building goes. I'll leave pkg-plist and > install to you, as I don't use gnome. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Robert Noland <rnoland@FreeBSD.org> FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1248262282.51779.10.camel>