summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-12-09 21:44:20 +0200
committerTor Lillqvist <tml@collabora.com>2013-12-09 21:49:42 +0200
commit9f53053edac882a466ee69734665a1d66d52f10b (patch)
tree70b96471ba73e8066a3bb17707e96294929fe176 /ios
parenta01fabf7052df9b5d3921da4916bba6c05c4d6ac (diff)
Add types.rdb (formerly known as udkapi.rdb) to MobileLibreOffice
Keeping this stuff working is hard. How did I not notice this before? I need to make clean more often I guess. I edited the project.pbxproj file manually as I didn't fully get it how to set up the wanted handling of this file in the Xcode GUI. So I just copied the handling of offapi.rdb in project.pbxproj (with different ids, of course). I really much prefer doing this fully in Makefiles, as in CustomTarget_LibreOffice_app.mk. Change-Id: Ifc4f2481f7a9d1562be6f91714ed38c82cdd5eb0
Diffstat (limited to 'ios')
-rw-r--r--ios/CustomTarget_MobileLibreOffice_app.mk1
-rw-r--r--ios/MobileLibreOffice/MobileLibreOffice.xcodeproj/project.pbxproj4
-rw-r--r--ios/shared/ios_sharedlo/cxx/mlo.mm2
3 files changed, 6 insertions, 1 deletions
diff --git a/ios/CustomTarget_MobileLibreOffice_app.mk b/ios/CustomTarget_MobileLibreOffice_app.mk
index 27a029cd0926..122b06778b06 100644
--- a/ios/CustomTarget_MobileLibreOffice_app.mk
+++ b/ios/CustomTarget_MobileLibreOffice_app.mk
@@ -57,6 +57,7 @@ MobileLibreOffice_setup:
mkdir -p $(DEST_RESOURCE)/ure
# copy rdb files
+ cp $(INSTDIR)/ure/share/misc/types.rdb $(DEST_RESOURCE)
cp $(INSTDIR)/program/types/offapi.rdb $(DEST_RESOURCE)
cp $(INSTDIR)/program/types/oovbaapi.rdb $(DEST_RESOURCE)
cp $(INSTDIR)/program/services/services.rdb $(DEST_RESOURCE)
diff --git a/ios/MobileLibreOffice/MobileLibreOffice.xcodeproj/project.pbxproj b/ios/MobileLibreOffice/MobileLibreOffice.xcodeproj/project.pbxproj
index e806d6b9a3f1..f34387f670da 100644
--- a/ios/MobileLibreOffice/MobileLibreOffice.xcodeproj/project.pbxproj
+++ b/ios/MobileLibreOffice/MobileLibreOffice.xcodeproj/project.pbxproj
@@ -53,6 +53,7 @@
68C6FC54180AD1B9005ACB02 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 68C6FC53180AD1B9005ACB02 /* QuartzCore.framework */; };
68C6FC56180AD1FB005ACB02 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 68C6FC55180AD1FB005ACB02 /* CoreText.framework */; };
68C6FC58180AD28C005ACB02 /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 68C6FC57180AD28C005ACB02 /* MessageUI.framework */; };
+ 691D78BB180C12D300D52D5E /* types.rdb in Resources */ = {isa = PBXBuildFile; fileRef = 691D78B0180C12D300D52D5E /* types.rdb */; };
88E9476B180DB9B600771808 /* NSObject+MLOFileUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 88E9476A180DB9B600771808 /* NSObject+MLOFileUtils.m */; };
/* End PBXBuildFile section */
@@ -125,6 +126,7 @@
68C6FC53180AD1B9005ACB02 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
68C6FC55180AD1FB005ACB02 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
68C6FC57180AD28C005ACB02 /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; };
+ 691D78B0180C12D300D52D5E /* types.rdb */ = {isa = PBXFileReference; lastKnownFileType = file; name = types.rdb; path = resource_link/types.rdb; sourceTree = SOURCE_ROOT; };
88E94769180DB9B600771808 /* NSObject+MLOFileUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+MLOFileUtils.h"; sourceTree = "<group>"; };
88E9476A180DB9B600771808 /* NSObject+MLOFileUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+MLOFileUtils.m"; sourceTree = "<group>"; };
BE82BDB8182261AD00A447B5 /* pagechg.cxx */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = pagechg.cxx; path = ../../sw/source/core/layout/pagechg.cxx; sourceTree = "<group>"; };
@@ -432,6 +434,7 @@
681D78B6180C12D300D52D5E /* share */,
681D78AF180C12D300D52D5E /* fundamentalrc */,
681D78B0180C12D300D52D5E /* offapi.rdb */,
+ 691D78B0180C12D300D52D5E /* types.rdb */,
681D78B1180C12D300D52D5E /* oovbaapi.rdb */,
681D78B3180C12D300D52D5E /* rc */,
681D78B5180C12D300D52D5E /* services.rdb */,
@@ -776,6 +779,7 @@
68B99ED3180BBEE900FFEA35 /* test1.odt in Resources */,
681D78BA180C12D300D52D5E /* fundamentalrc in Resources */,
681D78BB180C12D300D52D5E /* offapi.rdb in Resources */,
+ 691D78BB180C12D300D52D5E /* types.rdb in Resources */,
681D78BC180C12D300D52D5E /* oovbaapi.rdb in Resources */,
681D78BD180C12D300D52D5E /* program in Resources */,
681D78BE180C12D300D52D5E /* rc in Resources */,
diff --git a/ios/shared/ios_sharedlo/cxx/mlo.mm b/ios/shared/ios_sharedlo/cxx/mlo.mm
index b17067b73af7..ca88b6ed3c4c 100644
--- a/ios/shared/ios_sharedlo/cxx/mlo.mm
+++ b/ios/shared/ios_sharedlo/cxx/mlo.mm
@@ -198,7 +198,7 @@ mlo_initialize(void)
NSString * app_root_escaped = [bundlePath stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding];
- NSString * uno_types = createPaths(@"-env:UNO_TYPES=", app_root_escaped, @[@"offapi.rdb", @"oovbaapi.rdb",@"udkapi.rdb"]);
+ NSString * uno_types = createPaths(@"-env:UNO_TYPES=", app_root_escaped, @[@"offapi.rdb", @"oovbaapi.rdb", @"types.rdb"]);
NSString * uno_services = createPaths(@"-env:UNO_SERVICES=", app_root_escaped, @[@"ure/services.rdb", @"services.rdb"]);