When installing through the PKGBUILD, a non-blank DESTDIR is used and
the ocarina-* scripts are configured to use the package directory rather
than the installed directory.
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
I want these to help check for memory leaks and other problems. Maybe
one day I can run them through Jenkins!
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
Each script acts as an ocarina sub-command, and each write through the
ocarina-write-pipe script. Note that these scripts cannot be run
directly, and need to run through a processor in the Sconstruct file to
set the correct paths.
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
My Sconstruct now supports installing a debug build to
/usr/lib/ocarina-debug and launching through ocarina-debug. This should
allow me to test pipe related scripts
I created a new preference for "Using ALSA" that people can set if they
want to use extra alsa features. This should allow the UI to provide a
dropdown list of outputs that users can select. Once a UI is in place,
users can play music either on their computer speakers or pipe it out to
their blu ray players (or other device).
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
When either HOME or XDG_CONFIG_HOME are unset getenv() can return NULL.
C++ strings don't like being set to NULL, so we need to check for this
case.
Bryan: Edited Sconstruct and commit message.
Signed-off-by: Josh Larson <theMutatedShrimp@gmail.com>
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
I found it was calling itself over and over again, rather than calling
the stdlib rand(). This wasn't the desired behavior...
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
I think ocarina/ is a better name for this directory, and now that I've
named the executable "ocarina.bin" I can do this again. I also added
functions for creating a page footer with the basic controls.
Scons will track changes to my include/ directory better than make will.
I also have an easier time understanding the Sconstruct file than I did
with Makefiles.