Created
September 2, 2016 14:23
-
-
Save tvdstaaij/a25bb1bd132eebea9b4d04f06be802ee to your computer and use it in GitHub Desktop.
Arch Linux ibus-mozc-ut patch for kana as default input mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patch#pkgbuild#PKGBUILD.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD.orig 2016-09-02 14:28:07.722064884 +0200 | |
+++ PKGBUILD.new 2016-09-02 14:30:38.228733627 +0200 | |
@@ -138,6 +138,9 @@ | |
cd "${srcdir}/mozc/" | |
+ # https://github.com/google/mozc/issues/381#issuecomment-242965044 | |
+ sed -i 's/const bool kActivatedOnLaunch = false/const bool kActivatedOnLaunch = true/' src/unix/ibus/property_handler.cc | |
+ | |
git submodule update --init --recursive | |
# Generate zip code seed |
looks like package name is renamed to mozc-ut2
? I put mozc-ut
as etc/customizepkg.d/mozc-ut2
, PKGBUILD.patch
as /etc/customizepkg.d/mozc-ut2.files/PKGBUILD.patch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mozc-ut
in/etc/customizepkg.d
, putPKGBUILD.patch
in /etc/customizepkg.d/mozc-ut.files`mozc-ut
package (NOTibus-mozc-ut
; ibus will be included) with e.g. yaourtA similar patch should work for the non-ut version of mozc.