aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)Author
2018-03-22Travis: test build against Qt 5.5Gravatar Dirk Hohndel
We do this in a docker environment to make things fast and easy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-03-13Remove now obsolete scriptGravatar Dirk Hohndel
With the removal of the transport tags from our libdivecomputer branch, we can no longer automate the table creation that way. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-03-11scrips/mobilecomponents.sh: fetch icon for the mapGravatar Lubomir I. Ivanov
Use one of the breeze icons for the map in the drawer on the mobile version. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2018-02-24smtk-import: Upload .AppImage and .exe filesGravatar Salvador Cuñat
Upload windows installer and AppImage to Subsurface's repo Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2018-02-24smtk-import: Add an AppImage for smtk2ssrfGravatar Salvador Cuñat
Build an AppImage for smtk2ssrf using previously build binaries. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
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>
2018-02-24smtk-import: fit build script to run in travis buildsGravatar Salvador Cuñat
Set an "automatic" mode via parameter (or auto detected if running in travis environment) to skip the user prompt. Install the built binary, in automated builds, under the usual INSTALL_ROOT folder. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2018-02-24smtk-import: Support SmartTrak import in travis buildsGravatar Salvador Cuñat
1.- Include needed dependencies (glib-2.0 and mdbtools) in .travis.yml 2.- Call smtk2ssrf-build.sh script *after* subsurface is done and AppImage is built, as the script will override subsurface's binary. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
2018-02-24Mobile: new Kirigami SHAGravatar Jan Mulder
And sync again with Kirigami master. All safe QML improvements. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2018-02-17Mobile: again new Kirigami SHAGravatar Jan Mulder
While we are at this, just go to current master. Only QML improvements, and safe to upgrade. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2018-02-15Mobile: fix build after new Kirigami shaGravatar Jan Mulder
This is definitely a hack. Do not include the Kirigami resources (on static build). It causes double defined symbols in our setting. I would like a nicer fix for this issue, but failed to find one. For example, not adding the resource in our build causes the qrc file not to be generated. Manual generation of the resource file (using rcc) introduces the double symbols again. so it seems some Kirigami weirdness (but their staticcmake example compiles correctly). Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2018-02-15Mobile build: new Kirigami SHAGravatar Jan Mulder
While most new commits are QML improvements, there is a change in the Kirigami build related to static building (like we do), and Cmake restyles to make things more Qt compliant. As now the (generated) qrc_kirigami.cpp is included from kirigamiplugin.cpp, for static builds, our build failes on double defined symbols. Following commit deals with this fail. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2018-01-03mobile: newer Kirigami SHAGravatar Jan Mulder
This commit consists of the following 3 parts: 1. There are 2 source files added, adapt our build process accordingly. 2. Due to a change in icon and kirigami QML prefixes, we need to adapt for this as well. Changed mobile-resources.qrc for that. When this would not be changed, the icons will not be found. 3. To further prepare for the future, abandon the iconName property in favour of the new icon grouped property, which can have more attributes than only the name. But currently it is only a syntactic change. Tested on Android device, and no visible changes. Signedoff-by: Jan Mulder <jlmulder@xs4all.nl
2017-12-30Use our fork of uploadtoolGravatar Dirk Hohndel
And use the 'correct' URL to obtain the actual file. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-18Update download URL for libzipGravatar Robert C. Helling
Signed-off-by: Robert C. Helling <helling@atdotde.de>
2017-12-14Add git submodule init to build scriptGravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
2017-12-05Travis: no longer test Subsurface-mobile without BTGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-03build system: fix build of libdivecomputerGravatar Jan Mulder
Trivial fix. Do not first cd to the ./src/subsurface directory, and then prepend the subsurface directory to the path. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-12-03libdc: update the MXE build script for submoduleGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-03libdc: get the submodule for Travis CI / Windows MXEGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-03libdc: add submodule support to build.shGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-27Clone breeze icons from GitHubGravatar Dirk Hohndel
anongit.kde.org appears to have problems. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-24Travis: Mac: enable googlemaps againGravatar Dirk Hohndel
This should work now. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-24Travis: Mac build prevent error out when not using libcurl/libssh2Gravatar Dirk Hohndel
This shouldn't be needed anymore since the Homebrew libgit2 is not linked against libcurl and libssh2. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-24build.sh: remove googlemaps .qmake.conf hackGravatar Dirk Hohndel
This needed to be fixed in googlemaps instead. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-24build.sh: don't use sed -iGravatar Dirk Hohndel
I can't seem to find a way to make this work on both Linux and Mac. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-24Travis: try to make sure failing builds failGravatar Dirk Hohndel
In some situations Travis CI doesn't seem to notice that a build failed and give us a green check mark even though the build didn't succeed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-24build.sh: only modify googlemaps .qmake.conf on MacGravatar Dirk Hohndel
This otherwise causes a failure on Linux builds. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-19mobile: new Kirigami SHAGravatar Jan Mulder
Notice this is not the current master. Do not go there right now. Kirigami SHA f8ee631aac787b60 introduces a failing load of our main.qml (tested with both Kirigami 2.0 and 2.2). This SHA is safe. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-11-18build.sh: fix comparisonGravatar Dirk Hohndel
This prevented googlemaps from building in some circumstances. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-18Switch back to upstream uploadtoolGravatar Dirk Hohndel
In commit e643589233 ("Travis: setup up the desired release message right away") we temproarily switched to my fork of uploadtool to take advantage of a new feature that I had implemented there. This has already been merged upstream, so let's switch back to upstream. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-18Travis: setup up the desired release message right awayGravatar Dirk Hohndel
Instead of using the default release message and then trying to fix it up in the after_success section of one of the builds that we test, let's just always use the message that we want, regardless which build finishes first. This currently requires my fork of the uploadtool - the changes have been submitted upstream and I hope they'll get merged there so we can switch back to the upstream version of uploadtool. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-18Travis: include the symlink in the zip of Mac .appGravatar Dirk Hohndel
Don't try to follow the (recursive) symlink. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-17Travis: update the release messageGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-17Travis: don't edit Release info if this is a PRGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-16android: Add android build on travis-ciGravatar Anton Lundin
This adds a android-apk-build which runs on travis-ci. This is using a quite ugly trick, building in a docker container, basically just to get a newer cmake. The cmake in trusty is way to old to work with android builds. A good side-effect is that this is a complete copy-paste for anyone who would like to build android-binaries them self on Linux. All the uglyness is hidden away in a docker container. Signed-off-by: Anton Lundin <glance@acc.umu.se>
2017-11-14Travis: test more variations of the buildGravatar Dirk Hohndel
On Linux we want to test both desktop and mobile, and both the full feature set as well as a build without BT and without WebKit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-14Travis: use the correct version in release announcementGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-14Travis: update the release message to mention MacGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-14Travis: add Mac buildGravatar Dirk Hohndel
This adds a -skip-googlemaps option to the build script since for some reason trying to build the googlemaps plugin in the Travis mac environment causes an error with a missing stack-protector-strong feature. The build relies on a custom build Qt and a cached homebrew environment. And the result is of course not a DMG with a signed app but a zip file with an unsigned app - so it's a bit harder to consume. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-14Travis: set better release messageGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-14Travis: make AppImages follow our naming patternGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-13MXE: reword echo text about uploadingGravatar Lubomir I. Ivanov
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-11-11Travis: don't do a redundant upload to transfer.shGravatar Dirk Hohndel
uploadtool already takes care of that. Reported-by: Simon Peter <probono@puredarwin.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-11Travis AppImage: don't delete the copyright infoGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-10Travis: make sure git describe can workGravatar Dirk Hohndel
Travis only fetches the last 50 commits - which means that git describe will usually fail and our version numbers would end up being wrong. So let's fetch the whole repo and the tags as well to make sure that git describe works as expected by our tools. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-10Travis AppImage: remove more files that aren't neededGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-10Travis: stop wget verbose output from flooding logGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>