pkgsrc/multimedia/kaffeine/patches/patch-ad
xtraeme 5b4483984d Initial import of kaffeine-0.8.3.
kaffeine is a xine-based multimedia player for KDE.

* Full Drag and Drop support
* Import Noatun-playlists as well as M3U, ASX and PLS-Files
* Editable Playlist
* Export Playlist to HTML or PDF (KDE-Print)
* Edit Xine-Options via GUI
* Support for saving screenshots as PNG, BMP or XBM
* The ability to prevent the screensaver from activating OSD Titles

Thanks to joerg for helping me fixing a build error.
2006-12-06 18:30:11 +00:00

23 lines
1 KiB
Text

$NetBSD: patch-ad,v 1.1.1.1 2006/12/06 18:30:11 xtraeme Exp $
--- kaffeine/src/instwizard.cpp.orig 2006-12-06 18:36:17.000000000 +0100
+++ kaffeine/src/instwizard.cpp 2006-12-06 18:37:58.000000000 +0100
@@ -149,9 +149,9 @@
connect(&process, SIGNAL(receivedStdout(KProcess*,char*,int)), this, SLOT(slotStdout(KProcess*, char*, int)));
process.start(KProcess::Block, KProcess::Stdout);
- if (stdout.contains('1'))
+ if (stdout_local.contains('1'))
info << "<font color=\"DarkGreen\">" << i18n("Ok.") << "</font>";
- else if (stdout.contains('0'))
+ else if (stdout_local.contains('0'))
info << "<font color=\"DarkRed\">" << i18n("DMA mode off! For smooth DVD playback run as root:") + " \"hdparm -d1 /dev/dvd\".</font>";
else
info << "<font color=\"DarkBlue\">" << i18n("Can't check DMA mode. Permission denied or no such device:")
@@ -274,5 +274,5 @@
{
QString output = QString::fromLatin1(buffer, buflen);
kdDebug() << "WizardDialog: got from hdparm: " << output << "\n";
- stdout.append(output);
+ stdout_local.append(output);
}