diff --git a/astro/siril/Makefile b/astro/siril/Makefile index 59be1a36a434..216407c8511e 100644 --- a/astro/siril/Makefile +++ b/astro/siril/Makefile @@ -1,50 +1,50 @@ PORTNAME= siril DISTVERSION= 0.99.10.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= astro graphics MASTER_SITES= https://free-astro.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Astronomical image processing software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= undefined reference to `__atomic_load' and `__atomic_compare_exchange' #` BUILD_DEPENDS= cmake:devel/cmake LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libcfitsio.so:astro/cfitsio \ libconfig.so:devel/libconfig \ libexiv2.so:graphics/exiv2 \ libffms2.so:multimedia/ffms2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ libtiff.so:graphics/tiff LIB_DEPENDS+= libopencv_photo.so:graphics/opencv # for some reason, configure fails without opencv, but executable only links to opencv-core USES= compiler:c++11-lang desktop-file-utils gettext \ gnome meson pkgconfig jpeg shared-mime-info tar:bz2 USE_GNOME= atk cairo gdkpixbuf2 gtk30 intltool pango WRKSRC= ${WRKDIR}/${PORTNAME} BINARY_ALIAS= git=false OPTIONS_DEFINE= CURL OPENMP OPTIONS_DEFAULT= CURL OPENMP OPENMP_MESON_OFF= -Dopenmp=false CURL_MESON_YES= enable-libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl .include diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index 3f86ed381818..83bbc9f4d06c 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -1,142 +1,143 @@ # Created by: thierry@pompo.net PORTNAME= cimg DISTVERSIONPREFIX= v. DISTVERSION= 3.0.2 PORTEPOCH= 3 +PORTREVISION= 1 CATEGORIES= graphics devel MAINTAINER= thierry@FreeBSD.org COMMENT= C++ Template Image Processing Library LICENSE= CeCILL_C CeCILL LICENSE_COMB= dual LICENSE_NAME_CeCILL_C= CeCILL-C LICENSE_NAME_CeCILL= CeCILL LICENSE_FILE_CeCILL_C= ${WRKSRC}/Licence_CeCILL-C_V1-en.txt LICENSE_FILE_CeCILL= ${WRKSRC}/Licence_CeCILL_V2-en.txt LICENSE_PERMS_CeCILL_C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_CeCILL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USE_GITHUB= yes GH_ACCOUNT= dtschump GH_PROJECT= CImg BUILD_WRKSRC= ${WRKSRC}/examples OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} USES+= compiler:c11 gmake pkgconfig:build xorg .endif .if ${PORT_OPTIONS:MDOCS} .if !defined(WITHOUT_LAPACK) . if defined(WITH_ATLAS) USES+= blaslapack:atlas . else USES+= blaslapack . endif .endif REINPLACE_ARGS= -i "" #LIB_DEPENDS+= libboard.so:graphics/libboard . if !defined(WITH_DEBUG) LIB_DEPENDS+= libcurl.so:ftp/curl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libImath.so:math/Imath \ libheif.so:graphics/libheif \ libOpenEXR.so:graphics/openexr \ libgimp-2.0.so:graphics/gimp-app \ libfftw3.so:math/fftw3 \ libopencv_core.so:graphics/opencv \ libGraphicsMagick.so:graphics/GraphicsMagick USES+= jpeg ALL_TARGET= Mlinux . else ALL_TARGET= dlinux WITHOUT_MEDCON= yes WITHOUT_FFMPEG= yes WITHOUT_LAPACK= yes . endif . if !defined(WITHOUT_MEDCON) RUN_DEPENDS+= medcon:graphics/xmedcon . endif . if !defined(WITHOUT_FFMPEG) LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg . endif . if !defined(WITHOUT_LAPACK) # Don't really need Fortran, but required to link with blas/lapack USES+= fortran . endif USE_XORG+= x11 xrandr . if defined(WITH_XSHM) USE_XORG+= xext . endif DOCBASE= README.txt CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}" PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \ edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \ hough_transform2d image2ascii image_registration2d image_surface3d \ jawbreaker mcf_levelsets2d mcf_levelsets3d odykill \ pde_TschumperleDeriche2d pde_heatflow2d plotter1d radon_transform2d \ scene3d spherical_function3d tetris tron tutorial use_RGBclass \ use_chlpca use_draw_gradient use_jpeg_buffer use_nlmeans use_skeleton \ wavelet_atrous .else NO_BUILD= yes .endif .include pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|make|${MAKE_CMD}|' ${BUILD_WRKSRC}/Makefile pre-configure-DOCS-off: ${REINPLACE_CMD} -e 's|^OPTFLAGS|#OPTFLAGS|' ${BUILD_WRKSRC}/Makefile pre-configure: . if !defined(WITHOUT_FFMPEG) ${REINPLACE_CMD} -e 's|#FFMPEG_CFLAGS|FFMPEG_CFLAGS|' \ -e 's|#FFMPEG_DEFINE|FFMPEG_DEFINE|' \ -e 's|#FFMPEG_LIBS|FFMPEG_LIBS|' \ ${BUILD_WRKSRC}/Makefile . endif . if !defined(WITHOUT_LAPACK) ${REINPLACE_CMD} -e 's|#LAPACK_CFLAGS|LAPACK_CFLAGS|' \ -e 's|#LAPACK_DEFINE|LAPACK_DEFINE|' \ -e 's|#LAPACK_LIBS|LAPACK_LIBS|' \ -e 's|-lblas -llapack|-L${LOCALBASE}/lib ${BLASLIB} ${LAPACKLIB}|' \ ${BUILD_WRKSRC}/Makefile . endif . if defined(WITH_XSHM) ${REINPLACE_CMD} -e 's|XSHM_CFLAGS = #|XSHM_CFLAGS =|' \ -e 's|XSHM_LDFLAGS = #|XSHM_LDFLAGS =|' \ ${BUILD_WRKSRC}/Makefile . endif do-install: ${INSTALL_DATA} ${WRKSRC}/CImg.h ${STAGEDIR}${PREFIX}/include do-install-DOCS-on: ${INSTALL_PROGRAM} ${PROGS:C|^|${BUILD_WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCBASE:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @(cd ${STAGEDIR}${EXAMPLESDIR} && ${MAKE_CMD} clean) @${RM} ${STAGEDIR}${EXAMPLESDIR}/*.orig .include diff --git a/graphics/darktable38/Makefile b/graphics/darktable38/Makefile index 11b541c96284..a2eefe09c351 100644 --- a/graphics/darktable38/Makefile +++ b/graphics/darktable38/Makefile @@ -1,172 +1,173 @@ # Created by: Alexey Dokuchaev PORTNAME= darktable PORTVERSION= 3.8.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ PKGNAMESUFFIX= 38 DEPRECATED= to be folded back to graphics/darktable within 2022Q1 EXPIRATION_DATE=2022-03-31 MAINTAINER= mandree@FreeBSD.org # lwhsu and dumbbell hereby receive blanket approval to deal with this port # as though they were maintainers. Courtesy Cc: by e-mail of important changes appreciated. --mandree COMMENT= Virtual lighttable and darkroom for photographers v3.8 LICENSE= GPLv3 ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le ONLY_FOR_ARCHS_REASON= uses 64-bit address space BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ ${P5_POD_PARSER} \ po4a-translate:textproc/po4a \ xsltproc:textproc/libxslt \ bash:shells/bash LIB_DEPENDS= libcolord-gtk.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libicui18n.so:devel/icu \ libjasper.so:graphics/jasper \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ 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 # switched back to USES=cmake, and LTO can be re-enabled. USES= cmake compiler:c++14-lang desktop-file-utils gl gnome jpeg \ perl5 pkgconfig sdl shebangfix sqlite tar:xz xorg OPTIONS_EXCLUDE=LTO USE_GL= gl USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_SDL= sdl2 USE_XORG= ice sm x11 xext xrandr CONFLICTS_INSTALL= darktable SHEBANG_FILES= tools/*.sh CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1 \ -DBUILD_CMSTEST:BOOL=ON \ -DUSE_KWALLET:BOOL=ON CFLAGS+= -fopenmp LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} OPTIONS_DEFINE= DOCS GEO GPHOTO GMIC GRAPHMAGICK AVIF LIBSECRET LTO \ LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP OPTIONS_DEFAULT= AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP OPTIONS_SUB= yes AVIF_DESC= Support encoding and decoding .avif files GEO_DESC= Support geotagging GMIC_DESC= Support G'Mic-compressed LUT in lut3d LIBSECRET_DESC= Support libsecret as password backend GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map GEO_CMAKE_BOOL= USE_MAP GMIC_LIB_DEPENDS= libgmic.so:graphics/gmic GMIC_CMAKE_BOOL= USE_GMIC GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_CMAKE_BOOL= USE_CAMERA_SUPPORT GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_CMAKE_BOOL= USE_GRAPHICSMAGICK AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_CMAKE_BOOL= USE_AVIF LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_CMAKE_BOOL= USE_LIBSECRET LTO_CMAKE_BOOL= RAWSPEED_ENABLE_LTO LUA_USES= lua:54 LUA_CMAKE_BOOL= USE_LUA # FIXME: Even with NLS turned off, darktable(1) is still linked to # libintl.so. NLS_USES= gettext NLS_USES_OFF= gettext-runtime NLS_CMAKE_BOOL= USE_NLS NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_CMAKE_BOOL= USE_OPENEXR OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= USE_OPENJPEG PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_BOOL= BUILD_PRINT TOOLS_DESC= Install additional scripts TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= USE_WEBP .include .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le CMAKE_ARGS+= -DUSE_OPENCL:BOOL=OFF CXXFLAGS+= -DGDK_DISABLE_DEPRECATED PLIST_SUB+= NO_OPENCL="@comment " .else PLIST_SUB+= NO_OPENCL="" .endif .include .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD || ${ARCH} == "i386" LLVM_DEFAULT= 13 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} LD= ${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} BINARY_ALIAS+= ld.lld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} BINARY_ALIAS+= llvm-objcopy=${LOCALBASE}/bin/llvm-objcopy${LLVM_DEFAULT} .endif # work around CMAKE/CCACHE flaw (cmake stomps over ccache) .if "${WITH_CCACHE_BUILD}" == "yes" && !defined(NO_CCACHE) CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \ -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN} .endif .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif # darktable defines the __XOPEN_SOURCE preprocessor macro, which # restricts symbol visibility on FreeBSD and causes compilation failures # on, for instance, the cups_print module, because u_char remains # undefined. Remove _XOPEN_SOURCE maro definitions. post-patch: ${REINPLACE_CMD} '/add_definitions."-D_XOPEN_SOURCE=.*"/d' ${WRKSRC}/CMakeLists.txt post-install-TOOLS-off: @${RM} -f ${STAGEDIR}${DATADIR}/tools/extract_wb_from_images.sh .include diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index 019d2ccb35dc..0aac9a823883 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -1,100 +1,100 @@ # Created by: Martin Tournoij PORTNAME= geeqie PORTVERSION= 1.6 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= graphics MASTER_SITES= http://www.geeqie.org/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Lightweight image viewer forked from GQview LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png RUN_DEPENDS= bash:shells/bash CONFLICTS= geeqie-devel USES= autoreconf compiler:c++11-lang gettext gmake gnome jpeg \ localbase pkgconfig desktop-file-utils tar:xz lua:53 shebangfix USE_GNOME= cairo gdkpixbuf2 intltool GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-readmedir="${DOCSDIR}" CONFIGURE_ARGS+=--disable-j2k # not in ports (yet), disable proactively to avoid hidden dependency SHEBANG_FILES= plugins/*/geeqie-* PORTDOCS= * OPTIONS_DEFINE= EXIV2 LCMS LIRC MAP TIFF PDF FFMPEGTHUMBNAILER DOCS NLS HEIF WEBP DJVU OPENJPEG OPTIONS_DEFAULT=EXIV2 LCMS GTK3 PDF FFMPEGTHUMBNAILER HEIF WEBP DJVU OPENJPEG OPTIONS_SINGLE= TOOLKIT OPTIONS_SINGLE_TOOLKIT=GTK2 GTK3 OPTIONS_SUB= yes EXIV2_DESC= Metadata editing LCMS_DESC= Color adjusting LIRC_DESC= Remote control (broken) MAP_DESC= GPS map support via libchamplain TOOLKIT_DESC= Graphical user interface toolkit GTK2_DESC= Use GTK 2 GTK3_DESC= Use GTK 3 HEIF_DESC= HEIF image format support EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 EXIV2_CONFIGURE_ENABLE= exiv2 LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS_CONFIGURE_ENABLE= lcms LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_ENABLE= lirc LIRC_CONFIGURE_ON= --with-lirc-prefix="${LOCALBASE}" LIRC_BROKEN= does not build with old lirc from ports MAP_LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib MAP_CONFIGURE_ENABLE= map gpu-accel MAP_REQUIRES= GTK3 MAP_USES= gl xorg MAP_USE= GL=egl XORG=xrandr,x11,xext,xdamage,xfixes,xcomposite,xi TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_ENABLE= tiff GTK2_USE= GNOME=gtk20 GTK3_USE= GNOME=gtk30 GTK3_CONFIGURE_ENABLE= gtk3 PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_CONFIGURE_ENABLE= pdf PDF_REQUIRES= GTK3 FFMPEGTHUMBNAILER_DESC= Video file thumbnails generating support FFMPEGTHUMBNAILER_CONFIGURE_ENABLE= ffmpegthumbnailer FFMPEGTHUMBNAILER_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer GTK2_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig NLS_CONFIGURE_ENABLE= nls HEIF_CONFIGURE_ENABLE= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif WEBP_CONFIGURE_ENABLE= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp DJVU_CONFIGURE_ENABLE= djvu DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre OPENJPEG_CONFIGURE_ENABLE= j2k OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg .include diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile index 3c2efb90fcd2..50edc51acdf3 100644 --- a/graphics/imv/Makefile +++ b/graphics/imv/Makefile @@ -1,81 +1,82 @@ PORTNAME= imv DISTVERSIONPREFIX= v DISTVERSION= 4.3.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://git.sr.ht/~exec64/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple image viewer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libicuuc.so:devel/icu \ libinih.so:devel/inih \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= bash:shells/bash USES= compiler:c11 desktop-file-utils gettext-runtime gl gnome meson \ pkgconfig shebangfix USE_GL= egl USE_GNOME= cairo glib20 pango SHEBANG_FILES= contrib/imv-folder CONFLICTS_INSTALL= renameutils OPTIONS_DEFINE= FREEIMAGE HEIF JPEG NSGIF PNG SVG TEST TIFF OPTIONS_DEFAULT= ALL FREEIMAGE HEIF JPEG NSGIF PNG SVG TIFF OPTIONS_SINGLE= WIN OPTIONS_SINGLE_WIN= ALL WAYLAND X11 OPTIONS_SUB= yes ALL_DESC= Both Wayland and X11 support FREEIMAGE_DESC= FreeImage backend (support for many image formats) HEIF_DESC= HEIF backend NSGIF_DESC= NetSurf GIF backend (support for animated GIF) WIN_DESC= Windowing system ALL_LIB_DEPENDS+= libwayland-client.so:graphics/wayland ALL_USES= xorg ALL_USE= GL=glu \ XORG=x11,xcb ALL_MESON_ON= -Dwindows=all FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage FREEIMAGE_MESON_ENABLED= freeimage HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= libheif JPEG_LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo JPEG_MESON_ENABLED= libjpeg NSGIF_LIB_DEPENDS= libnsgif.so:graphics/libnsgif NSGIF_MESON_ENABLED= libnsgif PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= libpng SVG_USE= GNOME=librsvg2 SVG_MESON_ENABLED= librsvg TEST_LIB_DEPENDS= libcmocka.so:sysutils/cmocka TEST_MESON_ENABLED= test TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland WAYLAND_MESON_ON= -Dwindows=wayland X11_USES= xorg X11_USE= GL=glu \ XORG=x11,xcb X11_MESON_ON= -Dwindows=x11 post-patch: @${REINPLACE_CMD} -e 's|--sort=version|-V|g' ${WRKSRC}/contrib/imv-folder .include diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile index ee3bca9bf174..a08673fb5d5c 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,73 +1,73 @@ PORTNAME= krita DISTVERSION= 4.4.8 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Sketching and painting program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libImath.so:math/Imath \ libOpenColorIOv1.so:graphics/opencoloriov1 \ libX11.so:x11/libX11 \ libboost_system.so:devel/boost-libs \ libfftw3.so:math/fftw3 \ libexiv2.so:graphics/exiv2 \ libcurl.so:ftp/curl \ libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libheif.so:graphics/libheif \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip \ libraw.so:graphics/libraw \ libtiff.so:graphics/tiff \ libxcb.so:x11/libxcb \ libxcb-util.so:x11/xcb-util # Disable ninja generator for now (with gmake), until the duplicate test targets are resolved upstream. USES= cmake:noninja gmake compiler:c++11-lib desktop-file-utils \ eigen:3 gettext jpeg kde:5 pkgconfig python:3.4+ qt:5 \ shared-mime-info tar:xz xorg USE_KDE= archive completion config coreaddons crash guiaddons i18n \ itemmodels itemviews kio service widgetsaddons windowsystem USE_QT= concurrent core dbus declarative gui multimedia network printsupport \ svg testlib widgets x11extras xml \ buildtools_build qmake_build USE_XORG= ice sm xcb xext xi CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_PyQt5:BOOL=true OPTIONS_DEFINE= GMIC OPENEXR OPTIONS_DEFAULT= OPENEXR OPTIONS_SUB= yes GMIC_DESC= Depend on the G'Mic plugin #' GMIC_RUN_DEPENDS= gmic_krita_qt:graphics/gmic-qt@krita OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libSeExpr2.so:graphics/seexpr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR CONFLICTS_INSTALL= calligra-2* PLIST_SUB= SHLIB_VER=20.0.0 \ SHLIB_SHVER=20 CFLAGS+= -I${LOCALBASE}/include/Imath LDFLAGS+= -lpthread post-patch: ${REINPLACE_CMD} -e 's| diff --git a/graphics/openimageio-ociov1/Makefile b/graphics/openimageio-ociov1/Makefile index bdbc639d8856..40987217ebfe 100644 --- a/graphics/openimageio-ociov1/Makefile +++ b/graphics/openimageio-ociov1/Makefile @@ -1,102 +1,102 @@ PORTNAME= openimageio DISTVERSIONPREFIX= Release- DISTVERSION= 2.2.19.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics multimedia PKGNAMESUFFIX= -ociov1 # special port to link oiio libs with ociov1 # specifically to build blender-lts28 while still officially supported MAINTAINER= FreeBSD@Shaneware.biz COMMENT= OpenImageIO graphics library linked to ocio v1 LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libheif.so:graphics/libheif \ libImath.so:math/Imath \ libOpenColorIOv1.so:graphics/opencoloriov1 \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png \ libsquish.so:graphics/squish \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake jpeg compiler:c++14-lang iconv:wchar_t USE_GITHUB= yes GH_ACCOUNT= OpenImageIO GH_PROJECT= oiio CMAKE_ON= USE_OCIO CMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \ STOP_ON_WARNING USE_OPENSSL USE_QT USE_OPENGL \ OIIO_BUILD_TESTS OIIO_BUILD_TOOLS USE_PYTHON USE_LDCONFIG= yes OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF \ OPENCV OPENJPEG PTEX RAW TBB VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} DICOM_DESC= DICOM/MEDICOM support DICOM_CMAKE_BOOL= USE_DICOM DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk FFMPEG_DESC= Use FFmpeg to support extra file types FFMPEG_CMAKE_BOOL= USE_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FREETYPE_CMAKE_BOOL= USE_FREETYPE FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf GIF_CMAKE_BOOL= USE_GIF GIF_LIB_DEPENDS= libgif.so:graphics/giflib OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENJPEG_CMAKE_BOOL= USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PTEX_DESC= ptex support PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex RAW_CMAKE_BOOL= USE_LIBRAW RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw TBB_DESC= Intel tbb support TBB_CMAKE_BOOL= USE_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb VDB_DESC= OpenVDB support VDB_CMAKE_ARGS= -DCMAKE_CXX_STANDARD=14 VDB_CMAKE_BOOL= USE_OPENVDB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb # DISTVERSION has an extra digit which isn't in the lib name # for LIBVERS we want the first three digits PLIST_SUB= SHL3=${PORTVERSION:R} SHL2=${PORTVERSION:R:R} DOCSDIR= ${PREFIX}/share/doc/openimageio-${PKGNAMESUFFIX} post-patch: ${REINPLACE_CMD} -e 's| diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 84d5c2b6ec35..29b9c8cd2088 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,135 +1,135 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.3.12.0 # PORTREVISION must be set with ?= so as not to stomp over # py-openimageio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= OpenImageIO graphics library LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libheif.so:graphics/libheif \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png \ libsquish.so:graphics/squish \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake jpeg compiler:c++14-lang iconv:wchar_t qt:5 USE_QT+= buildtools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= OpenImageIO GH_PROJECT= oiio CMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \ STOP_ON_WARNING USE_OPENSSL OIIO_DOWNLOAD_MISSING_TESTDATA OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \ OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX TOOLS VDB OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} DICOM_DESC= DICOM/MEDICOM support DICOM_CMAKE_BOOL= USE_DICOM DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk FFMPEG_DESC= Use FFmpeg to support extra file types FFMPEG_CMAKE_BOOL= USE_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FREETYPE_CMAKE_BOOL= USE_FREETYPE FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf GIF_CMAKE_BOOL= USE_GIF GIF_LIB_DEPENDS= libgif.so:graphics/giflib IMAGEVIEWER_DESC= Build image viewer (requires Qt) IMAGEVIEWER_USES= gl IMAGEVIEWER_IMPLIES= TOOLS IMAGEVIEWER_CMAKE_BOOL= USE_QT USE_OPENGL IMAGEVIEWER_USE= GL=gl,glu,glew \ QT=buildtools,core,gui,opengl,qmake_build,widgets OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv OPENJPEG_CMAKE_BOOL= USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PTEX_DESC= ptex support PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex RAW_CMAKE_BOOL= USE_LIBRAW RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw TBB_DESC= Intel tbb support TBB_CMAKE_BOOL= USE_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TEST_CMAKE_BOOL= OIIO_BUILD_TESTS TOOLS_DESC= Build CLI tools TOOLS_CMAKE_BOOL= OIIO_BUILD_TOOLS VDB_DESC= OpenVDB support VDB_CMAKE_BOOL= USE_OPENVDB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb PLIST_SUB= SHL3=${PORTVERSION:R} SHL2=${PORTVERSION:R:R} SHL1=${PORTVERSION:R:R:R} SHL2= ${PORTVERSION:R:R} SHL1= ${PORTVERSION:R:R:R} post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/src/cmake/modules/FindPtex.cmake .include .if ${SLAVE_PORT} == yes BUILD_DEPENDS+= ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio PLIST= ${PKGDIR}/pkg-plist-pybind USES+= python USE_PYTHON= flavors CMAKE_ON+= USE_PYTHON # we don't need the apps built - only libs. CMAKE_OFF+= USE_QT USE_OPENGL OIIO_BUILD_TOOLS OIIO_BUILD_TESTS \ EMBED_PLUGINS CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} do-install: ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/OpenImageIO*.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .else # SLAVE_PORT != yes USE_LDCONFIG= yes CMAKE_OFF+= USE_PYTHON post-install: ${LN} -sf libOpenImageIO.so.${SHL2} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL1} ${LN} -sf libOpenImageIO_Util.so.${SHL2} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL1} do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${SETENV} ARGS=-V ${MAKE_CMD} test .endif # SLAVE_PORT .include diff --git a/graphics/py-openimageio/Makefile b/graphics/py-openimageio/Makefile index 04c03006263b..5446ed0e5d68 100644 --- a/graphics/py-openimageio/Makefile +++ b/graphics/py-openimageio/Makefile @@ -1,12 +1,12 @@ # Created by: Shane Ambler -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics multimedia python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= OpenImageIO python bindings MASTERDIR= ${.CURDIR}/../openimageio OPTIONS_EXCLUDE=${OPTIONS_DEFINE} .include "${MASTERDIR}/Makefile" diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile index 3d80b3bdbbf0..cef5d1c081a9 100644 --- a/graphics/vips/Makefile +++ b/graphics/vips/Makefile @@ -1,107 +1,108 @@ # Created by: Lev Serebryakov PORTNAME= vips PORTVERSION= 8.12.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Free image processing system LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= bash:shells/bash USES= compiler:c++11-lang cpe gettext gmake gnome libtool localbase pathfix pkgconfig python shebangfix USE_GNOME= glib20 CONFIGURE_ARGS= --disable-introspection \ --without-doxygen \ --without-imagequant \ --without-nifti \ --without-openslide \ --without-pdfium GNU_CONFIGURE= yes USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION:R} SHEBANG_FILES= tools/vips-${PORTVERSION:R} tools/vipsprofile OPTIONS_DEFINE= CFITSIO DEBUG DOCS FFTW GIF GSF HEIF JPEG JXL LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11 OPTIONS_RADIO= MAGICK OPTIONS_RADIO_MAGICK= IMAGEMAGICK GRAPHMAGICK OPTIONS_DEFAULT=CFITSIO FFTW GIF GSF HEIF IMAGEMAGICK JPEG LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11 GSF_DESC= Structured file formats support JXL_DESC= JPEG XL image format via libjxl ORC_DESC= ORC language support HEIF_DESC= HEIF image format support MATIO_DESC= Matlab MAT format support CFITSIO_CONFIGURE_WITH= cfitsio CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio DEBUG_CONFIGURE_ENABLE= debug DEBUG_INSTALL_TARGET_OFF= install-strip DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_CONFIGURE_ENABLE= gtk-doc gtk-doc-html FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GIF_CONFIGURE_WITH= giflib GIF_LIB_DEPENDS= libgif.so:graphics/giflib GRAPHMAGICK_CONFIGURE_ON= --with-magickpackage=GraphicsMagick GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GSF_CONFIGURE_WITH= gsf GSF_USE= GNOME=libgsf HEIF_CONFIGURE_WITH= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif IMAGEMAGICK_CONFIGURE_ON= --with-magickpackage=MagickCore JPEG_CONFIGURE_WITH= jpeg JPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG_USES= jpeg JXL_CONFIGURE_WITH= libjxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LIBEXIF_CONFIGURE_WITH= libexif LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBRSVG2_CONFIGURE_WITH=rsvg LIBRSVG2_USE= GNOME=cairo,librsvg2 MATIO_CONFIGURE_WITH= matio MATIO_LIB_DEPENDS= libmatio.so:math/matio OPENEXR_CONFIGURE_WITH= OpenEXR OPENEXR_LIB_DEPENDS= libImath.so:math/Imath libOpenEXR.so:graphics/openexr ORC_CONFIGURE_WITH= orc ORC_LIB_DEPENDS= liborc-0.4.so:devel/orc PANGO_CONFIGURE_WITH= pangoft2 PANGO_USE= GNOME=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png POPPLER_CONFIGURE_WITH= poppler POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_USE= GNOME=cairo TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= libwebp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_WITH= x .include .if ${PORT_OPTIONS:MIMAGEMAGICK} .if ${PORT_OPTIONS:MX11} USES+= magick:7 .else USES+= magick:7,nox11 .endif .endif .if !${PORT_OPTIONS:MGRAPHMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK} CONFIGURE_ARGS+=--without-magick .endif .include diff --git a/x11/wallutils/Makefile b/x11/wallutils/Makefile index a2cf1bedd47e..158b1c316c40 100644 --- a/x11/wallutils/Makefile +++ b/x11/wallutils/Makefile @@ -1,66 +1,67 @@ PORTNAME= wallutils DISTVERSION= 5.10.0 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= Utilities for handling monitors, resolutions, wallpapers and timed wallpapers LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libX11.so:x11/libX11 USES= go:modules USE_GITHUB= yes GH_ACCOUNT= xyproto GH_TUPLE= antchfx:xmlquery:v1.3.8:antchfx_xmlquery/vendor/github.com/antchfx/xmlquery \ antchfx:xpath:v1.2.0:antchfx_xpath/vendor/github.com/antchfx/xpath \ anthonynsimon:bild:v0.13.0:anthonynsimon_bild/vendor/github.com/anthonynsimon/bild \ cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ fatih:color:v1.13.0:fatih_color/vendor/github.com/fatih/color \ golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/groupcache \ golang:image:6944b10bf410:golang_image/vendor/golang.org/x/image \ golang:net:58aab5ef257a:golang_net/vendor/golang.org/x/net \ golang:sys:99a53858aa08:golang_sys/vendor/golang.org/x/sys \ golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \ mattn:go-colorable:v0.1.11:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ mattn:go-isatty:v0.0.14:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ stretchr:powerwalk:bceb9d014549:stretchr_powerwalk/vendor/github.com/stretchr/powerwalk \ urfave:cli:v1.22.1:urfave_cli/vendor/github.com/urfave/cli \ xyproto:env:v1.7.0:xyproto_env/vendor/github.com/xyproto/env \ xyproto:heic:v1.0.0:xyproto_heic/vendor/github.com/xyproto/heic GO_TARGET= ./cmd/getdpi \ ./cmd/lscollection \ ./cmd/lsmon \ ./cmd/lstimed \ ./cmd/lswallpaper \ ./cmd/setcollection \ ./cmd/setrandom \ ./cmd/settimed \ ./cmd/setwallpaper \ ./cmd/timedinfo \ ./cmd/wayinfo \ ./cmd/xinfo \ ./cmd/xml2stw \ ${NULL} PLIST_FILES= ${GO_TARGET:S,./cmd,bin,} OPTIONS_DEFINE= HEIF OPTIONS_DEFAULT= HEIF HEIF_DESC= Extract timing metadata from macOS dynamic wallpaper HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_USES= pkgconfig HEIF_MESON_ENABLED= libheif HEIF_VARS= GO_TARGET+=./cmd/heic2stw post-patch: # Respect PREFIX for wallpapers @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/cmd/heic2stw/main.go \ ${WRKSRC}/collections.go .include