Hello New digikam-2.6.0 fails to start with "Too many open files" error in console and corresponding system message. It seems that it is this bug https://bugs.kde.org/show_bug.cgi?id=289330 on FreeBSD.
The solution for MAC helps on FreeBSD too. The patch is attached. Thanks -- Oleg Sidorkin
--- ./digikam/album/albumwatch.cpp.orig 2012-06-05 00:38:56.000000000 +0400 +++ ./digikam/album/albumwatch.cpp 2012-06-12 21:44:22.881090205 +0400 @@ -218,11 +218,11 @@ // On OS X, file watch is broken in the OS and thus in Qt. // Fixing is beyond our scope. See bug #289330. // Disable file watch for OS X and hope for future improvements - #ifdef Q_WS_MAC +// #ifdef Q_WS_MAC d->dirWatch->addDir(dir, KDirWatch::WatchDirOnly); - #else - d->dirWatch->addDir(dir, KDirWatch::WatchFiles | KDirWatch::WatchDirOnly); - #endif +// #else +// d->dirWatch->addDir(dir, KDirWatch::WatchFiles | KDirWatch::WatchDirOnly); +// #endif } } }
_______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information