| 1 | == Alsproc Development == |
| 2 | |
| 3 | == Structure == |
| 4 | |
| 5 | == Subversion == |
| 6 | |
| 7 | Alsproc can be found in subversion under tools/alsproc. Obtain a copy with svn checkout. |
| 8 | {{{ |
| 9 | svn checkout http://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/trunk/tools/alsproc |
| 10 | }}} |
| 11 | |
| 12 | You can make and manage your changes in this checkout. When you've tested it and you're happy, you may need to advance the version number. Edit the Makefile in src/, and find the line which says vers=x.x.x and advance it as you need. |
| 13 | {{{ |
| 14 | # VERSION NUMBER |
| 15 | vers=0.0.9 |
| 16 | }}} |
| 17 | |
| 18 | When you're satisfied, commit the changes. |
| 19 | {{{ |
| 20 | svn commit |
| 21 | }}} |
| 22 | |
| 23 | And finally, tag the branch version if you advanced the version number. |
| 24 | {{{ |
| 25 | svn cp http://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/trunk/tools/alsproc http://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/tags/alsproc-0.0.9 -m "tagging new version of alsproc" |
| 26 | }}} |
| 27 | |
| 28 | == Installation in ARSF == |
| 29 | |
| 30 | Current policy is to install in the home directory of the arsf user, as this asserts that all users across the department are using the same and current version of alsproc. Enter usr/opt/alsproc and check out the version you wish to build, check out the repository, compile it, and install it locally using the purpose-built Makefile rule: arsf_install. |
| 31 | |
| 32 | {{{ |
| 33 | cd ~arsf/usr/opt/alsproc |
| 34 | svn checkout http://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/tags/alsproc-0.0.9 |
| 35 | cd alsproc-0.0.9/src |
| 36 | make |
| 37 | make arsf_install |
| 38 | }}} |