Bug#929381: needs cdrecord binary which isn't in Debian

2019-05-23 Thread Thomas Schmitt
Hi,

Debian's simpleburn depends among others on cdrskin.
If it asks for cdrecord, then it has not been properly adapted to
this dependency.

A simple workaround would be to create a symbolic link

  sudo ln -s /usr/bin/cdrskin /usr/bin/cdrecord

cdrskin understands many cdrecord options as of year 2006. It has
capabilities and options added for DVD and BD.

If you need all CD burning features of cdrecord (at the expense of DVD
and BD burning), then install wodim and use it as cdrecord:

  sudo ln -s /usr/bin/wodim /usr/bin/cdrecord

wodim understands all cdrecord options as of year 2006.

The only occasion in
  https://sources.debian.org/src/simpleburn/1.8.0-1/src/simpleburn.sh/
where this might be neccessary is in line 204:

  cdrecord -v -eject speed=$WRITESPEED gracetime=3 dev=$device -audio -pad 
-useinfo -text *.wav

This expects for any X.wav file a file X.inf with CD-TEXT info.
cdrskin will ignore this option. wodim will try to obey.
The .inf files are probably created by runs of cdda2wav in simpleburn.sh.
For them you need wodim's companion icedax and create a link

  sudo ln -s /usr/bin/icedax /usr/bin/cdda2wav

--

The simpleburn package urgently needs a patch to adapt to cdrskin or
wodim instead of cdrecord and to icedax instead of cdda2wav. It should
also be checked whether other cdrtools programs need to be replaced by
cdrkit programs.

It should be quite easy for an end user to adapt simpleburn.sh to the
programs of cdrkit (wodim, icedax, ...). cdrskin would be of interest
only if you plan to burn DVD or BD media and if simpleburn is prepared to
handle these media types at all.

The difference between adapted and not adapted script would constitute
a patch that should be added to the packages debian/patches directory.
  https://sources.debian.org/src/simpleburn/1.8.0-1/debian/patches/


Have a nice day :)

Thomas



Bug#929381: needs cdrecord binary which isn't in Debian

2019-05-22 Thread Felix Zielcke
Package: simpleburn
Version: 1.8.0-1+b3
Severity: grave

I tried burning an iso with simpleburn but it completely fails due to depending 
on cdrecord:

$ simpleburn
command: simpleburn.sh /dev/cdrom b-iso 'debian-buster-DI-rc1-amd64-netinst.iso'
/usr/bin/simpleburn.sh: line 171: cdrecord: command not found

cdrecord isn't avaible even in oldstable.

-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages simpleburn depends on:
ii  cdrdao   1:1.2.4-1
ii  cdrskin  1.5.0-1
ii  icedax   9:1.1.11-3+b2
ii  libatk1.0-0  2.30.0-2
ii  libc62.28-10
ii  libcairo-gobject21.16.0-4
ii  libcairo21.16.0-4
ii  libcddb2 1.3.2-6
ii  libcdio-utils2.0.0-2
ii  libcdio182.0.0-2
ii  libdvdread4  6.0.1-1
ii  libfribidi0  1.0.5-3.1
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libglib2.0-0 2.58.3-1
ii  libgtk-3-0   3.24.5-1
ii  libpango-1.0-0   1.42.4-6
ii  libpangocairo-1.0-0  1.42.4-6
ii  xorriso  1.5.0-1

Versions of packages simpleburn recommends:
pn  flac
pn  mencoder
pn  mpg123  
pn  mplayer | mplayer2  
pn  normalize-audio 
pn  vorbis-tools

simpleburn suggests no packages.

-- no debconf information