Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ibus-table-chinese: missing tables db and icons under share/ibus-table #392191

Open
3 tasks done
Chan-Siu-Man opened this issue Mar 22, 2025 · 0 comments · May be fixed by #392427
Open
3 tasks done

ibus-table-chinese: missing tables db and icons under share/ibus-table #392191

Chan-Siu-Man opened this issue Mar 22, 2025 · 0 comments · May be fixed by #392427
Labels
0.kind: bug Something is broken

Comments

@Chan-Siu-Man
Copy link

Chan-Siu-Man commented Mar 22, 2025

Nixpkgs version

Unstable (25.05)

Describe the bug

Chinese input methods (e.g., cangjie3, quick3, etc.) from ibus-table-chinese cannot be used, because the share/ibus-table directory is not generated since certain unstable revision on 2025-03-03.

ibus-table-chinese should have this structure:

$ nix run nixpkgs\#tree -- $(nix build --no-link --print-out-paths --override-flake nixpkgs github:NixOS/nixpkgs/2075894398f3e0d07793425f85282431761b4272 nixpkgs\#ibus-engines.table-chinese)

/nix/store/h6x6pgsdh38syz1lvlcf5j0h8aqwcws8-ibus-table-chinese-1.8.2
└── share
    ├── ibus-table
    │   ├── icons
    │   │   ├── array30-big.png
    │   │   ├── array30.png
    │   │   ├── cangjie3.svg
    ...
    │   │   └── yong.png
    │   └── tables
    │       ├── array30-big.db
    │       ├── array30.db
    │       ├── cangjie3.db
   ...
    │       └── yong.db
    └── ibus-table-chinese
        ├── AUTHORS
        ├── ChangeLog
        ├── COPYING
        └── README

But after 2025-03-03 of nixpkgs (e.g., at 95eacfb, possibly earlier), the share/ibus-table directory is missing, so ibus-table-chinese provides no input methods.

$ nix run nixpkgs\#tree -- $(nix build --no-link --print-out-paths --override-flake nixpkgs github:NixOS/nixpkgs/95eacfb6d1accf8d59a9e570d26d04ad693d2ec3 nixpkgs\#ibus-engines.table-chinese)

/nix/store/3sdjdmnrrj9wkhhg7b6svd3qlfgb5sqq-ibus-table-chinese-1.8.3
└── share
    └── ibus-table-chinese
        ├── AUTHORS
        ├── ChangeLog
        ├── COPYING
        └── README

Steps to reproduce

Run nix run nixpkgs\#tree -- $(nix build --no-link --print-out-paths nixpkgs\#ibus-engines.table-chinese) and observe the output directory structure.

Expected behaviour

ibus-table-chinese should contain share/ibus-table.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.19, NixOS, 25.05 (Warbler), 25.05pre-git
  • multi-user?: yes
  • sandbox: yes
    [ snipped as possibly not relevant ]
  • nixpkgs: /etc/nix/inputs/nixpkgs

Notify maintainers

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@Chan-Siu-Man Chan-Siu-Man added the 0.kind: bug Something is broken label Mar 22, 2025
Chan-Siu-Man added a commit to Chan-Siu-Man/nixpkgs that referenced this issue Mar 22, 2025
Chan-Siu-Man added a commit to Chan-Siu-Man/nixpkgs that referenced this issue Mar 23, 2025
Fixes NixOS#392191.

1. `github:definite/ibus-table-chinese` is deprecated by `github:mike-fabian/ibus-table-chinese`, as per the [README of github:definite/ibus-table-chinese](https://github.com/definite/ibus-table-chinese/blob/master/README).
2. `github:mike-fabian/ibus-table-chinese` is at `1.8.12`.
3. `github:mike-fabian/ibus-table-chinese` [removed the dependency on `cmake-fedora`](mike-fabian/ibus-table-chinese@1723994).
4. This commit fixes `cmake` builds. (Which also fixes NixOS#392191.)
5. Optionally, this commit replaces `preBuild` and `postFixup` with `writableTmpDirAsHomeHook`.
@Chan-Siu-Man Chan-Siu-Man linked a pull request Mar 23, 2025 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
1 participant