[Git][java-team/openjfx][master] 2 commits: Tentatively fix FTBFS on big endian architectures (Closes: #880359)

Frédéric Bonnard gitlab at salsa.debian.org
Fri Oct 19 08:47:03 BST 2018


Frédéric Bonnard pushed to branch master at Debian Java Maintainers / openjfx


Commits:
f6fae912 by Frédéric Bonnard at 2018-10-18T13:56:16Z
Tentatively fix FTBFS on big endian architectures (Closes: #880359)

We create icudt51{b,e}.dat files based on icudt51l.dat on the fly to
please the build of icudata.

- - - - -
cf1faae8 by Frédéric Bonnard at 2018-10-19T07:45:13Z
Update changelog for 11+26-5 release

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/create-icudt51-missing-dat-files.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+openjfx (11+26-5) unstable; urgency=medium
+
+  * Tentatively fix FTBFS on big endian architectures (Closes: #880359)
+
+ -- Frédéric Bonnard <frediz at debian.org>  Fri, 19 Oct 2018 09:44:51 +0200
+
 openjfx (11+26-4) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/create-icudt51-missing-dat-files.patch
=====================================
@@ -0,0 +1,34 @@
+Description: Workaround the missing icudt51{e,b}.zip files
+ We miss icudt51b.zip and icudt51e.zip on big endian platforms :
+
+From modules/javafx.web/src/main/native/Source/WTF/icu/unicode/utypes.h
+ * \def U_ICUDATA_TYPE_LETTER
+ *
+ * This is a platform-dependent string containing one letter:
+ * - b for big-endian, ASCII-family platforms
+ * - l for little-endian, ASCII-family platforms
+ * - e for big-endian, EBCDIC-family platforms
+ * This letter is part of the common data file name.
+
+For little endian, we've got icudt51l.zip in the source tree :
+./modules/javafx.web/src/main/native/Source/ThirdParty/icu/source/data/in/icudt51l.zip
+So let's try to re-use that same .dat file within icudt51l.zip (no guarantee at
+all).
+See https://bugs.debian.org/880359
+
+Author: Frédéric Bonnard <frediz at debian.org>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/modules/javafx.web/src/main/native/Source/ThirdParty/icu/java/data/icudata_wrapper.sh
++++ b/modules/javafx.web/src/main/native/Source/ThirdParty/icu/java/data/icudata_wrapper.sh
+@@ -52,6 +52,10 @@
+     echo "Building icudata for $PLATFORM"
+     mkdir -p $JAVA_LIBDIR/icu/data
+     unzip -o ../../source/data/in/icudt51l.zip -d $JAVA_LIBDIR/icu/data/
++    cp $JAVA_LIBDIR/icu/data/icudt51l.dat $JAVA_LIBDIR/icu/data/icudt51e.dat
++    sed -i 's/icudt51l/icudt51e/g' $JAVA_LIBDIR/icu/data/icudt51e.dat
++    cp $JAVA_LIBDIR/icu/data/icudt51l.dat $JAVA_LIBDIR/icu/data/icudt51b.dat
++    sed -i 's/icudt51l/icudt51b/g' $JAVA_LIBDIR/icu/data/icudt51b.dat
+     # create icu autoconf build folder
+     cd $JAVA_LIBDIR
+     mkdir -p icu/lib && cd icu


=====================================
debian/patches/series
=====================================
@@ -15,3 +15,4 @@ fix-arm32-build.patch
 26-disable-webkit-jit-for-armv4.patch
 29-glibc-compatibility.patch
 disable-jit-for-non-x86.patch
+create-icudt51-missing-dat-files.patch



View it on GitLab: https://salsa.debian.org/java-team/openjfx/compare/76e37ed6e9b986e6471bd8d3ab7a7c0209a4a8cc...cf1faae8fb8010865b687897db7f90e155f1b223

-- 
View it on GitLab: https://salsa.debian.org/java-team/openjfx/compare/76e37ed6e9b986e6471bd8d3ab7a7c0209a4a8cc...cf1faae8fb8010865b687897db7f90e155f1b223
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20181019/9a567a97/attachment.html>


More information about the pkg-java-commits mailing list