all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / Atom feed
* [bug#52109] [PATCH] gnu: Add unrar-free.
@ 2021-11-25 15:19 Foo Chuan Wei
  2021-11-25 19:49 ` Liliana Marie Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: Foo Chuan Wei @ 2021-11-25 15:19 UTC (permalink / raw)
  To: 52109

* gnu/packages/compression.scm (unrar-free): New variable.
---
 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é <antoine.cote@posteo.net>
 ;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
 ;;;
 ;;; 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [bug#52109] [PATCH] gnu: Add unrar-free.
  2021-11-25 15:19 [bug#52109] [PATCH] gnu: Add unrar-free Foo Chuan Wei
@ 2021-11-25 19:49 ` Liliana Marie Prikler
  0 siblings, 0 replies; 2+ messages in thread
From: Liliana Marie Prikler @ 2021-11-25 19:49 UTC (permalink / raw)
  To: Foo Chuan Wei, 52109

Hi,

Am Donnerstag, den 25.11.2021, 15:19 +0000 schrieb Foo Chuan Wei:
> * gnu/packages/compression.scm (unrar-free): New variable.
> [...]
> +    (inputs
> +     `(("libarchive" ,libarchive)))
> [...] 
> This program is a simple command-line front-end to libarchive
Does this program handle anything that libarchive does not already
have?  libarchive already ships its own command line utility (bsdtar),
plus there's other frontends with less confusing names available.  The
only use-case for "unrar-free" would be to inevitably push people
towards the non-free unrar when it inevitably fails to upack that one
of several weird rar files [1].

Cheers

[1] https://github.com/libarchive/libarchive/search?q=unrar&type=issues





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-25 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25 15:19 [bug#52109] [PATCH] gnu: Add unrar-free Foo Chuan Wei
2021-11-25 19:49 ` Liliana Marie Prikler

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.