-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: (90 commits) Grey out muted patterns in the BB editor Crash at clearing path in settings manager Clear buffer of dummy instruments. Should fix LMMS#2682 Get rid of another copy constructor call to prevent Qt5 crashes Enables style sheets for knob line colors for all knob types Kicker 'version' 0 on first save Add C++11 compile flag to the carla plugin as well Elide channel names to prevent text overflow in FxLine Replace every use of the foreach macro with a C++11 range-based for loop Compile several plugins with -std=c++0x to support range-based for loops Make lb302 include math.h so we can switch it to C++11 File browser, factory files off by one Fix regression caused by fcec8dd Fix BBtrack updating; Fix the Pattern tooltip Rewrote ProjectVersionTest.cpp to use QVERIFY and indeed fail when it's supposed to fail, and added 2 tests in this test suite. data/locale: zh_CN.ts not zh.ts White-space formatting Add gig player to win32 builds Update Chinese translations Fix locale generation for win32 builds Closes LMMS#2577 ...
- Loading branch information
Showing
244 changed files
with
7,770 additions
and
4,839 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo add-apt-repository ppa:kalakris/cmake -y; | ||
sudo add-apt-repository ppa:andrewrk/libgroove -y; | ||
if [ $QT5 ] | ||
then | ||
if [ $QT5 ]; then | ||
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y | ||
fi | ||
sudo apt-get update -qq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_WERROR=ON -DWANT_QT5=$QT5 .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo add-apt-repository ppa:tobydox/mingw-x-precise -y | ||
sudo apt-get update -qq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
sudo apt-get install -y nsis cloog-isl libmpc2 mingw32 | ||
#!/usr/bin/env bash | ||
|
||
sudo apt-get install -y mingw32-x-qt mingw32-x-sdl mingw32-x-libvorbis \ | ||
mingw32-x-fluidsynth mingw32-x-stk mingw32-x-glib2 mingw32-x-portaudio \ | ||
mingw32-x-libsndfile mingw32-x-fftw mingw32-x-flac mingw32-x-fltk \ | ||
mingw32-x-libsamplerate mingw32-x-pkgconfig mingw32-x-binutils \ | ||
mingw32-x-gcc mingw32-x-runtime mingw32-x-libgig mingw32-x-libsoundio | ||
PACKAGES="nsis cloog-isl libmpc2 qt4-linguist-tools mingw32 | ||
mingw32-x-sdl mingw32-x-libvorbis mingw32-x-fluidsynth mingw32-x-stk | ||
mingw32-x-glib2 mingw32-x-portaudio mingw32-x-libsndfile mingw32-x-fftw | ||
mingw32-x-flac mingw32-x-fltk mingw32-x-libsamplerate | ||
mingw32-x-pkgconfig mingw32-x-binutils mingw32-x-gcc mingw32-x-runtime | ||
mingw32-x-libgig mingw32-x-libsoundio" | ||
|
||
if [ $QT5 ]; then | ||
PACKAGES="$PACKAGES mingw32-x-qt5base" | ||
else | ||
PACKAGES="$PACKAGES mingw32-x-qt" | ||
fi | ||
|
||
sudo apt-get install -y $PACKAGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
export CMAKE_OPTS="-DUSE_WERROR=ON" | ||
../cmake/build_mingw32.sh || ../cmake/build_mingw32.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
sh .travis/linux.win32.before_install.sh | ||
#!/usr/bin/env bash | ||
|
||
. .travis/linux.win32.before_install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
sh .travis/linux.win32.install.sh | ||
#!/usr/bin/env bash | ||
|
||
sudo apt-get install -y mingw64-x-qt mingw64-x-sdl mingw64-x-libvorbis \ | ||
mingw64-x-fluidsynth mingw64-x-stk mingw64-x-glib2 mingw64-x-portaudio \ | ||
mingw64-x-libsndfile mingw64-x-fftw mingw64-x-flac mingw64-x-fltk \ | ||
mingw64-x-libsamplerate mingw64-x-pkgconfig mingw64-x-binutils mingw64-x-gcc\ | ||
mingw64-x-runtime mingw64-x-libgig mingw64-x-libsoundio | ||
# First, install 32-bit deps | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
. $DIR/linux.win32.install.sh | ||
|
||
PACKAGES="mingw64-x-sdl mingw64-x-libvorbis mingw64-x-fluidsynth mingw64-x-stk | ||
mingw64-x-glib2 mingw64-x-portaudio mingw64-x-libsndfile | ||
mingw64-x-fftw mingw64-x-flac mingw64-x-fltk mingw64-x-libsamplerate | ||
mingw64-x-pkgconfig mingw64-x-binutils mingw64-x-gcc mingw64-x-runtime | ||
mingw64-x-libgig mingw64-x-libsoundio" | ||
|
||
if [ $QT5 ]; then | ||
PACKAGES="$PACKAGES mingw64-x-qt5base" | ||
else | ||
PACKAGES="$PACKAGES mingw64-x-qt" | ||
fi | ||
|
||
sudo apt-get install -y $PACKAGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
export CMAKE_OPTS="-DUSE_WERROR=ON" | ||
../cmake/build_mingw64.sh || ../cmake/build_mingw64.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
brew update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
brew install qt libsndfile fftw libvorbis libogg jack sdl libsamplerate stk fluid-synth portaudio fltk | ||
#!/usr/bin/env bash | ||
|
||
PACKAGES="cmake pkgconfig fftw libogg libvorbis libsndfile libsamplerate jack sdl stk fluid-synth portaudio node" | ||
|
||
if [ $QT5 ]; then | ||
PACKAGES="$PACKAGES qt5" | ||
else | ||
PACKAGES="$PACKAGES qt" | ||
fi | ||
|
||
brew reinstall $PACKAGES | ||
|
||
sudo npm install -g appdmg | ||
|
||
# Workaround per Homebrew bug #44806 | ||
brew reinstall fltk | ||
if [ $? -ne 0 ]; then | ||
echo "Warning: fltk installation failed, trying workaround..." | ||
brew reinstall --devel https://raw.githubusercontent.com/dpo/homebrew/ec46018128dde5bf466b013a6c7086d0880930a3/Library/Formula/fltk.rb | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. -DUSE_WERROR=OFF | ||
#!/usr/bin/env bash | ||
|
||
if [ $QT5 ]; then | ||
# Workaround; No FindQt5.cmake module exists | ||
export CMAKE_PREFIX_PATH="$(brew --prefix qt5)" | ||
fi | ||
|
||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWANT_QT5=$QT5 -DUSE_WERROR=OFF .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,10 +29,10 @@ SET(PROJECT_AUTHOR "LMMS Developers") | |
SET(PROJECT_URL "http://lmms.io") | ||
SET(PROJECT_EMAIL "[email protected]") | ||
SET(PROJECT_DESCRIPTION "${PROJECT_NAME_UCASE} - Free music production software") | ||
SET(PROJECT_COPYRIGHT "${PROJECT_AUTHOR}, 2008-${PROJECT_YEAR}") | ||
SET(PROJECT_COPYRIGHT "2008-${PROJECT_YEAR} ${PROJECT_AUTHOR}") | ||
SET(VERSION_MAJOR "1") | ||
SET(VERSION_MINOR "1") | ||
SET(VERSION_PATCH "3") | ||
SET(VERSION_PATCH "90") | ||
#SET(VERSION_SUFFIX "") | ||
SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}") | ||
IF(VERSION_SUFFIX) | ||
|
@@ -83,12 +83,14 @@ IF(LMMS_BUILD_WIN32) | |
SET(WANT_ALSA OFF) | ||
SET(WANT_JACK OFF) | ||
SET(WANT_PULSEAUDIO OFF) | ||
SET(WANT_SOUNDIO OFF) | ||
SET(WANT_SYSTEM_SR OFF) | ||
SET(WANT_WINMM ON) | ||
SET(LMMS_HAVE_WINMM TRUE) | ||
SET(STATUS_ALSA "<not supported on this platform>") | ||
SET(STATUS_JACK "<not supported on this platform>") | ||
SET(STATUS_PULSEAUDIO "<not supported on this platform>") | ||
SET(STATUS_SOUNDIO "<disabled in this release>") | ||
SET(STATUS_WINMM "OK") | ||
SET(STATUS_APPLEMIDI "<not supported on this platform>") | ||
ELSE(LMMS_BUILD_WIN32) | ||
|
@@ -132,6 +134,7 @@ IF(WANT_QT5) | |
|
||
FIND_PACKAGE(Qt5Core REQUIRED) | ||
FIND_PACKAGE(Qt5Gui REQUIRED) | ||
FIND_PACKAGE(Qt5LinguistTools) | ||
FIND_PACKAGE(Qt5Widgets REQUIRED) | ||
FIND_PACKAGE(Qt5Xml REQUIRED) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,54 @@ | ||
FILE(GLOB QM_FILES *.qm) | ||
if (QT5) | ||
set (QT_LUPDATE_EXECUTABLE "${Qt5_LUPDATE_EXECUTABLE}") | ||
set (QT_LRELEASE_EXECUTABLE "${Qt5_LRELEASE_EXECUTABLE}") | ||
endif () | ||
|
||
IF(QT_LUPDATE_EXECUTABLE STREQUAL "") | ||
EXECUTE_PROCESS(COMMAND "lupdate" "--help" RESULT_VARIABLE LUPDATE_FALLBACK OUTPUT_QUIET) | ||
IF(LUPDATE_FALLBACK EQUAL 0) | ||
SET(QT_LUPDATE_EXECUTABLE lupdate) | ||
SET(QT_LRELEASE_EXECUTABLE lrelease) | ||
ELSE() | ||
MESSAGE(FATAL_ERROR "Cannot generate locales") | ||
ENDIF() | ||
ENDIF() | ||
|
||
|
||
# | ||
# rules for building localizations | ||
# | ||
SET(ts_targets "") | ||
SET(qm_targets "") | ||
SET(QM_FILES "") | ||
|
||
FILE(GLOB lmms_LOCALES ${CMAKE_CURRENT_SOURCE_DIR}/*.ts) | ||
FOREACH(_ts_file ${lmms_LOCALES}) | ||
GET_FILENAME_COMPONENT(_ts_target "${_ts_file}" NAME) | ||
STRING(REPLACE ".ts" ".qm" _qm_file "${_ts_file}") | ||
STRING(REPLACE ".ts" ".qm" _qm_target "${_ts_target}") | ||
ADD_CUSTOM_TARGET(${_ts_target} | ||
COMMAND "${QT_LUPDATE_EXECUTABLE}" -locations none -no-obsolete -I ${CMAKE_SOURCE_DIR}/include/ ${LMMS_SRCS} ${LMMS_INCLUDES} ${LMMS_UIS} `find "\"${CMAKE_SOURCE_DIR}/plugins/\"" -type f -name '*.cpp' -or -name '*.h'` -ts "\"${_ts_file}\"" | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) | ||
ADD_CUSTOM_TARGET(${_qm_target} | ||
COMMAND "${QT_LRELEASE_EXECUTABLE}" "\"${_ts_file}\"" -qm "\"${_qm_file}\"" | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) | ||
LIST(APPEND ts_targets "${_ts_target}") | ||
LIST(APPEND qm_targets "${_qm_target}") | ||
LIST(APPEND QM_FILES "${_qm_file}") | ||
ENDFOREACH(_ts_file ${lmms_LOCALES}) | ||
|
||
ADD_CUSTOM_TARGET(update-locales) | ||
FOREACH(_item ${ts_targets}) | ||
ADD_DEPENDENCIES(update-locales "${_item}") | ||
ENDFOREACH(_item ${ts_targets}) | ||
|
||
ADD_CUSTOM_TARGET(finalize-locales ALL) | ||
FOREACH(_item ${qm_targets}) | ||
ADD_DEPENDENCIES(finalize-locales "${_item}") | ||
ENDFOREACH(_item ${qm_targets}) | ||
|
||
IF(LMMS_BUILD_WIN32) | ||
FILE(GLOB QT_QM_FILES "${QT_TRANSLATIONS_DIR}/qt*[^h].qm") | ||
ENDIF(LMMS_BUILD_WIN32) | ||
|
||
INSTALL(FILES ${QM_FILES} ${QT_QM_FILES} DESTINATION "${LMMS_DATA_DIR}/locale") | ||
|
Oops, something went wrong.