summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Song2016-04-17 11:46:05 +0800
committerRay Song2016-04-17 11:46:05 +0800
commit6740d2e8d9e30fe9c3aac777bed87a473c50720a (patch)
tree7245f3e4098f3bc2dbd6c7a5e378bc9590a5bc57
parent5a3945c110a5bc7e589ca1f4a4e0d6395fe055da (diff)
downloadaur-6740d2e8d9e30fe9c3aac777bed87a473c50720a.tar.gz
for telnet bbs
-rw-r--r--PKGBUILD4
-rw-r--r--fullwidth-emoji.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bd727c5d458..069c1f53d47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=vte3-ng-fullwidth-emoji
_basever=0.44.1
pkgver=$_basever.a
-pkgrel=1
+pkgrel=2
pkgdesc="Enhanced Virtual Terminal Emulator widget for use with GTK3 (patched with support for fullwidth emoji)"
arch=('i686' 'x86_64')
license=('LGPL')
@@ -13,7 +13,7 @@ makedepends=('intltool' 'gobject-introspection' 'gtk3' 'vala' 'gtk-doc' 'gperf')
url="https://github.com/thestinger/vte-ng"
source=(https://github.com/thestinger/vte-ng/archive/$pkgver.tar.gz fullwidth-emoji.patch)
sha256sums=('63c01b8bc3299086e7fb30e59fd3af879326f6f6d7629e46fdeeb344f9be141b'
- '85e9c7f2014419238077f0cbe3fc522dc8afc81430dd49840cd1e33622623270')
+ '3852a0682807a64d5f1de465112e2f8c8b2e1a85e752db6bb0fd8fa093a87ed7')
provides=(vte3=$_basever vte3-select-text=$_basever vte3-ng)
conflicts=(vte3 vte3-select-text vte3-ng)
replaces=(vte3-select-text vte3-ng)
diff --git a/fullwidth-emoji.patch b/fullwidth-emoji.patch
index ba6ce297fad..c6bdad62236 100644
--- a/fullwidth-emoji.patch
+++ b/fullwidth-emoji.patch
@@ -4,7 +4,7 @@
return 0;
if (G_UNLIKELY (g_unichar_iswide (c)))
return 2;
-+ if (G_UNLIKELY(0x25a0 <= c && c < 0x27c0 || // Geometric Shapes, Miscellaneous Symbols, Dingbats
++ if (G_UNLIKELY(0x2000 <= c && c < 0x27c0 || // General Punctuation ... Dingbats
+ 0x2b00 <= c && c < 0x2c00 || // Miscellaneous Symbols and Arrows
+ 0x1f300 <= c && c < 0x20000 || // Miscellaneous Symbols and Pictographs ... Supplemental Symbols and Pictographs
+ 0))