Subject: Re: [bug#52109] [PATCH] gnu: Add unrar-free.

From: Leo Famulari <[email-masked]>
Date: Fri, 13 Jan 2023 13:29:26 -0500

On Thu, Nov 25, 2021 at 03:19:28PM +0000, Foo Chuan Wei wrote:
> * gnu/packages/compression.scm (unrar-free): New variable.

Thanks! Pushed as 949f88b1e5c1755a71c8b05b202c836f4161d36b. Then I
updated the package in a subsequent commit. Sorry for the ridiculous
delay.

> ---
>  gnu/packages/compression.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
> 
> diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
> index 0a993d1550..deef04a1b1 100644
> --- a/gnu/packages/compression.scm
> +++ b/gnu/packages/compression.scm
> @@ -33,6 +33,7 @@
>  ;;; Copyright © 2021 Antoine Côté <[email-masked]>
>  ;;; Copyright © 2021 Vincent Legoll <[email-masked]>
>  ;;; Copyright © 2021 Maxim Cournoyer <[email-masked]>
> +;;; Copyright © 2021 Foo Chuan Wei <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -2715,6 +2716,36 @@ compression and decompression.  The supported formats are:
>  ")
>      (license license:expat)))
>  
> +(define-public unrar-free
> +  (package
> +    (name "unrar-free")
> +    (version "0.1.1")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://gitlab.com/bgermann/unrar-free")
> +             (commit version)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0l9xdygk8ki8471lmg8xkb58zq07cb9hy44pqz1hlyhgsvrb6vss"))))
> +    (build-system gnu-build-system)
> +    (inputs
> +     `(("libarchive" ,libarchive)))
> +    (native-inputs
> +     `(("autoconf" ,autoconf)
> +       ("automake" ,automake)
> +       ("pkg-config" ,pkg-config)))
> +    (home-page "https://gitlab.com/bgermann/unrar-free")
> +    (synopsis "Extract files from RAR archives")
> +    (description
> +     "@code{unrar-free} is a free software version of the non-free @code{unrar}
> +utility.  This program is a simple command-line front-end to libarchive, and can
> +list and extract not only RAR archives but also other formats supported by
> +libarchive.  It does not rival the non-free @code{unrar} in terms of features,
> +but special care has been taken to ensure it meets most user's needs.")
> +    (license license:gpl2+)))
> +
>  (define-public tarlz
>    (package
>      (name "tarlz")
> 
> base-commit: ea7233befb9570cce47e5ca71725b285a580cd22
> -- 
> 2.25.1
> 
> 
> 
>