ports/75983: Port upgrade: sysutils/k3b to 0.11.18

Heiner h.eichmann at gmx.de
Sun Jan 9 09:40:22 UTC 2005


>Number:         75983
>Category:       ports
>Synopsis:       Port upgrade: sysutils/k3b to 0.11.18
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 09 09:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Heiner Eichmann <h.eichmann at gmx.de>
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Sirius Cybernetics Corp.
>Environment:
=46reeBSD 7of9.unimatrix-zero.borg 4.10-STABLE FreeBSD 4.10-STABLE #1: Sun =
Jun=20
2014:49:25 CEST 2004 =A0 =A0=20
root at 7of9.unimatrix-zero.borg:/usr/obj/usr/src/sys/MYKERNEL =A0i386

>Description:
Upgrade to 0.11.18

>How-To-Repeat:
>Fix:
See attached diff







--Boundary-00=_cqP4BzpwJNw0KwG
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="diff"

diff -ruN ../../sysutils/k3b/Makefile ./Makefile
--- ../../sysutils/k3b/Makefile	Mon Nov 15 20:10:59 2004
+++ ./Makefile	Sat Jan  1 12:14:37 2005
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	k3b
-PORTVERSION=	0.11.17
-PORTREVISION=	1
+PORTVERSION=	0.11.18
 CATEGORIES=	sysutils multimedia kde
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,8 +14,6 @@
 MAINTAINER=	h.eichmann at gmx.de
 COMMENT=	A CD/DVD recording GUI for KDE
 
-EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-configure
-
 RUN_DEPENDS=	cdrecord:${PORTSDIR}/sysutils/cdrtools \
 		cdrdao:${PORTSDIR}/sysutils/cdrdao
 LIB_DEPENDS=	mad:${PORTSDIR}/audio/libmad \
@@ -47,4 +44,10 @@
 showinfo:
 	more ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500000
+PKGMESSAGE=	${PKGDIR}/pkg-message5
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN ../../sysutils/k3b/distinfo ./distinfo
--- ../../sysutils/k3b/distinfo	Mon Nov 15 20:10:59 2004
+++ ./distinfo	Sun Dec 12 18:52:12 2004
@@ -1,2 +1,2 @@
-MD5 (k3b-0.11.17.tar.bz2) = 5c07b7ffc2f931d84b18e9fe7aa2b41c
-SIZE (k3b-0.11.17.tar.bz2) = 3187604
+MD5 (k3b-0.11.18.tar.bz2) = f5060c384c6830b51bad0451ec265326
+SIZE (k3b-0.11.18.tar.bz2) = 3189252
diff -ruN ../../sysutils/k3b/files/patch-src-Makefile.in ./files/patch-src-Makefile.in
--- ../../sysutils/k3b/files/patch-src-Makefile.in	Fri Sep 17 11:30:55 2004
+++ ./files/patch-src-Makefile.in	Sun Jan  2 09:44:40 2005
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig	Tue Aug 10 12:56:08 2004
-+++ src/Makefile.in	Sun Aug 22 15:28:36 2004
-@@ -287,7 +287,7 @@
+--- src/Makefile.in.orig	Sat Dec 11 17:46:26 2004
++++ src/Makefile.in	Sun Jan  2 09:30:08 2005
+@@ -297,7 +297,7 @@
  #>+ 1
  k3b_SOURCES=k3bwelcomewidget.cpp k3bapplication.cpp k3bdiroperator.cpp kdndfileview.cpp k3bfiletreeview.cpp k3bcddbmultientriesdialog.cpp k3baudioplayer.cpp k3bprojecttabbar.cpp k3bprojecttabwidget.cpp k3bsplash.cpp k3bblankingdialog.cpp k3bfileview.cpp k3bdirview.cpp k3btoolbox.cpp k3b.cpp main.cpp k3bstatusbarmanager.cpp k3bfiletreecombobox.cpp k3breadcdreader.cpp k3binterface.cpp  k3bprojectinterface.cpp  k3bsystemproblemdialog.cpp k3bcdcontentsview.cpp k3bwriterspeedverificationdialog.cpp k3bdatatrackreader.cpp k3binterface_skel.cpp k3bprojectinterface_skel.cpp
  
