blob: 518f040c53acf33806e68da2a8dd3889ec91b914 [file] [log] [blame]
Zhenkai Zhu487f8b62012-10-01 13:47:59 -07001Chronos is a multiparty chat application that demostrates our work on sync (high level idea is similar to ccnx sync, but the design is slightly different).
2
3Chronos will have binary package for Mac OS X 10.7 and 10.8 hopefully by the time of the next retreat. However, it's too much work to do binary packaging for different flavors of Linux, so Linux users will have to compile by their own.
4
5Note that after you click to close Chronos, it will be running on your system tray. To restore it to normal size window, you have to click on the system tray icon (normally on the upper right corner of your screen). Clicking on the dock won't work for now and is still on the to-do list (because I'm using qt for gui, not the native Cocoa framework).
6
7You need pkg-config, protobuf, boost, and qt to compile this app. All of them can be installed through macports.
8The following command should do it:
9$ sudo port install pkg-config protobuf-cpp boost qt4-mac
10
11To compile this app:
Zhenkai Zhu5f52d882012-10-01 13:51:02 -0700121. in the top directory, check out the "sync" submodule
Zhenkai Zhu487f8b62012-10-01 13:47:59 -070013$ git submodule update --init
14
152. go to sync directory, do:
16$ ./waf configure
17$ ./waf
18$ sudo ./waf install
19
203. back to the top directory, set up environment for pkg-config, make sure libsync.pc is searchable, this is mine:
21$ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
22
234. compile Chronos:
24$ qmake
25$ make
26
27Congratulations! Chronos.app is ready to use (on a Mac).
28
29To run the app, you should provide your nick and the chatroom you want to join, and also the prefix for your data (this should be auto-discovered by retreat time). For example, if you are using spurs.ucla.edu as your testbed hub, you should use "/ndn/ucla.edu" as your prefix.
30