gnu: ibus-libpinyin: Update to 1.9.2.

* gnu/packages/ibus.scm (ibus-libpinyin): Update to 1.9.2.
[inputs]: Replace "python-2" with "python" and python2-pyxdg with
python-pyxdg.
This commit is contained in:
Ricardo Wurmus 2017-09-24 12:37:00 +02:00
parent 3943f5ab5a
commit 07ad172a24
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -135,7 +135,7 @@ (define-public ibus
(define-public ibus-libpinyin (define-public ibus-libpinyin
(package (package
(name "ibus-libpinyin") (name "ibus-libpinyin")
(version "1.9.0") (version "1.9.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/libpinyin/" (uri (string-append "https://github.com/libpinyin/"
@ -143,15 +143,15 @@ (define-public ibus-libpinyin
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0gly314z6zn2fv52jw0764k66ry97llk009bk1q1iwf6rr829v68")))) "0wpgs0m62l4zlis9f11b7xknhgnw2xw485nc2xrzk880s17pp1mr"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'autogen (add-after 'unpack 'autogen
(lambda _ (and (zero? (system* "intltoolize")) (lambda _ (and (zero? (system* "intltoolize"))
(zero? (system* "autoreconf" "-vif"))))) (zero? (system* "autoreconf" "-vif")))))
(add-after 'wrap-program 'wrap-with-additional-paths (add-after 'wrap-program 'wrap-with-additional-paths
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
;; Make sure 'ibus-setup-libpinyin' runs with the correct ;; Make sure 'ibus-setup-libpinyin' runs with the correct
;; PYTHONPATH and GI_TYPELIB_PATH. ;; PYTHONPATH and GI_TYPELIB_PATH.
@ -170,8 +170,8 @@ (define-public ibus-libpinyin
("libpinyin" ,libpinyin) ("libpinyin" ,libpinyin)
("bdb" ,bdb) ("bdb" ,bdb)
("sqlite" ,sqlite) ("sqlite" ,sqlite)
("python" ,python-2) ("python" ,python)
("pyxdg" ,python2-pyxdg) ("pyxdg" ,python-pyxdg)
("gtk+" ,gtk+))) ("gtk+" ,gtk+)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)