diff -ruN ../../sysutils/k3b/files/patch-src-device-k3bdevice.cpp ./files/patch-src-device-k3bdevice.cpp
--- ../../sysutils/k3b/files/patch-src-device-k3bdevice.cpp	Thu Sep  2 17:26:02 2004
+++ ./files/patch-src-device-k3bdevice.cpp	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
---- src/device/k3bdevice.cpp.orig	Tue Aug 10 09:45:21 2004
-+++ src/device/k3bdevice.cpp	Sun Aug 29 10:41:17 2004
+--- src/device/k3bdevice.cpp.orig	Sun Nov 28 01:22:29 2004
++++ src/device/k3bdevice.cpp	Sun Jan  2 09:30:08 2005
 @@ -57,6 +57,13 @@
  
  #endif // Q_OS_LINUX
@@ -14,7 +14,7 @@
  
  #ifdef HAVE_RESMGR
  extern "C" {
-@@ -154,8 +161,10 @@
+@@ -188,8 +195,10 @@
  
    d->supportedProfiles = 0;
  
@@ -25,7 +25,7 @@
  
  
    //
-@@ -194,6 +203,7 @@
+@@ -228,6 +237,7 @@
    unsigned char header[2048];
    ::memset( header, 0, 2048 );
  
@@ -33,22 +33,32 @@
    cmd[0] = MMC::GET_CONFIGURATION;
    cmd[8] = 8;
    if( cmd.transport( TR_DIR_READ, header, 8 ) ) {
-@@ -754,6 +764,14 @@
+@@ -820,6 +830,24 @@
      m_bufferSize = 1024;
      d->burnfree = false;
    }
-+  else if( vendor().startsWith("TEAC") && description().startsWith("CD-R56S") ) {
-+    m_writeModes |= TAO;
-+    d->deviceType |= CDROM|CDR;
-+    m_maxWriteSpeed = 6;
-+    m_maxReadSpeed = 24;
-+    m_bufferSize = 1302;
-+    d->burnfree = false;
++  else if( vendor().startsWith("TEAC") ) { 
++    if( description().startsWith("CD-R56S") ) {
++      m_writeModes |= TAO;
++      d->deviceType |= CDROM|CDR;
++      m_maxWriteSpeed = 6;
++      m_maxReadSpeed = 24;
++      m_bufferSize = 1302;
++      d->burnfree = false;
++    }
++    if( description().startsWith("CD-R58S") ) {
++      m_writeModes |= TAO;
++      d->deviceType |= CDROM|CDR;
++      m_maxWriteSpeed = 8;
++      m_maxReadSpeed = 24;
++      m_bufferSize = 4096;
++      d->burnfree = false;
++    }
 +  }
    else if( vendor().startsWith("MATSHITA") ) {
      if( description().startsWith("CD-R   CW-7501") ) {
        m_writeModes = TAO|SAO;
-@@ -2597,10 +2615,12 @@
+@@ -2663,10 +2691,12 @@
  {
    // if the device is already opened we do not close it
    // to allow fast multible method calls in a row
@@ -61,7 +71,7 @@
  
    // header size is 8
    unsigned char* buffer = 0;
-@@ -2686,13 +2706,16 @@
+@@ -2752,13 +2782,16 @@
      delete [] buffer;
    }
      
diff -ruN ../../sysutils/k3b/files/patch-src-device-k3bdevice.h ./files/patch-src-device-k3bdevice.h
--- ../../sysutils/k3b/files/patch-src-device-k3bdevice.h	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bdevice.h	Sun Jan  2 09:44:40 2005
@@ -1,6 +1,6 @@
---- src/device/k3bdevice.h.orig	Thu Jul 29 12:07:16 2004
-+++ src/device/k3bdevice.h	Sun Aug 22 15:28:36 2004
-@@ -677,6 +677,10 @@
+--- src/device/k3bdevice.h.orig	Sun Nov 28 13:27:24 2004
++++ src/device/k3bdevice.h	Sun Jan  2 09:30:08 2005
+@@ -690,6 +690,10 @@
  
      class Private;
      Private* d;
diff -ruN ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp ./files/patch-src-device-k3bdevicemanager.cpp
--- ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bdevicemanager.cpp	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
---- src/device/k3bdevicemanager.cpp.orig	Sat Jul 17 11:50:08 2004
-+++ src/device/k3bdevicemanager.cpp	Sun Aug 22 15:28:36 2004
+--- src/device/k3bdevicemanager.cpp.orig	Sun Nov 28 13:27:24 2004
++++ src/device/k3bdevicemanager.cpp	Sun Jan  2 09:44:09 2005
 @@ -49,6 +49,12 @@
  #include <sys/stat.h>
  #include <sys/ioctl.h>
@@ -27,15 +27,15 @@
    QFile info("/proc/sys/dev/cdrom/info");
    QString line,devstring;
    info.open(IO_ReadOnly);
-@@ -286,6 +299,7 @@
- //       m_foundDevices++;
- //   }
+@@ -269,6 +282,7 @@
+   // FIXME: also scan /dev/scsi/hostX.... for devfs without symlinks
+ #endif
  
 +#endif
    scanFstab();
  
    return m_foundDevices;
-@@ -423,6 +437,7 @@
+@@ -412,6 +426,7 @@
  bool K3bCdDevice::DeviceManager::testForCdrom(const QString& devicename)
  {
    bool ret = false;
@@ -43,7 +43,7 @@
    int cdromfd = K3bCdDevice::openDevice( devicename.ascii() );
    if (cdromfd < 0) {
      kdDebug() << "could not open device " << devicename << " (" << strerror(errno) << ")" << endl;
-@@ -463,11 +478,36 @@
+@@ -452,11 +467,36 @@
    }
  
    ::close( cdromfd );
@@ -80,7 +80,7 @@
    K3bDevice* device = 0;
  
    // resolve all symlinks
-@@ -499,6 +539,7 @@
+@@ -488,6 +528,7 @@
      device->m_target = target;
      device->m_lun = lun;
    }
@@ -88,7 +88,7 @@
  
    if( !device->init() ) {
      kdDebug() << "Could not initialize device " << devicename << endl;
-@@ -574,9 +615,20 @@
+@@ -563,9 +604,20 @@
  
      if( K3bDevice* dev = findDevice( resolveSymLink(md) ) )
      {
@@ -109,7 +109,7 @@
          dev->setMountDevice( md );
  	dev->m_supermount = supermount;
        }
-@@ -585,6 +637,8 @@
+@@ -574,6 +626,8 @@
      {
        // compare bus, id, lun since the same device can for example be
        // determined as /dev/srX or /dev/scdX
@@ -118,7 +118,7 @@
        int bus = -1, id = -1, lun = -1;
        if( determineBusIdLun( mountInfo->fs_spec, bus, id, lun ) ) {
          if( K3bDevice* dev = findDevice( bus, id, lun ) ) {
-@@ -595,6 +649,17 @@
+@@ -584,6 +638,17 @@
            }
          }
        }
@@ -136,7 +136,7 @@
  
  
      }
-@@ -670,5 +735,131 @@
+@@ -659,5 +724,138 @@
    return QString::fromLatin1( resolved );
  }
  
@@ -152,7 +152,7 @@
 +	int need_close = 0;
 +	int skip_device = 0;
 +	int bus, target, lun;
-+	QString dev1, dev2;
++	QString dev1 = "", dev2 = "";
 +
 +	if ((fd = open(XPT_DEVICE, O_RDWR)) == -1) 
 +	{
@@ -205,15 +205,19 @@
 +#if __FreeBSD_version < 500100
 +					dev += "c";
 +#endif
-+
-+					K3bDevice* device = new K3bDevice(dev.latin1());
-+					device->m_bus = bus;
-+					device->m_target = target;
-+					device->m_lun = lun;
-+					device->m_passDevice = "/dev/" + pass;
-+					kdDebug() << "(bsd_scan_devices) add device " << dev << ":" << bus << ":" << target << ":" << lun << endl;
-+					addDevice(device);
++					if (dev1 != "" && dev2 != "")
++					{
++						K3bDevice* device = new K3bDevice(dev.latin1());
++						device->m_bus = bus;
++						device->m_target = target;
++						device->m_lun = lun;
++						device->m_passDevice = "/dev/" + pass;
++						kdDebug() << "(bsd_scan_devices) add device " << dev << ":" << bus << ":" << target << ":" << lun << endl;
++						addDevice(device);
++					}
 +					need_close = 0;
++					dev1="";
++					dev2="";
 +				}
 +				bus = dev_result->path_id;
 +				target = dev_result->target_id;
@@ -255,13 +259,16 @@
 +#if __FreeBSD_version < 500100
 +					dev += "c";
 +#endif
-+					K3bDevice* device = new K3bDevice(dev.latin1());
-+					device->m_bus = bus;
-+					device->m_target = target;
-+					device->m_lun = lun;
-+					device->m_passDevice = "/dev/" + pass;
-+					kdDebug() << "(bsd_scan_devices) add device " << dev << ":" << bus << ":" << target << ":" << lun << endl;
-+					addDevice(device);
++					if (dev1 != "" && dev2 != "")
++					{
++						K3bDevice* device = new K3bDevice(dev.latin1());
++						device->m_bus = bus;
++						device->m_target = target;
++						device->m_lun = lun;
++						device->m_passDevice = "/dev/" + pass;
++						kdDebug() << "(bsd_scan_devices) add device " << dev << ":" << bus << ":" << target << ":" << lun << endl;
++						addDevice(device);
++					}
 +	}
 +	close(fd);
 +}
diff -ruN ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.h ./files/patch-src-device-k3bdevicemanager.h
--- ../../sysutils/k3b/files/patch-src-device-k3bdevicemanager.h	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bdevicemanager.h	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
 --- src/device/k3bdevicemanager.h.orig	Wed Jan 21 11:20:11 2004
-+++ src/device/k3bdevicemanager.h	Sun Aug 22 15:28:36 2004
++++ src/device/k3bdevicemanager.h	Sun Jan  2 09:30:08 2005
 @@ -112,6 +112,10 @@
  
        class Private;
diff -ruN ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp ./files/patch-src-device-k3bscsicommand.cpp
--- ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bscsicommand.cpp	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
---- src/device/k3bscsicommand.cpp.orig	Wed Jan 21 11:20:11 2004
-+++ src/device/k3bscsicommand.cpp	Sun Aug 22 15:28:36 2004
+--- src/device/k3bscsicommand.cpp.orig	Sun Aug 15 11:58:23 2004
++++ src/device/k3bscsicommand.cpp	Sun Jan  2 09:30:08 2005
 @@ -58,13 +58,14 @@
  
  
@@ -21,7 +21,7 @@
  
  K3bCdDevice::ScsiCommand::ScsiCommand( const K3bCdDevice::CdDevice* dev )
    : m_device(dev)
-@@ -135,6 +136,155 @@
+@@ -141,6 +142,155 @@
      return 0;
  }
  
