all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] Add cabextract.
Date: Sun, 17 Apr 2016 11:32:24 +0200	[thread overview]
Message-ID: <87shykzil3.fsf@elephly.net> (raw)
In-Reply-To: <20160416200555.40122bfd@scratchpost.org>


Danny Milosavljevic <dannym@scratchpost.org> writes:

> Hi,
>
> this patch adds cabextract, an extractor for CAB files. (libmspack is already in, but cabextract isn't)
>
>   * gnu/packages/compression.scm (cabextract): New variable.
> ---
>  b/gnu/packages/compression.scm |   23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
> index 938d4b8..9343e85 100644
> --- a/gnu/packages/compression.scm
> +++ b/gnu/packages/compression.scm
> @@ -688,3 +688,26 @@ a collection of smaller blocks which makes random access to the original data
>  possible and can compress in parallel.  This is especially useful for large
>  tarballs.")
>      (license license:bsd-2)))
> +
> +(define-public cabextract
> + (package
> +   (name "cabextract")
> +   (version "1.6")
> +   (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "http://cabextract.org.uk/cabextract-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1ysmmz25fjghq7mxb2anyyvr1ljxqxzi4piwjhk0sdamcnsn3rnf"))))
> +    (build-system gnu-build-system)
> +    (arguments '(#:configure-flags '("--with-external-libmspack")))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ))

Please move these two closing parentheses to the previous line.

> +    (inputs
> +     `(("libmspack" ,libmspack)))
> +    (home-page "http://www.cabextract.org.uk/")
> +    (synopsis "CAB Extractor")
> +    (description "cabextract extracts files from CAB archives.")

Both synopsis and description are very terse.  For the synopsis
something like “Tool to unpack CAB archives” might be a little less
cryptic.  I don’t have any alternative for the description, but it would
be nice if it were a little less terse.

> +    (license (list license:gpl2 license:gpl3))))

Could you add a comment explaining what this means?  Are parts of the
code released under GPLv2 only?

~~ Ricardo

  reply	other threads:[~2016-04-17  9:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-16 18:05 [PATCH] Add cabextract Danny Milosavljevic
2016-04-17  9:32 ` Ricardo Wurmus [this message]
2016-04-17 10:06   ` Leo Famulari
2016-04-17 12:31 ` [PATCHv2] " Danny Milosavljevic
2016-04-17 13:28   ` John Darrington
2016-04-17 13:45     ` Danny Milosavljevic
2016-04-17 14:44       ` John Darrington
2016-04-17 17:30         ` [PATCH v3] " Danny Milosavljevic

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

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

  git send-email \
    --in-reply-to=87shykzil3.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.