Package: k3b
Version: 0.12.17-1
Severity: normal
Tags: patch

Hi!

the cdrecord binary is going away and is replaced by a symlink to wodim.
Please support wodim directly.

This also gives the possibility to remove some debian-related checks in 
k3bdefaultexternalprograms.cpp around line 95

I have created two ways to accomplish using wodim directly.
See below.


Suggested Changelog entry about control:
  * Changes dependency from cdrecord to wodim

diff -u k3b-0.12.17/debian/control k3b-0.12.17/debian/control
--- k3b-0.12.17/debian/control
+++ k3b-0.12.17/debian/control
@@ -8,7 +8,7 @@

 Package: k3b
 Architecture: any
-Depends: ${shlibs:Depends}, cdrecord (>= 4:2.0+a18-1), cdparanoia (>= 3a9.8), 
mkisofs (>= 1.10), kdelibs-data (>= 4:3.1.4-2), kdebase-bin
+Depends: ${shlibs:Depends}, wodim, cdparanoia (>= 3a9.8), mkisofs (>= 1.10), 
kdelibs-data (>= 4:3.1.4-2), kdebase-bin
 Recommends: vcdimager (>= 0.7), cdrdao (>= 1.1.7-5), dvd+rw-tools, 
kdebase-kio-plugins, kcontrol
 Suggests: k3b-i18n, normalize-audio, toolame, sox, movixmaker-2
 Description: A sophisticated KDE CD burning application


There is two ways to make k3b in debian use wodim as default, the first one is 
less 
intrusive to default behaviour, but the second one looks and works nicer

====ALTERNATIVE 1========
Suggested Changelog entry:
  * Adds wodim to default search path


diff -u k3b-0.12.17/debian/rules k3b-0.12.17/debian/rules
--- k3b-0.12.17.orig/libk3b/core/k3bexternalbinmanager.cpp
+++ k3b-0.12.17/libk3b/core/k3bexternalbinmanager.cpp
@@ -343,12 +343,13 @@

 void K3bExternalBinManager::loadDefaultSearchPath()
 {
-  static const char* defaultSearchPaths[] = { "/usr/bin/",
+  static const char* defaultSearchPaths[] = { "/usr/bin/wodim",
+                                             "/usr/bin/",
                                              "/usr/local/bin/",
                                              "/usr/sbin/",


======ALTERNATIVE 2========
Suggested Changelog entry:
  * Looking for wodim binary instead of cdrecord binary


diff -u k3b-0.12.17/libk3b/core/k3bdefaultexternalprograms.cpp 
k3b-0.12.17/libk3b/core/k3bdefaultexternalprograms.cpp
--- k3b-0.12.17/libk3b/core/k3bdefaultexternalprograms.cpp
+++ k3b-0.12.17/libk3b/core/k3bdefaultexternalprograms.cpp
@@ -90,7 +90,7 @@
   if( fi.isDir() ) {
     if( path[path.length()-1] != '/' )
       path.append("/");
-    path.append("cdrecord");
+    path.append("wodim");

     //
     // This is a hack for Debian based systems which use


=====END ALTERNATIVES=====

I think I like alternative 2 best.



Thank you.


-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages k3b depends on:
ii  cdparanoia           3a9.8-14            An audio extraction tool for sampl
ii  cdrecord             5:1.0~pre3-1        Dummy package for transition to wo
ii  kdebase-bin          4:3.5.4-2           core binaries for the KDE base mod
ii  kdelibs-data         4:3.5.4-3           core shared data for all KDE appli
ii  kdelibs4c2a          4:3.5.4-3           core libraries and binaries for al
ii  libacl1              2.2.41-1            Access control list shared library
ii  libart-2.0-2         2.3.17-1            Library of functions for 2D graphi
ii  libattr1             2.4.32-1            Extended attribute shared library
ii  libaudio2            1.8-2               The Network Audio System (NAS). (s
ii  libc6                2.3.6.ds1-4         GNU C Library: Shared libraries
ii  libdbus-1-2          0.62-4              simple interprocess messaging syst
ii  libdbus-qt-1-1c2     0.62.git.20060814-1 simple interprocess messaging syst
ii  libexpat1            1.95.8-3.2          XML parsing C library - runtime li
ii  libfam0              2.7.0-10            Client library to control the FAM 
ii  libfontconfig1       2.3.2-7             generic font configuration library
ii  libfreetype6         2.2.1-3             FreeType 2 font engine, shared lib
ii  libgcc1              1:4.1.1-13          GCC support library
ii  libhal1              0.5.7.1-1           Hardware Abstraction Layer - share
ii  libice6              1:1.0.0-3           X11 Inter-Client Exchange library
ii  libidn11             0.6.5-1             GNU libidn library, implementation
ii  libjpeg62            6b-13               The Independent JPEG Group's JPEG 
ii  libk3b2              0.12.17-1.1         The KDE cd burning application lib
ii  libmusicbrainz4c2a   2.1.4-1             Second generation incarnation of t
ii  libpng12-0           1.2.8rel-5.2        PNG library - runtime
ii  libqt3-mt            3:3.3.6-4           Qt GUI Library (Threaded runtime v
ii  libsm6               1:1.0.1-2           X11 Session Management library
ii  libstdc++6           4.1.1-13            The GNU Standard C++ Library v3
ii  libx11-6             2:1.0.0-8           X11 client-side library
ii  libxcursor1          1.1.7-4             X cursor management library
ii  libxext6             1:1.0.1-2           X11 miscellaneous extension librar
ii  libxft2              2.1.8.2-8           FreeType-based font drawing librar
ii  libxi6               1:1.0.1-3           X11 Input extension library
ii  libxinerama1         1:1.0.1-4.1         X11 Xinerama extension library
ii  libxrandr2           2:1.1.0.2-4         X11 RandR extension library
ii  libxrender1          1:0.9.1-3           X Rendering Extension client libra
ii  libxt6               1:1.0.2-2           X11 toolkit intrinsics library
ii  mkisofs              5:1.0~pre3-1        Creates ISO-9660 CD-ROM filesystem
ii  zlib1g               1:1.2.3-13          compression library - runtime

Versions of packages k3b recommends:
ii  cdrdao                        1:1.2.1-7  records CDs in Disk-At-Once (DAO) 
ii  dvd+rw-tools                  6.1-3      DVD+-RW/R tools
ii  kcontrol                      4:3.5.4-2  control center for KDE
ii  kdebase-kio-plugins           4:3.5.4-2  core I/O slaves for KDE
ii  vcdimager                     0.7.23-3   A VideoCD (VCD) image mastering an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to