Commit Graph

128 Commits

Author SHA1 Message Date
Anna Schumaker a371e832dd build: Remove valgrind support
I never actually used this.  Testing with valgrind should happen
manually if needed.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2015-01-02 10:32:16 -05:00
Anna Schumaker 8128e5b5e1 tests: Remove unused testing options
I never really did anything with cppcheck or gcov, so I'm removing these
options.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-11-01 20:25:56 -04:00
Anna Schumaker e6e9fb08d0 Time to begin work on Ocarina 6.3!
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-11-01 20:25:55 -04:00
Anna Schumaker e09b6f3b37 Ocarina v6.2.1
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-10-30 08:15:54 -04:00
Anna Schumaker 9e4d408828 Ocarina 6.2
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-10-23 08:21:06 -04:00
Anna Schumaker cf940ed792 Create `scons docs`
This will build the documentation for the current release of Ocarina.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-10-23 08:16:37 -04:00
Anna Schumaker 194a09bed4 lib: Initialize the GtkBuilder from the middle layer
This will provide an interface for accessing widgets, and make it easier
to swap out different builder files.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-06-15 11:31:04 -04:00
Anna Schumaker 5b3f8b13e0 lib: Initialize core libraries from a new middle layer
My hope is that putting lib/ between core/ and gui/ will help clean up
gui code, since everything will no longer be in a single place.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-06-14 20:06:07 -04:00
Anna Schumaker 64354cec26 Let's start Ocarina 6.2!
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-06-14 19:32:23 -04:00
Anna Schumaker 12548784ba Ocarina 6.1
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-06-14 18:33:45 -04:00
Anna Schumaker 95064e4537 Rename lib/ -> core/
I plan to introduce a new lib/ that sits between the gui and the backend
files (similar to how glibc sits between the kernel and userspace).
This gets the rename out of the way before I change my mind again.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-06-05 10:21:32 -04:00
Anna Schumaker 53f0c2a6aa testing: Add gcov and cppcheck tests
It doesn't hurt to run even more tests on the code!

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-20 17:25:03 -04:00
Anna Schumaker 9a5caa29b3 queue: Update sorting code
I now have a single function rather than 4 individual functions.  The
code is cleaner, and I've added it to the unit test.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-18 14:12:16 -04:00
Anna Schumaker 7aa5f22777 Add valgrind support to testing
To help find memory leaks!

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-14 17:49:03 -04:00
Anna Schumaker 83118b3e8d Update version
Time to start Ocarina 6.1!

Signed-off-by: Anna Schumaker <anna@ocarinaproject.net>
2014-04-09 21:10:07 -04:00
Anna Schumaker 2eca396042 Rename config -> Sconstruct
I only had config so I could easily refer to the original Sconstruct.  I
don't need that anymore =)

