-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finalize details for windows installer
Signed-off-by: falkTX <falktx@falktx.com>
- Loading branch information
Showing
10 changed files
with
1,690 additions
and
35 deletions.
There are no files selected for viewing
Submodule PawPaw
updated
4 files
+22 −19 | bootstrap-mod.sh | |
+13 −0 | patches/Pillow/01_fix-build.patch | |
+2 −2 | patches/host-Python/win32/9001-pawpaw-needed-changes.patch | |
+1 −1 | setup/functions.sh |
Submodule mod-host
updated
from 194d4a to ee4419
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 was deleted.
Oops, something went wrong.
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,46 +1,150 @@ | ||
#include "win64-version.iss" | ||
|
||
[Setup] | ||
ArchitecturesInstallIn64BitMode=x64 | ||
AppName=mod-app | ||
AppPublisher=DISTRHO | ||
AppPublisherURL=https://github.com/DISTRHO/Cardinal/ | ||
AppSupportURL=https://github.com/DISTRHO/Cardinal/issues/ | ||
AppUpdatesURL=https://github.com/DISTRHO/Cardinal/releases/ | ||
AppPublisher=MOD Audio | ||
AppPublisherURL=https://github.com/moddevices/Cardinal/ | ||
AppSupportURL=https://github.com/moddevices/Cardinal/issues/ | ||
AppUpdatesURL=https://github.com/moddevices/Cardinal/releases/ | ||
AppVersion={#VERSION} | ||
DefaultDirName={commonpf64}\mod-app | ||
DisableDirPage=yes | ||
DisableWelcomePage=no | ||
LicenseFile=..\LICENSE | ||
OutputBaseFilename=mod-app-win64-{#VERSION}-installer | ||
OutputDir=. | ||
OutputDir=.. | ||
UsePreviousAppDir=no | ||
|
||
[Types] | ||
Name: "normal"; Description: "Full installation"; | ||
|
||
[Components] | ||
Name: plugins; Description: "LV2 plugins"; Types: normal; Flags: fixed; | ||
|
||
[Files] | ||
; icon | ||
; Source: ".\mod-app.ico"; DestDir: "{app}"; Flags: ignoreversion; | ||
; jack | ||
Source: "..\systray\mod-logo.ico"; DestDir: "{app}"; Flags: ignoreversion; | ||
; jack + mod-host | ||
Source: "..\build\jackd.exe"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\libjack64.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\libjackserver64.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\jack\jack-session.conf"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\jack\jack_portaudio.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\jack\jack_winmme.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\jack\mod-host.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\jack\mod-midi-broadcaster.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\jack\mod-midi-merger.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
; mod-ui | ||
Source: "..\build\jack\jack-session.conf"; DestDir: "{app}\jack"; Flags: ignoreversion; | ||
Source: "..\build\jack\jack_portaudio.dll"; DestDir: "{app}\jack"; Flags: ignoreversion; | ||
Source: "..\build\jack\jack_winmme.dll"; DestDir: "{app}\jack"; Flags: ignoreversion; | ||
Source: "..\build\jack\mod-host.dll"; DestDir: "{app}\jack"; Flags: ignoreversion; | ||
Source: "..\build\jack\mod-midi-broadcaster.dll"; DestDir: "{app}\jack"; Flags: ignoreversion; | ||
Source: "..\build\jack\mod-midi-merger.dll"; DestDir: "{app}\jack"; Flags: ignoreversion; | ||
; mod-app + qt5 | ||
Source: "..\build\mod-app.exe"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\Qt5*.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\bearer\q*.dll"; DestDir: "{app}\bearer"; Flags: ignoreversion; | ||
Source: "..\build\generic\q*.dll"; DestDir: "{app}\generic"; Flags: ignoreversion; | ||
Source: "..\build\iconengines\q*.dll"; DestDir: "{app}\iconengines"; Flags: ignoreversion; | ||
Source: "..\build\imageformats\q*.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion; | ||
Source: "..\build\platforms\q*.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion; | ||
Source: "..\build\styles\q*.dll"; DestDir: "{app}\styles"; Flags: ignoreversion; | ||
; mod-ui + python | ||
Source: "..\build\mod-screenshot.exe"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\mod-ui.exe"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\libpython3.8.dll"; DestDir: "{app}"; Flags: ignoreversion; | ||
Source: "..\build\default.pedalboard\manifest.ttl"; DestDir: "{app}\default.pedalboard"; Flags: ignoreversion; | ||
Source: "..\build\default.pedalboard\screenshot.png"; DestDir: "{app}\default.pedalboard"; Flags: ignoreversion; | ||
Source: "..\build\default.pedalboard\thumbnail.png"; DestDir: "{app}\default.pedalboard"; Flags: ignoreversion; | ||
Source: "..\build\html\*.html"; DestDir: "{app}\html"; Flags: ignoreversion; | ||
Source: "..\build\html\favicon.ico"; DestDir: "{app}\html"; Flags: ignoreversion; | ||
Source: "..\build\html\css\*.css"; DestDir: "{app}\html\css"; Flags: ignoreversion; | ||
Source: "..\build\html\css\fontello\css\*.css"; DestDir: "{app}\html\css\fontello\css"; Flags: ignoreversion; | ||
Source: "..\build\html\css\fontello\font\*.eot"; DestDir: "{app}\html\css\fontello\font"; Flags: ignoreversion; | ||
Source: "..\build\html\css\fontello\font\*.svg"; DestDir: "{app}\html\css\fontello\font"; Flags: ignoreversion; | ||
Source: "..\build\html\css\fontello\font\*.ttf"; DestDir: "{app}\html\css\fontello\font"; Flags: ignoreversion; | ||
Source: "..\build\html\css\fontello\font\*.woff"; DestDir: "{app}\html\css\fontello\font"; Flags: ignoreversion; | ||
Source: "..\build\html\css\fontello\font\*.woff2"; DestDir: "{app}\html\css\fontello\font"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-200\*.eot"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-200"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-200\*.svg"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-200"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-200\*.ttf"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-200"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-200\*.woff"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-200"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-200\*.woff2"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-200"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-600\*.eot"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-600"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-600\*.svg"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-600"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-600\*.ttf"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-600"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-600\*.woff"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-600"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-600\*.woff2"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-600"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-700\*.eot"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-700"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-700\*.svg"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-700"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-700\*.ttf"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-700"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-700\*.woff"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-700"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-700\*.woff2"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-700"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-regular\*.eot"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-regular"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-regular"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-regular\*.svg"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-regular"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-regular\*.ttf"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-regular"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-regular\*.woff"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\Ek-Mukta\Ek-Mukta-regular"; DestDir: "{app}\html\fonts\Ek-Mukta\Ek-Mukta-regular\*.woff2"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\comforta\*.ttf"; DestDir: "{app}\html\fonts\comforta"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\cooper\*.eot"; DestDir: "{app}\html\fonts\cooper"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\cooper\*.ttf"; DestDir: "{app}\html\fonts\cooper"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\cooper\*.woff"; DestDir: "{app}\html\fonts\cooper"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\cooper\*.woff2"; DestDir: "{app}\html\fonts\cooper"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\css\*.css"; DestDir: "{app}\html\fonts\css"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\england-hand\*.css"; DestDir: "{app}\html\fonts\england-hand"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\england-hand\*.eot"; DestDir: "{app}\html\fonts\england-hand"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\england-hand\*.svg"; DestDir: "{app}\html\fonts\england-hand"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\england-hand\*.ttf"; DestDir: "{app}\html\fonts\england-hand"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\england-hand\*.woff"; DestDir: "{app}\html\fonts\england-hand"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\epf\*.css"; DestDir: "{app}\html\fonts\epf\*.css"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\epf\*.eot"; DestDir: "{app}\html\fonts\epf\*.eot"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\epf\*.svg"; DestDir: "{app}\html\fonts\epf\*.svg"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\epf\*.ttf"; DestDir: "{app}\html\fonts\epf"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\epf\*.woff"; DestDir: "{app}\html\fonts\epf"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\nexa\*.css"; DestDir: "{app}\html\fonts\nexa"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\nexa\*.eot"; DestDir: "{app}\html\fonts\nexa"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\nexa\*.svg"; DestDir: "{app}\html\fonts\nexa"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\nexa\*.ttf"; DestDir: "{app}\html\fonts\nexa"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\nexa\*.woff"; DestDir: "{app}\html\fonts\nexa"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\pirulen\*.css"; DestDir: "{app}\html\fonts\pirulen"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\pirulen\*.eot"; DestDir: "{app}\html\fonts\pirulen"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\pirulen\*.ttf"; DestDir: "{app}\html\fonts\pirulen"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\pirulen\*.woff"; DestDir: "{app}\html\fonts\pirulen"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\questrial\*.css"; DestDir: "{app}\html\fonts\questrial"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\questrial\*.eot"; DestDir: "{app}\html\fonts\questrial"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\questrial\*.svg"; DestDir: "{app}\html\fonts\questrial"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\questrial\*.ttf"; DestDir: "{app}\html\fonts\questrial"; Flags: ignoreversion; | ||
Source: "..\build\html\fonts\questrial\*.woff"; DestDir: "{app}\html\fonts\questrial"; Flags: ignoreversion; | ||
Source: "..\build\html\img\*.gif"; DestDir: "{app}\html\img"; Flags: ignoreversion; | ||
Source: "..\build\html\img\*.jpg"; DestDir: "{app}\html\img"; Flags: ignoreversion; | ||
Source: "..\build\html\img\*.png"; DestDir: "{app}\html\img"; Flags: ignoreversion; | ||
Source: "..\build\html\img\*.svg"; DestDir: "{app}\html\img"; Flags: ignoreversion; | ||
Source: "..\build\html\img\cloud\*.png"; DestDir: "{app}\html\img\cloud"; Flags: ignoreversion; | ||
Source: "..\build\html\img\favicon\*.png"; DestDir: "{app}\html\img\favicon"; Flags: ignoreversion; | ||
Source: "..\build\html\img\icons\*.css"; DestDir: "{app}\html\img\icons"; Flags: ignoreversion; | ||
Source: "..\build\html\img\icons\*.svg"; DestDir: "{app}\html\img\icons"; Flags: ignoreversion; | ||
Source: "..\build\html\img\icons\*.png"; DestDir: "{app}\html\img\icons"; Flags: ignoreversion; | ||
Source: "..\build\html\img\icons\25\*.png"; DestDir: "{app}\html\img\icons\25"; Flags: ignoreversion; | ||
Source: "..\build\html\img\icons\36\*.png"; DestDir: "{app}\html\img\icons\36"; Flags: ignoreversion; | ||
Source: "..\build\html\img\social\*.png"; DestDir: "{app}\html\img\social"; Flags: ignoreversion; | ||
Source: "..\build\html\include\*.html"; DestDir: "{app}\html\include"; Flags: ignoreversion; | ||
Source: "..\build\html\js\*.js"; DestDir: "{app}\html\js"; Flags: ignoreversion; | ||
Source: "..\build\html\js\utils\*.js"; DestDir: "{app}\html\js\utils"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\*.js"; DestDir: "{app}\html\js\lib"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\slick\*.js"; DestDir: "{app}\html\js\lib\slick"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\slick\*.css"; DestDir: "{app}\html\js\lib\slick"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\slick\*.gif"; DestDir: "{app}\html\js\lib\slick"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\slick\fonts\*.eot"; DestDir: "{app}\html\js\lib\slick\fonts"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\slick\fonts\*.svg"; DestDir: "{app}\html\js\lib\slick\fonts"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\slick\fonts\*.ttf"; DestDir: "{app}\html\js\lib\slick\fonts"; Flags: ignoreversion; | ||
Source: "..\build\html\js\lib\slick\fonts\*.woff"; DestDir: "{app}\html\js\lib\slick\fonts"; Flags: ignoreversion; | ||
Source: "..\build\html\resources\*.html"; DestDir: "{app}\html\resources"; Flags: ignoreversion; | ||
Source: "..\build\html\resources\pedals\*.css"; DestDir: "{app}\html\resources\pedals"; Flags: ignoreversion; | ||
Source: "..\build\html\resources\pedals\*.png"; DestDir: "{app}\html\resources\pedals"; Flags: ignoreversion; | ||
Source: "..\build\html\resources\templates\*.html"; DestDir: "{app}\html\resources\templates"; Flags: ignoreversion; | ||
Source: "..\build\lib\*.dll"; DestDir: "{app}\lib"; Flags: ignoreversion; | ||
Source: "..\build\lib\*.pyd"; DestDir: "{app}\lib"; Flags: ignoreversion; | ||
Source: "..\build\lib\*.zip"; DestDir: "{app}\lib"; Flags: ignoreversion; | ||
Source: "..\build\mod\*.py"; DestDir: "{app}\mod"; Flags: ignoreversion; | ||
Source: "..\build\mod\communication\*.py"; DestDir: "{app}\mod\communication"; Flags: ignoreversion; | ||
Source: "..\build\modtools\*.py"; DestDir: "{app}\modtools"; Flags: ignoreversion; | ||
Source: "..\build\default.pedalboard\manifest.ttl"; DestDir: "{app}\default.pedalboard"; Flags: ignoreversion; | ||
Source: "..\build\default.pedalboard\screenshot.png"; DestDir: "{app}\default.pedalboard"; Flags: ignoreversion; | ||
Source: "..\build\default.pedalboard\thumbnail.png"; DestDir: "{app}\default.pedalboard"; Flags: ignoreversion; | ||
Source: "..\build\html\*.html" | ||
Source: "..\build\html\favicon.ico" | ||
; plugins | ||
#include "win64-plugins.iss" | ||
|
||
[Icons] | ||
Name: "{commonprograms}\MOD App"; Filename: "{app}\mod-app.exe"; IconFilename: "{app}\mod-logo.ico"; WorkingDir: "{app}"; Comment: "MOD Desktop App"; |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if [ ! -d build ]; then | ||
echo "Please run this script from the root folder" | ||
exit | ||
fi | ||
|
||
# setup innosetup | ||
dlfile="${PWD}/utils/innosetup-6.0.5.exe" | ||
innodir="${PWD}/build/innosetup-6.0.5" | ||
iscc="${innodir}/drive_c/InnoSetup/ISCC.exe" | ||
|
||
# download it | ||
if [ ! -f "${dlfile}" ]; then | ||
# FIXME proper dl version | ||
curl -L https://jrsoftware.org/download.php/is.exe -o "${dlfile}" | ||
fi | ||
|
||
# initialize wine | ||
if [ ! -d "${innodir}"/drive_c ]; then | ||
env WINEPREFIX="${innodir}" wineboot -u | ||
fi | ||
|
||
# install innosetup in custom wineprefix | ||
if [ ! -f "${innodir}"/drive_c/InnoSetup/ISCC.exe ]; then | ||
env WINEPREFIX="${innodir}" wine "${dlfile}" /allusers /dir=C:\\InnoSetup /nocancel /norestart /verysilent | ||
fi | ||
|
||
# generate plugins | ||
echo -n "" > utils/win64-plugins.iss | ||
IFS=' | ||
' | ||
for f in $(find -L build/plugins/ -type f); do | ||
d=$(dirname $(echo ${f} | sed "s|build/plugins/||")) | ||
echo "Source: \"..\\$(echo ${f} | tr '/' '\\')\"; DestDir: \"{app}\\plugins\\$(echo ${d} | tr '/' '\\')\"; Components: plugins; Flags: ignoreversion;" >> utils/win64-plugins.iss | ||
done | ||
|
||
# generate version | ||
echo "#define VERSION \"0.0.0\"" > utils/win64-version.iss | ||
|
||
# create the installer file | ||
pushd "utils" | ||
env WINEPREFIX="${innodir}" wine "${iscc}" "win64-installer.iss" | ||
popd |
Oops, something went wrong.