GNU bug report logs - #39086
[PATCH] Enable Emoji support in IBus

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Leo Prikler <leo.prikler@HIDDEN>; Keywords: patch; dated Sat, 11 Jan 2020 11:59:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 16 Jan 2020 22:53:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 17:53:26 2020
Received: from localhost ([127.0.0.1]:38574 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isE10-0002U8-5L
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2020 17:53:26 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:16609)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1isE0x-0002U0-MZ
 for 39086 <at> debbugs.gnu.org; Thu, 16 Jan 2020 17:53:24 -0500
Received: from nijino.local (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47zKH31Ghjz1LgFg;
 Thu, 16 Jan 2020 23:53:18 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47zKH31Ghjz1LgFg
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1579215199;
 bh=ns0jH9+Bz8W4pBPS+d8sewO1MnZtnTSN4fMkhkJvbL8=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References:From;
 b=iu+TVI7C0mxDipi/KIDrr8PYGqZwmxdPgMAnKeWcYy3ct3Z4zwkq4OBSrEjdzWkek
 jXn6aN0L+OgkPKS8EYyFk8ZGsDAIPHhHyHMk2p3jo7MbAgMUTWD7HiVj4EaIFOvEpx
 EtEj/ec20Wd64NuTSLoeHReeAmE1msf4ElHaOa8Q=
Message-ID: <51f014f61bee4c453c50d954b501a3b1dc17370e.camel@HIDDEN>
Subject: Re: [bug#39086] [PATCH 3/5] gnu: Add unicode-cldr-common.
From: Leo Prikler <leo.prikler@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Date: Thu, 16 Jan 2020 23:53:26 +0100
In-Reply-To: <87imlbxg7a.fsf@HIDDEN>
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
 <20200111120829.29821-3-leo.prikler@HIDDEN>
 <87imlbxg7a.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.32.4 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39086
Cc: 39086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Am Donnerstag, den 16.01.2020, 22:08 +0100 schrieb Ricardo Wurmus:
> Leo Prikler <leo.prikler@HIDDEN> writes:
> 
> > * gnu/packages/ibus (unicode-cldr-commmon): New package.
> 
> This should be:
> 
>     * gnu/packages/ibus.scm (unicode-cldr-commmon): New variable.
> 
> You know, I wonder if these things really belong to ibus.scm.  I
> remember a TODO somewhere in the code that bemoaned the lack of
> versioned Unicode data files.  Perhaps we should just add a new
> module
> (gnu packages unicode) — what do you think?
I don't mind either way, but these packages don't fix the TODO.  They
add yet unseen features.

> > +(define-public unicode-cldr-common
> > +  (package
> > +    (name "unicode-cldr-common")
> > +    (version "36")
> > +    (source
> > +     (origin (method url-fetch/zipbomb)
> > +             (uri "
> > https://unicode.org/Public/cldr/36/cldr-common-36.0.zip")
> > +             (sha256
> > +              (base32
> > +
> > "0hxsc3j5zb32hmiaj0r3ajchmklx6zng6zlh1ca6s9plq5b9w9q7"))))
> 
> The version should be “36.0”.  The source URI should reference the
> version field twice.
The thing is, the Unicode people are really messy with their
versioning, so I feel safer if I at least just use version once. 
Basically, they have 36/36.0, but 36.1/36.1, which makes no sense
whatsoever.

> 
> > +    (description
> > +     "The Unicode Common Locale Data Repository (CLDR) is a large
> > repository of
> > +locale data, including among others
> > +- patterns for formatting and parsing,
> > +- name translations,
> > +- and various informations on languages, scripts and country-
> > specific
> > +conventions.")
> > +    (license unicode)))
> 
> Please use @enumerate or @itemize texinfo syntax here.
Will do.





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 16 Jan 2020 22:49:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 17:49:35 2020
Received: from localhost ([127.0.0.1]:38557 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isDxH-0002N3-78
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2020 17:49:35 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:17461)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1isDxF-0002Mu-9k
 for 39086 <at> debbugs.gnu.org; Thu, 16 Jan 2020 17:49:34 -0500
Received: from nijino.local (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47zKBd6V35z3wMm;
 Thu, 16 Jan 2020 23:49:29 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1579214970;
 bh=VnKvdZ7u59RiA1LDcMi4O1jwuSgGuh364fVbiyTJ93Q=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References;
 b=blk4McfyfpldOXkBZTaYMhKsBS/FrtBL1GSp48jSPamnGzbxLHcnsfR7grsnpwexL
 EF/JCvtHAz6ks/ZqGAqVTz9K/LxNaCvcKmO8BpnfXrPTmGxg00oFTLkIomykGkwnjH
 mX0x+oTLspBpD/y8Y6K4lstKr0Mi2d7YiID37H9w=
Message-ID: <24b49d2a2cef963826d44db2229ed120f4a40362.camel@HIDDEN>
Subject: Re: [bug#39086] [PATCH 2/5] gnu: Add unicode-emoji.
From: Leo Prikler <leo.prikler@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Date: Thu, 16 Jan 2020 23:49:37 +0100
In-Reply-To: <87k15rxgcz.fsf@HIDDEN>
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
 <20200111120829.29821-2-leo.prikler@HIDDEN>
 <87k15rxgcz.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.32.4 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39086
Cc: 39086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Ricardo,

Am Donnerstag, den 16.01.2020, 22:04 +0100 schrieb Ricardo Wurmus:
> Hi Leo,
> 
> > * gnu/packages/ibus.scm (unicode-emoji): New package.
> 
> Thank you for these patches!
> 
> > +(define-public unicode-emoji
> > +  (package
> > +    (name "unicode-emoji")
> > +    (version "12.0")
> > +    (source #f)
> 
> It’s pretty unusual to not provide a source.  This will also make
> “guix
> build -S unicode-emoji” turn up nothing.  It may be a good idea to
> elevate at least one of the inputs to “source” status.
> 
> Ideally, all of the inputs would be considered sources like we’re
> doing
> it for texlive-* packages.  It’s a pity that we can’t express
> multiple
> URLs for the url-fetch method.
I'm somewhat confused by this comment.  While some of the texlive
packages do have actual sources, the big ones (texlive, texlive-union,
...) don't.  I know that computed-origin is a thing that exists, but
this would really have been overkill for me.

> > +    (build-system trivial-build-system)
> > +    (arguments
> > +     `(#:modules ((guix build utils))
> > +       #:builder
> > +       (let ((out (string-append %output "/share/unicode/emoji")))
> > +         (use-modules (guix build utils))
> > +         (mkdir-p out)
> > +         (for-each
> > +          (lambda (input)
> > +            (copy-file
> > +             (cdr input)
> > +             (string-append out "/"
> > +                            (substring (car input) 8) ; strip
> > "unicode-"
> > +                            ".txt")))
> 
> We don’t like to use CAR and CDR, because they feel so 80s… :) We
> prefer
> to use MATCH instead, because that feels more like the 90s.  You
> could
> also use MATCH-LAMBDA.
Will do.

> Using a magical 8 also doesn’t feel right.  You only need to strip
> the
> “unicode-” prefix because you chose to use it in the labels of these
> inputs.  I don’t know… I feel that there’s a prettier way to express
> this, but perhaps there’s no *shorter* way.
The thing is, I kinda do need those prefixes, because otherwise those
files will be stored as gnu/store/<hash>-emoji-<whatever>.txt, which
feels wrong.  AFAIK Guile has no string-remove-prefix.

> > +    (inputs
> > +     `(("unicode-emoji-data"
> > +        ,(origin
> > +           (method url-fetch)
> > +           (uri "
> > https://www.unicode.org/Public/emoji/12.0/emoji-data.txt")
> > +           (sha256
> > +            (base32
> > "03sf7h1d6kb9m5s02lif88jsi5kjszpkfvcymaqxj8ds70ar9pgv"))))
> > +       ("unicode-emoji-sequences"
> > +        ,(origin
> > +           (method url-fetch)
> > +           (uri "
> > https://www.unicode.org/Public/emoji/12.0/emoji-sequences.txt")
> > +           (sha256
> > +            (base32
> > "1hghki2rn3n7m4lwpwi2a5wrsf2nij4bxga9ldabx4g0g2k23svs"))))
> > +       ("unicode-emoji-test"
> > +        ,(origin
> > +           (method url-fetch)
> > +           (uri "
> > https://www.unicode.org/Public/emoji/12.0/emoji-test.txt")
> > +           (sha256
> > +            (base32
> > "1dqd0fh999mh6naj816ni113m9dimfy3ih9nffjq2lrv9mmlgdck"))))
> > +       ("unicode-emoji-variation-sequences"
> > +        ,(origin
> > +           (method url-fetch)
> > +           (uri "
> > https://www.unicode.org/Public/emoji/12.0/emoji-variation-sequences.txt
> > ")
> > +           (sha256
> > +            (base32
> > "1cccwx5bl79w4c19vi5dhjqxrph92s8hihp9y8s2cqvdzmgbln7a"))))
> > +       ("unicode-emoji-zwj-sequences"
> > +        ,(origin
> > +           (method url-fetch)
> > +           (uri "
> > https://www.unicode.org/Public/emoji/12.0/emoji-zwj-sequences.txt")
> > +           (sha256
> > +            (base32
> > "1l791nbijmmhwa7kmvfn8gp26ban512l6mgqpz1mnbq3xm19181n"))))))
> 
> Please use the version string from above in the URLs here.  It’s just
> a
> little less to update when upgrading the package in the future.
Will do.

> > +    (description
> > +     "Data files for the Unicode Technological Standard #51
> > (Emoji).")
> 
> Please use a complete sentence here.
I doubt the nature of this package will allow me to be more
descriptive, but I'll try.

Regards, Leo





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 16 Jan 2020 21:13:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 16:13:39 2020
Received: from localhost ([127.0.0.1]:38455 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isCSP-0008Pv-7s
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:13:39 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21172)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1isCSK-0008Pk-UR
 for 39086 <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:13:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1579209211; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 bh=56+iFRMWWPrBiKgXr/dE12MOpRQO5Ir2WIhxdI4t2h0=;
 b=fPXjGLhFgX82LCd4FXuKR+m5mXc4WFIl5onND5c6x4zSSDp49BeV+qrhC8y1cSie
 k+LUzUceSfJvxuhvvFpQxwopgjFFGF1wYC6JOC6id7o3QwA7/M/DbbvZMAEmNsW1W7k
 6e0DtGdhrfFQrdsqYiw+01ADOxw6TYpl9IgMSBm4=
Received: from localhost (p54AD4F56.dip0.t-ipconnect.de [84.173.79.86]) by
 mx.zohomail.com with SMTPS id 1579209207205129.91442154652123;
 Thu, 16 Jan 2020 13:13:27 -0800 (PST)
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
 <20200111120829.29821-5-leo.prikler@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.3
From: Ricardo Wurmus <rekado@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>
Subject: Re: [bug#39086] [PATCH 5/5] gnu: ibus: Disable parallel build.
In-reply-to: <20200111120829.29821-5-leo.prikler@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Thu, 16 Jan 2020 22:13:24 +0100
Message-ID: <87ftgfxfyj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39086
Cc: 39086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Leo Prikler <leo.prikler@HIDDEN> writes:

> * gnu/packages/ibus (arguments): Disable parallel build.

This should be:

    * gnu/packages/ibus.scm (ibus)[arguments]: Disable parallel build.

Hint: if you=E2=80=99re using Emacs with Magit and Yasnippets you can cut d=
own
on a few of these commit message errors (in simple cases).  The snippets
are not very helpful in this particular case, but at least they get the
file name right ;)

>      (arguments
>       `(#:tests? #f  ; tests fail because there's no connection to dbus
> +       ;; Parallel build would fail after I added Emoji support.  This a=
ppears
> +       ;; to be a race condition, but I'm unsure what exactly triggers i=
t.
> +       #:parallel-build? #f

Please don=E2=80=99t use =E2=80=9CI=E2=80=9D because it isn=E2=80=99t obvio=
us from the context who is
speaking.  It=E2=80=99s better to keep it short and impersonal.

--=20
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 16 Jan 2020 21:10:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 16:10:55 2020
Received: from localhost ([127.0.0.1]:38451 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isCPj-0008M1-EO
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:10:54 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21194)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1isCPe-0008Lp-Np
 for 39086 <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:10:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1579209044; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 bh=YjJWV0q758dEkKcIogz5+oOA5xZcGi+SbqnZdCkkpVM=;
 b=QCIhR2mIKSfh/jZF1rpcCogGf40559EhTEiQxDQnkQYU1pG7OGeR3aSNdEwBfjeA
 0/653n/FDaG9LUQdnDvAs1lcPA35byJTncri5TuTiIr6YZSbEUx6ZeXAAXWGwvsy335
 vrcR8ZQ50KQMs6sGqkesdb2XX/UoNLbNEreDbi4c=
Received: from localhost (p54AD4F56.dip0.t-ipconnect.de [84.173.79.86]) by
 mx.zohomail.com with SMTPS id 1579209041025336.88022529523585;
 Thu, 16 Jan 2020 13:10:41 -0800 (PST)
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
 <20200111120829.29821-4-leo.prikler@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.3
From: Ricardo Wurmus <rekado@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>
Subject: Re: [bug#39086] [PATCH 4/5] gnu: ibus: Build with emoji support.
In-reply-to: <20200111120829.29821-4-leo.prikler@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Thu, 16 Jan 2020 22:10:37 +0100
Message-ID: <87h80vxg36.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39086
Cc: 39086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Leo Prikler <leo.prikler@HIDDEN> writes:

> * gnu/packages/ibus.scm (ibus) [inputs]: Add unicode-emoji and
> unicode-cldr-common.
> [configure-flags]: Add flags for emoji and annotations.

This should be =E2=80=9Carguments=E2=80=9D, not =E2=80=9Cconfigure-flags=E2=
=80=9D.  Also: please remove
the space between =E2=80=9C(ibus)=E2=80=9D and =E2=80=9C[inputs]=E2=80=9D.

>      (arguments
>       `(#:tests? #f  ; tests fail because there's no connection to dbus
> -       #:configure-flags `("--disable-emoji-dict" ; cannot find emoji.js=
on path
> -                           "--enable-python-library"
> +       #:configure-flags `("--enable-python-library"
> +                           ,(string-append
> +                             "--with-unicode-emoji-dir=3D"
> +                             (assoc-ref %build-inputs "unicode-emoji")
> +                             "/share/unicode/emoji")
> +                           ,(string-append
> +                             "--with-emoji-annotation-dir=3D"
> +                             (assoc-ref %build-inputs "unicode-cldr-comm=
on")
> +                             "/share/unicode/cldr/common/annotations")
>                             ,(string-append "--with-ucd-dir=3D"
>                                             (getcwd) "/ucd")
>                             "--enable-wayland")

Now that the configure flags are so long I have a preference for
dropping quoting and using (list =E2=80=A6) instead.  All that unquoting lo=
oks a
little too noisy.

> @@ -241,6 +248,8 @@ conventions.")
>       `(("glib" ,glib "bin") ; for glib-genmarshal
>         ("gobject-introspection" ,gobject-introspection) ; for g-ir-compi=
ler
>=20=20
> +       ("unicode-emoji" ,unicode-emoji)
> +       ("unicode-cldr-common" ,unicode-cldr-common)
>         ;; XXX TODO: Move Unicode data to its own (versioned) package.
>         ("unicode-nameslist"
>          ,(origin

Oh, here is the comment I mentioned earlier!

--=20
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 16 Jan 2020 21:08:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 16:08:21 2020
Received: from localhost ([127.0.0.1]:38441 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isCNI-0008I6-Nu
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:08:20 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21109)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1isCNG-0008Ht-4N
 for 39086 <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:08:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1579208895; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 bh=3+a5QE8kjkW1MghKc+5vn+Ph5YQ896mtmUdxlZEFWyo=;
 b=KJem6+Y5GHa0AmMEoh+Q4/sxJmoN7BuxxCEkdjSILQsRF49p7L5xQFJL5wH5/Kf5
 xnlwDkcdGStAXBJxiT6tBgqHyuhdFW3eRsjjLo/6ZHL3IkE5gsZlg8tNx6jel1LP9oy
 nzweFW2K/oqcH+wq0wvwq01Ii3/q4WY3uBPsL5/E=
Received: from localhost (p54AD4F56.dip0.t-ipconnect.de [84.173.79.86]) by
 mx.zohomail.com with SMTPS id 157920889241661.296761392488065;
 Thu, 16 Jan 2020 13:08:12 -0800 (PST)
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
 <20200111120829.29821-3-leo.prikler@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.3
From: Ricardo Wurmus <rekado@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>
Subject: Re: [bug#39086] [PATCH 3/5] gnu: Add unicode-cldr-common.
In-reply-to: <20200111120829.29821-3-leo.prikler@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Thu, 16 Jan 2020 22:08:09 +0100
Message-ID: <87imlbxg7a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39086
Cc: 39086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Leo Prikler <leo.prikler@HIDDEN> writes:

> * gnu/packages/ibus (unicode-cldr-commmon): New package.

This should be:

    * gnu/packages/ibus.scm (unicode-cldr-commmon): New variable.

You know, I wonder if these things really belong to ibus.scm.  I
remember a TODO somewhere in the code that bemoaned the lack of
versioned Unicode data files.  Perhaps we should just add a new module
(gnu packages unicode) =E2=80=94 what do you think?

> +(define-public unicode-cldr-common
> +  (package
> +    (name "unicode-cldr-common")
> +    (version "36")
> +    (source
> +     (origin (method url-fetch/zipbomb)
> +             (uri "https://unicode.org/Public/cldr/36/cldr-common-36.0.z=
ip")
> +             (sha256
> +              (base32
> +
> "0hxsc3j5zb32hmiaj0r3ajchmklx6zng6zlh1ca6s9plq5b9w9q7"))))

The version should be =E2=80=9C36.0=E2=80=9D.  The source URI should refere=
nce the
version field twice.

> +    (description
> +     "The Unicode Common Locale Data Repository (CLDR) is a large reposi=
tory of
> +locale data, including among others
> +- patterns for formatting and parsing,
> +- name translations,
> +- and various informations on languages, scripts and country-specific
> +conventions.")
> +    (license unicode)))

Please use @enumerate or @itemize texinfo syntax here.

--=20
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 16 Jan 2020 21:05:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 16:05:05 2020
Received: from localhost ([127.0.0.1]:38433 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1isCK5-0008Cm-2d
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:05:05 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21104)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1isCJz-0008Ca-JU
 for 39086 <at> debbugs.gnu.org; Thu, 16 Jan 2020 16:05:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1579208693; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 bh=qLpW8qOc2ueWRJz4HdMZXNEhwmYs8n3wx6/f4fSv+v4=;
 b=DGabppTBHb5WNXVLBEEl8ISlW4Xt4ot7WwgW0YmsaLeaDj1RvIkaJzSOBI1xcQZH
 K32J6C7C7O3ERjc5JFKPVBNYFNx7AxqyvYdT4CfmzqfD2Rfejl3ksR2pdYVKqikgnqU
 wONlkWrxtG3KDp7qGbYJslJb+9FAtQFjuMRIZVNA=
Received: from localhost (p54AD4F56.dip0.t-ipconnect.de [84.173.79.86]) by
 mx.zohomail.com with SMTPS id 1579208688438412.4308951847288;
 Thu, 16 Jan 2020 13:04:48 -0800 (PST)
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
 <20200111120829.29821-2-leo.prikler@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.3
From: Ricardo Wurmus <rekado@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>
Subject: Re: [bug#39086] [PATCH 2/5] gnu: Add unicode-emoji.
In-reply-to: <20200111120829.29821-2-leo.prikler@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Thu, 16 Jan 2020 22:04:44 +0100
Message-ID: <87k15rxgcz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39086
Cc: 39086 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi Leo,

> * gnu/packages/ibus.scm (unicode-emoji): New package.

Thank you for these patches!

> +(define-public unicode-emoji
> +  (package
> +    (name "unicode-emoji")
> +    (version "12.0")
> +    (source #f)

It=E2=80=99s pretty unusual to not provide a source.  This will also make =
=E2=80=9Cguix
build -S unicode-emoji=E2=80=9D turn up nothing.  It may be a good idea to
elevate at least one of the inputs to =E2=80=9Csource=E2=80=9D status.

Ideally, all of the inputs would be considered sources like we=E2=80=99re d=
oing
it for texlive-* packages.  It=E2=80=99s a pity that we can=E2=80=99t expre=
ss multiple
URLs for the url-fetch method.

> +    (build-system trivial-build-system)
> +    (arguments
> +     `(#:modules ((guix build utils))
> +       #:builder
> +       (let ((out (string-append %output "/share/unicode/emoji")))
> +         (use-modules (guix build utils))
> +         (mkdir-p out)
> +         (for-each
> +          (lambda (input)
> +            (copy-file
> +             (cdr input)
> +             (string-append out "/"
> +                            (substring (car input) 8) ; strip "unicode-"
> +                            ".txt")))

We don=E2=80=99t like to use CAR and CDR, because they feel so 80s=E2=80=A6=
 :) We prefer
to use MATCH instead, because that feels more like the 90s.  You could
also use MATCH-LAMBDA.

Using a magical 8 also doesn=E2=80=99t feel right.  You only need to strip =
the
=E2=80=9Cunicode-=E2=80=9D prefix because you chose to use it in the labels=
 of these
inputs.  I don=E2=80=99t know=E2=80=A6 I feel that there=E2=80=99s a pretti=
er way to express
this, but perhaps there=E2=80=99s no *shorter* way.

> +    (inputs
> +     `(("unicode-emoji-data"
> +        ,(origin
> +           (method url-fetch)
> +           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-data.tx=
t")
> +           (sha256
> +            (base32 "03sf7h1d6kb9m5s02lif88jsi5kjszpkfvcymaqxj8ds70ar9pg=
v"))))
> +       ("unicode-emoji-sequences"
> +        ,(origin
> +           (method url-fetch)
> +           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-sequenc=
es.txt")
> +           (sha256
> +            (base32 "1hghki2rn3n7m4lwpwi2a5wrsf2nij4bxga9ldabx4g0g2k23sv=
s"))))
> +       ("unicode-emoji-test"
> +        ,(origin
> +           (method url-fetch)
> +           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-test.tx=
t")
> +           (sha256
> +            (base32 "1dqd0fh999mh6naj816ni113m9dimfy3ih9nffjq2lrv9mmlgdc=
k"))))
> +       ("unicode-emoji-variation-sequences"
> +        ,(origin
> +           (method url-fetch)
> +           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-variati=
on-sequences.txt")
> +           (sha256
> +            (base32 "1cccwx5bl79w4c19vi5dhjqxrph92s8hihp9y8s2cqvdzmgbln7=
a"))))
> +       ("unicode-emoji-zwj-sequences"
> +        ,(origin
> +           (method url-fetch)
> +           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-zwj-seq=
uences.txt")
> +           (sha256
> +            (base32 "1l791nbijmmhwa7kmvfn8gp26ban512l6mgqpz1mnbq3xm19181=
n"))))))

Please use the version string from above in the URLs here.  It=E2=80=99s ju=
st a
little less to update when upgrading the package in the future.

> +    (description
> +     "Data files for the Unicode Technological Standard #51
> (Emoji).")

Please use a complete sentence here.

--
Ricardo





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 11 Jan 2020 12:09:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 07:09:03 2020
Received: from localhost ([127.0.0.1]:55494 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqFZf-0001Zb-Hf
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:03 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:18552)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFZd-0001Yx-VT
 for 39086 <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:02 -0500
Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47vzCw2ns5z3wbm
 for <39086 <at> debbugs.gnu.org>; Sat, 11 Jan 2020 13:09:00 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1578744540;
 bh=l3MFmvuBhtO6cVeoWlN29z6+u74hZrlZFtZpbyUAb2s=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=tNHpCWL5ihOmxH+IjzcQ2DIlCA2fCvJA3mwyxT6kyokDhPY9oWq1wkdANEV4W2VJZ
 uljQsA8l0SxT3vbRLR2CAByTJ6tMJ1PbS7gQyrHXlkkQyRy1FD4Rvx6+yCd2UO8YbU
 gSjP5Wkpe1arodsCsr1VfO8SeT5bq0Dj6/0zg5vk=
From: Leo Prikler <leo.prikler@HIDDEN>
To: 39086 <at> debbugs.gnu.org
Subject: [PATCH 5/5] gnu: ibus: Disable parallel build.
Date: Sat, 11 Jan 2020 13:08:30 +0100
Message-Id: <20200111120829.29821-5-leo.prikler@HIDDEN>
X-Mailer: git-send-email 2.24.1
In-Reply-To: <20200111120829.29821-1-leo.prikler@HIDDEN>
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39086
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/ibus (arguments): Disable parallel build.
---
 gnu/packages/ibus.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 66cfb10068..2d60173c6b 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -161,6 +161,9 @@ conventions.")
     (build-system glib-or-gtk-build-system)
     (arguments
      `(#:tests? #f  ; tests fail because there's no connection to dbus
+       ;; Parallel build would fail after I added Emoji support.  This appears
+       ;; to be a race condition, but I'm unsure what exactly triggers it.
+       #:parallel-build? #f
        #:configure-flags `("--enable-python-library"
                            ,(string-append
                              "--with-unicode-emoji-dir="
-- 
2.24.1





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 11 Jan 2020 12:09:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 07:09:03 2020
Received: from localhost ([127.0.0.1]:55492 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqFZf-0001ZU-9p
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:03 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:54881)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFZc-0001YX-Sq
 for 39086 <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:01 -0500
Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47vzCv1Nsbz3wgY
 for <39086 <at> debbugs.gnu.org>; Sat, 11 Jan 2020 13:08:59 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1578744539;
 bh=36Px61Qxy4mFeK4n5SSfYExeTMk7wxFQjbQHxxX15uw=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=CFG9hECTayZ81G+j4EEvLNLprPzazphyCp6P4UzbcQHjks9Qu+CxFWVZeJjbSJw74
 8JdlOUXcgEKUJkUkbCzCFB73xH8VQS5QosjrbdIGHekuKLj3wcnQmm/+G6Qzibh3Gx
 AH29kYqGXs8KYNDLh7OkcjPs0+O0rVKYQoK60yrA=
From: Leo Prikler <leo.prikler@HIDDEN>
To: 39086 <at> debbugs.gnu.org
Subject: [PATCH 4/5] gnu: ibus: Build with emoji support.
Date: Sat, 11 Jan 2020 13:08:29 +0100
Message-Id: <20200111120829.29821-4-leo.prikler@HIDDEN>
X-Mailer: git-send-email 2.24.1
In-Reply-To: <20200111120829.29821-1-leo.prikler@HIDDEN>
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39086
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* 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





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 11 Jan 2020 12:09:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 07:09:03 2020
Received: from localhost ([127.0.0.1]:55490 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqFZf-0001ZS-08
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:03 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:61099)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFZb-0001YL-LZ
 for 39086 <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:00 -0500
Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47vzCs5S1Bz3xdm
 for <39086 <at> debbugs.gnu.org>; Sat, 11 Jan 2020 13:08:57 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1578744537;
 bh=e547PdNFdifcV9MyQJUJioP+ag2m+Zzm0Amp4ZEOSbo=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=bU3fMk/2Yb/JpbA1br4I0IjmtGyz0jl9hM02ayzVgn9I5GbBVHbpWjmSsZYX4UhHQ
 PNVVHeggfZN7wEkMtlfKWWrMXlUourH2ioamQTfZSyYD3cYhA6Hh7oLVZwkwyv0FJY
 aXi1jkYNOu+TNBgptxPHnQbkhc3kOogHgo7TtO4A=
From: Leo Prikler <leo.prikler@HIDDEN>
To: 39086 <at> debbugs.gnu.org
Subject: [PATCH 3/5] gnu: Add unicode-cldr-common.
Date: Sat, 11 Jan 2020 13:08:28 +0100
Message-Id: <20200111120829.29821-3-leo.prikler@HIDDEN>
X-Mailer: git-send-email 2.24.1
In-Reply-To: <20200111120829.29821-1-leo.prikler@HIDDEN>
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39086
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/ibus (unicode-cldr-commmon): New package.
---
 gnu/packages/ibus.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 3d582fb935..87e086a458 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -114,6 +114,38 @@
      "Data files for the Unicode Technological Standard #51 (Emoji).")
     (license unicode)))
 
+(define-public unicode-cldr-common
+  (package
+    (name "unicode-cldr-common")
+    (version "36")
+    (source
+     (origin (method url-fetch/zipbomb)
+             (uri "https://unicode.org/Public/cldr/36/cldr-common-36.0.zip")
+             (sha256
+              (base32
+               "0hxsc3j5zb32hmiaj0r3ajchmklx6zng6zlh1ca6s9plq5b9w9q7"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (let ((out (string-append %output "/share/unicode/cldr/common")))
+         (use-modules (guix build utils))
+         (mkdir-p out)
+         (copy-recursively (string-append (assoc-ref %build-inputs "source")
+                                          "/common")
+                           out)
+         #t)))
+    (home-page "https://www.unicode.org")
+    (synopsis "Locale data repository")
+    (description
+     "The Unicode Common Locale Data Repository (CLDR) is a large repository of
+locale data, including among others
+- patterns for formatting and parsing,
+- name translations,
+- and various informations on languages, scripts and country-specific
+conventions.")
+    (license unicode)))
+
 (define-public ibus
   (package
     (name "ibus")
-- 
2.24.1





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 11 Jan 2020 12:09:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 07:09:00 2020
Received: from localhost ([127.0.0.1]:55484 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqFZc-0001YY-Jl
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:00 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:43249)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFZa-0001Y7-81
 for 39086 <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:08:58 -0500
Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47vzCr1FqVz3wgY
 for <39086 <at> debbugs.gnu.org>; Sat, 11 Jan 2020 13:08:56 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1578744536;
 bh=z3yMsl5v/MVyfSw5HSjnIne+9AajigT6c4/Fp5IUDk4=;
 h=From:To:Subject:Date:In-Reply-To:References;
 b=Ug6JzFN/xCbVKpeDJAcTV51DhC10P+0JkfwV0yceL/CSVpK3H9oF41aLp3aO4KUbj
 foLrmJ9khqsH3k590OP8Wsytk26NoEGFYggkbXZUBEZHgpu+pFARdYTUYMFgQX2nLu
 7UdMgihw2Nt27IHmHJzg5BrlhKDKAv5pinUZfP5M=
From: Leo Prikler <leo.prikler@HIDDEN>
To: 39086 <at> debbugs.gnu.org
Subject: [PATCH 2/5] gnu: Add unicode-emoji.
Date: Sat, 11 Jan 2020 13:08:27 +0100
Message-Id: <20200111120829.29821-2-leo.prikler@HIDDEN>
X-Mailer: git-send-email 2.24.1
In-Reply-To: <20200111120829.29821-1-leo.prikler@HIDDEN>
References: <20200111120829.29821-1-leo.prikler@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39086
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* gnu/packages/ibus.scm (unicode-emoji): New package.
---
 gnu/packages/ibus.scm | 59 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 512a1ff9ec..3d582fb935 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -30,6 +30,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system glib-or-gtk)
+  #:use-module (guix build-system trivial)
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages anthy)
@@ -55,6 +56,64 @@
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages xorg))
 
+(define-public unicode-emoji
+  (package
+    (name "unicode-emoji")
+    (version "12.0")
+    (source #f)
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (let ((out (string-append %output "/share/unicode/emoji")))
+         (use-modules (guix build utils))
+         (mkdir-p out)
+         (for-each
+          (lambda (input)
+            (copy-file
+             (cdr input)
+             (string-append out "/"
+                            (substring (car input) 8) ; strip "unicode-"
+                            ".txt")))
+          %build-inputs)
+         #t)))
+    (inputs
+     `(("unicode-emoji-data"
+        ,(origin
+           (method url-fetch)
+           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-data.txt")
+           (sha256
+            (base32 "03sf7h1d6kb9m5s02lif88jsi5kjszpkfvcymaqxj8ds70ar9pgv"))))
+       ("unicode-emoji-sequences"
+        ,(origin
+           (method url-fetch)
+           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-sequences.txt")
+           (sha256
+            (base32 "1hghki2rn3n7m4lwpwi2a5wrsf2nij4bxga9ldabx4g0g2k23svs"))))
+       ("unicode-emoji-test"
+        ,(origin
+           (method url-fetch)
+           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-test.txt")
+           (sha256
+            (base32 "1dqd0fh999mh6naj816ni113m9dimfy3ih9nffjq2lrv9mmlgdck"))))
+       ("unicode-emoji-variation-sequences"
+        ,(origin
+           (method url-fetch)
+           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-variation-sequences.txt")
+           (sha256
+            (base32 "1cccwx5bl79w4c19vi5dhjqxrph92s8hihp9y8s2cqvdzmgbln7a"))))
+       ("unicode-emoji-zwj-sequences"
+        ,(origin
+           (method url-fetch)
+           (uri "https://www.unicode.org/Public/emoji/12.0/emoji-zwj-sequences.txt")
+           (sha256
+            (base32 "1l791nbijmmhwa7kmvfn8gp26ban512l6mgqpz1mnbq3xm19181n"))))))
+    (home-page "https://www.unicode.org")
+    (synopsis "Unicode Emoji data")
+    (description
+     "Data files for the Unicode Technological Standard #51 (Emoji).")
+    (license unicode)))
+
 (define-public ibus
   (package
     (name "ibus")
-- 
2.24.1





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at 39086 <at> debbugs.gnu.org:


Received: (at 39086) by debbugs.gnu.org; 11 Jan 2020 12:09:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 07:09:00 2020
Received: from localhost ([127.0.0.1]:55482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqFZc-0001YN-0a
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:09:00 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:38790)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFZZ-0001Y4-Dh
 for 39086 <at> debbugs.gnu.org; Sat, 11 Jan 2020 07:08:58 -0500
Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47vzCp4lxCz3wbm
 for <39086 <at> debbugs.gnu.org>; Sat, 11 Jan 2020 13:08:54 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1578744534;
 bh=LdS3yWP7NnTiT/ws3zN4hGMJYUgbqb+gOXIg0I6gzTs=;
 h=From:To:Subject:Date;
 b=FanvRDV+r/i4RI3x9obciCgzg4NHlkNz9VMuuQr0jom9E6Ku0FYS0G7vrxrQuMMqD
 tOfbPZGKvMQGZY0CgSzOqU1uxujCZnXzyxrl2+oAQY6IiH7k6PD7J4352mY7w6rlsA
 TCbVYVswJQqfzQDDS+vPR4dAXU6+QI+uXo/ffiYU=
From: Leo Prikler <leo.prikler@HIDDEN>
To: 39086 <at> debbugs.gnu.org
Subject: [PATCH 1/5] licenses: Add Unicode license.
Date: Sat, 11 Jan 2020 13:08:26 +0100
Message-Id: <20200111120829.29821-1-leo.prikler@HIDDEN>
X-Mailer: git-send-email 2.24.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 39086
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* guix/licenses.scm (unicode): New license.
---
 guix/licenses.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/guix/licenses.scm b/guix/licenses.scm
index 41d4fefad2..c5bf360e85 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -85,6 +85,7 @@
             silofl1.1
             sleepycat
             tcl/tk
+            unicode
             unlicense
             vim
             w3c
@@ -584,6 +585,11 @@ at URI, which may be a file:// URI pointing the package's tree."
            "http://directory.fsf.org/wiki/License:Vim7.2"
            "http://www.gnu.org/licenses/license-list.html#Vim"))
 
+(define unicode
+  (license "Unicode"
+           "https://directory.fsf.org/wiki/License:Unicode"
+           "http://www.gnu.org/licenses/license-list.html#Unicode"))
+
 (define unlicense
   (license "Unlicense"
            "https://unlicense.org/"
-- 
2.24.1





Information forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Jan 2020 11:58:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 06:58:18 2020
Received: from localhost ([127.0.0.1]:55474 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iqFPG-0001Ht-1Y
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 06:58:18 -0500
Received: from lists.gnu.org ([209.51.188.17]:59058)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFPE-0001Hm-CV
 for submit <at> debbugs.gnu.org; Sat, 11 Jan 2020 06:58:16 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:37678)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFPC-00082P-Sf
 for guix-patches@HIDDEN; Sat, 11 Jan 2020 06:58:16 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <leo.prikler@HIDDEN>) id 1iqFPB-0006aM-D0
 for guix-patches@HIDDEN; Sat, 11 Jan 2020 06:58:14 -0500
Received: from mailrelay.tugraz.at ([129.27.2.202]:2549)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <leo.prikler@HIDDEN>)
 id 1iqFPA-00063G-Re
 for guix-patches@HIDDEN; Sat, 11 Jan 2020 06:58:13 -0500
Received: from nijino.local (193-80-82-122.hdsl.highway.telekom.at
 [193.80.82.122])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47vyzJ1RN3z1LLyM
 for <guix-patches@HIDDEN>; Sat, 11 Jan 2020 12:58:03 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47vyzJ1RN3z1LLyM
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1578743884;
 bh=D59SKXUkrzQspI0BD7JosYjJR1WriRKSyI4t0xqa96Y=;
 h=Subject:From:To:Date:From;
 b=bpRZQmlIBt4RzAXQLr20UkOkcydOkGEpo1I9N0KFdl1rdKcXmhrcBYKVaJaVg/2NL
 2HFSgE/7Wn94XN91CpaUb7hITton7T+SKm+ogRCCfiYERYkObuqQwE6h5swmc+xqcn
 LszHBLdm0tgHJgAmVyaxw3qNuug3g6TWHlG1g0Uk=
Message-ID: <e6f63e2866334acd829a9eb5e5de8af30e4f11d0.camel@HIDDEN>
Subject: [PATCH] Enable Emoji support in IBus
From: Leo Prikler <leo.prikler@HIDDEN>
To: guix-patches@HIDDEN
Date: Sat, 11 Jan 2020 12:58:08 +0100
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.32.4 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 129.27.2.202
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Guix!

After ibus-enabling my GNOME Desktop, I dug up an ancient bug, which
causes Ctrl-Shift-u to no longer work.  It appears that in IBus both
this feature and Emoji typing are handled through the Emoji engine,
which is currently disabled in the Guix build of the ibus package. 
Hence I started working enabling emoji support.

I tested this specific series with a VM based on my own current
settings, i.e. with GNOME, GUIX_GTK3_IM_MODULE_FILE set to the system-
wide immodules-gtk.cache and with the ibus-anthy engine specifically. 
From what I can tell, it does not appear as if Emoji Typing is enabled
until an IBus method (e.g. anthy) is added to GNOME, but that appears
to be on the GNOME side of things and is perfectly fine by me.

Regards,
Leo





Acknowledgement sent to Leo Prikler <leo.prikler@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#39086; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 16 Jan 2020 23:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.