diff -ruN ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.h ./files/patch-src-device-k3bscsicommand.h
--- ../../sysutils/k3b/files/patch-src-device-k3bscsicommand.h	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-device-k3bscsicommand.h	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
 --- src/device/k3bscsicommand.h.orig	Wed Jan 21 11:20:11 2004
-+++ src/device/k3bscsicommand.h	Sun Aug 22 15:28:36 2004
++++ src/device/k3bscsicommand.h	Sun Jan  2 09:30:08 2005
 @@ -17,9 +17,27 @@
  #define _K3B_SCSI_COMMAND_H_
  
diff -ruN ../../sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp ./files/patch-src-rip-k3bdvdrippingprocess.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3bdvdrippingprocess.cpp	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
 --- src/rip/k3bdvdrippingprocess.cpp.orig	Wed Jun  2 11:31:41 2004
-+++ src/rip/k3bdvdrippingprocess.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3bdvdrippingprocess.cpp	Sun Jan  2 09:30:08 2005
 @@ -285,10 +285,13 @@
  void K3bDvdRippingProcess::slotPreProcessingDvd() {
      QString video;
diff -ruN ../../sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp ./files/patch-src-rip-k3bmovieview.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3bmovieview.cpp	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
 --- src/rip/k3bmovieview.cpp.orig	Fri Feb  6 12:08:51 2004
-+++ src/rip/k3bmovieview.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3bmovieview.cpp	Sun Jan  2 09:30:08 2005
 @@ -223,8 +223,11 @@
      }
  
