From 929febdb1b54a6bbca166acd26c8c439af72ed09 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 31 Oct 2011 22:46:00 +0100 Subject: Add Icon to iOS viewer. --- ios/Icon-72.png | Bin 0 -> 5106 bytes ios/Icon.png | Bin 0 -> 3599 bytes ios/Info.plist | 2 ++ ios/MuPDF.xcodeproj/project.pbxproj | 12 ++++++++++-- ios/build_libs.sh | 1 + 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 ios/Icon-72.png create mode 100644 ios/Icon.png (limited to 'ios') diff --git a/ios/Icon-72.png b/ios/Icon-72.png new file mode 100644 index 00000000..fb8c12f0 Binary files /dev/null and b/ios/Icon-72.png differ diff --git a/ios/Icon.png b/ios/Icon.png new file mode 100644 index 00000000..4bb46ae1 Binary files /dev/null and b/ios/Icon.png differ diff --git a/ios/Info.plist b/ios/Info.plist index ddd2e68c..116bacee 100644 --- a/ios/Info.plist +++ b/ios/Info.plist @@ -46,5 +46,7 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + UIPrerenderedIcon + diff --git a/ios/MuPDF.xcodeproj/project.pbxproj b/ios/MuPDF.xcodeproj/project.pbxproj index 6c8be45e..7bc743bd 100644 --- a/ios/MuPDF.xcodeproj/project.pbxproj +++ b/ios/MuPDF.xcodeproj/project.pbxproj @@ -20,6 +20,8 @@ 968F2EC014539F350085264E /* libmuxps.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 968F2EB814539F350085264E /* libmuxps.a */; }; 968F2EC114539F350085264E /* libopenjpeg.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 968F2EB914539F350085264E /* libopenjpeg.a */; }; 968F2EC214539F350085264E /* libz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 968F2EBA14539F350085264E /* libz.a */; }; + 96BD2B38145AC485001CEBC3 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 96BD2B35145AC485001CEBC3 /* Icon-72.png */; }; + 96BD2B39145AC485001CEBC3 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 96BD2B36145AC485001CEBC3 /* Icon.png */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -39,6 +41,8 @@ 968F2EB814539F350085264E /* libmuxps.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmuxps.a; path = "../Debug-iphoneos/libmuxps.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 968F2EB914539F350085264E /* libopenjpeg.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libopenjpeg.a; path = "../Debug-iphoneos/libopenjpeg.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 968F2EBA14539F350085264E /* libz.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libz.a; path = "../Debug-iphoneos/libz.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 96BD2B35145AC485001CEBC3 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72.png"; sourceTree = ""; }; + 96BD2B36145AC485001CEBC3 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -66,9 +70,11 @@ 968F2E9214539BF10085264E /* Sources */ = { isa = PBXGroup; children = ( - 96476B4514599D9400EA67C0 /* loading.png */, - 968F2E8E14539BEB0085264E /* build_libs.sh */, + 96BD2B36145AC485001CEBC3 /* Icon.png */, + 96BD2B35145AC485001CEBC3 /* Icon-72.png */, 968F2E8F14539BEB0085264E /* Info.plist */, + 968F2E8E14539BEB0085264E /* build_libs.sh */, + 96476B4514599D9400EA67C0 /* loading.png */, 968F2E9014539BEB0085264E /* main.m */, ); name = Sources; @@ -169,6 +175,8 @@ buildActionMask = 2147483647; files = ( 96476B4614599D9400EA67C0 /* loading.png in Resources */, + 96BD2B38145AC485001CEBC3 /* Icon-72.png in Resources */, + 96BD2B39145AC485001CEBC3 /* Icon.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/ios/build_libs.sh b/ios/build_libs.sh index 8095571f..beea9cde 100644 --- a/ios/build_libs.sh +++ b/ios/build_libs.sh @@ -28,5 +28,6 @@ echo Copying files into $BUILT_PRODUCTS_DIR. mkdir -p "$BUILT_PRODUCTS_DIR" cp ../$OUT/lib*.a $BUILT_PRODUCTS_DIR +ranlib $BUILT_PRODUCTS_DIR/lib*.a echo Done. -- cgit v1.2.3