Subject: [bug#32165] [PATCH] gnu: Add cdrkit-libre.

From: Nils Gillmann <[email-masked]>
Date: Sun, 15 Jul 2018 22:39:05 +0000

Oleg Pykhalov transcribed 2.2K bytes:
> * gnu/packages/cdrom.scm (cdrkit-libre): New variable.
> ---
>  gnu/packages/cdrom.scm | 37 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)
> 
> diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
> index 027a333d6..a257ec193 100644
> --- a/gnu/packages/cdrom.scm
> +++ b/gnu/packages/cdrom.scm
> @@ -10,6 +10,7 @@
>  ;;; Copyright © 2017 Thomas Danckaert <[email-masked]>
>  ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <[email-masked]>
>  ;;; Copyright © 2017 Nils Gillmann <[email-masked]>
> +;;; Copyright © 2018 Oleg Pykhalov <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -767,3 +768,39 @@ to produce new complete file system images or add-on images to be appended
>  to the read file system image.
>  Supported extensions to ISO 9660 are Rock Ridge, Joliet, AAIP, zisofs.")
>      (license gpl2+)))
> +
> +(define-public cdrkit-libre
> +  (package
> +    (name "cdrkit-libre")
> +    (version "1.1.11")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://repo.parabola.nu/other/cdrkit-libre/cdrkit-libre-"
> +                    version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0g2zyzb56czh429qy87lvaddzjnlcq8c616ddxsmsshz3clhyzrh"))))
> +    (build-system cmake-build-system)
> +    (native-inputs
> +     `(("bzip2" ,bzip2)
> +       ("libcap" ,libcap)
> +       ("perl" ,perl)
> +       ("zlib" ,zlib)))
> +    (arguments
> +     `(#:tests? #f ;no tests
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'install 'old-cdrecord
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (with-directory-excursion (string-append (assoc-ref outputs "out")
> +                                                      "/bin")
> +               (symlink "genisoimage" "mkisofs")
> +               (symlink "wodim" "cdrecord")))))))
> +    (home-page "http://cdrkit.org/")

As this is supposedly a fork or patched version, the website should point
to a repository or - if existing - website, not the upstream website.

> +    (synopsis "Portable command-line CD/DVD recorder software, mostly
> +compatible with cdrtools")
> +    (description "Cdrkit is a suite of programs for recording CDs and DVDs,
> +blanking CD-RW media, creating ISO-9660 filesystem images, extracting audio CD
> +data, and more.")

Could we explain the difference to cdrkit here and why people would want this
probably reduced variant of it? When someone search for cdrkit, they will
get 2 results, and 1 will only differ in the homepage and the word "mostly",
more or less.

> +    (license gpl2+)))
> -- 
> 2.18.0