How I got 1.9.0 compiled on Mac OS X 10.6 ( Snow Leopard)

"Sean P. Kane" <[email protected]>
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
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
[email protected]

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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Workrave-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/workrave-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.