OS X build progress: functioning app, but it's not a screensaver

1 view
Skip to first unread message

John B

unread,
Jan 25, 2009, 12:09:34 PM1/25/09
to dev-idlescreen
OK--I have successfully compiled idlescreen_0.8_Beta.src.tgz on Mac OS
10.5.6.

Here is what I did to compile:

1. Install XCode, if it is not already installed. http://developer.apple.com/TOOLS/xcode/
2. Install MacPorts, if it is not already installed. http://www.macports.org
3. From a terminal window, run "sudo port install qt4-mac". (This
will take a bunch of hours.)
4. Decompress the tgz file somewhere, and cd into it from a terminal
window.
5. Run configure, also specifying the path to X11 stuff:
LIBRARY_PATH=/usr/X11/lib CPATH=/usr/X11/include ./configure
6. Edit the resulting Makefile, changing the QMAKE line to read
QMAKE=/opt/local/libexec/qt4-mac/bin/qmake
7. Run make, again specifying the path to X11 stuff:
LIBRARY_PATH=/usr/X11/lib CPATH=/usr/X11/include make

This will create three applications in bin/:
AcidRain.app
Crawlies.app
PlasmaLenz.app

When you click on any of these apps via the Finder, X11 will open (X11
run as an application under OS X, the same as Firefox or anything
else) and run them in a window. Also, the application you clicked on
will show up in the dock and keep hopping up and down. (There is
probably something special apps have to do to tell the Dock that they
are done booting up.)

That's as far as I've gotten. I don't know how you then take the
screen savers and get them to show up in System Preferences -> Desktop
& Screen Saver (although I haven't really looked yet).

Jeff Backus

unread,
Jan 29, 2009, 2:36:08 PM1/29/09
to dev-idl...@googlegroups.com
AWESOME!

When I get a chance I'll dig up some example code I found once upon a
time. It's in objective-C, though, so we may have to either look into
either doing the same in C++, or maybe compiling the screen savers as
libraries and link to them from some objective-C code. Thanks for
giving it a whirl!

Regards,
Jeff
--
Jeff Backus
je...@backus.com
http://sites.google.com/site/jeffbackus/

jeff....@gmail.com

unread,
Jan 31, 2009, 9:24:12 PM1/31/09
to dev-idlescreen
Hey, quick note. If qmake is in your path, ./configure will find it
and use the appropriate path. So if you put /opt/local/libexec/qt4-
mac/bin in your path before running ./configure, you shouldn't need to
edit the Makefile.

Regards,
Jeff
Reply all
Reply to author
Forward
0 new messages