update docs

This commit is contained in:
Alexey Loginov 2019-07-10 06:56:00 +03:00
parent 614b93d456
commit 79b61ef244
7 changed files with 25 additions and 25 deletions

View File

@ -1,4 +1,4 @@
# Linux
# Linux and BSD Unix
Ensure that the build required packages are installed. Full list of them you can find [here](pkgs).
@ -30,6 +30,8 @@ See [RPM](pkgs/rpm/pianobooster.spec) for more details.
See [ARCH](pkgs/arch/PKGBUILD) for more details.
See [TGZ](pkgs/slack) for more details.
# macOS
Install latest Xcode (from Apple Developer Connection, free registration required).
@ -47,10 +49,6 @@ debug or release etc.) and compile.
To make a self contained application bundle use QT's macdeployqt tool (included in QT 4.5.0).
# BSD Unix
It's recommends to build with enabled NO_LANGS.
# Windows
To compile in Windows install the Open Source version of Qt and CMake and optionally Geany.

View File

@ -51,8 +51,8 @@ file wherever you wish (/Application folder is suggested).
[pianobooster-mac-0.6.5-alpha1.dmg](https://github.com/chrisballinger/PianoBooster/releases/tag/v0.6.5-alpha1) (not official)
LINUX
=====
LINUX and BSD UNIX
==================
To run Piano Booster you need a MIDI Piano Keyboard and a MIDI interface for the PC. (If you
don't have a MIDI keyboard you can still try out PianoBooster using the PC keyboard, 'x' is
@ -60,15 +60,15 @@ middle C - but a MIDI piano is recommend).
To hear music from the computer you will need a General Midi compatible sound synthesizer.
While there are many possible choices for the Linux (Timidity, FluidSynth), the easiest way is
to use Timidity.
to use Timidity. Timidity is BSD Unix is not workable, please use FluidSynth.
This must be started before Pianobooster, and also allows to load custom Soundfonts.
Install RPM, DEB, ARCH, etc. package.
Install RPM, DEB, ARCH, TGZ etc. package.
Packages for Linux are available in repositories of distributions [here](https://pkgs.org/download/pianobooster).
Packages for Linux and BSD Unix are available in repositories of distributions [here](https://pkgs.org/download/pianobooster).
Packages for Linux are available in OBS repository:
Packages for Linux (not for BSD Unix) are available in OBS repository:
[pianobooster](https://software.opensuse.org/download.html?project=home%3Aloginov_alex_valer&package=pianobooster)
@ -78,7 +78,7 @@ Packages for Linux are available in OBS repository:
*Note:* The packages provided with distributions may not exist or are out of date,
in which case you will have to compile from the source code.
However compiling from source is quite easy on Linux.
However compiling from source is quite easy on Linux and BSD Unix.
MIDI FILES
==========
@ -206,4 +206,4 @@ We are looking for musicians to make music for pianobooster. It can be education
PLATFORMS
=========
We support Linux and Windows platforms. We do not have macOS, BSD Unix developers at the moment.
We support Linux, BSD Unix and Windows platforms. We do not have macOS developers at the moment.

View File

@ -11,7 +11,7 @@ v0.7.0:
- Add Piano Keyboard widget
- Update documentation
- Fix problem loading midi files with text events
- New Windows installer
- New localized Windows installer
- Use hicolor icon theme
- Fix USE_FLUIDSYNTH flag
- Fix incorrect drawing on ARM systems
@ -20,7 +20,7 @@ v0.7.0:
- RtMidi: version 4.0.0
- Fix reading saved position of main window
- Fix music and translations installation
- Qmake is alternative for Cmake (Linux, Windows)
- Qmake is alternative for Cmake (Linux, BSD Unix, Windows)
- Fix macOS building
- Fix file open dialog hang by disabling timer
- Add JACK support for tools/fluidsynth
@ -29,6 +29,7 @@ v0.7.0:
- Fixes for BSD Unix to use fluidsynth+JACK without ALSA
- Patch for behavior similar to computer touch-typing (gtypist): "Follow Through
Errors" mode
- Add Repeat checkbox to repeat song
v0.6.8: (11 May 2018)
- French and Galician translations

View File

@ -220,7 +220,7 @@ so that you can hear what you are playing without a delay.
Then aim to use the **'Play Along'** mode as much as possible.
To use the **'Follow You'** mode you will need set the latency value (see the next question)
or alternately use a realtime sound generator with low latency (recommended, For Linux see
or alternately use a realtime sound generator with low latency (recommended, For Linux, BSD Unix see
[fluidsynth Low Latency page](https://github.com/FluidSynth/fluidsynth/wiki/LowLatency).
## What is the latency fix?

View File

@ -230,12 +230,12 @@ unix {
updateqm.CONFIG += no_link target_predeps
QMAKE_EXTRA_COMPILERS += updateqm
data_langs.path = $$PREFIX/$$DATA_DIR/translations
data_langs.path = $$PREFIX/$$DATA_DIR/translations
data_langs.files = translations/*.qm translations/langs.json
INSTALLS += data_langs
data_langs_fix.path = $$PREFIX/$$DATA_DIR/translations/
data_langs_fix.extra = rm ${INSTALL_ROOT}$$PREFIX/$$DATA_DIR/translations/music_blank.qm \
data_langs_fix.path = $$PREFIX/$$DATA_DIR/translations/
data_langs_fix.extra = rm ${INSTALL_ROOT}$$PREFIX/$$DATA_DIR/translations/music_blank.qm \
${INSTALL_ROOT}$$PREFIX/$$DATA_DIR/translations/pianobooster_blank.qm
INSTALLS += data_langs_fix
}

View File

@ -49,6 +49,11 @@ rm -rf $PRGNAM-src-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \

View File

@ -26,11 +26,9 @@ ENDIF(WIN32)
# set project's name
PROJECT( pianobooster )
cmake_policy(SET CMP0020 NEW)
cmake_policy(SET CMP0043 NEW)
# enable warnings
add_compile_options(-Wall)
@ -49,9 +47,8 @@ if (NOT DATA_DIR)
endif(NOT DATA_DIR)
add_compile_options("-DDATA_DIR=\"${DATA_DIR}\"")
MESSAGE("PREFIX:" ${CMAKE_INSTALL_PREFIX})
MESSAGE("DATA_DIR:" ${DATA_DIR})
MESSAGE("PREFIX: " ${CMAKE_INSTALL_PREFIX})
MESSAGE("DATA_DIR: " ${DATA_DIR})
FIND_PACKAGE( OpenGL REQUIRED )
@ -70,7 +67,6 @@ if (NO_LANGS)
add_compile_options("-DNO_LANGS")
endif(NO_LANGS)
# Finds Qt5 libraries
FIND_PACKAGE( Qt5 REQUIRED COMPONENTS Core Gui Widgets LinguistTools OpenGL Xml )