unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: Rovanion Luckey <rovanion.luckey@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [RFC] Package of Nomacs
Date: Thu, 31 Dec 2020 17:12:17 +0100	[thread overview]
Message-ID: <be7bc8091f855e3596c26494a324e13d11342615.camel@student.tugraz.at> (raw)
In-Reply-To: <CAAaf0CCnorD+5jpuyGUg-23Njo9hUX+k0es7ZcwbMpR8N-pAew@mail.gmail.com>

Hi Rovanion,

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.

> > Instead of adding the path to the source directory, try `(cd
> > "ImageLounge")` in a phase after 'unpack.
> > 
> 
> I'm told that cd is an unbound variable when I try that :/
My bad, the Scheme procedure equivalent to cd is "chdir".

Regards,
Leo



  reply	other threads:[~2020-12-31 16:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 18:32 [RFC] Package of Nomacs Leo Prikler
2020-12-31 15:37 ` Rovanion Luckey
2020-12-31 16:12   ` Leo Prikler [this message]
2021-01-01 22:02     ` Rovanion Luckey
2021-01-02 14:43       ` Rovanion Luckey
2021-01-02 15:42         ` Leo Prikler
2021-01-03  1:01           ` Rovanion Luckey
2021-01-07 16:58     ` zimoun
  -- strict thread matches above, loose matches on Subject: below --
2020-12-29 23:06 Rovanion Luckey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be7bc8091f855e3596c26494a324e13d11342615.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=guix-devel@gnu.org \
    --cc=rovanion.luckey@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).