Changeset 2406:ed5c51f2be03 in roaraudio for HACKING


Ignore:
Timestamp:
08/17/09 04:08:32 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some text about config/starting roard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HACKING

    r1677 r2406  
    2222Here is my recommendation on how to split the RoarAudio in pkgs: 
    2323 
    24 libroar               includes libroar and libroardsp 
     24libroar               includes libroar, libroardsp, libroarmidi, 
     25                      libroarlight and libroareio 
    2526roaraudio-common      include roard and roarclients 
    2627                      (at least the ones with no special deps) 
     
    4041require any Kernel modules or has any non standard deps itself. 
    4142 
     43If you system includes libslp (normaly one of the deps of cups) please 
     44consider to build with libslp support. 
     45 
    4246In addition you should configure with --runtime-detect: this will 
    4347let roard/libroar detect the presents of some tools at runtime and 
    4448will reduce deps. 
     49 
     50Please ensure that configure finds the correct audio users group. 
     51In case it does not detect the correct one please set it via 
     52--audio-group. 
     53 
     54Running roard: 
     55Global (system wide) roards normaly are started as root. 
     56Ensure it drops it's privilegs by setting --setuid/--setgid 
     57and maybe -U and -G. 
     58 
     59It is allways nice to use --pidfile. If you use a pidfile 
     60you can start and stop roard by using --start and --stop easily. 
     61 
     62You can use --chroot to chroot into an empty directory to improve security. 
     63roard does the chrooting after loading everything so it is perfectly safe 
     64to chroot into an empty directory. In case your system includes a /var/empty 
     65or simular directory please do the chroot. 
     66 
     67To ensure no drops consider to add one or two --realtime 
     68 
     69In case of a public (for LAN) server have some way for the user to set --location 
     70and use --slp for Zero Conf. 
     71 
     72For more information see roard --help. 
    4573 
    4674--- 2. Infos for developer 
Note: See TracChangeset for help on using the changeset viewer.