You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

173 lines
6.1 KiB

<!DOCTYPE html>
<link rel="stylesheet" href="template/documentation/css/normalize.css" type="text/css">
<link rel="stylesheet" href="template/documentation/css/style.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Laborejo: Git Readme </title>
<p>For program version 2.0</p>
<p>Laborejo (Esperanto: Workshop) is a MIDI sequencer based on classical music notation.
Its main purpose is to compose and produce &ldquo;traditional&rdquo; music, such as instrumental pieces,
soundtracks and other music normally played back by samplers.</p>
<p>Unlike other notation editors Laborejo is not meant primarily to print out sheets of notation but
to create music within your computer: You get all the tools you know from other midi sequencers for
maximum fine control to get exactly the music you want!</p>
<p>Working in Laborejo is very fast and efficient by using a combination of midi input and typing.</p>
<p>This README is just a short introduction. Consult the manual (see below) for more information.</p>
<h1>Contact and Information</h1>
<li>Website <a href=""></a></li>
<li>Documentation and Manual <a href=""></a></li>
<h1>Installation and Starting</h1>
<h3>Release Version</h3>
<p>If the latest release is not available through your package manger you can build it yourself:
Download the latest code release on <a href=""></a> and extract it.</p>
<h3>Git Version</h3>
<p>It is possible to clone a git repository.</p>
<p><code>git clone --recurse-submodules</code></p>
<p>If you want to update at a later date you must use</p>
<p><code>git pull --recurse-submodules</code></p>
<li>Python 3.6 (maybe earlier)</li>
<li>PyQt5 for Python 3</li>
<li>DejaVu Sans Sarif TTF (Font) (recommended, but not technically necessary)</li>
<li>A Brain</li>
<h4>Build Dependencies</h4>
<li>Nuitka >= 0.6 (maybe earlier. Optional when running from source dir)</li>
<li>GCC (development is done on 8.2, but most likely you can use a much earlier version)</li>
<li>Jack Audio Connection Kit must be running</li>
<li>Non Session Manager</li>
<pre><code>./configure --prefix=/usr/local
sudo make install
<p>There are multiple ways to run Laborejo which should give you the flexibility to configure your
system as you want.</p>
<p>We make no distinction if you installed Laborejo yourself or through the distributions package-manager.</p>
<p>The differences are: With or without NSM, with or without sound, installed or from the source dir.
The permutations are too many to describe them all in detail, but here are some useful modes:</p>
<h3>Installed with Non Session Manager (recommended)</h3>
<p>Starting Laborejo through the Non Session Manager after you installed laborejo2 system-wide
is the recommended and only supported way. Start non-session-manager and load or create a new
session. Then use the button &ldquo;Add Client to Session&rdquo; and type in <code>laborejo2</code>.
It should appear with an icon in the list and open its GUI.</p>
<h3>Installed without NSM</h3>
<p>You need to start laborejo2 from a terminal (or create a starter script).</p>
<p><code>laborejo2 --save DIRECTORY</code></p>
<p>Uses the given directory to save. The dir will be created or loaded from if already present. Use
the applications file menu to save (Ctrl+s).</p>
<p>You can use this to load and save the files from an existing NSM session. If you create a new
directory you can copy it manually to an NSM session directory, but that requires renaming the
directory to append the unique ID provided by NSM.</p>
<p>Sending SIGUSR1 to the program in this mode will trigger a save.</p>
<p>Closing through your window manager in this mode will actually quit the application without a
prompt to save changes.</p>
<h2>From source directory</h2>
<p>You can run Laborejo after extracting the release archive or cloning from git, without installation.</p>
<p>&ldquo;Calfbox&rdquo; is the name of our internal realtime midi/audio python module.</p>
<li>You can either choose to install the module systemwide, which will make running all Laborejo Software Suite programs more convenient (when run from the source dir). Please consult <a href=""></a></li>
<li>Or you just run <code>./configure</code> and <code>make calfbox</code> without subsequent install, which creates a <code>site-packages</code> directory in the source dir.</li>
<li>A third option is <code>laborejo2 --mute</code> which runs without sound at all and does not need calfbox.</li>
<h3>From source directory with NSM</h3>
<p>The developer uses this way to develop and use the software, so it will always be as stable as the
compiled version. But it is a bit less performant than building and installing it.</p>
<p>After extracting the release archive create a symlink from <code>laborejo2</code> into your PATH. e.g. /usr/bin
or ~/bin, if that exists on your system.</p>
<p>If you compiled without installing you can also symlink to <code>./laborejo2.bin</code></p>
<h3>From source dir without NSM</h3>
<p>Use <code>./laborejo2 --save</code> (see above). If you compiled without installing you can also run <code>./laborejo2.bin</code></p>
<h3>No NSM, no Make, No Sound</h3>
<p>Combining the above options you can start the program directly after unpacking or cloning from git:</p>
<p><code>./laborejo2 --save /tmp --mute</code></p>
<p>Or even shorter:</p>
<p><code>./laborejo2 -s /tmp -m</code></p>
<p>This is the minimal run mode which is only useful for testing and development. But if you only want
to look at the GUI and are not in the mood to install anything -including dependencies-, go ahead.</p>