diff -ruN ../../sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp ./files/patch-src-rip-k3btcwrapper.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3btcwrapper.cpp	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
 --- src/rip/k3btcwrapper.cpp.orig	Wed Jan 21 11:20:20 2004
-+++ src/rip/k3btcwrapper.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3btcwrapper.cpp	Sun Jan  2 09:30:08 2005
 @@ -65,7 +65,12 @@
    //K3bProcess *p = new K3bProcess();
    emit tcprobeTitleParsed( m_currentTitle );
diff -ruN ../../sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp ./files/patch-src-rip-k3bvideocdrip.cpp
--- ../../sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp	Fri Sep 17 11:30:56 2004
+++ ./files/patch-src-rip-k3bvideocdrip.cpp	Sun Jan  2 09:44:40 2005
@@ -1,5 +1,5 @@
 --- src/rip/k3bvideocdrip.cpp.orig	Wed Jan 21 11:20:20 2004
-+++ src/rip/k3bvideocdrip.cpp	Sun Aug 22 15:28:36 2004
++++ src/rip/k3bvideocdrip.cpp	Sun Jan  2 09:30:08 2005
 @@ -41,7 +41,8 @@
          m_ripsourceType( 0 ),
          m_videooptions( options ),
diff -ruN ../../sysutils/k3b/pkg-message ./pkg-message
--- ../../sysutils/k3b/pkg-message	Tue Jul 20 03:19:57 2004
+++ ./pkg-message	Sat Jan  1 11:58:33 2005
@@ -1,10 +1,10 @@
-Notes:
+Notes for FreeBSD 4.x users:
 1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
    drives, use them through the cam system. See Chapter 12.5.9 of the handbook
    (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
 2. Your CD and DVD drives must have a mount point in /etc/fstab. They have
    to be accessed through their atapicam device if possible. I.e. the drives
-   have to be adressed by e.g. /dev/cd0c instead of /dev/acd0c (/dev/cd0 on FreeBSD 5.x).
+   have to be adressed by e.g. /dev/cd0c instead of /dev/acd0c.
 3. k3b has to be started from a root console, which is not recommended.
    Alternatively do ALL of the following:
 3a. set the suid flag on cdrecord and cdrdao. The 'Notes' the chapter of
@@ -16,31 +16,32 @@
         /dev/cd0c  /usr/home/XXX/cdrom  cd9660  ro,noauto,nodev,nosuid  0  0
       Furthermore allow user mounts as described in topic 9.22 of the FAQ:
       http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
-      Note: If you are using FreeBSD 5.x you might want to edit your /etc/devfs.conf.
-      See http://sig9.com/archive/articles/HOWTO-mount-fs.html for details.
     - or just give mount and umount the suid flag, which is a security leak.
-3c. - Every user who should be able to use k3b must have read and write access
-      to all pass through devices connected with CD and DVD drives and to the /dev/xpt0 
-      device. Run 'camcontrol devlist' to identify those devices (seek string 'passX'
-      at the end of each line and modify the rights of /dev/passX). Note, that
-      this is a security leak as well but that there is no alternative!
-4. Create a directory on a partition, which has enough disk space to hold a CDs
+3c. Every user who should be able to use k3b must have read and write access
+    to all pass through devices connected with CD and DVD drives and to the 
+    /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek 
+    string 'passX' at the end of each line and modify the rights of /dev/passX). 
+    Note, that this is a security leak as well but that there is no alternative!
+4. Check, that dma is activated for atapi devices: 'sysctl hw.ata.atapi_dma'
+   If not, set it to 1 and put a 'hw.ata.atapi_dma=1' into /boot/loader.conf   
+5. Create a directory on a partition, which has enough disk space to hold a CDs
    or DVDs content (usually below /usr). Enter this directory in Settings->
    Configure K3b...->Misc.
