Commit graph

5 commits

Author SHA1 Message Date
Dewey Garrett
8b44ccfa6a hallib: support for system-wide halfiles
1) HALLIB_DIR: new directory for system-wide hal files (*.hal,*.tcl and
   supporting files).
   Locations:
             RIP: HALLIB = lib/hallib/
             DEB: HALLIB = /usr/share/linuxcnc/hallib/

2) HALLIB_PATH: search path for locating halfiles:
   HALLIB_PATH = .:HALLIB_DIR (e.g., ini directory then system library)

3) LIB: prefix to explicitly specify a system library halfile (with
   no search of the ini file directory)
   [HAL]
   ...
   HALFILE = LIB:filename.[hal|tcl]
   ...

This patch addresses a general issue of the multiple copies (or links) of
halfiles throughout the config tree and makes it simple to explicitly specify a
library halfile so that a user does not need to copy these files when modifying
a configuration.  For example, one can instruct a user with:
   'Include the line HALFILE = LIB:xhc-hb04.tcl in the [HAL] stanza of
    your ini file'

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-12-16 19:33:51 -07:00
Sebastian Kuzminsky
b3d38ac4d3 Merge remote-tracking branch 'origin/2.6'
Conflicts:
	VERSION
2014-08-07 17:20:28 -06:00
Dewey Garrett
d4de6118c5 linuxcnc_var: report RTS not SIMULATOR
SIMULATOR removed with uspace implementation
2014-07-28 09:13:08 -07:00
Jeff Epler
44e1d1081f scripts: Note GPL license on files 2014-07-28 09:12:39 -05:00
Dewey Garrett
ef7d8bf0d0 configs/apps: new directory and .demo support
A new file type (.demo) in the configs tree is supported by the linuxcnc
script and the configuration selector (pickconfig.tcl).  A .demo file
must be executable and is typically implemented as a shell script that
invokes an application with appropriate parameters.

This facility makes it possible to demonstrate apps related to linuxcnc
using pickconfig without starting linuxcnc or requiring a complete ini
file.

Thanks to Chris Morley for suggestion

Details:
    Modify pickconfig to support .demo files
       Use noforcecopy for .demo files which should not be copied to
       a user dir
    Provide .demo apps for halrun,info,parport,xhc-hb04
    Provide .demo apps for gladevcp,pyvcp
    New script: linuxcnc_var and removal of several scripts/*.in.
    Rename latency scripts for consistency (and reduce merge overwrites).
    Remove latencyplot from menu.
    Moved gladevcp demo apps from root/gladevcp to configs/apps/gladevcp
       The root/gladevcp/ examples were orphans and didn't work with
          the configuration selector
       Change .py files so persistent files are named .save instead of
          .ini to avoid conflict with .ini files which the configuration
          selector presumes are working configs.
       Rebranding in some py files
       Some clarifications within copied README files
       Consolidate by-widgets dir
    Update docs
       New doc for configuration selector (needs formatting)
       Update for configs tree rearrangement
    Rename 2 non working sim .ini files to .ini.notworking
2014-03-22 06:13:56 -07:00