From 7de393b86db4fe8dcb779e0559dea6508b7d73c1 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Thu, 22 Jan 2015 17:28:08 -0800 Subject: Updated README instructions: removed uchardet dependency --- build-linux/README.md | 2 +- build-mac/README.md | 4 ++-- build-windows/README.md | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/build-linux/README.md b/build-linux/README.md index 4ddd6b13..5c69644a 100644 --- a/build-linux/README.md +++ b/build-linux/README.md @@ -4,7 +4,7 @@ ``` sudo apt-get install libctemplate-dev libicu-dev libsasl2-dev libtidy-dev \ - uuid-dev libxml2-dev libuchardet-dev libglib2.0-dev autoconf automake libtool + uuid-dev libxml2-dev libglib2.0-dev autoconf automake libtool ``` - Grab and compile the latest of libetpan: https://github.com/dinhviethoa/libetpan diff --git a/build-mac/README.md b/build-mac/README.md index 3263d423..2d3c9f8a 100644 --- a/build-mac/README.md +++ b/build-mac/README.md @@ -35,14 +35,14 @@ Download the latest [build for OS X](http://d.etpan.org/mailcore2-deps/mailcore2 - Click the `+` icon and select `MailCore.framework`. * Mac static library - Go to Build Phases from your build target, and under 'Link Binary With Libraries', add `libMailCore.a` and `Security.framework`. - - Set 'Other Linker Flags' under Build Settings: `-luchardet -lctemplate -letpan -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC -lcrypto -lssl` + - Set 'Other Linker Flags' under Build Settings: `-lctemplate -letpan -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC -lcrypto -lssl` - Make sure to use LLVM C++ standard library. In Build Settings, locate 'C++ Standard Library', and select `libc++`. - In Build Phases, add a Target Dependency of `static mailcore2 osx`. 5. **For iOS** - If you're targeting iOS, you have to link against MailCore 2 as a static library: * Add `libMailCore-ios.a` * Add `CFNetwork.framework` * Add `Security.framework` - * Set 'Other Linker Flags': `-luchardet-ios -lctemplate-ios -letpan-ios -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC` + * Set 'Other Linker Flags': `-lctemplate-ios -letpan-ios -lxml2 -lsasl2 -liconv -ltidy -lz` `-lc++ -stdlib=libc++ -ObjC` * Make sure to use LLVM C++ standard library. Open Build Settings, scroll down to 'C++ Standard Library', and select `libc++`. * In Build Phases, add a Target Dependency of `static mailcore2 ios`. 6. **For Swift** - If you are using Mailcore in a Swift project you also need to complete the following steps: diff --git a/build-windows/README.md b/build-windows/README.md index ac0a3ddc..a624bb47 100644 --- a/build-windows/README.md +++ b/build-windows/README.md @@ -15,7 +15,6 @@ Also, you'll need all the dependencies, download the most recent binary builds i - [Cyrus SASL](http://d.etpan.org/mailcore2-deps/cyrus-sasl-win32/) - [LibXML 2](http://d.etpan.org/mailcore2-deps/libxml2-win32/) - [Tidy HTML5](http://d.etpan.org/mailcore2-deps/tidy-html5-win32/) -- [uchardet](http://d.etpan.org/mailcore2-deps/uchardet-win32/) - [zlib](http://d.etpan.org/mailcore2-deps/zlib-win32/) - [ICU, OpenSSL and pthread for win32](http://d.etpan.org/mailcore2-deps/misc-win32/) @@ -28,11 +27,10 @@ You'll need all the dependencies, download the most recent binary builds in: - [Cyrus SASL](http://d.etpan.org/mailcore2-deps/cyrus-sasl-win32/) - [LibXML 2](http://d.etpan.org/mailcore2-deps/libxml2-win32/) - [Tidy HTML5](http://d.etpan.org/mailcore2-deps/tidy-html5-win32/) -- [uchardet](http://d.etpan.org/mailcore2-deps/uchardet-win32/) - [zlib](http://d.etpan.org/mailcore2-deps/zlib-win32/) - [icu4c, OpenSSL and pthread for win32](http://d.etpan.org/mailcore2-deps/misc-win32/) -#### Instructions for CTemplate, libEtPan,Cyrus SASL, LibXML 2, Tidy HTML5, uchardet and zlib #### +#### Instructions for CTemplate, libEtPan,Cyrus SASL, LibXML 2, Tidy HTML5 and zlib #### - copy `include`, `lib` and `lib64` folders to `mailcore2/Externals`. -- cgit v1.2.3