Skip to content

Commit 67aa5c2

Browse files
eagleoflqjrocka
andauthored
Add RIME plugin (#342)
Co-authored-by: Rocka <i@rocka.me>
1 parent 2fed0f5 commit 67aa5c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+369
-2
lines changed

.gitmodules

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,18 @@
2222
[submodule "plugin/unikey/src/main/cpp/fcitx5-unikey"]
2323
path = plugin/unikey/src/main/cpp/fcitx5-unikey
2424
url = git@github.com:fcitx/fcitx5-unikey.git
25+
[submodule "plugin/rime/src/main/cpp/fcitx5-rime"]
26+
path = plugin/rime/src/main/cpp/fcitx5-rime
27+
url = git@github.com:fcitx/fcitx5-rime.git
28+
[submodule "plugin/rime/src/main/cpp/rime-prelude"]
29+
path = plugin/rime/src/main/cpp/rime-prelude
30+
url = git@github.com:rime/rime-prelude.git
31+
[submodule "plugin/rime/src/main/cpp/rime-essay"]
32+
path = plugin/rime/src/main/cpp/rime-essay
33+
url = git@github.com:rime/rime-essay.git
34+
[submodule "plugin/rime/src/main/cpp/rime-luna-pinyin"]
35+
path = plugin/rime/src/main/cpp/rime-luna-pinyin
36+
url = git@github.com:rime/rime-luna-pinyin.git
37+
[submodule "plugin/rime/src/main/cpp/rime-stroke"]
38+
path = plugin/rime/src/main/cpp/rime-stroke
39+
url = git@github.com:rime/rime-stroke.git

app/licenses/libraries/boost.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"uniqueId": "boostorg/boost",
3-
"artifactVersion": "1.80.0",
3+
"artifactVersion": "1.83.0",
44
"description": "Free peer-reviewed portable C++ source libraries",
55
"name": "boostorg/boost",
66
"website": "https://www.boost.org/",

lib/fcitx5/src/main/cpp/prebuilt

Submodule prebuilt updated 318 files

plugin/rime/build.gradle.kts

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
@file:Suppress("UnstableApiUsage")
2+
3+
plugins {
4+
id("org.fcitx.fcitx5.android.app-convention")
5+
id("org.fcitx.fcitx5.android.plugin-app-convention")
6+
id("org.fcitx.fcitx5.android.native-app-convention")
7+
id("org.fcitx.fcitx5.android.build-metadata")
8+
id("org.fcitx.fcitx5.android.data-descriptor")
9+
id("org.fcitx.fcitx5.android.fcitx-component")
10+
}
11+
12+
android {
13+
namespace = "org.fcitx.fcitx5.android.plugin.rime"
14+
15+
defaultConfig {
16+
applicationId = "org.fcitx.fcitx5.android.plugin.rime"
17+
18+
externalNativeBuild {
19+
cmake {
20+
targets(
21+
"rime"
22+
)
23+
}
24+
}
25+
}
26+
27+
buildTypes {
28+
release {
29+
resValue("string", "app_name", "@string/app_name_release")
30+
}
31+
debug {
32+
resValue("string", "app_name", "@string/app_name_debug")
33+
}
34+
}
35+
36+
packaging {
37+
jniLibs {
38+
excludes += setOf(
39+
"**/libc++_shared.so",
40+
"**/libFcitx5*"
41+
)
42+
}
43+
}
44+
}
45+
46+
generateDataDescriptor {
47+
symlinks.put("usr/share/rime-data/opencc", "usr/share/opencc")
48+
}
49+
50+
aboutLibraries {
51+
configPath = "plugin/rime/licenses"
52+
}
53+
54+
dependencies {
55+
implementation(project(":lib:fcitx5"))
56+
implementation(project(":lib:plugin-base"))
57+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"uniqueId": "boostorg/boost",
3+
"artifactVersion": "1.83.0",
4+
"description": "Free peer-reviewed portable C++ source libraries",
5+
"name": "boostorg/boost",
6+
"website": "https://www.boost.org/",
7+
"tag": "native",
8+
"licenses": [
9+
"BSL-1.0"
10+
]
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"uniqueId": "fcitx/fcitx5-rime",
3+
"artifactVersion": "5.1.2",
4+
"description": "Rime Wrapper for Fcitx",
5+
"name": "fcitx/fcitx5-rime",
6+
"website": "https://github.com/fcitx/fcitx5-rime",
7+
"tag": "native",
8+
"licenses": [
9+
"LGPL-2.1-or-later"
10+
]
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"uniqueId": "google/glog",
3+
"artifactVersion": "0.6.0",
4+
"description": "C++ implementation of the Google logging module",
5+
"name": "google/glog",
6+
"website": "https://github.com/google/glog",
7+
"tag": "native",
8+
"licenses": [
9+
"BSD-3-Clause"
10+
]
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"uniqueId": "google/leveldb",
3+
"artifactVersion": "1.23",
4+
"description": "A fast key-value storage library written at Google that provides an ordered mapping from string keys to string values",
5+
"name": "google/leveldb",
6+
"website": "https://github.com/google/leveldb",
7+
"tag": "native",
8+
"licenses": [
9+
"BSD-3-Clause"
10+
]
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"uniqueId": "hchunhui/librime-lua",
3+
"artifactVersion": "5671021",
4+
"description": "Extending RIME with Lua scripts",
5+
"name": "hchunhui/librime-lua",
6+
"website": "https://github.com/hchunhui/librime-lua",
7+
"tag": "native",
8+
"licenses": [
9+
"BSD-3-Clause"
10+
]
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"uniqueId": "lotem/librime-octagram",
3+
"artifactVersion": "a6ced5a",
4+
"description": "RIME octagram plugin",
5+
"name": "lotem/librime-octagram",
6+
"website": "https://github.com/lotem/librime-octagram",
7+
"tag": "native",
8+
"licenses": [
9+
"GPL-3.0-only"
10+
]
11+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy