Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Sutherland <git@ksuther.com>2019-07-30 18:45:54 +0300
committerBen Wiederhake <BenWiederhake.GitHub@gmx.de>2019-07-30 21:53:42 +0300
commitdb12b131434a62b25e879d8b7049ee2027a0a53f (patch)
tree559e10b153c1cbd74663a59125dec25d5ca83fb9
parent2e51d83f0ad89cef2fbd8f8ff5ff1812252b60f3 (diff)
Updated README for Adium build instructions
-rw-r--r--README.md25
1 files changed, 13 insertions, 12 deletions
diff --git a/README.md b/README.md
index a9ca74c..b598962 100644
--- a/README.md
+++ b/README.md
@@ -227,29 +227,30 @@ Compiling with XCode is a little bit problematic, since it requires you to compi
1. Get the Adium source, compile it with XCode and copy the build output into telegram-adium/Frameworks/Adium. It should contain at least Adium.framework, AdiumLibpurple.framework and AIUitilies.framework
2. Open the Adium source code, go to ./Frameworks and copy libglib.framework and libpurple.framework into telegram-adium/Frameworks/Adium
3. Build the tgl submodule and delete libtgl.so from libs/ (it should only contain libtgl.a)
-4. Install libwebp, libgcrypt and gnupg with homebrew:
+4. Install libpng, libwebp, libgcrypt and gnupg with homebrew:
- brew install webp
+ brew install libpng webp
brew install libgcrypt libgpg-error
5. If you already downloaded libwebp/libgcrypt in previous builds make sure that the binaries are up-to-date
- brew update
- brew upgrade webp libgcrypt
+ brew update
+ brew upgrade libpng webp libgcrypt
6. Install with homebrew and move it into the appropriate directory so that XCode can find them. Note that the versions might differ, use the one that is
- mkdir -p ./telegram-adium/Frameworks/Adium
- cp /usr/local/Cellar/webp/0.4.3/lib/libwebp.a ./telegram-adium/Frameworks
- cp /usr/local/Cellar/libgcrypt/1.6.4/lib/libgcrypt.20.dylib ./telegram-adium/Frameworks/Adium
- cp /usr/local/Cellar/libgpg-error/1.20_1/lib/libgpg-error.0.dylib ./telegram-adium/Frameworks/Adium
+ mkdir -p ./telegram-adium/Frameworks/Adium
+ cp /usr/local/Cellar/libpng/1.6.37/lib/libpng.a ./telegram-adium/Frameworks
+ cp /usr/local/Cellar/webp/1.0.3/lib/libwebp.a ./telegram-adium/Frameworks
+ cp /usr/local/Cellar/libgcrypt/1.8.4/lib/libgcrypt.20.dylib ./telegram-adium/Frameworks/Adium
+ cp /usr/local/Cellar/libgpg-error/1.36/lib/libgpg-error.0.dylib ./telegram-adium/Frameworks/Adium
7. Update the paths in the dylibs, to assure that the resulting binary will load them form within the bundle.
- cd ./telegram-adium/Frameworks/Adium
- install_name_tool -id "@loader_path/../Resources/libgcrypt.20.dylib" ./libgcrypt.20.dylib
- install_name_tool -id "@loader_path/../Resources/libgpg-error.0.dylib" ./libgpg-error.0.dylib
- install_name_tool -change "/usr/local/lib/libgpg-error.0.dylib" "@loader_path/../Resources/libgpg-error.0.dylib" ./libgcrypt.20.dylib
+ cd ./telegram-adium/Frameworks/Adium
+ install_name_tool -id "@loader_path/../Resources/libgcrypt.20.dylib" ./libgcrypt.20.dylib
+ install_name_tool -id "@loader_path/../Resources/libgpg-error.0.dylib" ./libgpg-error.0.dylib
+ install_name_tool -change "/usr/local/lib/libgpg-error.0.dylib" "@loader_path/../Resources/libgpg-error.0.dylib" ./libgcrypt.20.dylib
7. Build the XCode-Project and execute the created bundle