-5. You should set the cdrdao driver manually. Otherwise the disk info might
-   fail or lock a while. To do so choose Settings->Configure K3b...->Devices. 
-   Below the CD recorder click on the string "auto" behind "Cdrdao driver:" 
-   For most of the recent drives "generic-mmc" or "generic-mmc-raw" should 
-   work. See http://cdrdao.sourceforge.net/drives.html.
-6. To burn video CDs install the port multimedia/vcdimager.
-7. To rip DVDs additionally install the ports multimedia/transcode,
+6. If you experience problems while burning CDs, try to set the cdrdao driver 
+   manually. To do so choose Settings->Configure K3b...->Devices. Below the CD 
+   recorder click on the string "auto" behind "Cdrdao driver:" For most of the 
+   recent drives "generic-mmc" or "generic-mmc-raw" should work. 
+   See http://cdrdao.sourceforge.net/drives.html.
+7. To burn video CDs install the port multimedia/vcdimager.
+8. To rip DVDs additionally install the ports multimedia/transcode,
    multimedia/libdvdread and multimedia/xvid. Note that k3b does NOT work with
-   transcode 0.6.12. 0.6.10 is the last known working version. The ripping process
-   itself is described in http://k3b.sourceforge.net/cgi-bin/index.pl/videoencoding.
-8. To burn bootable video CDs, install the port multimedia/emovix.
-9. To burn DVDs, install the port sysutils/dvd+rw-tools.
-10. To normalize the volumes of audio cds, install the port audio/normalize.
-11. To rip into more audio formats, install the port audio/sox.
+   transcode 0.6.12. 0.6.10 is the last known working version. The ripping 
+   process itself is described in 
+   http://k3b.plainblack.com/index.pl/videoencoding.
+9. To burn bootable video CDs, install the port multimedia/emovix.
+10. To burn DVDs, install the port sysutils/dvd+rw-tools.
+11. To normalize the volumes of audio cds, install the port audio/normalize.
+12. To rip into more audio formats, install the port audio/sox.
 
 UPGRADERS FROM 0.11.6 OR BELOW SHOULD NOTE THE CHANGED TOPIC 3C!!!
 
