From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49391) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqFad-0003VN-EC for guix-patches@gnu.org; Sat, 11 Jan 2020 07:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqFac-0002I1-BY for guix-patches@gnu.org; Sat, 11 Jan 2020 07:10:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqFac-0002HR-7Z for guix-patches@gnu.org; Sat, 11 Jan 2020 07:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqFac-0001bH-3I for guix-patches@gnu.org; Sat, 11 Jan 2020 07:10:02 -0500 Subject: [bug#39086] [PATCH 4/5] gnu: ibus: Build with emoji support. Resent-Message-ID: From: Leo Prikler Date: Sat, 11 Jan 2020 13:08:29 +0100 Message-Id: <20200111120829.29821-4-leo.prikler@student.tugraz.at> In-Reply-To: <20200111120829.29821-1-leo.prikler@student.tugraz.at> References: <20200111120829.29821-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39086@debbugs.gnu.org * gnu/packages/ibus.scm (ibus) [inputs]: Add unicode-emoji and unicode-cldr-common. [configure-flags]: Add flags for emoji and annotations. --- gnu/packages/ibus.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index 87e086a458..66cfb10068 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -161,8 +161,15 @@ conventions.") (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" + #:configure-flags `("--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") @@ -241,6 +248,8 @@ conventions.") `(("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.24.1