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

View: New views
3 Messages — Rating Filter:   Alert me  

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

by Sean P. Kane :: Rate this Message:

| View Threaded | Show Only this Message

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: How I got 1.9.0 compiled on Mac OS X 10.6 ( Snow Leopard)

by Sean P. Kane :: Rate this Message:

| View Threaded | Show Only this Message

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: How I got 1.9.0 compiled on Mac OS X 10.6 ( Snow Leopard)

by Rob Caelers :: Rate this Message:

| View Threaded | Show Only this Message

Hello,

> sudo port install gtk2 +no_x11 +quartz
> sudo port install glib2 ige-mac-integration glibmm gtkmm gnet2

Nice. I didn't even know that Macport could compile a native (quartz) gtk.

I'm currently using my own forks of the gtk+ build from
http://gtk-osx.sourceforge.net/

My forks can be found at: http://github.com/rcaelers

I still need to write some document on how to compile all this....

> 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

I disabled xml support on OSX (configure --disable-xml). It's not needs
(standard OSX configuration is available)

> vi OSXConfigurator_cc.patch (put the following lines in this file):

Thanks!

> 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

I gave up on svn. Latest workrave is now at
http://github.com/rcaelers/workrave (I may move back to SF.net in the near
future). Guess I should mention this somewhere...

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