Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/libphonenumber/cpp/README

Issue 6803005: Autofill phone number enhancements and integration of Phone Number Util Library: part 1 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 C++ version of the libphonenumber project.
2 Work in progress.
3
4 This is a port of the Java version.
5
6 This project uses some third-party code:
7 - src/base/ sources come from Chromium browser.
8 - src/utf/ sources come from lib9 which is also used in Go.
9
10 Requirements:
11 - CMake build system
12 http://www.cmake.org
13
14 You can install it very easily on a Debian-based GNU/Linux distribution:
15 $ sudo apt-get install cmake
16
17 - Protocol Buffers
18 http://code.google.com/p/protobuf/
19 Version 2.4 or more recent is required.
20
21 You can install it very easily on a Debian-based GNU/Linux distribution:
22 $ sudo apt-get install libprotobuf-dev
23
24 Note: if your GNU/Linux distribution doesn't provide the needed package,
25 please download and install it manually:
26 $ tar xjf protobuf-2.4.tar.bz2
27 $ cd protobuf-2.4
28 $ ./configure && make && sudo make install
29
30 - Google Test
31 http://code.google.com/p/googletest/
32
33 You can install it very easily on a Debian-based GNU/Linux distribution:
34 $ sudo apt-get install libgtest-dev
35
36 - RE2
37 http://code.google.com/p/re2/
38
39 You can install it very easily on Ubuntu Maverick and later:
40 $ sudo apt-get install libre2-dev
41
42 Otherwise if you use a Debian-based distribution you can fetch the Ubuntu
43 package which should work:
44 http://packages.ubuntu.com/maverick/libre2-dev
45
46 If you want to install it manually:
47 You need Mercurial to checkout its source code:
48 $ sudo apt-get install mercurial
49
50 Then checkout, build and install it:
51 $ hg clone https://re2.googlecode.com/hg re2
52 $ cd re2
53 $ make test
54 $ make install
55 $ make testinstall
56
57 - ICU
58 http://userguide.icu-project.org/
59
60 You can install it very easily on a Debian-based distribution:
61 $ sudo apt-get install libicu-dev
62
63
64 How to build libphonenumber C++:
65 $ cd libphonenumber
66 $ mkdir build
67 $ cd build
68 $ cmake ../cpp/
69 $ make
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698