mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
graphics/darktable: various build fixes for 3.6.0
- add missing LIB_DEPENDS on print/harfbuzz and devel/icu, found missing by: make stage-qa - make pkg-plist complete, misses some files, found missing by: make check-plist - disable LTO option for now (OPTIONS_EXCLUDE=LTO), since the workaround for cmake 3.21 regressions around static libraries (which darktable uses) is USES=cmake:noninja - but the RawSpeed library embedded into darktable requires ninja for LTO builds. Approved by: Jean-Sébastien Pédron (dumbbell@, maintainer)
This commit is contained in:
parent
d3819ce6a3
commit
d8e040b643
@ -22,6 +22,8 @@ LIB_DEPENDS= libcolord-gtk.so:graphics/colord-gtk \
|
||||
libcolord.so:graphics/colord \
|
||||
libcurl.so:ftp/curl \
|
||||
libexiv2.so:graphics/exiv2 \
|
||||
libharfbuzz.so:print/harfbuzz \
|
||||
libicui18n.so:devel/icu \
|
||||
libjson-glib-1.0.so:devel/json-glib \
|
||||
liblcms2.so:graphics/lcms2 \
|
||||
liblensfun.so:graphics/lensfun \
|
||||
@ -30,12 +32,14 @@ LIB_DEPENDS= libcolord-gtk.so:graphics/colord-gtk \
|
||||
libsoup-2.4.so:devel/libsoup \
|
||||
libtiff.so:graphics/tiff
|
||||
|
||||
# Fix build against cmake-3.21: the ninja generator in 3.21 suffers a regression
|
||||
# (see https://gitlab.kitware.com/cmake/cmake/-/issues/22487) appending an invalid
|
||||
# "-Wl,--no-as-needed" to the linker arguments for static libraries.
|
||||
# Once this regression has been fixed upstream, this can be switch back to USES=cmake
|
||||
# Fix build against cmake-3.21: the ninja generator in 3.21 suffers a
|
||||
# regression (see https://gitlab.kitware.com/cmake/cmake/-/issues/22487)
|
||||
# appending an invalid "-Wl,--no-as-needed" to the linker arguments for static
|
||||
# libraries. Once this regression has been fixed upstream, this can be
|
||||
# switched back to USES=cmake, and LTO can be re-enabled.
|
||||
USES= cmake:noninja compiler:c++14-lang desktop-file-utils gl gnome jpeg \
|
||||
perl5 pkgconfig shebangfix sqlite tar:xz xorg
|
||||
OPTIONS_EXCLUDE=LTO
|
||||
USE_GL= glu
|
||||
USE_GNOME= cairo gtk30 intltool librsvg2 libxml2
|
||||
INSTALLS_ICONS= yes
|
||||
|
@ -32,12 +32,15 @@ lib/darktable/plugins/libbilateral.so
|
||||
lib/darktable/plugins/libbloom.so
|
||||
lib/darktable/plugins/libborders.so
|
||||
lib/darktable/plugins/libcacorrect.so
|
||||
lib/darktable/plugins/libcacorrectrgb.so
|
||||
lib/darktable/plugins/libcensorize.so
|
||||
lib/darktable/plugins/libchannelmixer.so
|
||||
lib/darktable/plugins/libchannelmixerrgb.so
|
||||
lib/darktable/plugins/libclahe.so
|
||||
lib/darktable/plugins/libclipping.so
|
||||
lib/darktable/plugins/libcolisa.so
|
||||
lib/darktable/plugins/libcolorbalance.so
|
||||
lib/darktable/plugins/libcolorbalancergb.so
|
||||
lib/darktable/plugins/libcolorchecker.so
|
||||
lib/darktable/plugins/libcolorcontrast.so
|
||||
lib/darktable/plugins/libcolorcorrection.so
|
||||
@ -48,6 +51,7 @@ lib/darktable/plugins/libcolorout.so
|
||||
lib/darktable/plugins/libcolorreconstruct.so
|
||||
lib/darktable/plugins/libcolortransfer.so
|
||||
lib/darktable/plugins/libcolorzones.so
|
||||
lib/darktable/plugins/libcrop.so
|
||||
lib/darktable/plugins/libdefringe.so
|
||||
lib/darktable/plugins/libdemosaic.so
|
||||
lib/darktable/plugins/libdenoiseprofile.so
|
||||
@ -182,12 +186,16 @@ share/applications/darktable.desktop
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/bilateral.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/blendop.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/bloom.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/channelmixer.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/colorreconstruction.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/colorspace.h
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/colorspaces.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/color_conversion.h
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/common.h
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_markesteijn.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_other.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_ppg.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_rcd.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_vng.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/denoiseprofile.cl
|
||||
%%NO_OPENCL%%%%DATADIR%%/kernels/dwt.cl
|
||||
@ -395,11 +403,15 @@ share/icons/hicolor/scalable/apps/darktable-3.svg
|
||||
share/icons/hicolor/scalable/apps/darktable.svg
|
||||
%%NLS%%share/locale/af/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/eo/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/he/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/sl/LC_MESSAGES/darktable.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/darktable.mo
|
||||
share/metainfo/darktable.appdata.xml
|
||||
|
Loading…
Reference in New Issue
Block a user