aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/windows
AgeCommit message (Collapse)Author
2020-11-12build-system: allow building only a 64bit Windows installerGravatar Dirk Hohndel
This is simply a time optimization that is sometimes useful Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-31cleanup: fix stupid hack for MXE build scriptGravatar Dirk Hohndel
This is much easier. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30build-system: enable both 32 & 64 bit Windows buildsGravatar Dirk Hohndel
The 32bit build won't include libmtp and therefore won't support the Garmin Descent Mk2/Mk2i. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30build-system: Docker build for 64bit MXEGravatar Dirk Hohndel
We previously tried to build the MXE Docker container on GitHub using an Action, but that really didn't work well and was a lot more trouble than it was worth. So this goes back to an offline build mechanism where I simply create an updated Docker image when needed and push that to Docker Hub. But this nearly hides the most interesting change here - we are finally switching to using 64bit binaries on Windows. It's 2020 and fewer than 1% of our users use 32bit Windows machines. We'll need to expand this to be able to have both a 32bit and a 64bit version of Subsurface for Windows. But for now, this solves the problem for 99% of our users. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30build-system: adapt the smtk2ssrf script for 64bit WindowsGravatar Dirk Hohndel
Quite analogous to the Subsurface Windows build script. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30build-system: first steps towards a 64bit Windows buildGravatar Dirk Hohndel
This is barely scratching the surface (no put intended), and of course the container needs to be updated, first, to have a 64bit version of MXE installed, but this seems to help make libmtp build correctly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30build-system: add libmtp for our Windows buildsGravatar Dirk Hohndel
This uses latest master (as that's the only one that has the explicit Descent Mk2i support in it). Right now, unfortunately the MXE build fails. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-24build-system: switch to using C++17 as default C++ dialectGravatar Berthold Stoeger
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-09packaging/windows: add the /styles folderGravatar Lubomir I. Ivanov
For Windows, the Subsurface installers do not include the file "qwindowsvistastyle.dll" required to make the applications that are published to have a native look. Modify the MXE *build.sh scripts to include the file as "plugins/styles/qwindowsvistastyle.dll". Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2020-10-08build-system: remove Grantlee from the packaging scriptsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-09-28build-system: document how to create a Windows installerGravatar Dirk Hohndel
These are the instructions that I use at this point. Removed a long obsolete script - it's been many, many years since that last was useful (it was still using qmake to try to build Subsurface) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-06-25build-system/MXE: build with more up to date MXE tools.Gravatar Paul Buxton
- use hidapi grantlee and mdbtools from MXE - update MXE version to use QT 5.15, and pull in libzstd and CMake 3.17.3 - fix linking of winmm on windows build with new mxe - add some instructions on building the container - add some new dependancies from QT 5.15 to the packaging - add a patch to MXE to Build qtconnectivity with native-win32-bluetooth [Dirk Hohndel: small refactor] Signed-off-by: Paul Buxton <paulbuxton.mail@googlemail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-14Revert "Windows build: Changesto build using mxebased hidapi,libusb and ↵Gravatar Dirk Hohndel
grantlee" This reverts commit 60e63afb8219ca22001a4d1c5c0e6a7e27af89d5. I merged this to early without paying attention to the fact that this needed an updated build container as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-10-13Windows build: Changesto build using mxebased hidapi,libusb and grantleeGravatar Paul Buxton
Remove hidapi from manually built components and use the mxe based one instead. Remove libzip as that is handled by mxe packages. Update version of grantlee used to build with qt 5.13.1. Also hide vscode files from git. [Dirk Hohndel: combined two commits, cleaned up the commit message and removed one now incorrect comment line from mxe-based-build.sh] Signed-off-by: Paul Buxton <paulbuxton.mail@googlemail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-01-21Windows/MXE: actually build HIDAPI libraryGravatar Dirk Hohndel
Otherwise Suunto EON Steel & EON Core, Scubapro G2 & Aladin Square and other, future USB HID dive computers won't be supported on Windows. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-11-14MXE: respect an MXE build type already definedGravatar Dirk Hohndel
And use that to have our Travis build still work with the existing MXE build container as well as the even older, pre-compiled MXE binaries used in the windows build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-11-13MXE: switch to i686-w64-mingw32.shared.posix.dw2Gravatar Dirk Hohndel
This allows us to build QtWebKit again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-10-23mxe-based-build.sh comments: Also build libftdi1Gravatar Stefan Fuchs
Add libftdi1 in comments in MXE build script. [Dirk Hohndel: and mention that it is possible to build without it] Signed-off-by: Stefan Fuchs <sfuchs@gmx.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-10-15make mdbtools build out-source treeGravatar Salvador Cuñat
mdbver.h is created on the fly by configure script and placed in our $BUILDDIR/include, while the compiler search for it in $SOURCEDIR/include. This could probably be achieved fine-tunning configure script but ... well, it works. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2018-10-07MXE: enable building against userspace FTDI drivers againGravatar Dirk Hohndel
This still doesn't seem to work as expected and needs more testing. Also, it can be turned off via command line argument Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-10-07MXE: use libgit2 from MXEGravatar Dirk Hohndel
MXE has had a new enough libgit2 for a while now. No reason anymore to build our own. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-10-02Revert "Windows: build against user space FTDI library"Gravatar Dirk Hohndel
This reverts commit 53341c037d5a5ecac6562933aa924b65c207104d. The commit isn't wrong, but it breaks Travis and I can't seem to get the newer MXE build to work on Travis. So while I figure out how to work around THAT, let's just revert this and come back to it once Travis is ready. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-09-30Windows: build against user space FTDI libraryGravatar Dirk Hohndel
This needs more testing, but should provide an alternative to relying on the Windows FTDI driver. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-09-30Windows: enable BLE supportGravatar Dirk Hohndel
This currently requires the wip/win branch of qtconnectivity. Eventually this should be merged into upstream Qt. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-06-25build-system: detect libdivecomputer changes in MXE buildGravatar Dirk Hohndel
Automatically trigger a rebuild of libdivecomputer if it has changed since the last build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-03-26MXE Windows build script: Chance MXE make call in commentGravatar Stefan Fuchs
In the comment/instruction how to build MXE add "libssh2" and "curl" to the make call. This seems to be needed in newer versions of MXE. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2018-03-26MXE Windows build script: Do right build flavor also for googlemapsGravatar Stefan Fuchs
Do the right build flavor also for the googlemaps plugin. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2018-02-24smtk-import: add windows building to travis-ciGravatar Salvador Cuñat
Prepare the building script to suport travis or set other automated builds, while keeping other options to manual builds. In before_install script, create needed directories, and dowload mdbtools sources. Add smtk2ssrf build script to travisbuild.sh Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2017-12-04libdc: update MXE buildGravatar Dirk Hohndel
If the submodule isn't initialized, run git submodule init before running submodule update. Also, ensure that the autotools are set up. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-03libdc: update the MXE build script for submoduleGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-15MXE: move the objcopy calls to cmakelists.txtGravatar Lubomir I. Ivanov
The objcopy calls to strip the debug symbols out of subsurface.exe need to happen before the installer is created (staged). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-11-13MXE: experiment with creating a RelWithDebInfo buildGravatar Lubomir I. Ivanov
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-11-11Travis: also build an MXE/Windows installerGravatar Dirk Hohndel
In the process, simplify our dependency a bit by no longer building against libssh2 (we don't support ssh based authentication for git on Windows) and libcurl (since it's proxy implementation doesn't appear to actually work on Windows, anyway). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-09-24Windows NSI installer: Remove qml folder on uninstallGravatar Stefan Fuchs
Do remove also the (new) qml folder on uninstall. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-09-15MXE build script: Mention googlemaps plugin in commentsGravatar Stefan Fuchs
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-09-15MXE build script: Remove hint to use old MXE versionGravatar Stefan Fuchs
Meanwhile (after removing marble) it seems to be a good choice to use latest MXE version with currently Qt 5.9.1. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-09-04remove Marble from packaging and build scriptsGravatar Lubomir I. Ivanov
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> --- please note, that i have no way to test most of the scripts ATM.
2017-08-02MXE build: build the googlemaps pluginGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-08-02mxe-based-build.sh: copy a googlemaps plugin instead of esriGravatar Lubomir I. Ivanov
This would work only if the folder: $BASEDIR/"$MXEDIR"/usr/i686-w64-mingw32.shared/qt5/plugins/geoservices contains such a file. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-08-01MXE build: don't use host cmakeGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-31Revert "MXE build: drop all WebKit dependencies"Gravatar Dirk Hohndel
This reverts commit 916d4b8cce55120a37be86fcad8f124670f15a99. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29MXE build: drop all WebKit dependenciesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29MXE build: copy the QML modules we needGravatar Dirk Hohndel
And include them in the installer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29MXE build: better logical groupingGravatar Dirk Hohndel
This just makes more sense in which variables go with which code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29MXE build: include QtLocation DLLGravatar Dirk Hohndel
Another one that otherwise gets missed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29MXE build: install esri pluginGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29MXE build: remove MarbleGravatar Dirk Hohndel
Also, don't package the data directory (which held marble data) anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-02MXE cross build: allow to specify mxe directoryGravatar Dirk Hohndel
This should make it easier to test different mxe versions. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-06-11smtk2ssrf-mxe-build.sh: add a flag for git repoGravatar Salvador Cuñat
Previous script would fail on git folders that pull from more than one repo. That's not a general case, but pretty usual for developers pulling/pushing to github. BTW in this cases, a lind git pull doesn't ensure we are pulling from the right repo. When run without flag, default to pull --rebase. At the same time introduce a tiny func to return a message and bail out after some command failures.
2017-06-11smtk-import: Add mxe cross-building scriptGravatar Salvador Cuñat
Add to packaging/windows an script to build an installer for the importer tool.