From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 6MN/JDtSsGTuRQAASxT56A (envelope-from ) for ; Thu, 13 Jul 2023 21:36:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OBnCIztSsGQ4oAAAG6o9tA (envelope-from ) for ; Thu, 13 Jul 2023 21:36:27 +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 15E605E478 for ; Thu, 13 Jul 2023 21:36:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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=1689276987; a=rsa-sha256; cv=none; b=IOcchVLznHrysbFuEar+k88Yiv1fe1Q5gdaX/cFiuz/9/Y0L8N2RaCeqHTZhWWWjhWWY87 9syBtrbTzYvKo11zmLq/a3rEdj5StrsphloNHdAhwvc94EONcbP3Zyto7nXy7bb+f1KNM4 SbUZf65zPF1eYGn5WqPF8ipKI6QzosXB1jHU8flUK8Zem0ZqlUAh8ODJgt2dO13RjegYHo ztSl3Tyhc/AHccLkFQxEobQsoAQsOy/2oUlnvmHRrntgLwoEo+94CLqJONrtL7STFukL8l DgFlonUvs2xBlL3rcHvvT6aOGFcNFsxZWut1lBtqK8wY5g4xyNqOZQ4yZ7Y6Kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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=1689276987; 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; bh=QQnmSR2poQXmlRBGNEXnQE/LPmYkZTnbanHSpQlyDos=; b=jhNXFz3v5TZQz4mcRy85rmNm8SYjIRH/wy33LYMxPrl+hWT63AGZvw8aUSiwhUQquClOQX uP8xCBImaj7nY6rSCKRiqcTygLRElRezrOlyGvDuhk1FAPt7KBIzwUPt9xu52NRd9qPN9U skW1MEYqh/DWbXHx6iw/xDq/91zy0eWB7FHjv6MokII7wcs64surBVop1tY9/FfrdFDDiU 5cfxH1kG6s3t6RaC6ZQErag9N91VJL4Jk1afacqZpKTi9LnQ9pwejh1hQ+Pq9Rpw8K9hv2 5zUdZa7XY6/Eij2gP/Dq5gXs3MkezKgb2miiOUXMwms33QGwN8pm2dQWeYDoHA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qK26Z-00008M-Kp; Thu, 13 Jul 2023 15:35:59 -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 1qK26W-000061-Ug for help-guix@gnu.org; Thu, 13 Jul 2023 15:35:56 -0400 Received: from smtpm3.myservices.hosting ([185.26.105.234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qK26T-00086F-CR for help-guix@gnu.org; Thu, 13 Jul 2023 15:35:56 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id 5688520EEE; Thu, 13 Jul 2023 21:35:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id B152580098; Thu, 13 Jul 2023 21:35:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fJlzc1I50bCi; Thu, 13 Jul 2023 21:35:46 +0200 (CEST) Received: from [192.168.1.116] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 2A56E80097; Thu, 13 Jul 2023 21:35:46 +0200 (CEST) Message-ID: Date: Thu, 13 Jul 2023 20:35:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Guidance for packaging Java programs Content-Language: en-US To: Julien Lepiller Cc: bjoern.hoefling@bjoernhoefling.de, help-guix References: <2c37e0d5-b110-ab8a-8810-7f73ab0ec180@makinata.eu> From: Bruno Victal In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.234; envelope-from=mirai@makinata.eu; helo=smtpm3.myservices.hosting X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.096, SPF_HELO_NONE=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: 15E605E478 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -4.62 X-Spam-Score: -4.62 X-TUID: I3A4oTFTS0rM Hi Julien, On 2023-07-13 18:48, Julien Lepiller wrote: > I've never seen anything like saxon-he sources. It looks like a bunch of zip files that contain java files with no build system. The ant-build-system might be able to build that, though no idea how much dependencies there could be. It looks like the Saxon-HE sources are actually “generated” from this repository: > If you feel like helping, maybe an importer would be a good first step :). 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 build maven pom) I think). It should work for maven and gradle packages at least. Mapping maven name to guix names might also be challenging, but we can solve with an upstream-name property.[…] > To summarize, the main pain points are: lots of dependencies that can quickly 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 bootstrappability, as there can be quite a lot of dependency circles. I wonder if this is doable for the java uninitiated. (Why bother with Java when you can write in Guile? :D) An importer first would certainly be a step in the right direction, yes. (handcrafting package definitions for dependencies and dependencies of said dependencies is no fun) -- Furthermore, I consider that nonfree software must be eradicated. Cheers, Bruno.