[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39086] [PATCH 4/5] gnu: ibus: Build with emoji support.
From: |
Leo Prikler |
Subject: |
[bug#39086] [PATCH 4/5] gnu: ibus: Build with emoji support. |
Date: |
Fri, 17 Jan 2020 01:19:07 +0100 |
* gnu/packages/ibus.scm (ibus)[inputs]: Add unicode-emoji and
unicode-cldr-common.
[arguments]<configure-flags>: Use list instead of quote.
Add flags for unicode-emoji-dir and emoji-annotation-dir.
---
gnu/packages/ibus.scm | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 512a1ff9ec..1e8b441301 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -53,6 +53,7 @@
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages textutils)
+ #:use-module (gnu packages unicode)
#:use-module (gnu packages xorg))
(define-public ibus
@@ -70,11 +71,18 @@
(build-system glib-or-gtk-build-system)
(arguments
`(#:tests? #f ; tests fail because there's no connection to dbus
- #:configure-flags `("--disable-emoji-dict" ; cannot find emoji.json path
- "--enable-python-library"
- ,(string-append "--with-ucd-dir="
- (getcwd) "/ucd")
- "--enable-wayland")
+ #:configure-flags (list "--enable-python-library"
+ (string-append
+ "--with-unicode-emoji-dir="
+ (assoc-ref %build-inputs "unicode-emoji")
+ "/share/unicode/emoji")
+ (string-append
+ "--with-emoji-annotation-dir="
+ (assoc-ref %build-inputs "unicode-cldr-common")
+ "/share/unicode/cldr/common/annotations")
+ (string-append "--with-ucd-dir="
+ (getcwd) "/ucd")
+ "--enable-wayland")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'prepare-ucd-dir
@@ -150,6 +158,8 @@
`(("glib" ,glib "bin") ; for glib-genmarshal
("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler
+ ("unicode-emoji" ,unicode-emoji)
+ ("unicode-cldr-common" ,unicode-cldr-common)
;; XXX TODO: Move Unicode data to its own (versioned) package.
("unicode-nameslist"
,(origin
--
2.25.0
- [bug#39086] [PATCH 4/5] gnu: ibus: Build with emoji support., (continued)
[bug#39086] [PATCH 5/5] gnu: ibus: Disable parallel build., Leo Prikler, 2020/01/11
[bug#39086] [PATCH 2/5] gnu: Add unicode-emoji., Leo Prikler, 2020/01/16
[bug#39086] [PATCH 4/5] gnu: ibus: Build with emoji support.,
Leo Prikler <=
[bug#39086] [PATCH 3/5] gnu: Add unicode-cldr-common., Leo Prikler, 2020/01/16
[bug#39086] [PATCH 5/5] gnu: ibus: Disable parallel build., Leo Prikler, 2020/01/16
[bug#39086] [PATCH 2/5] gnu: Add unicode-emoji., Leo Prikler, 2020/01/16