Skip to content

Commit

Permalink
v1.07: first packaged release
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuther committed Dec 11, 2011
1 parent 7b8b06d commit ea4d1e3
Show file tree
Hide file tree
Showing 5 changed files with 204 additions and 29 deletions.
32 changes: 32 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
PythonMcu
=========

Mackie Host Controller written in Python

Copyright (c) 2011 [Martin Zuther][1]

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Thank you for using free software!

Documentation
-------------

For documentation and further information, please see the directory
[doc][2], especially the file [PythonMcu.pdf][3].


[1]: http://www.mzuther.de/
[2]: https://github.com/mzuther/PythonMcu/tree/master/doc/
[3]: https://github.com/mzuther/PythonMcu/raw/master/doc/PythonMcu.pdf
91 changes: 91 additions & 0 deletions doc/HISTORY
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
Git HEAD
========

* empty


v1.07 (2011-12-11)
==================

* updated documentation

* correct calculation of path to configuration file

* execute on Microsoft Windows without showing command line window

* GUI: disable combo and check boxes when MCU emulation is running

* GUI: auto-scroll log window

* MackieHostControl.py: optimised challenge-response code

* MackieHostControl.py: support for "V-Select" LEDs

* MidiControllerTemplate.py: added generic LCD handling

* Novation_ZeRO_SL_MkII.py: implemented "Global View" key and changed
some key assignments

* Novation_ZeRO_SL_MkII.py: send transport commands via MIDI control
pedal



v1.06 (2011-08-28)
==================

* added "about" window with license terms

* GUI: display log messages inside GUI text window

* Novation_ZeRO_SL_MkII.py: fine-tuned menus



v1.05 (2011-08-27)
==================

* changed configuration file name (Microsoft Windows)

* hardware controllers now have default MIDI ports

* GUI: added check box to select MCU's "challenge response" mode

* GUI: added usage hint for controllers

* added "Novation ZeRO SL MkII (MIDI)" as class inheritance demo



v1.04 (2011-08-26)
==================

* created a GUI using the Qt framework

* configurable MIDI latency

* ApplicationSettings.py: changing an option now marks configuration
as changed

* McuInterconnector.py: MCU and hardware controller intialisation now
handled within class

* MidiConnection.py: static methods to get available MIDI inputs and
outputs



v1.03 (2011-08-14)
==================

* out-sourced logging to central facility :)

* MackieHostControl.py: implemented Logic Control challenge-response
system



v1.02 (2011-08-07, initial commit)
==================================

* initial commit
29 changes: 0 additions & 29 deletions doc/INSTALLATION

This file was deleted.

Binary file added release/PythonMcu_1.07.zip
Binary file not shown.
81 changes: 81 additions & 0 deletions release/package_releases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
#!/bin/bash

# ----------------------------------------------------------------------------
#
# PythonMcu
# =========
# Mackie Host Controller written in Python
#
# Copyright (c) 2011 Martin Zuther (http://www.mzuther.de/)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Thank you for using free software!
#
# ----------------------------------------------------------------------------

PYTHON_MCU_VERSION="1.07"

PYTHON_MCU_SOURCE_DIR="../src"
PYTHON_MCU_DOCUMENTATION_DIR="../doc"

function create_new_archive
{
echo " Creating folder \"$1\"..."
echo " Copying files to \"$1\"..."
mkdir -p "$1"
echo
}

function compress_new_archive
{
echo
echo " Creating archive \"$1\"..."
echo

if [ "$3" = "bzip2" ]; then
tar --create --bzip2 --verbose --file "$1" "$2"/* | gawk ' { print " adding: " $1 } '
elif [ "$3" = "zip" ]; then
zip --recurse-paths "$1" "$2"/* | gawk ' { print " " $0 } '
fi

echo
echo " Removing folder \"$2\"..."

rm -r "$2"/

echo " Done."
echo
}

echo


PYTHON_MCU_ARCHIVE_DIR="PythonMcu_$PYTHON_MCU_VERSION"

create_new_archive "$PYTHON_MCU_ARCHIVE_DIR"

cp "../README.markdown" "$PYTHON_MCU_ARCHIVE_DIR/README"

mkdir -p "$PYTHON_MCU_ARCHIVE_DIR/doc"
cp "$PYTHON_MCU_DOCUMENTATION_DIR/CONTRIBUTORS" "$PYTHON_MCU_ARCHIVE_DIR/doc"
cp "$PYTHON_MCU_DOCUMENTATION_DIR/Controllers.pdf" "$PYTHON_MCU_ARCHIVE_DIR/doc"
cp "$PYTHON_MCU_DOCUMENTATION_DIR/PythonMcu.pdf" "$PYTHON_MCU_ARCHIVE_DIR/doc"
cp "$PYTHON_MCU_DOCUMENTATION_DIR/HISTORY" "$PYTHON_MCU_ARCHIVE_DIR/doc"
cp "$PYTHON_MCU_DOCUMENTATION_DIR/LICENSE" "$PYTHON_MCU_ARCHIVE_DIR/doc"

cp --recursive "$PYTHON_MCU_SOURCE_DIR" "$PYTHON_MCU_ARCHIVE_DIR"
find "$PYTHON_MCU_ARCHIVE_DIR/" -iname '*.pyc' -execdir rm {} \;

compress_new_archive "$PYTHON_MCU_ARCHIVE_DIR.zip" "$PYTHON_MCU_ARCHIVE_DIR" "zip"

0 comments on commit ea4d1e3

Please sign in to comment.