Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c515caad2f | |||
| 41111bead6 | |||
| 2b66c43dcc | |||
| 42bc7e08a2 | |||
| 147b629caf | |||
| 6a30b146f1 | |||
| 54534cad02 | |||
| bf7527d8bf |
@@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.8)
|
cmake_minimum_required(VERSION 3.8)
|
||||||
project(syd-fcitx5-tables VERSION 1.0.0)
|
project(syd-fcitx5-tables VERSION 2.0.0)
|
||||||
|
|
||||||
find_package(ECM 1.0 REQUIRED)
|
find_package(ECM 1.0 REQUIRED)
|
||||||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
||||||
|
|||||||
26
README.md
26
README.md
@@ -3,3 +3,29 @@ My personal Fcitx5 input tables.
|
|||||||
The CMake code was nabbed directly from https://github.com/fcitx/fcitx5-table-other.
|
The CMake code was nabbed directly from https://github.com/fcitx/fcitx5-table-other.
|
||||||
|
|
||||||
- The sydmath table is based on [agda-input](https://github.com/agda/agda/blob/7bc882012789200911852f5e4045150be2604b42/src/data/emacs-mode/agda-input.el) and [fcitx5-table-other's LaTeX table](https://github.com/fcitx/fcitx5-table-other/blob/master/tables/other/latex.txt)
|
- The sydmath table is based on [agda-input](https://github.com/agda/agda/blob/7bc882012789200911852f5e4045150be2604b42/src/data/emacs-mode/agda-input.el) and [fcitx5-table-other's LaTeX table](https://github.com/fcitx/fcitx5-table-other/blob/master/tables/other/latex.txt)
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
### Without Nix
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
### With Nix
|
||||||
|
|
||||||
|
This can be installed into your NixOS/Home-manager configs:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
i18n.inputMethod = {
|
||||||
|
enable = true;
|
||||||
|
type = "fcitx5";
|
||||||
|
fcitx5 = {
|
||||||
|
addons = [
|
||||||
|
# The package `fcitx5-chinese-addons` is *required*!!
|
||||||
|
# See https://github.com/NixOS/nixpkgs/issues/126748.
|
||||||
|
pkgs.kdePackages.fcitx5-chinese-addons
|
||||||
|
inputs.syd-fcitx5-tables.packages.${system}.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
61
flake.lock
generated
Normal file
61
flake.lock
generated
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"flake-utils": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756819007,
|
||||||
|
"narHash": "sha256-12V64nKG/O/guxSYnr5/nq1EfqwJCdD2+cIGmhz3nrE=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "aaff8c16d7fc04991cac6245bee1baa31f72b1e1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
17
flake.nix
Normal file
17
flake.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { self, ... }@inputs:
|
||||||
|
inputs.flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
let
|
||||||
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
|
in {
|
||||||
|
packages = rec {
|
||||||
|
syd-fcitx5-tables = pkgs.callPackage ./package.nix {};
|
||||||
|
default = syd-fcitx5-tables;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -13,7 +13,12 @@
|
|||||||
<url type="vcs-browser">https://gitlab.com/msyds/syd-fcitx5-tables/issues</url>
|
<url type="vcs-browser">https://gitlab.com/msyds/syd-fcitx5-tables/issues</url>
|
||||||
<project_group>Fcitx</project_group>
|
<project_group>Fcitx</project_group>
|
||||||
<releases>
|
<releases>
|
||||||
<!-- <release version="1.0.0" date="2025-07-17"/> -->
|
<release version="1.0.0" date="2025-07-17"/>
|
||||||
|
<release version="1.1.0" date="2025-08-13"/>
|
||||||
|
<release version="1.2.0" date="2025-09-04"/>
|
||||||
|
<release version="1.2.1" date="2025-09-04"/>
|
||||||
|
<release version="2.0.0" date="2025-11-05"/>
|
||||||
|
<release version="2.1.0" date="2026-02-20"/>
|
||||||
</releases>
|
</releases>
|
||||||
<content_rating type="oars-1.1"/>
|
<content_rating type="oars-1.1"/>
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@@ -4,14 +4,14 @@
|
|||||||
, libime
|
, libime
|
||||||
, boost
|
, boost
|
||||||
, fcitx5
|
, fcitx5
|
||||||
, libsForQt5
|
, kdePackages
|
||||||
, cmake
|
, cmake
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "syd-fcitx5-tables";
|
pname = "syd-fcitx5-tables";
|
||||||
version = "1.0.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
@@ -28,11 +28,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Provides the table engine, without which this package is useless. See
|
# Provides the table engine, without which this package is useless. See
|
||||||
# Nixpkgs issue #126748.
|
# Nixpkgs issue #126748.
|
||||||
libsForQt5.fcitx5-chinese-addons
|
kdePackages.fcitx5-chinese-addons
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Madeleine's Fcitx tables";
|
description = "Madeleine's Fcitx5 tables";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ File=table/sydmath.main.dict
|
|||||||
OrderPolicy=No
|
OrderPolicy=No
|
||||||
AutoSelect=True
|
AutoSelect=True
|
||||||
AutoSelectLength=-1
|
AutoSelectLength=-1
|
||||||
NoMatchAutoSelectLength=0
|
NoMatchAutoSelectLength=2
|
||||||
Learning=False
|
Learning=False
|
||||||
ExactMatch=False
|
ExactMatch=True
|
||||||
UseAlternativePageKey=True
|
UseAlternativePageKey=True
|
||||||
FirstCandidateAsPreedit=True
|
FirstCandidateAsPreedit=True
|
||||||
CommitInvalidSegment=True
|
CommitInvalidSegment=True
|
||||||
@@ -35,3 +35,6 @@ Hint=True
|
|||||||
7=F8
|
7=F8
|
||||||
8=F9
|
8=F9
|
||||||
9=F10
|
9=F10
|
||||||
|
|
||||||
|
[Table/DefaultCandidate]
|
||||||
|
0=enter
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
KeyCode=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890\_[]{}
|
KeyCode=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890\_[]{}=~<>|+.:;-*,/?^
|
||||||
Prompt=
|
Prompt=
|
||||||
ConstructPhrase=
|
ConstructPhrase=
|
||||||
Length=20
|
Length=20
|
||||||
@@ -1979,7 +1979,7 @@ Length=20
|
|||||||
\^Gc ᵡ
|
\^Gc ᵡ
|
||||||
\^GF ᶲ
|
\^GF ᶲ
|
||||||
\^0 ⁰
|
\^0 ⁰
|
||||||
\^1 ⁱ
|
\^1 ¹
|
||||||
\^2 ²
|
\^2 ²
|
||||||
\^3 ³
|
\^3 ³
|
||||||
\^4 ⁴
|
\^4 ⁴
|
||||||
@@ -1998,6 +1998,26 @@ Length=20
|
|||||||
\_= ₌
|
\_= ₌
|
||||||
\_( ₍
|
\_( ₍
|
||||||
\_) ₎
|
\_) ₎
|
||||||
|
\_1 ₁
|
||||||
|
\_2 ₂
|
||||||
|
\_3 ₃
|
||||||
|
\_4 ₄
|
||||||
|
\_5 ₅
|
||||||
|
\_6 ₆
|
||||||
|
\_7 ₇
|
||||||
|
\_8 ₈
|
||||||
|
\_9 ₉
|
||||||
|
\_0 ₀
|
||||||
|
\1 ₁
|
||||||
|
\2 ₂
|
||||||
|
\3 ₃
|
||||||
|
\4 ₄
|
||||||
|
\5 ₅
|
||||||
|
\6 ₆
|
||||||
|
\7 ₇
|
||||||
|
\8 ₈
|
||||||
|
\9 ₉
|
||||||
|
\0 ₀
|
||||||
\
|
\
|
||||||
\! ¡
|
\! ¡
|
||||||
\cent ¢
|
\cent ¢
|
||||||
@@ -2369,6 +2389,11 @@ Length=20
|
|||||||
\frac58 ⅝
|
\frac58 ⅝
|
||||||
\frac78 ⅞
|
\frac78 ⅞
|
||||||
\frac1 ⅟
|
\frac1 ⅟
|
||||||
|
\fracslash ⁄
|
||||||
|
\frac/ ⁄
|
||||||
|
\nbsp
|
||||||
|
\zws
|
||||||
|
\nnbsp
|
||||||
\leftarrow ←
|
\leftarrow ←
|
||||||
\uparrow ↑
|
\uparrow ↑
|
||||||
\rightarrow →
|
\rightarrow →
|
||||||
@@ -2647,3 +2672,4 @@ Length=20
|
|||||||
\flat ♭
|
\flat ♭
|
||||||
\natural ♮
|
\natural ♮
|
||||||
\sharp ♯
|
\sharp ♯
|
||||||
|
\- −
|
||||||
|
|||||||
Reference in New Issue
Block a user