From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aEuECcU991+HfwAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 16:58:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cHxjBcU9918ZVwAAB5/wlQ (envelope-from ) for ; Thu, 07 Jan 2021 16:58:45 +0000 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 DEB079403A9 for ; Thu, 7 Jan 2021 16:58:44 +0000 (UTC) Received: from localhost ([::1]:33738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxYcV-0007JZ-Rv for larch@yhetil.org; Thu, 07 Jan 2021 11:58:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxYcN-0007JD-Cg for guix-devel@gnu.org; Thu, 07 Jan 2021 11:58:35 -0500 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:44899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxYcL-0003FZ-Bj for guix-devel@gnu.org; Thu, 07 Jan 2021 11:58:35 -0500 Received: by mail-qt1-x836.google.com with SMTP id u21so4654008qtw.11 for ; Thu, 07 Jan 2021 08:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1TpdFBJGyCOv3+KUcFfppvh22D/R/fp64AktpYU0a+0=; b=fabm4XjOO1cRzG4CsLxTu7ZVW0uoKLhll9x3XT6V6K9K4zfd0mfFIqRzpAUBJYteVr bMYw6eFVEuWznXGIpqhX1CBOU/vPjF1AeUCX51LNlr/7k/Mayv36WqeaOcw0G1pTIjsD RI/K/StzodvEk8HjN8FUE2w7V3lIHH8YibqubRzdBiQnt5qLfhe6incDWU6gxzt5Tpaa bUkiipGbnyBxzKvLTA+OBv8aE1NGRMwUkMFJs9QVF9j31Gg7um2SWDVVc7x4miIFGhYH ORMNGcCA0NwG9dR9D3Y4j3yoAkxL9gW+miPFtfhub6/CX6nPx0Q79/A2Ow93RdyNsNiS 6IBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1TpdFBJGyCOv3+KUcFfppvh22D/R/fp64AktpYU0a+0=; b=BORqpmBZ1phGrUOQvwZ1hFNd5i+SoHjbJddAw1bugwnZsH4fHGR7nausA8xkFVIbSM wWgcglO8hVWvvInIdxGQ65uQbTZCmlq7Dv2W/qtW6DcErUW8wt8Xmmdw5vp9N2LYqX86 Uab/axJPHQcHNmsFEORr07xQiLrRsaRkZKdKczrlF7YATfNYg5F5MpZGhIO/m4VtbUE1 gvzvsG8tx3Kd2lLKz1kA0UhCpONeRziUIuu40DemfkZbifpQdTt/lxQJFCHjZ2jrGMcd X/pqGXs/w0jxeI9ioUH+gYyYqmMgzuhARw14m3fDzsojUZ3tUwsQ26xmftFvm2zrIJal r0kA== X-Gm-Message-State: AOAM532zlg63G5/qQDch1Zf3lLG0QsaQonKCTeWjIBLEbu+MRpaHPsYj HalfQ41VEKPRkP9rOM5I3ft9vpv6jPqbFVPgvLM= X-Google-Smtp-Source: ABdhPJx1rk0Bed1EZRp1Vt5Bc9Tj3XWqBP+aMIlPxc3GijR8gctXkmK3zWmu/aT9kqTuKbm9CsdIa4fMIrY7MfUHKK4= X-Received: by 2002:ac8:44a1:: with SMTP id a1mr9394855qto.186.1610038712342; Thu, 07 Jan 2021 08:58:32 -0800 (PST) MIME-Version: 1.0 References: <424245f9f30e2418942a8eec27019864294550cd.camel@student.tugraz.at> In-Reply-To: From: zimoun Date: Thu, 7 Jan 2021 17:58:21 +0100 Message-ID: Subject: Re: [RFC] Package of Nomacs To: Leo Prikler Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x836.google.com 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_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: Guix Devel , Rovanion Luckey Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=fabm4XjO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: DEB079403A9 X-Spam-Score: -1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1LPj3oLt+Exx Hi, On Thu, 31 Dec 2020 at 17:13, Leo Prikler wrote: > Am Donnerstag, den 31.12.2020, 16:37 +0100 schrieb Rovanion Luckey: > > > Use git-fetch instead and don't recurse into submodules. You will > > > likely encounter some errors, because it doesn't seem as though > > > nomacs > > > expects you to have its inputs properly packages. *sigh* > > > > Hmm, this one I'm not sure I understand the reasoning behind. I think > > I read in some packaging guidelines that url-fetch was preferred if > > possible. > The reason is two-fold: First, it seems to me, that this is a github- > generated tarball, which have been known to be unstable. Second, the > tarball includes a large number of 3rd party sources already packaged > in Guix. Most of them are git submodules, so by using a non-recursive > checkout you can strip them without much effort. > > url-fetch is to be preferred, when there is a sane tarball to fetch. > Most projects only hosted on github don't have that, but certain large- > scale projects (such as GNU itself or GNOME) do host tarballs. It also > enables mirror:// URLS, which translate to a number of hosts, the first > of which to successfully provide a package is chosen. In addition, Git repos are easy to archive on Software Heritage (and fallback); "guix lint -c archival" save the source and then "guix build" fetches from SWH if the upstream has disappeared in the meantime. The story about tarballs is more complicated: the archiving is almost automatic now but the fallback does not work (yet!) even if disarchive [1] is really promising. 1: https://git.ngyro.com/disarchive/tree/README All the best, simon