Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #10093
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: OpenJFX 9 integration |
| Date | Tue, 17 Oct 2017 17:20:01 +0200 |
| Message-ID | <uBBOV-45j-3@gated-at.bofh.it> (permalink) |
| References | <uzUji-3ov-407@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Tue Oct 17 15:19:18 2017 |
| Old-Return-Path | <seamlikok@gmail.com> |
| X-Amavis-Spam-Status | No, score=-12.079 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=g5p0FDW+LHs9qVomGGxx4DYm0ayhoxrG3SRjbVn/YEA=; b=WoWTTXe6tTLqOXSq5d4aci6gqfKXfY4/ewEfZUYG7KhjIpjiQCVuehDeRTtw8pTop3 uydfvTiyfxz6eXeC/9+sL629hi78aOh/ra4zp+8SGHrriUUbVp9s1c/J0HpMeXR7XvlJ FfPybY+E/KNhogw4a1yfYxos8+uu0Sde17kSBxm2VepBCROMmzYGQWFeK+EyHG55VcR4 fqdCdgOBUiJYOCLbkFss34Lclj9Vv7YgwyDJNmBOveAnwzeX/8k61XS/WW30eCUSSeec d0MG5my3j+JSXsxPlMnHZSyQ1LxocYz6mpOZec0JIXgMBQTMRsm8wXL2rGfmupuqwvkb /Eig== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=g5p0FDW+LHs9qVomGGxx4DYm0ayhoxrG3SRjbVn/YEA=; b=KaktGMPCpiOGfFJWCbSf2fIVuFIqjQRnejoSL7odrkFnsuVn3TW/kSgJ5Xa4Qz3CMA iGOweloa40G5HMRxRcJBKYEJIwU8aNrPxvR7aP7QDCRKtjJZrHAFF/5sqGClKut1y3cO WyS9v+CbX4et/pkhYuCkKssRv4PTSwBqSpudyIHt7dDKjGEuBHvFMuogFG/Uei0j2wDY GEblyQpFtaa9cCxL8wwCIQpdi1wS/iQUb1fZRcSWvP03G1mZKWgEWH4J6mt8/8gjHQss O7dDCyeTa/s92r+jzEIxXmT2tmi4Fjw1/xzLxN9NdDyxtHYl7vyaDVhoSyg7XpAbofqa GAgQ== |
| X-Gm-Message-State | AMCzsaXcvYYvc9mKx+LwtwqSmxo4XtkcXuwzSJ3YoDimzumVTguMwGHk xpjhAlZnX7Ceb7lMAqQ+sgTUgvbQ |
| X-Google-SMTP-Source | AOwi7QADHPm5N7iTLZ9mp80d+0NdYbnVe9XBYJCTGBi67K0AxFCYNRajqVDhdgrs4Z/0zzLSgn8wEQ== |
| X-Received | by 10.84.142.131 with SMTP id 3mr12116815plx.26.1508253534365; Tue, 17 Oct 2017 08:18:54 -0700 (PDT) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RFjMIsBCfrlCNRv2MnogCICSuQaeilthM" |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/20460 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/fc59eb7e-f1b1-1ae0-277f-017299f57f39@gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 118 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 17 Oct 2017 23:18:46 +0800 |
| X-Original-Message-ID | <fc59eb7e-f1b1-1ae0-277f-017299f57f39@gmail.com> |
| X-Original-References | <7648af40-f4a8-e1f6-dd17-8c6f9deb5b05@apache.org> |
| Xref | csiph.com linux.debian.maint.java:10093 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hello Emmanuel, Thank you for your hard work on OpenJFX! Although I like Plan C, it has more issues like: * Circular build-dependency between openjdk and openjfx (or there is already one?) * Strange versioning pattern of openjdk rebuilds. (9~b181-5+<openjfx-version> vs 9~b181-5+b1) Looks like the extensibility of JRE itself has become a bit worse? Emmanuel Bourg 於 2017年10月12日 19:13 寫道: > Hi all, > > I started working on OpenJFX 9 this week. The good news is that it > builds fine in Debian now [1]. The bad news is that it's going to be > significantly more challenging to integrate it with our OpenJDK package. > > With OpenJDK 8 the integration was just a matter of installing extra jar > files and native libraries under /usr/lib/jvm/java-8-openjdk-amd64. With > Java 9 and the modularization of the JDK it's another story: > 1. The class files for the JRE and JavaFX are merged into a huge binary > blob (lib/modules) using a custom format. > 2. The javadocs are also merged into a unique src.zip archive. > 3. The JDK contains new .jmod files for each module, and the ones for > JavaFX are built by OpenJDK, not OpenJFX. > 4. The JRE modules have to be patched to allow JavaFX classes to use > internal JRE classes. > > According to the build instructions of OpenJFX [1] we have to build > OpenJFX first and then build OpenJDK with an extra configuration > parameter (--with-import-modules) pointing to the OpenJFX build directory. > > In this context it appears nearly impossible to package OpenJFX > independently of OpenJDK. Here are the options I can see so far: > > A. Merge the openjfx package into openjdk. > > B. Keep the packages separate and attempt to overcome the issues (1) and > (2) with postinst hooks or triggers merging the files, (3) by patching > the OpenJFX build, and (4) by patching the module-info.java files in > OpenJDK. > > C. Generate an intermediary package containing the build result of > OpenJFX and used as a build dependency of OpenJDK. > > (A) is problematic because the openjdk package is already quite complex, > and since openjdk is in the hands of the OpenJDK Team I won't be able to > maintain OpenJFX there. (B) involves a lot of work, merging lib/modules > is the biggest issue. (C) requires a rebuild of OpenJDK every time > OpenJFX is updated, but is by far the easiest solution to implement. > > What do you think? > > Emmanuel Bourg > > [1] https://anonscm.debian.org/cgit/pkg-java/openjfx9.git > [2] > https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-IntegrationwithOpenJDK9 >
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OpenJFX 9 integration Emmanuel Bourg <ebourg@apache.org> - 2017-10-13 00:40 +0200
Re: OpenJFX 9 integration 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> - 2017-10-17 17:20 +0200
Re: OpenJFX 9 integration Emmanuel Bourg <ebourg@apache.org> - 2017-10-17 21:20 +0200
Re: OpenJFX 9 integration Matthias Klose <doko@debian.org> - 2017-10-22 13:20 +0200
Re: OpenJFX 9 integration 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> - 2017-10-22 17:30 +0200
Re: OpenJFX 9 integration Markus Koschany <apo@debian.org> - 2017-10-22 21:00 +0200
Re: OpenJFX 9 integration Mykola Nikishov <mn@mn.com.ua> - 2017-10-22 23:00 +0200
Re: OpenJFX 9 integration Markus Koschany <apo@debian.org> - 2017-10-22 23:10 +0200
Re: OpenJFX 9 integration Emmanuel Bourg <ebourg@apache.org> - 2017-10-23 01:10 +0200
Re: OpenJFX 9 integration 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> - 2017-10-24 09:10 +0200
Re: OpenJFX 9 integration Emmanuel Bourg <ebourg@apache.org> - 2017-10-24 12:20 +0200
Re: OpenJFX 9 integration Sebastiaan Couwenberg <sebastic@xs4all.nl> - 2018-04-04 07:20 +0200
Re: OpenJFX 9 integration Matthias Klose <doko@debian.org> - 2018-04-04 10:00 +0200
Re: OpenJFX 9 integration Emmanuel Bourg <ebourg@apache.org> - 2018-04-04 10:30 +0200
Re: OpenJFX 9 integration Bas Couwenberg <sebastic@xs4all.nl> - 2018-04-04 11:20 +0200
Re: OpenJFX 9 integration tony mancill <tmancill@debian.org> - 2018-04-04 15:50 +0200
Re: OpenJFX 9 integration Markus Koschany <apo@debian.org> - 2018-04-04 16:10 +0200
Re: OpenJFX 9 integration David Goodenough <david.goodenough@linkchoose.co.uk> - 2017-10-24 07:40 +0200
csiph-web