Hi,

This is an essential option in the cmake of digikam that isn't exposed in port config.
Default is "on", see patch.

The reason why I look into this is that it seems like thumbnails are broken with both mysql and sqlite backends, see PR:
https://bugs.kde.org/show_bug.cgi?id=302663

This should be fixed, but in any case ENABLE_THUMBS_DB option is good to have (as a potential workaround and in general).

Thanks,
Yuri



=== begin patch ===
--- Makefile.orig       2012-06-28 12:15:51.000000000 -0700
+++ Makefile    2012-06-28 12:24:43.000000000 -0700
@@ -27,11 +27,12 @@

 LATEST_LINK=   ${PORTNAME}-kde4

-OPTIONS_DEFINE=                NLS GPHOTO2 PIMLIBS MYSQL
-OPTIONS_DEFAULT=       GPHOTO2 PIMLIBS
+OPTIONS_DEFINE=                NLS GPHOTO2 PIMLIBS MYSQL THUMBSDB
+OPTIONS_DEFAULT=       GPHOTO2 PIMLIBS THUMBSDB

 GPHOTO2_DESC=          Enable gphoto2 camera support
 PIMLIBS_DESC=          Enable address book support
+THUMBSDB_DESC= Enable thumbs DB, high disk consumption and slow otherwise

 MAKE_JOBS_SAFE=        yes
 USE_BZIP2=     yes
@@ -68,6 +69,12 @@
 CMAKE_ARGS+=   -DWITH_KdepimLibs:BOOL=OFF
 .endif

+.if ${PORT_OPTIONS:MTHUMBSDB}
+CMAKE_ARGS+=   -DENABLE_THUMBS_DB=on
+.else
+CMAKE_ARGS+=   -DENABLE_THUMBS_DB=off
+.endif
+
 .if ${PORT_OPTIONS:MMYSQL}
 USE_MYSQL=     server
 USE_QT4+=      sql-mysql_run
===end patch===
_______________________________________________
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

Reply via email to