Incorporating merged pull requests to master branch.
ANother speeling mistook corrected.
Update date and release number for full release.
For some reason testing for previously generated .deb files wasn't working.
This fixes it, by the looks of things.
Also, changed interactive end message to be same as noninteractive.
Checks for existence of /opt, and creates it if it doesn't exist.
Added "--withturbojpeg" switch.
Added "--withpulse" switch.
Changed the "--withsound" switch to "--withsimplesound", to avoid potential confusion.
Added further explanations for the jpeg and turbojpeg modules/libraries.
Ensures relevant -dev libraries are installed for the various switches.
Tidied up some indenting in the switch-parser and removed some redundant commenting.
Removed a ")" which was added by accident.
Why do I always forget these "fi" statements? (╯°□°）╯︵ ┻━┻
Download compile and install libjpeg-turbo if branch v0.8 chosen and --withturbojpeg switch used.
Don't compile linjpeg-turbo if it already exists in /opt
Check for previously generated .deb packages actually works now.
Further work to improve libturbo-jpeg handling...
curl and nasm packages become required if v0.8 and --withturbojpeg selected.
A symbolic link "lib" added within /opt/libjpeg-turbo pointing to either lib64 or lib32
Changed some small-case variable names to upper-case.
Still testing on other distros.
Added installation of the lsb_release package if not installed,
this is for distributions like Raspbian on the Raspberry Pi.
Added -dev packages needed for Raspbian-like distros.
O-matic should now work on Raspberry Pi and similar devices.
Removed repeated ARCH detection. (DRY principle).
Updated some option descriptions for added clarity.
Changed package destination directory from "Xorg" to "x11rdp".
Renamed "postinst" to "x11rdp_postinst".
Added pre and post inst scripts for xrdp package creation.
Xrdp package creation is now accomplished via dpkg-buildpackage,
instead of checkinstall - this means the generated xrdp package now
has pre/post inst scripts. B)
This also means the xrdp services will be started or stopped via
dpkg when installing, removing, or upgrading the packages. B)
......
TODO
----
In the spirit of DRY, refactor repetitive operations so both
interactive & non-interactive modes can re-use common operations.
.
Need to add option selection menus to Interactive mode.
.
.
Added dh-make to list of packages required.
Started some thought on a Python-based GUI app replacement for sesconfig.
Added gettext to package requirements.
Removed the --yes switch to the dh_make command to make it backwards-compatible with older versions.
Added a "fake" <enter> "keypress" instead.
.
Added xfce4-session to xfce4 required packages.
TODO : check other desktops in other distros.
.
Fixed incorrect lsb-release package name.
Added xfonts-utils to required package list.
.
Added a patch to buildx.sh if we're building v0.7 as the Mesa file download
location has been changed.
.