diff --git a/devel/kio-extras/Makefile b/devel/kio-extras/Makefile index 0fa4deb4ea82..7e01766fe21b 100644 --- a/devel/kio-extras/Makefile +++ b/devel/kio-extras/Makefile @@ -1,71 +1,71 @@ PORTNAME= kio-extras DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 library to increase the functionality of KIO WWW= https://projects.kde.org/projects/kde/workspace/kio-extras LIB_DEPENDS= libtag.so:audio/taglib \ libImath.so:math/Imath \ libkdsoap.so:www/kdsoap@qt5 USES= cmake compiler:c++11-lib gettext gperf kde:5 \ pkgconfig qt:5 shared-mime-info shebangfix tar:xz xorg USE_KDE= activities archive auth bookmarks codecs completion config \ configwidgets coreaddons crash dbusaddons dnssd doctools \ emoticons guiaddons i18n iconthemes init itemmodels itemviews \ jobwidgets js kdelibs4support khtml kio notifications parts \ phonon pty service solid sonnet syntaxhighlighting textwidgets unitconversion \ widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= concurrent core dbus declarative gui location network printsupport \ sql svg testlib webchannel widgets xml \ buildtools:build qmake:build USE_XORG= x11 xcursor SHEBANG_FILES= info/kde-info2html # CVE-2018-19120 CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidget OPTIONS_DEFINE= SAMBA AFC MTP EXR EXIV SLP SSH TAGLIB DOCS OPTIONS_DEFAULT= SAMBA AFC MTP EXR EXIV SLP SSH TAGLIB OPTIONS_SUB= yes SAMBA_DESC= Needed to build the SMB kioslave SAMBA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Samba SAMBA_USES= samba:lib AFC_DESC= Needed to build AFC (Apple File Conduit) kioslave AFC_LIB_DEPENDS= libimobiledevice-1.0.so:comms/libimobiledevice \ libplist-2.0.so:devel/libplist AFC_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_IMobileDevice \ CMAKE_DISABLE_FIND_PACKAGE_PList MTP_DESC= Needed to build the MTP kioslave MTP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Mtp MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp EXR_DESC= Provides support for OpenEXR formatted images in the thumbnail kioslave EXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR EXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr EXIV_DESC= Provides support for automatic rotation of JPEGs in the thumbnail kioslave EXIV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5kExiv2 EXIV_USE= KDE=libkexiv2 SLP_DESC= Provides SLP support in the network:/ kioslave SLP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_SLP SLP_LIB_DEPENDS= libslp.so:net/openslp SSH_DESC= Needed to build the SFTP kioslave SSH_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibSSH SSH_LIB_DEPENDS= libssh.so:security/libssh # Our taglib is too old TAGLIB_DESC= Needed to build the audio thumbnail kioslave TAGLIB_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Taglib TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib .include diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile index a29ef47dd803..2fab2538e850 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -1,88 +1,88 @@ PORTNAME= calligra DISTVERSION= 3.2.1 -PORTREVISION= 63 +PORTREVISION= 64 CATEGORIES= editors kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/${PORTNAME} PATCH_SITES= https://invent.kde.org/office/calligra/-/commit/ # Poppler 22.03 PATCHFILES= 236bacbe13739414e919de868283b0caf2df5d8a.diff:-p1 \ 6b75bec784c9835c78993349845d8c2ef22ec3de.diff:-p1 MAINTAINER= kde@FreeBSD.org COMMENT= KDE office suite WWW= https://calligra.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= pstoedit:graphics/pstoedit LIB_DEPENDS= libImath.so:math/Imath \ libKPropertyCore3.so:x11-toolkits/kproperty \ libKReport3.so:textproc/kreport \ libboost_thread.so:devel/boost-libs \ libetonyek-0.1.so:graphics/libetonyek01 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libKGantt.so:graphics/kdiagram \ libodfgen-0.1.so:textproc/libodfgen01 \ libpng.so:graphics/png \ libpoppler-qt5.so:graphics/poppler-qt5 \ libpoppler.so:graphics/poppler \ librevenge-0.0.so:textproc/librevenge \ libtiff.so:graphics/tiff \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwpg-0.3.so:graphics/libwpg03 \ libwps-0.4.so:textproc/libwps RUN_DEPENDS= pstoedit:graphics/pstoedit USES= cmake compiler:c++17-lang cpe desktop-file-utils eigen:3 \ gettext iconv:translit jpeg kde:5 localbase:ldflags perl5 \ pkgconfig qca qt:5 shared-mime-info sqlite tar:xz xorg USE_LDCONFIG= yes USE_KDE= activities akonadicontacts archive auth bookmarks calendarcore \ codecs completion config configwidgets contacts coreaddons \ crash dbusaddons doctools emoticons guiaddons holidays i18n \ iconthemes init itemmodels itemviews jobwidgets js kcmutils \ kdelibs4support khtml kio kross notifications notifyconfig \ okular parts phonon service solid sonnet texteditor textwidgets \ threadweaver unitconversion wallet widgetsaddons windowsystem \ xmlgui \ ecm:build USE_QT= concurrent core dbus declarative gui network opengl \ printsupport script sql svg testlib widgets x11extras \ xml \ buildtools:build qmake:build USE_XORG= ice sm x11 xext OPTIONS_DEFINE= OPENEXR OPTIONS_DEFAULT= OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:STRING="${QT_INCDIR} ${LOCALBASE}/include" \ -DPRODUCTSET:STRING="DESKTOP" # Requested by upstream, to not include unfinished modules CMAKE_ON= RELEASE_BUILD # Performance increase according to README.PACKAGERS CMAKE_ARGS+= -DCMAKE_CXX_FLAGS="-DKDE_NO_DEBUG_OUTPUT" PLIST_SUB+= SHLIB_VER=17.0.0 .include post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|g' \ ${WRKSRC}/filters/words/msword-odf/wv2/src/word97_helper.cpp @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ ${WRKSRC}/filters/words/msword-odf/wv2/src/utilities.h .endif .include diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 3bf06453373e..4695aca233a8 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,343 +1,343 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.12-77 -PORTREVISION= 9 +PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 6 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools (legacy version) WWW= https://legacy.imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 6-nox11 PORTSCOUT?= limit:^6\.9\. # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= compiler:c++11-lang cpe gettext-runtime gmake gnome \ libtool:keepla localbase pathfix perl5 pkgconfig:both \ shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= coder.xml colors.xml delegates.xml log.xml magic.xml mime.xml \ policy.xml quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB HEIF JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TESTS TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG \ TIFF WEBP WMF THREADS RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFMPEG_DESC= Video CODEC support from FFmpeg FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 TESTS_TEST_DEPENDS= gsfonts>=0:print/gsfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/Magick++/lib/ImageMagick++.pc.in \ ${WRKSRC}/magick/ImageMagick.pc.in \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/magick/MagickCore.pc.in \ ${WRKSRC}/wand/Wand.pc.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/wand/MagickWand.pc.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i}.sample .endfor do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index 0a39b2328cce..b6f5b9ceaef8 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,341 +1,341 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.1-26 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 7 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools WWW= https://imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl \ libzstd.so:archivers/zstd \ libzip.so:archivers/libzip TEST_DEPENDS= gsfonts>=0:print/gsfonts FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 7-nox11 # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= cpe gettext-runtime gmake gnome libtool:keepla localbase \ pathfix perl5 pkgconfig:both shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --with-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= colors.xml delegates.xml log.xml mime.xml policy.xml \ quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} TEST_TARGET= check OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FLIF FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI HEIF RAW OPTIONS_DEFAULT=16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES OPENEXR PDF PERL PNG \ TIFF WEBP WMF THREADS HDRI RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support FFMPEG_DESC= VIDEO codec support as FFmpeg FLIF_DESC= Free Lossless Image Format support #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FLIF_CONFIGURE_WITH= flif FLIF_LIB_DEPENDS= libflif.so:graphics/flif # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/MagickCore/MagickCore-config.in \ ${WRKSRC}/MagickCore/MagickCore.pc.in \ ${WRKSRC}/MagickCore/ImageMagick.pc.in \ ${WRKSRC}/MagickWand/MagickWand-config.in \ ${WRKSRC}/MagickWand/MagickWand.pc.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' ${WRKSRC}/MagickWand/MagickWand-config.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor .include diff --git a/graphics/ampasCTL/Makefile b/graphics/ampasCTL/Makefile index e680b8be6390..08f86d87ba8a 100644 --- a/graphics/ampasCTL/Makefile +++ b/graphics/ampasCTL/Makefile @@ -1,51 +1,51 @@ PORTNAME= ampasCTL PORTVERSION= 1.5.2 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= graphics devel MAINTAINER= ports@FreeBSD.org COMMENT= Color Transformation Language interpreter WWW= https://github.com/ampas/CTL LICENSE= AMPAS LICENSE_NAME= AMPAS LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libtiff.so:graphics/tiff \ libAcesContainer.so:graphics/ampasACES-container USES= cmake compiler:c++11-lang localbase:ldflags pathfix pkgconfig USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= ampas GH_PROJECT= CTL GH_TAGNAME= 57b48a2 USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath PORTDOCS= * OPTIONS_DEFINE= DOCS DOCSRCDIR1= ${WRKSRC} DOC_FILES1= AUTHORS CHANGELOG README.md DOCSRCDIR2= ${WRKSRC}/doc DOCSDIR2= ${DOCSDIR}/doc DOC_FILES2= CtlManual.pdf CtlManual.doc post-patch: @${REINPLACE_CMD} -e 's|lib/CMake|lib/cmake|' \ -e 's|add_subdirectory(doc)||' \ ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR2} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} .include diff --git a/graphics/appleseed/Makefile b/graphics/appleseed/Makefile index d6bf5f35fabd..b520e7f23958 100644 --- a/graphics/appleseed/Makefile +++ b/graphics/appleseed/Makefile @@ -1,91 +1,91 @@ PORTNAME= appleseed DISTVERSION= 2.1.0-beta -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= graphics PATCH_SITES= http://vault.101011010.xyz/distfiles/ LOCAL/danfe PATCHFILES= OSL-01.13.7.patch:-p1 MAINTAINER= danfe@FreeBSD.org COMMENT= Modern, physically-based production renderer WWW= https://appleseedhq.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ liblz4.so:archivers/liblz4 \ libpng.so:graphics/png \ libIlmThread.so:graphics/openexr \ libImath.so:math/Imath \ libOpenColorIOv1.so:graphics/opencoloriov1 \ libOpenImageIO.so:graphics/openimageio \ libxerces-c.so:textproc/xerces-c3 \ liboslexec.so:graphics/openshadinglanguage USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}hq ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= not ported to it yet USES= cmake compiler:c++11-lang shebangfix SHEBANG_FILES= scripts/*.py CMAKE_ARGS= -DWITH_PYTHON2_BINDINGS:BOOL=OFF \ -DWITH_DOXYGEN:BOOL=OFF \ -DINSTALL_HEADERS:BOOL=OFF \ -DINSTALL_TESTS:BOOL=OFF \ -DINSTALL_API_EXAMPLES:BOOL=OFF \ -DWARNINGS_AS_ERRORS:BOOL=OFF .for lib in BOOST EMBREE EXR OCIO OIIO OSL CMAKE_ARGS+= -DUSE_STATIC_${lib}:BOOL=OFF .endfor # Not ready for hier(7)-conforming installation yet CMAKE_INSTALL_PREFIX= ${PREFIX}/${PKGBASE} PLIST_SUB= APPHOME=${CMAKE_INSTALL_PREFIX} SUB_FILES= pkg-message SUB_LIST:= ${PLIST_SUB} OPTIONS_DEFINE= EMBREE PYTHON STUDIO OPTIONS_DEFAULT= PYTHON STUDIO OPTIONS_SUB= yes EMBREE_DESC= Embree intersection backend support EMBREE_LIB_DEPENDS= libembree3.so:graphics/embree EMBREE_CMAKE_ON= -DWITH_EMBREE:BOOL=ON PYTHON_USES= gl python:build,run PYTHON_USE= GL=gl PYTHON_CMAKE_ON= -DWITH_PYTHON3_BINDINGS:BOOL=ON STUDIO_DESC= Build appleseed.studio (Qt-based) STUDIO_LIB_DEPENDS= ${PY_BOOST} STUDIO_USES= qt:5 STUDIO_USE= QT=buildtools:build,qmake:build,concurrent,core,gui,opengl,widgets STUDIO_CMAKE_OFF= -DWITH_STUDIO:BOOL=OFF STUDIO_IMPLIES= PYTHON post-patch: @${RMDIR} ${WRKSRC}/sandbox/docs/api @${RM} ${WRKSRC}/sandbox/share/cmake/Modules/FindOpenImageIO.cmake @${REINPLACE_CMD} -e 's,OpenEXR,Imath, ; /[ {]IMATH_HALF_LIBRARY/d' \ ${WRKSRC}/cmake/modules/FindImath.cmake @${REINPLACE_CMD} -e 's,OpenEXR/Imath,Imath/Imath,' \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_matrix.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_quaternion.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_vector.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_aabb.cpp \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_color.cpp \ ${WRKSRC}/src/appleseed/foundation/math/vector.h \ ${WRKSRC}/src/appleseed/foundation/math/aabb.h \ ${WRKSRC}/src/appleseed/foundation/math/matrix.h \ ${WRKSRC}/src/appleseed/foundation/math/quaternion.h \ ${WRKSRC}/src/appleseed/foundation/image/color.h .include PATCH_ARGS+= -l diff --git a/graphics/art/Makefile b/graphics/art/Makefile index f0b206d52d13..6722b71b9805 100644 --- a/graphics/art/Makefile +++ b/graphics/art/Makefile @@ -1,65 +1,66 @@ PORTNAME= art DISTVERSION= 1.24 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/agriggio/art/downloads/ PKGNAMESUFFIX= -raw-image-editor DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Raw image processing program WWW= https://bitbucket.org/agriggio/art/wiki/Home LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv7= compilation fails: use of overloaded operator '[]' is ambiguous, see https://bitbucket.org/agriggio/art/issues/256/build-fails-on-32-bit-architectures-use-of BROKEN_i386= ld: error: undefined symbol: __atomic_load EXTRACT_DEPENDS= gtar:archivers/gtar # bsdtar(1) complains about hard links to itself BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libraw_r.so:graphics/libraw \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfftw3f.so:math/fftw3-float \ libharfbuzz.so:print/harfbuzz \ liblensfun.so:graphics/lensfun \ liblcms2.so:graphics/lcms2 \ libmimalloc.so:devel/mimalloc \ libOpenColorIO.so:graphics/opencolorio \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils gnome jpeg pkgconfig tar:xz xorg USE_GNOME= atk atkmm cairo cairomm glibmm gtkmm30 librsvg2 USE_XORG= x11 EXTRACT_CMD= gtar LDFLAGS+= -lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create OPTIONS_DEFINE= CTL LTO OPTIONS_DEFAULT= CTL LTO CTL_DESC= Enable support for the ACES Color Transformation Language CTL_CMAKE_BOOL= ENABLE_CTL CTL_LIB_DEPENDS= libIlmCtl.so:graphics/ctl \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libpng16.so:graphics/png LTO_CMAKE_BOOL= WITH_LTO .if exists(/usr/include/omp.h) OPTIONS_DEFINE+= OPENMP OPTIONS_DEFAULT+= OPENMP OPENMP_CMAKE_BOOL= OPTION_OMP .else CMAKE_OFF= OPTION_OMP .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ART .include diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 52c123528e1f..c552db989b85 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,228 +1,228 @@ PORTNAME= blender DISTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics multimedia MASTER_SITES= http://download.blender.org/source/ \ http://mirror.cs.umn.edu/blender.org/source/ \ http://public.planetmirror.com/pub/blender/source/ MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package WWW= https://www.blender.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= static_assert(sizeof(unsigned long long) == sizeof(struct hipArray*)) BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libOpenImageIO.so:graphics/openimageio \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PYNUMPY} # libboost_regex.so just acts as a placeholder; several boost # libraries are used, if either of the most common options in blender # are set. We will pull boost in just to be on the safe side. USES= cmake:noninja compiler:c++17-lang cpe eigen:3 jpeg llvm:build,run pkgconfig \ python:3.11 shebangfix tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender SHEBANG_FILES= scripts/modules/bl_i18n_utils/merge_po.py \ scripts/modules/bl_i18n_utils/utils_rtl.py \ scripts/modules/blend_render_info.py CMAKE_ARGS= -DCMAKE_CXX_STANDARD:INTEGER=17 \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VERSION}" .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif CMAKE_ON= WITH_AUDASPACE WITH_BOOST WITH_CLANG WITH_GHOST_X11 WITH_GHOST_XDND \ WITH_HYDRA WITH_IO_GPENCIL WITH_IO_PLY WITH_IO_STL WITH_IO_WAVEFRONT_OBJ \ WITH_LLVM WITH_OPENGL_BACKEND WITH_PYTHON WITH_SYSTEM_EIGEN3 \ WITH_SYSTEM_FREETYPE WITH_X11_XINPUT WITH_X11_XF86VMODE WITH_X11_XFIXES CMAKE_OFF= WITH_GHOST_SDL WITH_INSTALL_PORTABLE LLVM_STATIC WITH_MATERIALX \ WITH_MEM_JEMALLOC WITH_MEM_VALGRIND WITH_NANOVDB WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CXXFLAGS+= -DGLOG_USE_GLOG_EXPORT LDFLAGS+= -lexecinfo -Wl,--undefined-version SUB_FILES= blender PLIST_SUB+= VER=${DISTVERSION:R} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_IMPLIES= OPENEXR ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_LIB_DEPENDS= libglog.so:devel/glog CAMERATRACK_CMAKE_BOOL= WITH_LIBMV WITH_SYSTEM_GLOG CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USES= gnome COLLADA_USE= GNOME=libxml2 COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR_CPU CYCLES_IMPLIES= TBB CYCLES_LIB_DEPENDS= libgflags.so:devel/gflags CYCLES_CMAKE_BOOL= WITH_CYCLES WITH_CYCLES_LOGGING CYCLES_LDFLAGS= -L${LOCALBASE}/lib -lgflags CYCLES_EMBR_IMPLIES= CYCLES CYCLES_EMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLES_EMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLES_ONEAPI_LIB_DEPENDS= libtbb.so:devel/onetbb CYCLES_ONEAPI_CMAKE_BOOL= WITH_CYCLES_DEVICE_ONEAPI CYCLES_OSL_IMPLIES= CYCLES OPENEXR PUGIXML CYCLES_OSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLES_OSL_CMAKE_BOOL= WITH_CYCLES_OSL CYCLES_OSL_CMAKE_ON= -DOSL_SHADER_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/shaders" DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} DRACO_CMAKE_BOOL= WITH_DRACO EBOOL_LIB_DEPENDS= libgmp.so:math/gmp EBOOL_CMAKE_BOOL= WITH_GMP FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite.so:audio/flite FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LDFLAGS= -L${LOCALBASE}/lib -lflite -lflite_cmu_us_kal \ -lflite_cmulex -lflite_usenglish FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW3_CMAKE_BOOL= WITH_FFTW3 FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CMAKE_BOOL= WITH_FRIBIDI HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CMAKE_BOOL= WITH_HARFBUZZ HARU_LIB_DEPENDS= libhpdf.so:print/libharu HARU_CMAKE_BOOL= WITH_HARU HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_LIB_DEPENDS= libspnav.so:misc/libspnav INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= WITH_JACK WITH_JACK_DYNLOAD LZMA_CMAKE_BOOL= WITH_LZMA LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 LZO_CMAKE_BOOL= WITH_LZO WITH_SYSTEM_LZO MENU_USES= desktop-file-utils MOD_FLUID_IMPLIES= TBB MOD_FLUID_CMAKE_BOOL= WITH_MOD_FLUID MOD_OCEANSIM_IMPLIES= FFTW3 MOD_OCEANSIM_CMAKE_BOOL= WITH_MOD_OCEANSIM MOD_REMESH_CMAKE_BOOL= WITH_MOD_REMESH # Use iconv:wchar_t to force the usage of iconv from ports. # libboost_locale.so uses libiconv_open, while we only provide # iconv_open in 10.x+ NLS_USES= gettext-tools iconv:lib,wchar_t NLS_CMAKE_BOOL= WITH_INTERNATIONAL OPENAL_USES= openal:al,alut OPENAL_CMAKE_BOOL= WITH_OPENAL OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp.so:devel/yaml-cpp \ libexpat.so:textproc/expat2 \ libpystring.so:devel/pystring OPENCOLORIO_USES= minizip OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= WITH_IMAGE_OPENJPEG OPENMP_CMAKE_BOOL= WITH_OPENMP OPENPGL_LIB_DEPENDS= libopenpgl.so:graphics/openpgl OPENPGL_CMAKE_BOOL= WITH_CYCLES_PATH_GUIDING OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENVDB_IMPLIES= OPENEXR TBB OPENVDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENXR_LIB_DEPENDS= libopenxr_loader.so:graphics/openxr OPENXR_CMAKE_BOOL= WITH_XR_OPENXR POTRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace POTRACE_CMAKE_BOOL= WITH_POTRACE PUGIXML_LIB_DEPENDS= libpugixml.so:textproc/pugixml PUGIXML_CMAKE_BOOL= WITH_PUGIXML PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO WITH_PULSEAUDIO_DYNLOAD QUADRIFLOW_CMAKE_BOOL= WITH_QUADRIFLOW SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= WITH_SDL WITH_SDL_DYNLOAD SIMD_CMAKE_BOOL= WITH_CPU_SIMD SIMD_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-simd-off SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL= WITH_TBB THUMBNAILER_CMAKE_BOOL= WITH_BLENDER_THUMBNAILER TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace TRACE_CMAKE_BOOL= WITH_POTRACE USD_IMPLIES= TBB USD_BROKEN= require devel/tbb, which conflicts with devel/onetbb: \ https://github.com/PixarAnimationStudios/OpenUSD/issues/1650 USD_LIB_DEPENDS= libusd_usd.so:misc/usd USD_CMAKE_BOOL= WITH_USD VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc \ libSPIRV-Tools-shared.so:graphics/spirv-tools \ libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= WITH_VULKAN_BACKEND VULKAN_LDFLAGS= -lshaderc_shared -lSPIRV-Tools-shared WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols \ wayland>=1.12:graphics/wayland \ libdecor>0:x11-toolkits/libdecor WAYLAND_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon WAYLAND_CMAKE_BOOL= WITH_GHOST_WAYLAND WITH_GHOST_WAYLAND_LIBDECOR \ WITH_GHOST_WAYLAND_DYNLOAD WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= WITH_IMAGE_WEBP XF86VMODE_USE= XORG=xi,xxf86vm XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XINPUT_USE= XORG=xi XINPUT_CMAKE_BOOL= WITH_X11_XINPUT post-patch: ${REINPLACE_CMD} -e 's|%%LLVM_VER%%|${LLVM_VERSION}|g' \ ${WRKSRC}/intern/cycles/kernel/osl/CMakeLists.txt post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ --blender ${INSTALL_WRKSRC}/bin/blender \ --output ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${MV} ${STAGEDIR}/${PREFIX}/bin/blender ${STAGEDIR}/${PREFIX}/bin/blender-bin ${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKDIR}/blender ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender post-install-DRACO-on: # move draco pylib into site-packages ${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${INSTALL_LIB} ${INSTALL_WRKSRC}/lib/libextern_draco.so ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/libextern_draco.so @${RM} -R ${STAGEDIR}/${DATADIR}/${DISTVERSION:R}/python post-install-MENU-on: @-update-desktop-database -q .include diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index 3a1dd5d5f8b2..35f2f92f4d35 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -1,141 +1,142 @@ PORTNAME= cimg DISTVERSIONPREFIX= v. DISTVERSION= 3.4.0 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= graphics devel MAINTAINER= thierry@FreeBSD.org COMMENT= C++ Template Image Processing Library WWW= https://cimg.eu/ 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= GreycLab 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 \ libfftw3.so:math/fftw3 \ libopencv_core.so:graphics/opencv \ libGraphicsMagick.so:graphics/GraphicsMagick RUN_DEPENDS+= dcraw:graphics/dcraw 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/ctl/Makefile b/graphics/ctl/Makefile index 5841e9ef3c96..61906b44ae6d 100644 --- a/graphics/ctl/Makefile +++ b/graphics/ctl/Makefile @@ -1,39 +1,39 @@ PORTNAME= ctl DISTVERSIONPREFIX= ctl- DISTVERSION= 1.5.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics lang PKGNAMESUFFIX= -language PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 3871cd7717fd184d9fbb667730d35f1a89391f09.patch:-p1 # FreeBSD compatibility patch: https://github.com/ampas/CTL/pull/145 MAINTAINER= yuri@FreeBSD.org COMMENT= Color Transformation Language WWW= https://github.com/ampas/CTL LICENSE= AMPAS LICENSE_NAME= Academy of Motion Picture Arts and Sciences (A.M.P.A.S.) license LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libtiff.so:graphics/tiff USES= cmake:testing USE_GITHUB= yes GH_ACCOUNT= ampas GH_PROJECT= CTL CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= CTL_BUILD_TESTS CMAKE_TESTING_ON= CTL_BUILD_TESTS DATADIR= share/CTL DOCSDIR= share/doc/CTL OPTIONS_DEFINE= DOCS .include diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index de02b20efa17..6f030d6c903d 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -1,132 +1,132 @@ PORTNAME= darktable PORTVERSION= 4.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ MAINTAINER= dumbbell@FreeBSD.org COMMENT= Virtual lighttable and darkroom for photographers WWW= https://www.darktable.org/ 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>=0:textproc/p5-Pod-Parser \ po4a-translate:textproc/po4a \ xsltproc:textproc/libxslt \ bash:shells/bash LIB_DEPENDS= libavif.so:graphics/libavif \ libcolord-gtk.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libgphoto2.so:graphics/libgphoto2 \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libicui18n.so:devel/icu \ libImath.so:math/Imath \ libjasper.so:graphics/jasper \ libjson-glib-1.0.so:devel/json-glib \ libjxl_threads.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libOpenEXR.so:graphics/openexr \ libopenjp2.so:graphics/openjpeg \ libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake compiler:c++11-lib desktop-file-utils gl gnome jpeg \ llvm:15,build lua:54 perl5 pkgconfig sdl shebangfix sqlite \ tar:xz xorg USE_GCC= 12 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 SHEBANG_FILES= tools/*.sh CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1 -DUSE_PORTMIDI:BOOL=OFF CMAKE_BOOL+= BUILD_CMSTEST USE_AVIF USE_CAMERA_SUPPORT USE_HEIF \ USE_ISOBMFF USE_KWALLET USE_LUA USE_MAP USE_OPENEXR \ USE_OPENJPEG USE_WEBP RAWSPEED_ENABLE_LTO CFLAGS+= -fopenmp -I${LOCALBASE}/include/Imath CXXFLAGS+= -stdlib=libc++ LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} OPTIONS_DEFINE= DOCS GMIC GRAPHMAGICK LIBSECRET NLS PRINT TOOLS OPTIONS_DEFAULT= PRINT OPTIONS_SUB= yes GMIC_DESC= Support G'Mic-compressed LUT in lut3d LIBSECRET_DESC= Support libsecret as password backend TOOLS_DESC= Install additional scripts GMIC_LIB_DEPENDS= libgmic.so:graphics/gmic GMIC_CMAKE_BOOL= USE_GMIC GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_CMAKE_BOOL= USE_GRAPHICSMAGICK LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_CMAKE_BOOL= USE_LIBSECRET # 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 PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_BOOL= BUILD_PRINT TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool .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 # 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/devil/Makefile b/graphics/devil/Makefile index 23101bdc9b8f..429b5b9e31ec 100644 --- a/graphics/devil/Makefile +++ b/graphics/devil/Makefile @@ -1,74 +1,74 @@ PORTNAME= devil DISTVERSIONPREFIX= v DISTVERSION= 1.8.0 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform image library WWW= https://openil.sourceforge.net/ \ https://github.com/DentonW/DevIL LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake pkgconfig USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= DentonW GH_PROJECT= DevIL USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= * CMAKE_SOURCE_PATH= ${WRKSRC}/DevIL OPTIONS_DEFINE= JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH DOCS EXAMPLES OPTIONS_DEFAULT=JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH JPEG_USES= jpeg JPEG_CMAKE_OFF= -DIL_NO_JPG=1 JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_CMAKE_OFF= -DIL_NO_JP2=1 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CMAKE_OFF= -DIL_NO_LCMS=1 LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CMAKE_OFF= -DIL_NO_MNG=1 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_OFF= -DIL_NO_PNG=1 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DIL_NO_TIF=1 # With OPENEXR the library is not usable from plain C (instant segfault) # (but need to recheck with 1.8.0), also the detection is broken #OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr #OPENEXR_CMAKE_OFF= -DIL_NO_EXR=1 CMAKE_ARGS+= -DIL_NO_EXR=1 SQUISH_DESC= Enable DXT compression via libsquish SQUISH_LIB_DEPENDS= libsquish.so:graphics/squish SQUISH_CMAKE_BOOL= IL_USE_DXTC_SQUISH # Fails to build with NVTT, uses not installed header # (and NVTT is deprecated anyway) #NVTT_DESC= Enable NVidia texture tools support #NVTT_BROKEN= does not build #NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools #NVTT_CMAKE_BOOL= IL_USE_DXTC_NVIDIA CMAKE_ARGS+= -DIL_USE_DXTC_NVIDIA=0 post-install-DOCS-on: cd ${WRKSRC}/DevIL-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/DevIL && ${INSTALL_DATA} CREDITS NEWS README.md TODO ${STAGEDIR}${DOCSDIR}/ post-install-EXAMPLES-on: cd ${WRKSRC}/DevIL/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/graphics/enblend/Makefile b/graphics/enblend/Makefile index 086f65d2995a..098658da135b 100644 --- a/graphics/enblend/Makefile +++ b/graphics/enblend/Makefile @@ -1,52 +1,52 @@ PORTNAME= enblend PORTVERSION= 4.2 -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= graphics MASTER_SITES= SF/enblend/enblend-enfuse/enblend-enfuse-${PORTVERSION} DISTNAME= enblend-enfuse-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tool for image blending with multiresolution splines WWW= https://enblend.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= help2man:misc/help2man \ ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libtiff.so:graphics/tiff \ libvigraimpex.so:graphics/vigra \ libgsl.so:math/gsl \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png USES= compiler:features gmake jpeg localbase pkgconfig USE_CXXSTD= c++14 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share PLIST_FILES= bin/enblend bin/enfuse share/man/man1/enblend.1.gz share/man/man1/enfuse.1.gz PORTDOCS= AUTHORS NEWS README OPTIONS_DEFINE= DOCS .include .if ${COMPILER_TYPE} == gcc # GCC 4.2 has some problems, see # http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a # Clang, on 10.0-RELEASE is fine. USE_GCC= yes .else CXXFLAGS+= -Wno-c++11-extensions .endif post-patch: @${REINPLACE_CMD} -e '/a LaTeX/d' ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/exrtools/Makefile b/graphics/exrtools/Makefile index de36ba2c7413..a0b0738109ab 100644 --- a/graphics/exrtools/Makefile +++ b/graphics/exrtools/Makefile @@ -1,28 +1,28 @@ PORTNAME= exrtools DISTVERSION= 0.4 -PORTREVISION= 35 +PORTREVISION= 36 CATEGORIES= graphics MASTER_SITES= http://scanline.ca/exrtools/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Utilities for manipulating with HDR images in OpenEXR format WWW= http://scanline.ca/exrtools/ LICENSE= GPLv2 LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png USES= compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig GNU_CONFIGURE= yes post-patch: @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/src/exrnormalize.c \ ${WRKSRC}/src/exrpptm.c \ ${WRKSRC}/src/exrstats.c .include diff --git a/graphics/fyre/Makefile b/graphics/fyre/Makefile index 4ea497176071..1ff148ab8e80 100644 --- a/graphics/fyre/Makefile +++ b/graphics/fyre/Makefile @@ -1,42 +1,42 @@ PORTNAME= fyre PORTVERSION= 1.0.1 -PORTREVISION= 27 +PORTREVISION= 28 CATEGORIES= graphics MASTER_SITES= http://releases.navi.cx/fyre/ MAINTAINER= ports@FreeBSD.org COMMENT= Chaos map rendering system with GTK-2 interface WWW= https://fyre.navi.cx/ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual USES= compiler:c++11-lang desktop-file-utils gmake gnome pkgconfig \ shared-mime-info tar:bzip2 USE_GNOME= libglade2 GNU_CONFIGURE= yes OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPENEXR GNET DOCS OPTIONS_DEFAULT= OPENEXR GNET OPENEXR_CONFIGURE_ENABLE= openexr OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr GNET_DESC= Networking support via GNet GNET_CONFIGURE_ENABLE= gnet GNET_LIB_DEPENDS= libgnet-2.0.so:net/gnet2 .include .if ${ARCH} == "i386" && !empty(PORT_OPTIONS:MOPT_CFLAGS) CFLAGS+= -march=native -O3 -ffast-math -fomit-frame-pointer .endif post-patch: @${REINPLACE_CMD} -e '/-O3/s|^|#|g' ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 80aa266fdfd1..3b1485762a77 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,149 +1,149 @@ PORTNAME= gegl DISTVERSION= 0.4.48 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GIMP MAINTAINER= gnome@FreeBSD.org COMMENT= Graph based image processing framework WWW= https://gegl.org/ LICENSE= BSD3CLAUSE GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libjson-glib-1.0.so:devel/json-glib \ libnsgif.so:graphics/libnsgif \ libpng.so:graphics/png USES= cpe gettext gnome jpeg localbase:ldflags meson pkgconfig shebangfix \ uniquefiles tar:xz .if exists(/usr/include/omp.h) USES+= compiler:c++14-lang .else USES+= compiler:gcc-c++11-lib .endif USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes SHEBANG_FILES= tools/xml_insert.sh MESON_ARGS= -Ddocs=false \ -Dgi-docgen=disabled \ -Dworkshop=false \ -Dintrospection=true \ -Dlensfun=disabled \ -Dlibjpeg=enabled \ -Dlibpng=enabled \ -Dmaxflow=disabled \ -Dmrg=disabled \ -Dpygobject=disabled \ -Dlua=disabled \ ${MESON_ARGS_${ARCH}} MESON_ARGS_armv6= -Dopenmp=disabled MESON_ARGS_armv7= -Dopenmp=disabled GEGL_SHLIB= 0.447.1 GEGL_VER= 0.4 PLIST_SUB+= GEGL_SHLIB=${GEGL_SHLIB} GEGL_VER=${GEGL_VER} OPTIONS_DEFINE= CAIRO ENSCRIPT FFMPEG GEXIV2 GRAPHVIZ JASPER LCMS2 LIBRSVG2 \ OPENEXR PANGO PIXBUF POPPLER RAW SDL SPIRO TIFF UMFPACK V4L \ VAPI WEBP OPTIONS_DEFAULT= CAIRO ENSCRIPT FFMPEG GEXIV2 GRAPHVIZ JASPER LCMS2 LIBRSVG2 \ OPENEXR PANGO PIXBUF POPPLER RAW SDL SPIRO TIFF UMFPACK V4L \ VAPI WEBP OPTIONS_EXCLUDE_i386= GEXIV2 OPTIONS_SUB= yes ENSCRIPT_DESC= Enscript support GEXIV2_DESC= EXIF and IPTC metadata support via gexiv2 SPIRO_DESC= Spiro support UMFPACK_DESC= UMFpack support CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= cairo ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= libav GEXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GEXIV2_MESON_ENABLED= gexiv2 GRAPHVIZ_BUILD_DEPENDS= dot:graphics/graphviz GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz GRAPHVIZ_MESON_ENABLED= graphviz JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_MESON_ENABLED= jasper LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBRSVG2_IMPLIES= CAIRO LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= librsvg OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_MESON_ENABLED= openexr PANGO_IMPLIES= CAIRO PANGO_USE= GNOME=pango PANGO_MESON_ENABLED= pango pangocairo PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf POPPLER_IMPLIES= CAIRO POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= libraw SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_ENABLED= sdl2 SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_MESON_ENABLED= libspiro TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff UMFPACK_LIB_DEPENDS= libumfpack.so:math/suitesparse-umfpack UMFPACK_MESON_ENABLED= umfpack V4L_BUILD_DEPENDS= libv4l>0:multimedia/libv4l \ v4l_compat>=0:multimedia/v4l_compat V4L_RUN_DEPENDS= libv4l>0:multimedia/libv4l V4L_MESON_ENABLED= libv4l libv4l2 V4L_VARS= LICENSE+=LGPL20+ VAPI_USES= vala:build VAPI_MESON_ENABLED= vapigen WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp .include .if defined(WITH_DEBUG) LDFLAGS+= -lexecinfo .endif .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" ARM="@comment " .elif ${ARCH} == "armv6" || ${ARCH} == "armv7" PLIST_SUB+= AMD64="@comment " ARM="" .else PLIST_SUB+= AMD64="@comment " ARM="@comment " .endif .include diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile index c7a584f37ddd..19f444ac87d7 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -1,137 +1,137 @@ PORTNAME= gimp DISTVERSION= 2.10.38 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} PKGNAMESUFFIX= -app MAINTAINER= gnome@FreeBSD.org COMMENT= GNU Image Manipulation Program WWW= https://www.gimp.org/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes LIB_DEPENDS= libasound.so:audio/alsa-lib \ libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgegl-0.4.so:graphics/gegl \ libgexiv2.so:graphics/gexiv2 \ libharfbuzz.so:print/harfbuzz \ libjson-c.so:devel/json-c \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libpng.so:graphics/png \ libpoppler-glib.so:graphics/poppler-glib \ libtiff.so:graphics/tiff \ ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind LIB_DEPENDS_amd64= libunwind.so:devel/libunwind LIB_DEPENDS_armv7= libunwind.so:devel/libunwind LIB_DEPENDS_i386= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes USES= cpe compiler:c++14-lang desktop-file-utils gettext gmake gnome \ jpeg libtool localbase pkgconfig shebangfix tar:bzip2 xorg CPE_VENDOR= gimp CPE_PRODUCT= gimp USE_GNOME+= cairo gtk20 intltool librsvg2 USE_LDCONFIG= yes USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/gimp \ --with-bug-report-url="https://bugs.freebsd.org/" \ --disable-gtk-doc \ --without-linux-input \ --with-print \ --without-gudev \ --enable-default-binary \ --disable-gimp-console \ --disable-python \ --without-appdata-test \ --with-desktop-dir=${PREFIX}/share \ --docdir=${PREFIX}/share/doc/gimp \ --with-icc-directory=${LOCALBASE}/share/color/icc \ --without-webkit \ --enable-default-binary CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread INSTALL_TARGET= install-strip .if !defined(XAUTHORITY) TEST_ENV= XAUTHORITY=${HOME}/.Xauthority .endif TEST_TARGET= check LIBS+= -lexecinfo -lm PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E} OPTIONS_DEFINE= AALIB GHOSTSCRIPT HEIF JXL LIBMNG OPENEXR OPENJPEG \ SIMD WEBP WMF OPTIONS_DEFAULT= AALIB HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF OPTIONS_SUB= yes AALIB_DESC= Ascii-art Plug-in OPENJPEG_DESC= Enhanced JPEG (JPEG 2000) graphics support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_WITH= aa GHOSTSCRIPT_USES= ghostscript GHOSTSCRIPT_CONFIGURE_WITH= gs HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_CONFIGURE_WITH= libheif JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CONFIGURE_WITH= jpegxl LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CONFIGURE_WITH= libmng OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CONFIGURE_WITH= openexr OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_WITH= jpeg2000 SIMD_CONFIGURE_OFF= --disable-altivec \ --disable-mmx \ --disable-sse WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_WITH= webp WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libwmf.so:graphics/libwmf WMF_CONFIGURE_WITH= wmf .include post-patch: @${REINPLACE_CMD} -e 's|%%GIMP_LIBS%%|${GIMP_LIBS}|; \ s|%%GIMP_THUMB_LIBS%%|${GIMP_THUMB_LIBS}|; \ s|%%GIMP_UI_LIBS%%|${GIMP_UI_LIBS}|' \ ${WRKSRC}/plug-ins/pygimp/Makefile.in @${REINPLACE_CMD} \ -e 's|x86_64|amd64|g' \ ${WRKSRC}/configure .include diff --git a/graphics/gmic/Makefile b/graphics/gmic/Makefile index 9f59f8a9f31e..8eba63a45a6d 100644 --- a/graphics/gmic/Makefile +++ b/graphics/gmic/Makefile @@ -1,49 +1,49 @@ PORTNAME= gmic DISTVERSION= 3.1.6 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= https://gmic.eu/files/source/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for image processing WWW= https://gmic.eu/ LICENSE= CeCILL LICENSE_NAME= CeCILL LICENSE_FILE= ${WRKSRC}/../COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_i386= error: "c++ crashes, clang-5 and 6 fail: undefined reference to `__atomic_load'" .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= gimptool-2.0:graphics/gimp-app LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libGraphicsMagick++.so:graphics/GraphicsMagick \ libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang gettext-runtime gmake jpeg localbase:ldflags pkgconfig xorg USE_LDCONFIG= yes USE_XORG= x11 xau xcb xdmcp WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC_SUBDIR= src # because of makefile issues, see https://github.com/dtschump/gmic/issues/405 MAKE_JOBS_UNSAFE= yes # see https://github.com/dtschump/gmic/issues/406 ALL_TARGET= lib cli # cli is bundled here until https://github.com/dtschump/gmic/issues/407 is fixed, afvter which is would be moved to gmic-cli PORTSCOUT= limit:[0-9]\..* # not v.220 and similar post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgmic.so.* .include diff --git a/graphics/gstreamer1-plugins-openexr/Makefile b/graphics/gstreamer1-plugins-openexr/Makefile index 3e63d57ad993..b916f31f76fc 100644 --- a/graphics/gstreamer1-plugins-openexr/Makefile +++ b/graphics/gstreamer1-plugins-openexr/Makefile @@ -1,20 +1,20 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics COMMENT= GStreamer OpenExr codec plugin LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath-3_1.so:math/Imath USES+= compiler:c++11-lang CPPFLAGS+= -DInt64=uint64_t MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= bad GST_PLUGIN= openexr .include "${MASTERDIR}/Makefile" diff --git a/graphics/hdr_tools/Makefile b/graphics/hdr_tools/Makefile index 26c3f313ee41..9415af13f543 100644 --- a/graphics/hdr_tools/Makefile +++ b/graphics/hdr_tools/Makefile @@ -1,44 +1,44 @@ PORTNAME= hdr_tools PORTVERSION= 0.0.2010.11.23 # unspecified by the author, so use the date -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= graphics MASTER_SITES= http://ttic.uchicago.edu/~cotter/projects/hdr_tools/archives/ \ http://freebsd.nsu.ru/distfiles/ DISTNAME= hdr_src MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line tools for creating and manipulating HDR images WWW= https://ttic.uchicago.edu/~cotter/projects/hdr_tools/ LICENSE= GPLv3 LIB_DEPENDS= libpopt.so:devel/popt \ libtiff.so:graphics/tiff \ libOpenEXR.so:graphics/openexr \ USES= compiler:c++11-lang gmake magick:6 pkgconfig tar:tgz NO_WRKSUBDIR= yes PROGRAMS= hdr_adjust hdr_convert hdr_create hdr_denoise hdr_fix_ca \ hdr_squish PLIST_FILES= ${PROGRAMS:S,^,bin/,} .include .if ${MACHINE_CPU:Msse2} CXXFLAGS+= -msse2 -mfpmath=sse .endif .if ${COMPILER_FEATURES:Mopenmp} CXXFLAGS+= -fopenmp .endif post-patch: @${REINPLACE_CMD} -e 's,RGBColorspace,s&,' ${WRKSRC}/image.cc do-install: ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} \ ${STAGEDIR}/${PREFIX}/bin .include diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index 872f58be4171..c9bdc24ac00e 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -1,61 +1,61 @@ PORTNAME= hugin DISTVERSION= 2023.0.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} MAINTAINER= fuz@FreeBSD.org COMMENT= GUI for Panorama Tools, to stitch panoramic images WWW= http://hugin.sourceforge.net/ LICENSE= GPLv2 LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libboost_thread.so:devel/boost-libs \ liblcms2.so:graphics/lcms2 \ libexiv2.so:graphics/exiv2 \ libfftw3.so:math/fftw3 \ libpano13.so:graphics/libpano13 \ libvigraimpex.so:graphics/vigra \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libflann.so:math/flann \ liblz4.so:archivers/liblz4 # gmake is really needed at _runtime_. Do not remove it from this list. RUN_DEPENDS= enblend>=4.1.4:graphics/enblend \ exiftool:graphics/p5-Image-ExifTool \ gmake:devel/gmake USES= cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \ jpeg pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg USE_GL= gl glew glu glut USE_WX= 3.0+ USE_XORG= x11 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}.0 SHEBANG_FILES= src/hugin_script_interface/hpi.py \ src/hugin_script_interface/plugins/*.py \ src/hugin_script_interface/plugins-dev/*.py CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} CFLAGS+= -I${LOCALBASE}/include/Imath OPTIONS_DEFINE= PANOMATIC AUTOPANOSIFTC PYTHON OPTIONS_DEFAULT= PANOMATIC PYTHON OPTIONS_SUB= yes PANOMATIC_DESC= Install graphics/panomatic PANOMATIC_RUN_DEPENDS= panomatic:graphics/panomatic AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c AUTOPANOSIFTC_RUN_DEPENDS= autopano:graphics/autopano-sift-c PYTHON_DESC= Python Scripting Interface PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_USES= python PYTHON_CMAKE_ON= -DBUILD_HSI=ON PYTHON_CMAKE_OFF= -DBUILD_HSI=OFF .include diff --git a/graphics/kf5-kimageformats/Makefile b/graphics/kf5-kimageformats/Makefile index 8e062f603460..482c2b3a8726 100644 --- a/graphics/kf5-kimageformats/Makefile +++ b/graphics/kf5-kimageformats/Makefile @@ -1,42 +1,42 @@ PORTNAME= kimageformats DISTVERSION= ${KDE_FRAMEWORKS_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 library providing support for additional image formats LIB_DEPENDS= libImath.so:math/Imath USES= cmake compiler:c++11-lib kde:5 pkgconfig qt:5 tar:xz USE_KDE= archive \ ecm:build USE_QT= core gui printsupport widgets \ buildtools:build qmake:build CFLAGS+= -I${LOCALBASE}/include/Imath OPTIONS_DEFINE= AVIF JXL HEIF OPENEXR RAW OPTIONS_DEFAULT= AVIF JXL HEIF OPENEXR RAW OPTIONS_SUB= yes AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libavif JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CMAKE_BOOL= KIMAGEFORMATS_JXL HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_CMAKE_BOOL= KIMAGEFORMATS_HEIF OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libraw post-patch: ${REINPLACE_CMD} s,Imf::Int64,uint64_t, \ ${WRKSRC}/src/imageformats/exr.cpp .include diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile index b73f4ec3f4e9..34976058a9f1 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,80 +1,81 @@ PORTNAME= krita DISTVERSION= 5.2.6 +PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Sketching and painting program WWW= https://krita.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>=1.65:devel/boost-libs \ immer>=0:devel/immer \ lager>=0:devel/lager \ zug>=0:devel/zug BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= xsimd>=8.1:devel/xsimd BUILD_DEPENDS_amd64= xsimd>=8.1:devel/xsimd LIB_DEPENDS= libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libX11.so:x11/libX11 \ libexiv2.so:graphics/exiv2 \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-c.so:devel/json-c \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip@qt5 \ libtiff.so:graphics/tiff \ libturbojpeg.so:graphics/libjpeg-turbo \ libunibreak.so:textproc/libunibreak \ libwebp.so:graphics/webp USES= cmake compiler:c++11-lib desktop-file-utils eigen:3 gettext \ gnome jpeg kde:5 localbase:ldflags mlt:7 pkgconfig python qt:5 \ sdl shared-mime-info tar:xz xorg USE_GNOME= glib20 USE_KDE= completion config coreaddons crash guiaddons i18n \ itemmodels itemviews libkdcraw service widgetsaddons \ windowsystem ecm:build USE_QT= concurrent core dbus gui network \ printsupport sql svg widgets x11extras xml \ buildtools:build qmake:build testlib:build \ sql-sqlite3:run USE_SDL= sdl2 USE_XORG= ice sm xcb xext xi # Make Cmake use the python we installed dependencies for. CMAKE_ARGS= -DPython_EXECUTABLE:STRING=${PYTHON_CMD} PLIST_SUB= SHLIB_VER=19.0.0 \ SHLIB_SHVER=19 OPTIONS_DEFINE= PYTHON OPENEXR OPTIONS_DEFAULT= PYTHON OPENEXR OPTIONS_SUB= yes OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libKSeExpr.so:graphics/kseexpr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_USES= pyqt:5 PYTHON_USE= PYQT=pyqt5,sip,pysip PYTHON_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PyQt5 .include diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile index 8051ac918ce8..68c007d02c41 100644 --- a/graphics/libjxl/Makefile +++ b/graphics/libjxl/Makefile @@ -1,66 +1,67 @@ PORTNAME= libjxl DISTVERSIONPREFIX= v DISTVERSION= 0.11.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= JPEG XL reference encoder/decoder WWW= https://jpeg.org/jpegxl/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbrotlienc.so:archivers/brotli \ libhwy.so:devel/highway TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lib cpe localbase:ldflags pkgconfig shared-mime-info CPE_VENDOR= ${PORTNAME}_project USE_GITHUB= yes USE_LDCONFIG= yes GH_TUPLE= jbeich:skcms:42030a7:skcms/third_party/skcms \ libjxl:testdata:ff8d743:testdata/testdata \ webmproject:sjpeg:e5ab130:sjpeg/third_party/sjpeg \ ${NULL} CMAKE_ON= JPEGXL_ENABLE_PLUGINS CMAKE_OFF= ${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/} CMAKE_OFF+= ${OpenGL GLUT:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} # sjpeg CMAKE_OFF+= ${CMAKE_TESTING_ON} LDFLAGS+= -Wl,--as-needed # brotlicommon, OPENEXR/PNG deps PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE= GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG OPTIONS_DEFAULT=GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG OPTIONS_EXCLUDE_i386= LTO # ConvolutionWithTranspose(): JXL_CHECK: out->xsize() == in.ysize() OPTIONS_EXCLUDE_riscv64= LTO # bug 262871 OPTIONS_SUB= yes GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_GIF JPEG_USES= jpeg JPEG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_JPEG JPEG_CMAKE_BOOL_OFF+= JPEGXL_ENABLE_JPEGLI_LIBJPEG # XXX WITH_JPEG8, libmap.conf(5) LTO_CMAKE_BOOL= CMAKE_INTERPROCEDURAL_OPTIMIZATION LTO_CMAKE_ON= -DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc MANPAGES_USES= python:build MANPAGES_CMAKE_BOOL= JPEGXL_ENABLE_MANPAGES OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL= JPEGXL_ENABLE_OPENEXR PIXBUF_USES= gnome PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_CMAKE_BOOL= JPEGXL_ENABLE_PLUGIN_GDKPIXBUF PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PNG post-patch: @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \ ${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer .include diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index f1843eccbdd4..0cd49cc9e186 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -1,69 +1,69 @@ PORTNAME= luminance-hdr DISTVERSION= 2.6.1.1 -PORTREVISION= 27 +PORTREVISION= 28 CATEGORIES= graphics MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Complete open source solution for HDR photography WWW= https://qtpfsgui.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libImath.so:math/Imath \ libtiff.so:graphics/tiff \ libraw_r.so:graphics/libraw \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libOpenEXR.so:graphics/openexr \ libboost_date_time.so:devel/boost-libs CFLAGS+= -I${LOCALBASE}/include/Imath USES= cmake compiler:c++14-lang desktop-file-utils \ eigen:3 jpeg pkgconfig qt:5 tar:bzip2 USE_QT= concurrent core declarative gui location network \ printsupport sql svg widgets xml \ buildtools:build linguisttools:build qmake:build USE_CXXSTD= c++14 OPTIONS_DEFINE= CFITSIO DOCS HELPBROWSER OPTIONS_DEFAULT= CFITSIO OPTIONS_DEFAULT_aarch64= HELPBROWSER OPTIONS_DEFAULT_amd64= HELPBROWSER OPTIONS_DEFAULT_i386= HELPBROWSER CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio HELPBROWSER_DESC= Build help browser (requires QtWebEngine) HELPBROWSER_USE= QT=webchannel,webengine HELPBROWSER_CMAKE_BOOL= WITH_HELPBROWSER .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .endif .include post-patch: # Do not install yet another copy of GPL (we use license framework instead) # and fix installation path for docs (but not for internal help files) @${REINPLACE_CMD} -e '/LICENSE/d ; \ /#info files/s,share/luminance-hdr/doc,${DOCSDIR_REL},' \ ${WRKSRC}/CMakeLists.txt # Point to the right location for program where to look for GPL text @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ s,share/luminance-hdr/doc,share/licenses/${PKGNAME},' \ ${WRKSRC}/src/UI/UMessageBox.cpp post-patch-HELPBROWSER-off: @${REINPLACE_CMD} -e 's,name="documentationAction">,& \ false,' \ ${WRKSRC}/src/MainWindow/MainWindow.ui .include diff --git a/graphics/mandelbulber/Makefile b/graphics/mandelbulber/Makefile index 56bc4729f6bf..837165af016c 100644 --- a/graphics/mandelbulber/Makefile +++ b/graphics/mandelbulber/Makefile @@ -1,57 +1,58 @@ PORTNAME= mandelbulber DISTVERSION= 2.32 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D Mandelbrot fractal renderer WWW= https://mandelbulber.com/ \ https://github.com/buddhi1980/mandelbulber2 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgsl.so:math/gsl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ liblzo2.so:archivers/lzo2 \ libOpenEXR.so:graphics/openexr BUILD_DEPENDS= ${LOCALBASE}/include/stb/stb_image.h:devel/stb USE_GITHUB= yes GH_ACCOUNT= buddhi1980 GH_PROJECT= ${PORTNAME}2 USES= cmake compiler:c++11-lang gnome jpeg localbase:ldflags \ pkgconfig qt:5 USE_QT= core widgets network gui multimedia testlib concurrent \ declarative qmake:build buildtools:build uitools:build CMAKE_SOURCE_PATH= ${WRKSRC}/mandelbulber2/cmake PORTDOCS= CONTRIBUTING.md README.md RESOURCES.md PORTDATA= * DATADIR= ${PREFIX}/share/${PORTNAME}2 OPTIONS_DEFINE= OPENCL OPENMP DOCS OPTIONS_EXCLUDE= OPENMP # not properly supported yet OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl post-extract: @${RM} -rf ${WRKSRC}/mandelbulber2/third-party post-patch-OPENMP-off: @${REINPLACE_CMD} -e 's|-fopenmp||' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt post-patch-OPENCL-off: @${REINPLACE_CMD} -e '/find_package.*OpenCL/ d' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile index 569dbccad1b3..c2421d3331d6 100644 --- a/graphics/ogre3d/Makefile +++ b/graphics/ogre3d/Makefile @@ -1,101 +1,101 @@ PORTNAME= ogre3d DISTVERSIONPREFIX= v DISTVERSION= 1.11.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics devel MAINTAINER= oliver@FreeBSD.org COMMENT= Scene-oriented, flexible 3D engine written in C++ WWW= https://www.ogre3d.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libzzip.so:devel/zziplib \ libfreetype.so:print/freetype2 CONFLICTS= ogre3d19 USES= cmake compiler:c++11-lib pkgconfig sdl xorg USE_LDCONFIG= yes USE_SDL= sdl2 USE_XORG= x11 xaw xext xrandr xt USE_GITHUB= yes GH_ACCOUNT= OGRECave GH_PROJECT= ogre PORTDOCS= * CMAKE_ON= OGRE_CONFIG_ENABLE_ZIP CMAKE_OFF= OGRE_INSTALL_SAMPLES_SOURCE OPTIONS_DEFINE= CSHARP DOCS FREEIMAGE JAVA OPENEXR OPENGL PROFILE \ PYTHON OPTIONS_DEFAULT= FREEIMAGE OPENGL OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CMAKE_BOOL= OGRE_INSTALL_DOCS FREEIMAGE_DESC= Build FreeImage codec FREEIMAGE_CMAKE_BOOL= OGRE_BUILD_PLUGIN_FREEIMAGE FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage OPENEXR_USE= XORG=ice OPENEXR_CMAKE_BOOL= OGRE_BUILD_PLUGIN_EXRCODEC OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENGL_CMAKE_BOOL= OGRE_BUILD_RENDERSYSTEM_GL3PLUS \ OGRE_BUILD_RENDERSYSTEM_GL \ OGRE_BUILD_RENDERSYSTEM_GLES2 OPENGL_USES= gl OPENGL_USE= XORG=sm,ice GL=gl,glu PROFILE_CMAKE_BOOL= OGRE_PROFILING CSHARP_DESC= Build Csharp bindings CSHARP_CMAKE_BOOL= OGRE_BUILD_COMPONENT_CSHARP CSHARP_BUILD_DEPENDS= swig:devel/swig JAVA_CMAKE_BOOL= OGRE_BUILD_COMPONENT_JAVA JAVA_BUILD_DEPENDS= swig:devel/swig JAVA_VARS= CMAKE_ARGS+=-DJAVA_HOME=${JAVA_HOME} JAVA_USE= JAVA=yes JAVA_BROKEN= error: incompatible types: SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t__iterator cannot be converted to Iterator PYTHON_CMAKE_BOOL= OGRE_BUILD_COMPONENT_PYTHON PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_USES= python CXXFLAGS+= -DNDEBUG -I${LOCALBASE}/include -I${LOCALBASE}/include/Imath post-patch: @${REINPLACE_CMD} -e '\ s,defined(__x86_64__),& || defined(__amd64__),' \ ${WRKSRC}/OgreMain/include/OgrePlatform.h post-patch-PYTHON-on: @${REINPLACE_CMD} -e 's/\(Python_ADDITIONAL_VERSIONS\) [0-9\.]*/\$1 ${PYTHON_VER}/' \ ${WRKSRC}/CMake/Dependencies.cmake @${REINPLACE_CMD} -e "s/dist-packages/site-packages/" \ ${WRKSRC}/Components/Python/CMakeLists.txt post-build-DOCS-on: ${MAKE_CMD} -C ${BUILD_WRKSRC} OgreDoc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in README.md LICENSE AUTHORS ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} .endfor post-install-JAVA-on: @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/OGRE/java ${INSTALL_DATA} ${BUILD_WRKSRC}/java/Ogre-${DISTVERSION}.jar \ ${STAGEDIR}${LOCALBASE}/share/OGRE/java ${INSTALL_LIB} ${BUILD_WRKSRC}/java/libs/libOgreJNI.so \ ${STAGEDIR}${LOCALBASE}/lib/OGRE .include diff --git a/graphics/opencolorio-tools/Makefile b/graphics/opencolorio-tools/Makefile index 2bfd9bee31bf..dc997b92eea9 100644 --- a/graphics/opencolorio-tools/Makefile +++ b/graphics/opencolorio-tools/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -tools COMMENT= Tools to work with OpenColorIO profiles MASTERDIR= ${.CURDIR}/../opencolorio OPTIONS_EXCLUDE= DOCS OCIO_SLAVE= tools .include "${MASTERDIR}/Makefile" diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index 33cde277675e..5864be0c4dbb 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -1,119 +1,119 @@ PORTNAME= opencolorio DISTVERSIONPREFIX= v DISTVERSION= 2.3.2 # PORTREVISION must be set with ?= so as not to stomp over # py-opencolorio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= Complete color management solution WWW= https://www.opencolorio.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libImath.so:math/Imath \ libpystring.so:devel/pystring \ libyaml-cpp.so:devel/yaml-cpp USES= alias cmake compiler:c++14-lang localbase:ldflags \ pkgconfig minizip:ng USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenColorIO #GH_TUPLE+= madler:zlib:v1.2.13:zlib/ext/dist/zlib CMAKE_OFF= OCIO_BUILD_JAVA OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= DOCS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= doxygen>0:devel/doxygen DOCS_CMAKE_BOOL= OCIO_BUILD_DOCS .include .if (defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}) CMAKE_ON+= OCIO_USE_SSE2 .else CMAKE_OFF+= OCIO_USE_SSE2 .endif .if ${PORT_OPTIONS:MDOCS} # master and pymodule use these # DOCS needs to be enabled for python docstrings to be generated # py module can still be used without BUILD_DEPENDS+= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}breathe>=0:devel/py-breathe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0:textproc/py-recommonmark@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx_press_theme>=0:textproc/py-sphinx_press_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-tabs>0:textproc/py-sphinx-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} .endif .if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools LIB_DEPENDS+= liblcms2.so:graphics/lcms2 \ libOpenImageIO.so:graphics/openimageio \ libOpenEXR.so:graphics/openexr USES+= gl xorg USE_GL= gl glu glut glew opengl USE_XORG= xi xmu CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=14 CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS CMAKE_OFF+= BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON LDFLAGS+= -lOpenImageIO_Util PLIST= ${PKGDIR}/pkg-plist-tools .elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule BUILD_DEPENDS+= pybind11>0:devel/pybind11 LIB_DEPENDS+= libOpenColorIO.so:graphics/opencolorio USES+= python USE_PYTHON= concurrent flavors CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} CMAKE_ON+= OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS LDFLAGS+= -lOpenColorIO PLIST= ${PKGDIR}/pkg-plist-pyglue # concurrent allows docs to not collide with master port .else # master port # we enable pyglue in master port. This makes the python module # available when generating docs, we leave the python header in place # but only install the python module with the py-opencolorio port # this makes it easier to allow multiple python versions installed BUILD_DEPENDS+= pybind11>0:devel/pybind11 USES+= python:build xorg USE_LDCONFIG= yes USE_XORG= xi xmu CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} CMAKE_ON+= BUILD_SHARED_LIBS OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS PLIST= ${PKGDIR}/pkg-plist ${PKGDIR}/pkg-plist-docs .endif post-install: @cd ${STAGEDIR}${PREFIX} && ${RM} -r share/ocio .if defined(OCIO_SLAVE) @cd ${STAGEDIR}${PREFIX} && ${RM} -r include lib/cmake lib/libOpenColorIO*.a libdata share/OpenColorIO .else @cd ${STAGEDIR}${PREFIX} && ${RM} -r lib/python* .endif post-install-DOCS-on: @cd ${STAGEDIR}${PREFIX}/share/doc && ${MV} OpenColorIO ${PKGNAMEPREFIX}${PORTNAME} .include diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index e6391f41b582..ad1d917a1ea7 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,253 +1,253 @@ PORTNAME= opencv DISTVERSION= 4.9.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= desktop@FreeBSD.org COMMENT= Open Source Computer Vision library WWW= https://www.opencv.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libhdf5.so:science/hdf5 USES= cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= WeChatCV:wechat GH_PROJECT= opencv_contrib:contrib \ ade:ade \ opencv_3rdparty:extra_mod_3rdparty_boost_descr \ opencv_3rdparty:extra_mod_3rdparty_vgg \ opencv_3rdparty:wechat \ opencv_3rdparty:face \ opencv_3rdparty:ippicv GH_TAGNAME= v0.1.1f:ade \ 34e4206aef44d50e6bbcd0ab06354b52e7466d26:extra_mod_3rdparty_boost_descr \ fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d:extra_mod_3rdparty_vgg \ a8b69ccc738421293254aec5ddb38bd523503252:wechat \ 8afa57abc8229d611c4937165d20e2a2d9fc5a12:face \ a56b6ac6f030c312b2dce17430eef13aed9af274:ippicv CMAKE_ON= OPENCV_GENERATE_PKGCONFIG \ OPENCV_SKIP_CMAKE_CXX_STANDARD CMAKE_OFF= OPENCV_GENERATE_SETUPVARS \ BUILD_opencv_python2 \ BUILD_TESTS CMAKE_OFF+= WITH_OBSENSOR # linux/uvcvideo.h is included when WITH_OBSENSOR is enabled CMAKE_ARGS= -DOPENCV_EXTRA_MODULES_PATH="${WRKSRC}/contrib/modules" DATADIR= ${PREFIX}/share/${PORTNAME}4 PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL \ PATENTED PROTOBUF PYTHON TBB TESSERACT OPTIONS_GROUP= GUI IMAGE VIDEO OPTIONS_GROUP_GUI= GTK3 VTK OPTIONS_GROUP_IMAGE= GPHOTO2 JPEG OGRE3D OPENEXR PNG TIFF OPTIONS_GROUP_VIDEO= DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS NOBLAS OPTIONS_RADIO= JPEG2K OPTIONS_RADIO_JPEG2K= JASPER OPENJPEG OPTIONS_DEFAULT= EIGEN GDAL GDCM OPENCL PROTOBUF PYTHON \ DC1394 GSTREAMER V4L VULKAN WEBP \ GPHOTO2 JPEG OPENEXR PNG TIFF \ OPENBLAS \ OPENJPEG OPTIONS_SUB= yes # Normal options (EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB) EIGEN_DESC= Add Eigen v3 Support, builds sfm modules EIGEN_CMAKE_BOOL= WITH_EIGEN EIGEN_LIB_DEPENDS= libgflags.so:devel/gflags \ libglog.so:devel/glog \ libceres.so:math/ceres-solver EIGEN_USES= eigen:3 GDAL_DESC= Add Geospatial Data Abstraction Library Support GDAL_CMAKE_BOOL= WITH_GDAL GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDCM_DESC= Add Open source DICOM library Support GDCM_CMAKE_BOOL= WITH_GDCM GDCM_LIB_DEPENDS= libgdcmMSFF.so:devel/gdcm HARDENING_DESC= Enables Build Hardening HARDENING_CMAKE_BOOL= ENABLE_BUILD_HARDENING JAVA_DESC= Enable Java Support JAVA_BUILD_DEPENDS= ant:devel/apache-ant JAVA_CMAKE_BOOL= BUILD_opencv_java BUILD_opencv_java_bindings_generator BUILD_JAVA JAVA_MAKE_ENV= JAVACMD=${JAVA} JAVA_USE= JAVA=yes LTO_DESC= Enables Link Time Optimizations LTO_CMAKE_BOOL= ENABLE_THIN_LTO OPENCL_DESC= Add OpenCL Support OPENCL_CMAKE_BOOL= WITH_OPENCL OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl OPENCL_RUN_DEPENDS= opencl>=0:devel/opencl PATENTED_DESC= Enable patented 2d feature detection USE AT OWN RISK PATENTED_CMAKE_BOOL= OPENCV_ENABLE_NONFREE PROTOBUF_DESC= Enable protobuf support, builds dnn modules PROTOBUF_CMAKE_BOOL= WITH_PROTOBUF # by default the bundled protobuf is built PYTHON_DESC= Enable Python Support 3.6 or greater PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_opencv_python3 PYTHON_CMAKE_ON= -DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} TBB_DESC= Add Intel Threading Building Blocks Support TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TESSERACT_DESC= Add Tesseract-based OCR TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CMAKE_BOOL= WITH_TESSERACT ### # GUI group options (GTK3 VTK) GTK3_USE= gnome=gtk30,cairo,gdkpixbuf2 GTK3_CMAKE_BOOL= WITH_GTK VTK_DESC= Include VTK library support (build opencv_viz module) VTK_CMAKE_BOOL= WITH_VTK VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} VTK_USES= qt:5 VTK_USE= QT=buildtools:build,qmake:build ### # IMAGE group options (GPHOTO2 JPEG OPENEXR PNG TIFF) GPHOTO2_DESC= Add Gphoto2 Support GPHOTO2_CMAKE_BOOL= WITH_GPHOTO2 GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 JPEG_DESC= Add LibJpeg Support JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg OGRE3D_DESC= Add OGRE support OGRE3D_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d OGRE3D_CMAKE_BOOL= BUILD_opencv_ovis OPENEXR_DESC= Add OpenEXR Support OPENEXR_CMAKE_BOOL= WITH_OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr PNG_DESC= Add LibPNG Support PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng16.so:graphics/png TIFF_DESC= Add LibTIFF Support TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff ### # VIDEO group options (DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE) DC1394_DESC= IEEE 1394 camera support DC1394_CMAKE_BOOL= WITH_1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 FFMPEG_DESC= Link with ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GSTREAMER_DESC= Add GSTREAMER Support GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER GSTREAMER_USES= gstreamer GSTREAMER_USE= gnome=glib20 V4L_DESC= Enable support for Video for Linux V4L_CMAKE_BOOL= WITH_V4L WITH_LIBV4L V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l VULKAN_DESC= Add Vulkan Support VULKAN_CMAKE_BOOL= WITH_VULKAN VULKAN_CMAKE_ON= -DVULKAN_INCLUDE_DIRS=${LOCALBASE}/include VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers WEBP_DESC= Add Webp Support WEBP_CMAKE_BOOL= WITH_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XINE_DESC= Add Xine Support XINE_CMAKE_BOOL= WITH_XINE XINE_LIB_DEPENDS= libxine.so:multimedia/libxine ### # BLAS group options (ATLAS OPENBLAS NOBLAS) ATLAS_DESC= ATLAS blas implementation with lapacke ATLAS_USES= blaslapack:atlas ATLAS_BUILD_DEPENDS= cblas>0:math/cblas \ lapacke>0:math/lapacke OPENBLAS_DESC= OpenBLAS blas implementation with lapacke OPENBLAS_USES= blaslapack:openblas OPENBLAS_BUILD_DEPENDS= cblas>0:math/cblas \ lapacke>0:math/lapacke NOBLAS_DESC= Disable support for lapack/blas NOBLAS_CMAKE_BOOL_OFF= WITH_LAPACK ### # JPEG2K group options (JASPER OPENJPEG) JASPER_DESC= Add Jasper Support for JPEG2000 JASPER_CMAKE_BOOL= WITH_JASPER JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_DESC= Add OpenJPEG Support for JPEG2000, OpenCV preferred OPENJPEG_CMAKE_BOOL= WITH_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg ### _IPPICV_i386= ippicv/ippicv_2020_lnx_ia32_20191018_general.tgz _IPPICV_amd64= ippicv/ippicv_2020_lnx_intel64_20191018_general.tgz .include .if ${ARCH} == powerpc64le && defined(MACHINE_CPU) && ${MACHINE_CPU:Mvsx3} CMAKE_ARGS+= -DCPU_BASELINE:STRING="VSX;VSX3;" .endif post-extract: # Handle contrib ${MV} ${WRKSRC_contrib} ${WRKSRC}/contrib # Handle prefetched ade modul ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ade ${MV} ${WRKSRC_ade} ${BUILD_WRKSRC}/3rdparty/ade # Handle prefetched xfeatures2d ${MKDIR} ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_boost_descr}/* ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_vgg}/* ${BUILD_WRKSRC}/downloads/xfeatures2d # Handle prefetched wechat ${MKDIR} ${BUILD_WRKSRC}/downloads/wechat_qrcode ${CP} ${WRKSRC_wechat}/* ${BUILD_WRKSRC}/downloads/wechat_qrcode/ # Handle Face ${MKDIR} ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face ${CP} ${WRKSRC_face}/* ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face # Handle ippicv .if defined(_IPPICV_${ARCH}) ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ippicv (cd ${BUILD_WRKSRC}/3rdparty/ippicv && ${EXTRACT_CMD} -xf ${WRKSRC_ippicv}/${_IPPICV_${ARCH}}) .endif post-patch: ${REINPLACE_CMD} -e 's|/usr/lib/atlas-base|${LOCALBASE}/lib|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake ${REINPLACE_CMD} -e 's|/usr/include/atlas|${LOCALBASE}/include|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 6bc93fa89683..8ed322e09496 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,149 +1,149 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.5.13.1 # 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?= 1 +PORTREVISION?= 2 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= OpenImageIO graphics library WWW= https://www.openimageio.org/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map \ libfmt>10.0.0:devel/libfmt \ libjpeg-turbo>3.0.0:graphics/libjpeg-turbo LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libheif.so:graphics/libheif \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp RUN_DEPENDS= libfmt>10.0.0:devel/libfmt \ libjpeg-turbo>3.0.0:graphics/libjpeg-turbo USES= cmake jpeg compiler:c++17-lang iconv:wchar_t USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenImageIO CMAKE_ARGS= -DCMAKE_CXX_STANDARD:INTEGER=17 # OpenVDB uses the C++17 STL # feature std::tuple_size_v; since the slave port py-openimageio excludes # options - this is a global line here CMAKE_ON= BUILD_SHARED_LIBS USE_EXTERNAL_PUGIXML CMAKE_OFF= BUILD_FMT_FORCE BUILD_MISSING_FMT INSTALL_FONTS INTERNALIZE_FMT \ LINKSTATIC OIIO_DOWNLOAD_MISSING_TESTDATA OIIO_USING_FMT_LOCAL \ STOP_ON_WARNING SHL1= ${PORTVERSION:R:R:R} SHL2= ${PORTVERSION:R:R} SHL3= ${PORTVERSION:R} PLIST_SUB= SHL1=${SHL1} SHL2=${SHL2} SHL3=${SHL3} OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \ OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX TBB TOOLS VDB OPTIONS_SUB= yes DICOM_DESC= DICOM/MEDICOM support FFMPEG_DESC= Use FFmpeg to support extra file types IMAGEVIEWER_DESC= Build image viewer (requires Qt) PTEX_DESC= Per face texture library support TBB_DESC= Intel tbb support TOOLS_DESC= Build CLI tools VDB_DESC= OpenVDB support DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk DICOM_USES= gnome ssl DICOM_USE= gnome=libxml2 DICOM_CMAKE_BOOL= USE_DICOM DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf FREETYPE_CMAKE_BOOL= USE_FREETYPE GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL= USE_GIF IMAGEVIEWER_IMPLIES= TOOLS IMAGEVIEWER_USES= gl qt:6 IMAGEVIEWER_USE= GL=gl,glu QT=base IMAGEVIEWER_CMAKE_BOOL= USE_QT OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_CMAKE_BOOL= USE_OPENCV OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= USE_OPENJPEG PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex PTEX_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Ptex RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_CMAKE_BOOL= USE_LIBRAW TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL= USE_TBB TEST_CMAKE_BOOL= OIIO_BUILD_TESTS TOOLS_CMAKE_BOOL= OIIO_BUILD_TOOLS VDB_IMPLIES= TBB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb VDB_CMAKE_BOOL= USE_OPENVDB 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 USES+= python USE_PYTHON= flavors CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} CMAKE_ON+= USE_PYTHON # we don't need the apps built - only libs. CMAKE_OFF+= EMBED_PLUGINS OIIO_BUILD_TESTS OIIO_BUILD_TOOLS USE_DICOM USE_FFMPEG USE_FREETYPE USE_GIF USE_LIBRAW USE_OPENCV USE_OPENJPEG USE_OPENVDB USE_QT USE_TBB PLIST= ${PKGDIR}/pkg-plist-pybind 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.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL2} ${LN} -sf libOpenImageIO.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL1} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL2} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${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/openshadinglanguage/Makefile b/graphics/openshadinglanguage/Makefile index 46c1235b23d4..93d10febfb62 100644 --- a/graphics/openshadinglanguage/Makefile +++ b/graphics/openshadinglanguage/Makefile @@ -1,86 +1,86 @@ PORTNAME= openshadinglanguage DISTVERSIONPREFIX= v DISTVERSION= 1.13.10.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?= 1 +PORTREVISION?= 2 CATEGORIES?= graphics devel MAINTAINER= FreeBSD@Shaneware.biz COMMENT?= Advanced shading language for production GI renderers WWW= https://github.com/AcademySoftwareFoundation/OpenShadingLanguage LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_riscv64= fails to build: /usr/include/c++/v1/__threading_support:135:3: Unsupported architecture ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= fails static_assert(sizeof(ustringhash) == sizeof(size_t) LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libOpenImageIO.so:graphics/openimageio \ libpartio.so:graphics/partio \ libpugixml.so:textproc/pugixml USES= bison cmake compiler:c++17-lang llvm:lib localbase ncurses USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenShadingLanguage CMAKE_ARGS+= -DCMAKE_CXX_STANDARD:INTEGER=17 -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VERSION}" CMAKE_ON= ENABLE_RTTI OSL_BUILD_TESTS USE_LIBCPLUSPLUS USE_LLVM_BITCODE # DISTVERSION has an extra digit which isn't in the lib name # for LIBVERS we want the first three digits PLIST_SUB= SHL2=${PORTVERSION:R:R} SHL3=${PORTVERSION:R} OPTIONS_DEFINE= OSLTOY OPTIONS_SUB= yes OSLTOY_DESC= Interactive shader edit and visualize tool OSLTOY_USES= qt:6 gl OSLTOY_USE= GL=gl,opengl QT=base OSLTOY_CMAKE_BOOL= USE_QT .include post-patch: @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ -e 's,%%PYCMD%%,${PYTHON_CMD},' \ ${WRKSRC}/CMakeLists.txt \ ${WRKSRC}/src/shaders/CMakeLists.txt \ ${WRKSRC}/src/doc/CMakeLists.txt \ ${WRKSRC}/src/liboslexec/CMakeLists.txt .if ${SLAVE_PORT} == yes BUILD_DEPENDS+= ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 LIB_DEPENDS+= liboslquery.so:graphics/openshadinglanguage RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}openimageio>0:graphics/py-openimageio@${PY_FLAVOR} USES+= python USE_PYTHON= flavors CMAKE_ARGS+= -DPYTHON_VERSION=${PYTHON_VER} CMAKE_ON+= USE_PYTHON PLIST= ${PKGDIR}/pkg-plist-pybind do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/oslquery.so ${STAGEDIR}${PYTHON_SITELIBDIR} .else # SLAVE_PORT != yes # using python:env as this port doesn't need to use python # a python util script is installed for user consumption # it is not required for using the port, only to assist developers using the libs USES+= python:build shebangfix USE_LDCONFIG= yes CMAKE_OFF+= USE_PYTHON BINARY_ALIAS+= python=${PYTHON_CMD} SHEBANG_FILES+= src/build-scripts/serialize-bc.py .endif # SLAVE_PORT .include diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile index ca0403869eae..fa287bd3a0ce 100644 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -1,163 +1,163 @@ PORTNAME= osg PORTVERSION= 3.6.5 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 71 +PORTREVISION= 72 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering WWW= https://www.openscenegraph.org/ LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS_INSTALL=osg34 USES= alias cmake compiler:c11 jpeg gl pkgconfig xorg USE_GL= gl USE_XORG= x11 USE_LDCONFIG= yes USE_CXXSTD= c++11 CFLAGS+= -I${LOCALBASE}/include/Imath -DInt64=uint64_t PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=161 \ OPENTHREADS_VERSION=3.3.1 \ OPENTHREADS_SHLIBVER=21 OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF SDL ASIO \ SVG VNC XRANDR XINERAMA FONTCONFIG DCMTK COLLADA OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR XINERAMA FONTCONFIG OPTIONS_SUB= yes ASIO_DESC= ASIO support (resthttp plugin) GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPENCASCADE_DESC= OpenCASCADE format support DCMTK_DESC= DICOM format support COLLADA_DESC= COLLADA (dae) format support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CMAKE_BOOL= OSG_TEXT_USE_FONTCONFIG GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USES= gnome gstreamer GSTREAMER_USE= GNOME=glib20 GSTREAMER_VARS= FORCE_REQUIRE+="GStreamer GLIB" GSTREAMER_VARS_OFF= FORCE_IGNORE+="GStreamer GLIB" GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USES= gnome PDF_USE= GNOME=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib SDL_USES= sdl SDL_USE= SDL=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= GNOME=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XRANDR_CMAKE_BOOL= OSGVIEWER_USE_XRANDR XRANDR_USE= XORG=xrandr XINERAMA_CMAKE_BOOL= OSGVIEWER_USE_XINERAMA XINERAMA_USE= XORG=xinerama #OPENCASCADE_LIB_DEPENDS=libTKBRep.so:cad/opencascade #OPENCASCADE_VARS= FORCE_REQUIRE+=OpenCascade #OPENCASCADE_VARS_OFF= FORCE_IGNORE+=OpenCascade #OPENCASCADE_CMAKE_ARGS= -DOPENCASCADE_LIBRARY_TYPE="Shared" DCMTK_LIB_DEPENDS= libdcmrt.so:graphics/dcmtk \ libxml2.so:textproc/libxml2 \ libicuuc.so:devel/icu DCMTK_USES= ssl DCMTK_VARS= FORCE_REQUIRE+=DCMTK DCMTK_VARS_OFF= FORCE_IGNORE+=DCMTK #ILMBASE_LIB_DEPENDS= ${LOCALBASE}/lib/libImath.so:graphics/ilmbase #ILMBASE_VARS= FORCE_REQUIRE+=ilmbase #ILMBASE_VARS_OFF= FORCE_IGNORE+=ilmbase COLLADA_LIB_DEPENDS= libcollada-dom2.5-dp.so:devel/collada-dom \ libboost_filesystem.so:devel/boost-libs COLLADA_VARS= FORCE_REQUIRE+=COLLADA COLLADA_VARS_OFF= FORCE_IGNORE+=COLLADA ASIO_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio ASIO_VARS= FORCE_REQUIRE+=Asio ASIO_VARS_OFF= FORCE_IGNORE+=Asio ASIO_BROKEN= does not build: no member named 'get_io_service' in 'asio::basic_socket_acceptor' # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK FOX wxWidgets GtkGl SDL2 # only for examples FORCE_IGNORE+= FBX Inventor # not in ports FORCE_IGNORE+= ilmbase # not used FORCE_IGNORE+= OpenCascade # detection broken FORCE_IGNORE+= ZeroConf # no avahi support yet FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \ s|-pedantic||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/CMakeModules/FindFFmpeg.cmake .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/osg34/Makefile b/graphics/osg34/Makefile index 262be87d7112..9486f2511c35 100644 --- a/graphics/osg34/Makefile +++ b/graphics/osg34/Makefile @@ -1,152 +1,152 @@ PORTNAME= osg PORTVERSION= 3.4.1 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 59 +PORTREVISION= 60 CATEGORIES= graphics PKGNAMESUFFIX= 34 MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering WWW= https://www.openscenegraph.org/ LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= alias cmake compiler:c++11-lang gl jpeg localbase pkgconfig xorg USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= x11 # needed to ensure build on gcc-based archs; harmless otherwise CXXFLAGS+= -Wno-narrowing -I${LOCALBASE}/include/Imath -DInt64=uint64_t CONFLICTS_INSTALL=osg PORTSCOUT= limitw:1,even PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=131 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF QT5 SDL \ SVG VNC XINE XRANDR OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR OPTIONS_SUB= yes GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USES= gstreamer GSTREAMER_USE= GNOME=glib20 GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= gnome=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib QT5_USES= qt:5 QT5_USE= qt=buildtools:build,core,gui,opengl,qmake:build,webkit,widgets QT5_CMAKE_ON= -DDESIRED_QT_VERSION=5 QT5_VARS= FORCE_REQUIRE+="Qt5Widgets Qt5WebKitWidgets" QT5_VARS_OFF= FORCE_IGNORE+="Qt5Widgets Qt5WebKitWidgets" SDL_USES= sdl SDL_USE= sdl=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= gnome=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= FORCE_REQUIRE+=Xine XINE_VARS_OFF= FORCE_IGNORE+=Xine XRANDR_USE= xorg=xrandr XRANDR_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK GLUT FOX Qt3 wxWidgets OpenAL GtkGl SDL2 # only for examples FORCE_IGNORE+= COLLADA Performer OurDCMTK XUL FBX # not in ports FORCE_IGNORE+= OpenVRML # ports version too old FORCE_IGNORE+= ITK # ports version doesn't build on 10.x FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include .if ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DOSG_USE_QT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/CMakeModules/FindFFmpeg.cmake .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/pfstools/Makefile b/graphics/pfstools/Makefile index 57bec14533da..51747e8e533b 100644 --- a/graphics/pfstools/Makefile +++ b/graphics/pfstools/Makefile @@ -1,112 +1,112 @@ PORTNAME= pfstools DISTVERSION= 2.1.0 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= fbsd@any.com.ru COMMENT= Tools for manipulating HDR images and video frames WWW= https://pfstools.sourceforge.net/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash CONFLICTS= pfstmo-1.* pfscalibration-1.* CFLAGS+= -I${LOCALBASE}/include/Imath LDFLAGS+= -lthr USES= cmake cpe tar:tgz dos2unix jpeg perl5 USE_CXXSTD= c++14 USE_PERL5= run USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ -DWITH_MATLAB=OFF \ -DBASH_EXECUTABLE:STRING=${LOCALBASE}/bin/bash \ -DPERL_EXECUTABLE:STRING=${PERL} DOS2UNIX_GLOB= *.txt *.cmake \ *.h *.c *.cpp \ *.1 MANCOMPRESSED= yes OPTIONS_DEFINE= TIFF OPENEXR IMAGEMAGICK NETPBM \ OCTAVE FFTW GSL \ ALIGN GLVIEW VIEW \ OPENMP OPTIONS_DEFAULT= TIFF FFTW GSL NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OCTAVE_DESC= Compile octave interface functions GSL_DESC= Use Gnu Scientific Libarary required for some TMOs ALIGN_DESC= Compile pfsalign, requires OpenCV w/NONFREE and libexif VIEW_DESC= Compile pfsview, requires QT5 GLVIEW_DESC= Compile pfsglview, requires GLUT TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff OPENEXR_CMAKE_BOOL= WITH_OpenEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath IMAGEMAGICK_CMAKE_BOOL= WITH_ImageMagick IMAGEMAGICK_USES= magick:6 NETPBM_CMAKE_BOOL= WITH_NetPBM NETPBM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm NETPBM_IMPLIES= TIFF OCTAVE_CMAKE_BOOL= WITH_Octave OCTAVE_PATCH_DEPENDS= octave-config:math/octave OCTAVE_BUILD_DEPENDS= mkoctfile:math/octave OCTAVE_RUN_DEPENDS= octave:math/octave OCTAVE_USES= shebangfix OCTAVE_CXXFLAGS= -std=c++11 FFTW_CMAKE_BOOL= WITH_FFTW FFTW_CMAKE_ON= -DFFTW_INCLUDE_DIRS=${LOCALBASE}/include FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float GSL_CMAKE_BOOL= WITH_GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl ALIGN_CMAKE_BOOL= WITH_OpenCV # requires NONFREE=on which isn't a default ALIGN_LIB_DEPENDS= libopencv_nonfree.so:graphics/opencv \ libexif.so:graphics/libexif GLVIEW_CMAKE_BOOL= WITH_pfsglview GLVIEW_CMAKE_ON= -DGLUT_INCLUDE_DIRS=${LOCALBASE}/include GLVIEW_USES= gl GLVIEW_USE= GL=glut GL=gl,glu VIEW_CMAKE_BOOL= WITH_QT VIEW_USES= gl qt:5 VIEW_USE= GL=glut GL=gl,glu QT=core,gui,widgets,buildtools:build,qmake:build .include .if ${PORT_OPTIONS:MIMAGEMAGICK} && !${PORT_OPTIONS:MOPENMP} USES+= compiler:c++11-lib .endif .if ${PORT_OPTIONS:MOCTAVE} OCTAVE_BASE?= ${LOCALBASE} OCTAVE_VERSION!=${OCTAVE_BASE}/bin/octave-config -v 2>&1 || ${ECHO} "0" OCTAVE_SITE_OCT!=${OCTAVE_BASE}/bin/octave-config --oct-site-dir 2>&1 || ${ECHO} "" OCTAVE_SITE_M!= ${OCTAVE_BASE}/bin/octave-config --m-site-dir 2>&1 || ${ECHO} "" PLIST_SUB= OCTAVE_BASE=${OCTAVE_BASE} \ OCTAVE_SITE_M=${OCTAVE_SITE_M:S|^${OCTAVE_BASE}/||} \ OCTAVE_SITE_OCT=${OCTAVE_SITE_OCT:S|^${OCTAVE_BASE}/||} SHEBANG_FILES= src/octave/pfs* SHEBANG_LANG= octave octave_OLD_CMD?=/usr/bin/octave octave_CMD?= ${OCTAVE_BASE}/bin/octave-cli .endif .include diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile index f80d3e8f5186..b261632492dd 100644 --- a/graphics/pixie/Makefile +++ b/graphics/pixie/Makefile @@ -1,66 +1,66 @@ PORTNAME= pixie PORTVERSION= 2.2.6 -PORTREVISION= 41 +PORTREVISION= 42 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION} DISTNAME= Pixie-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Photorealistic renderer with Pixar's RenderMan-like interface WWW= https://sourceforge.net/projects/pixie/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_armv6= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_armv7= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_riscv64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libtiff.so:graphics/tiff \ libfltk_gl.so:x11-toolkits/fltk USES= autoreconf bison compiler:c++0x gl libtool pathfix tar:tgz USE_CXXSTD= c++14 USE_GL= glu GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --includedir=${PREFIX}/include/pixie \ --libdir=${PREFIX}/lib/pixie \ --with-docdir=${DOCSDIR} \ --with-shaderdir=${DATADIR}/shaders \ --with-ribdir=${DATADIR}/ribs \ --with-texturedir=${DATADIR}/textures \ --with-displaysdir=${PREFIX}/lib/pixie/displays \ --with-modulesdir=${PREFIX}/lib/pixie/modules \ --with-openexr-prefix=${LOCALBASE} \ --enable-openexr-threads WRKSRC= ${WRKDIR}/Pixie INSTALL_TARGET= install-strip USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} PORTDOCS= * CFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/Imath LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/test/s|==|=|g ; \ s|-lpthread|-pthread|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \ ${WRKSRC}/src/ri/Makefile.am \ ${WRKSRC}/src/sdr/Makefile.am post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog DEVNOTES NEWS \ README ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ '! -name "*Makefile*"') .include diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile index b5d197ad53c0..5b3329b1a545 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -1,82 +1,82 @@ PORTNAME= povray DISTVERSIONPREFIX= v DISTVERSION= 3.7.0.10 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= graphics PKGNAMESUFFIX= 37 MAINTAINER= bsd@philippost.de COMMENT= Persistence of Vision Ray Tracer WWW= https://www.povray.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= autoreconf:build compiler:c11 gmake USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= POV-Ray GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= COMPILED_BY=${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R} \ --program-transform-name='s/povray/${PKGBASE}/' \ --disable-optimiz VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} OPTIONS_DEFINE= X11 PNG JPEG TIFF OPENEXR IO EXAMPLES DOCS OPTIONS_DEFAULT=PNG JPEG OPTIONS_SUB= yes IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --without-jpeg OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CONFIGURE_WITH= openexr PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= libpng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= libtiff X11_USES= sdl xorg X11_USE= XORG=xpm,sm,ice,x11 SDL=sdl X11_CONFIGURE_OFF= --without-x .include .if !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MTIFF} CONFIGURE_ARGS+=NON_REDISTRIBUTABLE_BUILD=yes .endif PORTDOCS= * PORTEXAMPLES= * post-patch: ${REINPLACE_CMD} -e 's|@@EXAMPLESDIR@@|${EXAMPLESDIR}|' \ -e 's|@@ETCDIR@@|${ETCDIR}|' \ ${WRKSRC}/unix/povray.conf pre-configure: cd ${WRKSRC}/unix && ./prebuild.sh post-install: ${MV} ${STAGEDIR}${DATADIR}/scenes ${STAGEDIR}${EXAMPLESDIR} .for i in povray.conf povray.ini ${MV} ${STAGEDIR}${ETCDIR}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor .include diff --git a/graphics/povray38/Makefile b/graphics/povray38/Makefile index f41c7907b5b7..17f0f2c02342 100644 --- a/graphics/povray38/Makefile +++ b/graphics/povray38/Makefile @@ -1,76 +1,76 @@ PORTNAME= povray DISTVERSIONPREFIX= v DISTVERSION= 3.8.0-beta.2 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= https://github.com/POV-Ray/povray/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ PKGNAMESUFFIX= 38 DISTNAME= povunix-${DISTVERSIONPREFIX}${DISTVERSION}-src MAINTAINER= bsd@philippost.de COMMENT= Persistence of Vision Ray Tracer v3.8.0 Beta 2 WWW= https://www.povray.org/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= compiler:c++14-lang gmake USE_CXXSTD= c++14 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share WRKSRC= ${WRKDIR}/${DISTNAME} VERSION_BASE= ${DISTVERSION:C/([0-9]+\.[0-9]+).*/\1/} DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION-BASE} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} CONFIGURE_ARGS= --disable-optimiz \ --program-transform-name='s/povray/${PKGBASE}/' \ COMPILED_BY=${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R} OPTIONS_DEFINE= DOCS EXAMPLES IO JPEG OPENEXR PNG TIFF \ X11 OPTIONS_DEFAULT= JPEG PNG TIFF OPTIONS_SUB= yes IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --without-libjpeg OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CONFIGURE_WITH= openexr PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= libpng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= libtiff X11_USES= sdl xorg X11_USE= SDL=sdl \ XORG=ice,sm,x11,xpm X11_CONFIGURE_OFF= --without-x .include .if !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MTIFF} CONFIGURE_ARGS+= NON_REDISTRIBUTABLE_BUILD=yes .endif post-install: ${MV} ${STAGEDIR}${DATADIR}/scenes ${STAGEDIR}${EXAMPLESDIR} .for file in povray.conf povray.ini ${MV} ${STAGEDIR}${ETCDIR}/${file} ${STAGEDIR}${ETCDIR}/${file}.sample .endfor .include diff --git a/graphics/py-openimageio/Makefile b/graphics/py-openimageio/Makefile index 5327113c05b0..69af1d67d803 100644 --- a/graphics/py-openimageio/Makefile +++ b/graphics/py-openimageio/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 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/py-openshadinglanguage/Makefile b/graphics/py-openshadinglanguage/Makefile index a1707b8c59e3..e70c8bb37bdc 100644 --- a/graphics/py-openshadinglanguage/Makefile +++ b/graphics/py-openshadinglanguage/Makefile @@ -1,12 +1,12 @@ -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics multimedia python # Note this port shares its PORTREVISION with graphics/openshadinglanguage! PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= OpenShadingLanguage python bindings MASTERDIR= ${.CURDIR}/../openshadinglanguage OPTIONS_EXCLUDE= MATERIALX OSLTOY .include "${MASTERDIR}/Makefile" diff --git a/graphics/simpleviewer/Makefile b/graphics/simpleviewer/Makefile index 080b26f5d623..4e993cd1d447 100644 --- a/graphics/simpleviewer/Makefile +++ b/graphics/simpleviewer/Makefile @@ -1,88 +1,88 @@ PORTNAME= simpleviewer PORTVERSION= 3.1.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/andreyu/simple-viewer-gl/get/${BB_COMMIT}.tar.bz2?dummy=/ MAINTAINER= danfe@FreeBSD.org COMMENT= Small and simple image viewer based on OpenGL WWW= https://bitbucket.org/andreyu/simple-viewer-gl LICENSE= GPLv2 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libglfw.so:graphics/glfw \ liblz4.so:archivers/liblz4 \ libpng.so:graphics/png USES= cmake:insource compiler:c++11-lang gl jpeg pkgconfig \ tar:bzip2 xorg USE_GL= gl glu USE_XORG= ice sm x11 xcursor xext xinerama xrandr xxf86vm CMAKE_ARGS= -DAPP_VERSION_MAJOR:STRING=${PORTVERSION:S/./ /g:[1]} \ -DAPP_VERSION_MINOR:STRING=${PORTVERSION:S/./ /g:[2]} \ -DAPP_VERSION_RELEASE:STRING=${PORTVERSION:S/./ /g:[3]} BB_COMMIT= cded7dfe23c4 WRKSRC= ${WRKDIR}/andreyu-simple-viewer-gl-${BB_COMMIT} PLIST_FILES= bin/sviewgl ${DATADIR_REL}/Icon-1024.png \ ${DATADIR_REL}/Icon-16.png ${DATADIR_REL}/Icon-32.png PORTDOCS= README.md PORTEXAMPLES= config.example SUB_FILES= pkg-message EXTRA_FEATURES= CURL GIF IMLIB2 JPEG2000 LCMS2 LIBEXIF OPENEXR TIFF WEBP OPTIONS_DEFINE= DOCS EXAMPLES ${EXTRA_FEATURES} OPTIONS_DEFAULT= ${EXTRA_FEATURES} CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_OFF= -DDISABLE_CURL_SUPPORT:STRING=1 GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_OFF= -DDISABLE_GIF_SUPPORT:STRING=1 IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_CMAKE_OFF= -DDISABLE_IMLIB2_SUPPORT:STRING=1 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG2000_CMAKE_OFF= -DDISABLE_JPEG2000_SUPPORT:STRING=1 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CMAKE_OFF= -DDISABLE_LCMS2_SUPPORT:STRING=1 LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_CMAKE_OFF= -DDISABLE_EXIF_SUPPORT:STRING=1 OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_CMAKE_OFF= -DDISABLE_OPENEXR_SUPPORT:STRING=1 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DDISABLE_TIFF_SUPPORT:STRING=1 WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_OFF= -DDISABLE_WEBP_SUPPORT:STRING=1 post-patch: @${REINPLACE_CMD} -e '/#include/s,lz4/,,' \ ${WRKSRC}/src/formats/formatage.cpp @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/src/main.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/res/Icon-*.png ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/config.example ${STAGEDIR}${EXAMPLESDIR} .include JPEG2000_DESC+= via OpenJPEG diff --git a/graphics/synfig/Makefile b/graphics/synfig/Makefile index 37dfc14ef736..892a35722afb 100644 --- a/graphics/synfig/Makefile +++ b/graphics/synfig/Makefile @@ -1,58 +1,58 @@ PORTNAME= synfig DISTVERSIONPREFIX= v DISTVERSION= 1.4.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics devel multimedia MAINTAINER= portmaster@BSDforge.com COMMENT= Vector based 2D animation package WWW= https://www.synfig.org/ LICENSE= GPLv2+ BUILD_DEPENDS= etl>=1.4.5:devel/etl \ gsed:textproc/gsed LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libavcodec.so:multimedia/ffmpeg \ libboost_program_options.so:devel/boost-libs \ libdv.so:multimedia/libdv \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= autoreconf compiler:c++11-lang gmake gnome iconv jpeg \ libtool localbase magick:7 mlt:7 pathfix pkgconfig USE_CXXSTD= c++11 USE_GITHUB= yes USE_GNOME= cairo glibmm intltool libxml++26 pango USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} CONFIGURE_ENV+= ac_cv_path_SED=${LOCALBASE}/bin/gsed INSTALL_TARGET= install-strip BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed PORTSCOUT= limitw:1,even WRKSRC_SUBDIR= synfig-core OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/graphics/synfigstudio/Makefile b/graphics/synfigstudio/Makefile index 055c3a78db15..bc53610becef 100644 --- a/graphics/synfigstudio/Makefile +++ b/graphics/synfigstudio/Makefile @@ -1,61 +1,62 @@ PORTNAME= synfigstudio DISTVERSIONPREFIX= v DISTVERSION= 1.4.5 +PORTREVISION= 1 CATEGORIES= graphics multimedia MAINTAINER= portmaster@BSDforge.com COMMENT= Vector-based 2D animation software package WWW= https://www.synfig.org/ LICENSE= GPLv2+ BUILD_DEPENDS= etl>=1.4.5:devel/etl \ gsed:textproc/gsed LIB_DEPENDS= libImath.so:math/Imath \ libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libOpenEXR.so:graphics/openexr \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsynfig.so:graphics/synfig RUN_DEPENDS= xdg-open:devel/xdg-utils USES= autoreconf compiler:c++11-lang desktop-file-utils gmake \ gnome libtool localbase magick:7 mlt:7 pathfix pkgconfig \ shared-mime-info USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= synfig GH_PROJECT= synfig USE_GNOME= gdkpixbuf2 gtkmm30 intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-update-mimedb INSTALL_TARGET= install-strip BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed PORTSCOUT= limitw:1,even WRKSRC_SUBDIR= synfig-studio OPTIONS_DEFINE= DOCS JACK NLS OPTIONS_SUB= yes JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index 351df16b9338..116afd520caf 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -1,76 +1,77 @@ PORTNAME= vigra DISTVERSIONPREFIX=v DISTVERSION= 1.12.1 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= VIGRA stands for "Vision with Generic Algorithms" WWW= https://ukoethe.github.io/vigra/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libImath.so:math/Imath \ libsz.so:science/libaec USES= cmake compiler:c++14-lang python:run shebangfix USE_GITHUB= yes GH_ACCOUNT= ukoethe GH_TAGNAME= 8acd73a USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include/Imath CMAKE_ARGS= -DDEPENDENCY_SEARCH_PREFIX:PATH=${LOCALBASE} \ -DDOCINSTALL:PATH=${DOCSDIR_REL} SHEBANG_FILES= config/vigra-config.in OPTIONS_DEFINE= HDF5 OPENEXR NUMPY DOCS FFTW OPTIONS_DEFAULT= HDF5 OPENEXR FFTW ${OPTIONS_GROUP_IMAGEFORMATS} OPTIONS_GROUP= IMAGEFORMATS OPTIONS_GROUP_IMAGEFORMATS= PNG JPEG TIFF OPTIONS_SUB= yes HDF5_CFLAGS= -DH5_USE_110_API=1 HDF5_CMAKE_BOOL= WITH_HDF5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 OPENEXR_CMAKE_BOOL= WITH_OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr NUMPY_DESC= NumPy mathematical computing (USE Fortran/GCC47+) NUMPY_CMAKE_BOOL= WITH_VIGRANUMPY NUMPY_USES= compiler:gcc-c++11-lib python:build NUMPY_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ ${PYNUMPY} NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ ${PYNUMPY} NUMPY_LIB_DEPENDS= ${PY_BOOST} # On FreeBSD < 11 libc++ lacks support for sized delete operators. # GCC dropped the builtin version of these operators in 6+ by # defaulting to gnu++14. Force c++11 instead. # For a more detailed discussion see: # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219484 NUMPY_CXXFLAGS= -std=gnu++11 PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff FFTW_CMAKE_BOOL= WITH_FFTW FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float post-package-NUMPY-on: @${ECHO} "" @${ECHO} "* BEWARE!" @${ECHO} "* Using py-NumPY implies Fortran and GCC 4.7+ as hard dependencies" @${ECHO} "* and require all ports, depending on vigra, to set USE_GCC=yes" @${ECHO} "" .include diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile index 79108ba68a86..95526a01a81e 100644 --- a/graphics/vips/Makefile +++ b/graphics/vips/Makefile @@ -1,136 +1,136 @@ PORTNAME= vips PORTVERSION= 8.15.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Free image processing system WWW= https://www.libvips.org/ \ https://github.com/libvips/libvips LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= bash:shells/bash USES= compiler:c++11-lang cpe gettext gnome localbase meson pkgconfig python shebangfix tar:xz USE_GNOME= glib20 MESON_ARGS= --default-library=both \ -Danalyze=true \ -Dcplusplus=true \ -Ddeprecated=true \ -Ddoxygen=false \ -Dexamples=true \ -Dintrospection=disabled \ -Dmodules=disabled \ -Dnifti=disabled \ -Dnsgif=true \ -Dopenslide=disabled \ -Dpdfium=disabled \ -Dppm=true \ -Dquantizr=disabled \ -Dradiance=true \ -Dvapi=false \ -Dzlib=enabled USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION:R} FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} nox11_PKGNAMESUFFIX= -nox11 CONFLICTS_INSTALL= vips vips-nox11 SHEBANG_FILES= tools/vipsprofile OPTIONS_DEFINE= CFITSIO DOCS FFTW FONTCONFIG GIF HEIF IMAGEQUANT JPEG JXL LCMS2 LIBARCHIVE LIBEXIF LIBRSVG2 MATIO OPENEXR PANGO PNG POPPLER SPNG TIFF WEBP OPTIONS_RADIO= MAGICK SIMD OPTIONS_RADIO_MAGICK= IMAGEMAGICK GRAPHICSMAGICK OPTIONS_RADIO_SIMD= HIGHWAY ORC OPTIONS_DEFAULT=CFITSIO FFTW FONTCONFIG GIF HEIF HIGHWAY IMAGEMAGICK JPEG JXL LCMS2 LIBARCHIVE LIBEXIF LIBRSVG2 MATIO OPENEXR PANGO PNG POPPLER SPNG TIFF WEBP FONTCONFIG_IMPLIES= PANGO LIBARCHIVE_DESC=Save image pyramid via libarchive HIGHWAY_DESC= SIMD support via Highway (preferred) IMAGEQUANT_DESC=Image Quantization support GRAPHICSMAGICK_DESC= Image processing via GraphicsMagick MATIO_DESC= Matlab MAT format support ORC_DESC= Accelerate loops with ORC CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CFITSIO_MESON_ENABLED= cfitsio DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= gtk_doc FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_MESON_ENABLED= fftw FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_MESON_ENABLED= fontconfig GIF_BUILD_DEPENDS= cgif>=0.2.0:graphics/cgif GIF_LIB_DEPENDS= libcgif.so:graphics/cgif GIF_MESON_ENABLED= cgif GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick@${FLAVOR} GRAPHICSMAGICK_MESON_ON=-Dmagick=enabled -Dmagick-package=GraphicsMagick HEIF_BUILD_DEPENDS= libheif>=1.4.0:graphics/libheif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= heif HIGHWAY_BUILD_DEPENDS= highway>=1.0.5:devel/highway HIGHWAY_LIB_DEPENDS= libhwy.so:devel/highway HIGHWAY_MESON_ENABLED= highway IMAGEMAGICK_MESON_ON= -Dmagick=enabled -Dmagick-package=MagickCore IMAGEMAGICK_USES= magick:${FLAVOR} IMAGEQUANT_LIB_DEPENDS= libimagequant.so:graphics/libimagequant IMAGEQUANT_MESON_ENABLED= imagequant JPEG_BUILD_DEPENDS= openjpeg>=2.4:graphics/openjpeg JPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG_MESON_ENABLED= jpeg openjpeg JPEG_USES= jpeg JXL_BUILD_DEPENDS= libjxl>=0.6:graphics/libjxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_ENABLED= jpeg-xl LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBEXIF_BUILD_DEPENDS= libexif>=0.6:graphics/libexif LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBARCHIVE_BUILD_DEPENDS= libarchive>=3.0.0:archivers/libarchive LIBARCHIVE_MESON_ENABLED= archive LIBARCHIVE_USES= libarchive LIBRSVG2_MESON_ENABLED= rsvg LIBRSVG2_USE= GNOME=cairo,librsvg2 MATIO_LIB_DEPENDS= libmatio.so:math/matio MATIO_MESON_ENABLED= matio OPENEXR_BUILD_DEPENDS= openexr>=1.2.2:graphics/openexr OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_MESON_ENABLED= openexr ORC_BUILD_DEPENDS= orc>=0.4.31:devel/orc ORC_LIB_DEPENDS= liborc-0.4.so:devel/orc ORC_MESON_ENABLED= orc PANGO_MESON_ENABLED= pangocairo PANGO_USE= GNOME=pango PNG_BUILD_DEPENDS= png>=1.2.9:graphics/png PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= png POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler POPPLER_USE= GNOME=cairo SPNG_BUILD_DEPENDS= libspng>=0.7:graphics/libspng SPNG_LIB_DEPENDS= libspng.so:graphics/libspng SPNG_MESON_ENABLED= spng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff WEBP_BUILD_DEPENDS= webp>=0.6:graphics/webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp .include .if !${PORT_OPTIONS:MGRAPHICSMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK} MESON_ARGS+= -Dmagick=disabled .endif .include diff --git a/graphics/yafaray/Makefile b/graphics/yafaray/Makefile index f50bed4067f7..506b1bbaeb69 100644 --- a/graphics/yafaray/Makefile +++ b/graphics/yafaray/Makefile @@ -1,49 +1,49 @@ PORTNAME= yafaray DISTVERSIONPREFIX= v DISTVERSION= 3.5.1 -PORTREVISION= 24 +PORTREVISION= 25 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Montecarlo raytracing engine WWW= http://www.yafaray.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSES ONLY_FOR_ARCHS= amd64 powerpc64le LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libopencv_photo.so:graphics/opencv \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake gnome jpeg USE_GITHUB= yes GH_ACCOUNT= YafaRay GH_PROJECT= libYafaRay USE_GNOME= libxml2 USE_LDCONFIG= yes LDFLAGS+= -pthread # because build on 13 (head) was failing: ld: error: src/yafraycore/libyafaray_v3_core.so: undefined reference to pthread_create CMAKE_OFF= WITH_YAF_PY_BINDINGS OPTIONS_DEFINE= DOCS QT OPTIONS_SUB= yes QT_DESC= Enable Qt Gui build QT_USES= qt:5 QT_CMAKE_BOOL= WITH_QT QT_USE= QT=core,gui,widgets,qmake:build,buildtools:build,qmake:build post-install: @${RM} ${STAGEDIR}${DOCSDIR}/LICENSES .include diff --git a/misc/openvdb/Makefile b/misc/openvdb/Makefile index 24b33112106f..de42261e653b 100644 --- a/misc/openvdb/Makefile +++ b/misc/openvdb/Makefile @@ -1,48 +1,48 @@ PORTNAME= openvdb DISTVERSIONPREFIX= v DISTVERSION= 11.0.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Tools for storage and manipulation of sparse volumetric data WWW= https://www.openvdb.org/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libboost_system.so:devel/boost-libs \ libImath.so:math/Imath \ libtbb.so:devel/onetbb TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++17-lang localbase:ldflags pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation CMAKE_ARGS= -DCONCURRENT_MALLOC="Tbbmalloc" -DTbb_INCLUDE_DIR=${LOCALBASE}/include CMAKE_OFF= OPENVDB_CORE_STATIC CMAKE_TESTING_ON= OPENVDB_BUILD_UNITTESTS # one test fails: https://github.com/AcademySoftwareFoundation/openvdb/issues/1103 OPTIONS_DEFINE= TOOLS #DOCS # TOOLS should be made into a subpackage OPTIONS_DEFAULT= TOOLS OPTIONS_SUB= yes TOOLS_DESC= Build CLI tools TOOLS_CMAKE_BOOL= OPENVDB_BUILD_BINARIES OPENVDB_BUILD_VDB_LOD \ OPENVDB_BUILD_VDB_RENDER OPENVDB_BUILD_VDB_VIEW TOOLS_LIB_DEPENDS= libglfw.so:graphics/glfw \ libOpenEXR.so:graphics/openexr TOOLS_USES= gl xorg TOOLS_USE= GL=gl,glu XORG=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm # DOCS is broken: https://github.com/AcademySoftwareFoundation/openvdb/issues/899 #DOCS_CMAKE_BOOL= OPENVDB_BUILD_DOCS #DOCS_BUILD_DEPENDS= doxygen:devel/doxygen #PORTDOCS= * .include diff --git a/multimedia/olive/Makefile b/multimedia/olive/Makefile index f80f044f0684..49bdced3f1ca 100644 --- a/multimedia/olive/Makefile +++ b/multimedia/olive/Makefile @@ -1,43 +1,44 @@ PORTNAME= olive DISTVERSION= 0.1.2-20240513 +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMESUFFIX= -video-editor PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 311eeb72944f93f873d1cd1784ee2bf423e1e7c2.patch:-p1 # https://github.com/olive-editor/olive/pull/2294, OpenColorIO 2.3 compatibility MAINTAINER= yuri@FreeBSD.org COMMENT= Non-linear video editor WWW= https://olivevideoeditor.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= frei0r>0:graphics/frei0r LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libOpenImageIO.so:graphics/openimageio \ libportaudio.so:audio/portaudio RUN_DEPENDS= frei0r>0:graphics/frei0r # libopentimelineio.so:multimedia/opentimelineio USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:5 shared-mime-info USE_QT= concurrent core dbus gui multimedia network opengl svg widgets x11extras \ buildtools:build linguisttools:build qmake:build testlib:build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= olive-editor GH_TAGNAME= f7e1bff GH_TUPLE= olive-editor:core:2777928:core/ext/core \ KDAB:KDDockWidgets:8d2d0a5:KDDockWidgets/ext/KDDockWidgets CXXFLAGS_i386= -msse -msse2 PORTSCOUT= limit:^.*[1-9]\..* # prevent tags like 20181223 CONFLICTS_BUILD= opentimelineio # fails to build with the opentimelineio optional dependency, see https://github.com/olive-editor/olive/issues/2201 .include diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile index bc803b203197..14f1c389baad 100644 --- a/x11/swayimg/Makefile +++ b/x11/swayimg/Makefile @@ -1,102 +1,102 @@ PORTNAME= swayimg DISTVERSIONPREFIX= v DISTVERSION= 3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Image viewer for Sway/Wayland WWW= https://github.com/artemsen/swayimg LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libjson-c.so:devel/json-c \ libinotify.so:devel/libinotify \ libwayland-client.so:graphics/wayland \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon.so:x11/libxkbcommon TEST_DEPENDS= googletest>0:devel/googletest USES= meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= artemsen MESON_ARGS= -Dversion="${DISTVERSIONFULL}" PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/man/man5/${PORTNAME}rc.5.gz \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/64x64/apps/${PORTNAME}.png \ share/icons/hicolor/128x128/apps/${PORTNAME}.png \ share/icons/hicolor/256x256/apps/${PORTNAME}.png \ ${DATADIR}/${PORTNAME}rc \ ${NULL} # XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif OPTIONS_DEFINE= AVIF BASH GIF HEIF JPEG JXL LIBEXIF LIBRSVG2 OPENEXR PNG TIFF WEBP ZSH OPTIONS_DEFAULT=AVIF BASH GIF HEIF JPEG JXL LIBEXIF LIBRSVG2 OPENEXR PNG TIFF WEBP ZSH OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/} AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_MESON_ENABLED= avif BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion BASH_MESON_ENABLED= bash BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME} GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_MESON_ENABLED= gif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= heif JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_ENABLED= jxl LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_MESON_ENABLED= svg OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_MESON_ENABLED= exr PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= png TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff WEBP_LIB_DEPENDS= libwebpdemux.so:graphics/webp WEBP_MESON_ENABLED= webp ZSH_MESON_ENABLED= zsh ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME} post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/extra/${PORTNAME}rc \ ${WRKSRC}/extra/${PORTNAME}rc.5 \ ${WRKSRC}/src/config.c pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include