aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ios/build.sh
AgeCommit message (Collapse)Author
2017-12-06iOS build: next attempt to sort versionsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-05iOS build: more robust way to determine Qt versionGravatar Dirk Hohndel
Suggested-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-04Enable building BLE dive computers on iOSGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-04libdc: fix iOS build scriptGravatar Dirk Hohndel
Mis-counted directories and missed the submodule init call. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-12-03libdc: update the iOS build script for submoduleGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-29iOS build: add option to build.sh to only update versionGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-29iOS build: call qmake in build.shGravatar Dirk Hohndel
This way we can avoid having to use Qt Creator (in preparation for eventually testing the iOS build in Travis CI). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-29iOS build: use libgit2 0.26.0Gravatar Dirk Hohndel
Just like on all the other platforms. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-11-29iOS build: only use annotated tags for versionGravatar Dirk Hohndel
This avoids picking the continuous tag. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-10-11iOS build: we don't use ssh and can't use OpenSSLGravatar Dirk Hohndel
On iOS we don't need to enable ssh-based git access - and we can no longer build against OpenSSL (instead use the platform SSL libraries. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-17iOS build: allow building against Qt 5.9.1 and laterGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-16Change protocoll for any git clone from Github to httpsGravatar Stefan Fuchs
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-04-16Change remotes for git clone for libdc, marble and Subsurface to GithubGravatar Stefan Fuchs
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
2017-04-07QML UI: fix iOS build scriptGravatar Dirk Hohndel
Syntax for one of the libdivecomputer configure options was wrong. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-07QML UI: enable embed code for iOSGravatar Dirk Hohndel
This should help us with better iOS apps as it allows Apple to run llvm against our code to improve performance. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-09-19iOS build: adjust configure flag for libdivecomputerGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-09-04iOS build: re-enable building libraries for the simulatorGravatar Dirk Hohndel
We now build Kirigami as part of Subsurface-mobile itself, so the simulator builds work again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-08-16iOS build: no need to build kirigami library anymoreGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-08-15Remove hacks around Kirigami issuesGravatar Dirk Hohndel
Those were fixed upstream. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-08-14IOS build: compile kirigami pluginGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-06-17iOS build: use the Qt version that is availableGravatar Dirk Hohndel
Simply have the Qt link in packagin/ios point to whatever Qt version you want to build against and the script picks the right one. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-05-04iOS build: create the translations to be bundledGravatar Dirk Hohndel
And add them to the bundle. 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-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-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-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: 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: 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>
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: 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>