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: init at 1.8.2 #50475

Merged
merged 2 commits into from Nov 23, 2018
Merged

Conversation

kliu128
Copy link

@kliu128 kliu128 commented Nov 16, 2018

Motivation for this change

ibus-table-chinese adds support for several Chinese IMEs in ibus, including Wubizixing.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

Kevin Liu added 2 commits November 16, 2018 15:54
It uses /usr/share as a default parameter, which errors out on NixOS.
This replaces it with the path to the derivation.
@Ma27
Copy link
Member

Ma27 commented Nov 23, 2018

@GrahamcOfBorg build ibus-engines.table-chinese

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: ibus-engines.table-chinese

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: ibus-engines.table-chinese

Partial log (click to expand)

-- Installing: /nix/store/l3p9w6izw57s18na1bim1m6c81bf2xxa-ibus-table-chinese-1.8.2/share/ibus-table/icons/wubi-jidian86.svg
-- Installing: /nix/store/l3p9w6izw57s18na1bim1m6c81bf2xxa-ibus-table-chinese-1.8.2/share/ibus-table/tables/yong.db
-- Installing: /nix/store/l3p9w6izw57s18na1bim1m6c81bf2xxa-ibus-table-chinese-1.8.2/share/ibus-table/icons/yong.png
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l3p9w6izw57s18na1bim1m6c81bf2xxa-ibus-table-chinese-1.8.2
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/l3p9w6izw57s18na1bim1m6c81bf2xxa-ibus-table-chinese-1.8.2
checking for references to /build in /nix/store/l3p9w6izw57s18na1bim1m6c81bf2xxa-ibus-table-chinese-1.8.2...
/nix/store/l3p9w6izw57s18na1bim1m6c81bf2xxa-ibus-table-chinese-1.8.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: ibus-engines.table-chinese

Partial log (click to expand)

-- Installing: /nix/store/bqnxc38f57l4jrf250dringfa7kd97sn-ibus-table-chinese-1.8.2/share/ibus-table/icons/wubi-jidian86.svg
-- Installing: /nix/store/bqnxc38f57l4jrf250dringfa7kd97sn-ibus-table-chinese-1.8.2/share/ibus-table/tables/yong.db
-- Installing: /nix/store/bqnxc38f57l4jrf250dringfa7kd97sn-ibus-table-chinese-1.8.2/share/ibus-table/icons/yong.png
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bqnxc38f57l4jrf250dringfa7kd97sn-ibus-table-chinese-1.8.2
strip is /nix/store/6dpnd5aniypn8124mmy8f88s4mq2zl07-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/bqnxc38f57l4jrf250dringfa7kd97sn-ibus-table-chinese-1.8.2
checking for references to /build in /nix/store/bqnxc38f57l4jrf250dringfa7kd97sn-ibus-table-chinese-1.8.2...
/nix/store/bqnxc38f57l4jrf250dringfa7kd97sn-ibus-table-chinese-1.8.2

Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

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

I checked this with the following VM declaration:

{
  vmtest = { pkgs, ... }: {
    services.xserver = {
      enable = true;
      desktopManager.gnome3.enable = true;
      desktopManager.xterm.enable = false;
    };
    users.extraUsers.vm = {
      isNormalUser= true;
      password = "vm";
    };
    virtualisation.memorySize = 2048;
    i18n.inputMethod.enabled = "ibus";
    i18n.inputMethod.ibus.engines = [ pkgs.ibus-engines.table-chinese ];
  };
}

Thanks for the addition!

@Ma27 Ma27 merged commit 80e9f77 into NixOS:master Nov 23, 2018
@kliu128 kliu128 deleted the ibus-table-chinese-init branch November 23, 2018 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants