From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IALLA4pcsGS5NwEASxT56A (envelope-from ) for ; Thu, 13 Jul 2023 22:20:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ANbuA4pcsGTCZwAA9RJhRA (envelope-from ) for ; Thu, 13 Jul 2023 22:20:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 AC1D638428 for ; Thu, 13 Jul 2023 22:20:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=Sw9uDH7A; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689279625; a=rsa-sha256; cv=none; b=pKBS4zerNrvOLrY3Z89kOz402DVKc+j+22onZ26QYEiIZkJt5oN+wKbDXdZa0BUM8oabTI gBGojR57QbiiZ9+aQenQ1WulaiqBxpNgIdNW4L5TFDiYuA1uF/HpEMoYC2Iw4maMD1+Hlc gK4BuJ3YVJPKhKB4RiUGHExdzkZ6tPOeVAv8Ea9pu+B0BeaGNfOqaWgORvHEsekDbtUrLj FJmwGSc9xecHs+DH5RrwGAU0JYAWiVvM7XVDGh5gy36dUHTNrddmyyGIrznJ0m89hyQrX5 x88KhLeYC+RCf2NS9G9/SE2t7tWGIHxbqOw6C+BNdVTb7qKvAPDBpdnzz0sxdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=Sw9uDH7A; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689279625; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lPyoSU8DyQBWETaNFwXOhdhK7fAhSwNn+80DRVB93fw=; b=G19BJJeA+NxbT7ZwBNzUfjnc7y6aXljJspaoN3sFF9UbEe/hSrLD8nJBK2QpF4Z25Q2Z4c LLdEAb454jiCG7RiRUzLDAq1II4+D8ZDVeZQuGmoMwz2+bIVGz+Uy8BR0pQ4/s/ixK9gex APz+yVrn+QaOO75x1O9v9xGiTKE6U3j0V7zwt42iR/Ab6nCxmWC6cSLhyijSa4cA1QQpey LQZs0F5oHb/imZaKPVDQtWT+cdTbLTa9rJ0Y2xiFPyIvyxJJLKcAHyb1NmzjN5tvqc/osY ZMthVCXNdnAiknvwP8gTY5JbypIF9bzdhVqIcYnHbI2FwqUIn0fXmD6js+Zq3w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qK2n2-00082k-C9; Thu, 13 Jul 2023 16:19:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qK2n0-00082c-Ag for help-guix@gnu.org; Thu, 13 Jul 2023 16:19:50 -0400 Received: from lepiller.eu ([89.234.186.109]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qK2mu-0007Vc-Sz for help-guix@gnu.org; Thu, 13 Jul 2023 16:19:50 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id be5ceeca; Thu, 13 Jul 2023 20:19:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=lPyoSU8DyQBW ETaNFwXOhdhK7fAhSwNn+80DRVB93fw=; b=Sw9uDH7AlZrR6GrPhldqp0T3dHV7 Ml4hsIKeYjulFt+vCrbBM2VmlmWaF13TCZnALXdQj1H4GG4bfMS/hgFD46Q2ralg ZFB4TJ/eBQwQHRSbbaA4UcGolx35SwGLPizs56qLjsCkpQrvBLtaWCkYvXZisePL 53BXPCg3+HFdaFv3r5ym4/CEz8MpFDZagFOCQlcTU8sX+hvKPAs7QVpHDnV/tEuO 9b9uir1EeHmwEBa86ahx3nPtlzwOcz/kyPxXAj43kP3sK7upJm0NspJ/QpgeHGI5 WcAo/OOjmDJg3bjzTNyWnERMCR5r8mtKAZKfGRgjaRZEQ0RpTDnqgl09Ew== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 840814e1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 13 Jul 2023 20:19:35 +0000 (UTC) Date: Thu, 13 Jul 2023 22:19:33 +0200 From: Julien Lepiller To: Bruno Victal CC: bjoern.hoefling@bjoernhoefling.de, help-guix Subject: Re: Guidance for packaging Java programs User-Agent: K-9 Mail for Android In-Reply-To: References: <2c37e0d5-b110-ab8a-8810-7f73ab0ec180@makinata.eu> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: AC1D638428 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -5.83 X-Spam-Score: -5.83 X-TUID: yZrXFufsV0Ds Le 13 juillet 2023 21:35:37 GMT+02:00, Bruno Victal = a =C3=A9crit=C2=A0: >Hi Julien, > >On 2023-07-13 18:48, Julien Lepiller wrote: >> I've never seen anything like saxon-he sources=2E It looks like a bunch= of zip files that contain java files with no build system=2E The ant-build= -system might be able to build that, though no idea how much dependencies t= here could be=2E > >It looks like the Saxon-HE sources are actually =E2=80=9Cgenerated=E2=80= =9D from this repository: > I see=2E We have two problems it seems: it uses gradle, for which there's = no build system, and it also requires an older version of itself for some p= reprocessing=2E Might get tricky=E2=80=A6 > >> If you feel like helping, maybe an importer would be a good first step = :)=2E You should be able to get info from Maven Central (get the pom files,= they are XML files and we have a module somewhere to handle them (guix bui= ld maven pom) I think)=2E It should work for maven and gradle packages at l= east=2E Mapping maven name to guix names might also be challenging, but we = can solve with an upstream-name property=2E[=E2=80=A6] > >> To summarize, the main pain points are: lots of dependencies that can q= uickly go out of hand, source buildability is not great, as many ship their= own versions of their dependencies (we need to snippet pre-built jars away= , and find a workaround when the build fails to find them), and bootstrappa= bility, as there can be quite a lot of dependency circles=2E > >I wonder if this is doable for the java uninitiated=2E >(Why bother with Java when you can write in Guile? :D) >An importer first would certainly be a step in the right direction, yes= =2E >(handcrafting package definitions for dependencies and dependencies of >said dependencies is no fun) Well, I don't write a lot of Java either :)