From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OIrbNKSEr16JNAAA0tVLHw (envelope-from ) for ; Mon, 04 May 2020 02:57:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id O4b2Ma+Er14LPAAAbx9fmQ (envelope-from ) for ; Mon, 04 May 2020 02:57:51 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EBF859445F7 for ; Mon, 4 May 2020 02:57:49 +0000 (UTC) Received: from localhost ([::1]:33316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVRIk-00070O-9M for larch@yhetil.org; Sun, 03 May 2020 22:57:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVQPI-0006hZ-82 for guix-devel@gnu.org; Sun, 03 May 2020 22:00:32 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:41095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVQPH-0007hO-BQ for guix-devel@gnu.org; Sun, 03 May 2020 22:00:31 -0400 Received: by mail-pf1-x42c.google.com with SMTP id 18so4818465pfv.8 for ; Sun, 03 May 2020 19:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=f8gJ9UWI3oHQNy89AqeH/GutBQeIx7JFdRoauiH6e1I=; b=AMTHdvSTeAwX9aBnqS7e9RxDTfs8B7B5zBMx8xSGA+7iuUIEBBYLEui1KvftgS7sOc u1AgyFnmx8HW3fXZRJ27T2aRlDVCdkQT7wp0aw7PoPA/bR4QqW0ytr5+Q6tI3MqmeYGc dmsQkOCt76UQV9FR+qc63C2KcqMXpMLYk5w3Le641OZU0RJCtBrF3x3IXgii1mYHLIoF DtrDhNsnltRQK4teTJrrI5Ny9rq0jdrgoFUjiykrO88Tr0MvnOy1lCfS4Oj7+6t4xQsj XC65PnmARRCSL8SFjEjWyvYqzyd9rO6VngTz3gDB+TO4qzZRfxz/yIvB8qPvfwpKFa8l 6U3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=f8gJ9UWI3oHQNy89AqeH/GutBQeIx7JFdRoauiH6e1I=; b=Yzpm1F1cBYQ6i64q7t5OJptT+GMimrXviw2Y4ynNyCIj9YGiA/Lr7JHu000Y/BsGFk O/FS2i265PUkQFQak74IyH+33UNxGbQDvqc8Yc/QP1HwFpl2Kxo6Hykb8G0VRVER5nTk B+MqJSQGYjFZTZJyhi/tsBXcMrBQQzHgT2F69D55ToEZDud1hSoWYBVErGGgn+jE1J+O 7hug2hCzaYqoTO+PADMbguxgOR8dnEJuSdZmRstVxmacG9hlqzU42KIqIUZa13ATEccM OzwPXsekmhR5Hq2+XxdddX9ej204yqMuGyvvi/o0gsRrbUZG52KWfbehZ7yjG1nzQupj CtQw== X-Gm-Message-State: AGi0PuZfWLfNP2TfBU8ojSrkDxVcWNFpljW/ArkrVDCBIXBYk8DktYgA lWgeKg+zlW+n6wg4PwCQmT6hV7nz X-Google-Smtp-Source: APiQypKBeaN6Iux53delbHoX+5Q9Tkzy6R2z5GYekr4iVSH6+Ebw8gdS9SkXeb1/2cL/Nb5TA5Az4A== X-Received: by 2002:a63:ec01:: with SMTP id j1mr12756308pgh.408.1588557629154; Sun, 03 May 2020 19:00:29 -0700 (PDT) Received: from ?IPv6:2001:44b8:203:1200:be5f:f4ff:fef7:7bdc? (2001-44b8-0203-1200-be5f-f4ff-fef7-7bdc.static.ipv6.internode.on.net. [2001:44b8:203:1200:be5f:f4ff:fef7:7bdc]) by smtp.googlemail.com with ESMTPSA id u11sm7568182pfc.208.2020.05.03.19.00.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 May 2020 19:00:28 -0700 (PDT) To: guix-devel@gnu.org From: Michael Zucchi Subject: OpenJFX 14, gradle Message-ID: <9c7d89ad-2bf1-ad37-b513-ef0c57c22220@gmail.com> Date: Mon, 4 May 2020 11:30:24 +0930 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-AU Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=notzed@gmail.com; helo=mail-pf1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Sun, 03 May 2020 22:57:40 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=AMTHdvST; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49388170068091]; DWL_DNSWL_FAIL(0.00)[gmail.com:server fail,2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.14), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[notzed@gmail.com,guix-devel-bounces@gnu.org]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[guix-devel@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: MFRC8HFXj0bo Morning, I'm trying to work on updating some java stuff as guix currently only has java12 which is  a year out of date and javafx8 which is ancient.  Apart from openjdk 13 and 14 which is in motion I've started looking at openjfx 14. But openjfx needs to be compiled with gradle 6 now - the openjfx8 package uses ant but that is no longer an option (there's some netbeans ant files there but they seem non functional).  guix has no build-system gradle and looking at gradle I can't imagine there will ever be a source-bootstrapped package for it - the 6.0 distribution is 215 jar files, mostly external libraries, and it needs gradle to build (because of course it does).  I'm assuming that guix wouldn't accept using gradle-wrapper here which is the `supported' build mechanism for the openjfx project. Partly out of curiosity and partly as a potential alternative I spent the weekend creating a single 1000 line gnu makefile to replace the >10kloc of gradle scripts and existing makefiles.  I haven't bothered with javafx.web or javafx-swt but otherwise it's complete and only requires antlr 4.7 at build time.  It uses gnu make features specifically and assumes a gnu environment, but it's 3-4x faster on my machine (amd r9-3900x). Another alternative could be simple build script that forgoes incremental and parallel compilation support for a smaller script. I can possibly get that down to a few dozen lines of bash if i can utilise the existing makefiles. Is either approach worth pursuing or is the whole idea a lost cause? Regards,  Michael