aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-21 12:53:41 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-21 12:54:34 +0100
commite5ac7678d5d491739086554ea5015735e42a08fd (patch)
tree9216d643ac022ab25be4287b8826b196e0738c54
parent8e73e28545b2466e7dae9bf4574224398e140592 (diff)
downloadaports-e5ac7678d5d491739086554ea5015735e42a08fd.tar.bz2
aports-e5ac7678d5d491739086554ea5015735e42a08fd.tar.xz
community/gucharmap: rebuild with unicode-12.1
-rw-r--r--community/gucharmap/APKBUILD12
-rw-r--r--community/gucharmap/gucharmap-update_to_unicode_12.1.patch37
2 files changed, 45 insertions, 4 deletions
diff --git a/community/gucharmap/APKBUILD b/community/gucharmap/APKBUILD
index af0ba52620..dcf4df9248 100644
--- a/community/gucharmap/APKBUILD
+++ b/community/gucharmap/APKBUILD
@@ -2,15 +2,18 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gucharmap
pkgver=12.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="GNOME Unicode Charmap"
url="https://wiki.gnome.org/Apps/Gucharmap"
arch="all"
license="GPL-3.0-or-later GFDL-1.3-only"
makedepends="gtk+3.0-dev intltool itstool glib-dev unzip desktop-file-utils
- gobject-introspection-dev unicode-character-database>=${pkgver/.*/}.0.0"
+ gobject-introspection-dev unicode-character-database>=${pkgver/.*/}.0.0
+ autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://download.gnome.org/sources/gucharmap/${pkgver%.*}/gucharmap-${pkgver}.tar.xz"
+source="https://download.gnome.org/sources/gucharmap/${pkgver%.*}/gucharmap-$pkgver.tar.xz
+ gucharmap-update_to_unicode_12.1.patch
+ "
build() {
./configure \
@@ -32,4 +35,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2 gucharmap-12.0.1.tar.xz"
+sha512sums="989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2 gucharmap-12.0.1.tar.xz
+afdd808eca9df2cdca8309756b5e0d73a64b9d47a75cccda0657117e0f1ef77b62d102398db8d8305be89db3c3974569aec5e3bc6083ab9936af8a950f4be248 gucharmap-update_to_unicode_12.1.patch"
diff --git a/community/gucharmap/gucharmap-update_to_unicode_12.1.patch b/community/gucharmap/gucharmap-update_to_unicode_12.1.patch
new file mode 100644
index 0000000000..f20d54fc7a
--- /dev/null
+++ b/community/gucharmap/gucharmap-update_to_unicode_12.1.patch
@@ -0,0 +1,37 @@
+diff -Naur gucharmap-12.0.1-orig/gucharmap/gucharmap-unicode-info.h gucharmap-12.0.1/gucharmap/gucharmap-unicode-info.h
+--- gucharmap-12.0.1-orig/gucharmap/gucharmap-unicode-info.h 2019-03-07 21:21:27.000000000 +0100
++++ gucharmap-12.0.1/gucharmap/gucharmap-unicode-info.h 2019-11-14 17:43:55.007583238 +0100
+@@ -51,7 +51,8 @@
+ GUCHARMAP_UNICODE_VERSION_10_0,
+ GUCHARMAP_UNICODE_VERSION_11_0,
+ GUCHARMAP_UNICODE_VERSION_12_0,
+- GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_12_0 /* private, will move forward with each revision */
++ GUCHARMAP_UNICODE_VERSION_12_1,
++ GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_12_1 /* private, will move forward with each revision */
+ } GucharmapUnicodeVersion;
+
+ /* return values are read-only */
+diff -Naur gucharmap-12.0.1-orig/gucharmap/gucharmap-window.c gucharmap-12.0.1/gucharmap/gucharmap-window.c
+--- gucharmap-12.0.1-orig/gucharmap/gucharmap-window.c 2019-03-07 21:21:27.000000000 +0100
++++ gucharmap-12.0.1/gucharmap/gucharmap-window.c 2019-11-14 17:45:11.145809820 +0100
+@@ -454,7 +454,7 @@
+ gtk_show_about_dialog (GTK_WINDOW (guw),
+ "program-name", _("GNOME Character Map"),
+ "version", VERSION,
+- "comments", _("Based on the Unicode Character Database 12.0.0"),
++ "comments", _("Based on the Unicode Character Database 12.1.0"),
+ "copyright", "Copyright © 2004 Noah Levitt\n"
+ "Copyright © 1991–2019 Unicode, Inc.\n"
+ "Copyright © 2007–2019 Christian Persch\n"
+diff -Naur gucharmap-12.0.1-orig/gucharmap/Makefile.am gucharmap-12.0.1/gucharmap/Makefile.am
+--- gucharmap-12.0.1-orig/gucharmap/Makefile.am 2019-03-07 21:21:27.000000000 +0100
++++ gucharmap-12.0.1/gucharmap/Makefile.am 2019-11-14 17:42:37.532370238 +0100
+@@ -205,7 +205,7 @@
+
+ WGETFLAGS = --timestamping --timeout=300 --tries=8 --no-directories --directory-prefix="$(builddir)"
+
+-unicode_version = 12.0.0
++unicode_version = 12.1.0
+
+ unicode_files = \
+ Blocks.txt \