aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
AgeCommit message (Collapse)Author
2016-04-26Add Ubuntu Xenial to be built (16.04)Gravatar Miika Turkia
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-20Android build: use static libssl / libcryptoGravatar Dirk Hohndel
Android M does not allow using those as shared libraries. See #1029 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-17iOS build: include the libraries for the phone simulatorGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-14Set default build number for apk buildingGravatar Miika Turkia
Having build number as mandatory parameter seems unnecessary, thus setting default value (used for andoird:versionCode) to 0. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-14Fix initial build of APKGravatar Miika Turkia
Running subsurface/packaging/android/build.sh after deleting subsurface-mobile-build-arm directory fails for me due to missing ssrf-version.h file. Just ignore if it doesn't exist. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-11Build instructions to deplay on you own iOS deviceGravatar Robert C. Helling
... so others might have less trouble. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-04Move subsurface-core to core and qt-mobile to mobile-widgetsGravatar Dirk Hohndel
Having subsurface-core as a directory name really messes with autocomplete and is obviously redundant. Simmilarly, qt-mobile caused an autocomplete conflict and also was inconsistent with the desktop-widget name for the directory containing the "other" UI. And while cleaning up the resulting change in the path name for include files, I decided to clean up those even more to make them consistent overall. This could have been handled in more commits, but since this requires a make clean before the build, it seemed more sensible to do it all in one. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-24iOS build: fix typosGravatar Dirk Hohndel
Can't believe I didn't notice them earlier... I must have stared at these strings countless times. Reported-by: Scott Ireland <scott@sdj.ca> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-24Revert "iOS build: enable access to GPS location"Gravatar Dirk Hohndel
This reverts commit 78a8137963c848dc6ec6c8ff1b593902c5f8be64. These keys don't enable access, they require the device to have GPS support. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-24iOS build: add another Info.plist key to enable positioningGravatar Dirk Hohndel
This key is needed so that the iOS app asks the user for permission to use the GPS position information. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-24iOS build: enable access to GPS locationGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-23iOS build: add missing iconGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-23iOS build: fix executable nameGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-23iOS build: update the READMEGravatar Dirk Hohndel
A lot of this is still black magic, but at least this now documents what I understand about the process. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-23iOS build: create Info.plist with correct version informationGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-23Change names of iOS build filesGravatar Dirk Hohndel
The name subsurface-ios was used in many places and that was just not helpful to fight against. This should work much better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-10Make sure version is freshly generated before extractingGravatar Dirk Hohndel
Oops, so Subsurface-mobile 1.0 (4.5.2.1048) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-10Update Subsurface-mobile version to 1.0.0Gravatar Dirk Hohndel
And make sure the version displayed for Android includes both that version and the build version, which is our regular canonical 4 part version number - so this release will be something like "1.0.0 (4.5.2.1047)" Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: show correct program name on launch screenGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: bundle application icons and Info.plistGravatar Dirk Hohndel
This way the iDevice will show the correct name and icon for Subsurface-mobile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: restructure build.sh to create fat librariesGravatar Dirk Hohndel
This way QtCreator can successfully link and deploy the app. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: more build.sh hackingGravatar Dirk Hohndel
This now can create all the support libraries in armv7, but that isn't sufficient for QtCreator which wants fat libraries with both armv7 and arm64 in them. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06Revert "iOS build: add the pri file for generating the version"Gravatar Dirk Hohndel
This reverts commit 7fac2a38b2c5a744e1292b37dc0e1e71d3fcf333. Oops, that should have been dropped in the rebase before pushing the changes. I did this instead in commit 99d1d8876eb4 ("iOS build: create ssrf-version.h by hand")
2016-03-06iOS build: create ssrf-version.h by handGravatar Dirk Hohndel
It grabs the mobile version from the cmake file via grep. :facepalm: Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: add the pri file for generating the versionGravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: fix libdivecomputer buildGravatar Dirk Hohndel
This uses new configure options added to the Subsurface-branch of libdivecomputer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: fix loading iconsGravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: add various support filesGravatar Tomaz Canabrava
It's unclear why the build fails if we don't add the sample app files as well. [Dirk Hohndel: refactored the patches] Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-06iOS build: Updated build scriptGravatar Tomaz Canabrava
This now only builds all the prerequisits but not the actual Subsurface binaries - that will be done with qmake (oh the irony) in a later commit. [Dirk Hohndel: refactored the patches] Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-05Android build: pass in build nrGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-05Android build: automate setting the right version numberGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-03Build scripts: work with both Qt 5.5 and 5.6Gravatar Dirk Hohndel
This is all a bit hackish but seems to work Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-02-02Build Android mobile app against latest OpenSSLGravatar Jan Mulder
No reasons not to upgrade to the latest OpenSSL lib. The currently used 1.0.1 branch is ending end of 2016, so a switch to 1.0.2 is useful anyway. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-01-08Consolidate scriptsGravatar Dirk Hohndel
Since commit c496d5fa05a9 ("Add helper script to pull Plasma Mobile Components and icons") we had three different spots where we retrieved the Plasma Mobile Components. That's a wee bit of overkill. So instead have the other two scripts just call this one. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-01-07Remove plasma mobile components, pull from upstream at build timeGravatar Dirk Hohndel
This prevents us from constantly having to worry about keeping them in sync. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-29Android build: we should build Subsurface-mobile by defaultGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-25Android build: use better sed syntaxGravatar Dirk Hohndel
There is no reason to use '!' as separator and in some shell environments this can cause problems. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-24Android build: more tweakingGravatar Dirk Hohndel
Don't ever link against a shared libcrypt. One of the recent changes to make things build on the various Linux build systems apparently broke the Android build as it now adds an extra -lcrypt right after the correct static link to libcrypt.a. Instead of fiddling even more with this and re-breaking all the other builds I just hack around it here and remove any calls to a simply -lcrypt as that won't work on Android. This also passes through the remaining options on the command line to make so we can do things like VERBOSE=1 or -j12 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-24Android build: allow selecting Debug / Release buildGravatar Dirk Hohndel
And never build the tests. Makes no sense to do so when cross building for Android. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20iOS build: more progressGravatar Dirk Hohndel
Most of the dependencies build now. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20iOS build: only build the parts of openssl that we needGravatar Dirk Hohndel
No point in creating the apps, etc. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20iOS build: make it possible to compile opensslGravatar Tomaz Canabrava
It compiles but the link stage fails because of a missing -LSystem but its a baby step. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20iOS build: baby stepsGravatar Dirk Hohndel
Get a couple more dependencies built. These were easy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20iOS build: hack to build and install libsqlite3.aGravatar Dirk Hohndel
Building the iOS command line utility fails. But frankly, we don't need that, anyway. I cannot figure out how to tell sqlite that all I want is the library, so I'm working around that by first building the library, then pretending that sqlite3 was indeed built in order to be able to run make install. Horrible, ugly, stupid. But it seems to work. Also cleaned up the whitespace. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20iOS build: make the README a bit more usefulGravatar Dirk Hohndel
Still not all that useful, though. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20iOS build: fix typo in CFLAGS argumentGravatar Dirk Hohndel
This way the gethostuuid workaround actually works. It still doesn't compile, though. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20Rework the env - variables to produce a working cross compile scriptGravatar Tomaz Canabrava
The cross compile script kind of works right now, it's missing something that I'm really not sure where or what it is. currently sqlite will not build because: error: gethostuuid is not defined in iOS This bug was already opened on sqlite bugtracker for about a year, the workaround is to pass -DDSQLITE_ENABLE_LOCKING_STYLE=0 to the compilation flags, which I did but did not work for some reason. Which is a good error - it shows us that we are actually trying to compile for iOS. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-20Start the iOS cross compileGravatar Tomaz Canabrava
The build.sh and readme files are the same as the Android ones and I'll be changing them over time. The configure-for-ios.sh script is a file that manages to set everything, compilers frameworks and such, for iOS compilation. I'll probably dissecate the configure-for-ios.sh file and put it back on the build.sh, but not now. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-18Switch the Android build.sh to set up mobile build correctlyGravatar Dirk Hohndel
We now need to set SUBSURFACE_TARGET_EXECUTABLE to MobileExecutable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-17Do not try to compile FTDI_EPROMGravatar Tomaz Canabrava
this was requiring libconfuse and we don't need it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>