From a4a9edcd0fa32230b6a279b249fe07243393b584 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 14 Mar 2016 06:59:04 -0700 Subject: iOS build: create Info.plist with correct version information Signed-off-by: Dirk Hohndel --- packaging/ios/Info.plist | 79 ----------------------------------------- packaging/ios/Info.plist.in | 85 +++++++++++++++++++++++++++++++++++++++++++++ packaging/ios/build.sh | 3 ++ 3 files changed, 88 insertions(+), 79 deletions(-) delete mode 100644 packaging/ios/Info.plist create mode 100644 packaging/ios/Info.plist.in (limited to 'packaging/ios') diff --git a/packaging/ios/Info.plist b/packaging/ios/Info.plist deleted file mode 100644 index b25f58e7a..000000000 --- a/packaging/ios/Info.plist +++ /dev/null @@ -1,79 +0,0 @@ - - - - - CFBundleIcons - - CFBundlePrimaryIcon - - CFBundleIconFiles - - AppIcon29x29.png - AppIcon29x29@2x.png - AppIcon40x40@2x.png - AppIcon57x57.png - AppIcon57x57@2x.png - AppIcon60x60@2x.png - - - - CFBundleIcons~ipad - - CFBundlePrimaryIcon - - CFBundleIconFiles - - AppIcon29x29.png - AppIcon29x29@2x.png - AppIcon40x40@2x.png - AppIcon57x57.png - AppIcon57x57@2x.png - AppIcon60x60@2x.png - AppIcon29x29~ipad.png - AppIcon29x29@2x~ipad.png - AppIcon40x40~ipad.png - AppIcon40x40@2x~ipad.png - AppIcon50x50~ipad.png - AppIcon50x50@2x~ipad.png - AppIcon72x72~ipad.png - AppIcon72x72@2x~ipad.png - AppIcon76x76~ipad.png - AppIcon76x76@2x~ipad.png - - - - CFBundlePackageType - APPL - CFBundleGetInfoString - Created by Qt/QMake - CFBundleSignature - ???? - CFBundleExecutable - subsurface-ios - CFBundleIdentifier - org.subsurface-divelog.subsurface-mobile - CFBundleDisplayName - Subsruface-mobile - CFBundleName - Subsruface-mobile - CFBundleShortVersionString - 0.93 - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - UILaunchStoryboardName - SubsurfaceMobileLaunch - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - NOTE - This file was generated by Qt/QMake. - NSHumanReadableCopyright - Copyright © 2011-2016 Linus Torvalds, Dirk Hohndel, Tomaz Canabrava and the Subsurface developer team - - diff --git a/packaging/ios/Info.plist.in b/packaging/ios/Info.plist.in new file mode 100644 index 000000000..a1a437917 --- /dev/null +++ b/packaging/ios/Info.plist.in @@ -0,0 +1,85 @@ + + + + + CFBundleDisplayName + Subsruface-mobile + CFBundleExecutable + subsurface-ios + CFBundleGetInfoString + Created by Qt/QMake + CFBundleIcons + + CFBundlePrimaryIcon + + CFBundleIconFiles + + AppIcon29x29.png + AppIcon29x29@2x.png + AppIcon40x40@2x.png + AppIcon57x57.png + AppIcon57x57@2x.png + AppIcon60x60@2x.png + + + + CFBundleIcons~ipad + + CFBundlePrimaryIcon + + CFBundleIconFiles + + AppIcon29x29.png + AppIcon29x29@2x.png + AppIcon40x40@2x.png + AppIcon57x57.png + AppIcon57x57@2x.png + AppIcon60x60@2x.png + AppIcon29x29~ipad.png + AppIcon29x29@2x~ipad.png + AppIcon40x40~ipad.png + AppIcon40x40@2x~ipad.png + AppIcon50x50~ipad.png + AppIcon50x50@2x~ipad.png + AppIcon72x72~ipad.png + AppIcon72x72@2x~ipad.png + AppIcon76x76~ipad.png + AppIcon76x76@2x~ipad.png + + + + CFBundleIdentifier + org.subsurface-divelog.subsurface-mobile + CFBundleName + Subsruface-mobile + CFBundlePackageType + APPL + CFBundleShortVersionString + @MOBILE_VERSION@ + CFBundleSignature + ???? + CFBundleVersion + @CANONICAL_VERSION@ + LSRequiresIPhoneOS + + NOTE + This file was generated by Qt/QMake. + NSHumanReadableCopyright + Copyright © 2011-2016 Linus Torvalds, Dirk Hohndel, Tomaz Canabrava and the Subsurface developer team + NSMainNibFile + SubsurfaceMobileLaunch + UIBackgroundModes + + location + + UILaunchStoryboardName + SubsurfaceMobileLaunch + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index 2b19d08a9..be313f094 100644 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -30,6 +30,9 @@ echo "#define GIT_VERSION_STRING \"$GITVERSION\"" > subsurface-mobile/ssrf-versi echo "#define CANONICAL_VERSION_STRING \"$CANONICALVERSION\"" >> subsurface-mobile/ssrf-version.h echo "#define MOBILE_VERSION_STRING \"$MOBILEVERSION\"" >> subsurface-mobile/ssrf-version.h +# create Info.plist with the correct versions +cat Info.plist.in | sed "s/@MOBILE_VERSION@/$MOBILEVERSION/;s/@CANONICAL_VERSION@/$CANONICALVERSION/" > Info.plist + # Build Subsurface-mobile by default SUBSURFACE_MOBILE=1 -- cgit v1.2.3-70-g09d2