Skip to content

Commit

Permalink
chore: update getting stared and third party library info in README
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck authored and Bambooin committed Mar 10, 2023
1 parent 47aee95 commit b40783e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 51 deletions.
21 changes: 4 additions & 17 deletions README.md
Expand Up @@ -62,19 +62,13 @@ cd $your_folder
git clone --recursive https://github.com/osfans/trime.git
```

2. Install `capnp`:
```bash
cd $trime_folder
sh trime/script/dependency.sh
```

3. Debug version without sign:
2. Debug version without sign:

```bash
make debug
```

4. Release version with sign:
3. Release version with sign:

Create `keystore.properties` file which contains following contents for [signing information](https://developer.android.com/studio/publish/app-signing.html):

Expand All @@ -97,12 +91,6 @@ Target "boost_log_setup" links to target "Boost::coroutine" but the target was n

Run `make clean`.

```
Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library.
```

Do not install `capnp` from package manager. Run the dependency script in part [Build](#Build).

Other issues:
1. Try `make clean`
2. Make sure your repo is up-to-date. If one or more submodules are modified, also make sure they are compatible with the current version.
Expand All @@ -113,16 +101,15 @@ Other issues:

## Third Party Libraries
- [Boost C++ Libraries](https://www.boost.org/) (Boost Software License)
- [Cap'n Proto](https://capnproto.org/) (MIT License)
- [darts-clone](https://github.com/s-yata/darts-clone) (New BSD License)
- [LevelDB](https://github.com/google/leveldb) (New BSD License)
- [libiconv](https://www.gnu.org/software/libiconv/) (LGPL License)
- [marisa-trie](https://github.com/s-yata/marisa-trie) (BSD License)
- [minilog](http://ceres-solver.org/) (New BSD License)
- [glog](https://github.com/google/glog) (New BSD License)
- [OpenCC](https://github.com/BYVoid/OpenCC) (Apache License 2.0)
- [RIME](https://rime.im) (BSD License)
- [snappy](https://github.com/google/snappy)(BSD License)
- [UTF8-CPP](http://utfcpp.sourceforge.net/) (Boost Software License)
- [utfcpp](https://github.com/nemtrif/utfcpp) (Boost Software License)
- [yaml-cpp](https://github.com/jbeder/yaml-cpp) (MIT License)
- [Android Traditional Chinese IME](https://code.google.com/p/android-traditional-chinese-ime/) (Apache License 2.0)

Expand Down
21 changes: 4 additions & 17 deletions README_sc.md
Expand Up @@ -56,19 +56,13 @@ cd $your_folder
git clone --recursive https://github.com/osfans/trime.git
```

2. 安装 `capnp`:
```bash
cd $trime_folder
sh trime/script/dependency.sh
```

3. 编译调试版本:
2. 编译调试版本:

```bash
make debug
```

4. 编译正式版本:
3. 编译正式版本:

请创建一个名为 `keystore.properties` 的文件,包含以下内容,注明[签名信息](https://developer.android.com/studio/publish/app-signing.html):

Expand All @@ -91,12 +85,6 @@ Target "boost_log_setup" links to target "Boost::coroutine" but the target was n

执行 `make clean`.

```
Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library.
```

请不要通过包管理器或是其他途径安装 `capnp`。使用 [构建](#构建) 章节中的安装脚本.

其他问题:
1. 首先尝试 `make clean`
2. 确保你的仓库与最新版本一致。如果你修改了一个或更多的子模块,请确保它们与当前仓库版本兼容。
Expand All @@ -106,16 +94,15 @@ Version mismatch between generated code and library headers. You must use the sa

## 第三方库
- [Boost C++ Libraries](https://www.boost.org/) (Boost Software License)
- [Cap'n Proto](https://capnproto.org/) (MIT License)
- [darts-clone](https://github.com/s-yata/darts-clone) (New BSD License)
- [LevelDB](https://github.com/google/leveldb) (New BSD License)
- [libiconv](https://www.gnu.org/software/libiconv/) (LGPL License)
- [marisa-trie](https://github.com/s-yata/marisa-trie) (BSD License)
- [minilog](http://ceres-solver.org/) (New BSD License)
- [glog](https://github.com/google/glog) (New BSD License)
- [OpenCC](https://github.com/BYVoid/OpenCC) (Apache License 2.0)
- [RIME](https://rime.im) (BSD License)
- [snappy](https://github.com/google/snappy)(BSD License)
- [UTF8-CPP](http://utfcpp.sourceforge.net/) (Boost Software License)
- [utfcpp](https://github.com/nemtrif/utfcpp) (Boost Software License)
- [yaml-cpp](https://github.com/jbeder/yaml-cpp) (MIT License)
- [注音仓颉输入法](https://code.google.com/p/android-traditional-chinese-ime/) (Apache License 2.0)

Expand Down
21 changes: 4 additions & 17 deletions README_tc.md
Expand Up @@ -55,19 +55,13 @@ cd $your_folder
git clone --recursive https://github.com/osfans/trime.git
```

2. 安裝 `capnp`:
```bash
cd $trime_folder
sh trime/script/dependency.sh
```

3. 編譯調試版本:
2. 編譯調試版本:

```bash
make debug
```

4. 編譯正式版本:
3. 編譯正式版本:

請創建一個名為 keystore.properties 的文件,包含以下內容,註明[簽名信息](https://developer.android.com/studio/publish/app-signing.html):

Expand All @@ -90,12 +84,6 @@ Target "boost_log_setup" links to target "Boost::coroutine" but the target was n

執行 `make clean`.

```
Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library.
```

請不要通過包管理器或是其他途徑安裝 `capnp`。使用 [構建](#構建) 章節中的安裝腳本.

其它問題:
1. 首先嘗試 `make clean`
2. 確保你的倉庫與最新版本一致。如果你修改了一個或更多的子模塊,請確保它們與當前倉庫版本兼容。
Expand All @@ -105,16 +93,15 @@ Version mismatch between generated code and library headers. You must use the sa

## 第三方庫
- [Boost C++ Libraries](https://www.boost.org/) (Boost Software License)
- [Cap'n Proto](https://capnproto.org/) (MIT License)
- [darts-clone](https://github.com/s-yata/darts-clone) (New BSD License)
- [LevelDB](https://github.com/google/leveldb) (New BSD License)
- [libiconv](https://www.gnu.org/software/libiconv/) (LGPL License)
- [marisa-trie](https://github.com/s-yata/marisa-trie) (BSD License)
- [minilog](http://ceres-solver.org/) (New BSD License)
- [glog](https://github.com/google/glog) (New BSD License)
- [OpenCC](https://github.com/BYVoid/OpenCC) (Apache License 2.0)
- [RIME](https://rime.im) (BSD License)
- [snappy](https://github.com/google/snappy)(BSD License)
- [UTF8-CPP](http://utfcpp.sourceforge.net/) (Boost Software License)
- [utfcpp](https://github.com/nemtrif/utfcpp) (Boost Software License)
- [yaml-cpp](https://github.com/jbeder/yaml-cpp) (MIT License)
- [注音倉頡輸入法](https://code.google.com/p/android-traditional-chinese-ime/) (Apache License 2.0)

Expand Down

0 comments on commit b40783e

Please sign in to comment.