summaryrefslogtreecommitdiffstats
path: root/packaging/macosx
AgeCommit message (Collapse)Author
2019-12-24build-system: add backend_shared to Xcode projectGravatar jan Iversen
Update Xcode project with new root folder reference Signed-off-by: Jan Iversen <jan@casacondor.com>
2019-12-24build system: add forgotten directory to xCode projectGravatar jan Iversen
Add tests to xCode project. Signed-off-by: Jan Iversen <jan@casacondor.com>
2019-12-10mac: correct Xcode project schemesGravatar jan Iversen
Update schemes to only allow run. Now it is possible to build/run/debug mobileExecutable as well as desktop from within Xcode. Xcode demands that the path to the debug executable it not relative, this of course gives a portability problem. The path selected are ~/develop/src/subsurface/build.... to at least give it a shine of not being fixed. Signed-off-by: Jan Iversen <jani@apache.org>
2019-11-26mac: create Xcode project for mobile (on a desktop)Gravatar jan Iversen
Create Xcode project, allowing easy editing of all sources. the project uses "make mobile" and "make desktop" to generate the project, so all CMake changes are automatically updated the project uses folder references, so adding/removing a source is automatically updated The project expect build-mobile and build to be existing as well as external libraries, so after cloning do a normal build before using the project. Signed-off-by: Jan Iversen <jani@apache.org>
2019-11-20macOS: with Qt 5.13 we need QtDBus againGravatar Dirk Hohndel
So don't remove it from the build before signing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-11-20macOS: update make package script for Grantlee 5.1Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-04-12build-system: macOS: more hacking around pathsGravatar Dirk Hohndel
This really is mostly for my scripting and how I build the official packages. But there isn't much harm having it in the repo. And it makes my life easier. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-01-25build system: use --force when signing Mac bundleGravatar Dirk Hohndel
This avoids a common problem if some of the libraries copied into the budle where previously signed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-09-28Mac: Turn on automatic GPU switchingGravatar Robert C. Helling
We are not OpenGL heavy so this saves battery life. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-06build-system/macOS: update the signing scriptGravatar Dirk Hohndel
This really isn't useful for anyone but me as I create official binaries. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-06build-system/macOS: update make-package.sh to use macOS 10.11 as base versionGravatar Dirk Hohndel
Qt 5.11 no longer supports macOS 10.10. Also use the new long path to identify the SDK. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-03macOS: we don't need to bundle QtDBusGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-07-03macOS: we no longer need libssh2Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2018-05-19Mac: don't try to copy libraries we got from HomebrewGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-10-09Mac build: update the signing scriptGravatar Dirk Hohndel
Which admittedly is mostly useful for me... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-10-09Mac build: these problems have long been solvedGravatar Dirk Hohndel
And the Readme is therefore confusing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-09-17Mac packaging: add option to make bundle without creating DMGGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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-20Mac build: fix package creationGravatar Dirk Hohndel
libssh2.1 is a dependency of libgit2, not of the main executable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29Mac build: adjust sign scriptGravatar Dirk Hohndel
Add QtLocation and QtQuickWidgets. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-29Mac bundle: no more MarbleGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-03Fix the failing bundle signature on MacGravatar Dirk Hohndel
So THAT was why we had moved the plugins... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-03Mac packaging - don't move Grantlee pluginsGravatar Dirk Hohndel
I don't know why we moved them from the 5.0 subdirectory, but that seems to break things now. Odd. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-04Mac packaging: don't lose minimum versionGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-04Mac package build: adjust handling of libgit2Gravatar Dirk Hohndel
Apparently it now is a different dependency that causes problems. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-04Mac package build: remove obsolete hackGravatar Dirk Hohndel
And also add some additional comments. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-01-01Fix MacOS make-package scriptGravatar Dirk Hohndel
We need the full path to the local libssh in order to replace it with the correct path. 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>
2016-06-11updated build scripts for MacGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-09Mac build: move the QtXml hack into CmakeGravatar Dirk Hohndel
This way build.sh can build a Subsurface.app that the user can use via open subsurface/build/Subsurface.app after running build.sh. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-03Small change to the Mac make package scriptGravatar Dirk Hohndel
It still is rather specific to my system layout, but at least removes a reference to my home directory path... It also removes @rpath references from the executable. This should in theory work, but it failed for me on one machine that I tested on and doing things this way doesn't appear to cause problems. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-11-08Update Mac bundle build & sign scriptsGravatar Dirk Hohndel
These are mostly a convenience for me, they'd obviously have to be updated for someone else trying to use them. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-09-08Update the script to build Mac BundleGravatar Dirk Hohndel
This is trying to clean things up quite a bit and make it less specific to my directory layout. It still calls the signing script that tries to sign things with my keys, so it won't work for others without tuning, but this should get you closer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-04-08Remove the outdated and mislreading READMEGravatar Dirk Hohndel
It's been a LONG time since this was correct Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-04-04Update Mac convenience shell scriptGravatar Dirk Hohndel
This script likely is useless for anyone but me, but I like having it in the source tree in case others can benefit from seeing how the packages are built. This now is based on out-of-tree cmake builds. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-02Small tweaks to the Mac package making scriptsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-12-17Update Mac make package scriptGravatar Dirk Hohndel
This reflects the switch to the custom name for the marble widget. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-08-04Update my Mac packaging scripts for Qt5Gravatar Dirk Hohndel
I have no idea why libmarble isn't handled correctly by macdeployqt... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-26Update the Mac Info.plist structureGravatar Thiago Macieira
The bundle signature is not a necessary property in any of the OS X versions we support. And the current bundle version identifier is 6.0, not 1.0. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-25Set the NSPrincipalClass in Info.plistGravatar Thiago Macieira
This is required to enable HiDPI support for the Retina displays. The Info.plist that comes with Qt had this, but the one we supply with Subsurface didn't. Done-with: Jake Petroules <jake.petroules@petroules.com> Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-12-19Improve signing script, adjust flags for gcc-4.2Gravatar Dirk Hohndel
On one of my machines codesign doesn't find my signing key by hash, but does find it by name. Go figure. Also on that same system (32bit Mac Mini with running Snow Leopard / 10.6) gcc 4.2 doesn't support the -unused-result warning. So let's only turn that on for more modern versions of gcc Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-12-15Tools to create nice signed DMGGravatar Dirk Hohndel
These are only useful for me, but having them in git makes my life so much easier... Instead of using macdeployqt to create my DMG I use the tool that I used for Subsurface 3. This allows for much prettier DMG content as well. Fixes #329 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-10-08And let qmake create the Mac bundle on its ownGravatar Thiago Macieira
It will even parse the Info.plist.in file for us and run sed on it. Signed-off-by: Thiago Macieira <thiago@macieira.org>
2013-02-23Mac bundle: include the XSLT filesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-20Update MacOS make-package scriptGravatar Dirk Hohndel
The three digit number is needed for the Info.plist, not for the dmg and volume names. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Consistent syntax.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless whitespace.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless curly brackets.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless quotes.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Unified handling of version extraction.Gravatar Cristian Ionescu-Idbohrn
Removed oddly named and ridiculously outdated documentation text (scripts). Created new directory 'scripts'. Added unified version extraction script (scripts/get-version). Yes, it's more shell script code but faster and more maintainable than the sed commands and the swearwords/regexps repeated over and over again. Makefile and packaging/macosx/make-package.sh modified accordingly. I don't do windos neither macos but, AFAICS my tests show, it should be safe. Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>