| 1 |
Emoji data |
| 2 |
========== |
| 3 |
|
| 4 |
We use Emoji data from Unicode and the CLDR, stored in a GVariant. |
| 5 |
The immediate source for our data is the json files from |
| 6 |
|
| 7 |
https://github.com/milesj/emojibase.git |
| 8 |
|
| 9 |
To convert the data from that repository to a GVariant that GTK |
| 10 |
can use, the convert-emoji tool can be used: |
| 11 |
|
| 12 |
convert-emoji $emojibase/packages/data/de/data.raw.json de.data |
| 13 |
|
| 14 |
for example (for German). |
| 15 |
|
| 16 |
To make these usable by GTK, we wrap them in a resource bundle |
| 17 |
that has the GVariant as |
| 18 |
|
| 19 |
/org/gtk/libgtk/emoji/de.data |
| 20 |
|
| 21 |
and install the resulting resource bundle at this location: |
| 22 |
|
| 23 |
/usr/share/gtk-4.0/emoji/de.gresource |