dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
107 stars 63 forks source link

Move paths to more sane places on UNIX/Linux systems #89

Closed mcdermj closed 8 years ago

mcdermj commented 8 years ago

This moves the installation paths for all the components to more sane places on the system, eliminating /home/opendv. Note that these paths can all be overridden on the ./configure command line if people want to install things in the old places. In general, GUI binaries will be installed in ${prefix}/bin, daemon/headless binaries in ${prefix}/sbin, configuration files in ${prefix}/etc/opendv, log files in ${prefix}/var/log/opendv and shared data files in ${prefix}/share/opendv. Note that the package creation tools, such as deb-buildpkg, will automatically do the right thing and assign these paths via the configure command line to the operating system standard locations. This should make things a lot easier for packagers.

The individual commit messages have more details about the changes in paths.

This change was lightly discussed on the development list and all commenters agreed that going to standard paths and away from /home/opendv was a win. I had no comments, even though I purposely waited a long time to commit something like this, that were opposed to such a change.