From: Nils Gillmann <ng0@n0.is>
To: Oleg Pykhalov <go.wigust@gmail.com>
Cc: 32165@debbugs.gnu.org, Nils Gillmann <ng0@n0.is>
Subject: [bug#32165] [PATCH] gnu: Add cdrkit-libre.
Date: Wed, 25 Jul 2018 13:23:49 +0000 [thread overview]
Message-ID: <20180725132349.vszzpgjrl7qbeqo6@abyayala> (raw)
In-Reply-To: <8736w7pklr.fsf@gmail.com>
Oleg Pykhalov transcribed 4.8K bytes:
> Hello Ludovic and Nils,
>
> Thank you for review.
>
> ludo@gnu.org (Ludovic Courtès) writes:
>
> > Oleg Pykhalov <go.wigust@gmail.com> skribis:
> >
> >> * gnu/packages/cdrom.scm (cdrkit-libre): New variable.
> >
> > [...]
> >
> >> + (source (origin
> >> + (method url-fetch)
> >> + (uri (string-append
> >> + "https://repo.parabola.nu/other/cdrkit-libre/cdrkit-libre-"
> >> + version ".tar.gz"))
> >
> > Like Nils I wonder: can you explain how it differs from cdrkit? Could
> > we use upstream cdrkit + snippet/patches instead of taking the source
> > from Parabola’s repo?
>
> Comparing Nix cdrkit with Parabola cdrkit-libre tarball not much differ.
> --8<---------------cut here---------------start------------->8---
> $ /tmp/local$ diff -r -u cdrkit-1.1.11-nix/ cdrkit-1.1.11-parabola/
> Only in cdrkit-1.1.11-nix/doc/genisoimage: README.hfs_boot
> Only in cdrkit-1.1.11-nix/genisoimage: apple_driver.8
> Only in cdrkit-1.1.11-nix/genisoimage: apple_driver.c
> --8<---------------cut here---------------end--------------->8---
>
> I probably could get a diff for apple_driver.{8,c} files, but the the
> upstream URI http://cdrkit.org/releases/cdrkit.tar.gz is dead. I'm not
archive.org could help I think.
With regards to the description, there's some history here about the split:
https://inconsolation.wordpress.com/2013/09/24/cdrtools-cdrkit-and-cdrskin-untying-the-knot/
> sure where is a better place to fetch the release tarball except from
> another GNU/Linux distribution like Parabola.
I'd try Gentoo distfiles:
http://distfiles.gentoo.org/distfiles/ or directly: https://gentoo.osuosl.org/distfiles/cdrkit-1.1.6.tar.gz
>
> >> + (build-system cmake-build-system)
> >> + (native-inputs
> >> + `(("bzip2" ,bzip2)
> >> + ("libcap" ,libcap)
> >> + ("perl" ,perl)
> >> + ("zlib" ,zlib)))
> >
> > It may be that all of these should be ‘inputs’. Could you check:
> >
> > guix gc --references $(guix build cdrkit-libre)
> --8<---------------cut here---------------start------------->8---
> /gnu/store/5whrhayw7kispmd103xc05vmdvsdvhqf-cdrkit-libre-1.1.11
> /gnu/store/7ifc22sh86zblnzamqimgmv06idyx69v-perl-5.26.1
> /gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11
> /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27
> /gnu/store/pxf13xq984jvl2nk12wmsln39a1d8jwc-libcap-2.25
> /gnu/store/qhxgdgyiyq2ilvh17fqfw0njpqlg4gsc-file-5.32
> /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19
> /gnu/store/rw1ilvs76rf2p4p0bi1fx3bffprwwb7g-bzip2-1.0.6
> /gnu/store/vla5j7pbkpcp39lsdfsmz7m9azn48lr4-gcc-5.5.0-lib
> --8<---------------cut here---------------end--------------->8---
>
> > ? If they show up here, then ‘inputs’.
> >
>
> Sure, I will do ‘s/native-inputs/inputs/g’.
>
> >> + (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")))))))
> >
> > Please return #t.
>
> Oops, will do.
>
> >> + (home-page "http://cdrkit.org/")
> >
> > Like Nils wrote, is this the right URL?
>
> It's a right URL, I think. I converted recipe from Parabola, which
> references the same URL [1]. Maybe I should use a Parabola repository
> URL <https://repo.parabola.nu/other/cdrkit-libre/>?
Yes, as this is the source we are pulling from then.
Imo a documentation-url and other specific URLs (donations for
developers,...) would be good. But in cases like these, use the
closest thing to a homepage with the sourcecode.
> >> + (synopsis "Portable command-line CD/DVD recorder software, mostly
> >> +compatible with cdrtools")
> >
> > “Command-line CD/DVD recorder” is enough IMO.
>
> OK.
>
> >> + (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.")
> >
> > Here you can mention that it’s “mostly compatible …”.
>
> Do you mean “creating more compatible ISO-9660 …”?
>
> > Note: “file system” (two words). :-)
>
> OK.
>
>
> [1] https://git.parabola.nu/abslibre.git/tree/libre/cdrkit/PKGBUILD
>
> Oleg.
next prev parent reply other threads:[~2018-07-25 13:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-15 17:07 [bug#32165] [PATCH] gnu: Add cdrkit-libre Oleg Pykhalov
2018-07-15 22:39 ` Nils Gillmann
2018-07-25 12:35 ` Oleg Pykhalov
2018-07-25 13:15 ` Nils Gillmann
2018-07-24 8:38 ` Ludovic Courtès
2018-07-25 12:26 ` Oleg Pykhalov
2018-07-25 13:23 ` Nils Gillmann [this message]
2018-07-26 8:56 ` Ludovic Courtès
2018-08-01 16:33 ` bug#32165: " Oleg Pykhalov
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=20180725132349.vszzpgjrl7qbeqo6@abyayala \
--to=ng0@n0.is \
--cc=32165@debbugs.gnu.org \
--cc=go.wigust@gmail.com \
/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.