# librime **Repository Path**: tinypixos/librime ## Basic Information - **Project Name**: librime - **Description**: 开源项目librime - **Primary Language**: C++ - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 0 - **Created**: 2025-07-13 - **Last Updated**: 2025-09-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) RIME: Rime 输入法引擎; TinyPiXOS 基于 librime V1.5.3版本,移除了对boost库的依赖,使用原生C++11前版本语法及LinuxAPI代替boost。 [原始仓库地址](https://github.com/rime/librime.git) 安装 === 编译依赖 --- - compiler with C++11 support - cmake>=2.8 - libglog (optional) - libleveldb - libmarisa - libopencc>=1.0.2 - libyaml-cpp>=0.5 - tinyPiXOS 信号槽 V0.1.1 (同步信号槽版本) Linux平台构建安装librime步骤 --- 构建rime静态库 ```bash apt install libleveldb-dev libmarisa-dev libopencc-dev libyaml-cpp-dev libgoogle-glog-dev cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ --no-warn-unused-cli -B ./build -G Ninja cmake --build build cmake --build build --target install ``` 构建依赖库静态库 ```bash git submodule update --init --recursive make deps ``` 部署 --- TARGET_PATH = tinyPiXCore/src - 拷贝install目录下include/* -> TARGET_PATH/include_p/Utils/rime - 拷贝install目录下lib/*.a -> TARGET_PATH/depend_lib/static/x86_x64或者arm_64 - 拷贝install目录下data/* -> TARGET_PATH/data/rime - 第一次部署需要在data目录下执行 ./rime_deployer --build