Package: src:libxmlada
Followup-For: Bug #927943
The attached patch builds libxmlada/18-3 against unicode-data/12.1.0.
According to a diff of generated sources, no existing symbol is
changed or removed, so it should be safe to keep the same SO version
for the binary library package.
I hope that no new ALI version is necessary for the -dev package. Each
recursive reverse dependency would then require trivial but manual
changes.
gpr *
dh-ada-library
templates-parser *
gnat-gps
gnatcoll *
gnatcoll-bindings *
gnatcoll-db *
asis *
aws *
adacontrol
adabrowse
log4ada *
Worst, the libraries (with a star) would require a passage through
NEW. Such a transition is impossible so far in the freeze, so gpr
FTBFS in testing. Summary: buster would not support the Ada language.
I see no better option than uploading the fix with the same ALI,
and hope that all goes well.
*
https://codesearch.debian.net/search?q=path%3A.*%5C.ad%5Bbs%5D+with%5C+Unicode%5C.Names%5C.&page=3
seems to show that the generated packages are only directly referenced
from libxmlada itself.
* The diff_alis.py script (once posted in debian-ada) says that no
existing .ali checksum is modified between libxmlada/18-2 and 18-3
(I fail to understand why most unicode-names-*.ads have no .ali file
at all, but it is quite convenient right now).
* If some reverse dependencies FTBFS and must be removed, what do we
loose compared to the current situation?
Of course, any better idea is welcome.
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libxmlada (18-4) unstable; urgency=medium
+
+ * Update to unicode version 12. Closes: #927943.
+
+ -- Nicolas Boulenguez Thu, 02 May 2019 11:47:15 +0200
+
libxmlada (18-3) unstable; urgency=medium
* Update to unicode version 11, really closing #903380.
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@
Build-Depends: debhelper (>= 11),
gnat, gnat-8,
# Note: the rules script parses this line to extract the gnat version.
- unicode-data (>= 11~), unicode-data (<< 12~),
+ unicode-data (>= 12~), unicode-data (<< 13~),
# Used by debian/rules to generate unicode-names-*.ads.
# When a new unicode standard is released, we most probably have to
# increase the ALI version of xmlada-unicode and all reverse dependencies.
--- a/debian/patches/generate-unicode-9-names.diff
+++ b/debian/patches/generate-unicode-9-names.diff
@@ -14,7 +14,7 @@
end Translators.Alias;
--- a/unicode/importer/translators-block.adb
+++ b/unicode/importer/translators-block.adb
-@@ -164,6 +164,10 @@
+@@ -164,6 +164,15 @@
"Phags_Pa");
Add ("CJK Compatibility Forms",
"Cjk_Compatibility_Forms");
@@ -22,6 +22,11 @@
+ -- Unicode 9.
+ Add ("Ideographic Symbols and Punctuation",
+ "Ideograph_Symb_Punct");
++ -- Unicode 12.
++ Add ("Egyptian Hieroglyph Format Controls",
++ "Egypt_Hieroglyph_Fmt_Ctrl");
++ Add ("Symbols and Pictographs Extended-A",
++ "Symbols_Pictographs_Ext_A");
end Set_Exceptions;
end Translators.Block;