root / trunk / README

Revision 907, 1.7 kB (checked in by glslang, 1 year ago)

+ eol-style to native

  • Property svn:eol-style set to native
Line 
1Jahshaka V3
2-----------
3
4The structure of the tree is as follows:
5
6|-- jahplayer
7|-- jahtools
8|   `-- jplayer
9`-- jahwidgets
10    |-- src
11    |   `-- qt3
12    |       |-- python
13    |       |-- themes
14    |       |   `-- superg
15    |       |       |-- pixmaps
16    |       |       `-- style
17    |       |-- widgets
18    |       `-- wrapper
19    `-- test
20
21The jahplayer, jahshaka and jahtools directories contain python only. The
22jahwidgets directory provides a custom python module and designer plugin
23per qt version wrapped (currently only qt3 is supported).
24
25To build the jahwidgets library:
26
27        On Linux:
28
29                cd jahwidgets
30                make
31
32        On OS/X:
33
34        cd jahwidgets
35        make
36
37        On Windows:
38
39                Build the solution file in jahwidgets.
40
41To run all the applications without installation:
42
43        On Linux:
44
45                . setenv
46
47        On OS/X:
48
49        Step1: Create an application package for the main script
50        (Note this requires installation of py2app from http://undefined.org/python/#py2app)
51
52        py2applet --make-setup /path/to/python/script.py
53
54        Create an alias bundle for development
55
56        python setup.py py2app -A
57
58        Additionally for jahshaka the required PYTHONPATH entries must be added to
59        application.app/Contents/Resources/__boot__.py
60        e.g;
61
62        _path_inject(['~/Jahshaka/jah/jahtools/jplayer'])
63        _path_inject(['~/Jahshaka/jah/jahwidgets/src/qt3/python'])
64        # Do this last to set the pwd
65        _path_inject(['~/Jahshaka/jah/jahplayer'])
66
67
68        Step2: Set shell environment and run:
69
70        source osx_runenv
71        ./jahplayer.app/Contents/MacOS/jahplayer
72
73        This will give debug output to the terminal.
74        Or you can just open as normal:
75
76        open -a jahplayer.app
77
78        On Windows:
79
80                ?
81
82To install the applications:
83
84        TBD.
85
Note: See TracBrowser for help on using the browser.