Skip to content

Conversation

bew
Copy link
Contributor

@bew bew commented Mar 4, 2025

This PR should add IME support for Rofi.
I have never used IMEs and don't know how to set them up, but I've looked at the PR that added IME support in Rofi (shows use of xcb-imdkit) and the current meson.build#L89 for how to enable use of this lib (with imdkit=true meson option).

Resolves #387025

👉 I need someone to test that this is enough to make rofi work with IMEs

QUESTION: should I add a line in release notes?

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Mar 4, 2025
@imsuck
Copy link
Contributor

imsuck commented Mar 5, 2025

Works with fine fcitx5. 👍

@bew bew marked this pull request as ready for review March 5, 2025 19:17
@@ -23,6 +23,9 @@
check,
glib,
buildPackages,

imeSupport ? false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dunno its impact on closure size but if it's not too much I would say we could always use ime.
It's 2025 and IME + wayland should be defaults IMO.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review, yeah I wondered about having it by default, I pushed a new version without the imeSupport flag

@bew bew force-pushed the add-rofi-ime-support branch from 82be074 to 5e38027 Compare March 8, 2025 09:54
@github-actions github-actions bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. and removed 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Mar 8, 2025
@teto
Copy link
Member

teto commented Mar 23, 2025

looks ok in terms of closure 394.3 MiB -> 394.9 MiB. I've got some issues with my fcitx setup so can't test but it looks positive anyway so merging.

@teto teto merged commit fbc70df into NixOS:master Mar 23, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rofi: IMEs (fcitx5, ibus) not working in rofi
3 participants