summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/DEPENDENCIES.txt
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2015-03-26 20:36:44 +0000
committerRené Schümann <white06tiger@gmail.com>2015-03-26 20:36:44 +0000
commit52c68e0b3cf78f578da1754fbd6589d1936804f9 (patch)
treecc904ae4d781db1c184775364519d3232b2ec4bc /plugins/MirOTR/DEPENDENCIES.txt
parentc42ecf6c0bd9f0c12bad6b3cda158f004cbec0fe (diff)
MirOTR: added files required by libotr while configuring it from source and updated DEPENDENCIES.txt accordingly (also added Git hash for libotr)
git-svn-id: http://svn.miranda-ng.org/main/trunk@12501 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/DEPENDENCIES.txt')
-rw-r--r--plugins/MirOTR/DEPENDENCIES.txt16
1 files changed, 11 insertions, 5 deletions
diff --git a/plugins/MirOTR/DEPENDENCIES.txt b/plugins/MirOTR/DEPENDENCIES.txt
index 855d7eb456..4a005e605b 100644
--- a/plugins/MirOTR/DEPENDENCIES.txt
+++ b/plugins/MirOTR/DEPENDENCIES.txt
@@ -5,12 +5,12 @@ Libgpg-error ( https://gnupg.org/download/ )
Libgcrypt ( https://gnupg.org/download/ )
1.6.3
libotr ( https://otr.cypherpunks.ca/ )
- 3.2.0
+ 3.2.0 (hash 2deecec)
-HOW TO UPDATE DEPENDENCIES
+HOW_TO_UPDATE_DEPENDENCIES
in theory, it's possible to use MSYS + MSVC to do the following, but I've used GCC for convenience as my MSVC didn't want to :P
I've used MSYS2 and its own GCC (used 32bit as reference in hope that it will work for 64bit as well)
@@ -37,7 +37,7 @@ HOW TO UPDATE DEPENDENCIES
since we don't build Libgpg-error but include it directly into Libgcrypt, config.h isn't really needed
- Libgcrypt (from tarball)
- - run MSYS
+ - run MSYS from MirOTR directory
tar xvf libgcrypt-1.6.3.tar.bz2
cd libgcrypt-1.6.3
export GPG_ERROR_CONFIG=$(pwd)/../Libgpg-error/gpg-error-config
@@ -45,15 +45,18 @@ HOW TO UPDATE DEPENDENCIES
- copy .c and .h files from cipher/ to our Libgcrypt
- copy .c and .h files from compat/ to our Libgcrypt
- copy mpi/ and random/ to our Libgcrypt
- - copy .c,.h,.def files from src/ to our Libgcrypt
- - copy config.h to our Libgcrypt custom/
+ - copy .c,.h,.def,.m4 and libgcrypt-config from src/ to our Libgcrypt
- cipher/cipher-ccm.c: replace "tmp[blocksize];" with "tmp[16];" as MSVC is quite dumb
- cipher/stribog.c: replace "u64 Z[8] = {};" with "u64 Z[8] = {0};"
+ - copy config.h to our Libgcrypt custom/
- config.h: see CONVERT_CONFIG_H_FROM_GCC_TO_MSVC
- libotr (from Git)
- tbd
+
+
+
CONVERT_CONFIG_H_FROM_GCC_TO_MSVC
convert from GCC configured config to MSVC settings
- define disabling ( simply comment them out or replace with /* #undef <define> */ )
@@ -82,6 +85,9 @@ CONVERT_CONFIG_H_FROM_GCC_TO_MSVC
- see CUSTOM_CONFIG_H_MODIFICATIONS
+
+
+
CUSTOM_CONFIG_H_MODIFICATIONS
we do some Miranda NG / MSVC related modifications to *config.h files
simply append: