Path: csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod From: =?UTF-8?B?5q635ZWf6IGwIHwgS2FpLUNodW5nIFlhbg==?= Newsgroups: linux.debian.maint.java Subject: Re: OpenJFX 9 integration Date: Tue, 17 Oct 2017 17:20:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Tue Oct 17 15:19:18 2017 Old-Return-Path: 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: archive/latest/20460 List-ID: List-URL: 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: X-Original-References: <7648af40-f4a8-e1f6-dd17-8c6f9deb5b05@apache.org> Xref: csiph.com linux.debian.maint.java:10093 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RFjMIsBCfrlCNRv2MnogCICSuQaeilthM Content-Type: multipart/mixed; boundary="bilBU5stSGP8cA4q5A3sbcXkxnCcmXrOW"; protected-headers="v1" From: =?UTF-8?B?5q635ZWf6IGwIHwgS2FpLUNodW5nIFlhbg==?= To: debian-java@lists.debian.org Message-ID: Subject: Re: OpenJFX 9 integration References: <7648af40-f4a8-e1f6-dd17-8c6f9deb5b05@apache.org> In-Reply-To: <7648af40-f4a8-e1f6-dd17-8c6f9deb5b05@apache.org> --bilBU5stSGP8cA4q5A3sbcXkxnCcmXrOW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US Hello Emmanuel, Thank you for your hard work on OpenJFX! Although I like Plan C, it has more issues like: =C2=A0 * Circular build-dependency between openjdk and openjfx (or there = is already one?) =C2=A0 * Strange versioning pattern of openjdk rebuilds. (9~b181-5+ vs 9~b181-5+b1) Looks like the extensibility of JRE itself has become a bit worse? Emmanuel Bourg =E6=96=BC 2017=E5=B9=B410=E6=9C=8812=E6=97=A5 19:13 =E5=AF= =AB=E9=81=93: > 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= =2E > > With OpenJDK 8 the integration was just a matter of installing extra ja= r > files and native libraries under /usr/lib/jvm/java-8-openjdk-amd64. Wit= h > 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 directo= ry. > > 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) an= d > (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 t= o > 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#Building= OpenJFX-IntegrationwithOpenJDK9 > --bilBU5stSGP8cA4q5A3sbcXkxnCcmXrOW-- --RFjMIsBCfrlCNRv2MnogCICSuQaeilthM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEuIoVOt09lz87H/ea3R+riTf+mCUFAlnmH1sUHHNlYW1saWtv a0BnbWFpbC5jb20ACgkQ3R+riTf+mCVAnRAApinWcRdc7k+UFIJ0NB2vAwI0fXfI a0SfS8DQxYbl768UjlIJAUpH8/6I3hLlam+yxCfQSy4s6U1MhqYES7NMNErs1hmF C6J1in98LQ+olQ74nfZWjTECHEPCC/hUEwuVU0F3k57Mz7mQwkMp/nPLdE+juAt2 t+94QQX2TtDGSfYrVyHK5oQraluoHOcUvCBeFgw254oDK9rQvcFjaysgGelC2+z5 cMvP6kWzdhiTOTIdF+0Y2QLq8Z6UfdkoBFn4++bBRtBANnHl4RV5CsrzyD09eOGl xsrp3iqA4ROd6lxjZBtL5+uDWLk21FUTYnAbGAEOn3XPHupGErHcMmbdOBU1C1rZ D2ytcX1BcJJJoqBCtDm6jYt2FSMg0wdS4yoteebTd371M8yjINPIcv4grHXmwVVW 3FB4uq29pUK+QsZKT00vqnahVp3gkc20WsGYNBiS5KsrxKqIBU2K3BQukPl6wuXq vh3nYni1IDsi/N8jF3DrxEqGckd9xAkNk450eBT459AFP2wf8lObnMs415WMeeGS YMD+wfNhiKk1VziMEO7PeYYNpdf1M/6At07geFjw2iksuwHPtAopyzvoqPbS2rxE i9FFxw3g9w1N9fTY8LK7exBJEpSk7m+4ii71UzYMeHjfSI00WBEeSROBY4SQGQRD hjJt7EqA99/G/20= =yEEc -----END PGP SIGNATURE----- --RFjMIsBCfrlCNRv2MnogCICSuQaeilthM--