Changeset 320
- Timestamp:
- 04/25/07 04:00:37 (2 years ago)
- Files:
-
- trunk/README (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/README
r318 r320 1 1 SWT: 2 2 3 Requirements: 3 = Requirements = 4 4 * D Compiler 5 5 www.digitalmars.com … … 7 7 www.dsource.org/projects/dsss 8 8 * Rake (Ruby Make) 9 windows installer, including rake: http://rubyinstaller.rubyforge.org/wiki/wiki.pl10 linux: comes with the disto, e.g. ubuntu "apt-get install rake"9 Ruby windows installer, including rake: http://rubyinstaller.rubyforge.org/wiki/wiki.pl 10 linux: Ruby comes with the disto, e.g. ubuntu "apt-get install rake" 11 11 * Tango 12 12 www.dsource.org/projects/tango 13 after installing, run ng"dsss build", "dsss install" in the tango root directory13 after installing, run "dsss build", "dsss install" in the tango root directory 14 14 * Mango (xml sax parser for tioport/bintod) 15 15 www.dsource.org/projects/mango … … 17 17 Or, even more simple, just run "dsss net install mango" 18 18 19 = Last successfully tested with these dependencies = 20 * "+" was currentlversion21 * "-" needed downgrade19 = Last successfully tested with these dependencies = 20 * "+" was successful tested with the current version 21 * "-" was successful tested but a downgrade was needed 22 22 23 23 == Linux == … … 36 36 run "rake -T" to get a list with the available build targets. 37 37 38 1. Build the libs38 1. First build the libs (dejavu,swt), the target swt321 builds both 39 39 rake swt321 40 40 2. Build all examples … … 46 46 rake swt-3.2.1-examples/paint 47 47 48 After that the dejavu and the SWT lib were build and installed,49 you can also run the compilation of a single example:50 cd swt-3.2.1-examples51 dsss build paint.d52 53 48 To run the examples, some dynamic libs need to be accessible by the exmamples. 54 49 On Window either copy the swt-....dll from the swt-3.2.1-win32/libs directory 55 50 to a directory, that is already in the PATH, or add this directory to the PATH 56 environment variable. 51 environment variable. Or copy the DLLs to the directory of the executable you 52 want to run. 57 53 On Linux do the same with the LD_LIBRARY_PATH variable. Additionally the mozilla libs are needed. 58 54 SWT is linked with everything (at the moment), this include also the browser components. 59 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk ./paint55 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk/libs ./paint 60 56 .. or .. 61 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk 57 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox:../swt-3.2.1-linux-gtk/libs 62 58 63 59 Then run:
