[gucharmap] unicode: Update to Unicode 9.0.0



commit 0e2e100dcf28d1d0e69eb5adf02b822c6ebb1659
Author: Christian Persch <chpe gnome org>
Date:   Fri Jun 24 18:33:11 2016 +0200

    unicode: Update to Unicode 9.0.0

 NEWS                               |    4 ++++
 gucharmap/Makefile.am              |    4 ++--
 gucharmap/gucharmap-unicode-info.c |    4 +---
 gucharmap/gucharmap-unicode-info.h |    3 ++-
 gucharmap/gucharmap-window.c       |    6 +++---
 gucharmap/unicode.sha512sums       |   12 ++++++------
 6 files changed, 18 insertions(+), 15 deletions(-)
---
diff --git a/NEWS b/NEWS
index 170c636..004a476 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+gucharmap 9.0.0:
+
+Update to Unicode 9.0.0 release.
+
 gucharmap 8.0.0:
 
 Gucharmap no longer includes Unicode data. Instead the data
diff --git a/gucharmap/Makefile.am b/gucharmap/Makefile.am
index c76bead..c770d5c 100644
--- a/gucharmap/Makefile.am
+++ b/gucharmap/Makefile.am
@@ -204,7 +204,7 @@ gucharmap-type-builtins.c: gucharmap-type-builtins.c.template $(libgucharmapincl
 
 WGETFLAGS = --timestamping --timeout=300 --tries=8 --no-directories --directory-prefix="$(builddir)"
 
-unicode_version = 8.0.0
+unicode_version = 9.0.0
 
 unicode_files = \
        Blocks.txt \
@@ -239,7 +239,7 @@ download-unicode-data:
        $(SHA512SUM) --check $(srcdir)/unicode.sha512sums
 
 unicode.sha512sums: stamp-download-unicode-data
-       $(AM_V_GEN)$(SHA512SUM) $(addprefix $(unicodedatadir)/,$(unicode_files)) | $(SED) 
's,$(unicodedatadir)/,,g' > $(srcdir)/$(@F)
+       $(AM_V_GEN)$(SHA512SUM) --tag $(addprefix $(unicodedatadir)/,$(unicode_files)) | $(SED) 
's,$(unicodedatadir)/,,g' > $(srcdir)/$(@F)
 
 stamp-unicode-data: stamp-download-unicode-data
        PROG_UNZIP=$(PROG_UNZIP) $(srcdir)/gen-guch-unicode-tables.pl $(unicode_version) $(unicodedatadir) && 
\
diff --git a/gucharmap/gucharmap-unicode-info.c b/gucharmap/gucharmap-unicode-info.c
index 8e59071..2abe344 100644
--- a/gucharmap/gucharmap-unicode-info.c
+++ b/gucharmap/gucharmap-unicode-info.c
@@ -82,16 +82,14 @@ gucharmap_get_unicode_name (gunichar wc)
       g_snprintf (buf, sizeof (buf), "CJK COMPATIBILITY IDEOGRAPH-%04X", wc);
       return buf;
   }
-#if 0
   else if (wc >= 0x17000 && wc <= 0x187ec) {
       g_snprintf (buf, sizeof (buf), "TANGUT IDEOGRAPH-%05X", wc);
       return buf;
   }
   else if (wc >= 0x18800 && wc <= 0x18af2) {
-      g_snprintf (buf, sizeof (buf), "TANGUT COMPONENT-%u", wc - 0x18800 + 1);
+      g_snprintf (buf, sizeof (buf), "TANGUT COMPONENT-%03u", wc - 0x18800 + 1);
       return buf;
   }
-#endif
   else if (wc >= 0xac00 && wc <= 0xd7af)
     {
       /* compute hangul syllable name as per UAX #15 */
diff --git a/gucharmap/gucharmap-unicode-info.h b/gucharmap/gucharmap-unicode-info.h
index 21301d0..ec5af6c 100644
--- a/gucharmap/gucharmap-unicode-info.h
+++ b/gucharmap/gucharmap-unicode-info.h
@@ -46,7 +46,8 @@ typedef enum {
   GUCHARMAP_UNICODE_VERSION_6_3,
   GUCHARMAP_UNICODE_VERSION_7_0,
   GUCHARMAP_UNICODE_VERSION_8_0,
-  GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_8_0 /* private, will move forward with each 
revision */
+  GUCHARMAP_UNICODE_VERSION_9_0,
+  GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_9_0 /* private, will move forward with each 
revision */
 } GucharmapUnicodeVersion;
 
 /* return values are read-only */
diff --git a/gucharmap/gucharmap-window.c b/gucharmap/gucharmap-window.c
index e94bf05..105ab99 100644
--- a/gucharmap/gucharmap-window.c
+++ b/gucharmap/gucharmap-window.c
@@ -453,10 +453,10 @@ help_about (GSimpleAction *action,
   gtk_show_about_dialog (GTK_WINDOW (guw),
                         "program-name", _("GNOME Character Map"),
                         "version", VERSION,
-                        "comments", _("Based on the Unicode Character Database 8.0.0"),
+                        "comments", _("Based on the Unicode Character Database 9.0.0"),
                         "copyright", "Copyright © 2004 Noah Levitt\n"
-                                     "Copyright © 1991–2015 Unicode, Inc.\n"
-                                     "Copyright © 2007–2013 Christian Persch",
+                                     "Copyright © 1991–2016 Unicode, Inc.\n"
+                                     "Copyright © 2007–2016 Christian Persch",
                         "documenters", documenters,
                         "license", license_trans,
                         "wrap-license", TRUE,
diff --git a/gucharmap/unicode.sha512sums b/gucharmap/unicode.sha512sums
index dd8e650..1d4cda3 100644
--- a/gucharmap/unicode.sha512sums
+++ b/gucharmap/unicode.sha512sums
@@ -1,6 +1,6 @@
-7d11590e5678a06b51d9fab787fa4912120ea5e8dc8f89b2cddda9472dadd52514a74b0d3672f47e38f1ed3691e0599cdf6134cd4bbc7b5121977b57e8c842ef
  Blocks.txt
-9939b52a5ee51d4b6548199892f3a890324b793dd5fe81c70c8de977f737e3c91b9fc20b8b2241bb5b613d3946a06d9b0a6432cfa3b70432158ad0a78b40b032
  DerivedAge.txt
-7f9fb0349f64e8c84d1d2fa3416d561b30744d6f1fcb7d01efe1bc93dca2fe7f58148918270bfeb92551a1e08c7fefba3208af259bf35d8653a1c7772b8da259
  NamesList.txt
-c444218e9eb1090e0edf24f7dbafa9ff44031fa1b2124bf9133faa2022101a1e2f0cc56a5f014c3cb37fdc672fb65f14e67bc816ada082cdb256055c7009a9d2
  Scripts.txt
-34b46357ead07ec499746cac355e1fd6f3a1feea0fb786a28fe28985dd264323fba0ebf9ee6f7ab29bf412da191992aa3f6b41a394f817bcd1193f7eb06c1c91
  UnicodeData.txt
-4ab0f816041801720f626c264d5c9e4ded3f729c2de4b837428c9748b84950f1433243cdf8fb41ae58cbb32f401cebd547bf0eff268ff7549d5632c7baacd137
  Unihan.zip
+SHA512 (Blocks.txt) = 
b841d4274de846d6931db8a4cc8fa5ec1a6b72e43b0693b53376015b121a38ca921ef1bf67dcc827ce93822d48806ec3afd4864fc123c5c4163c6372585377d7
+SHA512 (DerivedAge.txt) = 
d2c0cfaccd936255c3c04907b16e74cc992c70a35283885e1e35c36bebe7199c4c50813309f5ffbfcd09b979c0201cc3953a40d0b2faad485b670d68700e0945
+SHA512 (NamesList.txt) = 
8651b522364b999f15052a2f1585a356f69a0ca69f248a75b7b610a163d45a84fc5eb8146c7a9ea72c913a160a9f2276a0f6dd06a72e3b60951a06f9843380a0
+SHA512 (Scripts.txt) = 
9c5e17c4731c1d9fb5e733b81b49ae815b36a390f6c3f02c0c4637e62dc59dde8e503956fa4378f85c215af2effad7907e846f49c514e640f494e5baf8b46ae6
+SHA512 (UnicodeData.txt) = 
43eaf66d9cb3748012b2dfd77da1b41f667c5c7602a56bea8186b796b215bde82d555d79ab053378c2222521396354dcce5cf23a78fa3b1456062c47771c8433
+SHA512 (Unihan.zip) = 
9856d30afe5d7b0b088bde36c12431eae267992b315944ca8a7ddb3559adee7474fedd2d0d6b22716439f9cddad573a4bb45c6209036b0066a85fbd19412852e


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]