summaryrefslogtreecommitdiffstats
path: root/packaging/windows
AgeCommit message (Collapse)Author
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.
2017-06-11smtk-import: add cmake modules and .nsi skeletonGravatar Salvador Cuñat
Needed to crossbuild to windows. The cmake modules are just clones from those under subsurface/cmake/Modules, tweaked to build smtk-import for windows.
2017-04-01mxe_build.sh - Rebuild everyth. when switching between debug and releaseGravatar Stefan Fuchs
When switching between debug and release MXE build one needs to rebuild everything. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-04-01Fix mxe-build script to copy correct plugin DLLs for debug and releaseGravatar Stefan Fuchs
For the plugin DDLs: Debug: Only copy *d.DLLs Release: Only copy *.DLLs Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-03-26Improve mxe-based-build.sh for debug buildsGravatar Stefan Fuchs
Give a hint how to enable build of debug Qt5 DLLs when building MXE. Take care about the "d"/"xxxd.dll" suffix for DLLs. Copy libastro.dll from marble to correct loation as well (nevertheless we don't use it) Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-03-11Add missing dependencies for Windows run of testsGravatar Jeremie Guichard
Qt plugins and some other dependencies cannot be copied by CMake install targets. They need to be manually deployed to staging_tests directory too. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-01-29MXE windows build script mxe-based-build.sh updatesGravatar Stefan Fuchs
Updates mainly in the comments of the MXE build script: - File system layout: different proposal - Hint to not use MXE current version from git - MXE build JOBS setting to (very) safe value of 1 - export CXXFLAGS=-std=c++11 added for marble build
2017-01-02MXE build script: update to match current mxeGravatar Dirk Hohndel
Many of the hacks I used to need are no longer necessary. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-08-17scripts: run all scripts with -eGravatar Anton Lundin
Run all scripts with -e so they exit as soon as something breaks. That way the build stops at the first error, not some other error. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-16Simplify MXE scriptGravatar Tomaz Canabrava
The MXE script still tried to run things using the qmake project file and we removed that ages ago. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-15Remove support for older libgit2 - we now require 0.23 or laterGravatar Dirk Hohndel
Also fixes a capitalization error that prevented finding libssh2 in some circumstances. And adds a missing include when building with libzip on Mac. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-11-03NSIS: add a couple of uninstaller checkboxesGravatar Lubomir I. Ivanov
Add a new dialog/page which is shown right before the final "uninstall" click. The dialog may contains two checkboxes - for registry entries and for the user path. These checkboxes will not be created if the user has not run the application yet, as no registry keys will be available. Selecting the user directory checkbox shows a warning message box, that the user should make sure no important files are present there. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-26Make libtool versioning happyGravatar Dirk Hohndel
This way we find the versioned libdivecomputer.dll Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-26Build Windows installer with shared libdivecomputerGravatar Dirk Hohndel
Since we ship it all in one piece there is no reason to use a static libdivecomputer (like there is on Linux). This allows us to give the user a different libdivecomputer.dll for testing when tracking down a bug. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-26Build libzip with cmake when cross building for WindowsGravatar Dirk Hohndel
This seems to fix our issues with being able to create zip files on the fly (needed for the divelogs.de access). Fixes #955 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-09-23MXE build script: more cleanupsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-09-23Update MXE cross build scriptGravatar Dirk Hohndel
Small addition for completeness Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-09-22MXE build: small tweaksGravatar Dirk Hohndel
While this should be fixed in cmake, for now just manuallt get libssrfmarblewidget.dll and QtXml.dll in place Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-09-21More updates to MXE build scriptGravatar Dirk Hohndel
Two more changes that are needed for this to build successfully. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-09-21Update MXE cross build scriptGravatar Dirk Hohndel
Instructions how to use it are in the script. As of today this doesn't create working binaries - this worked perfectly fine back when MXE was still based on Qt5.4 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-06-19Windows installer: include grantlee plugins and printing templatesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-04-09Update the mxe based sample scriptGravatar Dirk Hohndel
Working on making the different ways we build things more consistent Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-04-08Update build script to cross build Windows using mxeGravatar Dirk Hohndel
The MinGW based script is still there for reference, but that's no longer how I build the Windows binaries. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-03-17Update the documentation with dependencies for cross-building on Linux to ↵Gravatar Claudiu Olteanu
Windows Update the documentation with dependencies for cross-building on Linux to Windows for OpenSuse platform and correct some building instructions. Moreover fix the windows building script to use the architectural specific binary. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-01Remove the 32/64 bit warning in the Windows installerGravatar Dirk Hohndel
We now have perfectly fine 32bit binaries with Qt5 so no more reason to steer people towards 64bit binaries. Actually, I don't plan to make 64bit binaries for the next release. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Add a new script to create cross built Windows installerGravatar Dirk Hohndel
This script is based on the mxe package and builds everything from source instead of using the mingw packages from Fedora as I did in the past. I'm keeping the old script around for now, but eventually I should remove it as this is the current way to create a working installer that supports both 32 and 64 bit Windows and is Qt5 based. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-31Remove some way way way outdated filesGravatar Dirk Hohndel
From the very earliest packaging attempts. Definitely not useful anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-10-30Windows installer: move the 32/64 bit check earlierGravatar Dirk Hohndel
It makes more sense to do this on init and not have the user go through any other screens in case this is the wrong binary. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-10-29Ugly hack to work around broken Qt5.3.2 for Windows cross buildsGravatar Dirk Hohndel
Checking this in to make sure I don't end up creating broken installers again. I doubt that this is useful for anyone but me - but then, I don't think anyone but me creates Windows installers. Background - when Fedora 20 updated the cross-built version of Qt for Win64 something broke. Subsurfae installed with those DLLs will crash. Replacing the older 5.3.1 DLLs fixes this for now, so I have a directory with just those DLLs and simply replace them in the staging directory before calling makensis. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-10-29Don't install Windows 64bit binaries on 32bit systemGravatar Dirk Hohndel
Also warn people installing 32bit binaries on a 64bit system Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-09-25Minor changes to Windows build and packagingGravatar Dirk Hohndel
With these changes we link statically against libusb and libdivecomputer but don't add the .a files to our installers. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>