cdrom.scm 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013, 2014, 2015, 2018 Ludovic Courtès <ludo@gnu.org>
  3. ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
  4. ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
  5. ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
  6. ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
  7. ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
  8. ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
  9. ;;; Copyright © 2017 John Darrington <jmd@gnu.org>
  10. ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
  11. ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
  12. ;;; Copyright © 2017 Nikita <nikita@n0.is>
  13. ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
  14. ;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
  15. ;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
  16. ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
  17. ;;;
  18. ;;; This file is part of GNU Guix.
  19. ;;;
  20. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  21. ;;; under the terms of the GNU General Public License as published by
  22. ;;; the Free Software Foundation; either version 3 of the License, or (at
  23. ;;; your option) any later version.
  24. ;;;
  25. ;;; GNU Guix is distributed in the hope that it will be useful, but
  26. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  27. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  28. ;;; GNU General Public License for more details.
  29. ;;;
  30. ;;; You should have received a copy of the GNU General Public License
  31. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  32. (define-module (gnu packages cdrom)
  33. #:use-module (guix download)
  34. #:use-module (guix git-download)
  35. #:use-module (guix packages)
  36. #:use-module ((guix licenses) #:select (lgpl2.1+ gpl2 gpl2+ gpl3+ cddl1.0))
  37. #:use-module (guix build-system cmake)
  38. #:use-module (guix build-system gnu)
  39. #:use-module (guix build-system glib-or-gtk)
  40. #:use-module (guix gexp)
  41. #:use-module (guix utils)
  42. #:use-module (gnu packages)
  43. #:use-module (gnu packages acl)
  44. #:use-module (gnu packages audio)
  45. #:use-module (gnu packages autotools)
  46. #:use-module (gnu packages bison)
  47. #:use-module (gnu packages compression)
  48. #:use-module (gnu packages flex)
  49. #:use-module (gnu packages fontutils)
  50. #:use-module (gnu packages gettext)
  51. #:use-module (gnu packages docbook)
  52. #:use-module (gnu packages xml)
  53. #:use-module (gnu packages gtk)
  54. #:use-module (gnu packages glib)
  55. #:use-module (gnu packages m4)
  56. #:use-module (gnu packages man)
  57. #:use-module (gnu packages mp3)
  58. #:use-module (gnu packages music)
  59. #:use-module (gnu packages ncurses)
  60. #:use-module (gnu packages elf)
  61. #:use-module (gnu packages wxwidgets)
  62. #:use-module (gnu packages linux)
  63. #:use-module (gnu packages pkg-config)
  64. #:use-module (gnu packages readline)
  65. #:use-module (gnu packages base)
  66. #:use-module (gnu packages perl)
  67. #:use-module (gnu packages perl-web)
  68. #:use-module (gnu packages python)
  69. #:use-module (gnu packages image)
  70. #:use-module (gnu packages photo)
  71. #:use-module (gnu packages tcl)
  72. #:use-module (gnu packages video)
  73. #:use-module (gnu packages wget)
  74. #:use-module (gnu packages xiph))
  75. (define-public libcddb
  76. (package
  77. (name "libcddb")
  78. (version "1.3.2")
  79. (source (origin
  80. (method url-fetch)
  81. (uri (string-append "mirror://sourceforge/libcddb/libcddb/" version
  82. "/libcddb-" version ".tar.bz2"))
  83. (sha256
  84. (base32
  85. "0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim"))))
  86. (build-system gnu-build-system)
  87. (arguments '(#:tests? #f)) ; tests rely on access to external servers
  88. (home-page "http://libcddb.sourceforge.net/")
  89. (synopsis "C library to access data on a CDDB server")
  90. (description
  91. "Libcddb is a C library to access data on a CDDB server (freedb.org). It
  92. allows you to:
  93. 1. search the database for possible CD matches;
  94. 2. retrieve detailed information about a specific CD;
  95. 3. submit new CD entries to the database.
  96. Libcddb supports both the custom CDDB protocol and tunnelling the query and
  97. read operations over plain HTTP. It is also possible to use an HTTP proxy
  98. server. If you want to speed things up, you can make use of the built-in
  99. caching facility provided by the library.")
  100. (license lgpl2.1+)))
  101. (define-public libcdio
  102. (package
  103. (name "libcdio")
  104. (version "2.1.0")
  105. (source (origin
  106. (method url-fetch)
  107. (uri (string-append "mirror://gnu/libcdio/libcdio-"
  108. version ".tar.bz2"))
  109. (sha256
  110. (base32
  111. "0avi6apv5ydjy6b9c3z9a46rvp5i57qyr09vr7x4nndxkmcfjl45"))))
  112. (build-system gnu-build-system)
  113. (inputs
  114. `(("ncurses" ,ncurses)
  115. ("libcddb" ,libcddb)))
  116. (native-inputs
  117. `(("help2man" ,help2man)
  118. ("pkg-config" ,pkg-config)))
  119. (home-page "https://www.gnu.org/software/libcdio/")
  120. (synopsis "CD Input and Control library")
  121. (description
  122. "The GNU Compact Disc Input and Control Library (libcdio) is a library
  123. for CD-ROM and CD image file access. It allows the developer to add CD
  124. access to an application without having to worry about the OS- and
  125. device-dependent properties of CD-ROM or the specific details of CD image
  126. formats. It includes pycdio, a Python interface to libcdio, and
  127. libcdio-paranoia, a library providing jitter-free and error-free audio
  128. extraction from CDs.")
  129. (license gpl3+)))
  130. (define-public libcdio-paranoia
  131. (package
  132. (name "libcdio-paranoia")
  133. (version "10.2+2.0.1")
  134. (source (origin
  135. (method url-fetch)
  136. (uri (string-append "mirror://gnu/libcdio/libcdio-paranoia-"
  137. version ".tar.bz2"))
  138. (sha256
  139. (base32
  140. "12hfnrq7amv9qjzc92cr265m7kh0a1hpasck8cxx1gygbhqczc9k"))))
  141. (build-system gnu-build-system)
  142. (native-inputs `(("pkg-config" ,pkg-config)))
  143. (propagated-inputs `(("libcdio" ,libcdio)))
  144. (home-page "https://www.gnu.org/software/libcdio/")
  145. (synopsis "Jitter- and error-tolerant CD audio extraction")
  146. (description
  147. "libcdio-paranoia is an implementation of CD paranoia libraries based on
  148. libcdio.")
  149. (license gpl3+)))
  150. ;; Xorriso is used by Guix for creating ISO images. If you change this package,
  151. ;; please make sure the Guix functionality still works by running some related
  152. ;; system tests.
  153. ;; For example, try running `make check-system TESTS=iso-image-installer`.
  154. (define-public xorriso
  155. (package
  156. (name "xorriso")
  157. (version "1.5.2")
  158. (outputs '("out" "gui"))
  159. (source (origin
  160. (method url-fetch)
  161. (uri (string-append "mirror://gnu/xorriso/xorriso-"
  162. version ".tar.gz"))
  163. (sha256
  164. (base32
  165. "1rqpzj95f70jfwpn4lamasfgqpizjsipz12aprdhri777b4zas9v"))))
  166. (build-system gnu-build-system)
  167. (arguments
  168. `(#:phases
  169. (modify-phases %standard-phases
  170. (add-after 'install 'install-frontends
  171. (lambda* (#:key outputs #:allow-other-keys)
  172. (let* ((out (assoc-ref outputs "out"))
  173. (out-bin (string-append out "/bin")))
  174. (install-file "frontend/grub-mkrescue-sed.sh" out-bin)
  175. #t)))
  176. (add-after 'install 'move-gui-to-separate-output
  177. (lambda* (#:key outputs #:allow-other-keys)
  178. (let ((out (assoc-ref outputs "out"))
  179. (gui (assoc-ref outputs "gui")))
  180. (for-each
  181. (lambda (file)
  182. (mkdir-p (string-append gui (dirname file)))
  183. (rename-file (string-append out file)
  184. (string-append gui file)))
  185. (list "/bin/xorriso-tcltk"
  186. "/share/info/xorriso-tcltk.info"
  187. "/share/man/man1/xorriso-tcltk.1"))
  188. (wrap-program (string-append gui "/bin/xorriso-tcltk")
  189. `("PATH" ":" prefix (,(string-append out "/bin"))))
  190. #t))))))
  191. (inputs
  192. `(("acl" ,acl)
  193. ("readline" ,readline)
  194. ("tk" ,tk)
  195. ("zlib" ,zlib)))
  196. (home-page "https://www.gnu.org/software/xorriso/")
  197. (synopsis "Create, manipulate, burn ISO-9660 file systems")
  198. (description
  199. "GNU Xorriso is a tool for copying files to and from ISO 9660 Rock
  200. Ridge, a.k.a. Compact Disc File System, file systems and it allows
  201. session-wise manipulation of them. It features a formatter and burner for
  202. CD, DVD and BD. It can operate on existing ISO images or it can create new
  203. ones. xorriso can then be used to copy files directly into or out of ISO
  204. files.")
  205. (license gpl3+)))
  206. (define-public cdparanoia
  207. (package
  208. (name "cdparanoia")
  209. (version "10.2")
  210. (source (origin
  211. (method url-fetch)
  212. (uri (string-append "http://downloads.xiph.org/releases/"
  213. "cdparanoia/cdparanoia-III-"
  214. version ".src.tgz"))
  215. (sha256
  216. (base32
  217. "1pv4zrajm46za0f6lv162iqffih57a8ly4pc69f7y0gfyigb8p80"))
  218. (patches (search-patches "cdparanoia-fpic.patch"))
  219. (modules '((guix build utils)))
  220. (snippet
  221. '(begin
  222. ;; Make libraries respect LDFLAGS.
  223. (substitute* '("paranoia/Makefile.in" "interface/Makefile.in")
  224. (("-Wl,-soname") "$(LDFLAGS) -Wl,-soname"))
  225. #t))))
  226. (build-system gnu-build-system)
  227. (arguments
  228. `(#:tests? #f ; there is no check target
  229. #:configure-flags ; Add $libdir to the RUNPATH of all the executables.
  230. (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))))
  231. (home-page "https://www.xiph.org/paranoia/")
  232. (synopsis "Audio CD reading utility")
  233. (description "Cdparanoia retrieves audio tracks from CDDA capable CDROM
  234. drives. The data can be saved to a file or directed to standard output
  235. in WAV, AIFF, AIFF-C or raw format. Most ATAPI, SCSI and several
  236. proprietary CDROM drive makes are supported; cdparanoia can determine if the
  237. target drive is CDDA capable. In addition to simple reading, cdparanoia adds
  238. extra-robust data verification, synchronization, error handling and scratch
  239. reconstruction capability.")
  240. (license gpl2))) ; libraries under lgpl2.1
  241. (define-public cdrdao
  242. (package
  243. (name "cdrdao")
  244. (version "1.2.4")
  245. (source
  246. (origin
  247. (method git-fetch)
  248. (uri (git-reference
  249. (url "https://github.com/cdrdao/cdrdao")
  250. (commit
  251. (string-append "rel_" (string-replace-substring version "." "_")))))
  252. (file-name (git-file-name name version))
  253. (sha256
  254. (base32 "1gcl8ibyylamy2d1piq3749nw3xrlp12r0spzp2gmni57b8a6b7j"))))
  255. (build-system gnu-build-system)
  256. (arguments
  257. '(#:configure-flags
  258. (list
  259. ;; GCDMaster depends on obsolete libgnomeuimm, see
  260. ;; <https://github.com/cdrdao/cdrdao/issues/3>.
  261. "--without-gcdmaster"
  262. ;; Use the native SCSI interface.
  263. "--without-scglib")
  264. #:phases
  265. (modify-phases %standard-phases
  266. (add-before 'bootstrap 'fix-configure.ac
  267. (lambda _
  268. ;; Remove reference to missing macro.
  269. (substitute* "configure.ac" (("^AM_GCONF_SOURCE_2.*") ""))
  270. #t)))))
  271. (native-inputs
  272. `(("autoconf" ,autoconf)
  273. ("automake" ,automake)
  274. ("pkg-config" ,pkg-config)))
  275. (inputs
  276. `(("ao" ,ao)
  277. ("lame" ,lame)
  278. ("libmad" ,libmad)
  279. ("libvorbis" ,libvorbis)))
  280. (home-page "http://cdrdao.sourceforge.net")
  281. (synopsis "Read and write CDs in disk-at-once mode")
  282. (description "cdrdao records audio or data CDs in disk-at-once (DAO) mode,
  283. based on a textual description of the contents. This mode writes the complete
  284. disc – lead-in, one or more tracks, and lead-out – in a single step and is
  285. commonly used with audio CDs. @code{cdrdao} can also handle the bin/cue
  286. format, commonly used for VCDs or disks with subchannel data.")
  287. (license gpl2+)))
  288. (define-public cdrtools
  289. (package
  290. (name "cdrtools")
  291. (version "3.01")
  292. (source (origin
  293. (method url-fetch)
  294. (uri (string-append
  295. "mirror://sourceforge/cdrtools/cdrtools-" version ".tar.bz2"))
  296. (sha256
  297. (base32
  298. "03w6ypsmwwy4d7vh6zgwpc60v541vc5ywp8bdb758hbc4yv2wa7d"))
  299. (modules '((guix build utils)))
  300. (snippet
  301. '(begin
  302. ;; By default 'cdda2wav --help' would print a string like
  303. ;; "Version 3.01_linux_4.19.10-gnu_x86_64_x86_64". Change
  304. ;; it to not capture the kernel version of the build
  305. ;; machine, to allow for reproducible builds.
  306. (substitute* "cdda2wav/local.cnf.in"
  307. (("^VERSION_OS=.*")
  308. (string-append
  309. "actual_os := $(shell uname -o)\n"
  310. "actual_arch := $(shell uname -m)\n"
  311. "VERSION_OS = _$(actual_os)_$(actual_arch)\n")))
  312. #t))
  313. (patches (search-patches "cdrtools-3.01-mkisofs-isoinfo.patch"))))
  314. (build-system gnu-build-system)
  315. ;; XXX cdrtools bundles a modified, relicensed early version of cdparanoia.
  316. (inputs
  317. `(("linux-headers" ,linux-libre-headers)))
  318. (arguments
  319. `(#:make-flags
  320. (list "RM=rm" "LN=ln" "SYMLINK=ln -s"
  321. "CONFIG_SHELL=sh" "CCOM=gcc"
  322. (string-append "INS_BASE=" (assoc-ref %outputs "out"))
  323. (string-append "INS_RBASE=" (assoc-ref %outputs "out")))
  324. ;; Parallel builds appear to be unsafe, see
  325. ;; https://hydra.gnu.org/build/3346840/log/raw
  326. #:parallel-build? #f
  327. #:phases
  328. (modify-phases %standard-phases
  329. (delete 'configure)
  330. (add-before 'build 'set-linux-headers
  331. (lambda _
  332. (substitute* "autoconf/configure"
  333. (("/usr/src/linux")
  334. (assoc-ref %build-inputs "linux-headers")))
  335. #t))
  336. (add-before 'build 'substitute-dirs
  337. (lambda _
  338. (substitute* (append (find-files "DEFAULTS" "^Defaults\\.")
  339. (find-files "DEFAULTS_ENG" "^Defaults\\.")
  340. (find-files "TEMPLATES" "^Defaults\\."))
  341. (("/opt/schily") (assoc-ref %outputs "out")))
  342. #t)))
  343. #:tests? #f)) ; no tests
  344. (synopsis "Command line utilities to manipulate and burn CD/DVD/BD images")
  345. (description "cdrtools is a collection of command line utilities to create
  346. CD's, DVD's or Blue Ray discs. The most important components are
  347. @command{cdrecord}, a burning program, @command{cdda2wav}, a CD audio ripper
  348. which uses libparanoia, and @command{mkisofs}, which can create various disc
  349. images.")
  350. (home-page "http://cdrtools.sourceforge.net/private/cdrecord.html")
  351. ;; mkisofs is GPL, the other programs are CDDL.
  352. (license (list cddl1.0 gpl2))))
  353. (define-public dvd+rw-tools
  354. (package
  355. (name "dvd+rw-tools")
  356. (version "7.1")
  357. (source (origin
  358. (method url-fetch)
  359. (uri (string-append
  360. "http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-"
  361. version ".tar.gz"))
  362. (sha256
  363. (base32
  364. "1jkjvvnjcyxpql97xjjx0kwvy70kxpiznr2zpjy2hhci5s10zmpq"))
  365. (patches (search-patches "dvd+rw-tools-add-include.patch"))))
  366. (build-system gnu-build-system)
  367. (inputs
  368. `(("cdrtools" ,cdrtools)))
  369. (native-inputs
  370. `(("m4" ,m4)))
  371. (arguments
  372. `(#:tests? #f ; No tests.
  373. #:phases
  374. (modify-phases %standard-phases
  375. (add-after 'unpack 'fix-glibc-compatability
  376. (lambda* (#:key inputs #:allow-other-keys)
  377. ;; We use sed --in-place because substitute* cannot handle the
  378. ;; character encoding used by growisofs.c.
  379. (invoke "sed" "-i" "-e"
  380. (string-append
  381. "s,<sys/stat.h>,"
  382. "<sys/stat.h>\\\n#include <sys/sysmacros.h>,")
  383. "growisofs.c")))
  384. (replace 'configure
  385. (lambda _ (setenv "prefix" (assoc-ref %outputs "out")) #t))
  386. (add-before 'build 'embed-mkisofs
  387. (lambda* (#:key inputs #:allow-other-keys)
  388. ;; We use sed --in-place because substitute* cannot handle the
  389. ;; character encoding used by growisofs.c.
  390. (invoke "sed" "-i" "-e"
  391. (string-append
  392. "s,\"mkisofs\","
  393. "\"" (which "mkisofs") "\",")
  394. "growisofs.c"))))))
  395. (home-page "http://fy.chalmers.se/~appro/linux/DVD+RW/")
  396. (synopsis "DVD and Blu-ray Disc burning tools")
  397. (description "dvd+rw-tools, mostly known for its command
  398. @command{growisofs}, is a collection of DVD and Blu-ray Disc burning tools.
  399. It requires another program, such as @command{mkisofs}, @command{genisoimage},
  400. or @command{xorrisofs} to create ISO 9660 images.")
  401. (license gpl2)))
  402. (define-public dvdisaster
  403. (package
  404. (name "dvdisaster")
  405. (version "0.79.5")
  406. (source
  407. (origin
  408. (method url-fetch)
  409. ;; Update this (and update HOME-PAGE) when/if one reappears.
  410. (uri (string-append "https://web.archive.org/web/20180428070843/"
  411. "http://dvdisaster.net/downloads/dvdisaster-"
  412. version ".tar.bz2"))
  413. (sha256
  414. (base32 "0f8gjnia2fxcbmhl8b3qkr5b7idl8m855dw7xw2fnmbqwvcm6k4w"))))
  415. (build-system gnu-build-system)
  416. (inputs
  417. `(("gtk+" ,gtk+-2)))
  418. (native-inputs
  419. `(("gettext" ,gettext-minimal)
  420. ("pkg-config" ,pkg-config)
  421. ("which" ,which)))
  422. (arguments
  423. `(;; Parallel builds appear to be unsafe, see
  424. ;; <http://hydra.gnu.org/build/49331/nixlog/1/raw>.
  425. #:parallel-build? #f
  426. #:phases
  427. (modify-phases %standard-phases
  428. (replace 'check
  429. (lambda _
  430. (with-directory-excursion "regtest"
  431. (substitute* "common.bash"
  432. (("ISODIR=/var/tmp/regtest") "ISODIR=/tmp"))
  433. (for-each invoke (find-files "." "rs.*\\.bash")))
  434. #t))
  435. (add-after 'install 'install-desktop
  436. (lambda* (#:key outputs #:allow-other-keys)
  437. (let* ((datadir (string-append (assoc-ref outputs "out") "/share")))
  438. (substitute* "contrib/dvdisaster.desktop"
  439. (("dvdisaster48.png") "dvdisaster.png"))
  440. (install-file "contrib/dvdisaster.desktop"
  441. (string-append datadir "/applications"))
  442. (for-each
  443. (lambda (png)
  444. (let* ((size (substring png
  445. (string-index png char-set:digit)
  446. (string-rindex png #\.)))
  447. (icondir (string-append datadir "/icons/"
  448. size "x" size "/apps")))
  449. (mkdir-p icondir)
  450. (copy-file png (string-append icondir "/dvdisaster.png"))))
  451. (find-files "contrib" "dvdisaster[0-9]*\\.png"))
  452. (mkdir-p (string-append datadir "/pixmaps"))
  453. (copy-file "contrib/dvdisaster48.xpm"
  454. (string-append datadir "/pixmaps/dvdisaster.xpm"))
  455. #t))))))
  456. (home-page (string-append "https://web.archive.org/web/20180428070843/"
  457. "http://dvdisaster.net/en/index.html"))
  458. (synopsis "Error correcting codes for optical media images")
  459. (description "Optical media (CD,DVD,BD) keep their data only for a
  460. finite time (typically for many years). After that time, data loss develops
  461. slowly with read errors growing from the outer media region towards the
  462. inside.
  463. Dvdisaster stores data on CD/DVD/BD (supported media) in a way that it is
  464. fully recoverable even after some read errors have developed. This enables
  465. you to rescue the complete data to a new medium.
  466. Data loss is prevented by using error correcting codes. Error correction
  467. data is either added to the medium or kept in separate error correction
  468. files. Dvdisaster works at the image level so that the recovery does not
  469. depend on the file system of the medium. The maximum error correction
  470. capacity is user-selectable.")
  471. (license gpl2+)))
  472. (define-public dvdstyler
  473. (package
  474. (name "dvdstyler")
  475. (version "3.0.4")
  476. (source
  477. (origin
  478. (method url-fetch)
  479. (uri (string-append "mirror://sourceforge/dvdstyler/dvdstyler/"
  480. version "/DVDStyler-" version ".tar.bz2"))
  481. (sha256
  482. (base32
  483. "0lwc0hn94m9r8fi07sjqz3fr618l6lnw3zsakxw7nlgnxbjsk7pi"))))
  484. (build-system gnu-build-system)
  485. (arguments
  486. `(#:configure-flags
  487. (list (string-append "XMLTO="
  488. (assoc-ref %build-inputs "xmlto")
  489. "/bin/xmlto --searchpath "
  490. (assoc-ref %build-inputs "docbook-xsl")
  491. "/xml/xsl/docbook-xsl-" ,(package-version docbook-xsl)
  492. "/htmlhelp:"
  493. (assoc-ref %build-inputs "docbook-xml")
  494. "/xml/dtd/docbook"))
  495. #:phases
  496. (modify-phases %standard-phases
  497. (add-after 'install 'wrap-program
  498. (lambda* (#:key inputs outputs #:allow-other-keys)
  499. (wrap-program (string-append (assoc-ref outputs "out") "/bin/dvdstyler")
  500. `("PATH" ":" prefix
  501. (,(string-join
  502. (map (lambda (in) (string-append (assoc-ref inputs in) "/bin"))
  503. '("cdrtools" "dvdauthor" "dvd+rw-tools" "ffmpeg"))
  504. ":"))))
  505. #t)))
  506. #:tests? #f)) ; No tests.
  507. (inputs ; TODO package bundled wxvillalib
  508. `(("wxwidgets" ,wxwidgets-3.1)
  509. ("wssvg" ,wxsvg)
  510. ("dbus" ,dbus)
  511. ("cdrtools" ,cdrtools)
  512. ("dvd+rw-tools" ,dvd+rw-tools)
  513. ("dvdauthor" ,dvdauthor)
  514. ("eudev" ,eudev)
  515. ("fontconfig" ,fontconfig)
  516. ("libexif" ,libexif)
  517. ("libjpeg" ,libjpeg-turbo)
  518. ("ffmpeg" ,ffmpeg-3.4)))
  519. (native-inputs
  520. `(("pkg-config" ,pkg-config)
  521. ("flex" ,flex)
  522. ("python" ,python-2)
  523. ("xmlto" ,xmlto)
  524. ("gettext" ,gettext-minimal)
  525. ("docbook-xml" ,docbook-xml)
  526. ("docbook-xsl" ,docbook-xsl)
  527. ("zip" ,zip)))
  528. (synopsis "DVD authoring application")
  529. (description "DVDStyler is a DVD authoring application which allows users
  530. to burn video files in many formats to DVD discs, complete with individually
  531. designed menus. It can be used to create professional-looking DVD's with
  532. custom buttons, backgrounds and animations, from within a user-friendly
  533. graphical interface.")
  534. (home-page "https://www.dvdstyler.org")
  535. (license gpl2)))
  536. (define-public libcue
  537. (package
  538. (name "libcue")
  539. (version "2.2.1")
  540. (source (origin
  541. (method git-fetch)
  542. (uri (git-reference
  543. (url "https://github.com/lipnitsk/libcue")
  544. (commit (string-append "v" version))))
  545. (file-name (git-file-name name version))
  546. (sha256
  547. (base32
  548. "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm"))))
  549. (build-system cmake-build-system)
  550. (arguments
  551. `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
  552. (native-inputs
  553. `(("bison" ,bison)
  554. ("flex" ,flex)))
  555. (home-page "https://github.com/lipnitsk/libcue")
  556. (synopsis "C library to parse cue sheets")
  557. (description "Libcue is a C library to parse so-called @dfn{cue sheets}
  558. which contain meta-data for CD/DVD tracks. It provides an API to manipulate
  559. the data.")
  560. (license gpl2+)))
  561. (define-public cd-discid
  562. (package
  563. (name "cd-discid")
  564. (version "1.4")
  565. (home-page "http://linukz.org/cd-discid.shtml")
  566. (source (origin
  567. (method url-fetch)
  568. (uri (string-append "http://linukz.org/download/cd-discid-"
  569. version ".tar.gz"))
  570. (sha256
  571. (base32
  572. "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz"))
  573. (modules '((guix build utils)))
  574. (snippet
  575. '(begin
  576. (substitute* "Makefile"
  577. (("/usr/bin/install")
  578. "install"))
  579. #t))))
  580. (build-system gnu-build-system)
  581. (arguments
  582. `(#:tests? #f
  583. #:phases (modify-phases %standard-phases (delete 'configure))
  584. #:make-flags (list ,(string-append "CC=" (cc-for-target))
  585. (string-append "PREFIX="
  586. (assoc-ref %outputs "out")))))
  587. (synopsis "Get CDDB discid information from an audio CD")
  588. (description
  589. "cd-discid is a command-line tool to retrieve CDDB discid information
  590. from an audio CD.")
  591. (license gpl2+)))
  592. (define-public abcde
  593. (package
  594. (name "abcde")
  595. (version "2.9.3")
  596. (home-page "https://abcde.einval.com/")
  597. (source (origin
  598. (method url-fetch)
  599. (uri (string-append home-page "/download/abcde-"
  600. version ".tar.gz"))
  601. (sha256
  602. (base32
  603. "091ip2iwb6b67bhjsj05l0sxyq2whqjycbzqpkfbpm4dlyxx0v04"))
  604. (modules '((guix build utils)))
  605. (snippet
  606. '(begin
  607. (substitute* "Makefile"
  608. (("/usr/bin/install")
  609. "install"))
  610. #t))))
  611. (build-system gnu-build-system)
  612. (arguments
  613. '(#:phases
  614. (modify-phases %standard-phases
  615. (replace 'configure
  616. (lambda* (#:key outputs inputs #:allow-other-keys)
  617. (substitute* "Makefile"
  618. (("^prefix = .*$")
  619. (string-append "prefix = "
  620. (assoc-ref outputs "out")
  621. "\n"))
  622. (("^sysconfdir = .*$")
  623. (string-append "sysconfdir = "
  624. (assoc-ref outputs "out")
  625. "/etc/\n")))
  626. #t))
  627. (add-after 'install 'wrap
  628. (lambda* (#:key inputs outputs #:allow-other-keys)
  629. (let ((wget (assoc-ref inputs "wget"))
  630. (vorbis (assoc-ref inputs "vorbis-tools"))
  631. (parano (assoc-ref inputs "cdparanoia"))
  632. (which (assoc-ref inputs "which"))
  633. (discid (assoc-ref inputs "cd-discid"))
  634. (perl-discid (assoc-ref inputs "perl-musicbrainz-discid"))
  635. (perl-ws (assoc-ref inputs "perl-webservice-musicbrainz"))
  636. (perl-mojo (assoc-ref inputs "perl-mojolicious"))
  637. (flac (assoc-ref inputs "flac"))
  638. (out (assoc-ref outputs "out")))
  639. (define (wrap file)
  640. (wrap-program file
  641. `("PATH" ":" prefix
  642. (,(string-append out "/bin:"
  643. wget "/bin:"
  644. flac "/bin:"
  645. which "/bin:"
  646. vorbis "/bin:"
  647. discid "/bin:"
  648. parano "/bin")))
  649. `("PERL5LIB" ":" prefix
  650. (,(string-append perl-discid
  651. "/lib/perl5/site_perl:"
  652. perl-ws
  653. "/lib/perl5/site_perl:"
  654. perl-mojo
  655. "/lib/perl5/site_perl")))))
  656. (for-each wrap
  657. (find-files (string-append out "/bin")
  658. ".*")))
  659. #t)))
  660. #:tests? #f)) ; no test target
  661. (inputs `(("wget" ,wget)
  662. ("which" ,which)
  663. ("cdparanoia" ,cdparanoia)
  664. ("cd-discid" ,cd-discid)
  665. ("vorbis-tools" ,vorbis-tools)
  666. ("flac" ,flac)
  667. ("perl-musicbrainz-discid" ,perl-musicbrainz-discid)
  668. ("perl-webservice-musicbrainz" ,perl-webservice-musicbrainz)
  669. ("perl-mojolicious" ,perl-mojolicious) ;indirect dependency
  670. ;; A couple of Python and Perl scripts are included.
  671. ("python" ,python)
  672. ("perl" ,perl)))
  673. (synopsis "Command-line audio CD ripper")
  674. (description
  675. "abcde is a front-end command-line utility (actually, a shell script)
  676. that grabs tracks off a CD, encodes them to Ogg/Vorbis, MP3, FLAC, Ogg/Speex
  677. and/or MPP/MP+ (Musepack) format, and tags them, all in one go.")
  678. (license gpl2+)))
  679. (define-public geteltorito
  680. (package
  681. (name "geteltorito")
  682. (version "0.6")
  683. (home-page
  684. "https://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/")
  685. (source (origin
  686. (method url-fetch)
  687. (uri (string-append home-page name "-" version ".tar.gz"))
  688. (sha256
  689. (base32
  690. "1gkbm9ahj2mgqrkrfpibzclsriqgsbsvjh19fr815vpd9f6snkxv"))))
  691. (build-system gnu-build-system)
  692. (arguments
  693. `(#:tests? #f ; No tests.
  694. #:phases
  695. (modify-phases %standard-phases
  696. (delete 'configure)
  697. (delete 'build)
  698. (replace 'install
  699. (lambda* (#:key outputs #:allow-other-keys)
  700. (let ((out (assoc-ref outputs "out")))
  701. (install-file "geteltorito"
  702. (string-append out "/bin"))))))))
  703. (inputs `(("perl" ,perl)))
  704. (synopsis "Extract the boot image from a CD-ROM")
  705. (description
  706. "@command{geteltorito} can extract the initial/default boot
  707. image from CDs (and ISOs) that follow the El Torito specification
  708. for bootable CD-ROMs.
  709. Image data is written to standard output by default and all other
  710. information is written to standard error.")
  711. (license gpl2+)))
  712. (define-public asunder
  713. (package
  714. (name "asunder")
  715. (version "2.9.7")
  716. (source
  717. (origin
  718. (method url-fetch)
  719. (uri
  720. (string-append "http://www.littlesvr.ca/asunder/releases/asunder-"
  721. version ".tar.bz2"))
  722. (sha256
  723. (base32 "1x3l308ss0iqhz90qyjb94gyd8b4piyrm2nzjmg5kf049k9prjf1"))))
  724. (build-system glib-or-gtk-build-system)
  725. (arguments
  726. '(#:out-of-source? #f
  727. #:phases (modify-phases %standard-phases
  728. (add-after 'install 'wrap
  729. (lambda* (#:key inputs outputs #:allow-other-keys)
  730. (let ((program (string-append (assoc-ref outputs "out")
  731. "/bin/asunder")))
  732. (define (bin-directory input-name)
  733. (string-append (assoc-ref inputs input-name) "/bin"))
  734. (wrap-program program
  735. `("PATH" ":" prefix
  736. ,(map bin-directory (list "cdparanoia"
  737. "lame"
  738. "vorbis-tools"
  739. "flac"
  740. "opus-tools"
  741. "wavpack"))))))))))
  742. (native-inputs `(("intltool" ,intltool)
  743. ("pkg-config" ,pkg-config)))
  744. ;; TODO: Add the necessary packages for Musepack encoding.
  745. (inputs `(("gtk+-2" ,gtk+-2)
  746. ("glib" ,glib)
  747. ("libcddb" ,libcddb)
  748. ("cdparanoia" ,cdparanoia)
  749. ("lame" ,lame)
  750. ("vorbis-tools" ,vorbis-tools)
  751. ("flac" ,flac)
  752. ("opus-tools" ,opus-tools)
  753. ("wavpack" ,wavpack)))
  754. (home-page "http://www.littlesvr.ca/asunder/")
  755. (synopsis "Graphical audio CD ripper and encoder")
  756. (description
  757. "Asunder is a graphical audio CD ripper and encoder. It can save audio
  758. tracks as WAV, MP3, Ogg Vorbis, FLAC, Opus, Wavpack, and Musepack. It can use
  759. CDDB to name and tag each track automatically, and it allows for each track to
  760. be by a different artist. Asunder can encode to multiple formats in one
  761. session, and it can create M3U playlists.")
  762. (license gpl2)))
  763. (define-public ripit
  764. (package
  765. (name "ripit")
  766. (version "3.9.0")
  767. (source
  768. (origin
  769. (method url-fetch)
  770. ;; The original suwald.com domain has expired.
  771. (uri (list
  772. (string-append "https://web.archive.org/web/20160327050927/"
  773. "http://suwald.com/ripit/ripit-" version ".tar.gz")
  774. (string-append "https://ponce.cc/slackware/sources/repo/ripit-"
  775. version ".tar.gz")))
  776. (sha256
  777. (base32 "0ap71x477jy9c4jiqazb3y45hxdxm3jbq24x05g3vjyqzigi4x1b"))))
  778. (build-system gnu-build-system)
  779. (arguments
  780. `(#:tests? #f ; no test suite
  781. #:phases
  782. (modify-phases %standard-phases
  783. (delete 'configure)
  784. (add-after 'unpack 'patch-usr-bin-install
  785. (lambda* (#:key inputs outputs #:allow-other-keys)
  786. (substitute* "Makefile"
  787. (("/usr/bin/install") (string-append
  788. (assoc-ref inputs "coreutils")
  789. "/bin/install"))
  790. (("\\$\\(DESTDIR\\)/usr/local") (assoc-ref outputs "out"))
  791. (("../../etc") "etc")))))))
  792. (native-inputs
  793. `(("coreutils" ,coreutils)))
  794. (inputs
  795. `(("perl" ,perl)))
  796. (propagated-inputs
  797. `(("cdparanoia" ,cdparanoia)
  798. ("flac" ,flac)
  799. ("vorbis-tools" ,vorbis-tools)
  800. ("wavpack" ,wavpack)
  801. ("perl-cddb-get" ,perl-cddb-get)))
  802. (home-page (string-append "https://web.archive.org/web/20170119092156/"
  803. "http://www.suwald.com/ripit/about.php"))
  804. (synopsis "Command-line program to extract audio CDs")
  805. (description "RipIT is used to extract audio from CDs.")
  806. (license gpl2)))
  807. (define-public ccd2cue
  808. (package
  809. (name "ccd2cue")
  810. (version "0.5")
  811. (source
  812. (origin
  813. (method url-fetch)
  814. (uri (string-append
  815. "mirror://gnu/ccd2cue/ccd2cue-" version
  816. ".tar.gz"))
  817. (sha256
  818. (base32
  819. "1icrkg25hwx4gsn3dski2172ia4ywjh8m1sa17zmjclnrgdwy9c7"))))
  820. (build-system gnu-build-system)
  821. (synopsis "CCD to CUE sheet conversion")
  822. (description
  823. "GNU ccd2cue is a preprocessor for CD burning software that allows
  824. the conversion of the proprietary CCD format to the CUE format, which
  825. is well-supported by free software. These files are commonly
  826. distributed with CD images and are used to describe how tracks are
  827. laid out on the image.")
  828. (home-page "https://www.gnu.org/software/ccd2cue/")
  829. (license gpl3+)))
  830. (define-public libburn
  831. (package
  832. (name "libburn")
  833. (version "1.5.4")
  834. (source (origin
  835. (method url-fetch)
  836. (uri (string-append "http://files.libburnia-project.org/releases/"
  837. "libburn-" version ".tar.gz"))
  838. (sha256
  839. (base32
  840. "0m1vyry6pi115nysfgb0cg313qqhnlxqdg7f920wpiar0z8mjl2j"))))
  841. (build-system gnu-build-system)
  842. (native-inputs
  843. `(("pkg-config" ,pkg-config)))
  844. (home-page "https://dev.lovelyhq.com/libburnia/libburn")
  845. (synopsis "Library for reading and writing optical discs")
  846. (description
  847. "Libburn is a library for reading and writing optical discs.
  848. Supported media are: CD-R, CD-RW, DVD-RAM, DVD+RW, DVD+R, DVD+R/DL,
  849. DVD-RW, DVD-R, DVD-R/DL, BD-R, and BD-RE.")
  850. (license gpl2)))
  851. (define-public libisofs
  852. (package
  853. (name "libisofs")
  854. (version "1.5.4")
  855. (source (origin
  856. (method url-fetch)
  857. (uri (string-append "http://files.libburnia-project.org/releases/"
  858. "libisofs-" version ".tar.gz"))
  859. (sha256
  860. (base32
  861. "13m82l13cb5d7ca53dv3akma1jr9gw0hnnshdwqpj6ahly0fv85a"))))
  862. (build-system gnu-build-system)
  863. (inputs
  864. `(("zlib" ,zlib)
  865. ("acl" ,acl)))
  866. (native-inputs
  867. `(("pkg-config" ,pkg-config)))
  868. (home-page "https://dev.lovelyhq.com/libburnia/libisofs")
  869. (synopsis "Library to create ISO 9660 images")
  870. (description
  871. "Libisofs creates ISO 9660 (also known as ECMA-119) file system images
  872. which can either be written to POSIX file objects or handed over to
  873. libburn for being written directly to optical media.
  874. It can read metadata of ISO 9660 filesystems, manipulate them, and use them
  875. to produce new complete file system images or add-on images to be appended
  876. to the read file system image.
  877. Supported extensions to ISO 9660 are Rock Ridge, Joliet, AAIP, zisofs.")
  878. (license gpl2+)))
  879. (define-public cdrkit-libre
  880. (package
  881. (name "cdrkit-libre")
  882. (version "1.1.11")
  883. (source (origin
  884. (method url-fetch)
  885. ;; cdrkit.org is dead.
  886. ;;
  887. ;; ‘cdrkit-libre’ removes a couple of problematic files,
  888. ;; see <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32165#14>.
  889. (uri (string-append
  890. "https://repo.parabola.nu/other/cdrkit-libre/cdrkit-libre-"
  891. version ".tar.gz"))
  892. (sha256
  893. (base32
  894. "0g2zyzb56czh429qy87lvaddzjnlcq8c616ddxsmsshz3clhyzrh"))
  895. (modules '((guix build utils)))
  896. (snippet
  897. #~(begin
  898. ;; Fix building with gcc-10.
  899. (substitute* "genisoimage/genisoimage.h"
  900. (("char\t\t\\*outfile")
  901. "extern char\t*outfile"))))))
  902. (build-system cmake-build-system)
  903. (inputs
  904. `(("bzip2" ,bzip2)
  905. ("libcap" ,libcap)
  906. ("perl" ,perl)
  907. ("zlib" ,zlib)))
  908. (arguments
  909. `(#:tests? #f ;no tests
  910. #:phases
  911. (modify-phases %standard-phases
  912. (add-after 'install 'old-cdrecord
  913. (lambda* (#:key outputs #:allow-other-keys)
  914. (with-directory-excursion (string-append (assoc-ref outputs "out")
  915. "/bin")
  916. (symlink "genisoimage" "mkisofs")
  917. (symlink "wodim" "cdrecord"))
  918. #t)))))
  919. (home-page "https://repo.parabola.nu/other/cdrkit-libre/")
  920. (synopsis "Command-line CD/DVD recorder")
  921. (description "Cdrkit is a suite of programs for recording CDs and DVDs,
  922. blanking CD-RW media, creating ISO-9660 file system images, extracting audio
  923. CD data, and more. It's mostly compatible with @code{cdrtools}.")
  924. (license gpl2+)))
  925. (define-public libmirage
  926. (package
  927. (name "libmirage")
  928. (version "3.2.5")
  929. (source (origin
  930. (method url-fetch)
  931. (uri (string-append
  932. "mirror://sourceforge/cdemu/libmirage/libmirage-"
  933. version ".tar.xz"))
  934. (sha256
  935. (base32
  936. "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm"))))
  937. (build-system cmake-build-system)
  938. (native-inputs
  939. `(("pkg-config" ,pkg-config)
  940. ("intltool" ,intltool)))
  941. (inputs
  942. `(("glib" ,glib)))
  943. (arguments
  944. ;; No tests.
  945. '(#:tests? #f))
  946. (home-page "https://cdemu.sourceforge.io/")
  947. (synopsis "CD-ROM image access library")
  948. (description "libMirage is a CD-ROM image access library. It supports the
  949. following formats: B6T, C2D, CCD, CDI, CIF, CUE, ISO, MDS, MDX, NRG, TOC. It
  950. is written in C and based on GLib. Its aim is to provide uniform access to
  951. the data stored in various image formats.")
  952. (license gpl2+)))
  953. (define-public cdemu-daemon
  954. (package
  955. (name "cdemu-daemon")
  956. (version "3.2.5")
  957. (source (origin
  958. (method url-fetch)
  959. (uri (string-append
  960. "mirror://sourceforge/cdemu/cdemu-daemon/"
  961. "cdemu-daemon-" version ".tar.xz"))
  962. (sha256
  963. (base32
  964. "16g6fv1lxkdmbsy6zh5sj54dvgwvm900fd18aq609yg8jnqm644d"))))
  965. (build-system cmake-build-system)
  966. (native-inputs
  967. `(("pkg-config" ,pkg-config)
  968. ("intltool" ,intltool)))
  969. (inputs
  970. `(("libmirage" ,libmirage)
  971. ("glib" ,glib)
  972. ("ao" ,ao)))
  973. (arguments
  974. ;; No tests.
  975. '(#:tests? #f))
  976. (home-page "https://cdemu.sourceforge.io/")
  977. (synopsis "CD/DVD-ROM device emulator")
  978. (description "CDemu is a software suite designed to emulate an optical
  979. drive and disc (including CD-ROMs and DVD-ROMs).")
  980. (license gpl2+)))
  981. (define-public cdemu-client
  982. (package
  983. (name "cdemu-client")
  984. (version "3.2.5")
  985. (source (origin
  986. (method url-fetch)
  987. (uri (string-append
  988. "mirror://sourceforge/cdemu/cdemu-client/cdemu-client-"
  989. version ".tar.xz"))
  990. (sha256
  991. (base32
  992. "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7"))))
  993. (build-system cmake-build-system)
  994. (native-inputs
  995. `(("pkg-config" ,pkg-config)
  996. ("intltool" ,intltool)))
  997. (inputs
  998. `(("python" ,python)
  999. ("python-pygobject" ,python-pygobject)
  1000. ("cdemu-daemon" ,cdemu-daemon)))
  1001. (arguments
  1002. ;; No tests.
  1003. `(#:tests? #f
  1004. #:phases
  1005. (modify-phases %standard-phases
  1006. (add-after 'install 'patch-shebang
  1007. (lambda* (#:key outputs #:allow-other-keys)
  1008. (patch-shebang (string-append (assoc-ref outputs "out")
  1009. "/bin/cdemu"))
  1010. #t))
  1011. (add-after 'patch-shebang 'wrap-program
  1012. (lambda* (#:key outputs #:allow-other-keys)
  1013. (let ((prog (string-append (assoc-ref outputs "out")
  1014. "/bin/cdemu")))
  1015. (wrap-program prog
  1016. `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH"))))
  1017. #t))))))
  1018. (home-page "https://cdemu.sourceforge.io/")
  1019. (synopsis "Command-line client for controlling cdemu-daemon")
  1020. (description "CDEmu client is a simple command-line client for controlling
  1021. CDEmu daemon.
  1022. It provides a way to perform the key tasks related to controlling the CDEmu
  1023. daemon, such as loading and unloading devices, displaying devices' status and
  1024. retrieving/setting devices' debug masks.")
  1025. (license gpl2+)))