Signed-off-by: Anna Schumaker <anna@ocarinaproject.net>
2014-04-09 21:09:49 -04:00
Bryan Schumaker 38c074d898 build: Improve aliasing for tests
scons tests - Compile all tests
scons tests/basic - Compile basic tests
scons tests/basic/print - Compile text printing test

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2014-04-06 19:56:51 -04:00
Bryan Schumaker f75ba5a2b8 tests: Add a basic test
This test checks for the version.h file and then compiles it with and
without debugging enabled.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2014-04-06 19:56:51 -04:00
Bryan Schumaker 78e9c744fd newgui: Start rewriting the gui
The plan is to port everything to gtkmm since using the C functions is
beginning to get annoying.  Compile the new code using `scons newgui`
for now.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2014-04-06 19:56:50 -04:00
Bryan Schumaker fa812ece74 Correct `scons release` for bugfix releases
This corrects the package build to look for a tarbal named
"ocarina-5.11.1.tar.gz" instead of "ocarina-5.11.tar.gz"

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-12-06 19:35:54 -05:00
Bryan Schumaker 4bf66921df Improve build scripts
The build system hadn't been touched in a while, so it needed some
cleaning up.  I moved ocarina-specific files into the ocarina/ directory
and use the ocarina/Sconscript to set up build commands.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-09-13 22:14:50 -04:00
Bryan Schumaker 59b79b6575 ocarina: Begin switching to GtkBuilder for the UI
I feel that hand-written UI code is slowing me down, so I'm going to
switch to using glade / GtkBuilder to manage the UI as much as possible.
So far, I create, show, and destroy a window.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-07-29 11:27:50 -04:00
Bryan Schumaker a3e149e7c0 Ocarina 5.9 2012-06-02 13:21:22 -04:00
Bryan Schumaker 7816dea1cf build: Improve PKGBUILD.tmpl
Simpler package function and use $MAKEFLAGS.  There is no longer a need
for DESTDIR or POSTFIX in the Sconstruct file anymore, either.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 13:21:21 -04:00
Bryan Schumaker f64bf65b37 build: Generate the PKGBUILD file during `scons release`
This is better than needing to update it manually...

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 12:42:05 -04:00
Bryan Schumaker faadd138c4 build: Turn off debugging
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 12:19:45 -04:00
Bryan Schumaker 698ed1508a build: Remove bin/ and lib/ as part of scons clean
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 12:06:10 -04:00
Bryan Schumaker 304e8005f1 build: Remove lib/ and bin/ during a scons -c
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 11:53:32 -04:00
Bryan Schumaker e4a3b8902f build: Improve install target and create uninstall target
Install files in bin and lib.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 11:50:32 -04:00
Bryan Schumaker 3d9f21837e build: Alias "ocarina" to the entire ocarina project
Otherwise it'll build just the ocarina subdirectory, which isn't useful
if I ever have multiple projects using libsaria.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 10:47:45 -04:00
Bryan Schumaker dcaeb8cbd1 build: Copy images to lib/%APP/ during build
From here, I can copy the entire directory when I choose to install.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 10:17:22 -04:00
Bryan Schumaker e23ecd4bfb Build: make a directory using application name
The app_directory() function sets the config.application variable, then
calls the Sconscript file in that directory.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-06-02 09:41:46 -04:00
Bryan Schumaker fbcc660bd6 build: Create a configuration script
Users set values here to be used by the build system.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-28 11:34:37 -04:00
Bryan Schumaker de5cdc1cbc build: Use "C++" instead of "CXX" for building
I don't like the look of "CXX" as much.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-28 10:29:17 -04:00
Bryan Schumaker d6dff5290f scripts: Create an %APP-play for sending play commands
I'm currently using the "ocarina" script as a functions file, but this
will change eventually.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-27 23:16:56 -04:00
Bryan Schumaker 62c3ef2684 build: Create ocarina.bin as a symlink to ocarina-player
I want to add in more ocarina-* commands, so the first step is making
the player its own command.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-27 17:37:25 -04:00
Bryan Schumaker 30375bbdff build: Compile libsaria using an Sconscript file
To extract libsaria-related stuff from the main build script.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-27 10:40:19 -04:00
Bryan Schumaker cc32587917 build: Create an ocarina Sconscript file
This file will set up building the ocarina/ subdirectory.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-27 10:36:45 -04:00
Bryan Schumaker 5f5f23bf9e Build: Create version.h using an Sconscript file
This lets me pull code out of the generic Sconstruct, so it can't be
bad!  I also removed the test directory since I never made unit tests.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-27 10:23:47 -04:00
Bryan Schumaker 5b86536af3 Begin Ocarina 5.9 2012-05-13 10:46:17 -04:00
Bryan Schumaker cf85c0231d Ocarina 5.8 2012-05-12 08:06:02 -04:00
Bryan Schumaker af2d4833fa Begin Ocarina 5.8 2012-04-07 10:01:14 -04:00
Bryan Schumaker 696da607ba Ocarina 5.7-rc 2012-03-06 08:12:51 -05:00
Bryan Schumaker e49a9bd114 Begin Ocarina 5.7 2012-02-19 17:17:24 -05:00
Bryan Schumaker 454f83ef9b Ocarina 5.6.2 2012-02-19 17:16:48 -05:00
Bryan Schumaker f51013c97c Ocarina 5.6.1 2012-02-17 22:18:17 -05:00
Bryan Schumaker ed0ace5366 build: Configure scripts to use the correct lib directory
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>
2012-02-17 22:06:45 -05:00
Bryan Schumaker f6fd7915c9 Ocarina 5.6 2012-02-17 08:27:12 -05:00
Bryan Schumaker defa6185c2 Ocarina 5.6-rc
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-02-11 12:57:20 -05:00
Bryan Schumaker 5d687176e8 tests: Began creating test programs
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>
2012-02-09 08:22:40 -05:00
Bryan Schumaker dce461656f scons: Install multiple scripts
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>
2012-02-08 08:11:14 -05:00
Bryan Schumaker 152e7009d8 scons: Create a ocarina-debug launcher
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
2012-02-08 08:11:14 -05:00
Bryan Schumaker 01288e1a86 Libsaria: Make alsa controls its own thing
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>
2012-02-08 08:11:13 -05:00
Bryan Schumaker 12f6723111 Begin work on Ocarina 5.6 2012-02-08 08:11:12 -05:00
Josh Larson 0d63656df8 Fixed bug with unset environment variable.
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>
2012-02-08 08:10:19 -05:00
Bryan Schumaker fe7bf9e445 libsaria: Check if a song exists before loading it
This could lead to a segmentation fault if we don't do it...

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-02-07 22:25:13 -05:00
Bryan Schumaker 51e5887971 libsaria: Rename the index rand() function
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>
2012-02-07 08:47:24 -05:00
Bryan Schumaker 4f0671e4a7 Ocarina 5.5 2012-01-23 08:04:39 -05:00
Bryan Schumaker e11df95c1b Ocarina 5.5-rc 2012-01-04 08:28:07 -05:00
Bryan Schumaker f1fa96eab9 Begin Ocarina 5.5
I'm planning on libsaria code cleanups and performance enhancements
for this release.
2011-12-18 15:04:48 -05:00
Bryan Schumaker 3c919ba7ca Ocarina 5.4 2011-12-17 10:07:57 -05:00
Bryan Schumaker eab73ffb39 Begin work on Ocarina 5.4 2011-11-12 14:03:13 -05:00
Bryan Schumaker a9b4147df8 build: Updated Sconstruct
A few fixes before releasing 5.3
2011-11-11 08:07:58 -05:00
Bryan Schumaker 82cb17c1cb build: Added support for DESTDIR
I'll need this for my PKGBUILD
2011-11-10 17:31:27 -05:00
Bryan Schumaker 41f1c01752 build: Don't generate include/version.h all the time
Installing, cleaning and archiving don't need to create the version.h
file, so instead I'll add it as a build step for ocarina.
2011-11-09 23:17:59 -05:00
Bryan Schumaker 624d9a9e74 build: Added a `scons archive` command
This will create an ocarina tarball for the current release.
2011-11-09 23:04:16 -05:00
Bryan Schumaker 1d704a3ac0 Ocarina 5.3-rc1 2011-11-09 17:28:09 -05:00
Bryan Schumaker 6f96a1d135 build: Generate ocarina.sh during instatll
I was doing this whenever the Command() class was constructed, instead I
only want to do this when it's run.
2011-11-09 08:34:08 -05:00
Bryan Schumaker db70dd8fe6 build: Don't cd when running the binary
Relative paths should keep working now.
2011-11-08 08:21:56 -05:00
Bryan Schumaker 8aebd278f2 build: Create an install target
This copies files into /usr/lib/ocarina and then creates
/usr/bin/ocarina to run the program.
2011-11-07 23:42:59 -05:00
Bryan Schumaker c06106bff8 Remove config system
It was an interesting idea, but it really wasn't being used for
anything.  I'll stop trying to copy Kbuild now...
2011-10-28 14:17:59 -04:00
Bryan Schumaker 868898ec07 Begin Ocarina 5.3 2011-10-28 14:08:44 -04:00
Bryan Schumaker ef7d9d0fe2 Bump minor version number
I'm no longer working on 5.1, so might as well change this
2011-10-02 10:53:52 -04:00
Bryan Schumaker 18ebac3937 Bump minor version number
I've been working on Ocarina-5.1 for a while, so I might as well
reflect that in the code.
2011-09-18 12:45:54 -04:00
Bryan Schumaker 333a3a4b04 libsaria: Tag files to add to the library
I collect the artist / album / title / ... tags and add them to a class.
2011-09-17 14:16:06 -04:00
Bryan Schumaker 7b48c3311d ocarina: Rename gui/ to ocarina/
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.
2011-09-07 08:12:02 -04:00
Bryan Schumaker ad066238ac Change final program name
I change it from ocarina to ocarina.bin so that my .gitignore rules
work.
2011-09-03 09:13:38 -04:00
Bryan Schumaker 7e9b2f9380 Switch from make to scons
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.
2011-08-28 11:10:58 -04:00