diff options
Diffstat (limited to 'sysutils')
30 files changed, 328 insertions, 174 deletions
diff --git a/sysutils/k3b-kde4/Makefile b/sysutils/k3b-kde4/Makefile index 2ea59b459adc..a1bd0ceaf29f 100644 --- a/sysutils/k3b-kde4/Makefile +++ b/sysutils/k3b-kde4/Makefile @@ -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 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= h.eichmann@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 @@ post-install: 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 --git a/sysutils/k3b-kde4/distinfo b/sysutils/k3b-kde4/distinfo index 8866f13858e5..31ca61b21c86 100644 --- a/sysutils/k3b-kde4/distinfo +++ b/sysutils/k3b-kde4/distinfo @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-Makefile.in b/sysutils/k3b-kde4/files/patch-src-Makefile.in index cad7cb52ecb7..c3077fada020 100644 --- a/sysutils/k3b-kde4/files/patch-src-Makefile.in +++ b/sysutils/k3b-kde4/files/patch-src-Makefile.in @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.cpp b/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.cpp index 024a3a2db2c5..b4af3c1a7620 100644 --- a/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.cpp +++ b/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.cpp @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.h b/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.h index 557d0e871f44..9ac0e33764ed 100644 --- a/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.h +++ b/sysutils/k3b-kde4/files/patch-src-device-k3bdevice.h @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.cpp b/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.cpp index a839f7e2a930..f99aa0b15d55 100644 --- a/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.cpp +++ b/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.cpp @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h b/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h index 4f9acc5a36dc..7e776226bb86 100644 --- a/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h +++ b/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.cpp b/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.cpp index e2162c1bcf7c..5a5f1a442391 100644 --- a/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.cpp +++ b/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.cpp @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.h b/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.h index f0e12a23295b..3c4a17c90648 100644 --- a/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.h +++ b/sysutils/k3b-kde4/files/patch-src-device-k3bscsicommand.h @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-rip-k3bdvdrippingprocess.cpp b/sysutils/k3b-kde4/files/patch-src-rip-k3bdvdrippingprocess.cpp index feaa2ecc86a4..ce6fbcb63c4a 100644 --- a/sysutils/k3b-kde4/files/patch-src-rip-k3bdvdrippingprocess.cpp +++ b/sysutils/k3b-kde4/files/patch-src-rip-k3bdvdrippingprocess.cpp @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-rip-k3bmovieview.cpp b/sysutils/k3b-kde4/files/patch-src-rip-k3bmovieview.cpp index 9757b9bb7916..915d1ae51a1a 100644 --- a/sysutils/k3b-kde4/files/patch-src-rip-k3bmovieview.cpp +++ b/sysutils/k3b-kde4/files/patch-src-rip-k3bmovieview.cpp @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-rip-k3btcwrapper.cpp b/sysutils/k3b-kde4/files/patch-src-rip-k3btcwrapper.cpp index 496f7cf4c8c2..38024980ea3d 100644 --- a/sysutils/k3b-kde4/files/patch-src-rip-k3btcwrapper.cpp +++ b/sysutils/k3b-kde4/files/patch-src-rip-k3btcwrapper.cpp @@ -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 --git a/sysutils/k3b-kde4/files/patch-src-rip-k3bvideocdrip.cpp b/sysutils/k3b-kde4/files/patch-src-rip-k3bvideocdrip.cpp index f08184166c66..6e9fe5ad3223 100644 --- a/sysutils/k3b-kde4/files/patch-src-rip-k3bvideocdrip.cpp +++ b/sysutils/k3b-kde4/files/patch-src-rip-k3bvideocdrip.cpp @@ -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 --git a/sysutils/k3b-kde4/pkg-message b/sysutils/k3b-kde4/pkg-message index 634f308ad372..3a8fd669cceb 100644 --- a/sysutils/k3b-kde4/pkg-message +++ b/sysutils/k3b-kde4/pkg-message @@ -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 @@ Notes: /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 --git a/sysutils/k3b-kde4/pkg-message5 b/sysutils/k3b-kde4/pkg-message5 new file mode 100644 index 000000000000..9007f34d1644 --- /dev/null +++ b/sysutils/k3b-kde4/pkg-message5 @@ -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 diff --git a/sysutils/k3b/Makefile b/sysutils/k3b/Makefile index 2ea59b459adc..a1bd0ceaf29f 100644 --- a/sysutils/k3b/Makefile +++ b/sysutils/k3b/Makefile @@ -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 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= h.eichmann@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 @@ post-install: 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 --git a/sysutils/k3b/distinfo b/sysutils/k3b/distinfo index 8866f13858e5..31ca61b21c86 100644 --- a/sysutils/k3b/distinfo +++ b/sysutils/k3b/distinfo @@ -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 --git a/sysutils/k3b/files/patch-src-Makefile.in b/sysutils/k3b/files/patch-src-Makefile.in index cad7cb52ecb7..c3077fada020 100644 --- a/sysutils/k3b/files/patch-src-Makefile.in +++ b/sysutils/k3b/files/patch-src-Makefile.in @@ -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 --git a/sysutils/k3b/files/patch-src-device-k3bdevice.cpp b/sysutils/k3b/files/patch-src-device-k3bdevice.cpp index 024a3a2db2c5..b4af3c1a7620 100644 --- a/sysutils/k3b/files/patch-src-device-k3bdevice.cpp +++ b/sysutils/k3b/files/patch-src-device-k3bdevice.cpp @@ -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 --git a/sysutils/k3b/files/patch-src-device-k3bdevice.h b/sysutils/k3b/files/patch-src-device-k3bdevice.h index 557d0e871f44..9ac0e33764ed 100644 --- a/sysutils/k3b/files/patch-src-device-k3bdevice.h +++ b/sysutils/k3b/files/patch-src-device-k3bdevice.h @@ -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 --git a/sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp b/sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp index a839f7e2a930..f99aa0b15d55 100644 --- a/sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp +++ b/sysutils/k3b/files/patch-src-device-k3bdevicemanager.cpp @@ -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 --git a/sysutils/k3b/files/patch-src-device-k3bdevicemanager.h b/sysutils/k3b/files/patch-src-device-k3bdevicemanager.h index 4f9acc5a36dc..7e776226bb86 100644 --- a/sysutils/k3b/files/patch-src-device-k3bdevicemanager.h +++ b/sysutils/k3b/files/patch-src-device-k3bdevicemanager.h @@ -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 --git a/sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp b/sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp index e2162c1bcf7c..5a5f1a442391 100644 --- a/sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp +++ b/sysutils/k3b/files/patch-src-device-k3bscsicommand.cpp @@ -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 --git a/sysutils/k3b/files/patch-src-device-k3bscsicommand.h b/sysutils/k3b/files/patch-src-device-k3bscsicommand.h index f0e12a23295b..3c4a17c90648 100644 --- a/sysutils/k3b/files/patch-src-device-k3bscsicommand.h +++ b/sysutils/k3b/files/patch-src-device-k3bscsicommand.h @@ -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 --git a/sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp b/sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp index feaa2ecc86a4..ce6fbcb63c4a 100644 --- a/sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp +++ b/sysutils/k3b/files/patch-src-rip-k3bdvdrippingprocess.cpp @@ -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 --git a/sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp b/sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp index 9757b9bb7916..915d1ae51a1a 100644 --- a/sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp +++ b/sysutils/k3b/files/patch-src-rip-k3bmovieview.cpp @@ -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 --git a/sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp b/sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp index 496f7cf4c8c2..38024980ea3d 100644 --- a/sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp +++ b/sysutils/k3b/files/patch-src-rip-k3btcwrapper.cpp @@ -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 --git a/sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp b/sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp index f08184166c66..6e9fe5ad3223 100644 --- a/sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp +++ b/sysutils/k3b/files/patch-src-rip-k3bvideocdrip.cpp @@ -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 --git a/sysutils/k3b/pkg-message b/sysutils/k3b/pkg-message index 634f308ad372..3a8fd669cceb 100644 --- a/sysutils/k3b/pkg-message +++ b/sysutils/k3b/pkg-message @@ -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 @@ Notes: /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 --git a/sysutils/k3b/pkg-message5 b/sysutils/k3b/pkg-message5 new file mode 100644 index 000000000000..9007f34d1644 --- /dev/null +++ b/sysutils/k3b/pkg-message5 @@ -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 |