mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Merge branch 'dev' of https://bitbucket.org/johnprestonmail/telegram-desktop into dev
This commit is contained in:
commit
167adc652b
66 changed files with 1201 additions and 6990 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,6 +25,7 @@
|
||||||
*.opendb
|
*.opendb
|
||||||
*.VC.db
|
*.VC.db
|
||||||
*.aps
|
*.aps
|
||||||
|
*.xcodeproj
|
||||||
/Win32/
|
/Win32/
|
||||||
ipch/
|
ipch/
|
||||||
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>MetaEmoji</string>
|
|
||||||
<key>CFBundleGetInfoString</key>
|
|
||||||
<string>MetaEmoji compiler</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>NOTE</key>
|
|
||||||
<string></string>
|
|
||||||
<key>NSPrincipalClass</key>
|
|
||||||
<string>NSApplication</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>MetaLang</string>
|
|
||||||
<key>CFBundleGetInfoString</key>
|
|
||||||
<string>MetaLang compiler</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>NSPrincipalClass</key>
|
|
||||||
<string>NSApplication</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,552 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXAggregateTarget section */
|
|
||||||
D93715D85BD26B270C3CC80B /* Preprocess */ = {
|
|
||||||
isa = PBXAggregateTarget;
|
|
||||||
buildConfigurationList = 6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "MetaEmoji" */;
|
|
||||||
buildPhases = (
|
|
||||||
7EF0942E79C014DCEC8976BC /* Qt Preprocessors */,
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = Preprocess;
|
|
||||||
productName = "Qt Preprocess";
|
|
||||||
};
|
|
||||||
/* End PBXAggregateTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
07D7954A1B5544B200DE9598 /* qtpcre in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 07D795491B5544B200DE9598 /* qtpcre */; };
|
|
||||||
0785004D1CCA847400168DBB /* libqtfreetype.a in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 0785004C1CCA847400168DBB /* libqtfreetype.a */; };
|
|
||||||
1A681B886F50EE30FBE62B4B /* Qt5PrintSupport in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DBF506D10449BFABD45B82DA /* Qt5PrintSupport */; };
|
|
||||||
1BB705CDB741E2B7450201A5 /* Cocoa.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */; };
|
|
||||||
328FD74542F6E2C873EE4D4B /* ApplicationServices.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DFD7912080BC557230093752 /* ApplicationServices.framework */; };
|
|
||||||
496FD9CEEB508016AFB9F928 /* qico in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8F500B5166907B6D9A7C3E3D /* qico */; };
|
|
||||||
668DDDA0C55405E7FCFD6CA5 /* CoreServices.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 9742F24EE18EA44D52824F1E /* CoreServices.framework */; };
|
|
||||||
7CA5405B8503BFFC60932D2B /* qicns in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 31120EDB269DFF13E1D49847 /* qicns */; };
|
|
||||||
7F76437B577F737145996DC3 /* qtga in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DCEFD9167C239650120B0145 /* qtga */; };
|
|
||||||
83425F7776C9E52C29BE0E6F /* memain.cpp in Compile Sources */ = {isa = PBXBuildFile; fileRef = 3AC2626B26B65AA88F06BFB5 /* memain.cpp */; settings = {ATTRIBUTES = (); }; };
|
|
||||||
8771A8C96E9C391044035D99 /* OpenGL.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D4B32C2222F82AC56BADEB21 /* OpenGL.framework */; };
|
|
||||||
8D267F2E4776F0ECA2F49DC8 /* IOKit.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = A1A67BEAA744704B29168D39 /* IOKit.framework */; };
|
|
||||||
8D33FE22B9BBADC7FA46C15B /* qtharfbuzzng in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D6193B79CECC9DD0142D1200 /* qtharfbuzzng */; };
|
|
||||||
9F33AC0693BC81B27D8F518D /* Qt5Gui in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 04391BE7A8B9D811E255100A /* Qt5Gui */; };
|
|
||||||
A3F8F2284013928A02AE5C38 /* qwbmp in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8CF51323544B886B8F4A2232 /* qwbmp */; };
|
|
||||||
A9563D9C9FD0D76FAAF1CA96 /* qdds in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D3D1BE0BEA3AEE0551AD39AC /* qdds */; };
|
|
||||||
B9ADD90C014EA3FBE351DF03 /* Qt5Core in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 5A80A1907B6CFFB524C1E57D /* Qt5Core */; };
|
|
||||||
BE6AB9DF1C4880624131C669 /* Qt5Widgets in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 4689C06178B60B84E7F3A3B7 /* Qt5Widgets */; };
|
|
||||||
C06DDE378A7AC1FA9E6FF69A /* qtiff in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = F2453BA07315EB9F34F1CD57 /* qtiff */; };
|
|
||||||
C4F1177BDAACCF1E50ACCED9 /* moc_genemoji.cpp in Compile Sources */ = {isa = PBXBuildFile; fileRef = 93E4BE1A02365B73BAF00B73 /* moc_genemoji.cpp */; settings = {ATTRIBUTES = (); }; };
|
|
||||||
C5357D951917482510CE3E54 /* genemoji.cpp in Compile Sources */ = {isa = PBXBuildFile; fileRef = 1F47C130E1F45B4A5A91DB5E /* genemoji.cpp */; settings = {ATTRIBUTES = (); }; };
|
|
||||||
D1FA8AF31837B51C762A9D4D /* qcocoa in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D53D8E6A188E05078A114294 /* qcocoa */; };
|
|
||||||
D22929A2B8C5281567FCACDC /* Qt5PlatformSupport in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */; };
|
|
||||||
E45E51A644D5FC9F942ECE55 /* AGL.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */; };
|
|
||||||
F26454630C80841CBDCFE1CA /* Foundation.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = FCC237CA5AD60B9BA4447615 /* Foundation.framework */; };
|
|
||||||
F4D3747C3A03B25EDC9057BB /* qwebp in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = ADC6308023253CEA51F86E21 /* qwebp */; };
|
|
||||||
F8B465CE34D8DF87AAE95913 /* CoreFoundation.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */; };
|
|
||||||
F8ED42CF8679BF83227DAFC4 /* Carbon.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 9DFF62A901D70814B8A323D4 /* Carbon.framework */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
|
||||||
0708466E1954218200B5AE3A /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 6DB9C3763D02B1415CD9D565 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = D93715D85BD26B270C3CC80B;
|
|
||||||
remoteInfo = "Qt Preprocess";
|
|
||||||
};
|
|
||||||
/* End PBXContainerItemProxy section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
04391BE7A8B9D811E255100A /* Qt5Gui */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Gui; path = "$(QT_PATH)/lib/libQt5Gui$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
07D795491B5544B200DE9598 /* qtpcre */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtpcre; path = "$(QT_PATH)/lib/libqtpcre$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<group>"; };
|
|
||||||
0785004C1CCA847400168DBB /* libqtfreetype.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libqtfreetype.a; path = "$(QT_PATH)/lib/libqtfreetype$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<group>"; };
|
|
||||||
1F47C130E1F45B4A5A91DB5E /* genemoji.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = genemoji.cpp; path = SourceFiles/_other/genemoji.cpp; sourceTree = "<absolute>"; };
|
|
||||||
31120EDB269DFF13E1D49847 /* qicns */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qicns; path = "$(QT_PATH)/plugins/imageformats/libqicns$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
3AC2626B26B65AA88F06BFB5 /* memain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = memain.cpp; path = SourceFiles/_other/memain.cpp; sourceTree = "<absolute>"; };
|
|
||||||
4689C06178B60B84E7F3A3B7 /* Qt5Widgets */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Widgets; path = "$(QT_PATH)/lib/libQt5Widgets$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
|
|
||||||
58308B26DE991A86E8589883 /* genemoji.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = genemoji.h; path = SourceFiles/_other/genemoji.h; sourceTree = "<absolute>"; };
|
|
||||||
5A80A1907B6CFFB524C1E57D /* Qt5Core */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Core; path = "$(QT_PATH)/lib/libQt5Core$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
83D37373949868693FB7816D /* qmng */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qmng; path = "$(QT_PATH)/plugins/imageformats/libqmng$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
8CF51323544B886B8F4A2232 /* qwbmp */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qwbmp; path = "$(QT_PATH)/plugins/imageformats/libqwbmp$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
|
|
||||||
8F500B5166907B6D9A7C3E3D /* qico */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qico; path = "$(QT_PATH)/plugins/imageformats/libqico$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
93E4BE1A02365B73BAF00B73 /* moc_genemoji.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = moc_genemoji.cpp; path = GeneratedFiles/Debug/moc_genemoji.cpp; sourceTree = "<absolute>"; };
|
|
||||||
9742F24EE18EA44D52824F1E /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
|
|
||||||
9DFF62A901D70814B8A323D4 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
|
|
||||||
A1A67BEAA744704B29168D39 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; };
|
|
||||||
ADC6308023253CEA51F86E21 /* qwebp */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qwebp; path = "$(QT_PATH)/plugins/imageformats/libqwebp$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
|
|
||||||
C3345709A0BD182590087379 /* MetaEmoji.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MetaEmoji.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
D3D1BE0BEA3AEE0551AD39AC /* qdds */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qdds; path = "$(QT_PATH)/plugins/imageformats/libqdds$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
D4B32C2222F82AC56BADEB21 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
|
|
||||||
D53D8E6A188E05078A114294 /* qcocoa */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qcocoa; path = "$(QT_PATH)/plugins/platforms/libqcocoa$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
D6193B79CECC9DD0142D1200 /* qtharfbuzzng */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtharfbuzzng; path = "$(QT_PATH)/lib/libqtharfbuzzng$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DBF506D10449BFABD45B82DA /* Qt5PrintSupport */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5PrintSupport; path = "$(QT_PATH)/lib/libQt5PrintSupport$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DCEFD9167C239650120B0145 /* qtga */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtga; path = "$(QT_PATH)/plugins/imageformats/libqtga$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DFD7912080BC557230093752 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
|
|
||||||
E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5PlatformSupport; path = "$(QT_PATH)/lib/libQt5PlatformSupport$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
E981470FA003A8DCE3C52E59 /* memain.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = memain.h; path = SourceFiles/_other/memain.h; sourceTree = "<absolute>"; };
|
|
||||||
F0681BC551FC8A2B132FC646 /* qjp2 */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qjp2; path = "$(QT_PATH)/plugins/imageformats/libqjp2$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
F2453BA07315EB9F34F1CD57 /* qtiff */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtiff; path = "$(QT_PATH)/plugins/imageformats/libqtiff$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
FCC237CA5AD60B9BA4447615 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
D1C883685E82D5676953459A /* Link Binary With Libraries */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
1BB705CDB741E2B7450201A5 /* Cocoa.framework in Link Binary With Libraries */,
|
|
||||||
328FD74542F6E2C873EE4D4B /* ApplicationServices.framework in Link Binary With Libraries */,
|
|
||||||
668DDDA0C55405E7FCFD6CA5 /* CoreServices.framework in Link Binary With Libraries */,
|
|
||||||
F8B465CE34D8DF87AAE95913 /* CoreFoundation.framework in Link Binary With Libraries */,
|
|
||||||
F26454630C80841CBDCFE1CA /* Foundation.framework in Link Binary With Libraries */,
|
|
||||||
8771A8C96E9C391044035D99 /* OpenGL.framework in Link Binary With Libraries */,
|
|
||||||
E45E51A644D5FC9F942ECE55 /* AGL.framework in Link Binary With Libraries */,
|
|
||||||
D1FA8AF31837B51C762A9D4D /* qcocoa in Link Binary With Libraries */,
|
|
||||||
F8ED42CF8679BF83227DAFC4 /* Carbon.framework in Link Binary With Libraries */,
|
|
||||||
8D267F2E4776F0ECA2F49DC8 /* IOKit.framework in Link Binary With Libraries */,
|
|
||||||
1A681B886F50EE30FBE62B4B /* Qt5PrintSupport in Link Binary With Libraries */,
|
|
||||||
D22929A2B8C5281567FCACDC /* Qt5PlatformSupport in Link Binary With Libraries */,
|
|
||||||
BE6AB9DF1C4880624131C669 /* Qt5Widgets in Link Binary With Libraries */,
|
|
||||||
A9563D9C9FD0D76FAAF1CA96 /* qdds in Link Binary With Libraries */,
|
|
||||||
7CA5405B8503BFFC60932D2B /* qicns in Link Binary With Libraries */,
|
|
||||||
496FD9CEEB508016AFB9F928 /* qico in Link Binary With Libraries */,
|
|
||||||
7F76437B577F737145996DC3 /* qtga in Link Binary With Libraries */,
|
|
||||||
C06DDE378A7AC1FA9E6FF69A /* qtiff in Link Binary With Libraries */,
|
|
||||||
A3F8F2284013928A02AE5C38 /* qwbmp in Link Binary With Libraries */,
|
|
||||||
F4D3747C3A03B25EDC9057BB /* qwebp in Link Binary With Libraries */,
|
|
||||||
9F33AC0693BC81B27D8F518D /* Qt5Gui in Link Binary With Libraries */,
|
|
||||||
8D33FE22B9BBADC7FA46C15B /* qtharfbuzzng in Link Binary With Libraries */,
|
|
||||||
07D7954A1B5544B200DE9598 /* qtpcre in Link Binary With Libraries */,
|
|
||||||
0785004D1CCA847400168DBB /* libqtfreetype.a in Link Binary With Libraries */,
|
|
||||||
B9ADD90C014EA3FBE351DF03 /* Qt5Core in Link Binary With Libraries */,
|
|
||||||
);
|
|
||||||
name = "Link Binary With Libraries";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
25B08E2869634E9BCBA333A2 /* Generated Sources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
D0B536A85E53302E4F66CE23 /* GeneratedFiles */,
|
|
||||||
);
|
|
||||||
name = "Generated Sources";
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
2EB56BE3C2D93CDAB0C52E67 /* Sources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
73F2E45FDEB381A085D37A49 /* SourceFiles */,
|
|
||||||
);
|
|
||||||
name = Sources;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
31562E815E3DF5B1A777D3EF /* _other */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
3AC2626B26B65AA88F06BFB5 /* memain.cpp */,
|
|
||||||
1F47C130E1F45B4A5A91DB5E /* genemoji.cpp */,
|
|
||||||
E981470FA003A8DCE3C52E59 /* memain.h */,
|
|
||||||
58308B26DE991A86E8589883 /* genemoji.h */,
|
|
||||||
);
|
|
||||||
name = _other;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
73F2E45FDEB381A085D37A49 /* SourceFiles */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
31562E815E3DF5B1A777D3EF /* _other */,
|
|
||||||
);
|
|
||||||
name = SourceFiles;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
801973D3334D0FCA849CF485 /* Debug */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
93E4BE1A02365B73BAF00B73 /* moc_genemoji.cpp */,
|
|
||||||
);
|
|
||||||
name = Debug;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
AF39DD055C3EF8226FBE929D /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
07D795491B5544B200DE9598 /* qtpcre */,
|
|
||||||
0785004C1CCA847400168DBB /* libqtfreetype.a */,
|
|
||||||
AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */,
|
|
||||||
DFD7912080BC557230093752 /* ApplicationServices.framework */,
|
|
||||||
9742F24EE18EA44D52824F1E /* CoreServices.framework */,
|
|
||||||
4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */,
|
|
||||||
FCC237CA5AD60B9BA4447615 /* Foundation.framework */,
|
|
||||||
D4B32C2222F82AC56BADEB21 /* OpenGL.framework */,
|
|
||||||
8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */,
|
|
||||||
D53D8E6A188E05078A114294 /* qcocoa */,
|
|
||||||
9DFF62A901D70814B8A323D4 /* Carbon.framework */,
|
|
||||||
A1A67BEAA744704B29168D39 /* IOKit.framework */,
|
|
||||||
DBF506D10449BFABD45B82DA /* Qt5PrintSupport */,
|
|
||||||
E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */,
|
|
||||||
4689C06178B60B84E7F3A3B7 /* Qt5Widgets */,
|
|
||||||
D3D1BE0BEA3AEE0551AD39AC /* qdds */,
|
|
||||||
31120EDB269DFF13E1D49847 /* qicns */,
|
|
||||||
8F500B5166907B6D9A7C3E3D /* qico */,
|
|
||||||
F0681BC551FC8A2B132FC646 /* qjp2 */,
|
|
||||||
83D37373949868693FB7816D /* qmng */,
|
|
||||||
DCEFD9167C239650120B0145 /* qtga */,
|
|
||||||
F2453BA07315EB9F34F1CD57 /* qtiff */,
|
|
||||||
8CF51323544B886B8F4A2232 /* qwbmp */,
|
|
||||||
ADC6308023253CEA51F86E21 /* qwebp */,
|
|
||||||
04391BE7A8B9D811E255100A /* Qt5Gui */,
|
|
||||||
D6193B79CECC9DD0142D1200 /* qtharfbuzzng */,
|
|
||||||
5A80A1907B6CFFB524C1E57D /* Qt5Core */,
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
D0B536A85E53302E4F66CE23 /* GeneratedFiles */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
801973D3334D0FCA849CF485 /* Debug */,
|
|
||||||
);
|
|
||||||
name = GeneratedFiles;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
E8C543AB96796ECAA2E65C57 /* MetaEmoji */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
2EB56BE3C2D93CDAB0C52E67 /* Sources */,
|
|
||||||
25B08E2869634E9BCBA333A2 /* Generated Sources */,
|
|
||||||
AF39DD055C3EF8226FBE929D /* Frameworks */,
|
|
||||||
FE0A091FDBFB3E9C31B7A1BD /* Products */,
|
|
||||||
);
|
|
||||||
name = MetaEmoji;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
FE0A091FDBFB3E9C31B7A1BD /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
C3345709A0BD182590087379 /* MetaEmoji.app */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
E4122523B1AB28431125160A /* MetaEmoji */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "MetaEmoji" */;
|
|
||||||
buildPhases = (
|
|
||||||
F7E50F631C51CD5B5DC0BC43 /* Compile Sources */,
|
|
||||||
D1C883685E82D5676953459A /* Link Binary With Libraries */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
8F9AEC020DB94B2A3918B1FE /* PBXTargetDependency */,
|
|
||||||
);
|
|
||||||
name = MetaEmoji;
|
|
||||||
productInstallPath = ../Mac/DebugEmoji/;
|
|
||||||
productName = MetaEmoji;
|
|
||||||
productReference = C3345709A0BD182590087379 /* MetaEmoji.app */;
|
|
||||||
productType = "com.apple.product-type.application";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
6DB9C3763D02B1415CD9D565 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 0700;
|
|
||||||
};
|
|
||||||
buildConfigurationList = DAC4C1AA5EDEA1C85E9CA5E6 /* Build configuration list for PBXProject "MetaEmoji" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 1;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
);
|
|
||||||
mainGroup = E8C543AB96796ECAA2E65C57 /* MetaEmoji */;
|
|
||||||
productRefGroup = FE0A091FDBFB3E9C31B7A1BD /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
E4122523B1AB28431125160A /* MetaEmoji */,
|
|
||||||
D93715D85BD26B270C3CC80B /* Preprocess */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
|
||||||
7EF0942E79C014DCEC8976BC /* Qt Preprocessors */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "Qt Preprocessors";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "make -C . -f MetaEmoji.xcodeproj/qt_preprocess.mak";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
F7E50F631C51CD5B5DC0BC43 /* Compile Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
83425F7776C9E52C29BE0E6F /* memain.cpp in Compile Sources */,
|
|
||||||
C5357D951917482510CE3E54 /* genemoji.cpp in Compile Sources */,
|
|
||||||
C4F1177BDAACCF1E50ACCED9 /* moc_genemoji.cpp in Compile Sources */,
|
|
||||||
);
|
|
||||||
name = "Compile Sources";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXTargetDependency section */
|
|
||||||
8F9AEC020DB94B2A3918B1FE /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
target = D93715D85BD26B270C3CC80B /* Preprocess */;
|
|
||||||
targetProxy = 0708466E1954218200B5AE3A /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
/* End PBXTargetDependency section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
339EE1B2CC4FC24589A0EA95 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = NO;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = NO;
|
|
||||||
CLANG_WARN_INT_CONVERSION = NO;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = NO;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)Emoji$(EFFECTIVE_PLATFORM_NAME)";
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0;
|
|
||||||
DYLIB_CURRENT_VERSION = 1.0.0;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = NO;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = NO;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
GeneratedFiles/Debug,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Emoji.plist;
|
|
||||||
INSTALL_DIR = ../Mac/ReleaseEmoji/;
|
|
||||||
LDPLUSPLUS = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++";
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
/System/Library/Frameworks/,
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
"$(QT_PATH)/plugins/platforms",
|
|
||||||
"$(QT_PATH)/plugins/imageformats",
|
|
||||||
);
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
|
||||||
OBJROOT = ./../Mac/ReleaseIntermediateEmoji/;
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-headerpad_max_install_names",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-L$(QT_PATH)/lib",
|
|
||||||
"-L$(QT_PATH)/plugins/platforms",
|
|
||||||
"-lcups",
|
|
||||||
"-L$(QT_PATH)/plugins/imageformats",
|
|
||||||
"-lz",
|
|
||||||
"-lm",
|
|
||||||
);
|
|
||||||
PRODUCT_NAME = MetaEmoji;
|
|
||||||
QT_LIBRARY_SUFFIX = "";
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../Mac;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
3AA6C32AC930069E80220CF1 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = NO;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = NO;
|
|
||||||
CLANG_WARN_INT_CONVERSION = NO;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = NO;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)Emoji$(EFFECTIVE_PLATFORM_NAME)";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0;
|
|
||||||
DYLIB_CURRENT_VERSION = 1.0.0;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
ENABLE_TESTABILITY = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = NO;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = NO;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
GeneratedFiles/Debug,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Emoji.plist;
|
|
||||||
INSTALL_DIR = ../Mac/DebugEmoji/;
|
|
||||||
LDPLUSPLUS = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++";
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
/System/Library/Frameworks/,
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
"$(QT_PATH)/plugins/platforms",
|
|
||||||
"$(QT_PATH)/plugins/imageformats",
|
|
||||||
);
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
|
||||||
OBJROOT = ./../Mac/DebugIntermediateEmoji/;
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-headerpad_max_install_names",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-L$(QT_PATH)/lib",
|
|
||||||
"-L$(QT_PATH)/plugins/platforms",
|
|
||||||
"-lcups",
|
|
||||||
"-L$(QT_PATH)/plugins/imageformats",
|
|
||||||
"-lz",
|
|
||||||
"-lm",
|
|
||||||
);
|
|
||||||
PRODUCT_NAME = MetaEmoji;
|
|
||||||
QT_LIBRARY_SUFFIX = _debug;
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../Mac;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
6666AA5E688052234F6758D8 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.tdesktop.${PRODUCT_NAME:rfc1034identifier}";
|
|
||||||
PRODUCT_NAME = MetaEmoji;
|
|
||||||
QT_LIBRARY_SUFFIX = "";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
77418F46922677BB04ED38DD /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.tdesktop.${PRODUCT_NAME:rfc1034identifier}";
|
|
||||||
PRODUCT_NAME = MetaEmoji;
|
|
||||||
QT_LIBRARY_SUFFIX = _debug;
|
|
||||||
SDKROOT = macosx;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "MetaEmoji" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
77418F46922677BB04ED38DD /* Debug */,
|
|
||||||
6666AA5E688052234F6758D8 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
DAC4C1AA5EDEA1C85E9CA5E6 /* Build configuration list for PBXProject "MetaEmoji" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
3AA6C32AC930069E80220CF1 /* Debug */,
|
|
||||||
339EE1B2CC4FC24589A0EA95 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 6DB9C3763D02B1415CD9D565 /* Project object */;
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
#############################################################################
|
|
||||||
# Makefile for building: ../Mac/DebugEmoji/MetaEmoji.app/Contents/MacOS/MetaEmoji
|
|
||||||
# Initially generated by qmake
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
MAKEFILE = project.pbxproj
|
|
||||||
|
|
||||||
QT_VER = 5.6.0
|
|
||||||
QT_DIR = /usr/local/tdesktop/Qt-$(QT_VER)
|
|
||||||
QT_MOC = $(QT_DIR)/bin/moc
|
|
||||||
LEX = flex
|
|
||||||
LEXFLAGS =
|
|
||||||
YACC = yacc
|
|
||||||
YACCFLAGS = -d
|
|
||||||
DEFINES = -D_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4
|
|
||||||
INCPATH = -I$(QT_DIR)/mkspecs/macx-clang\
|
|
||||||
-I$(QT_DIR)/include/QtGui/$(QT_VER)/QtGui\
|
|
||||||
-I$(QT_DIR)/include/QtCore/$(QT_VER)/QtCore\
|
|
||||||
-I$(QT_VER)/include\
|
|
||||||
-IGeneratedFiles/Debug\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/backward\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
|
|
||||||
DEL_FILE = rm -f
|
|
||||||
MOVE = mv -f
|
|
||||||
MOC_FILE = $(QT_MOC) $(DEFINES) $(INCPATH)
|
|
||||||
|
|
||||||
IMAGES =
|
|
||||||
PARSERS =
|
|
||||||
preprocess: $(PARSERS) compilers
|
|
||||||
clean preprocess_clean: parser_clean compiler_clean
|
|
||||||
|
|
||||||
parser_clean:
|
|
||||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
||||||
|
|
||||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
||||||
|
|
||||||
check: first
|
|
||||||
|
|
||||||
compilers: GeneratedFiles/Debug/moc_genemoji.cpp
|
|
||||||
compiler_objective_c_make_all:
|
|
||||||
compiler_objective_c_clean:
|
|
||||||
compiler_rcc_make_all:
|
|
||||||
compiler_rcc_clean:
|
|
||||||
compiler_moc_header_make_all: GeneratedFiles/Debug/moc_genemoji.cpp
|
|
||||||
compiler_moc_header_clean:
|
|
||||||
-$(DEL_FILE) GeneratedFiles/Debug/moc_genemoji.cpp
|
|
||||||
GeneratedFiles/Debug/moc_genemoji.cpp: SourceFiles/_other/genemoji.h
|
|
||||||
$(MOC_FILE) SourceFiles/_other/genemoji.h -o GeneratedFiles/Debug/moc_genemoji.cpp
|
|
||||||
|
|
||||||
compiler_moc_source_make_all:
|
|
||||||
compiler_moc_source_clean:
|
|
||||||
compiler_rez_source_make_all:
|
|
||||||
compiler_rez_source_clean:
|
|
||||||
compiler_yacc_decl_make_all:
|
|
||||||
compiler_yacc_decl_clean:
|
|
||||||
compiler_yacc_impl_make_all:
|
|
||||||
compiler_yacc_impl_clean:
|
|
||||||
compiler_lex_make_all:
|
|
||||||
compiler_lex_clean:
|
|
||||||
compiler_clean: compiler_moc_header_clean
|
|
||||||
|
|
|
@ -1,586 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXAggregateTarget section */
|
|
||||||
9BBFDCA776106924C40572AD /* Preprocess */ = {
|
|
||||||
isa = PBXAggregateTarget;
|
|
||||||
buildConfigurationList = 6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "MetaLang" */;
|
|
||||||
buildPhases = (
|
|
||||||
07C3AF44194CCD360016CFF1 /* ShellScript */,
|
|
||||||
7EF0942E79C014DCEC8976BC /* Qt Preprocessors */,
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = Preprocess;
|
|
||||||
productName = "Qt Preprocess";
|
|
||||||
};
|
|
||||||
/* End PBXAggregateTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
0785004D1CCA847400168DBB /* libqtfreetype.a in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 0785004C1CCA847400168DBB /* libqtfreetype.a */; };
|
|
||||||
07D7954A1B5544B200DE9598 /* qtpcre in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 07D795491B5544B200DE9598 /* qtpcre */; };
|
|
||||||
0E4EEB1BFC9FA7662AD934C6 /* moc_genlang.cpp in Compile Sources */ = {isa = PBXBuildFile; fileRef = 680437016D61255E7F889A94 /* moc_genlang.cpp */; settings = {ATTRIBUTES = (); }; };
|
|
||||||
1A681B886F50EE30FBE62B4B /* Qt5PrintSupport in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DBF506D10449BFABD45B82DA /* Qt5PrintSupport */; };
|
|
||||||
1BB705CDB741E2B7450201A5 /* Cocoa.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */; };
|
|
||||||
328FD74542F6E2C873EE4D4B /* ApplicationServices.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DFD7912080BC557230093752 /* ApplicationServices.framework */; };
|
|
||||||
34D95ABDC12C1841CEF3B2E3 /* genlang.cpp in Compile Sources */ = {isa = PBXBuildFile; fileRef = 669AB12AE74AC219B4669D79 /* genlang.cpp */; settings = {ATTRIBUTES = (); }; };
|
|
||||||
496FD9CEEB508016AFB9F928 /* qico in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8F500B5166907B6D9A7C3E3D /* qico */; };
|
|
||||||
668DDDA0C55405E7FCFD6CA5 /* CoreServices.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 9742F24EE18EA44D52824F1E /* CoreServices.framework */; };
|
|
||||||
7CA5405B8503BFFC60932D2B /* qicns in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 31120EDB269DFF13E1D49847 /* qicns */; };
|
|
||||||
7F76437B577F737145996DC3 /* qtga in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DCEFD9167C239650120B0145 /* qtga */; };
|
|
||||||
8771A8C96E9C391044035D99 /* OpenGL.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D4B32C2222F82AC56BADEB21 /* OpenGL.framework */; };
|
|
||||||
8D267F2E4776F0ECA2F49DC8 /* IOKit.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = A1A67BEAA744704B29168D39 /* IOKit.framework */; };
|
|
||||||
8D33FE22B9BBADC7FA46C15B /* qtharfbuzzng in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D6193B79CECC9DD0142D1200 /* qtharfbuzzng */; };
|
|
||||||
9F33AC0693BC81B27D8F518D /* Qt5Gui in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 04391BE7A8B9D811E255100A /* Qt5Gui */; };
|
|
||||||
A3F8F2284013928A02AE5C38 /* qwbmp in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8CF51323544B886B8F4A2232 /* qwbmp */; };
|
|
||||||
A9563D9C9FD0D76FAAF1CA96 /* qdds in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D3D1BE0BEA3AEE0551AD39AC /* qdds */; };
|
|
||||||
B89F16FD30F4E782CC231D7B /* mlmain.cpp in Compile Sources */ = {isa = PBXBuildFile; fileRef = A83296E7180A28ABB0FD85D2 /* mlmain.cpp */; settings = {ATTRIBUTES = (); }; };
|
|
||||||
B9ADD90C014EA3FBE351DF03 /* Qt5Core in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 5A80A1907B6CFFB524C1E57D /* Qt5Core */; };
|
|
||||||
BE6AB9DF1C4880624131C669 /* Qt5Widgets in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 4689C06178B60B84E7F3A3B7 /* Qt5Widgets */; };
|
|
||||||
C06DDE378A7AC1FA9E6FF69A /* qtiff in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = F2453BA07315EB9F34F1CD57 /* qtiff */; };
|
|
||||||
D1FA8AF31837B51C762A9D4D /* qcocoa in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D53D8E6A188E05078A114294 /* qcocoa */; };
|
|
||||||
D22929A2B8C5281567FCACDC /* Qt5PlatformSupport in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */; };
|
|
||||||
E45E51A644D5FC9F942ECE55 /* AGL.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */; };
|
|
||||||
F26454630C80841CBDCFE1CA /* Foundation.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = FCC237CA5AD60B9BA4447615 /* Foundation.framework */; };
|
|
||||||
F4D3747C3A03B25EDC9057BB /* qwebp in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = ADC6308023253CEA51F86E21 /* qwebp */; };
|
|
||||||
F8B465CE34D8DF87AAE95913 /* CoreFoundation.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */; };
|
|
||||||
F8ED42CF8679BF83227DAFC4 /* Carbon.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 9DFF62A901D70814B8A323D4 /* Carbon.framework */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
|
||||||
0746FEA1193CD5E500F5C3FD /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 6DB9C3763D02B1415CD9D565 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = 9BBFDCA776106924C40572AD;
|
|
||||||
remoteInfo = "Qt Preprocess";
|
|
||||||
};
|
|
||||||
/* End PBXContainerItemProxy section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
04391BE7A8B9D811E255100A /* Qt5Gui */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Gui; path = "$(QT_PATH)/lib/libQt5Gui$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
0785004C1CCA847400168DBB /* libqtfreetype.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libqtfreetype.a; path = "$(QT_PATH)/lib/libqtfreetype$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<group>"; };
|
|
||||||
07D795491B5544B200DE9598 /* qtpcre */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtpcre; path = "$(QT_PATH)/lib/libqtpcre$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<group>"; };
|
|
||||||
31120EDB269DFF13E1D49847 /* qicns */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qicns; path = "$(QT_PATH)/plugins/imageformats/libqicns$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
4689C06178B60B84E7F3A3B7 /* Qt5Widgets */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Widgets; path = "$(QT_PATH)/lib/libQt5Widgets$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
|
|
||||||
54D6D1A7260739988F6FC406 /* genlang.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = genlang.h; path = SourceFiles/_other/genlang.h; sourceTree = "<absolute>"; };
|
|
||||||
5A80A1907B6CFFB524C1E57D /* Qt5Core */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Core; path = "$(QT_PATH)/lib/libQt5Core$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
669AB12AE74AC219B4669D79 /* genlang.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = genlang.cpp; path = SourceFiles/_other/genlang.cpp; sourceTree = "<absolute>"; };
|
|
||||||
680437016D61255E7F889A94 /* moc_genlang.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = moc_genlang.cpp; path = GeneratedFiles/Debug/moc_genlang.cpp; sourceTree = "<absolute>"; };
|
|
||||||
83D37373949868693FB7816D /* qmng */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qmng; path = "$(QT_PATH)/plugins/imageformats/libqmng$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
83FFCB79DDEB015B4A5CB301 /* MetaLang.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MetaLang.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
8CF51323544B886B8F4A2232 /* qwbmp */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qwbmp; path = "$(QT_PATH)/plugins/imageformats/libqwbmp$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
|
|
||||||
8F500B5166907B6D9A7C3E3D /* qico */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qico; path = "$(QT_PATH)/plugins/imageformats/libqico$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
9742F24EE18EA44D52824F1E /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
|
|
||||||
9DFF62A901D70814B8A323D4 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
|
|
||||||
A1A67BEAA744704B29168D39 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; };
|
|
||||||
A83296E7180A28ABB0FD85D2 /* mlmain.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = mlmain.cpp; path = SourceFiles/_other/mlmain.cpp; sourceTree = "<absolute>"; };
|
|
||||||
ADC6308023253CEA51F86E21 /* qwebp */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qwebp; path = "$(QT_PATH)/plugins/imageformats/libqwebp$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
|
|
||||||
D3D1BE0BEA3AEE0551AD39AC /* qdds */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qdds; path = "$(QT_PATH)/plugins/imageformats/libqdds$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
D4B32C2222F82AC56BADEB21 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
|
|
||||||
D53D8E6A188E05078A114294 /* qcocoa */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qcocoa; path = "$(QT_PATH)/plugins/platforms/libqcocoa$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
D6193B79CECC9DD0142D1200 /* qtharfbuzzng */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtharfbuzzng; path = "$(QT_PATH)/lib/libqtharfbuzzng$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
D7D645CBFF3B86CF39CEF3DA /* mlmain.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = mlmain.h; path = SourceFiles/_other/mlmain.h; sourceTree = "<absolute>"; };
|
|
||||||
DBF506D10449BFABD45B82DA /* Qt5PrintSupport */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5PrintSupport; path = "$(QT_PATH)/lib/libQt5PrintSupport$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DCEFD9167C239650120B0145 /* qtga */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtga; path = "$(QT_PATH)/plugins/imageformats/libqtga$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DFD7912080BC557230093752 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
|
|
||||||
E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5PlatformSupport; path = "$(QT_PATH)/lib/libQt5PlatformSupport$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
F0681BC551FC8A2B132FC646 /* qjp2 */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qjp2; path = "$(QT_PATH)/plugins/imageformats/libqjp2$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
F2453BA07315EB9F34F1CD57 /* qtiff */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtiff; path = "$(QT_PATH)/plugins/imageformats/libqtiff$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
FCC237CA5AD60B9BA4447615 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
D1C883685E82D5676953459A /* Link Binary With Libraries */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
1BB705CDB741E2B7450201A5 /* Cocoa.framework in Link Binary With Libraries */,
|
|
||||||
328FD74542F6E2C873EE4D4B /* ApplicationServices.framework in Link Binary With Libraries */,
|
|
||||||
668DDDA0C55405E7FCFD6CA5 /* CoreServices.framework in Link Binary With Libraries */,
|
|
||||||
F8B465CE34D8DF87AAE95913 /* CoreFoundation.framework in Link Binary With Libraries */,
|
|
||||||
F26454630C80841CBDCFE1CA /* Foundation.framework in Link Binary With Libraries */,
|
|
||||||
8771A8C96E9C391044035D99 /* OpenGL.framework in Link Binary With Libraries */,
|
|
||||||
E45E51A644D5FC9F942ECE55 /* AGL.framework in Link Binary With Libraries */,
|
|
||||||
D1FA8AF31837B51C762A9D4D /* qcocoa in Link Binary With Libraries */,
|
|
||||||
F8ED42CF8679BF83227DAFC4 /* Carbon.framework in Link Binary With Libraries */,
|
|
||||||
8D267F2E4776F0ECA2F49DC8 /* IOKit.framework in Link Binary With Libraries */,
|
|
||||||
1A681B886F50EE30FBE62B4B /* Qt5PrintSupport in Link Binary With Libraries */,
|
|
||||||
D22929A2B8C5281567FCACDC /* Qt5PlatformSupport in Link Binary With Libraries */,
|
|
||||||
BE6AB9DF1C4880624131C669 /* Qt5Widgets in Link Binary With Libraries */,
|
|
||||||
A9563D9C9FD0D76FAAF1CA96 /* qdds in Link Binary With Libraries */,
|
|
||||||
7CA5405B8503BFFC60932D2B /* qicns in Link Binary With Libraries */,
|
|
||||||
496FD9CEEB508016AFB9F928 /* qico in Link Binary With Libraries */,
|
|
||||||
7F76437B577F737145996DC3 /* qtga in Link Binary With Libraries */,
|
|
||||||
C06DDE378A7AC1FA9E6FF69A /* qtiff in Link Binary With Libraries */,
|
|
||||||
A3F8F2284013928A02AE5C38 /* qwbmp in Link Binary With Libraries */,
|
|
||||||
F4D3747C3A03B25EDC9057BB /* qwebp in Link Binary With Libraries */,
|
|
||||||
9F33AC0693BC81B27D8F518D /* Qt5Gui in Link Binary With Libraries */,
|
|
||||||
8D33FE22B9BBADC7FA46C15B /* qtharfbuzzng in Link Binary With Libraries */,
|
|
||||||
07D7954A1B5544B200DE9598 /* qtpcre in Link Binary With Libraries */,
|
|
||||||
0785004D1CCA847400168DBB /* libqtfreetype.a in Link Binary With Libraries */,
|
|
||||||
B9ADD90C014EA3FBE351DF03 /* Qt5Core in Link Binary With Libraries */,
|
|
||||||
);
|
|
||||||
name = "Link Binary With Libraries";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
25B08E2869634E9BCBA333A2 /* Generated Sources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
D0B536A85E53302E4F66CE23 /* GeneratedFiles */,
|
|
||||||
);
|
|
||||||
name = "Generated Sources";
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
2EB56BE3C2D93CDAB0C52E67 /* Sources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
73F2E45FDEB381A085D37A49 /* SourceFiles */,
|
|
||||||
);
|
|
||||||
name = Sources;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
31562E815E3DF5B1A777D3EF /* _other */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
A83296E7180A28ABB0FD85D2 /* mlmain.cpp */,
|
|
||||||
669AB12AE74AC219B4669D79 /* genlang.cpp */,
|
|
||||||
D7D645CBFF3B86CF39CEF3DA /* mlmain.h */,
|
|
||||||
54D6D1A7260739988F6FC406 /* genlang.h */,
|
|
||||||
);
|
|
||||||
name = _other;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
73F2E45FDEB381A085D37A49 /* SourceFiles */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
31562E815E3DF5B1A777D3EF /* _other */,
|
|
||||||
);
|
|
||||||
name = SourceFiles;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
801973D3334D0FCA849CF485 /* Debug */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
680437016D61255E7F889A94 /* moc_genlang.cpp */,
|
|
||||||
);
|
|
||||||
name = Debug;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
AF39DD055C3EF8226FBE929D /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
07D795491B5544B200DE9598 /* qtpcre */,
|
|
||||||
0785004C1CCA847400168DBB /* libqtfreetype.a */,
|
|
||||||
AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */,
|
|
||||||
DFD7912080BC557230093752 /* ApplicationServices.framework */,
|
|
||||||
9742F24EE18EA44D52824F1E /* CoreServices.framework */,
|
|
||||||
4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */,
|
|
||||||
FCC237CA5AD60B9BA4447615 /* Foundation.framework */,
|
|
||||||
D4B32C2222F82AC56BADEB21 /* OpenGL.framework */,
|
|
||||||
8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */,
|
|
||||||
D53D8E6A188E05078A114294 /* qcocoa */,
|
|
||||||
9DFF62A901D70814B8A323D4 /* Carbon.framework */,
|
|
||||||
A1A67BEAA744704B29168D39 /* IOKit.framework */,
|
|
||||||
DBF506D10449BFABD45B82DA /* Qt5PrintSupport */,
|
|
||||||
E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */,
|
|
||||||
4689C06178B60B84E7F3A3B7 /* Qt5Widgets */,
|
|
||||||
D3D1BE0BEA3AEE0551AD39AC /* qdds */,
|
|
||||||
31120EDB269DFF13E1D49847 /* qicns */,
|
|
||||||
8F500B5166907B6D9A7C3E3D /* qico */,
|
|
||||||
F0681BC551FC8A2B132FC646 /* qjp2 */,
|
|
||||||
83D37373949868693FB7816D /* qmng */,
|
|
||||||
DCEFD9167C239650120B0145 /* qtga */,
|
|
||||||
F2453BA07315EB9F34F1CD57 /* qtiff */,
|
|
||||||
8CF51323544B886B8F4A2232 /* qwbmp */,
|
|
||||||
ADC6308023253CEA51F86E21 /* qwebp */,
|
|
||||||
04391BE7A8B9D811E255100A /* Qt5Gui */,
|
|
||||||
D6193B79CECC9DD0142D1200 /* qtharfbuzzng */,
|
|
||||||
5A80A1907B6CFFB524C1E57D /* Qt5Core */,
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
D0B536A85E53302E4F66CE23 /* GeneratedFiles */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
801973D3334D0FCA849CF485 /* Debug */,
|
|
||||||
);
|
|
||||||
name = GeneratedFiles;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
E8C543AB96796ECAA2E65C57 /* MetaLang */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
2EB56BE3C2D93CDAB0C52E67 /* Sources */,
|
|
||||||
25B08E2869634E9BCBA333A2 /* Generated Sources */,
|
|
||||||
AF39DD055C3EF8226FBE929D /* Frameworks */,
|
|
||||||
FE0A091FDBFB3E9C31B7A1BD /* Products */,
|
|
||||||
);
|
|
||||||
name = MetaLang;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
FE0A091FDBFB3E9C31B7A1BD /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
83FFCB79DDEB015B4A5CB301 /* MetaLang.app */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
6FFA5F0FB08CCD004808E1F3 /* MetaLang */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "MetaLang" */;
|
|
||||||
buildPhases = (
|
|
||||||
F7E50F631C51CD5B5DC0BC43 /* Compile Sources */,
|
|
||||||
D1C883685E82D5676953459A /* Link Binary With Libraries */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
076DA1F6C10E47842EC316F3 /* PBXTargetDependency */,
|
|
||||||
);
|
|
||||||
name = MetaLang;
|
|
||||||
productInstallPath = ../Mac/DebugLang/;
|
|
||||||
productName = MetaLang;
|
|
||||||
productReference = 83FFCB79DDEB015B4A5CB301 /* MetaLang.app */;
|
|
||||||
productType = "com.apple.product-type.application";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
6DB9C3763D02B1415CD9D565 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 0700;
|
|
||||||
};
|
|
||||||
buildConfigurationList = DAC4C1AA5EDEA1C85E9CA5E6 /* Build configuration list for PBXProject "MetaLang" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 1;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
);
|
|
||||||
mainGroup = E8C543AB96796ECAA2E65C57 /* MetaLang */;
|
|
||||||
productRefGroup = FE0A091FDBFB3E9C31B7A1BD /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
6FFA5F0FB08CCD004808E1F3 /* MetaLang */,
|
|
||||||
9BBFDCA776106924C40572AD /* Preprocess */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
|
||||||
07C3AF44194CCD360016CFF1 /* ShellScript */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "mkdir -p ./GeneratedFiles/Debug";
|
|
||||||
};
|
|
||||||
7EF0942E79C014DCEC8976BC /* Qt Preprocessors */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "Qt Preprocessors";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "make -C . -f MetaLang.xcodeproj/qt_preprocess.mak";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
F7E50F631C51CD5B5DC0BC43 /* Compile Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
B89F16FD30F4E782CC231D7B /* mlmain.cpp in Compile Sources */,
|
|
||||||
34D95ABDC12C1841CEF3B2E3 /* genlang.cpp in Compile Sources */,
|
|
||||||
0E4EEB1BFC9FA7662AD934C6 /* moc_genlang.cpp in Compile Sources */,
|
|
||||||
);
|
|
||||||
name = "Compile Sources";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXTargetDependency section */
|
|
||||||
076DA1F6C10E47842EC316F3 /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
target = 9BBFDCA776106924C40572AD /* Preprocess */;
|
|
||||||
targetProxy = 0746FEA1193CD5E500F5C3FD /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
/* End PBXTargetDependency section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
339EE1B2CC4FC24589A0EA95 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)Lang$(EFFECTIVE_PLATFORM_NAME)";
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0;
|
|
||||||
DYLIB_CURRENT_VERSION = 1.0.0;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
GeneratedFiles/Debug,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Lang.plist;
|
|
||||||
INSTALL_DIR = ../Mac/ReleaseLang/;
|
|
||||||
LDPLUSPLUS = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++";
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
/System/Library/Frameworks/,
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
"$(QT_PATH)/plugins/platforms",
|
|
||||||
"$(QT_PATH)/plugins/imageformats",
|
|
||||||
);
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
|
||||||
OBJROOT = ./../Mac/ReleaseIntermediateLang;
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-headerpad_max_install_names",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-L$(QT_PATH)/lib",
|
|
||||||
"-L$(QT_PATH)/plugins/platforms",
|
|
||||||
"-lcups",
|
|
||||||
"-L$(QT_PATH)/plugins/imageformats",
|
|
||||||
"-lz",
|
|
||||||
"-lm",
|
|
||||||
);
|
|
||||||
PRODUCT_NAME = MetaLang;
|
|
||||||
QT_LIBRARY_SUFFIX = "";
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../Mac;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
3AA6C32AC930069E80220CF1 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)Lang$(EFFECTIVE_PLATFORM_NAME)";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0;
|
|
||||||
DYLIB_CURRENT_VERSION = 1.0.0;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
ENABLE_TESTABILITY = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
GeneratedFiles/Debug,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Lang.plist;
|
|
||||||
INSTALL_DIR = ../Mac/DebugLang/;
|
|
||||||
LDPLUSPLUS = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++";
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
/System/Library/Frameworks/,
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
"$(QT_PATH)/plugins/platforms",
|
|
||||||
"$(QT_PATH)/plugins/imageformats",
|
|
||||||
);
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
|
||||||
OBJROOT = ./../Mac/DebugIntermediateLang;
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-headerpad_max_install_names",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-L$(QT_PATH)/lib",
|
|
||||||
"-L$(QT_PATH)/plugins/platforms",
|
|
||||||
"-lcups",
|
|
||||||
"-L$(QT_PATH)/plugins/imageformats",
|
|
||||||
"-lz",
|
|
||||||
"-lm",
|
|
||||||
);
|
|
||||||
PRODUCT_NAME = MetaLang;
|
|
||||||
QT_LIBRARY_SUFFIX = _debug;
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../Mac;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
6666AA5E688052234F6758D8 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INSTALL_DIR = ../Mac/ReleaseLang/;
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.tdesktop.${PRODUCT_NAME:rfc1034identifier}";
|
|
||||||
PRODUCT_NAME = MetaLang;
|
|
||||||
QT_LIBRARY_SUFFIX = "";
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
77418F46922677BB04ED38DD /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INSTALL_DIR = ../Mac/DebugLang/;
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.tdesktop.${PRODUCT_NAME:rfc1034identifier}";
|
|
||||||
PRODUCT_NAME = MetaLang;
|
|
||||||
QT_LIBRARY_SUFFIX = _debug;
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "MetaLang" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
77418F46922677BB04ED38DD /* Debug */,
|
|
||||||
6666AA5E688052234F6758D8 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
DAC4C1AA5EDEA1C85E9CA5E6 /* Build configuration list for PBXProject "MetaLang" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
3AA6C32AC930069E80220CF1 /* Debug */,
|
|
||||||
339EE1B2CC4FC24589A0EA95 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 6DB9C3763D02B1415CD9D565 /* Project object */;
|
|
||||||
}
|
|
|
@ -1,66 +0,0 @@
|
||||||
#############################################################################
|
|
||||||
# Makefile for building: ../Mac/DebugLang/MetaLang.app/Contents/MacOS/MetaLang
|
|
||||||
# Initially generated by qmake
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
MAKEFILE = project.pbxproj
|
|
||||||
|
|
||||||
QT_VER = 5.6.0
|
|
||||||
QT_DIR = /usr/local/tdesktop/Qt-$(QT_VER)
|
|
||||||
QT_MOC = $(QT_DIR)/bin/moc
|
|
||||||
LEX = flex
|
|
||||||
LEXFLAGS =
|
|
||||||
YACC = yacc
|
|
||||||
YACCFLAGS = -d
|
|
||||||
DEFINES = -D_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4
|
|
||||||
INCPATH = -I$(QT_DIR)/mkspecs/macx-clang\
|
|
||||||
-I$(QT_DIR)/include/QtGui/$(QT_VER)/QtGui\
|
|
||||||
-I$(QT_DIR)/include/QtCore/$(QT_VER)/QtCore\
|
|
||||||
-I$(QT_VER)/include\
|
|
||||||
-IGeneratedFiles/Debug\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/backward\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
|
|
||||||
DEL_FILE = rm -f
|
|
||||||
MOVE = mv -f
|
|
||||||
MOC_FILE = $(QT_MOC) $(DEFINES) $(INCPATH)
|
|
||||||
|
|
||||||
IMAGES =
|
|
||||||
PARSERS =
|
|
||||||
preprocess: $(PARSERS) compilers
|
|
||||||
clean preprocess_clean: parser_clean compiler_clean
|
|
||||||
|
|
||||||
parser_clean:
|
|
||||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
||||||
|
|
||||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
||||||
|
|
||||||
check: first
|
|
||||||
|
|
||||||
compilers: GeneratedFiles/Debug/moc_genlang.cpp
|
|
||||||
compiler_objective_c_make_all:
|
|
||||||
compiler_objective_c_clean:
|
|
||||||
compiler_rcc_make_all:
|
|
||||||
compiler_rcc_clean:
|
|
||||||
compiler_moc_header_make_all: GeneratedFiles/Debug/moc_genlang.cpp
|
|
||||||
compiler_moc_header_clean:
|
|
||||||
-$(DEL_FILE) GeneratedFiles/Debug/moc_genlang.cpp
|
|
||||||
GeneratedFiles/Debug/moc_genlang.cpp: SourceFiles/_other/genlang.h
|
|
||||||
$(MOC_FILE) SourceFiles/_other/genlang.h -o GeneratedFiles/Debug/moc_genlang.cpp
|
|
||||||
|
|
||||||
compiler_moc_source_make_all:
|
|
||||||
compiler_moc_source_clean:
|
|
||||||
compiler_rez_source_make_all:
|
|
||||||
compiler_rez_source_clean:
|
|
||||||
compiler_yacc_decl_make_all:
|
|
||||||
compiler_yacc_decl_clean:
|
|
||||||
compiler_yacc_impl_make_all:
|
|
||||||
compiler_yacc_impl_clean:
|
|
||||||
compiler_lex_make_all:
|
|
||||||
compiler_lex_clean:
|
|
||||||
compiler_clean: compiler_moc_header_clean
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>Packer</string>
|
|
||||||
<key>CFBundleGetInfoString</key>
|
|
||||||
<string>Update packer utility for tdesktop</string>
|
|
||||||
<key>CFBundleIconFile</key>
|
|
||||||
<string></string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>NOTE</key>
|
|
||||||
<string></string>
|
|
||||||
<key>NSPrincipalClass</key>
|
|
||||||
<string>NSApplication</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,584 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXAggregateTarget section */
|
|
||||||
6E977D353048DB44129F752B /* Preprocess */ = {
|
|
||||||
isa = PBXAggregateTarget;
|
|
||||||
buildConfigurationList = 6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "Packer" */;
|
|
||||||
buildPhases = (
|
|
||||||
7EF0942E79C014DCEC8976BC /* Qt Preprocessors */,
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = Preprocess;
|
|
||||||
productName = "Qt Preprocess";
|
|
||||||
};
|
|
||||||
/* End PBXAggregateTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
07D7954A1B5544B200DE9598 /* qtpcre in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 07D795491B5544B200DE9598 /* qtpcre */; };
|
|
||||||
0785004D1CCA847400168DBB /* libqtfreetype.a in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 0785004C1CCA847400168DBB /* libqtfreetype.a */; };
|
|
||||||
1A681B886F50EE30FBE62B4B /* Qt5PrintSupport in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DBF506D10449BFABD45B82DA /* Qt5PrintSupport */; };
|
|
||||||
1BB705CDB741E2B7450201A5 /* Cocoa.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */; };
|
|
||||||
328FD74542F6E2C873EE4D4B /* ApplicationServices.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DFD7912080BC557230093752 /* ApplicationServices.framework */; };
|
|
||||||
496FD9CEEB508016AFB9F928 /* qico in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8F500B5166907B6D9A7C3E3D /* qico */; };
|
|
||||||
668DDDA0C55405E7FCFD6CA5 /* CoreServices.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 9742F24EE18EA44D52824F1E /* CoreServices.framework */; };
|
|
||||||
7CA5405B8503BFFC60932D2B /* qicns in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 31120EDB269DFF13E1D49847 /* qicns */; };
|
|
||||||
7F76437B577F737145996DC3 /* qtga in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = DCEFD9167C239650120B0145 /* qtga */; };
|
|
||||||
8771A8C96E9C391044035D99 /* OpenGL.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D4B32C2222F82AC56BADEB21 /* OpenGL.framework */; };
|
|
||||||
8D267F2E4776F0ECA2F49DC8 /* IOKit.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = A1A67BEAA744704B29168D39 /* IOKit.framework */; };
|
|
||||||
8D33FE22B9BBADC7FA46C15B /* qtharfbuzzng in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D6193B79CECC9DD0142D1200 /* qtharfbuzzng */; };
|
|
||||||
9F33AC0693BC81B27D8F518D /* Qt5Gui in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 04391BE7A8B9D811E255100A /* Qt5Gui */; };
|
|
||||||
A3F8F2284013928A02AE5C38 /* qwbmp in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8CF51323544B886B8F4A2232 /* qwbmp */; };
|
|
||||||
A9563D9C9FD0D76FAAF1CA96 /* qdds in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D3D1BE0BEA3AEE0551AD39AC /* qdds */; };
|
|
||||||
B9ADD90C014EA3FBE351DF03 /* Qt5Core in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 5A80A1907B6CFFB524C1E57D /* Qt5Core */; };
|
|
||||||
BE6AB9DF1C4880624131C669 /* Qt5Widgets in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 4689C06178B60B84E7F3A3B7 /* Qt5Widgets */; };
|
|
||||||
C06DDE378A7AC1FA9E6FF69A /* qtiff in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = F2453BA07315EB9F34F1CD57 /* qtiff */; };
|
|
||||||
D1FA8AF31837B51C762A9D4D /* qcocoa in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = D53D8E6A188E05078A114294 /* qcocoa */; };
|
|
||||||
D22929A2B8C5281567FCACDC /* Qt5PlatformSupport in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */; };
|
|
||||||
E45E51A644D5FC9F942ECE55 /* AGL.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */; };
|
|
||||||
EAA05789DF6EBAD24D3EFF96 /* packer.cpp in Compile Sources */ = {isa = PBXBuildFile; fileRef = E3790AE49DBDB3F5EFA42FE1 /* packer.cpp */; settings = {ATTRIBUTES = (); }; };
|
|
||||||
F26454630C80841CBDCFE1CA /* Foundation.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = FCC237CA5AD60B9BA4447615 /* Foundation.framework */; };
|
|
||||||
F4D3747C3A03B25EDC9057BB /* qwebp in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = ADC6308023253CEA51F86E21 /* qwebp */; };
|
|
||||||
F8B465CE34D8DF87AAE95913 /* CoreFoundation.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */; };
|
|
||||||
F8ED42CF8679BF83227DAFC4 /* Carbon.framework in Link Binary With Libraries */ = {isa = PBXBuildFile; fileRef = 9DFF62A901D70814B8A323D4 /* Carbon.framework */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
|
||||||
072AB35C1955F39D00328D9B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 6DB9C3763D02B1415CD9D565 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = 6E977D353048DB44129F752B;
|
|
||||||
remoteInfo = "Qt Preprocess";
|
|
||||||
};
|
|
||||||
/* End PBXContainerItemProxy section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
04391BE7A8B9D811E255100A /* Qt5Gui */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Gui; path = "$(QT_PATH)/lib/libQt5Gui$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
07D795491B5544B200DE9598 /* qtpcre */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtpcre; path = "$(QT_PATH)/lib/libqtpcre$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<group>"; };
|
|
||||||
0785004C1CCA847400168DBB /* libqtfreetype.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libqtfreetype.a; path = "$(QT_PATH)/lib/libqtfreetype$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<group>"; };
|
|
||||||
31120EDB269DFF13E1D49847 /* qicns */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qicns; path = "$(QT_PATH)/plugins/imageformats/libqicns$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
4689C06178B60B84E7F3A3B7 /* Qt5Widgets */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Widgets; path = "$(QT_PATH)/lib/libQt5Widgets$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
|
|
||||||
5A80A1907B6CFFB524C1E57D /* Qt5Core */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5Core; path = "$(QT_PATH)/lib/libQt5Core$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
5AA25EFD83BC060B26945285 /* packer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = packer.h; path = SourceFiles/_other/packer.h; sourceTree = "<absolute>"; };
|
|
||||||
83D37373949868693FB7816D /* qmng */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qmng; path = "$(QT_PATH)/plugins/imageformats/libqmng$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
8CF51323544B886B8F4A2232 /* qwbmp */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qwbmp; path = "$(QT_PATH)/plugins/imageformats/libqwbmp$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
|
|
||||||
8F500B5166907B6D9A7C3E3D /* qico */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qico; path = "$(QT_PATH)/plugins/imageformats/libqico$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
9742F24EE18EA44D52824F1E /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
|
|
||||||
9DFF62A901D70814B8A323D4 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
|
|
||||||
A1A67BEAA744704B29168D39 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = /System/Library/Frameworks/IOKit.framework; sourceTree = "<absolute>"; };
|
|
||||||
A5588D4B50885E2A9CAA5505 /* Packer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Packer.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
ADC6308023253CEA51F86E21 /* qwebp */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qwebp; path = "$(QT_PATH)/plugins/imageformats/libqwebp$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
|
|
||||||
D3D1BE0BEA3AEE0551AD39AC /* qdds */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qdds; path = "$(QT_PATH)/plugins/imageformats/libqdds$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
D4B32C2222F82AC56BADEB21 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
|
|
||||||
D53D8E6A188E05078A114294 /* qcocoa */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qcocoa; path = "$(QT_PATH)/plugins/platforms/libqcocoa$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
D6193B79CECC9DD0142D1200 /* qtharfbuzzng */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtharfbuzzng; path = "$(QT_PATH)/lib/libqtharfbuzzng$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DBF506D10449BFABD45B82DA /* Qt5PrintSupport */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5PrintSupport; path = "$(QT_PATH)/lib/libQt5PrintSupport$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DCEFD9167C239650120B0145 /* qtga */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtga; path = "$(QT_PATH)/plugins/imageformats/libqtga$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
DFD7912080BC557230093752 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
|
|
||||||
E3790AE49DBDB3F5EFA42FE1 /* packer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = packer.cpp; path = SourceFiles/_other/packer.cpp; sourceTree = "<absolute>"; };
|
|
||||||
E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = Qt5PlatformSupport; path = "$(QT_PATH)/lib/libQt5PlatformSupport$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
F0681BC551FC8A2B132FC646 /* qjp2 */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qjp2; path = "$(QT_PATH)/plugins/imageformats/libqjp2$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
F2453BA07315EB9F34F1CD57 /* qtiff */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = qtiff; path = "$(QT_PATH)/plugins/imageformats/libqtiff$(QT_LIBRARY_SUFFIX).a"; sourceTree = "<absolute>"; };
|
|
||||||
FCC237CA5AD60B9BA4447615 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
D1C883685E82D5676953459A /* Link Binary With Libraries */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
1BB705CDB741E2B7450201A5 /* Cocoa.framework in Link Binary With Libraries */,
|
|
||||||
328FD74542F6E2C873EE4D4B /* ApplicationServices.framework in Link Binary With Libraries */,
|
|
||||||
668DDDA0C55405E7FCFD6CA5 /* CoreServices.framework in Link Binary With Libraries */,
|
|
||||||
F8B465CE34D8DF87AAE95913 /* CoreFoundation.framework in Link Binary With Libraries */,
|
|
||||||
F26454630C80841CBDCFE1CA /* Foundation.framework in Link Binary With Libraries */,
|
|
||||||
8771A8C96E9C391044035D99 /* OpenGL.framework in Link Binary With Libraries */,
|
|
||||||
E45E51A644D5FC9F942ECE55 /* AGL.framework in Link Binary With Libraries */,
|
|
||||||
D1FA8AF31837B51C762A9D4D /* qcocoa in Link Binary With Libraries */,
|
|
||||||
F8ED42CF8679BF83227DAFC4 /* Carbon.framework in Link Binary With Libraries */,
|
|
||||||
8D267F2E4776F0ECA2F49DC8 /* IOKit.framework in Link Binary With Libraries */,
|
|
||||||
1A681B886F50EE30FBE62B4B /* Qt5PrintSupport in Link Binary With Libraries */,
|
|
||||||
D22929A2B8C5281567FCACDC /* Qt5PlatformSupport in Link Binary With Libraries */,
|
|
||||||
BE6AB9DF1C4880624131C669 /* Qt5Widgets in Link Binary With Libraries */,
|
|
||||||
A9563D9C9FD0D76FAAF1CA96 /* qdds in Link Binary With Libraries */,
|
|
||||||
7CA5405B8503BFFC60932D2B /* qicns in Link Binary With Libraries */,
|
|
||||||
496FD9CEEB508016AFB9F928 /* qico in Link Binary With Libraries */,
|
|
||||||
7F76437B577F737145996DC3 /* qtga in Link Binary With Libraries */,
|
|
||||||
C06DDE378A7AC1FA9E6FF69A /* qtiff in Link Binary With Libraries */,
|
|
||||||
A3F8F2284013928A02AE5C38 /* qwbmp in Link Binary With Libraries */,
|
|
||||||
F4D3747C3A03B25EDC9057BB /* qwebp in Link Binary With Libraries */,
|
|
||||||
9F33AC0693BC81B27D8F518D /* Qt5Gui in Link Binary With Libraries */,
|
|
||||||
8D33FE22B9BBADC7FA46C15B /* qtharfbuzzng in Link Binary With Libraries */,
|
|
||||||
07D7954A1B5544B200DE9598 /* qtpcre in Link Binary With Libraries */,
|
|
||||||
0785004D1CCA847400168DBB /* libqtfreetype.a in Link Binary With Libraries */,
|
|
||||||
B9ADD90C014EA3FBE351DF03 /* Qt5Core in Link Binary With Libraries */,
|
|
||||||
);
|
|
||||||
name = "Link Binary With Libraries";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
2EB56BE3C2D93CDAB0C52E67 /* Sources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
73F2E45FDEB381A085D37A49 /* SourceFiles */,
|
|
||||||
);
|
|
||||||
name = Sources;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
31562E815E3DF5B1A777D3EF /* _other */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
E3790AE49DBDB3F5EFA42FE1 /* packer.cpp */,
|
|
||||||
5AA25EFD83BC060B26945285 /* packer.h */,
|
|
||||||
);
|
|
||||||
name = _other;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
73F2E45FDEB381A085D37A49 /* SourceFiles */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
31562E815E3DF5B1A777D3EF /* _other */,
|
|
||||||
);
|
|
||||||
name = SourceFiles;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
AF39DD055C3EF8226FBE929D /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
07D795491B5544B200DE9598 /* qtpcre */,
|
|
||||||
0785004C1CCA847400168DBB /* libqtfreetype.a */,
|
|
||||||
AEA456A2F75ED9F5CDA7BCBE /* Cocoa.framework */,
|
|
||||||
DFD7912080BC557230093752 /* ApplicationServices.framework */,
|
|
||||||
9742F24EE18EA44D52824F1E /* CoreServices.framework */,
|
|
||||||
4D765E1B1EA6C757220C63E7 /* CoreFoundation.framework */,
|
|
||||||
FCC237CA5AD60B9BA4447615 /* Foundation.framework */,
|
|
||||||
D4B32C2222F82AC56BADEB21 /* OpenGL.framework */,
|
|
||||||
8D9815BDB5BD9F90D2BC05C5 /* AGL.framework */,
|
|
||||||
D53D8E6A188E05078A114294 /* qcocoa */,
|
|
||||||
9DFF62A901D70814B8A323D4 /* Carbon.framework */,
|
|
||||||
A1A67BEAA744704B29168D39 /* IOKit.framework */,
|
|
||||||
DBF506D10449BFABD45B82DA /* Qt5PrintSupport */,
|
|
||||||
E7B2F248E3F7970788F35BF5 /* Qt5PlatformSupport */,
|
|
||||||
4689C06178B60B84E7F3A3B7 /* Qt5Widgets */,
|
|
||||||
D3D1BE0BEA3AEE0551AD39AC /* qdds */,
|
|
||||||
31120EDB269DFF13E1D49847 /* qicns */,
|
|
||||||
8F500B5166907B6D9A7C3E3D /* qico */,
|
|
||||||
F0681BC551FC8A2B132FC646 /* qjp2 */,
|
|
||||||
83D37373949868693FB7816D /* qmng */,
|
|
||||||
DCEFD9167C239650120B0145 /* qtga */,
|
|
||||||
F2453BA07315EB9F34F1CD57 /* qtiff */,
|
|
||||||
8CF51323544B886B8F4A2232 /* qwbmp */,
|
|
||||||
ADC6308023253CEA51F86E21 /* qwebp */,
|
|
||||||
04391BE7A8B9D811E255100A /* Qt5Gui */,
|
|
||||||
D6193B79CECC9DD0142D1200 /* qtharfbuzzng */,
|
|
||||||
5A80A1907B6CFFB524C1E57D /* Qt5Core */,
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
E8C543AB96796ECAA2E65C57 /* Packer */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
2EB56BE3C2D93CDAB0C52E67 /* Sources */,
|
|
||||||
AF39DD055C3EF8226FBE929D /* Frameworks */,
|
|
||||||
FE0A091FDBFB3E9C31B7A1BD /* Products */,
|
|
||||||
);
|
|
||||||
name = Packer;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
FE0A091FDBFB3E9C31B7A1BD /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
A5588D4B50885E2A9CAA5505 /* Packer.app */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<Group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
FD92333211119EF3CA40F70D /* Packer */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "Packer" */;
|
|
||||||
buildPhases = (
|
|
||||||
F7E50F631C51CD5B5DC0BC43 /* Compile Sources */,
|
|
||||||
D1C883685E82D5676953459A /* Link Binary With Libraries */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
A7CD3B627B093BF0A5BBA9AE /* PBXTargetDependency */,
|
|
||||||
);
|
|
||||||
name = Packer;
|
|
||||||
productInstallPath = ../Mac/DebugPacker/;
|
|
||||||
productName = Packer;
|
|
||||||
productReference = A5588D4B50885E2A9CAA5505 /* Packer.app */;
|
|
||||||
productType = "com.apple.product-type.application";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
6DB9C3763D02B1415CD9D565 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 0700;
|
|
||||||
};
|
|
||||||
buildConfigurationList = DAC4C1AA5EDEA1C85E9CA5E6 /* Build configuration list for PBXProject "Packer" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 1;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
);
|
|
||||||
mainGroup = E8C543AB96796ECAA2E65C57 /* Packer */;
|
|
||||||
productRefGroup = FE0A091FDBFB3E9C31B7A1BD /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
FD92333211119EF3CA40F70D /* Packer */,
|
|
||||||
6E977D353048DB44129F752B /* Preprocess */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
|
||||||
7EF0942E79C014DCEC8976BC /* Qt Preprocessors */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "Qt Preprocessors";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "make -C . -f Packer.xcodeproj/qt_preprocess.mak";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
F7E50F631C51CD5B5DC0BC43 /* Compile Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
EAA05789DF6EBAD24D3EFF96 /* packer.cpp in Compile Sources */,
|
|
||||||
);
|
|
||||||
name = "Compile Sources";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXTargetDependency section */
|
|
||||||
A7CD3B627B093BF0A5BBA9AE /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
target = 6E977D353048DB44129F752B /* Preprocess */;
|
|
||||||
targetProxy = 072AB35C1955F39D00328D9B /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
/* End PBXTargetDependency section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
339EE1B2CC4FC24589A0EA95 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0;
|
|
||||||
DYLIB_CURRENT_VERSION = 1.0.0;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
/usr/local/include,
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
GeneratedFiles/Debug,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Packer.plist;
|
|
||||||
INSTALL_DIR = "../Mac/$(CONFIGURATION)";
|
|
||||||
LDPLUSPLUS = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++";
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
/System/Library/Frameworks/,
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
"$(QT_PATH)/plugins/platforms",
|
|
||||||
"$(QT_PATH)/plugins/imageformats",
|
|
||||||
);
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
|
||||||
OBJROOT = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)IntermediatePacker/";
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-headerpad_max_install_names",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-lcrypto",
|
|
||||||
"-lssl",
|
|
||||||
"-L$(QT_PATH)/lib",
|
|
||||||
"-L$(QT_PATH)/plugins/platforms",
|
|
||||||
"-lcups",
|
|
||||||
"-L$(QT_PATH)/plugins/imageformats",
|
|
||||||
"-lz",
|
|
||||||
"-lm",
|
|
||||||
"-llzma",
|
|
||||||
);
|
|
||||||
PRODUCT_NAME = Packer;
|
|
||||||
QT_LIBRARY_SUFFIX = "";
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ../Mac;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
3AA6C32AC930069E80220CF1 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0;
|
|
||||||
DYLIB_CURRENT_VERSION = 1.0.0;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
ENABLE_TESTABILITY = YES;
|
|
||||||
FRAMEWORK_SEARCH_PATHS = "";
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
/usr/local/include,
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
"$(QT_PATH)/include/QtGui",
|
|
||||||
"$(QT_PATH)/include/QtCore",
|
|
||||||
GeneratedFiles/Debug,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers,
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers,
|
|
||||||
"$(QT_PATH)/mkspecs/macx-clang",
|
|
||||||
);
|
|
||||||
INFOPLIST_FILE = Packer.plist;
|
|
||||||
INSTALL_DIR = "../Mac/$(CONFIGURATION)";
|
|
||||||
LDPLUSPLUS = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++";
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
/System/Library/Frameworks/,
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
"$(QT_PATH)/plugins/platforms",
|
|
||||||
"$(QT_PATH)/plugins/imageformats",
|
|
||||||
);
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
|
||||||
OBJROOT = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)IntermediatePacker/";
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-headerpad_max_install_names",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-lcrypto",
|
|
||||||
"-lssl",
|
|
||||||
"-L$(QT_PATH)/lib",
|
|
||||||
"-L$(QT_PATH)/plugins/platforms",
|
|
||||||
"-lcups",
|
|
||||||
"-L$(QT_PATH)/plugins/imageformats",
|
|
||||||
"-lz",
|
|
||||||
"-lm",
|
|
||||||
"-llzma",
|
|
||||||
);
|
|
||||||
PRODUCT_NAME = Packer;
|
|
||||||
QT_LIBRARY_SUFFIX = _debug;
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ../Mac;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
6666AA5E688052234F6758D8 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
);
|
|
||||||
OBJROOT = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)IntermediatePacker";
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
"-I./../../Libraries/openssl-xcode/include",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
"-I./../../Libraries/openssl-xcode/include",
|
|
||||||
);
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.tdesktop.$(PRODUCT_NAME:rfc1034identifier)";
|
|
||||||
PRODUCT_NAME = Packer;
|
|
||||||
QT_LIBRARY_SUFFIX = "";
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
77418F46922677BB04ED38DD /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"$(QT_PATH)/lib",
|
|
||||||
);
|
|
||||||
OBJROOT = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)IntermediatePacker";
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
"-I./../../Libraries/openssl-xcode/include",
|
|
||||||
);
|
|
||||||
OTHER_CPLUSPLUSFLAGS = (
|
|
||||||
"-pipe",
|
|
||||||
"-g",
|
|
||||||
"-std=c++11",
|
|
||||||
"-stdlib=libc++",
|
|
||||||
"-Wall",
|
|
||||||
"-W",
|
|
||||||
"-fPIE",
|
|
||||||
"-D_DEBUG",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
"-I./../../Libraries/openssl-xcode/include",
|
|
||||||
);
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = "com.tdesktop.$(PRODUCT_NAME:rfc1034identifier)";
|
|
||||||
PRODUCT_NAME = Packer;
|
|
||||||
QT_LIBRARY_SUFFIX = _debug;
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
6CC3B5D2136C7CD6A5CF5A59 /* Build configuration list for PBXNativeTarget "Packer" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
77418F46922677BB04ED38DD /* Debug */,
|
|
||||||
6666AA5E688052234F6758D8 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
DAC4C1AA5EDEA1C85E9CA5E6 /* Build configuration list for PBXProject "Packer" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
3AA6C32AC930069E80220CF1 /* Debug */,
|
|
||||||
339EE1B2CC4FC24589A0EA95 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 6DB9C3763D02B1415CD9D565 /* Project object */;
|
|
||||||
}
|
|
|
@ -1,62 +0,0 @@
|
||||||
#############################################################################
|
|
||||||
# Makefile for building: ../Mac/DebugPacker/Packer.app/Contents/MacOS/Packer
|
|
||||||
# Initially generated by qmake
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
MAKEFILE = project.pbxproj
|
|
||||||
|
|
||||||
QT_VER = 5.6.0
|
|
||||||
QT_DIR = /usr/local/tdesktop/Qt-$(QT_VER)
|
|
||||||
QT_MOC = $(QT_DIR)/bin/moc
|
|
||||||
LEX = flex
|
|
||||||
LEXFLAGS =
|
|
||||||
YACC = yacc
|
|
||||||
YACCFLAGS = -d
|
|
||||||
DEFINES = -D_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4
|
|
||||||
INCPATH = -I$(QT_DIR)/mkspecs/macx-clang\
|
|
||||||
-I$(QT_DIR)/include/QtGui/$(QT_VER)/QtGui\
|
|
||||||
-I$(QT_DIR)/include/QtCore/$(QT_VER)/QtCore\
|
|
||||||
-I$(QT_VER)/include\
|
|
||||||
-IGeneratedFiles/Debug\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/backward\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
|
|
||||||
DEL_FILE = rm -f
|
|
||||||
MOVE = mv -f
|
|
||||||
MOC_FILE = $(QT_MOC) $(DEFINES) $(INCPATH)
|
|
||||||
|
|
||||||
IMAGES =
|
|
||||||
PARSERS =
|
|
||||||
preprocess: $(PARSERS) compilers
|
|
||||||
clean preprocess_clean: parser_clean compiler_clean
|
|
||||||
|
|
||||||
parser_clean:
|
|
||||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
||||||
|
|
||||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
||||||
|
|
||||||
check: first
|
|
||||||
|
|
||||||
compilers:
|
|
||||||
compiler_objective_c_make_all:
|
|
||||||
compiler_objective_c_clean:
|
|
||||||
compiler_rcc_make_all:
|
|
||||||
compiler_rcc_clean:
|
|
||||||
compiler_moc_header_make_all:
|
|
||||||
compiler_moc_header_clean:
|
|
||||||
compiler_moc_source_make_all:
|
|
||||||
compiler_moc_source_clean:
|
|
||||||
compiler_rez_source_make_all:
|
|
||||||
compiler_rez_source_clean:
|
|
||||||
compiler_yacc_decl_make_all:
|
|
||||||
compiler_yacc_decl_clean:
|
|
||||||
compiler_yacc_impl_make_all:
|
|
||||||
compiler_yacc_impl_clean:
|
|
||||||
compiler_lex_make_all:
|
|
||||||
compiler_lex_clean:
|
|
||||||
compiler_clean:
|
|
||||||
|
|
42
Telegram/Patches/gyp.diff
Normal file
42
Telegram/Patches/gyp.diff
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
diff --git a/pylib/gyp/generator/xcode.py b/pylib/gyp/generator/xcode.py
|
||||||
|
index 0e3fb93..0679660 100644
|
||||||
|
--- a/pylib/gyp/generator/xcode.py
|
||||||
|
+++ b/pylib/gyp/generator/xcode.py
|
||||||
|
@@ -72,6 +72,10 @@ generator_additional_non_configuration_keys = [
|
||||||
|
'ios_app_extension',
|
||||||
|
'ios_watch_app',
|
||||||
|
'ios_watchkit_extension',
|
||||||
|
+
|
||||||
|
+ 'mac_sandbox', # sandbox support
|
||||||
|
+ 'mac_sandbox_development_team',
|
||||||
|
+
|
||||||
|
'mac_bundle',
|
||||||
|
'mac_bundle_resources',
|
||||||
|
'mac_framework_headers',
|
||||||
|
@@ -761,6 +765,26 @@ def GenerateOutput(target_list, target_dicts, data, params):
|
||||||
|
xcode_targets[qualified_target] = xct
|
||||||
|
xcode_target_to_target_dict[xct] = spec
|
||||||
|
|
||||||
|
+ # sandbox support
|
||||||
|
+ is_sandbox = int(spec.get('mac_sandbox', 0))
|
||||||
|
+ if is_sandbox:
|
||||||
|
+ dev_team = spec.get('mac_sandbox_development_team', '%%ERROR%%')
|
||||||
|
+ assert dev_team != '%%ERROR%%', (
|
||||||
|
+ 'mac_sandbox must be accompanied by mac_sandbox_development_team (target "%s")' %
|
||||||
|
+ target_name)
|
||||||
|
+ try:
|
||||||
|
+ tmp = pbxp._properties['attributes']['TargetAttributes']
|
||||||
|
+ except KeyError:
|
||||||
|
+ pbxp._properties['attributes']['TargetAttributes'] = {}
|
||||||
|
+ pbxp._properties['attributes']['TargetAttributes'][xct] = {
|
||||||
|
+ 'DevelopmentTeam': dev_team,
|
||||||
|
+ 'SystemCapabilities': {
|
||||||
|
+ 'com.apple.Sandbox': {
|
||||||
|
+ 'enabled': 1,
|
||||||
|
+ },
|
||||||
|
+ },
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
spec_actions = spec.get('actions', [])
|
||||||
|
spec_rules = spec.get('rules', [])
|
||||||
|
|
17
Telegram/Resources/langs/ko.lproj/Localizable.strings
Normal file
17
Telegram/Resources/langs/ko.lproj/Localizable.strings
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
/*
|
||||||
|
This file is part of Telegram Desktop,
|
||||||
|
the official desktop version of Telegram messaging app, see https://telegram.org
|
||||||
|
|
||||||
|
Telegram Desktop is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
It is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||||
|
Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
*/
|
|
@ -27,14 +27,7 @@ Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
//Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
||||||
Q_IMPORT_PLUGIN(QDDSPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QICNSPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QICOPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QTgaPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QTiffPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QWbmpPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QWebpPlugin)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned int uint32;
|
typedef unsigned int uint32;
|
||||||
|
|
|
@ -23,14 +23,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
#include <QtCore/QtPlugin>
|
#include <QtCore/QtPlugin>
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
//Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
||||||
Q_IMPORT_PLUGIN(QDDSPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QICNSPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QICOPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QTgaPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QTiffPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QWbmpPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QWebpPlugin)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool AlphaChannel = false;
|
bool AlphaChannel = false;
|
||||||
|
|
|
@ -21,9 +21,9 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "app.h"
|
#include "app.h"
|
||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
#ifdef OS_MAC_OLD
|
||||||
#include <libexif/exif-data.h>
|
#include <libexif/exif-data.h>
|
||||||
#endif
|
#endif // OS_MAC_OLD
|
||||||
|
|
||||||
#include "styles/style_overview.h"
|
#include "styles/style_overview.h"
|
||||||
#include "styles/style_mediaview.h"
|
#include "styles/style_mediaview.h"
|
||||||
|
@ -350,8 +350,13 @@ namespace {
|
||||||
|
|
||||||
// {fulltype} is in "{type}-{tag}-{tag}-{tag}" format
|
// {fulltype} is in "{type}-{tag}-{tag}-{tag}" format
|
||||||
// if we find "all" tag we return the restriction string
|
// if we find "all" tag we return the restriction string
|
||||||
QStringList typeTags = fullRestriction.mid(0, fullTypeEnd).split('-').mid(1);
|
auto typeTags = fullRestriction.mid(0, fullTypeEnd).split('-').mid(1);
|
||||||
if (typeTags.contains(qsl("all"))) {
|
#ifndef OS_MAC_STORE
|
||||||
|
auto restrictionApplies = typeTags.contains(qsl("all"));
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
auto restrictionApplies = typeTags.contains(qsl("all")) || typeTags.contains(qsl("ios"));
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
|
if (restrictionApplies) {
|
||||||
return fullRestriction.midRef(fullTypeEnd + 1).trimmed().toString();
|
return fullRestriction.midRef(fullTypeEnd + 1).trimmed().toString();
|
||||||
}
|
}
|
||||||
return QString();
|
return QString();
|
||||||
|
@ -2390,9 +2395,9 @@ namespace {
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
QImageReader reader(&buffer, *format);
|
QImageReader reader(&buffer, *format);
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
#ifndef OS_MAC_OLD
|
||||||
reader.setAutoTransform(true);
|
reader.setAutoTransform(true);
|
||||||
#endif
|
#endif // OS_MAC_OLD
|
||||||
if (animated) *animated = reader.supportsAnimation() && reader.imageCount() > 1;
|
if (animated) *animated = reader.supportsAnimation() && reader.imageCount() > 1;
|
||||||
QByteArray fmt = reader.format();
|
QByteArray fmt = reader.format();
|
||||||
if (!fmt.isEmpty()) *format = fmt;
|
if (!fmt.isEmpty()) *format = fmt;
|
||||||
|
@ -2405,7 +2410,7 @@ namespace {
|
||||||
buffer.seek(0);
|
buffer.seek(0);
|
||||||
QString fmt = QString::fromUtf8(*format).toLower();
|
QString fmt = QString::fromUtf8(*format).toLower();
|
||||||
if (fmt == "jpg" || fmt == "jpeg") {
|
if (fmt == "jpg" || fmt == "jpeg") {
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
#ifdef OS_MAC_OLD
|
||||||
ExifData *exifData = exif_data_new_from_data((const uchar*)(data.constData()), data.size());
|
ExifData *exifData = exif_data_new_from_data((const uchar*)(data.constData()), data.size());
|
||||||
if (exifData) {
|
if (exifData) {
|
||||||
ExifByteOrder byteOrder = exif_data_get_byte_order(exifData);
|
ExifByteOrder byteOrder = exif_data_get_byte_order(exifData);
|
||||||
|
@ -2426,7 +2431,7 @@ namespace {
|
||||||
}
|
}
|
||||||
exif_data_free(exifData);
|
exif_data_free(exifData);
|
||||||
}
|
}
|
||||||
#endif
|
#endif // OS_MAC_OLD
|
||||||
} else if (opaque && result.hasAlphaChannel()) {
|
} else if (opaque && result.hasAlphaChannel()) {
|
||||||
QImage solid(result.width(), result.height(), QImage::Format_ARGB32_Premultiplied);
|
QImage solid(result.width(), result.height(), QImage::Format_ARGB32_Premultiplied);
|
||||||
solid.fill(st::white->c);
|
solid.fill(st::white->c);
|
||||||
|
|
|
@ -94,7 +94,12 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) {
|
||||||
QByteArray d(QFile::encodeName(QDir(cWorkingDir()).absolutePath()));
|
QByteArray d(QFile::encodeName(QDir(cWorkingDir()).absolutePath()));
|
||||||
char h[33] = { 0 };
|
char h[33] = { 0 };
|
||||||
hashMd5Hex(d.constData(), d.size(), h);
|
hashMd5Hex(d.constData(), d.size(), h);
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
_localServerName = psServerPrefix() + h + '-' + cGUIDStr();
|
_localServerName = psServerPrefix() + h + '-' + cGUIDStr();
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
h[4] = 0; // use only first 4 chars
|
||||||
|
_localServerName = psServerPrefix() + h;
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
|
|
||||||
connect(&_localSocket, SIGNAL(connected()), this, SLOT(socketConnected()));
|
connect(&_localSocket, SIGNAL(connected()), this, SLOT(socketConnected()));
|
||||||
connect(&_localSocket, SIGNAL(disconnected()), this, SLOT(socketDisconnected()));
|
connect(&_localSocket, SIGNAL(disconnected()), this, SLOT(socketDisconnected()));
|
||||||
|
|
|
@ -664,7 +664,7 @@ bool Generator::writeIconValues() {
|
||||||
if (maskData.isEmpty()) {
|
if (maskData.isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
source_->stream() << "const uchar iconMask" << i.value() << "Data[] = " << stringToBinaryArray(maskData.toStdString()) << ";\n";
|
source_->stream() << "const uchar iconMask" << i.value() << "Data[] = " << stringToBinaryArray(std::string(maskData.constData(), maskData.size())) << ";\n";
|
||||||
source_->stream() << "IconMask iconMask" << i.value() << "(iconMask" << i.value() << "Data);\n\n";
|
source_->stream() << "IconMask iconMask" << i.value() << "(iconMask" << i.value() << "Data);\n\n";
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -185,14 +185,22 @@ inline bool isServiceUser(uint64 id) {
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
inline const GUID &cGUID() {
|
inline const GUID &cGUID() {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
static const GUID gGuid = { 0x87a94ab0, 0xe370, 0x4cde, { 0x98, 0xd3, 0xac, 0xc1, 0x10, 0xc5, 0x96, 0x7d } };
|
static const GUID gGuid = { 0x87a94ab0, 0xe370, 0x4cde, { 0x98, 0xd3, 0xac, 0xc1, 0x10, 0xc5, 0x96, 0x7d } };
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
static const GUID gGuid = { 0xe51fb841, 0x8c0b, 0x4ef9, { 0x9e, 0x9e, 0x5a, 0x0, 0x78, 0x56, 0x76, 0x27 } };
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
|
|
||||||
return gGuid;
|
return gGuid;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline const char *cGUIDStr() {
|
inline const char *cGUIDStr() {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
static const char *gGuidStr = "{87A94AB0-E370-4cde-98D3-ACC110C5967D}";
|
static const char *gGuidStr = "{87A94AB0-E370-4cde-98D3-ACC110C5967D}";
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
static const char *gGuidStr = "{E51FB841-8C0B-4EF9-9E9E-5A0078567627}";
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
|
|
||||||
return gGuidStr;
|
return gGuidStr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,6 +168,8 @@ template <typename T, size_t N> char(&ArraySizeHelper(T(&array)[N]))[N];
|
||||||
|
|
||||||
// For QFlags<> declared in private section of a class we need to declare
|
// For QFlags<> declared in private section of a class we need to declare
|
||||||
// operators from Q_DECLARE_OPERATORS_FOR_FLAGS as friend functions.
|
// operators from Q_DECLARE_OPERATORS_FOR_FLAGS as friend functions.
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
|
|
||||||
#define Q_DECLARE_FRIEND_INCOMPATIBLE_FLAGS(Flags) \
|
#define Q_DECLARE_FRIEND_INCOMPATIBLE_FLAGS(Flags) \
|
||||||
friend Q_DECL_CONSTEXPR QIncompatibleFlag operator|(Flags::enum_type f1, int f2) Q_DECL_NOTHROW;
|
friend Q_DECL_CONSTEXPR QIncompatibleFlag operator|(Flags::enum_type f1, int f2) Q_DECL_NOTHROW;
|
||||||
|
|
||||||
|
@ -176,6 +178,18 @@ friend Q_DECL_CONSTEXPR QFlags<Flags::enum_type> operator|(Flags::enum_type f1,
|
||||||
friend Q_DECL_CONSTEXPR QFlags<Flags::enum_type> operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2) Q_DECL_NOTHROW; \
|
friend Q_DECL_CONSTEXPR QFlags<Flags::enum_type> operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2) Q_DECL_NOTHROW; \
|
||||||
Q_DECLARE_FRIEND_INCOMPATIBLE_FLAGS(Flags)
|
Q_DECLARE_FRIEND_INCOMPATIBLE_FLAGS(Flags)
|
||||||
|
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
|
||||||
|
#define Q_DECLARE_FRIEND_INCOMPATIBLE_FLAGS(Flags) \
|
||||||
|
friend Q_DECL_CONSTEXPR QIncompatibleFlag operator|(Flags::enum_type f1, int f2);
|
||||||
|
|
||||||
|
#define Q_DECLARE_FRIEND_OPERATORS_FOR_FLAGS(Flags) \
|
||||||
|
friend Q_DECL_CONSTEXPR QFlags<Flags::enum_type> operator|(Flags::enum_type f1, Flags::enum_type f2); \
|
||||||
|
friend Q_DECL_CONSTEXPR QFlags<Flags::enum_type> operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2); \
|
||||||
|
Q_DECLARE_FRIEND_INCOMPATIBLE_FLAGS(Flags)
|
||||||
|
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
|
|
||||||
// using for_const instead of plain range-based for loop to ensure usage of const_iterator
|
// using for_const instead of plain range-based for loop to ensure usage of const_iterator
|
||||||
// it is important for the copy-on-write Qt containers
|
// it is important for the copy-on-write Qt containers
|
||||||
// if you have "QVector<T*> v" then "for (T * const p : v)" will still call QVector::detach(),
|
// if you have "QVector<T*> v" then "for (T * const p : v)" will still call QVector::detach(),
|
||||||
|
@ -212,7 +226,11 @@ public:
|
||||||
}
|
}
|
||||||
constexpr char operator[](std::size_t n) const {
|
constexpr char operator[](std::size_t n) const {
|
||||||
return (n < _size) ? _str[n] :
|
return (n < _size) ? _str[n] :
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
throw std::out_of_range("");
|
throw std::out_of_range("");
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
throw std::exception();
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
}
|
}
|
||||||
constexpr std::size_t size() const { return _size; }
|
constexpr std::size_t size() const { return _size; }
|
||||||
const char *c_str() const { return _str; }
|
const char *c_str() const { return _str; }
|
||||||
|
@ -250,6 +268,11 @@ typedef double float64;
|
||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::exception;
|
using std::exception;
|
||||||
|
#ifdef OS_MAC_OLD
|
||||||
|
namespace std {
|
||||||
|
using nullptr_t = decltype(nullptr);
|
||||||
|
}
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
|
|
||||||
// we copy some parts of C++11/14/17 std:: library, because on OS X 10.6+
|
// we copy some parts of C++11/14/17 std:: library, because on OS X 10.6+
|
||||||
// version we can use C++11/14/17, but we can not use its library :(
|
// version we can use C++11/14/17, but we can not use its library :(
|
||||||
|
@ -915,7 +938,7 @@ public:
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
void makeIfNull(Args&&... args) {
|
void makeIfNull(Args&&... args) {
|
||||||
if (isNull()) {
|
if (isNull()) {
|
||||||
reset(new T(std::forward<Args>(args)...));
|
reset(new T(std_::forward<Args>(args)...));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -52,8 +52,10 @@ enum class RegExOption {
|
||||||
InvertedGreediness = QRegularExpression::InvertedGreedinessOption,
|
InvertedGreediness = QRegularExpression::InvertedGreedinessOption,
|
||||||
DontCapture = QRegularExpression::DontCaptureOption,
|
DontCapture = QRegularExpression::DontCaptureOption,
|
||||||
UseUnicodeProperties = QRegularExpression::UseUnicodePropertiesOption,
|
UseUnicodeProperties = QRegularExpression::UseUnicodePropertiesOption,
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
OptimizeOnFirstUsage = QRegularExpression::OptimizeOnFirstUsageOption,
|
OptimizeOnFirstUsage = QRegularExpression::OptimizeOnFirstUsageOption,
|
||||||
DontAutomaticallyOptimize = QRegularExpression::DontAutomaticallyOptimizeOption,
|
DontAutomaticallyOptimize = QRegularExpression::DontAutomaticallyOptimizeOption,
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
};
|
};
|
||||||
Q_DECLARE_FLAGS(RegExOptions, RegExOption);
|
Q_DECLARE_FLAGS(RegExOptions, RegExOption);
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(RegExOptions);
|
Q_DECLARE_OPERATORS_FOR_FLAGS(RegExOptions);
|
||||||
|
@ -65,7 +67,11 @@ inline RegularExpressionMatch regex_match(const QString &string, const QString &
|
||||||
|
|
||||||
inline RegularExpressionMatch regex_match(const QString &string, const QStringRef &subjectRef, RegExOptions options = 0) {
|
inline RegularExpressionMatch regex_match(const QString &string, const QStringRef &subjectRef, RegExOptions options = 0) {
|
||||||
auto qtOptions = QRegularExpression::PatternOptions(static_cast<int>(options));
|
auto qtOptions = QRegularExpression::PatternOptions(static_cast<int>(options));
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
return RegularExpressionMatch(QRegularExpression(string, qtOptions).match(subjectRef));
|
return RegularExpressionMatch(QRegularExpression(string, qtOptions).match(subjectRef));
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
return RegularExpressionMatch(QRegularExpression(string, qtOptions).match(subjectRef.toString()));
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace qthelp
|
} // namespace qthelp
|
||||||
|
|
|
@ -143,7 +143,11 @@ public:
|
||||||
}
|
}
|
||||||
inline const T &at(int index) const {
|
inline const T &at(int index) const {
|
||||||
if (index < 0 || index >= _size) {
|
if (index < 0 || index >= _size) {
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
||||||
|
throw std::exception();
|
||||||
|
#else // QT_VERSION < 5.5.0
|
||||||
throw std::out_of_range("");
|
throw std::out_of_range("");
|
||||||
|
#endif // QT_VERSION < 5.5.0
|
||||||
}
|
}
|
||||||
return data()[index];
|
return data()[index];
|
||||||
}
|
}
|
||||||
|
|
|
@ -6041,9 +6041,9 @@ void LocationManager::onFinished(QNetworkReply *reply) {
|
||||||
{
|
{
|
||||||
QBuffer buffer(&data);
|
QBuffer buffer(&data);
|
||||||
QImageReader reader(&buffer);
|
QImageReader reader(&buffer);
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
#ifndef OS_MAC_OLD
|
||||||
reader.setAutoTransform(true);
|
reader.setAutoTransform(true);
|
||||||
#endif
|
#endif // OS_MAC_OLD
|
||||||
thumb = QPixmap::fromImageReader(&reader, Qt::ColorOnly);
|
thumb = QPixmap::fromImageReader(&reader, Qt::ColorOnly);
|
||||||
format = reader.format();
|
format = reader.format();
|
||||||
thumb.setDevicePixelRatio(cRetinaFactor());
|
thumb.setDevicePixelRatio(cRetinaFactor());
|
||||||
|
|
|
@ -48,6 +48,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
#include "window/chat_background.h"
|
#include "window/chat_background.h"
|
||||||
#include "observer_peer.h"
|
#include "observer_peer.h"
|
||||||
#include "playerwidget.h"
|
#include "playerwidget.h"
|
||||||
|
#include "core/qthelp_regex.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -2967,9 +2968,8 @@ EntitiesInText entitiesFromTextTags(const FlatTextarea::TagList &tags) {
|
||||||
auto mentionStart = qstr("mention://user.");
|
auto mentionStart = qstr("mention://user.");
|
||||||
for_const (auto &tag, tags) {
|
for_const (auto &tag, tags) {
|
||||||
if (tag.id.startsWith(mentionStart)) {
|
if (tag.id.startsWith(mentionStart)) {
|
||||||
auto match = QRegularExpression("^(\\d+\\.\\d+)(/|$)").match(tag.id.midRef(mentionStart.size()));
|
if (auto match = qthelp::regex_match("^(\\d+\\.\\d+)(/|$)", tag.id.midRef(mentionStart.size()))) {
|
||||||
if (match.hasMatch()) {
|
result.push_back(EntityInText(EntityInTextMentionName, tag.offset, tag.length, match->captured(1)));
|
||||||
result.push_back(EntityInText(EntityInTextMentionName, tag.offset, tag.length, match.captured(1)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8114,7 +8114,12 @@ void HistoryWidget::updatePreview() {
|
||||||
updateMouseTracking();
|
updateMouseTracking();
|
||||||
if (_previewData->pendingTill) {
|
if (_previewData->pendingTill) {
|
||||||
_previewTitle.setText(st::msgServiceNameFont, lang(lng_preview_loading), _textNameOptions);
|
_previewTitle.setText(st::msgServiceNameFont, lang(lng_preview_loading), _textNameOptions);
|
||||||
_previewDescription.setText(st::msgFont, textClean(_previewLinks.splitRef(' ').at(0).toString()), _textDlgOptions);
|
#ifndef OS_MAC_OLD
|
||||||
|
auto linkText = _previewLinks.splitRef(' ').at(0).toString();
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
auto linkText = _previewLinks.split(' ').at(0);
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
|
_previewDescription.setText(st::msgFont, textClean(linkText), _textDlgOptions);
|
||||||
|
|
||||||
int32 t = (_previewData->pendingTill - unixtime()) * 1000;
|
int32 t = (_previewData->pendingTill - unixtime()) * 1000;
|
||||||
if (t <= 0) t = 1;
|
if (t <= 0) t = 1;
|
||||||
|
|
|
@ -173,9 +173,13 @@ ClickHandlerPtr ItemBase::getResultContentUrlHandler() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ItemBase::getResultThumbLetter() const {
|
QString ItemBase::getResultThumbLetter() const {
|
||||||
QVector<QStringRef> parts = _result->_url.splitRef('/');
|
#ifndef OS_MAC_OLD
|
||||||
|
auto parts = _result->_url.splitRef('/');
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
auto parts = _result->_url.split('/');
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
if (!parts.isEmpty()) {
|
if (!parts.isEmpty()) {
|
||||||
QStringRef domain = parts.at(0);
|
auto domain = parts.at(0);
|
||||||
if (parts.size() > 2 && domain.endsWith(':') && parts.at(1).isEmpty()) { // http:// and others
|
if (parts.size() > 2 && domain.endsWith(':') && parts.at(1).isEmpty()) { // http:// and others
|
||||||
domain = parts.at(2);
|
domain = parts.at(2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3623,9 +3623,9 @@ namespace Local {
|
||||||
QImage img;
|
QImage img;
|
||||||
QBuffer buf(&pngData);
|
QBuffer buf(&pngData);
|
||||||
QImageReader reader(&buf);
|
QImageReader reader(&buf);
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
#ifndef OS_MAC_OLD
|
||||||
reader.setAutoTransform(true);
|
reader.setAutoTransform(true);
|
||||||
#endif
|
#endif // OS_MAC_OLD
|
||||||
if (reader.read(&img)) {
|
if (reader.read(&img)) {
|
||||||
App::initBackground(id, img, true);
|
App::initBackground(id, img, true);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -31,6 +31,8 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
#define AL_ALEXT_PROTOTYPES
|
#define AL_ALEXT_PROTOTYPES
|
||||||
#include <AL/alext.h>
|
#include <AL/alext.h>
|
||||||
|
|
||||||
|
#include <numeric>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
|
|
|
@ -118,9 +118,9 @@ bool QtGifReaderImplementation::jumpToStart() {
|
||||||
delete _reader;
|
delete _reader;
|
||||||
initDevice();
|
initDevice();
|
||||||
_reader = new QImageReader(_device);
|
_reader = new QImageReader(_device);
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
#ifndef OS_MAC_OLD
|
||||||
_reader->setAutoTransform(true);
|
_reader->setAutoTransform(true);
|
||||||
#endif
|
#endif // OS_MAC_OLD
|
||||||
if (!_reader->canRead() || !_reader->supportsAnimation()) {
|
if (!_reader->canRead() || !_reader->supportsAnimation()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -984,9 +984,14 @@ Link::Link(HistoryMedia *media, HistoryItem *parent) : ItemBase(parent) {
|
||||||
if (_page) {
|
if (_page) {
|
||||||
_title = _page->title;
|
_title = _page->title;
|
||||||
}
|
}
|
||||||
QVector<QStringRef> parts = mainUrl.splitRef('/');
|
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
|
auto parts = mainUrl.splitRef('/');
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
auto parts = mainUrl.split('/');
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
if (!parts.isEmpty()) {
|
if (!parts.isEmpty()) {
|
||||||
QStringRef domain = parts.at(0);
|
auto domain = parts.at(0);
|
||||||
if (parts.size() > 2 && domain.endsWith(':') && parts.at(1).isEmpty()) { // http:// and others
|
if (parts.size() > 2 && domain.endsWith(':') && parts.at(1).isEmpty()) { // http:// and others
|
||||||
domain = parts.at(2);
|
domain = parts.at(2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,11 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
#include "pspecific_mac_p.h"
|
#include "pspecific_mac_p.h"
|
||||||
|
|
||||||
inline QString psServerPrefix() {
|
inline QString psServerPrefix() {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
return qsl("/tmp/");
|
return qsl("/tmp/");
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
return objc_documentsPath();
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
inline void psCheckLocalSocket(const QString &serverName) {
|
inline void psCheckLocalSocket(const QString &serverName) {
|
||||||
QFile address(serverName);
|
QFile address(serverName);
|
||||||
|
|
|
@ -79,6 +79,7 @@ void objc_deleteDir(const QString &dir);
|
||||||
|
|
||||||
double objc_appkitVersion();
|
double objc_appkitVersion();
|
||||||
|
|
||||||
|
QString objc_documentsPath();
|
||||||
QString objc_appDataPath();
|
QString objc_appDataPath();
|
||||||
QString objc_downloadPath();
|
QString objc_downloadPath();
|
||||||
QString objc_currentCountry();
|
QString objc_currentCountry();
|
||||||
|
@ -88,6 +89,7 @@ QByteArray objc_downloadPathBookmark(const QString &path);
|
||||||
QByteArray objc_pathBookmark(const QString &path);
|
QByteArray objc_pathBookmark(const QString &path);
|
||||||
void objc_downloadPathEnableAccess(const QByteArray &bookmark);
|
void objc_downloadPathEnableAccess(const QByteArray &bookmark);
|
||||||
|
|
||||||
|
class objc_FileBookmarkData;
|
||||||
class objc_FileBookmark {
|
class objc_FileBookmark {
|
||||||
public:
|
public:
|
||||||
objc_FileBookmark(const QByteArray &bookmark);
|
objc_FileBookmark(const QByteArray &bookmark);
|
||||||
|
@ -100,4 +102,7 @@ public:
|
||||||
|
|
||||||
~objc_FileBookmark();
|
~objc_FileBookmark();
|
||||||
|
|
||||||
|
private:
|
||||||
|
objc_FileBookmarkData *data = nullptr;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,6 +22,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
#include "mainwidget.h"
|
#include "mainwidget.h"
|
||||||
#include "application.h"
|
#include "application.h"
|
||||||
#include "playerwidget.h"
|
#include "playerwidget.h"
|
||||||
|
#include "localstorage.h"
|
||||||
|
|
||||||
#include "lang.h"
|
#include "lang.h"
|
||||||
|
|
||||||
|
@ -849,6 +850,9 @@ void objc_openFile(const QString &f, bool openwith) {
|
||||||
alwaysRect.origin.y = selectorFrame.origin.y - alwaysRect.size.height - st::macAlwaysThisAppTop;
|
alwaysRect.origin.y = selectorFrame.origin.y - alwaysRect.size.height - st::macAlwaysThisAppTop;
|
||||||
[button setFrame:alwaysRect];
|
[button setFrame:alwaysRect];
|
||||||
[button setAutoresizingMask:NSViewMinXMargin|NSViewMaxXMargin];
|
[button setAutoresizingMask:NSViewMinXMargin|NSViewMaxXMargin];
|
||||||
|
#ifdef OS_MAC_STORE
|
||||||
|
[button setHidden:YES];
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
NSTextField *goodLabel = [[NSTextField alloc] init];
|
NSTextField *goodLabel = [[NSTextField alloc] init];
|
||||||
[goodLabel setStringValue:QNSString(lng_mac_this_app_can_open(lt_file, objcString(name))).s()];
|
[goodLabel setStringValue:QNSString(lng_mac_this_app_can_open(lt_file, objcString(name))).s()];
|
||||||
[goodLabel setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
|
[goodLabel setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
|
||||||
|
@ -1012,7 +1016,12 @@ bool objc_execUpdater() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void objc_execTelegram(const QString &crashreport) {
|
void objc_execTelegram(const QString &crashreport) {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
_execUpdater(NO, crashreport);
|
_execUpdater(NO, crashreport);
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
NSDictionary *conf = [NSDictionary dictionaryWithObject:[NSArray array] forKey:NSWorkspaceLaunchConfigurationArguments];
|
||||||
|
[[NSWorkspace sharedWorkspace] launchApplicationAtURL:[NSURL fileURLWithPath:QNSString(cExeDir() + cExeName()).s()] options:NSWorkspaceLaunchAsync | NSWorkspaceLaunchNewInstance configuration:conf error:0];
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
void objc_activateProgram(WId winId) {
|
void objc_activateProgram(WId winId) {
|
||||||
|
@ -1050,6 +1059,14 @@ double objc_appkitVersion() {
|
||||||
return NSAppKitVersionNumber;
|
return NSAppKitVersionNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString objc_documentsPath() {
|
||||||
|
NSURL *url = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:nil];
|
||||||
|
if (url) {
|
||||||
|
return QString::fromUtf8([[url path] fileSystemRepresentation]) + '/';
|
||||||
|
}
|
||||||
|
return QString();
|
||||||
|
}
|
||||||
|
|
||||||
QString objc_appDataPath() {
|
QString objc_appDataPath() {
|
||||||
NSURL *url = [[NSFileManager defaultManager] URLForDirectory:NSApplicationSupportDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:nil];
|
NSURL *url = [[NSFileManager defaultManager] URLForDirectory:NSApplicationSupportDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:nil];
|
||||||
if (url) {
|
if (url) {
|
||||||
|
@ -1086,37 +1103,152 @@ QString objc_convertFileUrl(const QString &url) {
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray objc_downloadPathBookmark(const QString &path) {
|
QByteArray objc_downloadPathBookmark(const QString &path) {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
return QByteArray();
|
return QByteArray();
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
NSURL *url = [NSURL fileURLWithPath:[NSString stringWithUTF8String:path.toUtf8().constData()] isDirectory:YES];
|
||||||
|
if (!url) return QByteArray();
|
||||||
|
|
||||||
|
NSError *error = nil;
|
||||||
|
NSData *data = [url bookmarkDataWithOptions:NSURLBookmarkCreationWithSecurityScope includingResourceValuesForKeys:nil relativeToURL:nil error:&error];
|
||||||
|
return data ? QByteArray::fromNSData(data) : QByteArray();
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray objc_pathBookmark(const QString &path) {
|
QByteArray objc_pathBookmark(const QString &path) {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
return QByteArray();
|
return QByteArray();
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
NSURL *url = [NSURL fileURLWithPath:[NSString stringWithUTF8String:path.toUtf8().constData()]];
|
||||||
|
if (!url) return QByteArray();
|
||||||
|
|
||||||
|
NSError *error = nil;
|
||||||
|
NSData *data = [url bookmarkDataWithOptions:(NSURLBookmarkCreationWithSecurityScope | NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess) includingResourceValuesForKeys:nil relativeToURL:nil error:&error];
|
||||||
|
return data ? QByteArray::fromNSData(data) : QByteArray();
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
void objc_downloadPathEnableAccess(const QByteArray &bookmark) {
|
void objc_downloadPathEnableAccess(const QByteArray &bookmark) {
|
||||||
|
#ifdef OS_MAC_STORE
|
||||||
|
if (bookmark.isEmpty()) return;
|
||||||
|
|
||||||
|
BOOL isStale = NO;
|
||||||
|
NSError *error = nil;
|
||||||
|
NSURL *url = [NSURL URLByResolvingBookmarkData:bookmark.toNSData() options:NSURLBookmarkResolutionWithSecurityScope relativeToURL:nil bookmarkDataIsStale:&isStale error:&error];
|
||||||
|
if (!url) return;
|
||||||
|
|
||||||
|
if ([url startAccessingSecurityScopedResource]) {
|
||||||
|
if (_downloadPathUrl) {
|
||||||
|
[_downloadPathUrl stopAccessingSecurityScopedResource];
|
||||||
|
}
|
||||||
|
_downloadPathUrl = url;
|
||||||
|
|
||||||
|
cSetDownloadPath(objcString([_downloadPathUrl path]) + '/');
|
||||||
|
if (isStale) {
|
||||||
|
NSData *data = [_downloadPathUrl bookmarkDataWithOptions:NSURLBookmarkCreationWithSecurityScope includingResourceValuesForKeys:nil relativeToURL:nil error:&error];
|
||||||
|
if (data) {
|
||||||
|
cSetDownloadPathBookmark(QByteArray::fromNSData(data));
|
||||||
|
Local::writeUserSettings();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef OS_MAC_STORE
|
||||||
|
namespace {
|
||||||
|
QMutex _bookmarksMutex;
|
||||||
|
}
|
||||||
|
|
||||||
|
class objc_FileBookmarkData {
|
||||||
|
public:
|
||||||
|
~objc_FileBookmarkData() {
|
||||||
|
if (url) [url release];
|
||||||
|
}
|
||||||
|
NSURL *url = nil;
|
||||||
|
QString name;
|
||||||
|
QByteArray bookmark;
|
||||||
|
int counter = 0;
|
||||||
|
};
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
|
|
||||||
objc_FileBookmark::objc_FileBookmark(const QByteArray &bookmark) {
|
objc_FileBookmark::objc_FileBookmark(const QByteArray &bookmark) {
|
||||||
|
#ifdef OS_MAC_STORE
|
||||||
|
if (bookmark.isEmpty()) return;
|
||||||
|
|
||||||
|
BOOL isStale = NO;
|
||||||
|
NSError *error = nil;
|
||||||
|
NSURL *url = [NSURL URLByResolvingBookmarkData:bookmark.toNSData() options:NSURLBookmarkResolutionWithSecurityScope relativeToURL:nil bookmarkDataIsStale:&isStale error:&error];
|
||||||
|
if (!url) return;
|
||||||
|
|
||||||
|
if ([url startAccessingSecurityScopedResource]) {
|
||||||
|
data = new objc_FileBookmarkData();
|
||||||
|
data->url = [url retain];
|
||||||
|
data->name = objcString([url path]);
|
||||||
|
data->bookmark = bookmark;
|
||||||
|
[url stopAccessingSecurityScopedResource];
|
||||||
|
}
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
bool objc_FileBookmark::valid() const {
|
bool objc_FileBookmark::valid() const {
|
||||||
return true;
|
if (enable()) {
|
||||||
|
disable();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool objc_FileBookmark::enable() const {
|
bool objc_FileBookmark::enable() const {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
return true;
|
return true;
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
if (!data) return false;
|
||||||
|
|
||||||
|
QMutexLocker lock(&_bookmarksMutex);
|
||||||
|
if (data->counter > 0 || [data->url startAccessingSecurityScopedResource] == YES) {
|
||||||
|
++data->counter;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
void objc_FileBookmark::disable() const {
|
void objc_FileBookmark::disable() const {
|
||||||
|
#ifdef OS_MAC_STORE
|
||||||
|
if (!data) return;
|
||||||
|
|
||||||
|
QMutexLocker lock(&_bookmarksMutex);
|
||||||
|
if (data->counter > 0) {
|
||||||
|
--data->counter;
|
||||||
|
if (!data->counter) {
|
||||||
|
[data->url stopAccessingSecurityScopedResource];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString &objc_FileBookmark::name(const QString &original) const {
|
const QString &objc_FileBookmark::name(const QString &original) const {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
return original;
|
return original;
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
return (data && !data->name.isEmpty()) ? data->name : original;
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray objc_FileBookmark::bookmark() const {
|
QByteArray objc_FileBookmark::bookmark() const {
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
return QByteArray();
|
return QByteArray();
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
return data ? data->bookmark : QByteArray();
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
objc_FileBookmark::~objc_FileBookmark() {
|
objc_FileBookmark::~objc_FileBookmark() {
|
||||||
|
#ifdef OS_MAC_STORE
|
||||||
|
if (data && data->counter > 0) {
|
||||||
|
LOG(("Did not disable() bookmark, counter: %1").arg(data->counter));
|
||||||
|
[data->url stopAccessingSecurityScopedResource];
|
||||||
|
}
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
|
@ -136,12 +136,14 @@ bool gAutoPlayGif = true;
|
||||||
|
|
||||||
void settingsParseArgs(int argc, char *argv[]) {
|
void settingsParseArgs(int argc, char *argv[]) {
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
if (QSysInfo::macVersion() >= QSysInfo::MV_10_11) {
|
if (QSysInfo::macVersion() >= QSysInfo::MV_10_11) {
|
||||||
gIsElCapitan = true;
|
gIsElCapitan = true;
|
||||||
} else if (QSysInfo::macVersion() < QSysInfo::MV_10_8) {
|
|
||||||
gPlatform = dbipMacOld;
|
|
||||||
}
|
}
|
||||||
#endif
|
#else // OS_MAC_OLD
|
||||||
|
gPlatform = dbipMacOld;
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
|
#endif // Q_OS_MAC
|
||||||
|
|
||||||
switch (cPlatform()) {
|
switch (cPlatform()) {
|
||||||
case dbipWindows:
|
case dbipWindows:
|
||||||
|
@ -150,7 +152,11 @@ void settingsParseArgs(int argc, char *argv[]) {
|
||||||
break;
|
break;
|
||||||
case dbipMac:
|
case dbipMac:
|
||||||
gUpdateURL = QUrl(qsl("http://tdesktop.com/mac/tupdates/current"));
|
gUpdateURL = QUrl(qsl("http://tdesktop.com/mac/tupdates/current"));
|
||||||
|
#ifndef OS_MAC_STORE
|
||||||
gPlatformString = qsl("MacOS");
|
gPlatformString = qsl("MacOS");
|
||||||
|
#else // OS_MAC_STORE
|
||||||
|
gPlatformString = qsl("MacAppStore");
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
break;
|
break;
|
||||||
case dbipMacOld:
|
case dbipMacOld:
|
||||||
gUpdateURL = QUrl(qsl("http://tdesktop.com/mac32/tupdates/current"));
|
gUpdateURL = QUrl(qsl("http://tdesktop.com/mac32/tupdates/current"));
|
||||||
|
|
|
@ -286,7 +286,7 @@ void GeneralWidget::onUpdateAutomatically() {
|
||||||
#endif // TDESKTOP_DISABLE_AUTOUPDATE
|
#endif // TDESKTOP_DISABLE_AUTOUPDATE
|
||||||
|
|
||||||
void GeneralWidget::onEnableTrayIcon() {
|
void GeneralWidget::onEnableTrayIcon() {
|
||||||
if ((!_enableTrayIcon->checked() || cPlatform() != dbipWindows) && !_enableTaskbarIcon->checked()) {
|
if ((!_enableTrayIcon->checked() || cPlatform() != dbipWindows) && _enableTaskbarIcon && !_enableTaskbarIcon->checked()) {
|
||||||
_enableTaskbarIcon->setChecked(true);
|
_enableTaskbarIcon->setChecked(true);
|
||||||
} else {
|
} else {
|
||||||
updateWorkmode();
|
updateWorkmode();
|
||||||
|
@ -302,7 +302,7 @@ void GeneralWidget::onEnableTaskbarIcon() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GeneralWidget::updateWorkmode() {
|
void GeneralWidget::updateWorkmode() {
|
||||||
DBIWorkMode newMode = (_enableTrayIcon->checked() && _enableTaskbarIcon->checked()) ? dbiwmWindowAndTray : (_enableTrayIcon->checked() ? dbiwmTrayOnly : dbiwmWindowOnly);
|
DBIWorkMode newMode = (_enableTrayIcon->checked() && (!_enableTaskbarIcon || _enableTaskbarIcon->checked())) ? dbiwmWindowAndTray : (_enableTrayIcon->checked() ? dbiwmTrayOnly : dbiwmWindowOnly);
|
||||||
if (cWorkMode() != newMode && (newMode == dbiwmWindowAndTray || newMode == dbiwmTrayOnly)) {
|
if (cWorkMode() != newMode && (newMode == dbiwmWindowAndTray || newMode == dbiwmTrayOnly)) {
|
||||||
cSetSeenTrayTooltip(false);
|
cSetSeenTrayTooltip(false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -253,6 +253,22 @@ struct DataStruct {
|
||||||
t_assert(DataPtr == nullptr);
|
t_assert(DataPtr == nullptr);
|
||||||
DataPtr = this;
|
DataPtr = this;
|
||||||
|
|
||||||
|
if (autoRepeatCommands.isEmpty()) {
|
||||||
|
autoRepeatCommands.insert(qsl("media_previous"));
|
||||||
|
autoRepeatCommands.insert(qsl("media_next"));
|
||||||
|
autoRepeatCommands.insert(qsl("next_chat"));
|
||||||
|
autoRepeatCommands.insert(qsl("previous_chat"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mediaCommands.isEmpty()) {
|
||||||
|
mediaCommands.insert(qsl("media_play"));
|
||||||
|
mediaCommands.insert(qsl("media_playpause"));
|
||||||
|
mediaCommands.insert(qsl("media_play"));
|
||||||
|
mediaCommands.insert(qsl("media_stop"));
|
||||||
|
mediaCommands.insert(qsl("media_previous"));
|
||||||
|
mediaCommands.insert(qsl("media_next"));
|
||||||
|
}
|
||||||
|
|
||||||
#define DeclareAlias(keys, command) setShortcut(qsl(keys), qsl(#command))
|
#define DeclareAlias(keys, command) setShortcut(qsl(keys), qsl(#command))
|
||||||
#define DeclareCommand(keys, command) createCommand(qsl(#command), ShortcutCommands::command); DeclareAlias(keys, command)
|
#define DeclareCommand(keys, command) createCommand(qsl(#command), ShortcutCommands::command); DeclareAlias(keys, command)
|
||||||
|
|
||||||
|
@ -305,22 +321,9 @@ struct DataStruct {
|
||||||
QMap<int, ShortcutCommands::Handler> handlers;
|
QMap<int, ShortcutCommands::Handler> handlers;
|
||||||
|
|
||||||
QSet<QShortcut*> mediaShortcuts;
|
QSet<QShortcut*> mediaShortcuts;
|
||||||
|
QSet<QString> autoRepeatCommands;
|
||||||
|
QSet<QString> mediaCommands;
|
||||||
|
|
||||||
QSet<QString> autoRepeatCommands = {
|
|
||||||
qsl("media_previous"),
|
|
||||||
qsl("media_next"),
|
|
||||||
qsl("next_chat"),
|
|
||||||
qsl("previous_chat"),
|
|
||||||
};
|
|
||||||
|
|
||||||
QSet<QString> mediaCommands = {
|
|
||||||
qsl("media_play"),
|
|
||||||
qsl("media_pause"),
|
|
||||||
qsl("media_playpause"),
|
|
||||||
qsl("media_stop"),
|
|
||||||
qsl("media_previous"),
|
|
||||||
qsl("media_next")
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
|
@ -30,12 +30,6 @@ Q_IMPORT_PLUGIN(QWebpPlugin)
|
||||||
#elif defined Q_OS_MAC // Q_OS_WIN
|
#elif defined Q_OS_MAC // Q_OS_WIN
|
||||||
Q_IMPORT_PLUGIN(QGenericEnginePlugin)
|
Q_IMPORT_PLUGIN(QGenericEnginePlugin)
|
||||||
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
|
||||||
Q_IMPORT_PLUGIN(QDDSPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QICNSPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QICOPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QTgaPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QTiffPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QWbmpPlugin)
|
|
||||||
Q_IMPORT_PLUGIN(QWebpPlugin)
|
Q_IMPORT_PLUGIN(QWebpPlugin)
|
||||||
#elif defined Q_OS_LINUX // Q_OS_LINUX
|
#elif defined Q_OS_LINUX // Q_OS_LINUX
|
||||||
Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin)
|
Q_IMPORT_PLUGIN(QComposePlatformInputContextPlugin)
|
||||||
|
|
|
@ -45,6 +45,14 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
#endif // __clang__
|
#endif // __clang__
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
||||||
|
#define OS_MAC_OLD
|
||||||
|
#endif // QT_VERSION < 5.5.0
|
||||||
|
|
||||||
|
#ifdef OS_MAC_STORE
|
||||||
|
#define MAC_USE_BREAKPAD
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
|
|
||||||
#include <QtWidgets/QtWidgets>
|
#include <QtWidgets/QtWidgets>
|
||||||
#include <QtNetwork/QtNetwork>
|
#include <QtNetwork/QtNetwork>
|
||||||
|
|
||||||
|
|
|
@ -798,6 +798,22 @@ void PhotoCancelClickHandler::onClickImpl() const {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString joinList(const QStringList &list, const QString &sep) {
|
||||||
|
QString result;
|
||||||
|
if (list.isEmpty()) return result;
|
||||||
|
|
||||||
|
int32 l = list.size(), s = sep.size() * (l - 1);
|
||||||
|
for (int32 i = 0; i < l; ++i) {
|
||||||
|
s += list.at(i).size();
|
||||||
|
}
|
||||||
|
result.reserve(s);
|
||||||
|
result.append(list.at(0));
|
||||||
|
for (int32 i = 1; i < l; ++i) {
|
||||||
|
result.append(sep).append(list.at(i));
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
QString saveFileName(const QString &title, const QString &filter, const QString &prefix, QString name, bool savingAs, const QDir &dir) {
|
QString saveFileName(const QString &title, const QString &filter, const QString &prefix, QString name, bool savingAs, const QDir &dir) {
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
name = name.replace(QRegularExpression(qsl("[\\\\\\/\\:\\*\\?\\\"\\<\\>\\|]")), qsl("_"));
|
name = name.replace(QRegularExpression(qsl("[\\\\\\/\\:\\*\\?\\\"\\<\\>\\|]")), qsl("_"));
|
||||||
|
@ -832,9 +848,9 @@ QString saveFileName(const QString &title, const QString &filter, const QString
|
||||||
QRegularExpressionMatch m = QRegularExpression(qsl(" \\*\\.") + ext + qsl("[\\)\\s]"), QRegularExpression::CaseInsensitiveOption).match(first);
|
QRegularExpressionMatch m = QRegularExpression(qsl(" \\*\\.") + ext + qsl("[\\)\\s]"), QRegularExpression::CaseInsensitiveOption).match(first);
|
||||||
if (m.hasMatch() && m.capturedStart() > start + 3) {
|
if (m.hasMatch() && m.capturedStart() > start + 3) {
|
||||||
int32 oldpos = m.capturedStart(), oldend = m.capturedEnd();
|
int32 oldpos = m.capturedStart(), oldend = m.capturedEnd();
|
||||||
fil = first.mid(0, start + 3) + ext + qsl(" *.") + first.mid(start + 3, oldpos - start - 3) + first.mid(oldend - 1) + sep + filters.mid(1).join(sep);
|
fil = first.mid(0, start + 3) + ext + qsl(" *.") + first.mid(start + 3, oldpos - start - 3) + first.mid(oldend - 1) + sep + joinList(filters.mid(1), sep);
|
||||||
} else {
|
} else {
|
||||||
fil = first.mid(0, start + 3) + ext + qsl(" *.") + first.mid(start + 3) + sep + filters.mid(1).join(sep);
|
fil = first.mid(0, start + 3) + ext + qsl(" *.") + first.mid(start + 3) + sep + joinList(filters.mid(1), sep);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1417,7 +1417,13 @@ inline bool operator<(const LocationCoords &a, const LocationCoords &b) {
|
||||||
return (a.lat < b.lat) || ((a.lat == b.lat) && (a.lon < b.lon));
|
return (a.lat < b.lat) || ((a.lat == b.lat) && (a.lon < b.lon));
|
||||||
}
|
}
|
||||||
inline uint qHash(const LocationCoords &t, uint seed = 0) {
|
inline uint qHash(const LocationCoords &t, uint seed = 0) {
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
return qHash(QtPrivate::QHashCombine().operator()(qHash(t.lat), t.lon), seed);
|
return qHash(QtPrivate::QHashCombine().operator()(qHash(t.lat), t.lon), seed);
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
uint h1 = qHash(t.lat, seed);
|
||||||
|
uint h2 = qHash(t.lon, seed);
|
||||||
|
return ((h1 << 16) | (h1 >> 16)) ^ h2 ^ seed;
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
}
|
}
|
||||||
|
|
||||||
struct LocationData {
|
struct LocationData {
|
||||||
|
|
|
@ -644,9 +644,9 @@ void Image::restore() const {
|
||||||
|
|
||||||
QBuffer buffer(&_saved);
|
QBuffer buffer(&_saved);
|
||||||
QImageReader reader(&buffer, _format);
|
QImageReader reader(&buffer, _format);
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)
|
#ifndef OS_MAC_OLD
|
||||||
reader.setAutoTransform(true);
|
reader.setAutoTransform(true);
|
||||||
#endif
|
#endif // OS_MAC_OLD
|
||||||
_data = QPixmap::fromImageReader(&reader, Qt::ColorOnly);
|
_data = QPixmap::fromImageReader(&reader, Qt::ColorOnly);
|
||||||
|
|
||||||
if (!_data.isNull()) {
|
if (!_data.isNull()) {
|
||||||
|
|
|
@ -106,7 +106,11 @@ namespace internal {
|
||||||
|
|
||||||
QImage createCircleMask(int size, const QColor &bg, const QColor &fg) {
|
QImage createCircleMask(int size, const QColor &bg, const QColor &fg) {
|
||||||
int realSize = size * cIntRetinaFactor();
|
int realSize = size * cIntRetinaFactor();
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
auto result = QImage(realSize, realSize, QImage::Format::Format_Grayscale8);
|
auto result = QImage(realSize, realSize, QImage::Format::Format_Grayscale8);
|
||||||
|
#else // OS_MAC_OLD
|
||||||
|
auto result = QImage(realSize, realSize, QImage::Format::Format_RGB32);
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
{
|
{
|
||||||
QPainter pcircle(&result);
|
QPainter pcircle(&result);
|
||||||
pcircle.setRenderHint(QPainter::HighQualityAntialiasing, true);
|
pcircle.setRenderHint(QPainter::HighQualityAntialiasing, true);
|
||||||
|
|
|
@ -123,7 +123,17 @@ void ToggleableShadow::paintEvent(QPaintEvent *e) {
|
||||||
void sendSynteticMouseEvent(QWidget *widget, QEvent::Type type, Qt::MouseButton button, const QPoint &globalPoint) {
|
void sendSynteticMouseEvent(QWidget *widget, QEvent::Type type, Qt::MouseButton button, const QPoint &globalPoint) {
|
||||||
if (auto windowHandle = widget->window()->windowHandle()) {
|
if (auto windowHandle = widget->window()->windowHandle()) {
|
||||||
auto localPoint = windowHandle->mapFromGlobal(globalPoint);
|
auto localPoint = windowHandle->mapFromGlobal(globalPoint);
|
||||||
QMouseEvent ev(type, localPoint, localPoint, globalPoint, button, QGuiApplication::mouseButtons() | button, QGuiApplication::keyboardModifiers(), Qt::MouseEventSynthesizedByApplication);
|
QMouseEvent ev(type
|
||||||
|
, localPoint
|
||||||
|
, localPoint
|
||||||
|
, globalPoint
|
||||||
|
, button
|
||||||
|
, QGuiApplication::mouseButtons() | button
|
||||||
|
, QGuiApplication::keyboardModifiers()
|
||||||
|
#ifndef OS_MAC_OLD
|
||||||
|
, Qt::MouseEventSynthesizedByApplication
|
||||||
|
#endif // OS_MAC_OLD
|
||||||
|
);
|
||||||
ev.setTimestamp(getms());
|
ev.setTimestamp(getms());
|
||||||
QGuiApplication::sendEvent(windowHandle, &ev);
|
QGuiApplication::sendEvent(windowHandle, &ev);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>Telegram</string>
|
<string>$(PRODUCT_NAME)</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>Telegram Desktop messaging app</string>
|
<string>Telegram Desktop messaging app</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>$(TDESKTOP_VERSION)</string>
|
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
|
@ -20,15 +20,19 @@
|
||||||
<key>CFBundleTypeRole</key>
|
<key>CFBundleTypeRole</key>
|
||||||
<string>Viewer</string>
|
<string>Viewer</string>
|
||||||
<key>CFBundleURLIconFile</key>
|
<key>CFBundleURLIconFile</key>
|
||||||
<string>AppIcon.icns</string>
|
<string>Icon.icns</string>
|
||||||
<key>CFBundleURLName</key>
|
<key>CFBundleURLName</key>
|
||||||
<string>com.tdesktop.Telegram</string>
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||||
<key>CFBundleURLSchemes</key>
|
<key>CFBundleURLSchemes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>tg</string>
|
<string>tg</string>
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||||
|
<key>LSApplicationCategoryType</key>
|
||||||
|
<string>public.app-category.social-networking</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||||
<key>NOTE</key>
|
<key>NOTE</key>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,706 +0,0 @@
|
||||||
#############################################################################
|
|
||||||
# Makefile for building: ../Mac/Debug/Telegram.app/Contents/MacOS/Telegram
|
|
||||||
# Initially generated by qmake
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
MAKEFILE = project.pbxproj
|
|
||||||
|
|
||||||
QT_VER = 5.6.0
|
|
||||||
QT_DIR = /usr/local/tdesktop/Qt-$(QT_VER)
|
|
||||||
QT_MOC = $(QT_DIR)/bin/moc
|
|
||||||
QT_RCC = $(QT_DIR)/bin/rcc
|
|
||||||
LEX = flex
|
|
||||||
LEXFLAGS =
|
|
||||||
YACC = yacc
|
|
||||||
YACCFLAGS = -d
|
|
||||||
DEFINES = -D_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4
|
|
||||||
INCPATH = -I$(QT_DIR)/mkspecs/macx-clang\
|
|
||||||
-I$(QT_DIR)/include/QtGui/$(QT_VER)/QtGui\
|
|
||||||
-I$(QT_DIR)/include/QtCore/$(QT_VER)/QtCore\
|
|
||||||
-I$(QT_VER)/include\
|
|
||||||
-ISourceFiles\
|
|
||||||
-IGeneratedFiles\
|
|
||||||
-I../../Libraries/lzma/C\
|
|
||||||
-I../../Libraries/libexif-0.6.20\
|
|
||||||
-IGeneratedFiles/Debug\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/backward\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/include\
|
|
||||||
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
|
|
||||||
DEL_FILE = rm -f
|
|
||||||
MOVE = mv -f
|
|
||||||
MOC_FILE = $(QT_MOC) $(DEFINES) $(INCPATH)
|
|
||||||
|
|
||||||
IMAGES =
|
|
||||||
PARSERS =
|
|
||||||
preprocess: $(PARSERS) compilers
|
|
||||||
clean preprocess_clean: parser_clean compiler_clean
|
|
||||||
|
|
||||||
parser_clean:
|
|
||||||
mocclean: compiler_moc_header_clean compiler_moc_source_clean
|
|
||||||
|
|
||||||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
|
|
||||||
|
|
||||||
check: first
|
|
||||||
|
|
||||||
compilers: GeneratedFiles/qrc_telegram.cpp\
|
|
||||||
GeneratedFiles/qrc_telegram_emojis.cpp\
|
|
||||||
GeneratedFiles/qrc_telegram_mac.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_aboutbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_abstractbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_addcontactbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_animation.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_apiwrap.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_application.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_autolockbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_autoupdater.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_backgroundbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_basic_types.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_button.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_confirmbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_confirmphonebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_abstract.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_auto.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_http.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_tcp.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connectionbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_contactsbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_countryinput.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dcenter.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dialogswidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_downloadpathbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dropdown.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_emojibox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_facade.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_field_autocomplete.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_file_download.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_fileuploader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatbutton.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatcheckbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatinput.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatlabel.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flattextarea.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_history.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_historywidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_inner_dropdown.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introcode.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introphone.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_intropwdcheck.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introsignup.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_languagebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_layerwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localimageloader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localstorage.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localstoragebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_main_window_mac.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mainwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mainwindow.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_audio.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_audio_loaders.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_controller.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_playback.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_reader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_volume_controller.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mediaview.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_overviewwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_passcodebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_passcodewidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_photocropbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_photosendbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_playerwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_popupmenu.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_actions_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_block_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_cover.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_fixed_bar.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_inner_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_members_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_shared_media_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_report_box.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_scrollarea.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_section_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_session.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_sessionsbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_advanced_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_background_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_block_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_chat_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_cover.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_general_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_inner_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_notifications_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_privacy_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_scale_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_stickersetbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_sysbuttons.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_title.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_toast_manager.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_top_bar_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_twidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_usernamebox.cpp
|
|
||||||
compiler_objective_c_make_all:
|
|
||||||
compiler_objective_c_clean:
|
|
||||||
compiler_no_pch_compiler_make_all:
|
|
||||||
compiler_no_pch_compiler_clean:
|
|
||||||
compiler_rcc_make_all: GeneratedFiles/qrc_telegram.cpp GeneratedFiles/qrc_telegram_emojis.cpp GeneratedFiles/qrc_telegram_mac.cpp
|
|
||||||
compiler_rcc_clean:
|
|
||||||
-$(DEL_FILE) GeneratedFiles/qrc_telegram.cpp GeneratedFiles/qrc_telegram_emojis.cpp GeneratedFiles/qrc_telegram_mac.cpp
|
|
||||||
GeneratedFiles/qrc_telegram.cpp: Resources/telegram.qrc \
|
|
||||||
Resources/art/fonts/OpenSans-Regular.ttf \
|
|
||||||
Resources/art/fonts/OpenSans-Bold.ttf \
|
|
||||||
Resources/art/fonts/OpenSans-Semibold.ttf \
|
|
||||||
Resources/art/newmsg.wav \
|
|
||||||
Resources/art/bg.jpg \
|
|
||||||
Resources/art/bg0.png \
|
|
||||||
Resources/art/sprite.png \
|
|
||||||
Resources/art/sprite_125x.png \
|
|
||||||
Resources/art/sprite_150x.png \
|
|
||||||
Resources/art/sprite_200x.png \
|
|
||||||
Resources/art/blank.gif \
|
|
||||||
Resources/art/icon256.png \
|
|
||||||
Resources/art/iconbig256.png \
|
|
||||||
Resources/art/chatcolor1.png \
|
|
||||||
Resources/art/chatcolor2.png \
|
|
||||||
Resources/art/chatcolor3.png \
|
|
||||||
Resources/art/chatcolor4.png \
|
|
||||||
Resources/art/channelcolor1.png \
|
|
||||||
Resources/art/channelcolor2.png \
|
|
||||||
Resources/art/channelcolor3.png \
|
|
||||||
Resources/art/channelcolor4.png \
|
|
||||||
Resources/art/usercolor1.png \
|
|
||||||
Resources/art/usercolor2.png \
|
|
||||||
Resources/art/usercolor3.png \
|
|
||||||
Resources/art/usercolor4.png \
|
|
||||||
Resources/art/usercolor5.png \
|
|
||||||
Resources/art/usercolor6.png \
|
|
||||||
Resources/art/usercolor7.png \
|
|
||||||
Resources/art/usercolor8.png \
|
|
||||||
Resources/qmime/freedesktop.org.xml \
|
|
||||||
Resources/langs/lang_it.strings \
|
|
||||||
Resources/langs/lang_es.strings \
|
|
||||||
Resources/langs/lang_de.strings \
|
|
||||||
Resources/langs/lang_nl.strings \
|
|
||||||
Resources/langs/lang_pt_BR.strings \
|
|
||||||
Resources/langs/lang_ko.strings
|
|
||||||
$(QT_RCC) -name telegram Resources/telegram.qrc -o GeneratedFiles/qrc_telegram.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/qrc_telegram_emojis.cpp: Resources/telegram_emojis.qrc \
|
|
||||||
Resources/art/emoji.webp \
|
|
||||||
Resources/art/emoji_125x.webp \
|
|
||||||
Resources/art/emoji_150x.webp \
|
|
||||||
Resources/art/emoji_200x.webp \
|
|
||||||
Resources/art/emoji_250x.webp
|
|
||||||
$(QT_RCC) -name telegram_emojis Resources/telegram_emojis.qrc -o GeneratedFiles/qrc_telegram_emojis.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/qrc_telegram_mac.cpp: Resources/telegram_mac.qrc \
|
|
||||||
Resources/art/osxtray.png
|
|
||||||
$(QT_RCC) -name telegram_mac Resources/telegram_mac.qrc -o GeneratedFiles/qrc_telegram_mac.cpp
|
|
||||||
|
|
||||||
compiler_moc_header_make_all: GeneratedFiles/Debug/moc_aboutbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_abstractbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_addcontactbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_animation.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_apiwrap.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_application.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_autolockbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_autoupdater.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_backgroundbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_basic_types.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_button.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_confirmbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_confirmphonebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_abstract.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_auto.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_http.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_tcp.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connectionbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_contactsbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_countryinput.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dcenter.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dialogswidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_downloadpathbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dropdown.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_emojibox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_facade.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_field_autocomplete.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_file_download.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_fileuploader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatbutton.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatcheckbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatinput.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatlabel.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flattextarea.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_history.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_historywidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_inner_dropdown.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introcode.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introphone.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_intropwdcheck.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introsignup.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_languagebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_layerwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localimageloader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localstorage.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localstoragebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_main_window_mac.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mainwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mainwindow.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_audio.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_audio_loaders.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_controller.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_playback.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_reader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_volume_controller.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mediaview.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_overviewwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_passcodebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_passcodewidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_photocropbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_photosendbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_playerwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_popupmenu.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_actions_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_block_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_cover.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_fixed_bar.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_inner_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_members_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_shared_media_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_report_box.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_scrollarea.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_section_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_session.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_sessionsbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_advanced_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_background_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_block_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_chat_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_cover.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_general_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_inner_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_notifications_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_privacy_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_scale_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_stickersetbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_sysbuttons.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_title.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_toast_manager.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_top_bar_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_twidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_usernamebox.cpp
|
|
||||||
compiler_moc_header_clean:
|
|
||||||
-$(DEL_FILE) GeneratedFiles/Debug/moc_aboutbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_abstractbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_addcontactbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_animation.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_apiwrap.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_application.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_autolockbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_autoupdater.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_backgroundbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_basic_types.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_button.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_confirmbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_confirmphonebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_abstract.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_auto.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_http.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connection_tcp.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_connectionbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_contactsbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_countryinput.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dcenter.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dialogswidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_downloadpathbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_dropdown.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_emojibox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_facade.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_field_autocomplete.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_file_download.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_fileuploader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatbutton.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatcheckbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatinput.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flatlabel.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_flattextarea.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_history.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_historywidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_inner_dropdown.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introcode.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introphone.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_intropwdcheck.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introsignup.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_introwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_languagebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_layerwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localimageloader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localstorage.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_localstoragebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_main_window_mac.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mainwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mainwindow.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_audio.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_audio_loaders.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_controller.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_playback.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_reader.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_volume_controller.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_mediaview.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_overviewwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_passcodebox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_passcodewidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_photocropbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_photosendbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_playerwidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_popupmenu.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_actions_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_block_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_cover.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_fixed_bar.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_inner_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_members_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_shared_media_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_profile_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_report_box.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_scrollarea.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_section_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_session.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_sessionsbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_advanced_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_background_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_block_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_chat_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_cover.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_general_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_inner_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_notifications_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_privacy_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_scale_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_settings_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_stickersetbox.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_sysbuttons.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_title.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_toast_manager.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_top_bar_widget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_twidget.cpp\
|
|
||||||
GeneratedFiles/Debug/moc_usernamebox.cpp
|
|
||||||
GeneratedFiles/Debug/moc_aboutbox.cpp: SourceFiles/boxes/aboutbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/aboutbox.h -o GeneratedFiles/Debug/moc_aboutbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_abstractbox.cpp: SourceFiles/boxes/abstractbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/abstractbox.h -o GeneratedFiles/Debug/moc_abstractbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_addcontactbox.cpp: SourceFiles/boxes/addcontactbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/addcontactbox.h -o GeneratedFiles/Debug/moc_addcontactbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_animation.cpp: SourceFiles/ui/animation.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/animation.h -o GeneratedFiles/Debug/moc_animation.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_apiwrap.cpp: SourceFiles/apiwrap.h
|
|
||||||
$(MOC_FILE) SourceFiles/apiwrap.h -o GeneratedFiles/Debug/moc_apiwrap.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_application.cpp: SourceFiles/application.h
|
|
||||||
$(MOC_FILE) SourceFiles/application.h -o GeneratedFiles/Debug/moc_application.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_autolockbox.cpp: SourceFiles/boxes/autolockbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/autolockbox.h -o GeneratedFiles/Debug/moc_autolockbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_autoupdater.cpp: SourceFiles/autoupdater.h
|
|
||||||
$(MOC_FILE) SourceFiles/autoupdater.h -o GeneratedFiles/Debug/moc_autoupdater.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_backgroundbox.cpp: SourceFiles/boxes/backgroundbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/backgroundbox.h -o GeneratedFiles/Debug/moc_backgroundbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_basic_types.cpp: SourceFiles/core/basic_types.h
|
|
||||||
$(MOC_FILE) SourceFiles/core/basic_types.h -o GeneratedFiles/Debug/moc_basic_types.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_button.cpp: SourceFiles/ui/button.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/button.h -o GeneratedFiles/Debug/moc_button.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_confirmbox.cpp: SourceFiles/boxes/confirmbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/confirmbox.h -o GeneratedFiles/Debug/moc_confirmbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_confirmphonebox.cpp: SourceFiles/boxes/confirmphonebox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/confirmphonebox.h -o GeneratedFiles/Debug/moc_confirmphonebox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_connection.cpp: SourceFiles/mtproto/connection.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/connection.h -o GeneratedFiles/Debug/moc_connection.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_connection_abstract.cpp: SourceFiles/mtproto/connection_abstract.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/connection_abstract.h -o GeneratedFiles/Debug/moc_connection_abstract.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_connection_auto.cpp: SourceFiles/mtproto/connection_auto.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/connection_auto.h -o GeneratedFiles/Debug/moc_connection_auto.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_connection_http.cpp: SourceFiles/mtproto/connection_http.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/connection_http.h -o GeneratedFiles/Debug/moc_connection_http.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_connection_tcp.cpp: SourceFiles/mtproto/connection_tcp.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/connection_tcp.h -o GeneratedFiles/Debug/moc_connection_tcp.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_connectionbox.cpp: SourceFiles/boxes/connectionbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/connectionbox.h -o GeneratedFiles/Debug/moc_connectionbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_contactsbox.cpp: SourceFiles/boxes/contactsbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/contactsbox.h -o GeneratedFiles/Debug/moc_contactsbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_countryinput.cpp: SourceFiles/ui/countryinput.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/countryinput.h -o GeneratedFiles/Debug/moc_countryinput.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_dcenter.cpp: SourceFiles/mtproto/dcenter.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/dcenter.h -o GeneratedFiles/Debug/moc_dcenter.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_dialogswidget.cpp: SourceFiles/dialogswidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/dialogswidget.h -o GeneratedFiles/Debug/moc_dialogswidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_downloadpathbox.cpp: SourceFiles/boxes/downloadpathbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/downloadpathbox.h -o GeneratedFiles/Debug/moc_downloadpathbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_dropdown.cpp: SourceFiles/dropdown.h
|
|
||||||
$(MOC_FILE) SourceFiles/dropdown.h -o GeneratedFiles/Debug/moc_dropdown.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_emojibox.cpp: SourceFiles/boxes/emojibox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/emojibox.h -o GeneratedFiles/Debug/moc_emojibox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_facade.cpp: SourceFiles/mtproto/facade.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/facade.h -o GeneratedFiles/Debug/moc_facade.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_field_autocomplete.cpp: SourceFiles/history/field_autocomplete.h
|
|
||||||
$(MOC_FILE) SourceFiles/history/field_autocomplete.h -o GeneratedFiles/Debug/moc_field_autocomplete.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_file_download.cpp: SourceFiles/mtproto/file_download.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/file_download.h -o GeneratedFiles/Debug/moc_file_download.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_fileuploader.cpp: SourceFiles/fileuploader.h
|
|
||||||
$(MOC_FILE) SourceFiles/fileuploader.h -o GeneratedFiles/Debug/moc_fileuploader.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_flatbutton.cpp: SourceFiles/ui/flatbutton.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/flatbutton.h -o GeneratedFiles/Debug/moc_flatbutton.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_flatcheckbox.cpp: SourceFiles/ui/flatcheckbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/flatcheckbox.h -o GeneratedFiles/Debug/moc_flatcheckbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_flatinput.cpp: SourceFiles/ui/flatinput.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/flatinput.h -o GeneratedFiles/Debug/moc_flatinput.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_flatlabel.cpp: SourceFiles/ui/flatlabel.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/flatlabel.h -o GeneratedFiles/Debug/moc_flatlabel.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_flattextarea.cpp: SourceFiles/ui/flattextarea.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/flattextarea.h -o GeneratedFiles/Debug/moc_flattextarea.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_history.cpp: SourceFiles/history.h
|
|
||||||
$(MOC_FILE) SourceFiles/history.h -o GeneratedFiles/Debug/moc_history.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_historywidget.cpp: SourceFiles/historywidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/historywidget.h -o GeneratedFiles/Debug/moc_historywidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_inner_dropdown.cpp: SourceFiles/ui/inner_dropdown.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/inner_dropdown.h -o GeneratedFiles/Debug/moc_inner_dropdown.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_introcode.cpp: SourceFiles/intro/introcode.h
|
|
||||||
$(MOC_FILE) SourceFiles/intro/introcode.h -o GeneratedFiles/Debug/moc_introcode.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_introphone.cpp: SourceFiles/intro/introphone.h
|
|
||||||
$(MOC_FILE) SourceFiles/intro/introphone.h -o GeneratedFiles/Debug/moc_introphone.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_intropwdcheck.cpp: SourceFiles/intro/intropwdcheck.h
|
|
||||||
$(MOC_FILE) SourceFiles/intro/intropwdcheck.h -o GeneratedFiles/Debug/moc_intropwdcheck.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_introsignup.cpp: SourceFiles/intro/introsignup.h
|
|
||||||
$(MOC_FILE) SourceFiles/intro/introsignup.h -o GeneratedFiles/Debug/moc_introsignup.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_introwidget.cpp: SourceFiles/intro/introwidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/intro/introwidget.h -o GeneratedFiles/Debug/moc_introwidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_languagebox.cpp: SourceFiles/boxes/languagebox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/languagebox.h -o GeneratedFiles/Debug/moc_languagebox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_layerwidget.cpp: SourceFiles/layerwidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/layerwidget.h -o GeneratedFiles/Debug/moc_layerwidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_localimageloader.cpp: SourceFiles/localimageloader.h
|
|
||||||
$(MOC_FILE) SourceFiles/localimageloader.h -o GeneratedFiles/Debug/moc_localimageloader.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_localstorage.cpp: SourceFiles/localstorage.h
|
|
||||||
$(MOC_FILE) SourceFiles/localstorage.h -o GeneratedFiles/Debug/moc_localstorage.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_localstoragebox.cpp: SourceFiles/boxes/localstoragebox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/localstoragebox.h -o GeneratedFiles/Debug/moc_localstoragebox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_main_window_mac.cpp: SourceFiles/platform/mac/main_window_mac.h
|
|
||||||
$(MOC_FILE) SourceFiles/platform/mac/main_window_mac.h -o GeneratedFiles/Debug/moc_main_window_mac.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_mainwidget.cpp: SourceFiles/mainwidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/mainwidget.h -o GeneratedFiles/Debug/moc_mainwidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_mainwindow.cpp: SourceFiles/mainwindow.h
|
|
||||||
$(MOC_FILE) SourceFiles/mainwindow.h -o GeneratedFiles/Debug/moc_mainwindow.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_media_audio.cpp: SourceFiles/media/media_audio.h
|
|
||||||
$(MOC_FILE) SourceFiles/media/media_audio.h -o GeneratedFiles/Debug/moc_media_audio.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_media_audio_loaders.cpp: SourceFiles/media/media_audio_loaders.h
|
|
||||||
$(MOC_FILE) SourceFiles/media/media_audio_loaders.h -o GeneratedFiles/Debug/moc_media_audio_loaders.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_controller.cpp: SourceFiles/media/view/media_clip_controller.h
|
|
||||||
$(MOC_FILE) SourceFiles/media/view/media_clip_controller.h -o GeneratedFiles/Debug/moc_media_clip_controller.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_playback.cpp: SourceFiles/media/view/media_clip_playback.h
|
|
||||||
$(MOC_FILE) SourceFiles/media/view/media_clip_playback.h -o GeneratedFiles/Debug/moc_media_clip_playback.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_reader.cpp: SourceFiles/media/media_clip_reader.h
|
|
||||||
$(MOC_FILE) SourceFiles/media/media_clip_reader.h -o GeneratedFiles/Debug/moc_media_clip_reader.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_media_clip_volume_controller.cpp: SourceFiles/media/view/media_clip_volume_controller.h
|
|
||||||
$(MOC_FILE) SourceFiles/media/view/media_clip_volume_controller.h -o GeneratedFiles/Debug/moc_media_clip_volume_controller.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_mediaview.cpp: SourceFiles/mediaview.h
|
|
||||||
$(MOC_FILE) SourceFiles/mediaview.h -o GeneratedFiles/Debug/moc_mediaview.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_overviewwidget.cpp: SourceFiles/overviewwidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/overviewwidget.h -o GeneratedFiles/Debug/moc_overviewwidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_passcodebox.cpp: SourceFiles/boxes/passcodebox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/passcodebox.h -o GeneratedFiles/Debug/moc_passcodebox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_passcodewidget.cpp: SourceFiles/passcodewidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/passcodewidget.h -o GeneratedFiles/Debug/moc_passcodewidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_photocropbox.cpp: SourceFiles/boxes/photocropbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/photocropbox.h -o GeneratedFiles/Debug/moc_photocropbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_photosendbox.cpp: SourceFiles/boxes/photosendbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/photosendbox.h -o GeneratedFiles/Debug/moc_photosendbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_playerwidget.cpp: SourceFiles/playerwidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/playerwidget.h -o GeneratedFiles/Debug/moc_playerwidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_popupmenu.cpp: SourceFiles/ui/popupmenu.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/popupmenu.h -o GeneratedFiles/Debug/moc_popupmenu.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_actions_widget.cpp: SourceFiles/profile/profile_actions_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_actions_widget.h -o GeneratedFiles/Debug/moc_profile_actions_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_block_widget.cpp: SourceFiles/profile/profile_block_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_block_widget.h -o GeneratedFiles/Debug/moc_profile_block_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_cover.cpp: SourceFiles/profile/profile_cover.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_cover.h -o GeneratedFiles/Debug/moc_profile_cover.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_fixed_bar.cpp: SourceFiles/profile/profile_fixed_bar.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_fixed_bar.h -o GeneratedFiles/Debug/moc_profile_fixed_bar.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_inner_widget.cpp: SourceFiles/profile/profile_inner_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_inner_widget.h -o GeneratedFiles/Debug/moc_profile_inner_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_members_widget.cpp: SourceFiles/profile/profile_members_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_members_widget.h -o GeneratedFiles/Debug/moc_profile_members_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_settings_widget.cpp: SourceFiles/profile/profile_settings_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_settings_widget.h -o GeneratedFiles/Debug/moc_profile_settings_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_shared_media_widget.cpp: SourceFiles/profile/profile_shared_media_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_shared_media_widget.h -o GeneratedFiles/Debug/moc_profile_shared_media_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_profile_widget.cpp: SourceFiles/profile/profile_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/profile/profile_widget.h -o GeneratedFiles/Debug/moc_profile_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_report_box.cpp: SourceFiles/boxes/report_box.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/report_box.h -o GeneratedFiles/Debug/moc_report_box.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_scrollarea.cpp: SourceFiles/ui/scrollarea.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/scrollarea.h -o GeneratedFiles/Debug/moc_scrollarea.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_section_widget.cpp: SourceFiles/window/section_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/window/section_widget.h -o GeneratedFiles/Debug/moc_section_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_session.cpp: SourceFiles/mtproto/session.h
|
|
||||||
$(MOC_FILE) SourceFiles/mtproto/session.h -o GeneratedFiles/Debug/moc_session.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_sessionsbox.cpp: SourceFiles/boxes/sessionsbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/sessionsbox.h -o GeneratedFiles/Debug/moc_sessionsbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_advanced_widget.cpp: SourceFiles/settings/settings_advanced_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_advanced_widget.h -o GeneratedFiles/Debug/moc_settings_advanced_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_background_widget.cpp: SourceFiles/settings/settings_background_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_background_widget.h -o GeneratedFiles/Debug/moc_settings_background_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_block_widget.cpp: SourceFiles/settings/settings_block_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_block_widget.h -o GeneratedFiles/Debug/moc_settings_block_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_chat_settings_widget.cpp: SourceFiles/settings/settings_chat_settings_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_chat_settings_widget.h -o GeneratedFiles/Debug/moc_settings_chat_settings_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_cover.cpp: SourceFiles/settings/settings_cover.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_cover.h -o GeneratedFiles/Debug/moc_settings_cover.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_general_widget.cpp: SourceFiles/settings/settings_general_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_general_widget.h -o GeneratedFiles/Debug/moc_settings_general_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_inner_widget.cpp: SourceFiles/settings/settings_inner_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_inner_widget.h -o GeneratedFiles/Debug/moc_settings_inner_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_notifications_widget.cpp: SourceFiles/settings/settings_notifications_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_notifications_widget.h -o GeneratedFiles/Debug/moc_settings_notifications_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_privacy_widget.cpp: SourceFiles/settings/settings_privacy_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_privacy_widget.h -o GeneratedFiles/Debug/moc_settings_privacy_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_scale_widget.cpp: SourceFiles/settings/settings_scale_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_scale_widget.h -o GeneratedFiles/Debug/moc_settings_scale_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_settings_widget.cpp: SourceFiles/settings/settings_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/settings/settings_widget.h -o GeneratedFiles/Debug/moc_settings_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_stickersetbox.cpp: SourceFiles/boxes/stickersetbox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/stickersetbox.h -o GeneratedFiles/Debug/moc_stickersetbox.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_sysbuttons.cpp: SourceFiles/sysbuttons.h
|
|
||||||
$(MOC_FILE) SourceFiles/sysbuttons.h -o GeneratedFiles/Debug/moc_sysbuttons.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_title.cpp: SourceFiles/title.h
|
|
||||||
$(MOC_FILE) SourceFiles/title.h -o GeneratedFiles/Debug/moc_title.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_toast_manager.cpp: SourceFiles/ui/toast/toast_manager.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/toast/toast_manager.h -o GeneratedFiles/Debug/moc_toast_manager.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_top_bar_widget.cpp: SourceFiles/window/top_bar_widget.h
|
|
||||||
$(MOC_FILE) SourceFiles/window/top_bar_widget.h -o GeneratedFiles/Debug/moc_top_bar_widget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_twidget.cpp: SourceFiles/ui/twidget.h
|
|
||||||
$(MOC_FILE) SourceFiles/ui/twidget.h -o GeneratedFiles/Debug/moc_twidget.cpp
|
|
||||||
|
|
||||||
GeneratedFiles/Debug/moc_usernamebox.cpp:SourceFiles/boxes/usernamebox.h
|
|
||||||
$(MOC_FILE) SourceFiles/boxes/usernamebox.h -o GeneratedFiles/Debug/moc_usernamebox.cpp
|
|
||||||
|
|
||||||
compiler_moc_source_make_all:
|
|
||||||
compiler_moc_source_clean:
|
|
||||||
compiler_uic_make_all:
|
|
||||||
compiler_uic_clean:
|
|
||||||
compiler_rez_source_make_all:
|
|
||||||
compiler_rez_source_clean:
|
|
||||||
compiler_yacc_decl_make_all:
|
|
||||||
compiler_yacc_decl_clean:
|
|
||||||
compiler_yacc_impl_make_all:
|
|
||||||
compiler_yacc_impl_clean:
|
|
||||||
compiler_lex_make_all:
|
|
||||||
compiler_lex_clean:
|
|
||||||
compiler_clean: compiler_rcc_clean compiler_moc_header_clean
|
|
||||||
|
|
16
Telegram/Telegram/Telegram Desktop.entitlements
Normal file
16
Telegram/Telegram/Telegram Desktop.entitlements
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>com.apple.security.app-sandbox</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.files.downloads.read-write</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.files.user-selected.read-write</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.files.bookmarks.app-scope</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.network.client</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -1,242 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
070846A619544CDD00B5AE3A /* updater_osx.m in Sources */ = {isa = PBXBuildFile; fileRef = 070846A519544CDD00B5AE3A /* updater_osx.m */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXCopyFilesBuildPhase section */
|
|
||||||
07084676195445A600B5AE3A /* CopyFiles */ = {
|
|
||||||
isa = PBXCopyFilesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
dstPath = /usr/share/man/man1/;
|
|
||||||
dstSubfolderSpec = 0;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 1;
|
|
||||||
};
|
|
||||||
/* End PBXCopyFilesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
07084678195445A600B5AE3A /* Updater */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Updater; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
070846A519544CDD00B5AE3A /* updater_osx.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = updater_osx.m; path = SourceFiles/_other/updater_osx.m; sourceTree = SOURCE_ROOT; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
07084675195445A600B5AE3A /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
0708466F195445A600B5AE3A = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0708467A195445A600B5AE3A /* Updater */,
|
|
||||||
07084679195445A600B5AE3A /* Products */,
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
07084679195445A600B5AE3A /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
07084678195445A600B5AE3A /* Updater */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0708467A195445A600B5AE3A /* Updater */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
070846A519544CDD00B5AE3A /* updater_osx.m */,
|
|
||||||
);
|
|
||||||
path = Updater;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
07084677195445A600B5AE3A /* Updater */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 07084681195445A600B5AE3A /* Build configuration list for PBXNativeTarget "Updater" */;
|
|
||||||
buildPhases = (
|
|
||||||
07084674195445A600B5AE3A /* Sources */,
|
|
||||||
07084675195445A600B5AE3A /* Frameworks */,
|
|
||||||
07084676195445A600B5AE3A /* CopyFiles */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = Updater;
|
|
||||||
productName = Updater;
|
|
||||||
productReference = 07084678195445A600B5AE3A /* Updater */;
|
|
||||||
productType = "com.apple.product-type.tool";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
07084670195445A600B5AE3A /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 0730;
|
|
||||||
};
|
|
||||||
buildConfigurationList = 07084673195445A600B5AE3A /* Build configuration list for PBXProject "Updater" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
);
|
|
||||||
mainGroup = 0708466F195445A600B5AE3A;
|
|
||||||
productRefGroup = 07084679195445A600B5AE3A /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
07084677195445A600B5AE3A /* Updater */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
07084674195445A600B5AE3A /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
070846A619544CDD00B5AE3A /* updater_osx.m in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
0708467F195445A600B5AE3A /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Telegram.app/Contents/Frameworks";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
ENABLE_TESTABILITY = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
|
||||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
"DEBUG=1",
|
|
||||||
"$(inherited)",
|
|
||||||
);
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.8;
|
|
||||||
OBJROOT = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)IntermediateUpdater";
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_CFLAGS = "-D_DEBUG";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ../Mac;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
07084680195445A600B5AE3A /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Telegram.app/Contents/Frameworks";
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
||||||
ENABLE_NS_ASSERTIONS = NO;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
||||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.8;
|
|
||||||
OBJROOT = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)IntermediateUpdater";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ../Mac;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
07084682195445A600B5AE3A /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
07084683195445A600B5AE3A /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
07084673195445A600B5AE3A /* Build configuration list for PBXProject "Updater" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
0708467F195445A600B5AE3A /* Debug */,
|
|
||||||
07084680195445A600B5AE3A /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
07084681195445A600B5AE3A /* Build configuration list for PBXNativeTarget "Updater" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
07084682195445A600B5AE3A /* Debug */,
|
|
||||||
07084683195445A600B5AE3A /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 07084670195445A600B5AE3A /* Project object */;
|
|
||||||
}
|
|
|
@ -21,8 +21,6 @@ Error () {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
FastParam="$1"
|
|
||||||
|
|
||||||
if [ ! -f "$FullScriptPath/target" ]; then
|
if [ ! -f "$FullScriptPath/target" ]; then
|
||||||
Error "Build target not found!"
|
Error "Build target not found!"
|
||||||
fi
|
fi
|
||||||
|
@ -70,13 +68,13 @@ elif [ "$BuildTarget" == "mac" ]; then
|
||||||
echo "Building version $AppVersionStrFull for OS X 10.8+.."
|
echo "Building version $AppVersionStrFull for OS X 10.8+.."
|
||||||
UpdateFile="tmacupd$AppVersion"
|
UpdateFile="tmacupd$AppVersion"
|
||||||
SetupFile="tsetup.$AppVersionStrFull.dmg"
|
SetupFile="tsetup.$AppVersionStrFull.dmg"
|
||||||
ReleasePath="$HomePath/../Mac/Release"
|
ReleasePath="$HomePath/../out/Release"
|
||||||
BinaryName="Telegram"
|
BinaryName="Telegram"
|
||||||
elif [ "$BuildTarget" == "mac32" ]; then
|
elif [ "$BuildTarget" == "mac32" ]; then
|
||||||
echo "Building version $AppVersionStrFull for OS X 10.6 and 10.7.."
|
echo "Building version $AppVersionStrFull for OS X 10.6 and 10.7.."
|
||||||
UpdateFile="tmac32upd$AppVersion"
|
UpdateFile="tmac32upd$AppVersion"
|
||||||
SetupFile="tsetup32.$AppVersionStrFull.dmg"
|
SetupFile="tsetup32.$AppVersionStrFull.dmg"
|
||||||
ReleasePath="$HomePath/../Mac/Release"
|
ReleasePath="$HomePath/../out/Release"
|
||||||
BinaryName="Telegram"
|
BinaryName="Telegram"
|
||||||
elif [ "$BuildTarget" == "macstore" ]; then
|
elif [ "$BuildTarget" == "macstore" ]; then
|
||||||
if [ "$BetaVersion" != "0" ]; then
|
if [ "$BetaVersion" != "0" ]; then
|
||||||
|
@ -84,7 +82,7 @@ elif [ "$BuildTarget" == "macstore" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Building version $AppVersionStrFull for Mac App Store.."
|
echo "Building version $AppVersionStrFull for Mac App Store.."
|
||||||
ReleasePath="$HomePath/../Mac/Release"
|
ReleasePath="$HomePath/../out/Release"
|
||||||
BinaryName="Telegram Desktop"
|
BinaryName="Telegram Desktop"
|
||||||
DropboxPath="/Volumes/Storage/Dropbox/Telegram/deploy/$AppVersionStrMajor"
|
DropboxPath="/Volumes/Storage/Dropbox/Telegram/deploy/$AppVersionStrMajor"
|
||||||
DropboxDeployPath="$DropboxPath/$AppVersionStrFull"
|
DropboxDeployPath="$DropboxPath/$AppVersionStrFull"
|
||||||
|
@ -214,10 +212,8 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarg
|
||||||
Error "Dropbox path not found!"
|
Error "Dropbox path not found!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$FastParam" != "fast" ]; then
|
gyp/refresh.sh
|
||||||
touch "./Resources/telegram.qrc"
|
cd ../
|
||||||
touch "./Telegram.plist"
|
|
||||||
fi
|
|
||||||
xcodebuild -project Telegram.xcodeproj -alltargets -configuration Release build
|
xcodebuild -project Telegram.xcodeproj -alltargets -configuration Release build
|
||||||
|
|
||||||
if [ ! -d "$ReleasePath/$BinaryName.app" ]; then
|
if [ ! -d "$ReleasePath/$BinaryName.app" ]; then
|
||||||
|
@ -229,9 +225,17 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ]; then
|
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ]; then
|
||||||
echo "Removing Updater debug symbols.."
|
if [ ! -f "$ReleasePath/$BinaryName.app/Contents/Frameworks/Updater" ]; then
|
||||||
rm -rf "$ReleasePath/$BinaryName.app/Contents/Frameworks/Updater.dSYM"
|
Error "Updater not found!"
|
||||||
echo "Done!"
|
fi
|
||||||
|
if [ ! -f "$ReleasePath/$BinaryName.app/Contents/Helpers/crashpad_handler" ]; then
|
||||||
|
Error "crashpad_handler not found!"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [ "$BuildTarget" == "macstore" ]; then
|
||||||
|
if [ ! -d "$ReleasePath/$BinaryName.app/Contents/Frameworks/Breakpad.framework" ]; then
|
||||||
|
Error "Breakpad.framework not found!"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Dumping debug symbols.."
|
echo "Dumping debug symbols.."
|
||||||
|
@ -246,7 +250,9 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ] || [ "$BuildTarg
|
||||||
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ]; then
|
if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "mac32" ]; then
|
||||||
codesign --force --deep --sign "Developer ID Application: John Preston" "$ReleasePath/$BinaryName.app"
|
codesign --force --deep --sign "Developer ID Application: John Preston" "$ReleasePath/$BinaryName.app"
|
||||||
elif [ "$BuildTarget" == "macstore" ]; then
|
elif [ "$BuildTarget" == "macstore" ]; then
|
||||||
codesign --force --deep --sign "3rd Party Mac Developer Application: TELEGRAM MESSENGER LLP (6N38VWS5BX)" "$ReleasePath/$BinaryName.app" --entitlements "Telegram/Telegram Desktop.entitlements"
|
codesign --force --deep --sign "3rd Party Mac Developer Application: TELEGRAM MESSENGER LLP (6N38VWS5BX)" "$ReleasePath/$BinaryName.app" --entitlements "$HomePath/Telegram/Telegram Desktop.entitlements"
|
||||||
|
echo "Making an installer.."
|
||||||
|
productbuild --sign "3rd Party Mac Developer Installer: TELEGRAM MESSENGER LLP (6N38VWS5BX)" --component "$ReleasePath/$BinaryName.app" /Applications "$ReleasePath/$BinaryName.pkg"
|
||||||
fi
|
fi
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|
||||||
|
|
|
@ -106,11 +106,6 @@ repl "\(AppVersion [ ]*=\) \([ ]*\)[0-9][0-9]*" "\1\2 $VersionFull" "$VersionHea
|
||||||
repl "\(AppVersionStr [ ]*=\) \([ ]*\)[^;][^;]*" "\1\2 \"$VersionStrSmall\"" "$VersionHeaderPath"
|
repl "\(AppVersionStr [ ]*=\) \([ ]*\)[^;][^;]*" "\1\2 \"$VersionStrSmall\"" "$VersionHeaderPath"
|
||||||
repl "\(AppAlphaVersion [ ]*=\) \([ ]*\)[a-z][a-z]*" "\1\2 $VersionAlphaBool" "$VersionHeaderPath"
|
repl "\(AppAlphaVersion [ ]*=\) \([ ]*\)[a-z][a-z]*" "\1\2 $VersionAlphaBool" "$VersionHeaderPath"
|
||||||
|
|
||||||
echo "Patching project.pbxproj..."
|
|
||||||
TelegramProjectPath="$FullScriptPath/../Telegram.xcodeproj/project.pbxproj"
|
|
||||||
repl "\(TDESKTOP_MAJOR_VERSION [ ]*=\) \([ ]*\)[^;][^;]*" "\1\2 $VersionMajor.$VersionMinor" "$TelegramProjectPath"
|
|
||||||
repl "\(TDESKTOP_VERSION [ ]*=\) \([ ]*\)[^;][^;]*" "\1\2 $VersionStrSmall" "$TelegramProjectPath"
|
|
||||||
|
|
||||||
echo "Patching Telegram.rc..."
|
echo "Patching Telegram.rc..."
|
||||||
ResourcePath="$FullScriptPath/../Resources/winrc/Telegram.rc"
|
ResourcePath="$FullScriptPath/../Resources/winrc/Telegram.rc"
|
||||||
repl "\(FILEVERSION\) \([ ]*\)[0-9][0-9]*,[0-9][0-9]*,[0-9][0-9]*,[0-9][0-9]*" "\1\2 $VersionMajor,$VersionMinor,$VersionPatch,$VersionBeta" "$ResourcePath"
|
repl "\(FILEVERSION\) \([ ]*\)[0-9][0-9]*,[0-9][0-9]*,[0-9][0-9]*,[0-9][0-9]*" "\1\2 $VersionMajor,$VersionMinor,$VersionPatch,$VersionBeta" "$ResourcePath"
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
|
|
||||||
<AvailableItemName Include="CodegenStyleItem">
|
|
||||||
<Targets>GenerateStyleCode</Targets>
|
|
||||||
</AvailableItemName>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<StyleFile Include="%(CodegenStyleItem.Identity)" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Target
|
|
||||||
Name="GenerateStyleCode"
|
|
||||||
BeforeTargets="ClCompile"
|
|
||||||
Inputs="%(CodegenStyleItem.Identity)"
|
|
||||||
Outputs=".\GeneratedFiles\styles\style_%(CodegenStyleItem.Filename).h;.\GeneratedFiles\styles\style_%(CodegenStyleItem.Filename).cpp">
|
|
||||||
<Message Text="Generating style: %(CodegenStyleItem.Identity)" />
|
|
||||||
<Exec Command="$(SolutionDir)$(Platform)\codegen\$(Configuration)\codegen_style.exe "-I.\Resources" "-I.\SourceFiles" "-o.\GeneratedFiles\styles" %(CodegenStyleItem.Identity)"/>
|
|
||||||
</Target>
|
|
||||||
</Project>
|
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib">
|
|
||||||
<ItemType Name="CodegenStyleItem" DisplayName="Style File" />
|
|
||||||
<ContentType Name="CodegenStyleContent" ItemType="CodegenStyleItem" DisplayName="Style File" />
|
|
||||||
<FileExtension Name="*.style" ContentType="CodegenStyleContent" />
|
|
||||||
</ProjectSchemaDefinitions>
|
|
|
@ -1,373 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
0747FEFC1CC63B6100096FC3 /* basic_tokenized_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEF01CC63B6100096FC3 /* basic_tokenized_file.cpp */; };
|
|
||||||
0747FEFD1CC63B6100096FC3 /* checked_utf8_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEF21CC63B6100096FC3 /* checked_utf8_string.cpp */; };
|
|
||||||
0747FEFE1CC63B6100096FC3 /* clean_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEF51CC63B6100096FC3 /* clean_file.cpp */; };
|
|
||||||
0747FEFF1CC63B6100096FC3 /* cpp_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEF81CC63B6100096FC3 /* cpp_file.cpp */; };
|
|
||||||
0747FF001CC63B6100096FC3 /* logging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEFA1CC63B6100096FC3 /* logging.cpp */; };
|
|
||||||
0747FF0D1CC63BAC00096FC3 /* generator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FF041CC63BAC00096FC3 /* generator.cpp */; };
|
|
||||||
0747FF0E1CC63BAC00096FC3 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FF061CC63BAC00096FC3 /* main.cpp */; };
|
|
||||||
0747FF0F1CC63BAC00096FC3 /* options.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FF071CC63BAC00096FC3 /* options.cpp */; };
|
|
||||||
0747FF101CC63BAC00096FC3 /* parsed_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FF091CC63BAC00096FC3 /* parsed_file.cpp */; };
|
|
||||||
0747FF111CC63BAC00096FC3 /* processor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FF0B1CC63BAC00096FC3 /* processor.cpp */; };
|
|
||||||
0747FF141CC63BD800096FC3 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FF131CC63BD800096FC3 /* CoreFoundation.framework */; };
|
|
||||||
0747FF161CC63D4500096FC3 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FF151CC63D4500096FC3 /* CoreServices.framework */; };
|
|
||||||
0747FF181CC63D4F00096FC3 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FF171CC63D4F00096FC3 /* Cocoa.framework */; };
|
|
||||||
0747FF1A1CC63DA100096FC3 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FF191CC63DA100096FC3 /* CoreText.framework */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXCopyFilesBuildPhase section */
|
|
||||||
0747FEE41CC63AD900096FC3 /* CopyFiles */ = {
|
|
||||||
isa = PBXCopyFilesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
dstPath = /usr/share/man/man1/;
|
|
||||||
dstSubfolderSpec = 0;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 1;
|
|
||||||
};
|
|
||||||
/* End PBXCopyFilesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
0747FEE61CC63AD900096FC3 /* codegen_numbers */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = codegen_numbers; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
0747FEF01CC63B6100096FC3 /* basic_tokenized_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = basic_tokenized_file.cpp; path = ../../../SourceFiles/codegen/common/basic_tokenized_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEF11CC63B6100096FC3 /* basic_tokenized_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = basic_tokenized_file.h; path = ../../../SourceFiles/codegen/common/basic_tokenized_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FEF21CC63B6100096FC3 /* checked_utf8_string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checked_utf8_string.cpp; path = ../../../SourceFiles/codegen/common/checked_utf8_string.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEF31CC63B6100096FC3 /* checked_utf8_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checked_utf8_string.h; path = ../../../SourceFiles/codegen/common/checked_utf8_string.h; sourceTree = "<group>"; };
|
|
||||||
0747FEF41CC63B6100096FC3 /* clean_file_reader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = clean_file_reader.h; path = ../../../SourceFiles/codegen/common/clean_file_reader.h; sourceTree = "<group>"; };
|
|
||||||
0747FEF51CC63B6100096FC3 /* clean_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = clean_file.cpp; path = ../../../SourceFiles/codegen/common/clean_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEF61CC63B6100096FC3 /* clean_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = clean_file.h; path = ../../../SourceFiles/codegen/common/clean_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FEF71CC63B6100096FC3 /* const_utf8_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = const_utf8_string.h; path = ../../../SourceFiles/codegen/common/const_utf8_string.h; sourceTree = "<group>"; };
|
|
||||||
0747FEF81CC63B6100096FC3 /* cpp_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = cpp_file.cpp; path = ../../../SourceFiles/codegen/common/cpp_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEF91CC63B6100096FC3 /* cpp_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cpp_file.h; path = ../../../SourceFiles/codegen/common/cpp_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FEFA1CC63B6100096FC3 /* logging.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = logging.cpp; path = ../../../SourceFiles/codegen/common/logging.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEFB1CC63B6100096FC3 /* logging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = logging.h; path = ../../../SourceFiles/codegen/common/logging.h; sourceTree = "<group>"; };
|
|
||||||
0747FF041CC63BAC00096FC3 /* generator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = generator.cpp; path = ../../../SourceFiles/codegen/numbers/generator.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FF051CC63BAC00096FC3 /* generator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = generator.h; path = ../../../SourceFiles/codegen/numbers/generator.h; sourceTree = "<group>"; };
|
|
||||||
0747FF061CC63BAC00096FC3 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = ../../../SourceFiles/codegen/numbers/main.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FF071CC63BAC00096FC3 /* options.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = options.cpp; path = ../../../SourceFiles/codegen/numbers/options.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FF081CC63BAC00096FC3 /* options.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = options.h; path = ../../../SourceFiles/codegen/numbers/options.h; sourceTree = "<group>"; };
|
|
||||||
0747FF091CC63BAC00096FC3 /* parsed_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = parsed_file.cpp; path = ../../../SourceFiles/codegen/numbers/parsed_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FF0A1CC63BAC00096FC3 /* parsed_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = parsed_file.h; path = ../../../SourceFiles/codegen/numbers/parsed_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FF0B1CC63BAC00096FC3 /* processor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = processor.cpp; path = ../../../SourceFiles/codegen/numbers/processor.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FF0C1CC63BAC00096FC3 /* processor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = processor.h; path = ../../../SourceFiles/codegen/numbers/processor.h; sourceTree = "<group>"; };
|
|
||||||
0747FF131CC63BD800096FC3 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FF151CC63D4500096FC3 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FF171CC63D4F00096FC3 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FF191CC63DA100096FC3 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
0747FEE31CC63AD900096FC3 /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
0747FF1A1CC63DA100096FC3 /* CoreText.framework in Frameworks */,
|
|
||||||
0747FF181CC63D4F00096FC3 /* Cocoa.framework in Frameworks */,
|
|
||||||
0747FF161CC63D4500096FC3 /* CoreServices.framework in Frameworks */,
|
|
||||||
0747FF141CC63BD800096FC3 /* CoreFoundation.framework in Frameworks */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
0747FEDD1CC63AD900096FC3 = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FF021CC63B7500096FC3 /* src */,
|
|
||||||
0747FF381CC63EFF00096FC3 /* Frameworks */,
|
|
||||||
0747FEE71CC63AD900096FC3 /* Products */,
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FEE71CC63AD900096FC3 /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FEE61CC63AD900096FC3 /* codegen_numbers */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FF021CC63B7500096FC3 /* src */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FF031CC63B7E00096FC3 /* common */,
|
|
||||||
0747FF121CC63BB100096FC3 /* numbers */,
|
|
||||||
);
|
|
||||||
name = src;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FF031CC63B7E00096FC3 /* common */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FEF01CC63B6100096FC3 /* basic_tokenized_file.cpp */,
|
|
||||||
0747FEF11CC63B6100096FC3 /* basic_tokenized_file.h */,
|
|
||||||
0747FEF21CC63B6100096FC3 /* checked_utf8_string.cpp */,
|
|
||||||
0747FEF31CC63B6100096FC3 /* checked_utf8_string.h */,
|
|
||||||
0747FEF41CC63B6100096FC3 /* clean_file_reader.h */,
|
|
||||||
0747FEF51CC63B6100096FC3 /* clean_file.cpp */,
|
|
||||||
0747FEF61CC63B6100096FC3 /* clean_file.h */,
|
|
||||||
0747FEF71CC63B6100096FC3 /* const_utf8_string.h */,
|
|
||||||
0747FEF81CC63B6100096FC3 /* cpp_file.cpp */,
|
|
||||||
0747FEF91CC63B6100096FC3 /* cpp_file.h */,
|
|
||||||
0747FEFA1CC63B6100096FC3 /* logging.cpp */,
|
|
||||||
0747FEFB1CC63B6100096FC3 /* logging.h */,
|
|
||||||
);
|
|
||||||
name = common;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FF121CC63BB100096FC3 /* numbers */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FF041CC63BAC00096FC3 /* generator.cpp */,
|
|
||||||
0747FF051CC63BAC00096FC3 /* generator.h */,
|
|
||||||
0747FF061CC63BAC00096FC3 /* main.cpp */,
|
|
||||||
0747FF071CC63BAC00096FC3 /* options.cpp */,
|
|
||||||
0747FF081CC63BAC00096FC3 /* options.h */,
|
|
||||||
0747FF091CC63BAC00096FC3 /* parsed_file.cpp */,
|
|
||||||
0747FF0A1CC63BAC00096FC3 /* parsed_file.h */,
|
|
||||||
0747FF0B1CC63BAC00096FC3 /* processor.cpp */,
|
|
||||||
0747FF0C1CC63BAC00096FC3 /* processor.h */,
|
|
||||||
);
|
|
||||||
name = numbers;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FF381CC63EFF00096FC3 /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FF191CC63DA100096FC3 /* CoreText.framework */,
|
|
||||||
0747FF171CC63D4F00096FC3 /* Cocoa.framework */,
|
|
||||||
0747FF151CC63D4500096FC3 /* CoreServices.framework */,
|
|
||||||
0747FF131CC63BD800096FC3 /* CoreFoundation.framework */,
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
0747FEE51CC63AD900096FC3 /* codegen_numbers */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 0747FEED1CC63AD900096FC3 /* Build configuration list for PBXNativeTarget "codegen_numbers" */;
|
|
||||||
buildPhases = (
|
|
||||||
0747FEE21CC63AD900096FC3 /* Sources */,
|
|
||||||
0747FEE31CC63AD900096FC3 /* Frameworks */,
|
|
||||||
0747FEE41CC63AD900096FC3 /* CopyFiles */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = codegen_numbers;
|
|
||||||
productName = codegen_numbers;
|
|
||||||
productReference = 0747FEE61CC63AD900096FC3 /* codegen_numbers */;
|
|
||||||
productType = "com.apple.product-type.tool";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
0747FEDE1CC63AD900096FC3 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 0730;
|
|
||||||
ORGANIZATIONNAME = "Telegram Desktop";
|
|
||||||
TargetAttributes = {
|
|
||||||
0747FEE51CC63AD900096FC3 = {
|
|
||||||
CreatedOnToolsVersion = 7.3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
buildConfigurationList = 0747FEE11CC63AD900096FC3 /* Build configuration list for PBXProject "codegen_numbers" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
);
|
|
||||||
mainGroup = 0747FEDD1CC63AD900096FC3;
|
|
||||||
productRefGroup = 0747FEE71CC63AD900096FC3 /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
0747FEE51CC63AD900096FC3 /* codegen_numbers */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
0747FEE21CC63AD900096FC3 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
0747FF101CC63BAC00096FC3 /* parsed_file.cpp in Sources */,
|
|
||||||
0747FF0F1CC63BAC00096FC3 /* options.cpp in Sources */,
|
|
||||||
0747FEFC1CC63B6100096FC3 /* basic_tokenized_file.cpp in Sources */,
|
|
||||||
0747FEFD1CC63B6100096FC3 /* checked_utf8_string.cpp in Sources */,
|
|
||||||
0747FF111CC63BAC00096FC3 /* processor.cpp in Sources */,
|
|
||||||
0747FF001CC63B6100096FC3 /* logging.cpp in Sources */,
|
|
||||||
0747FEFE1CC63B6100096FC3 /* clean_file.cpp in Sources */,
|
|
||||||
0747FF0E1CC63BAC00096FC3 /* main.cpp in Sources */,
|
|
||||||
0747FEFF1CC63B6100096FC3 /* cpp_file.cpp in Sources */,
|
|
||||||
0747FF0D1CC63BAC00096FC3 /* generator.cpp in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
0747FEEB1CC63AD900096FC3 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
ENABLE_TESTABILITY = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
|
||||||
GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
"DEBUG=1",
|
|
||||||
"$(inherited)",
|
|
||||||
);
|
|
||||||
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
../../../SourceFiles,
|
|
||||||
);
|
|
||||||
LIBRARY_SEARCH_PATHS = "$(QT_PATH)/lib";
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
|
||||||
MTL_ENABLE_DEBUG_INFO = YES;
|
|
||||||
OBJROOT = "./../../../../Mac/obj/codegen_numbers/$(CONFIGURATION)";
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-lQt5Core_debug",
|
|
||||||
"-lqtpcre_debug",
|
|
||||||
"-lz",
|
|
||||||
);
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../../../../Mac/codegen/;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
0747FEEC1CC63AD900096FC3 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
||||||
ENABLE_NS_ASSERTIONS = NO;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
../../../SourceFiles,
|
|
||||||
);
|
|
||||||
LIBRARY_SEARCH_PATHS = "$(QT_PATH)/lib";
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
|
||||||
OBJROOT = "./../../../../Mac/obj/codegen_numbers/$(CONFIGURATION)";
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-lQt5Core",
|
|
||||||
"-lqtpcre",
|
|
||||||
"-lz",
|
|
||||||
);
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../../../../Mac/codegen/;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
0747FEEE1CC63AD900096FC3 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
0747FEEF1CC63AD900096FC3 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
0747FEE11CC63AD900096FC3 /* Build configuration list for PBXProject "codegen_numbers" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
0747FEEB1CC63AD900096FC3 /* Debug */,
|
|
||||||
0747FEEC1CC63AD900096FC3 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
0747FEED1CC63AD900096FC3 /* Build configuration list for PBXNativeTarget "codegen_numbers" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
0747FEEE1CC63AD900096FC3 /* Debug */,
|
|
||||||
0747FEEF1CC63AD900096FC3 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 0747FEDE1CC63AD900096FC3 /* Project object */;
|
|
||||||
}
|
|
|
@ -1,415 +0,0 @@
|
||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
0747FEA01CC633AA00096FC3 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FE9F1CC633AA00096FC3 /* CoreFoundation.framework */; };
|
|
||||||
0747FEA41CC6344000096FC3 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FEA31CC6344000096FC3 /* CoreServices.framework */; };
|
|
||||||
0747FEA61CC6345000096FC3 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FEA51CC6345000096FC3 /* OpenGL.framework */; };
|
|
||||||
0747FEA81CC6350000096FC3 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FEA71CC6350000096FC3 /* CoreGraphics.framework */; };
|
|
||||||
0747FEAA1CC6351200096FC3 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FEA91CC6351200096FC3 /* CoreText.framework */; };
|
|
||||||
0747FEAD1CC6360700096FC3 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0747FEAC1CC6360700096FC3 /* Cocoa.framework */; };
|
|
||||||
0747FEBE1CC63A1400096FC3 /* basic_tokenized_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEB21CC63A1400096FC3 /* basic_tokenized_file.cpp */; };
|
|
||||||
0747FEBF1CC63A1400096FC3 /* checked_utf8_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEB41CC63A1400096FC3 /* checked_utf8_string.cpp */; };
|
|
||||||
0747FEC01CC63A1400096FC3 /* clean_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEB71CC63A1400096FC3 /* clean_file.cpp */; };
|
|
||||||
0747FEC11CC63A1400096FC3 /* cpp_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEBA1CC63A1400096FC3 /* cpp_file.cpp */; };
|
|
||||||
0747FEC21CC63A1400096FC3 /* logging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEBC1CC63A1400096FC3 /* logging.cpp */; };
|
|
||||||
0747FED41CC63A9800096FC3 /* generator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEC51CC63A9800096FC3 /* generator.cpp */; };
|
|
||||||
0747FED51CC63A9800096FC3 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEC71CC63A9800096FC3 /* main.cpp */; };
|
|
||||||
0747FED61CC63A9800096FC3 /* module.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FEC81CC63A9800096FC3 /* module.cpp */; };
|
|
||||||
0747FED71CC63A9800096FC3 /* options.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FECA1CC63A9800096FC3 /* options.cpp */; };
|
|
||||||
0747FED81CC63A9800096FC3 /* parsed_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FECC1CC63A9800096FC3 /* parsed_file.cpp */; };
|
|
||||||
0747FED91CC63A9800096FC3 /* processor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FECE1CC63A9800096FC3 /* processor.cpp */; };
|
|
||||||
0747FEDA1CC63A9800096FC3 /* sprite_generator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FED01CC63A9800096FC3 /* sprite_generator.cpp */; };
|
|
||||||
0747FEDB1CC63A9800096FC3 /* structure_types.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0747FED21CC63A9800096FC3 /* structure_types.cpp */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXCopyFilesBuildPhase section */
|
|
||||||
0747FE581CC62B8500096FC3 /* CopyFiles */ = {
|
|
||||||
isa = PBXCopyFilesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
dstPath = /usr/share/man/man1/;
|
|
||||||
dstSubfolderSpec = 0;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 1;
|
|
||||||
};
|
|
||||||
/* End PBXCopyFilesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
0747FE5A1CC62B8500096FC3 /* codegen_style */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = codegen_style; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
0747FE9F1CC633AA00096FC3 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FEA11CC633EE00096FC3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FEA31CC6344000096FC3 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = System/Library/Frameworks/CoreServices.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FEA51CC6345000096FC3 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = System/Library/Frameworks/OpenGL.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FEA71CC6350000096FC3 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FEA91CC6351200096FC3 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FEAC1CC6360700096FC3 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
|
|
||||||
0747FEB21CC63A1400096FC3 /* basic_tokenized_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = basic_tokenized_file.cpp; path = ../../../SourceFiles/codegen/common/basic_tokenized_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEB31CC63A1400096FC3 /* basic_tokenized_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = basic_tokenized_file.h; path = ../../../SourceFiles/codegen/common/basic_tokenized_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FEB41CC63A1400096FC3 /* checked_utf8_string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = checked_utf8_string.cpp; path = ../../../SourceFiles/codegen/common/checked_utf8_string.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEB51CC63A1400096FC3 /* checked_utf8_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = checked_utf8_string.h; path = ../../../SourceFiles/codegen/common/checked_utf8_string.h; sourceTree = "<group>"; };
|
|
||||||
0747FEB61CC63A1400096FC3 /* clean_file_reader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = clean_file_reader.h; path = ../../../SourceFiles/codegen/common/clean_file_reader.h; sourceTree = "<group>"; };
|
|
||||||
0747FEB71CC63A1400096FC3 /* clean_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = clean_file.cpp; path = ../../../SourceFiles/codegen/common/clean_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEB81CC63A1400096FC3 /* clean_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = clean_file.h; path = ../../../SourceFiles/codegen/common/clean_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FEB91CC63A1400096FC3 /* const_utf8_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = const_utf8_string.h; path = ../../../SourceFiles/codegen/common/const_utf8_string.h; sourceTree = "<group>"; };
|
|
||||||
0747FEBA1CC63A1400096FC3 /* cpp_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = cpp_file.cpp; path = ../../../SourceFiles/codegen/common/cpp_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEBB1CC63A1400096FC3 /* cpp_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cpp_file.h; path = ../../../SourceFiles/codegen/common/cpp_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FEBC1CC63A1400096FC3 /* logging.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = logging.cpp; path = ../../../SourceFiles/codegen/common/logging.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEBD1CC63A1400096FC3 /* logging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = logging.h; path = ../../../SourceFiles/codegen/common/logging.h; sourceTree = "<group>"; };
|
|
||||||
0747FEC51CC63A9800096FC3 /* generator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = generator.cpp; path = ../../../SourceFiles/codegen/style/generator.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEC61CC63A9800096FC3 /* generator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = generator.h; path = ../../../SourceFiles/codegen/style/generator.h; sourceTree = "<group>"; };
|
|
||||||
0747FEC71CC63A9800096FC3 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = ../../../SourceFiles/codegen/style/main.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEC81CC63A9800096FC3 /* module.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = module.cpp; path = ../../../SourceFiles/codegen/style/module.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FEC91CC63A9800096FC3 /* module.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = module.h; path = ../../../SourceFiles/codegen/style/module.h; sourceTree = "<group>"; };
|
|
||||||
0747FECA1CC63A9800096FC3 /* options.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = options.cpp; path = ../../../SourceFiles/codegen/style/options.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FECB1CC63A9800096FC3 /* options.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = options.h; path = ../../../SourceFiles/codegen/style/options.h; sourceTree = "<group>"; };
|
|
||||||
0747FECC1CC63A9800096FC3 /* parsed_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = parsed_file.cpp; path = ../../../SourceFiles/codegen/style/parsed_file.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FECD1CC63A9800096FC3 /* parsed_file.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = parsed_file.h; path = ../../../SourceFiles/codegen/style/parsed_file.h; sourceTree = "<group>"; };
|
|
||||||
0747FECE1CC63A9800096FC3 /* processor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = processor.cpp; path = ../../../SourceFiles/codegen/style/processor.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FECF1CC63A9800096FC3 /* processor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = processor.h; path = ../../../SourceFiles/codegen/style/processor.h; sourceTree = "<group>"; };
|
|
||||||
0747FED01CC63A9800096FC3 /* sprite_generator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = sprite_generator.cpp; path = ../../../SourceFiles/codegen/style/sprite_generator.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FED11CC63A9800096FC3 /* sprite_generator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sprite_generator.h; path = ../../../SourceFiles/codegen/style/sprite_generator.h; sourceTree = "<group>"; };
|
|
||||||
0747FED21CC63A9800096FC3 /* structure_types.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = structure_types.cpp; path = ../../../SourceFiles/codegen/style/structure_types.cpp; sourceTree = "<group>"; };
|
|
||||||
0747FED31CC63A9800096FC3 /* structure_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = structure_types.h; path = ../../../SourceFiles/codegen/style/structure_types.h; sourceTree = "<group>"; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
0747FE571CC62B8500096FC3 /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
0747FEAD1CC6360700096FC3 /* Cocoa.framework in Frameworks */,
|
|
||||||
0747FEAA1CC6351200096FC3 /* CoreText.framework in Frameworks */,
|
|
||||||
0747FEA81CC6350000096FC3 /* CoreGraphics.framework in Frameworks */,
|
|
||||||
0747FEA61CC6345000096FC3 /* OpenGL.framework in Frameworks */,
|
|
||||||
0747FEA41CC6344000096FC3 /* CoreServices.framework in Frameworks */,
|
|
||||||
0747FEA01CC633AA00096FC3 /* CoreFoundation.framework in Frameworks */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
0747FE511CC62B8500096FC3 = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FEC31CC63A5100096FC3 /* src */,
|
|
||||||
0747FEAB1CC6353900096FC3 /* Frameworks */,
|
|
||||||
0747FE5B1CC62B8500096FC3 /* Products */,
|
|
||||||
);
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FE5B1CC62B8500096FC3 /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FE5A1CC62B8500096FC3 /* codegen_style */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FEAB1CC6353900096FC3 /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FEAC1CC6360700096FC3 /* Cocoa.framework */,
|
|
||||||
0747FEA91CC6351200096FC3 /* CoreText.framework */,
|
|
||||||
0747FEA71CC6350000096FC3 /* CoreGraphics.framework */,
|
|
||||||
0747FEA51CC6345000096FC3 /* OpenGL.framework */,
|
|
||||||
0747FEA31CC6344000096FC3 /* CoreServices.framework */,
|
|
||||||
0747FEA11CC633EE00096FC3 /* Foundation.framework */,
|
|
||||||
0747FE9F1CC633AA00096FC3 /* CoreFoundation.framework */,
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FEC31CC63A5100096FC3 /* src */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FEC41CC63A6300096FC3 /* common */,
|
|
||||||
0747FEDC1CC63AA700096FC3 /* style */,
|
|
||||||
);
|
|
||||||
name = src;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FEC41CC63A6300096FC3 /* common */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FEB21CC63A1400096FC3 /* basic_tokenized_file.cpp */,
|
|
||||||
0747FEB31CC63A1400096FC3 /* basic_tokenized_file.h */,
|
|
||||||
0747FEB41CC63A1400096FC3 /* checked_utf8_string.cpp */,
|
|
||||||
0747FEB51CC63A1400096FC3 /* checked_utf8_string.h */,
|
|
||||||
0747FEB61CC63A1400096FC3 /* clean_file_reader.h */,
|
|
||||||
0747FEB71CC63A1400096FC3 /* clean_file.cpp */,
|
|
||||||
0747FEB81CC63A1400096FC3 /* clean_file.h */,
|
|
||||||
0747FEB91CC63A1400096FC3 /* const_utf8_string.h */,
|
|
||||||
0747FEBA1CC63A1400096FC3 /* cpp_file.cpp */,
|
|
||||||
0747FEBB1CC63A1400096FC3 /* cpp_file.h */,
|
|
||||||
0747FEBC1CC63A1400096FC3 /* logging.cpp */,
|
|
||||||
0747FEBD1CC63A1400096FC3 /* logging.h */,
|
|
||||||
);
|
|
||||||
name = common;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
0747FEDC1CC63AA700096FC3 /* style */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
0747FEC51CC63A9800096FC3 /* generator.cpp */,
|
|
||||||
0747FEC61CC63A9800096FC3 /* generator.h */,
|
|
||||||
0747FEC71CC63A9800096FC3 /* main.cpp */,
|
|
||||||
0747FEC81CC63A9800096FC3 /* module.cpp */,
|
|
||||||
0747FEC91CC63A9800096FC3 /* module.h */,
|
|
||||||
0747FECA1CC63A9800096FC3 /* options.cpp */,
|
|
||||||
0747FECB1CC63A9800096FC3 /* options.h */,
|
|
||||||
0747FECC1CC63A9800096FC3 /* parsed_file.cpp */,
|
|
||||||
0747FECD1CC63A9800096FC3 /* parsed_file.h */,
|
|
||||||
0747FECE1CC63A9800096FC3 /* processor.cpp */,
|
|
||||||
0747FECF1CC63A9800096FC3 /* processor.h */,
|
|
||||||
0747FED01CC63A9800096FC3 /* sprite_generator.cpp */,
|
|
||||||
0747FED11CC63A9800096FC3 /* sprite_generator.h */,
|
|
||||||
0747FED21CC63A9800096FC3 /* structure_types.cpp */,
|
|
||||||
0747FED31CC63A9800096FC3 /* structure_types.h */,
|
|
||||||
);
|
|
||||||
name = style;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
0747FE591CC62B8500096FC3 /* codegen_style */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 0747FE611CC62B8500096FC3 /* Build configuration list for PBXNativeTarget "codegen_style" */;
|
|
||||||
buildPhases = (
|
|
||||||
0747FE561CC62B8500096FC3 /* Sources */,
|
|
||||||
0747FE571CC62B8500096FC3 /* Frameworks */,
|
|
||||||
0747FE581CC62B8500096FC3 /* CopyFiles */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = codegen_style;
|
|
||||||
productName = codegen_style;
|
|
||||||
productReference = 0747FE5A1CC62B8500096FC3 /* codegen_style */;
|
|
||||||
productType = "com.apple.product-type.tool";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
0747FE521CC62B8500096FC3 /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 0730;
|
|
||||||
ORGANIZATIONNAME = "Telegram Desktop";
|
|
||||||
TargetAttributes = {
|
|
||||||
0747FE591CC62B8500096FC3 = {
|
|
||||||
CreatedOnToolsVersion = 7.3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
buildConfigurationList = 0747FE551CC62B8500096FC3 /* Build configuration list for PBXProject "codegen_style" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 0;
|
|
||||||
knownRegions = (
|
|
||||||
en,
|
|
||||||
);
|
|
||||||
mainGroup = 0747FE511CC62B8500096FC3;
|
|
||||||
productRefGroup = 0747FE5B1CC62B8500096FC3 /* Products */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
0747FE591CC62B8500096FC3 /* codegen_style */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
0747FE561CC62B8500096FC3 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
0747FEBF1CC63A1400096FC3 /* checked_utf8_string.cpp in Sources */,
|
|
||||||
0747FED61CC63A9800096FC3 /* module.cpp in Sources */,
|
|
||||||
0747FEDA1CC63A9800096FC3 /* sprite_generator.cpp in Sources */,
|
|
||||||
0747FED71CC63A9800096FC3 /* options.cpp in Sources */,
|
|
||||||
0747FEC01CC63A1400096FC3 /* clean_file.cpp in Sources */,
|
|
||||||
0747FEDB1CC63A9800096FC3 /* structure_types.cpp in Sources */,
|
|
||||||
0747FED81CC63A9800096FC3 /* parsed_file.cpp in Sources */,
|
|
||||||
0747FEC11CC63A1400096FC3 /* cpp_file.cpp in Sources */,
|
|
||||||
0747FEBE1CC63A1400096FC3 /* basic_tokenized_file.cpp in Sources */,
|
|
||||||
0747FED51CC63A9800096FC3 /* main.cpp in Sources */,
|
|
||||||
0747FED91CC63A9800096FC3 /* processor.cpp in Sources */,
|
|
||||||
0747FEC21CC63A1400096FC3 /* logging.cpp in Sources */,
|
|
||||||
0747FED41CC63A9800096FC3 /* generator.cpp in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
0747FE5F1CC62B8500096FC3 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
ENABLE_TESTABILITY = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
|
||||||
GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
"DEBUG=1",
|
|
||||||
"$(inherited)",
|
|
||||||
);
|
|
||||||
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
../../../SourceFiles,
|
|
||||||
);
|
|
||||||
LIBRARY_SEARCH_PATHS = "$(QT_PATH)/lib";
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
|
||||||
MTL_ENABLE_DEBUG_INFO = YES;
|
|
||||||
OBJROOT = "./../../../../Mac/obj/codegen_style/$(CONFIGURATION)";
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-Wall",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-lQt5Core_debug",
|
|
||||||
"-lQt5Gui_debug",
|
|
||||||
"-lqtpcre_debug",
|
|
||||||
"-lqtharfbuzzng_debug",
|
|
||||||
"-lz",
|
|
||||||
);
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../../../../Mac/codegen/;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
0747FE601CC62B8500096FC3 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
|
|
||||||
CLANG_CXX_LIBRARY = "libc++";
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
||||||
CLANG_WARN_EMPTY_BODY = YES;
|
|
||||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
||||||
CLANG_WARN_INT_CONVERSION = YES;
|
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
||||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
||||||
CODE_SIGN_IDENTITY = "";
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
||||||
ENABLE_NS_ASSERTIONS = NO;
|
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO;
|
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
|
||||||
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
HEADER_SEARCH_PATHS = (
|
|
||||||
"$(QT_PATH)/include",
|
|
||||||
../../../SourceFiles,
|
|
||||||
);
|
|
||||||
LIBRARY_SEARCH_PATHS = "$(QT_PATH)/lib";
|
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
|
||||||
OBJROOT = "./../../../../Mac/obj/codegen_style/$(CONFIGURATION)";
|
|
||||||
OTHER_CFLAGS = (
|
|
||||||
"-Wall",
|
|
||||||
"-DQT_GUI_LIB",
|
|
||||||
"-DQT_CORE_LIB",
|
|
||||||
);
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"-lQt5Core",
|
|
||||||
"-lQt5Gui",
|
|
||||||
"-lqtharfbuzzng",
|
|
||||||
"-lqtpcre",
|
|
||||||
"-lz",
|
|
||||||
);
|
|
||||||
QT_PATH = "/usr/local/tdesktop/Qt-5.6.0";
|
|
||||||
SDKROOT = macosx;
|
|
||||||
SYMROOT = ./../../../../Mac/codegen/;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
0747FE621CC62B8500096FC3 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
0747FE631CC62B8500096FC3 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
0747FE551CC62B8500096FC3 /* Build configuration list for PBXProject "codegen_style" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
0747FE5F1CC62B8500096FC3 /* Debug */,
|
|
||||||
0747FE601CC62B8500096FC3 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
0747FE611CC62B8500096FC3 /* Build configuration list for PBXNativeTarget "codegen_style" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
0747FE621CC62B8500096FC3 /* Debug */,
|
|
||||||
0747FE631CC62B8500096FC3 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 0747FE521CC62B8500096FC3 /* Project object */;
|
|
||||||
}
|
|
|
@ -18,12 +18,16 @@
|
||||||
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
{
|
{
|
||||||
|
'includes': [
|
||||||
|
'common.gypi',
|
||||||
|
],
|
||||||
'targets': [{
|
'targets': [{
|
||||||
'target_name': 'Telegram',
|
'target_name': 'Telegram',
|
||||||
'variables': {
|
'variables': {
|
||||||
'libs_loc': '../../../Libraries',
|
'libs_loc': '../../../Libraries',
|
||||||
'src_loc': '../SourceFiles',
|
'src_loc': '../SourceFiles',
|
||||||
'res_loc': '../Resources',
|
'res_loc': '../Resources',
|
||||||
|
'minizip_loc': '../ThirdParty/minizip',
|
||||||
'style_files': [
|
'style_files': [
|
||||||
'<(res_loc)/basic.style',
|
'<(res_loc)/basic.style',
|
||||||
'<(res_loc)/basic_types.style',
|
'<(res_loc)/basic_types.style',
|
||||||
|
@ -36,13 +40,22 @@
|
||||||
'<(src_loc)/settings/settings.style',
|
'<(src_loc)/settings/settings.style',
|
||||||
'<(src_loc)/ui/widgets/widgets.style',
|
'<(src_loc)/ui/widgets/widgets.style',
|
||||||
],
|
],
|
||||||
'qrc_files': [
|
'langpacks': [
|
||||||
'<(res_loc)/telegram.qrc',
|
'en',
|
||||||
'<(res_loc)/telegram_emojis.qrc',
|
'de',
|
||||||
|
'es',
|
||||||
|
'it',
|
||||||
|
'nl',
|
||||||
|
'ko',
|
||||||
|
'pt-BR',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'includes': [
|
'includes': [
|
||||||
'common_executable.gypi',
|
'common_executable.gypi',
|
||||||
|
'telegram_qrc.gypi',
|
||||||
|
'telegram_win.gypi',
|
||||||
|
'telegram_mac.gypi',
|
||||||
|
'telegram_linux.gypi',
|
||||||
'qt.gypi',
|
'qt.gypi',
|
||||||
'codegen_rules.gypi',
|
'codegen_rules.gypi',
|
||||||
],
|
],
|
||||||
|
@ -67,10 +80,7 @@
|
||||||
'<(libs_loc)/zlib-1.2.8',
|
'<(libs_loc)/zlib-1.2.8',
|
||||||
'<(libs_loc)/ffmpeg',
|
'<(libs_loc)/ffmpeg',
|
||||||
'<(libs_loc)/openal-soft/include',
|
'<(libs_loc)/openal-soft/include',
|
||||||
'../ThirdParty/minizip',
|
'<(minizip_loc)',
|
||||||
],
|
|
||||||
'library_dirs': [
|
|
||||||
'<(libs_loc)/ffmpeg',
|
|
||||||
],
|
],
|
||||||
'sources': [
|
'sources': [
|
||||||
'<@(qrc_files)',
|
'<@(qrc_files)',
|
||||||
|
@ -281,6 +291,12 @@
|
||||||
'<(src_loc)/overview/overview_layout.h',
|
'<(src_loc)/overview/overview_layout.h',
|
||||||
'<(src_loc)/pspecific_win.cpp',
|
'<(src_loc)/pspecific_win.cpp',
|
||||||
'<(src_loc)/pspecific_win.h',
|
'<(src_loc)/pspecific_win.h',
|
||||||
|
'<(src_loc)/pspecific_mac.cpp',
|
||||||
|
'<(src_loc)/pspecific_mac.h',
|
||||||
|
'<(src_loc)/pspecific_mac_p.mm',
|
||||||
|
'<(src_loc)/pspecific_mac_p.h',
|
||||||
|
'<(src_loc)/pspecific_linux.cpp',
|
||||||
|
'<(src_loc)/pspecific_linux.h',
|
||||||
'<(src_loc)/platform/linux/linux_gdk_helper.cpp',
|
'<(src_loc)/platform/linux/linux_gdk_helper.cpp',
|
||||||
'<(src_loc)/platform/linux/linux_gdk_helper.h',
|
'<(src_loc)/platform/linux/linux_gdk_helper.h',
|
||||||
'<(src_loc)/platform/linux/linux_libs.cpp',
|
'<(src_loc)/platform/linux/linux_libs.cpp',
|
||||||
|
@ -440,20 +456,6 @@
|
||||||
'<(src_loc)/window/top_bar_widget.h',
|
'<(src_loc)/window/top_bar_widget.h',
|
||||||
],
|
],
|
||||||
'configurations': {
|
'configurations': {
|
||||||
'Debug': {
|
|
||||||
'include_dirs': [
|
|
||||||
'<(libs_loc)/openssl_debug/Debug/include',
|
|
||||||
],
|
|
||||||
'library_dirs': [
|
|
||||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
|
||||||
'<(libs_loc)/libexif-0.6.20/win32/Debug',
|
|
||||||
'<(libs_loc)/opus/win32/VS2010/Win32/Debug',
|
|
||||||
'<(libs_loc)/openal-soft/build/Debug',
|
|
||||||
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatDebug',
|
|
||||||
'<(libs_loc)/openssl_debug/Debug/lib',
|
|
||||||
'<(libs_loc)/breakpad/src/client/windows/Debug',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
'Release': {
|
'Release': {
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['"<(official_build_target)" != ""', {
|
['"<(official_build_target)" != ""', {
|
||||||
|
@ -462,79 +464,18 @@
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
'include_dirs': [
|
|
||||||
'<(libs_loc)/openssl/Release/include',
|
|
||||||
],
|
|
||||||
'library_dirs': [
|
|
||||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
|
||||||
'<(libs_loc)/libexif-0.6.20/win32/Release',
|
|
||||||
'<(libs_loc)/opus/win32/VS2010/Win32/Release',
|
|
||||||
'<(libs_loc)/openal-soft/build/Release',
|
|
||||||
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatRelease',
|
|
||||||
'<(libs_loc)/openssl/Release/lib',
|
|
||||||
'<(libs_loc)/breakpad/src/client/windows/Release',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'libraries': [
|
|
||||||
'libeay32',
|
|
||||||
'ssleay32',
|
|
||||||
'Crypt32',
|
|
||||||
'zlibstat',
|
|
||||||
'LzmaLib',
|
|
||||||
'lib_exif',
|
|
||||||
'UxTheme',
|
|
||||||
'DbgHelp',
|
|
||||||
'OpenAL32',
|
|
||||||
'common',
|
|
||||||
'libavformat\libavformat.a',
|
|
||||||
'libavcodec\libavcodec.a',
|
|
||||||
'libavutil\libavutil.a',
|
|
||||||
'libswresample\libswresample.a',
|
|
||||||
'libswscale\libswscale.a',
|
|
||||||
'opus',
|
|
||||||
'celt',
|
|
||||||
'silk_common',
|
|
||||||
'silk_float',
|
|
||||||
'lib\common',
|
|
||||||
'lib\exception_handler',
|
|
||||||
'lib\crash_generation_client',
|
|
||||||
],
|
|
||||||
'conditions': [
|
'conditions': [
|
||||||
[ '"<(official_build_target)" != ""', {
|
[ '"<(official_build_target)" != ""', {
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
'utils.gyp:Packer',
|
'utils.gyp:Packer',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
[ 'build_linux', {
|
|
||||||
'variables': {
|
|
||||||
'qrc_files': [
|
|
||||||
'<(res_loc)/telegram_linux.qrc',
|
|
||||||
],
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
[ 'build_mac', {
|
|
||||||
'variables': {
|
|
||||||
'qrc_files': [
|
|
||||||
'<(res_loc)/telegram_mac.qrc',
|
|
||||||
],
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
[ 'build_win', {
|
|
||||||
'msvs_precompiled_source': '<(src_loc)/stdafx.cpp',
|
|
||||||
'msvs_precompiled_header': '<(src_loc)/stdafx.h',
|
|
||||||
'msbuild_toolset': 'v140_xp', #Windows7.1SDK
|
|
||||||
'sources': [
|
|
||||||
'<(res_loc)/winrc/Telegram.rc',
|
|
||||||
],
|
|
||||||
'variables': {
|
|
||||||
'qrc_files': [
|
|
||||||
'<(res_loc)/telegram_wnd.qrc',
|
|
||||||
],
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
[ '"<(build_linux)" != "1"', {
|
[ '"<(build_linux)" != "1"', {
|
||||||
'sources!': [
|
'sources!': [
|
||||||
|
'<(src_loc)/pspecific_linux.cpp',
|
||||||
|
'<(src_loc)/pspecific_linux.h',
|
||||||
'<(src_loc)/platform/linux/linux_gdk_helper.cpp',
|
'<(src_loc)/platform/linux/linux_gdk_helper.cpp',
|
||||||
'<(src_loc)/platform/linux/linux_gdk_helper.h',
|
'<(src_loc)/platform/linux/linux_gdk_helper.h',
|
||||||
'<(src_loc)/platform/linux/linux_libs.cpp',
|
'<(src_loc)/platform/linux/linux_libs.cpp',
|
||||||
|
@ -547,12 +488,25 @@
|
||||||
}],
|
}],
|
||||||
[ '"<(build_mac)" != "1"', {
|
[ '"<(build_mac)" != "1"', {
|
||||||
'sources!': [
|
'sources!': [
|
||||||
|
'<(src_loc)/pspecific_mac.cpp',
|
||||||
|
'<(src_loc)/pspecific_mac.h',
|
||||||
|
'<(src_loc)/pspecific_mac_p.mm',
|
||||||
|
'<(src_loc)/pspecific_mac_p.h',
|
||||||
'<(src_loc)/platform/mac/main_window_mac.mm',
|
'<(src_loc)/platform/mac/main_window_mac.mm',
|
||||||
'<(src_loc)/platform/mac/main_window_mac.h',
|
'<(src_loc)/platform/mac/main_window_mac.h',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
[ '"<(build_win)" != "1"', {
|
[ '"<(build_win)" != "1"', {
|
||||||
|
'sources': [
|
||||||
|
'<(minizip_loc)/crypt.h',
|
||||||
|
'<(minizip_loc)/ioapi.c',
|
||||||
|
'<(minizip_loc)/ioapi.h',
|
||||||
|
'<(minizip_loc)/zip.c',
|
||||||
|
'<(minizip_loc)/zip.h',
|
||||||
|
],
|
||||||
'sources!': [
|
'sources!': [
|
||||||
|
'<(src_loc)/pspecific_win.cpp',
|
||||||
|
'<(src_loc)/pspecific_win.h',
|
||||||
'<(src_loc)/platform/win/main_window_win.cpp',
|
'<(src_loc)/platform/win/main_window_win.cpp',
|
||||||
'<(src_loc)/platform/win/main_window_win.h',
|
'<(src_loc)/platform/win/main_window_win.h',
|
||||||
'<(src_loc)/platform/win/windows_app_user_model_id.cpp',
|
'<(src_loc)/platform/win/windows_app_user_model_id.cpp',
|
||||||
|
|
|
@ -18,12 +18,16 @@
|
||||||
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
{
|
{
|
||||||
|
'includes': [
|
||||||
|
'common.gypi',
|
||||||
|
],
|
||||||
'targets': [{
|
'targets': [{
|
||||||
'target_name': 'MetaLang',
|
'target_name': 'MetaLang',
|
||||||
'variables': {
|
'variables': {
|
||||||
'libs_loc': '../../../Libraries',
|
'libs_loc': '../../../Libraries',
|
||||||
'src_loc': '../SourceFiles',
|
'src_loc': '../SourceFiles',
|
||||||
'gen_loc': '../GeneratedFiles',
|
'gen_loc': '../GeneratedFiles',
|
||||||
|
'mac_target': '10.10',
|
||||||
},
|
},
|
||||||
'includes': [
|
'includes': [
|
||||||
'common_executable.gypi',
|
'common_executable.gypi',
|
||||||
|
@ -45,6 +49,7 @@
|
||||||
'variables': {
|
'variables': {
|
||||||
'libs_loc': '../../../Libraries',
|
'libs_loc': '../../../Libraries',
|
||||||
'src_loc': '../SourceFiles',
|
'src_loc': '../SourceFiles',
|
||||||
|
'mac_target': '10.10',
|
||||||
},
|
},
|
||||||
'includes': [
|
'includes': [
|
||||||
'common_executable.gypi',
|
'common_executable.gypi',
|
||||||
|
@ -88,6 +93,7 @@
|
||||||
'variables': {
|
'variables': {
|
||||||
'libs_loc': '../../../Libraries',
|
'libs_loc': '../../../Libraries',
|
||||||
'src_loc': '../SourceFiles',
|
'src_loc': '../SourceFiles',
|
||||||
|
'mac_target': '10.10',
|
||||||
},
|
},
|
||||||
'includes': [
|
'includes': [
|
||||||
'common_executable.gypi',
|
'common_executable.gypi',
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
'actions': [{
|
'actions': [{
|
||||||
'action_name': 'update_sprites',
|
'action_name': 'update_sprites',
|
||||||
'inputs': [
|
'inputs': [
|
||||||
'<(PRODUCT_DIR)/codegen_style.exe',
|
'<(PRODUCT_DIR)/codegen_style<(exe_ext)',
|
||||||
'<(res_loc)/basic.style',
|
'<(res_loc)/basic.style',
|
||||||
'<(res_loc)/art/sprite.png',
|
'<(res_loc)/art/sprite.png',
|
||||||
'<(res_loc)/art/sprite_200x.png',
|
'<(res_loc)/art/sprite_200x.png',
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
'<(res_loc)/art/sprite_150x.png',
|
'<(res_loc)/art/sprite_150x.png',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [
|
||||||
'<(PRODUCT_DIR)/codegen_style.exe',
|
'<(PRODUCT_DIR)/codegen_style<(exe_ext)',
|
||||||
'-I<(res_loc)', '-I<(src_loc)',
|
'-I<(res_loc)', '-I<(src_loc)',
|
||||||
'--skip-styles', '<(res_loc)/basic.style',
|
'--skip-styles', '<(res_loc)/basic.style',
|
||||||
],
|
],
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
}, {
|
}, {
|
||||||
'action_name': 'codegen_lang',
|
'action_name': 'codegen_lang',
|
||||||
'inputs': [
|
'inputs': [
|
||||||
'<(PRODUCT_DIR)/MetaLang.exe',
|
'<(PRODUCT_DIR)/MetaLang<(exe_ext)',
|
||||||
'<(res_loc)/langs/lang.strings',
|
'<(res_loc)/langs/lang.strings',
|
||||||
],
|
],
|
||||||
'outputs': [
|
'outputs': [
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
'<(SHARED_INTERMEDIATE_DIR)/lang_auto.h',
|
'<(SHARED_INTERMEDIATE_DIR)/lang_auto.h',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [
|
||||||
'<(PRODUCT_DIR)/MetaLang.exe',
|
'<(PRODUCT_DIR)/MetaLang<(exe_ext)',
|
||||||
'-lang_in', '<(res_loc)/langs/lang.strings',
|
'-lang_in', '<(res_loc)/langs/lang.strings',
|
||||||
'-lang_out', '<(SHARED_INTERMEDIATE_DIR)/lang_auto',
|
'-lang_out', '<(SHARED_INTERMEDIATE_DIR)/lang_auto',
|
||||||
],
|
],
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
}, {
|
}, {
|
||||||
'action_name': 'codegen_numbers',
|
'action_name': 'codegen_numbers',
|
||||||
'inputs': [
|
'inputs': [
|
||||||
'<(PRODUCT_DIR)/codegen_numbers.exe',
|
'<(PRODUCT_DIR)/codegen_numbers<(exe_ext)',
|
||||||
'<(res_loc)/numbers.txt',
|
'<(res_loc)/numbers.txt',
|
||||||
],
|
],
|
||||||
'outputs': [
|
'outputs': [
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
'<(SHARED_INTERMEDIATE_DIR)/numbers.h',
|
'<(SHARED_INTERMEDIATE_DIR)/numbers.h',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [
|
||||||
'<(PRODUCT_DIR)/codegen_numbers.exe',
|
'<(PRODUCT_DIR)/codegen_numbers<(exe_ext)',
|
||||||
'-o<(SHARED_INTERMEDIATE_DIR)', '<(res_loc)/numbers.txt',
|
'-o<(SHARED_INTERMEDIATE_DIR)', '<(res_loc)/numbers.txt',
|
||||||
],
|
],
|
||||||
'message': 'codegen_numbers-ing numbers.txt..',
|
'message': 'codegen_numbers-ing numbers.txt..',
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
'rule_name': 'codegen_style',
|
'rule_name': 'codegen_style',
|
||||||
'extension': 'style',
|
'extension': 'style',
|
||||||
'inputs': [
|
'inputs': [
|
||||||
'<(PRODUCT_DIR)/codegen_style.exe',
|
'<(PRODUCT_DIR)/codegen_style<(exe_ext)',
|
||||||
'<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp',
|
'<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp',
|
||||||
],
|
],
|
||||||
'outputs': [
|
'outputs': [
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
'<(SHARED_INTERMEDIATE_DIR)/styles/style_<(RULE_INPUT_ROOT).cpp',
|
'<(SHARED_INTERMEDIATE_DIR)/styles/style_<(RULE_INPUT_ROOT).cpp',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [
|
||||||
'<(PRODUCT_DIR)/codegen_style.exe',
|
'<(PRODUCT_DIR)/codegen_style<(exe_ext)',
|
||||||
'-I<(res_loc)', '-I<(src_loc)', '--skip-sprites',
|
'-I<(res_loc)', '-I<(src_loc)', '--skip-sprites',
|
||||||
'-o<(SHARED_INTERMEDIATE_DIR)/styles',
|
'-o<(SHARED_INTERMEDIATE_DIR)/styles',
|
||||||
|
|
||||||
|
|
|
@ -18,34 +18,53 @@
|
||||||
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
{
|
{
|
||||||
|
'includes': [
|
||||||
|
'settings_win.gypi',
|
||||||
|
'settings_mac.gypi',
|
||||||
|
],
|
||||||
'variables': {
|
'variables': {
|
||||||
'variables': {
|
'variables': {
|
||||||
'variables': {
|
'variables': {
|
||||||
'build_os%': '<(OS)',
|
'variables': {
|
||||||
|
'variables': {
|
||||||
|
'build_os%': '<(OS)',
|
||||||
|
},
|
||||||
|
'build_os%': '<(build_os)',
|
||||||
|
'conditions': [
|
||||||
|
[ 'build_os == "win"', {
|
||||||
|
'build_win': 1,
|
||||||
|
}, {
|
||||||
|
'build_win': 0,
|
||||||
|
}],
|
||||||
|
[ 'build_os == "mac"', {
|
||||||
|
'build_mac': 1,
|
||||||
|
}, {
|
||||||
|
'build_mac': 0,
|
||||||
|
}],
|
||||||
|
[ 'build_os == "linux"', {
|
||||||
|
'build_linux': 1,
|
||||||
|
}, {
|
||||||
|
'build_linux': 0,
|
||||||
|
}],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'build_os%': '<(build_os)',
|
||||||
|
'build_win%': '<(build_win)',
|
||||||
|
'build_mac%': '<(build_mac)',
|
||||||
|
'build_linux%': '<(build_linux)',
|
||||||
},
|
},
|
||||||
'build_os%': '<(build_os)',
|
'build_os%': '<(build_os)',
|
||||||
'conditions': [
|
'build_win%': '<(build_win)',
|
||||||
[ 'build_os == "win"', {
|
'build_mac%': '<(build_mac)',
|
||||||
'build_win': 1,
|
'build_linux%': '<(build_linux)',
|
||||||
}, {
|
|
||||||
'build_win': 0,
|
'official_build_target%': '<!(python <(DEPTH)/official.py --read-target)',
|
||||||
}],
|
|
||||||
[ 'build_os == "mac"', {
|
|
||||||
'build_mac': 1,
|
|
||||||
}, {
|
|
||||||
'build_mac': 0,
|
|
||||||
}],
|
|
||||||
[ 'build_os == "linux"', {
|
|
||||||
'build_linux': 1,
|
|
||||||
}, {
|
|
||||||
'build_linux': 0,
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
'build_os%': '<(build_os)',
|
'build_os%': '<(build_os)',
|
||||||
'build_win%': '<(build_win)',
|
'build_win%': '<(build_win)',
|
||||||
'build_mac%': '<(build_mac)',
|
'build_mac%': '<(build_mac)',
|
||||||
'build_linux%': '<(build_linux)',
|
'build_linux%': '<(build_linux)',
|
||||||
|
'official_build_target%': '<(official_build_target)',
|
||||||
|
|
||||||
# GYP does not support per-configuration libraries :(
|
# GYP does not support per-configuration libraries :(
|
||||||
# So they will be emulated through additional link flags,
|
# So they will be emulated through additional link flags,
|
||||||
|
@ -54,17 +73,31 @@
|
||||||
[ 'build_win', {
|
[ 'build_win', {
|
||||||
'ld_lib_prefix': '',
|
'ld_lib_prefix': '',
|
||||||
'ld_lib_postfix': '.lib',
|
'ld_lib_postfix': '.lib',
|
||||||
|
'exe_ext': '.exe',
|
||||||
}, {
|
}, {
|
||||||
'ld_lib_prefix': '-l',
|
'ld_lib_prefix': '-l',
|
||||||
'ld_lib_postfix': '',
|
'ld_lib_postfix': '',
|
||||||
|
'exe_ext': '',
|
||||||
|
}],
|
||||||
|
[ '"<(official_build_target)" == "mac32"', {
|
||||||
|
'mac_target%': '10.6',
|
||||||
|
'build_macold': 1,
|
||||||
|
}, {
|
||||||
|
'mac_target%': '10.8',
|
||||||
|
'build_macold': 0,
|
||||||
|
}],
|
||||||
|
[ '"<(official_build_target)" == "macstore"', {
|
||||||
|
'build_macstore': 1,
|
||||||
|
}, {
|
||||||
|
'build_macstore': 0,
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
'ld_lib_prefix': '<(ld_lib_prefix)',
|
'ld_lib_prefix': '<(ld_lib_prefix)',
|
||||||
'ld_lib_postfix': '<(ld_lib_postfix)',
|
'ld_lib_postfix': '<(ld_lib_postfix)',
|
||||||
|
'exe_ext': '<(exe_ext)',
|
||||||
|
|
||||||
'library%': 'static_library',
|
'library%': 'static_library',
|
||||||
|
|
||||||
'official_build_target%': '<!(python <(DEPTH)/official.py --read-target)',
|
|
||||||
},
|
},
|
||||||
|
|
||||||
'configurations': {
|
'configurations': {
|
||||||
|
|
|
@ -24,6 +24,5 @@
|
||||||
},
|
},
|
||||||
'includes': [
|
'includes': [
|
||||||
'common.gypi',
|
'common.gypi',
|
||||||
'settings_win.gypi',
|
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
14
Telegram/gyp/print_version.sh
Executable file
14
Telegram/gyp/print_version.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
set -e
|
||||||
|
FullExecPath=$PWD
|
||||||
|
pushd `dirname $0` > /dev/null
|
||||||
|
FullScriptPath=`pwd`
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||||
|
set $line
|
||||||
|
eval $1="$2"
|
||||||
|
done < "$FullScriptPath/../build/version"
|
||||||
|
|
||||||
|
echo $AppVersionStr
|
||||||
|
exit
|
||||||
|
|
|
@ -21,51 +21,77 @@
|
||||||
'variables': {
|
'variables': {
|
||||||
'variables': {
|
'variables': {
|
||||||
'variables': {
|
'variables': {
|
||||||
'qt_version%': '5.6.0',
|
'variables': {
|
||||||
|
'qt_libs': [
|
||||||
|
'Qt5Core',
|
||||||
|
'Qt5Gui',
|
||||||
|
'Qt5Widgets',
|
||||||
|
'qtharfbuzzng',
|
||||||
|
'Qt5Network',
|
||||||
|
'Qt5PlatformSupport',
|
||||||
|
'Qt5PrintSupport',
|
||||||
|
'qwebp',
|
||||||
|
],
|
||||||
|
'conditions': [
|
||||||
|
[ 'build_macold', {
|
||||||
|
'qt_version%': '5.3.2',
|
||||||
|
}, {
|
||||||
|
'qt_version%': '5.6.0',
|
||||||
|
}]
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'qt_version%': '<(qt_version)',
|
||||||
|
'conditions': [
|
||||||
|
[ 'build_win', {
|
||||||
|
'qt_lib_prefix': '<(ld_lib_prefix)',
|
||||||
|
'qt_lib_debug_postfix': 'd<(ld_lib_postfix)',
|
||||||
|
'qt_lib_release_postfix': '<(ld_lib_postfix)',
|
||||||
|
'qt_libs': [
|
||||||
|
'<@(qt_libs)',
|
||||||
|
'qtmain',
|
||||||
|
'qwindows',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
[ 'build_mac', {
|
||||||
|
'qt_lib_prefix': '<(ld_lib_prefix)',
|
||||||
|
'qt_lib_debug_postfix': '_debug<(ld_lib_postfix)',
|
||||||
|
'qt_lib_release_postfix': '<(ld_lib_postfix)',
|
||||||
|
'qt_libs': [
|
||||||
|
'<@(qt_libs)',
|
||||||
|
'qgenericbearer',
|
||||||
|
'qcocoa',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
[ 'build_macold', {
|
||||||
|
'qt_loc_unix': '/usr/local/Qt-<(qt_version)'
|
||||||
|
}, {
|
||||||
|
'qt_loc_unix': '/usr/local/tdesktop/Qt-<(qt_version)',
|
||||||
|
'qt_libs': [
|
||||||
|
'<@(qt_libs)',
|
||||||
|
'qtfreetype',
|
||||||
|
'qtpcre',
|
||||||
|
],
|
||||||
|
}]
|
||||||
|
],
|
||||||
},
|
},
|
||||||
'qt_version%': '<(qt_version)',
|
'qt_version%': '<(qt_version)',
|
||||||
'qt_version_loc': '<!(python -c "print(\'<(qt_version)\'.replace(\'.\', \'_\')))',
|
'qt_loc_unix': '<(qt_loc_unix)',
|
||||||
'qtlibs_debug': [
|
'qt_version_loc': '<!(python -c "print(\'<(qt_version)\'.replace(\'.\', \'_\'))")',
|
||||||
'<(ld_lib_prefix)Qt5Cored<(ld_lib_postfix)',
|
'qt_libs_debug': [
|
||||||
'<(ld_lib_prefix)qtmaind<(ld_lib_postfix)',
|
'<!@(python -c "for s in \'<@(qt_libs)\'.split(\' \'): print(\'<(qt_lib_prefix)\' + s + \'<(qt_lib_debug_postfix)\')")',
|
||||||
'<(ld_lib_prefix)qtpcred<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5Guid<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)qtfreetyped<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5Widgetsd<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)qtharfbuzzngd<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5Networkd<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5PlatformSupportd<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)imageformats\qwebpd<(ld_lib_postfix)',
|
|
||||||
],
|
],
|
||||||
'qtlibs_release': [
|
'qt_libs_release': [
|
||||||
'<(ld_lib_prefix)Qt5Core<(ld_lib_postfix)',
|
'<!@(python -c "for s in \'<@(qt_libs)\'.split(\' \'): print(\'<(qt_lib_prefix)\' + s + \'<(qt_lib_release_postfix)\')")',
|
||||||
'<(ld_lib_prefix)qtmain<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)qtpcre<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5Gui<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)qtfreetype<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5Widgets<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)qtharfbuzzng<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5Network<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)Qt5PlatformSupport<(ld_lib_postfix)',
|
|
||||||
'<(ld_lib_prefix)imageformats\qwebp<(ld_lib_postfix)',
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
'qt_libs_debug': [ '<@(qt_libs_debug)' ],
|
||||||
|
'qt_libs_release': [ '<@(qt_libs_release)' ],
|
||||||
'qt_version%': '<(qt_version)',
|
'qt_version%': '<(qt_version)',
|
||||||
'conditions': [
|
'conditions': [
|
||||||
[ 'build_win', {
|
[ 'build_win', {
|
||||||
'qtlibs_debug': [
|
|
||||||
'<(ld_lib_prefix)platforms/qwindowsd<(ld_lib_postfix)',
|
|
||||||
'<@(qtlibs_debug)',
|
|
||||||
],
|
|
||||||
'qtlibs_release': [
|
|
||||||
'<(ld_lib_prefix)platforms/qwindows<(ld_lib_postfix)',
|
|
||||||
'<@(qtlibs_release)',
|
|
||||||
],
|
|
||||||
'qt_loc': '../../../Libraries/qt<(qt_version_loc)/qtbase',
|
'qt_loc': '../../../Libraries/qt<(qt_version_loc)/qtbase',
|
||||||
}, {
|
}, {
|
||||||
'qtlibs_debug': [ '<@(qtlibs_debug)' ],
|
'qt_loc': '<(qt_loc_unix)',
|
||||||
'qtlibs_release': [ '<@(qtlibs_release)' ],
|
|
||||||
'qt_loc': '/usr/local/qt<(qt_version_loc)/qtbase',
|
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -77,11 +103,19 @@
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCLinkerTool': {
|
'VCLinkerTool': {
|
||||||
'AdditionalDependencies': [
|
'AdditionalDependencies': [
|
||||||
'<@(qtlibs_debug)'
|
'<@(qt_libs_debug)',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
|
[ 'build_mac', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'<@(qt_libs_debug)',
|
||||||
|
'/usr/local/lib/libz.a',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'Release': {
|
'Release': {
|
||||||
|
@ -90,11 +124,19 @@
|
||||||
'msvs_settings': {
|
'msvs_settings': {
|
||||||
'VCLinkerTool': {
|
'VCLinkerTool': {
|
||||||
'AdditionalDependencies': [
|
'AdditionalDependencies': [
|
||||||
'<@(qtlibs_release)',
|
'<@(qt_libs_release)',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
|
[ 'build_mac', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'<@(qt_libs_release)',
|
||||||
|
'/usr/local/lib/libz.a',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -107,6 +149,9 @@
|
||||||
'library_dirs': [
|
'library_dirs': [
|
||||||
'<(qt_loc)/lib',
|
'<(qt_loc)/lib',
|
||||||
'<(qt_loc)/plugins',
|
'<(qt_loc)/plugins',
|
||||||
|
'<(qt_loc)/plugins/bearer',
|
||||||
|
'<(qt_loc)/plugins/platforms',
|
||||||
|
'<(qt_loc)/plugins/imageformats',
|
||||||
],
|
],
|
||||||
'defines': [
|
'defines': [
|
||||||
'QT_WIDGETS_LIB',
|
'QT_WIDGETS_LIB',
|
||||||
|
@ -122,13 +167,13 @@
|
||||||
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
|
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [
|
||||||
'<(qt_loc)/bin/moc.exe',
|
'<(qt_loc)/bin/moc<(exe_ext)',
|
||||||
|
|
||||||
# Silence "Note: No relevant classes found. No output generated."
|
# Silence "Note: No relevant classes found. No output generated."
|
||||||
'--no-notes',
|
'--no-notes',
|
||||||
|
|
||||||
'<!@(python -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s))',
|
'<!@(python -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")',
|
||||||
# '<!@(python -c "for s in \'<@(_include_dirs)\'.split(\' \'): print(\'-I\' + s))',
|
# '<!@(python -c "for s in \'<@(_include_dirs)\'.split(\' \'): print(\'-I\' + s)")',
|
||||||
'<(RULE_INPUT_PATH)',
|
'<(RULE_INPUT_PATH)',
|
||||||
'-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
|
'-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
|
||||||
],
|
],
|
||||||
|
@ -144,7 +189,7 @@
|
||||||
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/qrc/qrc_<(RULE_INPUT_ROOT).cpp',
|
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/qrc/qrc_<(RULE_INPUT_ROOT).cpp',
|
||||||
],
|
],
|
||||||
'action': [
|
'action': [
|
||||||
'<(qt_loc)/bin/rcc.exe',
|
'<(qt_loc)/bin/rcc<(exe_ext)',
|
||||||
'-name', '<(RULE_INPUT_ROOT)',
|
'-name', '<(RULE_INPUT_ROOT)',
|
||||||
'-no-compress',
|
'-no-compress',
|
||||||
'<(RULE_INPUT_PATH)',
|
'<(RULE_INPUT_PATH)',
|
||||||
|
|
17
Telegram/gyp/refresh.sh
Executable file
17
Telegram/gyp/refresh.sh
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
set -e
|
||||||
|
FullExecPath=$PWD
|
||||||
|
pushd `dirname $0` > /dev/null
|
||||||
|
FullScriptPath=`pwd`
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
cd $FullScriptPath
|
||||||
|
#gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=ninja
|
||||||
|
#gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=xcode-ninja
|
||||||
|
#gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=xcode
|
||||||
|
# use patched gyp with Xcode project generator
|
||||||
|
../../../Libraries/gyp/gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=xcode
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
cd $FullExecPath
|
||||||
|
exit
|
||||||
|
|
105
Telegram/gyp/settings_mac.gypi
Normal file
105
Telegram/gyp/settings_mac.gypi
Normal file
|
@ -0,0 +1,105 @@
|
||||||
|
# This file is part of Telegram Desktop,
|
||||||
|
# the official desktop version of Telegram messaging app, see https://telegram.org
|
||||||
|
#
|
||||||
|
# Telegram Desktop is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# It is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# In addition, as a special exception, the copyright holders give permission
|
||||||
|
# to link the code of portions of this program with the OpenSSL library.
|
||||||
|
#
|
||||||
|
# Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||||
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
|
{
|
||||||
|
'conditions': [
|
||||||
|
[ 'build_mac', {
|
||||||
|
'variables': {
|
||||||
|
'mac_frameworks': [
|
||||||
|
'Cocoa',
|
||||||
|
'CoreFoundation',
|
||||||
|
'CoreServices',
|
||||||
|
'CoreText',
|
||||||
|
'CoreGraphics',
|
||||||
|
'OpenGL',
|
||||||
|
'AudioUnit',
|
||||||
|
'ApplicationServices',
|
||||||
|
'Foundation',
|
||||||
|
'AGL',
|
||||||
|
'Security',
|
||||||
|
'SystemConfiguration',
|
||||||
|
'Carbon',
|
||||||
|
'AudioToolbox',
|
||||||
|
'CoreAudio',
|
||||||
|
'QuartzCore',
|
||||||
|
'AppKit',
|
||||||
|
'CoreWLAN',
|
||||||
|
'IOKit',
|
||||||
|
],
|
||||||
|
'mac_common_flags': [
|
||||||
|
'-pipe',
|
||||||
|
'-g',
|
||||||
|
'-Wall',
|
||||||
|
'-W',
|
||||||
|
'-fPIE',
|
||||||
|
'-Wno-unused-variable',
|
||||||
|
'-Wno-unused-parameter',
|
||||||
|
'-Wno-unused-function',
|
||||||
|
'-Wno-switch',
|
||||||
|
'-Wno-comment',
|
||||||
|
'-Wno-missing-field-initializers',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'xcode_settings': {
|
||||||
|
'SYMROOT': '../../out',
|
||||||
|
'OTHER_CFLAGS': [
|
||||||
|
'<@(mac_common_flags)',
|
||||||
|
],
|
||||||
|
'OTHER_CPLUSPLUSFLAGS': [
|
||||||
|
'<@(mac_common_flags)',
|
||||||
|
],
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'<!@(python -c "for s in \'<@(mac_frameworks)\'.split(\' \'): print(\'-framework \' + s)")',
|
||||||
|
],
|
||||||
|
'MACOSX_DEPLOYMENT_TARGET': '<(mac_target)',
|
||||||
|
'COMBINE_HIDPI_IMAGES': 'YES',
|
||||||
|
'COPY_PHASE_STRIP': 'NO',
|
||||||
|
'CLANG_CXX_LANGUAGE_STANDARD': 'c++14',
|
||||||
|
},
|
||||||
|
'configurations': {
|
||||||
|
'Debug': {
|
||||||
|
'xcode_settings': {
|
||||||
|
'ENABLE_TESTABILITY': 'YES',
|
||||||
|
'ONLY_ACTIVE_ARCH': 'YES',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
[ 'build_macold', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'OTHER_CFLAGS': [
|
||||||
|
'-Wno-inconsistent-missing-override',
|
||||||
|
],
|
||||||
|
'OTHER_CPLUSPLUSFLAGS': [
|
||||||
|
'-Wno-inconsistent-missing-override',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}, {
|
||||||
|
'xcode_settings': {
|
||||||
|
'CLANG_CXX_LIBRARY': 'libc++',
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'-framework', 'VideoToolbox',
|
||||||
|
'-framework', 'VideoDecodeAcceleration',
|
||||||
|
'-framework', 'AVFoundation',
|
||||||
|
'-framework', 'CoreMedia',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
],
|
||||||
|
}
|
36
Telegram/gyp/telegram_linux.gypi
Normal file
36
Telegram/gyp/telegram_linux.gypi
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# This file is part of Telegram Desktop,
|
||||||
|
# the official desktop version of Telegram messaging app, see https://telegram.org
|
||||||
|
#
|
||||||
|
# Telegram Desktop is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# It is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# In addition, as a special exception, the copyright holders give permission
|
||||||
|
# to link the code of portions of this program with the OpenSSL library.
|
||||||
|
#
|
||||||
|
# Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||||
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
|
{
|
||||||
|
'conditions': [[ 'build_linux', {
|
||||||
|
'include_dirs': [
|
||||||
|
'/usr/local/include',
|
||||||
|
'<(libs_loc)/openssl-xcode/include'
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'/usr/local/lib',
|
||||||
|
'<(libs_loc)/libexif-0.6.20/libexif/.libs',
|
||||||
|
],
|
||||||
|
'libraries': [
|
||||||
|
'-lssl',
|
||||||
|
'-lcrypto',
|
||||||
|
'-llzma',
|
||||||
|
],
|
||||||
|
}]],
|
||||||
|
}
|
227
Telegram/gyp/telegram_mac.gypi
Normal file
227
Telegram/gyp/telegram_mac.gypi
Normal file
|
@ -0,0 +1,227 @@
|
||||||
|
# This file is part of Telegram Desktop,
|
||||||
|
# the official desktop version of Telegram messaging app, see https://telegram.org
|
||||||
|
#
|
||||||
|
# Telegram Desktop is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# It is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# In addition, as a special exception, the copyright holders give permission
|
||||||
|
# to link the code of portions of this program with the OpenSSL library.
|
||||||
|
#
|
||||||
|
# Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||||
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
|
{
|
||||||
|
'conditions': [[ 'build_mac', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'GCC_PREFIX_HEADER': '<(src_loc)/stdafx.h',
|
||||||
|
'GCC_PRECOMPILE_PREFIX_HEADER': 'YES',
|
||||||
|
'INFOPLIST_FILE': '../Telegram.plist',
|
||||||
|
'CURRENT_PROJECT_VERSION': '<!(./print_version.sh)',
|
||||||
|
'ASSETCATALOG_COMPILER_APPICON_NAME': 'AppIcon',
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'-lcups',
|
||||||
|
'-lbsm',
|
||||||
|
'-lm',
|
||||||
|
'-lssl',
|
||||||
|
'-lcrypto',
|
||||||
|
'/usr/local/lib/liblzma.a',
|
||||||
|
'/usr/local/lib/libopus.a',
|
||||||
|
'/usr/local/lib/libexif.a',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'include_dirs': [
|
||||||
|
'/usr/local/include',
|
||||||
|
'<(libs_loc)/openssl-xcode/include'
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'/usr/local/lib',
|
||||||
|
'<(libs_loc)/libexif-0.6.20/libexif/.libs',
|
||||||
|
'<(libs_loc)/openssl-xcode',
|
||||||
|
],
|
||||||
|
'configurations': {
|
||||||
|
'Debug': {
|
||||||
|
'xcode_settings': {
|
||||||
|
'GCC_OPTIMIZATION_LEVEL': '0',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'Release': {
|
||||||
|
'xcode_settings': {
|
||||||
|
'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
|
||||||
|
'LLVM_LTO': 'YES',
|
||||||
|
'GCC_OPTIMIZATION_LEVEL': 'fast',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'mac_bundle': '1',
|
||||||
|
'mac_bundle_resources': [
|
||||||
|
'<!@(python -c "for s in \'<@(langpacks)\'.split(\' \'): print(\'<(res_loc)/langs/\' + s + \'.lproj/Localizable.strings\')")',
|
||||||
|
'../Telegram/Images.xcassets'
|
||||||
|
],
|
||||||
|
}], [ 'build_macold', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'PRODUCT_BUNDLE_IDENTIFIER': 'com.tdesktop.Telegram',
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'/usr/local/openal_old/lib/libopenal.a',
|
||||||
|
'/usr/local/zlib_old/lib/libz.a',
|
||||||
|
'/usr/local/iconv_old/lib/libiconv.a',
|
||||||
|
'/usr/local/ffmpeg_old/lib/libavcodec.a',
|
||||||
|
'/usr/local/ffmpeg_old/lib/libavformat.a',
|
||||||
|
'/usr/local/ffmpeg_old/lib/libavutil.a',
|
||||||
|
'/usr/local/ffmpeg_old/lib/libswscale.a',
|
||||||
|
'/usr/local/ffmpeg_old/lib/libswresample.a',
|
||||||
|
'-lbase',
|
||||||
|
'-lcrashpad_client',
|
||||||
|
'-lcrashpad_util',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'include_dirs': [
|
||||||
|
'<(libs_loc)/crashpad_oldmac/crashpad',
|
||||||
|
'<(libs_loc)/crashpad_oldmac/crashpad/third_party/mini_chromium/mini_chromium',
|
||||||
|
],
|
||||||
|
'configurations': {
|
||||||
|
'Debug': {
|
||||||
|
'library_dirs': [
|
||||||
|
'<(libs_loc)/crashpad_oldmac/crashpad/out/Debug',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'Release': {
|
||||||
|
'library_dirs': [
|
||||||
|
'<(libs_loc)/crashpad_oldmac/crashpad/out/Release',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'postbuilds': [{
|
||||||
|
'postbuild_name': 'Force Frameworks path',
|
||||||
|
'action': [
|
||||||
|
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/'
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Copy Updater to Frameworks',
|
||||||
|
'action': [
|
||||||
|
'cp',
|
||||||
|
'${BUILT_PRODUCTS_DIR}/Updater',
|
||||||
|
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/',
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Force Helpers path',
|
||||||
|
'action': [
|
||||||
|
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/'
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Copy crashpad_handler to Helpers',
|
||||||
|
'action': [
|
||||||
|
'cp',
|
||||||
|
'<(libs_loc)/crashpad_oldmac/crashpad/out/${CONFIGURATION}/crashpad_handler',
|
||||||
|
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
}, {
|
||||||
|
'xcode_settings': {
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'/usr/local/lib/libz.a',
|
||||||
|
'/usr/local/lib/libopenal.a',
|
||||||
|
'/usr/local/lib/libiconv.a',
|
||||||
|
'/usr/local/lib/libavcodec.a',
|
||||||
|
'/usr/local/lib/libavformat.a',
|
||||||
|
'/usr/local/lib/libavutil.a',
|
||||||
|
'/usr/local/lib/libswscale.a',
|
||||||
|
'/usr/local/lib/libswresample.a',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'include_dirs': [
|
||||||
|
'<(libs_loc)/crashpad/crashpad',
|
||||||
|
'<(libs_loc)/crashpad/crashpad/third_party/mini_chromium/mini_chromium',
|
||||||
|
],
|
||||||
|
'configurations': {
|
||||||
|
'Debug': {
|
||||||
|
'library_dirs': [
|
||||||
|
'<(libs_loc)/crashpad/crashpad/out/Debug',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'Release': {
|
||||||
|
'library_dirs': [
|
||||||
|
'<(libs_loc)/crashpad/crashpad/out/Release',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}], [ '"<(build_macold)" != "1" and "<(build_macstore)" != "1"', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'PRODUCT_BUNDLE_IDENTIFIER': 'com.tdesktop.Telegram',
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'-lbase',
|
||||||
|
'-lcrashpad_client',
|
||||||
|
'-lcrashpad_util',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'postbuilds': [{
|
||||||
|
'postbuild_name': 'Force Frameworks path',
|
||||||
|
'action': [
|
||||||
|
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/'
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Copy Updater to Frameworks',
|
||||||
|
'action': [
|
||||||
|
'cp',
|
||||||
|
'${BUILT_PRODUCTS_DIR}/Updater',
|
||||||
|
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/',
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Force Helpers path',
|
||||||
|
'action': [
|
||||||
|
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/'
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Copy crashpad_client to Helpers',
|
||||||
|
'action': [
|
||||||
|
'cp',
|
||||||
|
'<(libs_loc)/crashpad/crashpad/out/${CONFIGURATION}/crashpad_handler',
|
||||||
|
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
}], [ 'build_macstore', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'PRODUCT_BUNDLE_IDENTIFIER': 'org.telegram.desktop',
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'-framework', 'Breakpad',
|
||||||
|
],
|
||||||
|
'FRAMEWORK_SEARCH_PATHS': [
|
||||||
|
'<(libs_loc)/breakpad/src/client/mac/build/Release',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'mac_sandbox': 1,
|
||||||
|
'mac_sandbox_development_team': '6N38VWS5BX',
|
||||||
|
'product_name': 'Telegram Desktop',
|
||||||
|
'sources': [
|
||||||
|
'../Telegram/Telegram Desktop.entitlements',
|
||||||
|
],
|
||||||
|
'defines': [
|
||||||
|
'TDESKTOP_DISABLE_AUTOUPDATE',
|
||||||
|
'OS_MAC_STORE',
|
||||||
|
],
|
||||||
|
'postbuilds': [{
|
||||||
|
'postbuild_name': 'Clear Frameworks path',
|
||||||
|
'action': [
|
||||||
|
'rm', '-rf', '${BUILT_PRODUCTS_DIR}/Telegram Desktop.app/Contents/Frameworks'
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Force Frameworks path',
|
||||||
|
'action': [
|
||||||
|
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram Desktop.app/Contents/Frameworks/'
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'postbuild_name': 'Copy Breakpad.framework to Frameworks',
|
||||||
|
'action': [
|
||||||
|
'cp', '-a',
|
||||||
|
'<(libs_loc)/breakpad/src/client/mac/build/Release/Breakpad.framework',
|
||||||
|
'${BUILT_PRODUCTS_DIR}/Telegram Desktop.app/Contents/Frameworks/Breakpad.framework',
|
||||||
|
],
|
||||||
|
}]
|
||||||
|
}]],
|
||||||
|
}
|
50
Telegram/gyp/telegram_qrc.gypi
Normal file
50
Telegram/gyp/telegram_qrc.gypi
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
# This file is part of Telegram Desktop,
|
||||||
|
# the official desktop version of Telegram messaging app, see https://telegram.org
|
||||||
|
#
|
||||||
|
# Telegram Desktop is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# It is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# In addition, as a special exception, the copyright holders give permission
|
||||||
|
# to link the code of portions of this program with the OpenSSL library.
|
||||||
|
#
|
||||||
|
# Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||||
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
|
{
|
||||||
|
'variables': {
|
||||||
|
'qrc_files': [
|
||||||
|
'<(res_loc)/telegram.qrc',
|
||||||
|
'<(res_loc)/telegram_emojis.qrc',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'conditions': [
|
||||||
|
[ 'build_linux', {
|
||||||
|
'variables': {
|
||||||
|
'qrc_files': [
|
||||||
|
'<(res_loc)/telegram_linux.qrc',
|
||||||
|
],
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
[ 'build_mac', {
|
||||||
|
'variables': {
|
||||||
|
'qrc_files': [
|
||||||
|
'<(res_loc)/telegram_mac.qrc',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
[ 'build_win', {
|
||||||
|
'variables': {
|
||||||
|
'qrc_files': [
|
||||||
|
'<(res_loc)/telegram_wnd.qrc',
|
||||||
|
],
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
],
|
||||||
|
}
|
86
Telegram/gyp/telegram_win.gypi
Normal file
86
Telegram/gyp/telegram_win.gypi
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
# This file is part of Telegram Desktop,
|
||||||
|
# the official desktop version of Telegram messaging app, see https://telegram.org
|
||||||
|
#
|
||||||
|
# Telegram Desktop is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# It is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# In addition, as a special exception, the copyright holders give permission
|
||||||
|
# to link the code of portions of this program with the OpenSSL library.
|
||||||
|
#
|
||||||
|
# Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||||
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
|
{
|
||||||
|
'conditions': [[ 'build_win', {
|
||||||
|
'msvs_precompiled_source': '<(src_loc)/stdafx.cpp',
|
||||||
|
'msvs_precompiled_header': '<(src_loc)/stdafx.h',
|
||||||
|
'msbuild_toolset': 'v140_xp', #Windows7.1SDK
|
||||||
|
'sources': [
|
||||||
|
'<(res_loc)/winrc/Telegram.rc',
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'<(libs_loc)/ffmpeg',
|
||||||
|
],
|
||||||
|
'libraries': [
|
||||||
|
'libeay32',
|
||||||
|
'ssleay32',
|
||||||
|
'Crypt32',
|
||||||
|
'zlibstat',
|
||||||
|
'LzmaLib',
|
||||||
|
'UxTheme',
|
||||||
|
'DbgHelp',
|
||||||
|
'lib_exif',
|
||||||
|
'OpenAL32',
|
||||||
|
'common',
|
||||||
|
'libavformat/libavformat.a',
|
||||||
|
'libavcodec/libavcodec.a',
|
||||||
|
'libavutil/libavutil.a',
|
||||||
|
'libswresample/libswresample.a',
|
||||||
|
'libswscale/libswscale.a',
|
||||||
|
'opus',
|
||||||
|
'celt',
|
||||||
|
'silk_common',
|
||||||
|
'silk_float',
|
||||||
|
'lib/common',
|
||||||
|
'lib/exception_handler',
|
||||||
|
'lib/crash_generation_client',
|
||||||
|
],
|
||||||
|
'configurations': {
|
||||||
|
'Debug': {
|
||||||
|
'include_dirs': [
|
||||||
|
'<(libs_loc)/openssl_debug/Debug/include',
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'<(libs_loc)/openssl_debug/Debug/lib',
|
||||||
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
||||||
|
'<(libs_loc)/libexif-0.6.20/win32/Debug',
|
||||||
|
'<(libs_loc)/opus/win32/VS2010/Win32/Debug',
|
||||||
|
'<(libs_loc)/openal-soft/build/Debug',
|
||||||
|
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatDebug',
|
||||||
|
'<(libs_loc)/breakpad/src/client/windows/Debug',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
'Release': {
|
||||||
|
'include_dirs': [
|
||||||
|
'<(libs_loc)/openssl/Release/include',
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'<(libs_loc)/openssl/Release/lib',
|
||||||
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
||||||
|
'<(libs_loc)/libexif-0.6.20/win32/Release',
|
||||||
|
'<(libs_loc)/opus/win32/VS2010/Win32/Release',
|
||||||
|
'<(libs_loc)/openal-soft/build/Release',
|
||||||
|
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatRelease',
|
||||||
|
'<(libs_loc)/breakpad/src/client/windows/Release',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}]],
|
||||||
|
}
|
|
@ -18,6 +18,9 @@
|
||||||
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
# Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||||
|
|
||||||
{
|
{
|
||||||
|
'includes': [
|
||||||
|
'common.gypi',
|
||||||
|
],
|
||||||
'targets': [{
|
'targets': [{
|
||||||
'target_name': 'Updater',
|
'target_name': 'Updater',
|
||||||
'variables': {
|
'variables': {
|
||||||
|
@ -65,19 +68,30 @@
|
||||||
'variables': {
|
'variables': {
|
||||||
'libs_loc': '../../../Libraries',
|
'libs_loc': '../../../Libraries',
|
||||||
'src_loc': '../SourceFiles',
|
'src_loc': '../SourceFiles',
|
||||||
|
'mac_target': '10.10',
|
||||||
},
|
},
|
||||||
'includes': [
|
'includes': [
|
||||||
'common_executable.gypi',
|
'common_executable.gypi',
|
||||||
'qt.gypi',
|
'qt.gypi',
|
||||||
],
|
],
|
||||||
'libraries': [
|
'conditions': [
|
||||||
'libeay32',
|
[ 'build_win', {
|
||||||
'ssleay32',
|
'libraries': [
|
||||||
'Crypt32',
|
'libeay32',
|
||||||
'zlibstat',
|
'ssleay32',
|
||||||
'LzmaLib',
|
'Crypt32',
|
||||||
|
'zlibstat',
|
||||||
|
'LzmaLib',
|
||||||
|
],
|
||||||
|
}],
|
||||||
],
|
],
|
||||||
|
'xcode_settings': {
|
||||||
|
'OTHER_LDFLAGS': [
|
||||||
|
'-lssl',
|
||||||
|
'-lcrypto',
|
||||||
|
'-llzma',
|
||||||
|
],
|
||||||
|
},
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(src_loc)',
|
'<(src_loc)',
|
||||||
'<(libs_loc)/lzma/C',
|
'<(libs_loc)/lzma/C',
|
||||||
|
@ -89,23 +103,47 @@
|
||||||
],
|
],
|
||||||
'configurations': {
|
'configurations': {
|
||||||
'Debug': {
|
'Debug': {
|
||||||
'include_dirs': [
|
'conditions': [
|
||||||
'<(libs_loc)/openssl_debug/Debug/include',
|
[ 'build_win', {
|
||||||
],
|
'include_dirs': [
|
||||||
'library_dirs': [
|
'<(libs_loc)/openssl_debug/Debug/include',
|
||||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
],
|
||||||
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatDebug',
|
'library_dirs': [
|
||||||
'<(libs_loc)/openssl_debug/Debug/lib',
|
'<(libs_loc)/openssl_debug/Debug/lib',
|
||||||
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
||||||
|
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatDebug',
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'include_dirs': [
|
||||||
|
'/usr/local/include',
|
||||||
|
'<(libs_loc)/openssl-xcode/include'
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'/usr/local/lib',
|
||||||
|
],
|
||||||
|
}]
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'Release': {
|
'Release': {
|
||||||
'include_dirs': [
|
'conditions': [
|
||||||
'<(libs_loc)/openssl/Release/include',
|
[ 'build_win', {
|
||||||
],
|
'include_dirs': [
|
||||||
'library_dirs': [
|
'<(libs_loc)/openssl/Release/include',
|
||||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
],
|
||||||
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatRelease',
|
'library_dirs': [
|
||||||
'<(libs_loc)/openssl/Release/lib',
|
'<(libs_loc)/openssl/Release/lib',
|
||||||
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
||||||
|
'<(libs_loc)/zlib-1.2.8/contrib/vstudio/vc11/x86/ZlibStatRelease',
|
||||||
|
],
|
||||||
|
}, {
|
||||||
|
'include_dirs': [
|
||||||
|
'/usr/local/include',
|
||||||
|
'<(libs_loc)/openssl-xcode/include'
|
||||||
|
],
|
||||||
|
'library_dirs': [
|
||||||
|
'/usr/local/lib',
|
||||||
|
],
|
||||||
|
}]
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue