unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Netpbm
Date: Sun, 20 Jan 2013 23:08:45 +0100	[thread overview]
Message-ID: <87vcarqzgy.fsf@gnu.org> (raw)
In-Reply-To: <201301201631.57914.andreas@enge.fr> (Andreas Enge's message of "Sun, 20 Jan 2013 16:31:57 +0100")

Andreas Enge <andreas@enge.fr> skribis:

> Ah, so many options! I tried the daemon with --debug. Here is the result:
> In unknown file:
>    ?: 0 [mkdir "/nix/store/mv7v3y702k1yfml8067gn15r3n6pzjxm-user-
> environment///nix/store/agjc4rdsvi4wvbz6dymgid5pb85nqcf7-
> netpbm-10.61.01/VERSION" ...]
> ERROR: In procedure mkdir:
> ERROR: In procedure mkdir: No such file or directory

Hmm, that still means there’s a bug with top-level file handling in
(guix union).  I’ll investigate later.

A few comments:

> +         (copy-file (string-append out "/link/libnetpbm.a")
> +                    (string-append out "/lib/libnetpbm.a"))
> +          ;; copy static library

This comment should be just above.

> +         (system* "rm" "-r" (string-append out "/link"))
> +         (system* "rm" "-r" (string-append out "/misc"))

This reminds me we need an ‘rm -rf’ in (guix build utils).  (There’s one
using ‘file-system-fold’ in mysql.scm, if you’re curious, but it’s OK to
call out to Coreutils in the meantime.  ;-))

> +         (delete-file (string-append out "/config_template"))
> +         (delete-file (string-append out "/pkginfo"))
> +         (delete-file (string-append out "/README"))
> +         (delete-file (string-append out "/VERSION"))))
> +          ;; remove superfluous folders and files

The comment should be above, and you could instead write:

  (with-directory-excursion out
    (for-each delete-file
              '("config_template" "pkginfo" "README" "VERSION")))

> +   (license gpl2)

It seems to be more complex than this.  Some files in lib/ have this:

  ** Permission to use, copy, modify, and distribute this software and its
  ** documentation for any purpose and without fee is hereby granted, provided
  ** that the above copyright notice appear in all copies and that both that
  ** copyright notice and this permission notice appear in supporting
  ** documentation.  This software is provided "as is" without express or
  ** implied warranty.

Others in analyzer/ have GPLv2+, others have this:

  All work has been contributed to the public domain by its authors.

Debian lists a number of other issues, including unknown-status and
non-free parts:

  http://packages.debian.org/changelogs/pool/main/n/netpbm-free/netpbm-free_10.0-12.2/libnetpbm10.copyright

The software black-list (http://libreplanet.org/wiki/Software_blacklist)
doesn’t mention it.

So perhaps we should remove things that Debian remove, and use something
more representative in the ‘license’ field?

(You really picked up a hard one.  ;-))

Thanks,
Ludo’.

  reply	other threads:[~2013-01-20 22:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-19 17:03 Netpbm Andreas Enge
2013-01-19 22:06 ` Netpbm Ludovic Courtès
2013-01-19 22:24   ` Netpbm Andreas Enge
2013-01-20 14:02     ` Netpbm Ludovic Courtès
2013-01-20 15:31       ` Netpbm Andreas Enge
2013-01-20 22:08         ` Ludovic Courtès [this message]
2013-01-20 22:40           ` Netpbm Andreas Enge
2013-01-20 23:17             ` Netpbm Andreas Enge
2013-01-21 10:27               ` Netpbm Ludovic Courtès
2013-01-21 21:00                 ` Netpbm Andreas Enge
2013-01-21 22:44                   ` Netpbm Ludovic Courtès
2013-01-21 10:25             ` Netpbm Ludovic Courtès

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=87vcarqzgy.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=bug-guix@gnu.org \
    /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).