simulator: do GLUT setup before JACK setup

Move the JACK setup after the GLUT setup, otherwise jack_client_open()
mysteriously crashes (on Ubuntu 13.04) with:

  Cannot read socket fd = 5 err = Interrupted system call

whenever libjack is linked with the OpenGL and GLUT libs.

Signed-off-by: Kamal Mostafa <kamal@whence.com>
output: fix wrong Analog/TTL colorMode at startup

At startup, the GUI shows "Analog" color mode selected but actually outputs
TTL color mode, until the Analog/TTL selector is toggled for the first time.

Signed-off-by: Kamal Mostafa <kamal@whence.com>
invert: jack_client_open() replaces deprecated jack_client_new()

Signed-off-by: Kamal Mostafa <kamal@whence.com>
Fix compile warnings

Signed-off-by: Kamal Mostafa <kamal@whence.com>
libopenlase: Fix executable stack for elf32/elf64

Resolves lintian warning "shlib-with-executable-stack"

Signed-off-by: Kamal Mostafa <kamal@whence.com>
libopenlase: SOVERSION 0

Set the SOVERSION of libopenlase to "0" to provide an ABI versioned .so.

Signed-off-by: Kamal Mostafa <kamal@whence.com>
output: disable USE_GALVO_FILTERS by default

Signed-off-by: Kamal Mostafa <kamal@whence.com>
output: default xInvert=off, RGB-Delay=0

Signed-off-by: Kamal Mostafa <kamal@whence.com>
output: cfg.colorMode replaces cfg.analogColor

In the cfg structure, int-indexed 'colorMode' replaces boolean 'analogColor'
to allow for additional color modes.  No functional change.

Signed-off-by: Kamal Mostafa <kamal@whence.com>
output: "Modulated" color mode for AC-coupled blanking

New selectable color mode "Modulated" modulates the color channels at half
the output sampling rate. Useful with an AC-coupled blanking circuit.

Signed-off-by: Kamal Mostafa <kamal@whence.com>