|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Compiling Workrave 1.9.X GIT on Mac OS X 10.6 ( Snow Leopard)Steps to compile 1.9.0 and almost compile 1.9.x GIT on Snow Leopard. I
am getting an error in shown below and would love some thoughts on fixing it. Thanks, Sean workrave - snow leopard ------------------------- sudo port install gtk2 +no_x11 +quartz sudo port install glib2 ige-mac-integration glibmm gtkmm gnet2 gstreamer libtool automake autoconf wget http://gdome2.cs.unibo.it/tarball/gdome2-0.8.1.tar.gz wget http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/gnome/libgdome0.patch?view=markup tar xvfz gdome2-0.8.1.tar.gz cd gdome2-0.8.1 patch -p1 > ../libgdome0.patch autoreconf -fi ./configure make sudo make install vi /usr/local/bin/gdome-config (remove `@FINKPREFIX@/bin/glib-config --libs` and `@FINKPREFIX@/bin/glib-config --cflags` references which come from the fink gdome patch above) workrave-1.9.0 (official release) ------------------------------------------ cd workrave-1.9.0 wget http://issues.workrave.org/cgi-bin/bugzilla3/attachment.cgi?id=196 patch < OSXConfigurator_cc.patch ./configure --enable-mac make sudo make install workrave-git (as of 09/21/09) -------------------------------------- sudo port install dbus xmlto (what the heck is jm from and how to get it via MacPorts - docbook-utils) sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist Download and install Cheetah (http://pypi.python.org/pypi/Cheetah/) into your default python (python setup.py install) cd workrave-git patch autogen.sh ("alias libtool=glibtool" and "alias libtoolize=glibtoolize" to run the gnu versions) ./autogen.sh --enable-mac --enable-manual=no (not quite sure how to get the jm tools via MacPorts) make So, I have gotten this far and get an error....I've run out of time to deal with this today. If anyone has a thought, it would be appreciated. make[5]: Nothing to be done for `all'. gcc -DHAVE_CONFIG_H -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -I../../../intl -I. -I../../.. -xobjective-c++ -DWORKRAVE_PKGDATADIR="\"/usr/local/share/workrave\"" -I../../../frontend/gtkmm/src/ -I ../../../common/include -I ../../../common/include/unix -I ../../../backend/include -I ../../../frontend/common/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include -I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6 -I/opt/local/include/cairomm-1.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -D_XOPEN_SOURCE=600 -I../../../frontend/plugin/distribution/gtkmm/src -I../../../frontend/plugin/statistics/gtkmm/src -I../../../frontend/plugin/exercises/gtkmm/src -I../../../frontend/plugin/exercises/common/src -g -O2 -O0 -g -Wall -DGLIBCXX_FORCE_NEW -DGLIBCPP_FORCE_NEW -MT workrave-eggsmclient.o -MD -MP -MF .deps/workrave-eggsmclient.Tpo -c -o workrave-eggsmclient.o `test -f 'eggsmclient.c' || echo './'`eggsmclient.c eggsmclient.c: In function 'EggSMClient* egg_sm_client_get()': eggsmclient.c:346: error: invalid conversion from 'void*' to 'EggSMClient*' eggsmclient.c: In function 'GKeyFile* egg_sm_client_get_state_file(EggSMClient*)': eggsmclient.c:410: error: invalid conversion from 'int' to 'GKeyFileFlags' eggsmclient.c:410: error: initializing argument 3 of 'gboolean g_key_file_load_from_file(GKeyFile*, const gchar*, GKeyFileFlags, GError**)' Thanks, Sean --------------------------------------------------------------------------------------------- Sean P. Kane spkane00@... Teenagers in Portland, OR? Check out http://www.lephigh.org/ --------------------------------------------------------------------------------------------- “People do not want quarter-inch drills. They want quarter-inch holes.” - Professor Emeritus Theodore Levitt of Harvard Business School On Mon, Sep 21, 2009 at 10:40 AM, Sean P. Kane <spkane00@...> wrote: > The workrave patched shown below is available here: > > http://issues.workrave.org/cgi-bin/bugzilla3/attachment.cgi?id=196 > > > --------------------------------------------------------------------------------------------- > Sean P. Kane > spkane00@... > > Teenagers in Portland, OR? Check out http://www.lephigh.org/ > --------------------------------------------------------------------------------------------- > > “People do not want quarter-inch drills. They want quarter-inch holes.” > - Professor Emeritus Theodore Levitt of Harvard Business School > > > > > On Mon, Sep 21, 2009 at 10:14 AM, Sean P. Kane <spkane00@...> wrote: >> Install MacPorts 1.8.0 (or greater) from http://www.macports.org/ >> >> Open up a Terminal: >> sudo port install gtk2 +no_x11 +quartz >> sudo port install glib2 ige-mac-integration glibmm gtkmm gnet2 >> gstreamer libtool automake autoconf >> wget http://gdome2.cs.unibo.it/tarball/gdome2-0.8.1.tar.gz >> wget http://fink.cvs.sourceforge.net/fink/dists/10.4/stable/main/finkinfo/gnome/libgdome0.patch?view=markup >> tar xvfz gdome2-0.8.1.tar.gz >> cd gdome2-0.8.1 >> patch -p1 > ../libgdome0.patch >> autoreconf -fi >> ./configure >> make >> sudo make install >> cd .. >> cd workrave-1.90 >> vi OSXConfigurator_cc.patch (put the following lines in this file): >> >> --- backend/src/osx/OSXConfigurator.cc-orig 2009-09-21 >> 09:39:25.000000000 -0700 >> +++ backend/src/osx/OSXConfigurator.cc 2009-09-21 09:07:43.000000000 -0700 >> @@ -116,6 +116,7 @@ >> // FALLTHROUGH >> >> case VARIANT_TYPE_STRING: >> + { >> NSString *val = [[NSUserDefaults standardUserDefaults] >> stringForKey: keystring]; >> if (val != nil) >> { >> @@ -126,6 +127,7 @@ >> ret = false; >> } >> break; >> + } >> >> default: >> ret = false; >> >> patch < OSXConfigurator_cc.patch >> ./configure --enable-mac >> make >> sudo make install >> >> Note that although workrave works in general, for some reason the >> timers are not counting down for me at the moment.....I am pulling >> down the svn version to see if any of the few patches post the 1.9.0 >> release fix this. I might look at clearing out any config files as >> well. >> >> Sean >> >> --------------------------------------------------------------------------------------------- >> Sean P. Kane >> spkane00@... >> >> Teenagers in Portland, OR? Check out http://www.lephigh.org/ >> --------------------------------------------------------------------------------------------- >> >> “People do not want quarter-inch drills. They want quarter-inch holes.” >> - Professor Emeritus Theodore Levitt of Harvard Business School >> > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Workrave-user mailing list Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
|
|
Re: Compiling Workrave 1.9.X GIT on Mac OS X 10.6 ( Snow Leopard)> Steps to compile 1.9.0 and almost compile 1.9.x GIT on Snow Leopard. I
> am getting an error in shown below and would love some thoughts on > fixing it. I fixed the egg stuff (I only tested it on unix/windows initailly) Groetjes, Rob ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Workrave-user mailing list Workrave-user@... https://lists.sourceforge.net/lists/listinfo/workrave-user |
| Free embeddable forum powered by Nabble | Forum Help |