summaryrefslogtreecommitdiff
path: root/system/noto-emoji
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-06-22 17:14:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:21 +0700
commita4ac840e323207cb2f6d697f3a4d8da1e6a0fee0 (patch)
tree3d4e4fc92203403d20494b994712fb4f56a21dab /system/noto-emoji
parenta8751ba71858700952799c1e9ac170be684cda4c (diff)
downloadslackbuilds-a4ac840e323207cb2f6d697f3a4d8da1e6a0fee0.tar.gz
system/noto-emoji: Updated for version git8692845.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/noto-emoji')
-rw-r--r--system/noto-emoji/51-noto-color-emoji.conf.xml201
-rw-r--r--system/noto-emoji/README8
-rw-r--r--system/noto-emoji/noto-emoji.SlackBuild7
-rw-r--r--system/noto-emoji/noto-emoji.info12
4 files changed, 214 insertions, 14 deletions
diff --git a/system/noto-emoji/51-noto-color-emoji.conf.xml b/system/noto-emoji/51-noto-color-emoji.conf.xml
new file mode 100644
index 0000000000..1896c22fa2
--- /dev/null
+++ b/system/noto-emoji/51-noto-color-emoji.conf.xml
@@ -0,0 +1,201 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- /etc/fonts/conf.avail/51-noto-color-emoji.conf -->
+<fontconfig>
+ <selectfont>
+ <acceptfont>
+ <pattern>
+ <patelt name="family"><string>Noto Color Emoji</string></patelt>
+ </pattern>
+ </acceptfont>
+ </selectfont>
+
+ <match target="scan">
+ <test name="family">
+ <string>Noto Color Emoji</string>
+ </test>
+ <edit name="charset">
+ <charset>
+ <int>0xa9</int>
+ <int>0xae</int>
+ <int>0x200d</int>
+ <int>0x203c</int>
+ <int>0x2049</int>
+ <int>0x20e3</int>
+ <int>0x2122</int>
+ <int>0x2139</int>
+ <range><int>0x2194</int><int>0x2199</int></range>
+ <range><int>0x21a9</int><int>0x21aa</int></range>
+ <range><int>0x231a</int><int>0x231b</int></range>
+ <int>0x2328</int>
+ <int>0x23cf</int>
+ <range><int>0x23e9</int><int>0x23f3</int></range>
+ <range><int>0x23f8</int><int>0x23fa</int></range>
+ <int>0x24c2</int>
+ <range><int>0x25aa</int><int>0x25ab</int></range>
+ <int>0x25b6</int>
+ <int>0x25c0</int>
+ <range><int>0x25fb</int><int>0x25fe</int></range>
+ <range><int>0x2600</int><int>0x2604</int></range>
+ <int>0x260e</int>
+ <int>0x2611</int>
+ <range><int>0x2614</int><int>0x2615</int></range>
+ <int>0x2618</int>
+ <int>0x261d</int>
+ <int>0x2620</int>
+ <range><int>0x2622</int><int>0x2623</int></range>
+ <int>0x2626</int>
+ <int>0x262a</int>
+ <range><int>0x262e</int><int>0x262f</int></range>
+ <range><int>0x2638</int><int>0x263a</int></range>
+ <int>0x2640</int>
+ <int>0x2642</int>
+ <range><int>0x2648</int><int>0x2653</int></range>
+ <int>0x2660</int>
+ <int>0x2663</int>
+ <range><int>0x2665</int><int>0x2666</int></range>
+ <int>0x2668</int>
+ <int>0x267b</int>
+ <int>0x267f</int>
+ <range><int>0x2692</int><int>0x2697</int></range>
+ <int>0x2699</int>
+ <range><int>0x269b</int><int>0x269c</int></range>
+ <range><int>0x26a0</int><int>0x26a1</int></range>
+ <range><int>0x26aa</int><int>0x26ab</int></range>
+ <range><int>0x26b0</int><int>0x26b1</int></range>
+ <range><int>0x26bd</int><int>0x26be</int></range>
+ <range><int>0x26c4</int><int>0x26c5</int></range>
+ <int>0x26c8</int>
+ <range><int>0x26ce</int><int>0x26cf</int></range>
+ <int>0x26d1</int>
+ <range><int>0x26d3</int><int>0x26d4</int></range>
+ <range><int>0x26e9</int><int>0x26ea</int></range>
+ <range><int>0x26f0</int><int>0x26f5</int></range>
+ <range><int>0x26f7</int><int>0x26fa</int></range>
+ <int>0x26fd</int>
+ <int>0x2702</int>
+ <int>0x2705</int>
+ <range><int>0x2708</int><int>0x270d</int></range>
+ <int>0x270f</int>
+ <int>0x2712</int>
+ <int>0x2714</int>
+ <int>0x2716</int>
+ <int>0x271d</int>
+ <int>0x2721</int>
+ <int>0x2728</int>
+ <range><int>0x2733</int><int>0x2734</int></range>
+ <int>0x2744</int>
+ <int>0x2747</int>
+ <int>0x274c</int>
+ <int>0x274e</int>
+ <range><int>0x2753</int><int>0x2755</int></range>
+ <int>0x2757</int>
+ <range><int>0x2763</int><int>0x2764</int></range>
+ <range><int>0x2795</int><int>0x2797</int></range>
+ <int>0x27a1</int>
+ <int>0x27b0</int>
+ <int>0x27bf</int>
+ <range><int>0x2934</int><int>0x2935</int></range>
+ <range><int>0x2b05</int><int>0x2b07</int></range>
+ <range><int>0x2b1b</int><int>0x2b1c</int></range>
+ <int>0x2b50</int>
+ <int>0x2b55</int>
+ <int>0x3030</int>
+ <int>0x303d</int>
+ <int>0x3297</int>
+ <int>0x3299</int>
+ <int>0xfe0f</int>
+ <int>0x1f004</int>
+ <int>0x1f0cf</int>
+ <range><int>0x1f170</int><int>0x1f171</int></range>
+ <range><int>0x1f17e</int><int>0x1f17f</int></range>
+ <int>0x1f18e</int>
+ <range><int>0x1f191</int><int>0x1f19a</int></range>
+ <range><int>0x1f1e6</int><int>0x1f1ff</int></range>
+ <range><int>0x1f201</int><int>0x1f202</int></range>
+ <int>0x1f21a</int>
+ <int>0x1f22f</int>
+ <range><int>0x1f232</int><int>0x1f23a</int></range>
+ <range><int>0x1f250</int><int>0x1f251</int></range>
+ <range><int>0x1f300</int><int>0x1f321</int></range>
+ <range><int>0x1f324</int><int>0x1f393</int></range>
+ <range><int>0x1f396</int><int>0x1f397</int></range>
+ <range><int>0x1f399</int><int>0x1f39b</int></range>
+ <range><int>0x1f39e</int><int>0x1f3f0</int></range>
+ <range><int>0x1f3f3</int><int>0x1f3f5</int></range>
+ <range><int>0x1f3f7</int><int>0x1f4fd</int></range>
+ <range><int>0x1f4ff</int><int>0x1f53d</int></range>
+ <range><int>0x1f549</int><int>0x1f54e</int></range>
+ <range><int>0x1f550</int><int>0x1f567</int></range>
+ <range><int>0x1f56f</int><int>0x1f570</int></range>
+ <range><int>0x1f573</int><int>0x1f57a</int></range>
+ <int>0x1f587</int>
+ <range><int>0x1f58a</int><int>0x1f58d</int></range>
+ <int>0x1f590</int>
+ <range><int>0x1f595</int><int>0x1f596</int></range>
+ <range><int>0x1f5a4</int><int>0x1f5a5</int></range>
+ <int>0x1f5a8</int>
+ <range><int>0x1f5b1</int><int>0x1f5b2</int></range>
+ <int>0x1f5bc</int>
+ <range><int>0x1f5c2</int><int>0x1f5c4</int></range>
+ <range><int>0x1f5d1</int><int>0x1f5d3</int></range>
+ <range><int>0x1f5dc</int><int>0x1f5de</int></range>
+ <int>0x1f5e1</int>
+ <int>0x1f5e3</int>
+ <int>0x1f5e8</int>
+ <int>0x1f5ef</int>
+ <int>0x1f5f3</int>
+ <range><int>0x1f5fa</int><int>0x1f64f</int></range>
+ <range><int>0x1f680</int><int>0x1f6c5</int></range>
+ <range><int>0x1f6cb</int><int>0x1f6d2</int></range>
+ <range><int>0x1f6e0</int><int>0x1f6e5</int></range>
+ <int>0x1f6e9</int>
+ <range><int>0x1f6eb</int><int>0x1f6ec</int></range>
+ <int>0x1f6f0</int>
+ <range><int>0x1f6f3</int><int>0x1f6f6</int></range>
+ <range><int>0x1f910</int><int>0x1f91e</int></range>
+ <range><int>0x1f920</int><int>0x1f927</int></range>
+ <int>0x1f930</int>
+ <range><int>0x1f933</int><int>0x1f93a</int></range>
+ <range><int>0x1f93c</int><int>0x1f93e</int></range>
+ <range><int>0x1f940</int><int>0x1f945</int></range>
+ <range><int>0x1f947</int><int>0x1f94b</int></range>
+ <range><int>0x1f950</int><int>0x1f95e</int></range>
+ <range><int>0x1f980</int><int>0x1f991</int></range>
+ <int>0x1f9c0</int>
+ </charset>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Noto Color Emoji</string>
+ </test>
+ <edit name="scalable" mode="assign"><bool>true</bool></edit>
+ <edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
+ <edit name="hinting" mode="assign"><bool>true</bool></edit>
+ <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
+ </match>
+
+ <!-- Experimental -->
+ <match target="pattern">
+ <test name="family" qual="first" compare="contains">
+ <string>emoji</string>
+ </test>
+ <edit mode="assign" name="color">
+ <bool>true</bool>
+ </edit>
+ <edit mode="assign" name="family">
+ <string>Noto Color Emoji</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="prgname" compare="not_eq">
+ <string>java</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Color Emoji</string>
+ </edit>
+ </match>
+</fontconfig>
diff --git a/system/noto-emoji/README b/system/noto-emoji/README
index c05a92dab8..0afc38e079 100644
--- a/system/noto-emoji/README
+++ b/system/noto-emoji/README
@@ -1,10 +1,4 @@
noto-emoji - Color and Black-and-White Noto emoji fonts
-I haven't included a font config in this package since I am still
-experimenting with the best configuration. Currently, I am using this
-
- https://gist.github.com/hexchain/47f550472e79d0805060
-
-in /etc/fonts/conf.avail/ and symlinking it to /etc/fonts/conf.d/
-It seems to work well with chromium. (firefox since version 52 bundles
+It seems to work well with chromium and gajim (firefox since version 52 bundles
its own emoji font)
diff --git a/system/noto-emoji/noto-emoji.SlackBuild b/system/noto-emoji/noto-emoji.SlackBuild
index d8deb7b9d6..e2f499a54a 100644
--- a/system/noto-emoji/noto-emoji.SlackBuild
+++ b/system/noto-emoji/noto-emoji.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=noto-emoji
-GITREV=${GITREV:-8056f381ac3c117ab3694cb111bc723431e71b2d}
-NOTOTOOLSGITREV=${NOTOTOOLSGITREV:-21eb580489fc5864e7091fc6f0bd4781008fc91e}
+GITREV=${GITREV:-86928453223b2dd8bfe8e61d70aebcae9c32f631}
+NOTOTOOLSGITREV=${NOTOTOOLSGITREV:-d8f3d1653f8c7c0bcc825f01d07566d122926903}
VERSION=${VERSION:-git$(echo "$GITREV" | sed 's/^\(.\{7\}\).*$/\1/')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,6 +90,9 @@ install -d $PKG/usr/share/fonts/TTF/
install -m644 fonts/*.ttf $PKG/usr/share/fonts/TTF/
install -m644 *Emoji.ttf $PKG/usr/share/fonts/TTF/
+mkdir -p $PKG/etc/fonts/conf.avail/
+install -m 0644 $CWD/51-noto-color-emoji.conf.xml $PKG/etc/fonts/conf.avail/51-noto-color-emoji.conf
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE README.md \
diff --git a/system/noto-emoji/noto-emoji.info b/system/noto-emoji/noto-emoji.info
index 9af4987c8f..81e2981a42 100644
--- a/system/noto-emoji/noto-emoji.info
+++ b/system/noto-emoji/noto-emoji.info
@@ -1,10 +1,12 @@
PRGNAM="noto-emoji"
-VERSION="git8056f38"
+VERSION="git8692845"
HOMEPAGE="https://www.google.com/get/noto/help/emoji/"
-DOWNLOAD="https://github.com/googlei18n/noto-emoji/archive/8056f381ac3c117ab3694cb111bc723431e71b2d/noto-emoji-8056f381ac3c117ab3694cb111bc723431e71b2d.tar.gz \
- https://github.com/googlei18n/nototools/archive/21eb580489fc5864e7091fc6f0bd4781008fc91e/nototools-21eb580489fc5864e7091fc6f0bd4781008fc91e.tar.gz"
-MD5SUM="65ba8fd89a8a55c95b135877b3e2377f \
- 5a65e300e0a52fc929e207da14408e42"
+DOWNLOAD="https://github.com/googlei18n/noto-emoji/archive/86928453223b2dd8bfe8e61d70aebcae9c32f631/noto-emoji-86928453223b2dd8bfe8e61d70aebcae9c32f631.tar.gz \
+ https://github.com/googlei18n/nototools/archive/d8f3d1653f8c7c0bcc825f01d07566d122926903/nototools-d8f3d1653f8c7c0bcc825f01d07566d122926903.tar.gz \
+ https://gist.githubusercontent.com/hexchain/47f550472e79d0805060/raw/d9ecd5a5fcb901bcfb75115f4b602f6c1d3020c1/51-noto-color-emoji.conf.xml"
+MD5SUM="4fe3a69769c1b7d816584f4207afc2be \
+ f03fde134ee6c291abb0ddf9479ac684 \
+ e2d9cf0460fa0315a8da5d8dedacf702"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="optipng python-fonttools"