diff -ruN ../../sysutils/k3b/pkg-message5 ./pkg-message5
--- ../../sysutils/k3b/pkg-message5	Thu Jan  1 01:00:00 1970
+++ ./pkg-message5	Sat Jan  1 12:02:30 2005
@@ -0,0 +1,56 @@
+Notes for FreeBSD 5.x users:
+1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
+   drives, use them through the cam system. See Chapter 12.5.9 of the handbook
+   (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
+2. Your CD and DVD drives must have a mount point in /etc/fstab. They have
+   to be accessed through their atapicam device if possible. I.e. the drives
+   have to be adressed by e.g. /dev/cd0 instead of /dev/acd0.
+3. k3b has to be started from a root console, which is not recommended.
+   Alternatively do ALL of the following:
+3a. set the suid flag on cdrecord and cdrdao. The 'Notes' the chapter of
+    'man cdrecord' discusses this.
+3b. - For every user who should be able to use k3b and for every CD or DVD
+      device add a directory in the users home directory. These directories
+      must be owned by the corresponding user. For each such directory add a
+      line in /ect/fstab (see remark 2), like:
+        /dev/cd0c  /usr/home/XXX/cdrom  cd9660  ro,noauto,nodev,nosuid  0  0
+      Furthermore allow user mounts as described in topic 9.22 of the FAQ:
+      http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
+      To make the chmod's to /dev/cdX permanent, do the following:
+        * add 'devd_enable="YES"' to /etc/rc.conf
+        * add a 'perm cdX 666' to /etc/devfs.conf for each cd/dvd device. X 
+          is the device number. If you prefer allow access for a group only, 
+          add a 'perm cdX 660' instead, followed by a own 'cdX root:XXX' 
+          where XXX is the group name.          
+    - or just give mount and umount the suid flag, which is a security leak.
+3c. Every user who should be able to use k3b must have read and write access
+    to all pass through devices connected with CD and DVD drives and to the 
+    /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek 
+    string 'passX' at the end of each line and modify the rights of 
+    /dev/passX). Note, that this is a security leak as well but that there is 
+    no alternative! To make this changes permanent, add 'devd_enable="YES"' 
+    to /etc/rc.conf as described above. Furthermore add a 'perm passX 666' 
+    for each pass device and a 'perm xpt0 666'. If you prefer to bind the 
+    access rights to a group, use the own command as described above.
+4. Check, that dma is activated for atapi devices: 'sysctl hw.ata.atapi_dma'
+   If not, set it to 1 and put a 'hw.ata.atapi_dma=1' into /boot/loader.conf   
+5. Create a directory on a partition, which has enough disk space to hold a CDs
+   or DVDs content (usually below /usr). Enter this directory in Settings->
+   Configure K3b...->Misc.
+6. If you experience problems while burning CDs, try to set the cdrdao driver 
+   manually. To do so choose Settings->Configure K3b...->Devices. Below the CD 
+   recorder click on the string "auto" behind "Cdrdao driver:" For most of the 
+   recent drives "generic-mmc" or "generic-mmc-raw" should work. 
+   See http://cdrdao.sourceforge.net/drives.html.
+7. To burn video CDs install the port multimedia/vcdimager.
+8. To rip DVDs additionally install the ports multimedia/transcode,
+   multimedia/libdvdread and multimedia/xvid. Note that k3b does NOT work with
+   transcode 0.6.12. 0.6.10 is the last known working version. The ripping 
+   process itself is described in 
+   http://k3b.plainblack.com/index.pl/videoencoding.
+9. To burn bootable video CDs, install the port multimedia/emovix.
+10. To burn DVDs, install the port sysutils/dvd+rw-tools.
+11. To normalize the volumes of audio cds, install the port audio/normalize.
+12. To rip into more audio formats, install the port audio/sox.
+
+To read this instructions again, type 'make showinfo' in the k3b port directory

--Boundary-00=_cqP4BzpwJNw0KwG--
>Release-Note:
>Audit-Trail:
>Unformatted:
 --Boundary-00=_cqP4BzpwJNw0KwG
 Content-Type: text/plain;
   charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 X-send-pr-version: send-pr 3.113
 X-GNATS-Notify:
 
 



More information about the freebsd-ports-bugs mailing list