summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Jiaping2016-04-13 10:31:45 +0800
committerBian Jiaping2016-04-13 10:31:45 +0800
commitf556583f992d858f4e79c55cbf68b53e6266f46f (patch)
tree30c8561e57eef091e54e51bd1d79fc42db6da0d3
parentca4cdec248a736a9b85a6025d079801840dae482 (diff)
downloadaur-f556583f992d858f4e79c55cbf68b53e6266f46f.tar.gz
Fix No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings' warning
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c938159f88f..067745c7437 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=fcitx-sogoupinyin
pkgver=2.0.0.0068
-pkgrel=1
+pkgrel=2
pkgdesc="Sogou Pinyin for Linux"
arch=('x86_64' 'i686')
url="http://pinyin.sogou.com/linux/"
@@ -37,6 +37,9 @@ package(){
mv "$pkgdir"/usr/lib/{$_LIB_DIR/,}fcitx
rmdir "$pkgdir/usr/lib/${_LIB_DIR}"
+ # Avoid "No such key 'Gtk/IMModule' in schema 'org.gnome.settings-daemon.plugins.xsettings'" warning
+ sed -i '/Gtk\/IMModule=fcitx/d' "$pkgdir/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override"
+
rm -r "$pkgdir"/usr/share/keyrings
ln -s /usr/lib/libopencc.so "$pkgdir"/usr/lib/libopencc.so.1