Update DigiKam to 7.8.0

- Enable VideoSlideShow plugin
- Use system mysql aka. mariadb instead of internal mysql-server
This commit is contained in:
rsadowski 2022-09-03 20:09:59 +00:00
parent 9be5d24900
commit a8e57d653c
4 changed files with 22 additions and 14 deletions

View File

@ -6,7 +6,7 @@ USE_WXNEEDED = Yes
COMMENT = KDE digital photo and video management utility
V = 7.7.0
V = 7.8.0
PKGNAME = digikam-${V}
DISTNAME = digiKam-${V}
CATEGORIES = graphics
@ -15,8 +15,8 @@ HOMEPAGE = https://www.digikam.org/
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
SHARED_LIBS += digikamcore 4.0 # 7.3
SHARED_LIBS += digikamdatabase 5.0 # 7.3
SHARED_LIBS += digikamcore 5.0 # 7.3
SHARED_LIBS += digikamdatabase 6.0 # 7.3
SHARED_LIBS += digikamgui 4.0 # 7.3
# LGPL, GPL and many others
@ -36,11 +36,14 @@ WANTLIB += Qt5Positioning Qt5PrintSupport Qt5Qml Qt5QmlModels
WANTLIB += Qt5Quick Qt5Sql Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets
WANTLIB += Qt5Widgets Qt5X11Extras Qt5Xml Qt5XmlPatterns SM X11
WANTLIB += Xext avcodec avdevice avfilter avformat avutil c exiv2
WANTLIB += expat exslt glib-2.0 gphoto2 gphoto2_port intl jasper
WANTLIB += jpeg lcms2 lensfun lqr-1 m marblewidget-qt5 opencv_calib3d
WANTLIB += opencv_core opencv_dnn opencv_features2d opencv_flann
WANTLIB += opencv_imgcodecs opencv_imgproc opencv_ml opencv_objdetect
WANTLIB += png swscale tiff usb-1.0 x265 xml2 xslt z
WANTLIB += expat exslt glib-2.0 gphoto2 gphoto2_port heif intl
WANTLIB += jasper jpeg lcms2 lensfun lqr-1 m marblewidget-qt5
WANTLIB += opencv_calib3d opencv_core opencv_dnn opencv_features2d
WANTLIB += opencv_flann opencv_imgcodecs opencv_imgproc opencv_ml
WANTLIB += opencv_objdetect png swscale tiff usb-1.0 x265 xml2
WANTLIB += xslt z
WANTLIB += lib/qt5/QtAV lib/qt5/QtAVWidgets
MASTER_SITES = ${MASTER_SITE_KDE:=stable/digikam/${V}/}
@ -56,13 +59,11 @@ BUILD_DEPENDS = devel/bison \
devel/kf5/kdoctools \
math/eigen3 \
misc/shared-desktop-ontologies \
multimedia/qtav \
x11/qt5/qtwebview
RUN_DEPENDS = databases/sqlite3 \
devel/desktop-file-utils \
devel/kf5/kdoctools \
multimedia/qtav \
x11/gtk+3,-guic \
x11/qt5/qtwebview
@ -98,6 +99,7 @@ LIB_DEPENDS = devel/kf5/kauth \
graphics/opencv \
graphics/png \
graphics/tiff \
multimedia/qtav \
multimedia/x265 \
x11/kde-applications/akonadi \
x11/kde-applications/akonadi-contacts \
@ -113,12 +115,17 @@ LIB_DEPENDS = devel/kf5/kauth \
WRKDIST = ${WRKDIR}/${PKGNAME}
CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON \
-DENABLE_QWEBENGINE=ON
-DENABLE_KFILEMETADATASUPPORT=ON \
-DENABLE_AKONADICONTACTSUPPORT=ON \
-DENABLE_INTERNALMYSQL=OFF \
-DENABLE_MEDIAPLAYER=ON
.if ${FLAVOR:Mmysql}
BUILD_DEPENDS += databases/mariadb
RUN_DEPENDS += databases/mariadb
CONFIGURE_ARGS += -DENABLE_MYSQLSUPPORT=ON
.else
CONFIGURE_ARGS += -DENABLE_MYSQLSUPPORT=OFF
.endif
# XXX W^X binary outside wxallowed

View File

@ -1,2 +1,2 @@
SHA256 (digiKam-7.7.0.tar.xz) = wMbdLqigdRSsvyRi86VFGOfoCZszN/iBM2Foz/Y9dxw=
SIZE (digiKam-7.7.0.tar.xz) = 351915336
SHA256 (digiKam-7.8.0.tar.xz) = sIV3sLFe+ZhDaVcIqiwOmNVHMD2Fvio7OZBUhPLKts4=
SIZE (digiKam-7.8.0.tar.xz) = 345431764

View File

@ -23,7 +23,7 @@ Index: core/libs/rawengine/libraw/src/decoders/fp_dng.cpp
for (int i = 0; i < len / 4; i++)
@@ -639,9 +639,9 @@ void LibRaw::uncompressed_fp_dng_load_raw()
if (bytesps == 2 && difford)
swab((char *)dst, (char *)dst, fullrowbytes);
libraw_swab(dst, fullrowbytes);
else if (bytesps == 3 && (libraw_internal_data.unpacker_data.order == 0x4949)) // II-16bit
- swap24(dst, fullrowbytes);
+ _swap24(dst, fullrowbytes);

View File

@ -252,6 +252,7 @@ lib/qt5/plugins/digikam/generic/
@so lib/qt5/plugins/digikam/generic/Generic_SmugMug_Plugin.so
@so lib/qt5/plugins/digikam/generic/Generic_TimeAdjust_Plugin.so
@so lib/qt5/plugins/digikam/generic/Generic_Twitter_Plugin.so
@so lib/qt5/plugins/digikam/generic/Generic_VideoSlideShow_Plugin.so
@so lib/qt5/plugins/digikam/generic/Generic_Wallpaper_Plugin.so
@so lib/qt5/plugins/digikam/generic/Generic_iNaturalist_Plugin.so
lib/qt5/plugins/digikam/rawimport/