summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormarkd <markd>2013-05-23 11:18:25 +0000
committermarkd <markd>2013-05-23 11:18:25 +0000
commit6f9749b2a24635ed0d407f5244b4f019b6806785 (patch)
tree186f58a21b89b44ae049dbcd618fecfd06a5ec96 /graphics
parent47513971c5df61bbec9a8feec70b9c4d6de566f4 (diff)
downloadpkgsrc-6f9749b2a24635ed0d407f5244b4f019b6806785.tar.gz
Don't watch individual files on NetBSD - runs out of file descriptors.
Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/digikam/Makefile3
-rw-r--r--graphics/digikam/distinfo3
-rw-r--r--graphics/digikam/patches/patch-core_digikam_album_albumwatch.cpp15
3 files changed, 19 insertions, 2 deletions
diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile
index 69d2c673056..1de6e54a2ec 100644
--- a/graphics/digikam/Makefile
+++ b/graphics/digikam/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.97 2013/05/21 13:04:09 markd Exp $
+# $NetBSD: Makefile,v 1.98 2013/05/23 11:18:25 markd Exp $
#
DISTNAME= digikam-3.2.0
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_KDE:=digikam/}
EXTRACT_SUFX= .tar.bz2
diff --git a/graphics/digikam/distinfo b/graphics/digikam/distinfo
index c5f58f81e8e..7660ca8586e 100644
--- a/graphics/digikam/distinfo
+++ b/graphics/digikam/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.41 2013/05/21 13:04:09 markd Exp $
+$NetBSD: distinfo,v 1.42 2013/05/23 11:18:25 markd Exp $
SHA1 (digikam-3.2.0.tar.bz2) = 666f1d937dc033ddb880aed8a32e7943113d973f
RMD160 (digikam-3.2.0.tar.bz2) = 9bec9eff889a9bf90e898ad52dfb1cfd50d1d548
Size (digikam-3.2.0.tar.bz2) = 58449068 bytes
SHA1 (patch-CMakeLists.txt) = 83bdf0398c3a4120ce6dc83d205ca32c50229ff2
SHA1 (patch-bootstrap.local) = 9164d0d162b4d8333961ee653f4c416dbdd530c9
+SHA1 (patch-core_digikam_album_albumwatch.cpp) = cf80a12fef5c998efcad1fd5dcb5df3a0e4e5ae0
SHA1 (patch-core_libs_3rdparty_kmemoryinfo_kmemoryinfo_backend.cpp) = d98ddf66a7d95868e4efa0f03935097f2e8a7795
SHA1 (patch-core_libs_dimg_filters_icc_iccmanager.h) = 999bd32312fbe840913a8d29613b351384061b65
SHA1 (patch-doc_CMakeLists.txt) = 5b4ba1daa49607b8773c3903d953e11bebc4d661
diff --git a/graphics/digikam/patches/patch-core_digikam_album_albumwatch.cpp b/graphics/digikam/patches/patch-core_digikam_album_albumwatch.cpp
new file mode 100644
index 00000000000..e73f5cdaad2
--- /dev/null
+++ b/graphics/digikam/patches/patch-core_digikam_album_albumwatch.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-core_digikam_album_albumwatch.cpp,v 1.1 2013/05/23 11:18:26 markd Exp $
+
+Don't watch individual files on NetBSD - runs out of file descriptors
+
+--- core/digikam/album/albumwatch.cpp.orig 2013-05-13 07:51:25.000000000 +0000
++++ core/digikam/album/albumwatch.cpp
+@@ -278,7 +278,7 @@ void AlbumWatch::slotAlbumAdded(Album* a
+ // Disable file watch for OS X and Windows and hope for future
+ // improvement (possibly with the improvements planned for
+ // QFileSystemWatcher in Qt 5.1)
+-#if defined(Q_WS_MAC) || defined(Q_WS_WIN)
++#if defined(Q_WS_MAC) || defined(Q_WS_WIN) || defined(Q_OS_NETBSD)
+ d->dirWatch->addDir(dir, KDirWatch::WatchDirOnly);
+ #else
+ d->dirWatch->addDir(dir, KDirWatch::WatchFiles | KDirWatch::WatchDirOnly);