diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index 10c66b71a5db..8bc587810dbc 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,51 +1,51 @@ PORTNAME= PrusaSlicer -PORTREVISION= 4 +PORTREVISION= 5 DISTVERSIONPREFIX=version_ DISTVERSION= 2.5.0 CATEGORIES= cad MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers WWW= https://www.prusa3d.com/prusaslicer/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cereal>=1.3.0.10:devel/cereal \ cgal>=5.0.2:math/cgal \ opencascade>=7.7.0:cad/opencascade LIB_DEPENDS= libtbb.so:devel/onetbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png \ libTKXDESTEP.so:cad/opencascade \ libtiff.so:graphics/tiff \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libavcodec.so:multimedia/ffmpeg \ libharfbuzz.so:print/harfbuzz USES= cmake cpe desktop-file-utils eigen:3 gettext gl pkgconfig jpeg iconv gnome xorg CPE_VENDOR= prusa3d USE_GITHUB= yes GH_ACCOUNT= prusa3d USE_GL= gl glu glew USE_GNOME= gtk30 pango atk cairo gdkpixbuf2 glib20 USE_WX= 3.2 USE_XORG= x11 CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DSLIC3R_GTK=3 \ -DSLIC3R_FHS=1 PORTDATA= * .include diff --git a/devel/kio-extras/Makefile b/devel/kio-extras/Makefile index a66e23a5ef24..c54889d2c5ee 100644 --- a/devel/kio-extras/Makefile +++ b/devel/kio-extras/Makefile @@ -1,64 +1,65 @@ PORTNAME= kio-extras DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 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 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 \ pty service solid sonnet syntaxhighlighting textwidgets unitconversion \ widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= concurrent core dbus declarative gui location network phonon4 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 MTP EXR EXIV SLP SSH TAGLIB DOCS OPTIONS_DEFAULT=SAMBA 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 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_Exiv2 EXIV_LIB_DEPENDS= libexiv2.so:graphics/exiv2 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 2c9fa9b8f464..e2a6f08cadfe 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -1,77 +1,77 @@ PORTNAME= calligra DISTVERSION= 3.2.1 -PORTREVISION= 47 +PORTREVISION= 48 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 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 BUILD_DEPENDS= pstoedit:graphics/pstoedit RUN_DEPENDS= pstoedit:graphics/pstoedit USES= cmake cpe compiler:c++17-lang 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_KDE= akonadicontacts activities archive auth bookmarks codecs completion \ config configwidgets contacts coreaddons crash dbusaddons doctools ecm \ emoticons guiaddons holidays i18n iconthemes init itemmodels itemviews \ jobwidgets js kcmutils kdelibs4support khtml kio \ kross notifications notifyconfig parts service solid sonnet \ texteditor textwidgets threadweaver unitconversion wallet \ widgetsaddons windowsystem xmlgui \ calendarcore okular USE_QT= buildtools:build concurrent core dbus declarative gui network opengl \ phonon4 printsupport qmake:build \ script sql svg testlib webkit widgets x11extras xml USE_XORG= ice sm x11 xext USE_LDCONFIG= yes 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 diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile index 62e7647eb4f9..2c190295266d 100644 --- a/games/pink-pony/Makefile +++ b/games/pink-pony/Makefile @@ -1,50 +1,50 @@ PORTNAME= pink-pony PORTVERSION= 1.4.1 -PORTREVISION= 37 +PORTREVISION= 38 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tron-like multiplayer racing game WWW= https://github.com/ginkgo/pink-pony LICENSE= GPLv3+ LIB_DEPENDS= libIL.so:graphics/devil \ libprotobuf.so:devel/protobuf \ libglfw.so.0:graphics/glfw2 \ libftgl.so:graphics/ftgl \ libsigc-2.0.so:devel/libsigc++20 \ libImath.so:math/Imath USE_GITHUB= yes GH_ACCOUNT= ginkgo USES= pkgconfig scons compiler:c++11-lang gl sdl USE_CXXSTD= c++11 USE_GL= gl glu USE_SDL= mixer SUB_FILES= pink-pony.sh PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -Ee 's,resources/,${DATADIR}/,' \ ${WRKSRC}/pony.options ${WRKSRC}/src/Config.cc @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/install/pink-pony.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Pony ${STAGEDIR}${PREFIX}/libexec/ cd ${WRKSRC}/resources && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/pony.options ${STAGEDIR}${DATADIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/pink-pony.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/install/pink-pony.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/install/pink-pony.desktop ${STAGEDIR}${PREFIX}/share/applications/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 7c83821d7dd3..0724a66d4055 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,348 +1,348 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.12-77 -PORTREVISION= 1 +PORTREVISION= 2 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 TESTS_DEPENDS= gsfonts>=0:print/gsfonts PORTSCOUT?= limit:^6\.9\. CONFLICTS_INSTALL= ImageMagick7 ImageMagick7-nox11 # bin/Magick++-config # 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 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 PANGO PDF PERL PNG RAQM SVG TESTS TIFF WEBP WMF \ THREADS X11 16BIT_PIXEL HDRI RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG RAQM SVG \ TIFF WEBP WMF THREADS X11 RAW 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 PANGO_IMPLIES= X11 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 SVG_IMPLIES= X11 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_WITH= x X11_USES= xorg X11_USE= xorg=ice,sm,x11,xext,xt X11_VARS= CONFLICTS_INSTALL+="ImageMagick6-nox11" X11_VARS_OFF= CONFLICTS_INSTALL+="ImageMagick6" \ PKGNAMESUFFIX=6-nox11 .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 ${PORT_OPTIONS:MX11} USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libwmf.so:graphics/libwmf . else LIB_DEPENDS+= libwmf.so:graphics/libwmf-nox11 . endif CONFIGURE_ARGS+= --with-wmf=yes PLIST_SUB+= WMF="" .else CONFIGURE_ARGS+= --without-wmf PLIST_SUB+= WMF="@comment " .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${PORT_OPTIONS:MX11} 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 ${PORT_OPTIONS:MX11} 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 .if ${PORT_OPTIONS:MSVG} && ! ${PORT_OPTIONS:MX11} @${ECHO_CMD} NOTICE: SVG format support disabled, requires X11 .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 1fc165860ecf..7d872b57aa4e 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,347 +1,347 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.0-62 -PORTREVISION= 1 +PORTREVISION= 2 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 \ libzip.so:archivers/libzip TESTS_DEPENDS= gsfonts>=0:print/gsfonts # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-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 CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-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} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PANGO PDF PERL PNG RAQM SVG TESTS TIFF WEBP WMF \ THREADS X11 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 RAQM SVG \ TIFF WEBP WMF THREADS X11 HDRI RAW DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support FFMPEG_DESC= VIDEO codec support as FFmpeg 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 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 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 PANGO_IMPLIES= X11 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 SVG_IMPLIES= X11 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_WITH= x X11_USES= xorg X11_USE= xorg=ice,sm,x11,xext,xt X11_VARS= CONFLICTS_INSTALL+="ImageMagick7-nox11" X11_VARS_OFF= CONFLICTS_INSTALL+="ImageMagick7" \ PKGNAMESUFFIX=7-nox11 .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 ${PORT_OPTIONS:MX11} USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libwmf.so:graphics/libwmf . else LIB_DEPENDS+= libwmf.so:graphics/libwmf-nox11 . endif CONFIGURE_ARGS+= --with-wmf=yes PLIST_SUB+= WMF="" .else CONFIGURE_ARGS+= --without-wmf PLIST_SUB+= WMF="@comment " .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${PORT_OPTIONS:MX11} 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 ${PORT_OPTIONS:MX11} 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 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 .if ${PORT_OPTIONS:MSVG} && ! ${PORT_OPTIONS:MX11} @${ECHO_CMD} NOTICE: SVG format support disabled, requires X11 .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor post-install-TESTS-on: test do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/alembic/Makefile b/graphics/alembic/Makefile index 30419ea665d2..3ee4ef13b287 100644 --- a/graphics/alembic/Makefile +++ b/graphics/alembic/Makefile @@ -1,32 +1,33 @@ PORTNAME= alembic PORTVERSION= 1.8.4 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Open framework for storing and sharing graphic scene data WWW= http://alembic.io/ LICENSE= BSD3CLAUSE LIB_DEPENDS= libImath.so:math/Imath LIB_DEPENDS+= libsz.so:science/libaec USES= cmake compiler:c++11-lang USE_CXXSTD= c++11 USE_GITHUB= yes USE_LDCONFIG= yes OPTIONS_DEFINE= HDF5 OPTIONS_DEFAULT= HDF5 OPTIONS_SUB= yes HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_ON= -DUSE_HDF5:BOOL=ON PLIST_FILES= lib/libAlembic.so.${PORTVERSION} \ lib/libAlembic.so.${PORTVERSION:R} do-test: @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS} .include diff --git a/graphics/ampasCTL/Makefile b/graphics/ampasCTL/Makefile index 08c77382c7f1..0e80c1d183f0 100644 --- a/graphics/ampasCTL/Makefile +++ b/graphics/ampasCTL/Makefile @@ -1,51 +1,51 @@ PORTNAME= ampasCTL PORTVERSION= 1.5.2 -PORTREVISION= 16 +PORTREVISION= 17 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= compiler:c++11-lang cmake pathfix pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ampas GH_PROJECT= CTL GH_TAGNAME= 57b48a2 CFLAGS+= -I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS PORTDOCS= * 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 da5810536df0..c0569fbcb41e 100644 --- a/graphics/appleseed/Makefile +++ b/graphics/appleseed/Makefile @@ -1,93 +1,93 @@ PORTNAME= appleseed DISTVERSION= 2.1.0-beta -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics 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 \ libOpenColorIO.so:graphics/opencolorio \ libOpenImageIO.so:graphics/openimageio \ libxerces-c.so:textproc/xerces-c3 \ liboslexec.so:graphics/openshadinglanguage USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}hq BROKEN= cannot build with recent Boost and OCIO libs 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 CFLAGS+= -I${LOCALBASE}/include/Imath CFLAGS+= -I${LOCALBASE}/include/OpenEXR 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:3.5+,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} 's,OpenEXR/Imath,Imath/Imath,' \ ${WRKSRC}/sandbox/share/cmake/Modules/FindImath.cmake \ ${WRKSRC}/src/appleseed/foundation/meta/tests/test_quaternion.cpp \ ${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/blender-lts29/Makefile b/graphics/blender-lts29/Makefile index d255fba8a127..29ec2ec7c92d 100644 --- a/graphics/blender-lts29/Makefile +++ b/graphics/blender-lts29/Makefile @@ -1,230 +1,230 @@ PORTNAME= blender DISTVERSION= 2.93.11 -PORTREVISION= 5 +PORTREVISION= 6 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/ # long term support v2.9x PKGNAMESUFFIX= -lts29 MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package - LTS WWW= https://www.blender.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt BROKEN= fails to build NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= uses 64bit atomic functions BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libboost_regex.so:devel/boost-libs 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 compiler:c++17-lang cpe gl jpeg python:3.9 shebangfix \ tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew INSTALLS_ICONS= yes CMAKE_OFF= WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY WITH_INSTALL_PORTABLE \ WITH_CYCLES_LOGGING SHEBANG_FILES= release/bin/blender-thumbnailer.py \ release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 # prevent conflict with other blender versions DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB+= VER=${DISTVERSION:R} SUFFIX=${PKGNAMESUFFIX} SUB_FILES= blender SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} VER=${DISTVERSION:R} \ SUFFIX=${PKGNAMESUFFIX} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option ALEMBIC_HDF5_REQUIRES= ALEMBIC ALEMBIC_HDF5_CMAKE_BOOL= WITH_ALEMBIC_HDF5 ALEMBIC_HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV WITH_SYSTEM_GLOG CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind \ libglog.so:devel/glog CAMERATRACK_ONLY_FOR_ARCHS= i386 amd64 aarch64 powerpc64 powerpc64le CAMERATRACK_ONLY_FOR_ARCHS_REASON= libunwind only supports x86/amd64/aarch64/powerpc64/powerpc64le CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 COLLADA_USES= gnome COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO TBB CYCLES_CMAKE_BOOL= WITH_CYCLES CYCLES_LIB_DEPENDS= libpugixml.so:textproc/pugixml CYCLESEMBR_IMPLIES= CYCLES CYCLESEMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLESEMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLESEMBR_ONLY_FOR_ARCHS= amd64 CYCLESEMBR_ONLY_FOR_ARCHS_REASON= embree only supports amd64 CYCLESOSL_IMPLIES= CYCLES CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}" \ -DOSL_SHADER_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/shaders" CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} DDS_CMAKE_BOOL= WITH_IMAGE_DDS DRACO_CMAKE_BOOL= WITH_DRACO DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} EBOOL_CMAKE_BOOL= WITH_GMP EBOOL_LIB_DEPENDS= libgmp.so:math/gmp FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite.so:audio/flite \ libpulse.so:audio/pulseaudio FFMPEG_LDFLAGS= -L${LOCALBASE}/lib -lflite -lflite_cmu_us_kal -lflite_cmulex -lflite_usenglish FFTW3_CMAKE_BOOL= WITH_FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FRAMESERVER_CMAKE_BOOL= WITH_IMAGE_FRAMESERVER FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE HDR_CMAKE_BOOL= WITH_IMAGE_HDR HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_CMAKE_BOOL= WITH_JACK JACK_LIB_DEPENDS= libjack.so:audio/jack LZO_CMAKE_BOOL= WITH_LZO LZMA_CMAKE_BOOL= WITH_LZMA MENU_USES= desktop-file-utils MOD_BOOLEAN_CMAKE_BOOL= WITH_MOD_BOOLEAN 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 MOD_SMOKE_CMAKE_BOOL= WITH_MOD_SMOKE NLS_CMAKE_BOOL= WITH_INTERNATIONAL # 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 iconv:lib,wchar_t OPENAL_CMAKE_BOOL= WITH_OPENAL OPENAL_USES= openal:al,alut OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp.so:devel/yaml-cpp \ libtinyxml.so:textproc/tinyxml \ libexpat.so:textproc/expat2 \ libpystring.so:devel/pystring OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENIMAGEIO_IMPLIES= OPENEXR TIFF OPENIMAGEIO_CMAKE_BOOL= WITH_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENIMAGEIO_LDFLAGS= -lOpenImageIO_Util OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn OPENIMAGEDN_ONLY_FOR_ARCHS= amd64 OPENIMAGEDN_ONLY_FOR_ARCHS_REASON= oidn only supports amd64 OPENJPEG_CMAKE_BOOL= WITH_IMAGE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg # openmp usually works on amd64 OPENMP_CMAKE_BOOL= WITH_OPENMP OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENVDB_IMPLIES= TBB OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENVDB_LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libopenvdb.so:misc/openvdb OPENVDB_BROKEN= not compatible with OpenVDB-10 RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL SDL_USE= SDL=sdl2 SDL_USES= sdl SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TRACE_CMAKE_BOOL= WITH_POTRACE TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace XINPUT_CMAKE_BOOL= WITH_X11_XINPUT XINPUT_USE= XORG=xi XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XF86VMODE_USE= XORG=xi,xxf86vm .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif .include .if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*} CMAKE_ARGS+= -DWITH_CPU_SIMD:BOOL=OFF .endif 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}${MAN1PREFIX}/share/man/man1 # rename files to prevent conflict with other blender versions ${MV} ${STAGEDIR}${PREFIX}/share/blender \ ${STAGEDIR}${PREFIX}/share/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/share/doc/blender \ ${STAGEDIR}${PREFIX}/share/doc/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/bin/blender \ ${STAGEDIR}${PREFIX}/bin/blender-bin${PKGNAMESUFFIX} ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/bin/blender-thumbnailer.py \ ${STAGEDIR}${PREFIX}/bin/blender${PKGNAMESUFFIX}-thumbnailer.py ${MV} ${STAGEDIR}${PREFIX}/share/man/man1/blender.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/blender${PKGNAMESUFFIX}.1 ${MV} ${STAGEDIR}${PREFIX}/share/applications/blender.desktop \ ${STAGEDIR}${PREFIX}/share/applications/blender${PKGNAMESUFFIX}.desktop ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender${PKGNAMESUFFIX}.svg ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/blender-symbolic.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/blender${PKGNAMESUFFIX}-symbolic.svg 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/blender/Makefile b/graphics/blender/Makefile index 99a04a90c9d5..de3ae532ff9a 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,231 +1,231 @@ PORTNAME= blender DISTVERSION= 3.4.1 -PORTREVISION= 3 +PORTREVISION= 4 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 NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= uses 64bit atomic functions BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libpng.so:graphics/png \ libepoxy.so:graphics/libepoxy \ libfreetype.so:print/freetype2 \ libboost_regex.so:devel/boost-libs \ 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 compiler:c++17-lang cpe gl jpeg llvm:min=9 \ python:3.10 shebangfix tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew CMAKE_OFF= WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY WITH_INSTALL_PORTABLE \ WITH_CYCLES_LOGGING WITH_USD SHEBANG_FILES= release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 PLIST_SUB+= VER=${DISTVERSION:R} OPTIONS_SUB= yes SUB_FILES= blender .include "${.CURDIR}/Makefile.options" ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option ALEMBIC_HDF5_REQUIRES= ALEMBIC ALEMBIC_HDF5_CMAKE_BOOL= WITH_ALEMBIC_HDF5 ALEMBIC_HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV WITH_SYSTEM_GLOG CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind \ libglog.so:devel/glog CAMERATRACK_ONLY_FOR_ARCHS= i386 amd64 aarch64 powerpc64 powerpc64le CAMERATRACK_ONLY_FOR_ARCHS_REASON= libunwind only supports x86/amd64/aarch64/powerpc64/powerpc64le CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 COLLADA_USES= gnome COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO TBB CYCLES_CMAKE_BOOL= WITH_CYCLES CYCLESEMBR_IMPLIES= CYCLES CYCLESEMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLESEMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLESEMBR_ONLY_FOR_ARCHS= amd64 CYCLESEMBR_ONLY_FOR_ARCHS_REASON= embree only supports amd64 CYCLESOSL_IMPLIES= CYCLES CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VERSION}" \ -DOSL_SHADER_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/shaders" CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION} CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION} DDS_CMAKE_BOOL= WITH_IMAGE_DDS DRACO_CMAKE_BOOL= WITH_DRACO DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} EBOOL_CMAKE_BOOL= WITH_GMP EBOOL_LIB_DEPENDS= libgmp.so:math/gmp FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite.so:audio/flite FFMPEG_LDFLAGS= -L${LOCALBASE}/lib -lflite -lflite_cmu_us_kal -lflite_cmulex -lflite_usenglish FFTW3_CMAKE_BOOL= WITH_FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FRAMESERVER_CMAKE_BOOL= WITH_IMAGE_FRAMESERVER FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE HARU_CMAKE_BOOL= WITH_HARU HARU_LIB_DEPENDS= libhpdf.so:print/libharu HDR_CMAKE_BOOL= WITH_IMAGE_HDR HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_CMAKE_BOOL= WITH_JACK WITH_JACK_DYNLOAD JACK_LIB_DEPENDS= libjack.so:audio/jack LZO_CMAKE_BOOL= WITH_LZO LZMA_CMAKE_BOOL= WITH_LZMA MENU_USES= desktop-file-utils MOD_BOOLEAN_CMAKE_BOOL= WITH_MOD_BOOLEAN 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 MOD_SMOKE_CMAKE_BOOL= WITH_MOD_SMOKE NLS_CMAKE_BOOL= WITH_INTERNATIONAL # 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 iconv:lib,wchar_t OPENAL_CMAKE_BOOL= WITH_OPENAL OPENAL_USES= openal:al,alut OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp.so:devel/yaml-cpp \ libtinyxml.so:textproc/tinyxml \ libexpat.so:textproc/expat2 \ libpystring.so:devel/pystring OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENIMAGEIO_IMPLIES= OPENEXR TIFF PUGIXML OPENIMAGEIO_CMAKE_BOOL= WITH_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENIMAGEIO_LDFLAGS= -lOpenImageIO_Util OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn OPENIMAGEDN_ONLY_FOR_ARCHS= amd64 OPENIMAGEDN_ONLY_FOR_ARCHS_REASON= oidn only supports amd64 OPENJPEG_CMAKE_BOOL= WITH_IMAGE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg # openmp usually works on amd64 OPENMP_CMAKE_BOOL= WITH_OPENMP OPENPGL_ONLY_FOR_ARCHS= amd64 armv6 armv7 OPENPGL_ONLY_FOR_ARCHS_REASON= requires supported SIMD ISA OPENPGL_CMAKE_BOOL= WITH_CYCLES_PATH_GUIDING OPENPGL_LIB_DEPENDS= libopenpgl.so:graphics/openpgl OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENVDB_IMPLIES= TBB OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENVDB_LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libopenvdb.so:misc/openvdb POTRACE_CMAKE_BOOL= WITH_POTRACE POTRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace PUGIXML_CMAKE_BOOL= WITH_PUGIXML PUGIXML_LIB_DEPENDS= libpugixml.so:textproc/pugixml PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO WITH_PULSEAUDIO_DYNLOAD PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio QUADRIFLOW_CMAKE_BOOL= WITH_QUADRIFLOW RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL WITH_SDL_DYNLOAD SDL_USE= SDL=sdl2 SDL_USES= sdl SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb THUMBNAILER_CMAKE_BOOL= WITH_BLENDER_THUMBNAILER TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TRACE_CMAKE_BOOL= WITH_POTRACE TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace WAYLAND_CATEGORIES= wayland WAYLAND_CMAKE_BOOL= WITH_GHOST_WAYLAND WAYLAND_USES= pkgconfig 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 WEBP_CMAKE_BOOL= WITH_IMAGE_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XINPUT_CMAKE_BOOL= WITH_X11_XINPUT XINPUT_USE= XORG=xi XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XF86VMODE_USE= XORG=xi,xxf86vm .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DWITH_CPU_SIMD:BOOL=OFF .endif 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}${MAN1PREFIX}/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 f266900c00f0..97cd160af2cc 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -1,141 +1,142 @@ PORTNAME= cimg DISTVERSIONPREFIX= v. DISTVERSION= 3.2.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= dtschump GH_PROJECT= CImg BUILD_WRKSRC= ${WRKSRC}/examples OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} USES+= compiler:c11 gmake pkgconfig:build xorg .endif .if ${PORT_OPTIONS:MDOCS} .if !defined(WITHOUT_LAPACK) . if defined(WITH_ATLAS) USES+= blaslapack:atlas . else USES+= blaslapack . endif .endif REINPLACE_ARGS= -i "" #LIB_DEPENDS+= libboard.so:graphics/libboard . if !defined(WITH_DEBUG) LIB_DEPENDS+= libcurl.so:ftp/curl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libImath.so:math/Imath \ libheif.so:graphics/libheif \ libOpenEXR.so:graphics/openexr \ libgimp-2.0.so:graphics/gimp-app \ libfftw3.so:math/fftw3 \ libopencv_core.so:graphics/opencv \ libGraphicsMagick.so:graphics/GraphicsMagick USES+= jpeg ALL_TARGET= Mlinux . else ALL_TARGET= dlinux WITHOUT_MEDCON= yes WITHOUT_FFMPEG= yes WITHOUT_LAPACK= yes . endif . if !defined(WITHOUT_MEDCON) RUN_DEPENDS+= medcon:graphics/xmedcon . endif . if !defined(WITHOUT_FFMPEG) LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg . endif . if !defined(WITHOUT_LAPACK) # Don't really need Fortran, but required to link with blas/lapack USES+= fortran . endif USE_XORG+= x11 xrandr . if defined(WITH_XSHM) USE_XORG+= xext . endif DOCBASE= README.txt CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}" PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \ edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \ hough_transform2d image2ascii image_registration2d image_surface3d \ jawbreaker mcf_levelsets2d mcf_levelsets3d odykill \ pde_TschumperleDeriche2d pde_heatflow2d plotter1d radon_transform2d \ scene3d spherical_function3d tetris tron tutorial use_RGBclass \ use_chlpca use_draw_gradient use_jpeg_buffer use_nlmeans use_skeleton \ wavelet_atrous .else NO_BUILD= yes .endif .include pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|make|${MAKE_CMD}|' ${BUILD_WRKSRC}/Makefile pre-configure-DOCS-off: ${REINPLACE_CMD} -e 's|^OPTFLAGS|#OPTFLAGS|' ${BUILD_WRKSRC}/Makefile pre-configure: . if !defined(WITHOUT_FFMPEG) ${REINPLACE_CMD} -e 's|#FFMPEG_CFLAGS|FFMPEG_CFLAGS|' \ -e 's|#FFMPEG_DEFINE|FFMPEG_DEFINE|' \ -e 's|#FFMPEG_LIBS|FFMPEG_LIBS|' \ ${BUILD_WRKSRC}/Makefile . endif . if !defined(WITHOUT_LAPACK) ${REINPLACE_CMD} -e 's|#LAPACK_CFLAGS|LAPACK_CFLAGS|' \ -e 's|#LAPACK_DEFINE|LAPACK_DEFINE|' \ -e 's|#LAPACK_LIBS|LAPACK_LIBS|' \ -e 's|-lblas -llapack|-L${LOCALBASE}/lib ${BLASLIB} ${LAPACKLIB}|' \ ${BUILD_WRKSRC}/Makefile . endif . if defined(WITH_XSHM) ${REINPLACE_CMD} -e 's|XSHM_CFLAGS = #|XSHM_CFLAGS =|' \ -e 's|XSHM_LDFLAGS = #|XSHM_LDFLAGS =|' \ ${BUILD_WRKSRC}/Makefile . endif do-install: ${INSTALL_DATA} ${WRKSRC}/CImg.h ${STAGEDIR}${PREFIX}/include do-install-DOCS-on: ${INSTALL_PROGRAM} ${PROGS:C|^|${BUILD_WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCBASE:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @(cd ${STAGEDIR}${EXAMPLESDIR} && ${MAKE_CMD} clean) @${RM} ${STAGEDIR}${EXAMPLESDIR}/*.orig .include diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 56baeb95ef35..b8e4d0463c79 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -1,131 +1,132 @@ PORTNAME= darktable PORTVERSION= 4.2.1 +PORTREVISION= 1 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:gcc-c++11-lib desktop-file-utils gl gnome jpeg \ llvm:14,build lua:54 perl5 pkgconfig sdl shebangfix sqlite \ tar:xz xorg 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 USE_GCC= yes CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1 CMAKE_BOOL+= BUILD_CMSTEST USE_AVIF USE_CAMERA_SUPPORT USE_HEIF \ USE_KWALLET USE_LUA USE_MAP USE_OPENEXR USE_OPENJPEG \ USE_WEBP RAWSPEED_ENABLE_LTO CFLAGS+= -fopenmp -I${LOCALBASE}/include/Imath 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 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/exrtools/Makefile b/graphics/exrtools/Makefile index 3aef12954293..2176389af51f 100644 --- a/graphics/exrtools/Makefile +++ b/graphics/exrtools/Makefile @@ -1,28 +1,28 @@ PORTNAME= exrtools PORTVERSION= 0.4 -PORTREVISION= 29 +PORTREVISION= 30 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 \ libpng.so:graphics/png \ libOpenEXR.so:graphics/openexr 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/f3d/Makefile b/graphics/f3d/Makefile index 6782af19ce71..21d73972aaaf 100644 --- a/graphics/f3d/Makefile +++ b/graphics/f3d/Makefile @@ -1,71 +1,71 @@ PORTNAME= f3d DISTVERSIONPREFIX= v DISTVERSION= 1.3.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics PATCH_SITES= https://github.com/f3d-app/f3d/commit/ PATCHFILES= cc108300b44981b530aa3ad72c971c889e6bf3e2.diff:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= Fast and minimalist 3D viewer WWW= https://f3d-app.github.io/f3d/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libhdf5.so:science/hdf5 \ libImath-3_1.so:math/Imath \ libnetcdf.so:science/netcdf \ libvtkCommonMisc-${VTK_VER}.so:math/vtk${VTK_VER:R} USES= cmake:testing compiler:c++17-lang desktop-file-utils gl tcl tk xorg USE_GL= gl glu USE_XORG= ice sm x11 xt USE_GITHUB= yes GH_ACCOUNT= f3d-app CMAKE_OFF= F3D_STRICT_BUILD # disable -Werror OPTIONS_GROUP= MODULES OPTIONS_GROUP_MODULES= ALEMBIC ASSIMP EXODUS EXTERNAL_RENDERING OCCT RAYTRACING OPTIONS_DEFAULT= ALEMBIC ASSIMP EXODUS OCCT MODULES_DESC= Build modules: ALEMBIC_DESC= Alembic module (ABC files) ALEMBIC_CMAKE_BOOL= F3D_MODULE_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic ASSIMP_DESC= Assimp module (FBX, OFF, DAE and DXF files) ASSIMP_CMAKE_BOOL= F3D_MODULE_ASSIMP ASSIMP_LIB_DEPENDS= libassimp.so:multimedia/assimp EXODUS_DESC= ExodusII module EXODUS_CMAKE_BOOL= F3D_MODULE_EXODUS EXTERNAL_RENDERING_DESC= External rendering module EXTERNAL_RENDERING_CMAKE_BOOL= F3D_MODULE_EXTERNAL_RENDERING EXTERNAL_RENDERING_BROKEN= Requires VTK::RenderingExternal enabled in VTK OCCT_DESC= OpenCASCADE module (STEP and IGES files) OCCT_USES= localbase:ldflags OCCT_CMAKE_BOOL= F3D_MODULE_OCCT OCCT_LIB_DEPENDS= libTKBRep.so:cad/opencascade \ libdraco.so:archivers/draco OCCT_CMAKE_ON= -DOpenCASCADE_DIR=${LOCALBASE}/lib/cmake RAYTRACING_DESC= Raytracing module RAYTRACING_CMAKE_BOOL= F3D_MODULE_RAYTRACING RAYTRACING_BROKEN= Requires VTK::RenderingRayTracing enabled in VTK post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index 0cf386c5a9a8..e6796016f1d6 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -1,219 +1,219 @@ PORTNAME= gdal PORTVERSION= 3.6.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics geography MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Translator library for raster geospatial data formats WWW= https://gdal.org/ \ https://github.com/OSGeo/gdal LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.TXT BUILD_DEPENDS= libgeotiff>=1.5.0:graphics/libgeotiff \ proj>=6,1:graphics/proj LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \ libgif.so:graphics/giflib \ libjson-c.so:devel/json-c \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libqhull_r.so:math/qhull \ libshp.so:devel/shapelib \ libtiff.so:graphics/tiff USES= cmake compiler:c++17-lang cpe iconv jpeg localbase pkgconfig ssl tar:xz CMAKE_OFF= BUILD_CSHARP_BINDINGS \ BUILD_DOCS \ BUILD_JAVA_BINDINGS \ BUILD_PYTHON_BINDINGS \ BUILD_TESTING \ CLANG_TIDY_ENABLED \ CSHARP_MONO \ GDAL_BUILD_OPTIONAL_DRIVERS \ GDAL_SET_INSTALL_RELATIVE_RPATH \ GDAL_USE_INTERNAL_LIBS \ GDAL_USE_GEOTIFF_INTERNAL \ GDAL_USE_GIF_INTERNAL \ GDAL_USE_JPEG12_INTERNAL \ GDAL_USE_JPEG_INTERNAL \ GDAL_USE_JSONC_INTERNAL \ GDAL_USE_LERC_INTERNAL \ GDAL_USE_LIBCSF_INTERNAL \ GDAL_USE_OPENCAD \ GDAL_USE_OPENCAD_INTERNAL \ GDAL_USE_PNG_INTERNAL \ GDAL_USE_POSTGRESQL \ GDAL_USE_PUBLICDECOMPWT \ GDAL_USE_QHULL_INTERNAL \ GDAL_USE_SHAPELIB_INTERNAL \ GDAL_USE_TIFF_INTERNAL \ GDAL_USE_ZLIB_INTERNAL \ HDFS_ENABLED \ OGR_BUILD_OPTIONAL_DRIVERS \ SWIG_REGENERATE_PYTHON CMAKE_ON= BUILD_APPS \ BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS \ ENABLE_GNM \ ENABLE_IPO \ ENABLE_PAM \ GDAL_ENABLE_PLUGINS \ GDAL_HIDE_INTERNAL_SYMBOLS \ GDAL_OBJECT_LIBRARIES_POSITION_INDEPENDENT_CODE \ GDAL_SPLIT_EXPORTED_LIBS \ GDAL_USE_EXTERNAL_LIBS \ GDAL_USE_GEOTIFF \ GDAL_USE_GIF \ GDAL_USE_ICONV \ GDAL_USE_JPEG \ GDAL_USE_JPEG12 \ GDAL_USE_JSONC \ GDAL_USE_LIBCSF \ GDAL_USE_LIBLZMA \ GDAL_USE_OPENSSL \ GDAL_USE_PNG \ GDAL_USE_QHULL \ GDAL_USE_SHAPELIB \ GDAL_USE_TIFF \ GDAL_USE_ZLIB \ OGR_SQLITE_ALLOW_LOAD_EXTENSIONS \ USE_CCACHE USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} CPE_VENDOR= osgeo HEADER_FILES= alg/gdalwarpkernel_opencl.h \ alg/gvgcpfit.h \ alg/internal_qhull_headers.h \ alg/thinplatespline.h\ gcore/gdalexif.h \ gcore/gdaljp2metadatagenerator.h \ gcore/gdalsse_priv.h \ gnm/gnm_priv.h \ port/cpl_aws.h \ port/cpl_cpu_features.h \ port/cpl_google_cloud.h \ port/cpl_odbc.h \ port/cpl_sha1.h \ port/cpl_sha256.h \ port/cpl_vsil_curl_priv.h \ port/cpl_worker_thread_pool.h OPTIONS_DEFINE= ARMADILLO BRUNSLI CFITSIO CRYPTOPP CURL DEFLATE ECW EXPAT EXR FREEXL GEOS GTA HDF5 HEIF KML LERC LIBXML2 LZ4 MYSQL NETCDF ODBC OPENJPEG PCRE PCRE2 PGSQL RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD OPTIONS_RADIO= PDF OPTIONS_RADIO_PDF= PODOFO POPPLER OPTIONS_DEFAULT=CURL EXPAT FREEXL GEOS LIBXML2 LZ4 OPENJPEG PCRE2 PGSQL POPPLER WEBP ZSTD \ HDF5 KML NETCDF SPATIALITE SFCGAL SQLITE XERCES OPTIONS_SUB= yes BRUNSLI_DESC= Brunsli support via libbrunsli library CRYPTOPP_DESC= Cryptopp support DEFLATE_DESC= Faster deflate support via libdeflate library EXR_DESC= EXR support via OpenEXR library LERC_DESC= LERC (Limited Error Raster Compression) support PCRE_DESC= Regular expression support for SQLite PCRE2_DESC= Regular expression support for SQLite RASTERLITE2_DESC= RasterLite2 support TILEDB_DESC= TileDB support ARMADILLO_CMAKE_BOOL= GDAL_USE_ARMADILLO ARMADILLO_LIB_DEPENDS= libarmadillo.so:math/armadillo BRUNSLI_CMAKE_BOOL= GDAL_USE_BRUNSLI BRUNSLI_LIB_DEPENDS= libbrunslidec-c.so:graphics/brunsli CFITSIO_CMAKE_BOOL= GDAL_USE_CFITSIO CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CRYPTOPP_CMAKE_BOOL= GDAL_USE_CRYPTOPP CRYPTOPP_LIB_DEPENDS= libcryptopp.so:security/cryptopp CURL_CMAKE_BOOL= GDAL_USE_CURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl DEFLATE_CMAKE_BOOL= GDAL_USE_DEFLATE DEFLATE_LIB_DEPENDS= libdeflate.so:archivers/libdeflate ECW_CMAKE_BOOL= GDAL_USE_ECW ECW_LIB_DEPENDS= libNCSEcw.so:graphics/libecwj2 EXPAT_CMAKE_BOOL= GDAL_USE_EXPAT EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 EXR_CFLAGS= -DInt64=uint64_t EXR_CMAKE_BOOL= GDAL_USE_EXR EXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr FREEXL_CMAKE_BOOL= GDAL_USE_FREEXL FREEXL_LIB_DEPENDS= libfreexl.so:textproc/freexl GEOS_CMAKE_BOOL= GDAL_USE_GEOS GEOS_LIB_DEPENDS= libgeos.so:graphics/geos GTA_CMAKE_BOOL= GDAL_USE_GTA GTA_LIB_DEPENDS= libgta.so:devel/libgta HDF5_CMAKE_BOOL= GDAL_USE_HDF5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HEIF_CMAKE_BOOL= GDAL_USE_HEIF HEIF_LIB_DEPENDS= libheif.so:graphics/libheif KML_CMAKE_BOOL= GDAL_USE_KML KML_LIB_DEPENDS= libkmlbase.so:science/libkml LERC_CMAKE_BOOL= GDAL_USE_LERC LERC_LIB_DEPENDS= libLerc.so:graphics/lerc LIBXML2_CMAKE_BOOL= GDAL_USE_LIBXML2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LZ4_CMAKE_BOOL= GDAL_USE_LZ4 LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 MYSQL_CMAKE_BOOL= GDAL_USE_MYSQL MYSQL_USES= mysql NETCDF_CMAKE_BOOL= GDAL_USE_NETCDF NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf ODBC_CMAKE_BOOL= GDAL_USE_ODBC ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC OPENJPEG_BUILD_DEPENDS= openjpeg>=2.1.0:graphics/openjpeg OPENJPEG_CMAKE_BOOL= GDAL_USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PCRE_CMAKE_BOOL= GDAL_USE_PCRE PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE2_CMAKE_BOOL= GDAL_USE_PCRE2 PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PGSQL_CMAKE_BOOL= GDAL_USE_PGSQL PGSQL_USES= pgsql PODOFO_CMAKE_BOOL= GDAL_USE_PODOFO PODOFO_LIB_DEPENDS= libpodofo.so:graphics/podofo POPPLER_CMAKE_BOOL= GDAL_USE_POPPLER POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler RASTERLITE2_CMAKE_BOOL= GDAL_USE_RASTERLITE2 RASTERLITE2_LIB_DEPENDS=librasterlite2.so:graphics/librasterlite2 SFCGAL_CMAKE_BOOL= GDAL_USE_SFCGAL SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal SPATIALITE_CMAKE_BOOL= GDAL_USE_SPATIALITE SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite SQLITE_CMAKE_BOOL= GDAL_USE_SQLITE3 SQLITE_USES= sqlite TILEDB_CMAKE_BOOL= GDAL_USE_TILEDB TILEDB_LIB_DEPENDS= libtiledb.so:databases/tiledb WEBP_CMAKE_BOOL= GDAL_USE_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XERCES_CMAKE_BOOL= GDAL_USE_XERCES XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 ZSTD_CMAKE_BOOL= GDAL_USE_ZSTD ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd post-patch: # Clean up bundled libraries @${RM} -r ${WRKSRC}/alg/internal_libqhull/ @${RM} -r ${WRKSRC}/frmts/gif/giflib/ @${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/ @${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/ @${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg/ @${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg12/ @${RM} -r ${WRKSRC}/frmts/png/libpng/ @${RM} -r ${WRKSRC}/frmts/zlib/ @${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/ @${RM} -r ${WRKSRC}/third_party/LercLib/ post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/scripts/gdal-bash-completion.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d cd ${WRKSRC}/ && ${INSTALL_DATA} ${HEADER_FILES} ${STAGEDIR}${PREFIX}/include/ # ${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so .include diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 140811d6e6e1..cd837c200cd4 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,147 +1,147 @@ PORTNAME= gegl PORTVERSION= 0.4.42 -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 \ libfribidi.so:converters/fribidi \ libnsgif.so:graphics/libnsgif \ libpng.so:graphics/png USES= compiler:c++14-lang cpe gettext gnome jpeg localbase \ meson pkgconfig shebangfix uniquefiles tar:xz USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Ddocs=false \ -Dworkshop=false \ -Dintrospection=true \ -Dlensfun=disabled \ -Dlibjpeg=enabled \ -Dlibpng=enabled \ -Dmrg=disabled \ -Dpygobject=disabled \ -Dlua=disabled GEGL_SHLIB= 0.441.1 GEGL_VER= 0.4 PLIST_SUB+= GEGL_SHLIB=${GEGL_SHLIB} GEGL_VER=${GEGL_VER} SHEBANG_FILES= tools/xml_insert.sh OPTIONS_SUB= yes OPTIONS_DEFINE= CAIRO ENSCRIPT FFMPEG PIXBUF GRAPHVIZ JASPER LCMS2 \ OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L \ WEBP TIFF GEXIV2 VAPI OPTIONS_DEFAULT=CAIRO ENSCRIPT GEXIV2 PIXBUF GRAPHVIZ JASPER LCMS2 \ OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L WEBP TIFF VAPI PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_MESON_ENABLED= gdk-pixbuf CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= cairo PANGO_USE= GNOME=pango PANGO_MESON_ENABLED= pango POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler ENSCRIPT_DESC= Enscript support ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= libav GRAPHVIZ_LIB_DEPENDS= libcgraph.so: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 OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_MESON_ENABLED= openexr RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= libraw LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= librsvg SDL_USE= SDL=sdl2 SDL_USES= sdl SDL_MESON_ENABLED= sdl2 SPIRO_DESC= Spiro support SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_MESON_ENABLED= libspiro V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_MESON_ENABLED= libv4l2 V4L_VARS= LICENSE+=LGPL20+ WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp # UMFPACK has two "problems" # 1) it build with port gcc 2) needed libs aren't recorded in the libraries. #UMFPACK_DESC= UMFpack support #UMFPACK_LIB_DEPENDS= libumfpack.so:math/suitesparse #UMFPACK_MESON_ENABLED= umfpack MESON_ARGS+= -Dumfpack=disabled GEXIV2_DESC= EXIF and IPTC metadata support via gexiv2 GEXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GEXIV2_MESON_ENABLED= gexiv2 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff VAPI_USES= vala:build VAPI_MESON_ENABLED= vapigen .include .if ${PORT_OPTIONS:MPANGO} && ${PORT_OPTIONS:MCAIRO} PLIST_SUB+= PANGOCAIRO="" MESON_ARGS+= -Dpangocairo=enabled .else MESON_ARGS+= -Dpangocairo=disabled PLIST_SUB+= PANGOCAIRO="@comment " .endif .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 post-patch: .if ${CHOSEN_COMPILER_TYPE} == clang ${REINPLACE_CMD} -e '/altivec.h/d' ${WRKSRC}/gegl/opencl/cl_platform.h .endif .include diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile index 9396e4e9123f..01baa8e54bfb 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -1,157 +1,157 @@ PORTNAME?= gimp PORTVERSION= 2.10.34 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} PKGNAMESUFFIX= -app #DISTNAME= gimp-${PORTVERSION} 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+= ${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+= compiler:c++14-lang cpe 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} .if !defined(GIMP_SLAVE) USES+= desktop-file-utils 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 .endif .if defined(GIMP_SLAVE) PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config GIMP_LIBS= `${PKG_CONFIG} --libs gimp-2.0` GIMP_THUMB_LIBS= `${PKG_CONFIG} --libs gimpthumb-2.0` GIMP_UI_LIBS= `${PKG_CONFIG} --libs gimpui-2.0` LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app .else DEBUG_CONFIGURE_ON= --enable-debug AALIB_DESC= Ascii-art Plug-in OPENJPEG_DESC= Enhanced JPEG (jpeg2000) 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-mmx \ --disable-sse \ --disable-altivec 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 .endif 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 2f08019df339..a856de5f68ba 100644 --- a/graphics/gmic/Makefile +++ b/graphics/gmic/Makefile @@ -1,49 +1,49 @@ PORTNAME= gmic DISTVERSION= 3.1.6 -PORTREVISION= 1 +PORTREVISION= 2 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 c2aebe9de8dd..33002d7f7e75 100644 --- a/graphics/gstreamer1-plugins-openexr/Makefile +++ b/graphics/gstreamer1-plugins-openexr/Makefile @@ -1,19 +1,19 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics COMMENT= GStreamer OpenExr codec plugin USES+= compiler:c++11-lang GST_PLUGIN= openexr DIST= bad CPPFLAGS+= -DInt64=uint64_t MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath-3_1.so:math/Imath .include "${MASTERDIR}/Makefile" diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index 9f8eafad7c2f..a3156dbbed78 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -1,61 +1,61 @@ PORTNAME= hugin DISTVERSION= 2022.0.0 -PORTREVISION= 1 +PORTREVISION= 2 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 48031bdacf9a..0053b443cc13 100644 --- a/graphics/kf5-kimageformats/Makefile +++ b/graphics/kf5-kimageformats/Makefile @@ -1,38 +1,39 @@ PORTNAME= kimageformats DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 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 OPTIONS_DEFAULT= AVIF JXL HEIF OPENEXR 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 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 491c05e09600..2742a603b4fc 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,78 +1,78 @@ PORTNAME= krita DISTVERSION= 5.1.5 -PORTREVISION= 5 +PORTREVISION= 6 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= libheif>=1.12.0:graphics/libheif 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 \ libboost_system.so:devel/boost-libs \ libfftw3.so:math/fftw3 \ libexiv2.so:graphics/exiv2 \ libcurl.so:ftp/curl \ libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libheif.so:graphics/libheif \ libturbojpeg.so:graphics/libjpeg-turbo \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip@qt5 \ libraw.so:graphics/libraw \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libxcb.so:x11/libxcb \ libxcb-util.so:x11/xcb-util # Disable ninja generator for now (with gmake), until the duplicate test targets are resolved upstream. USES= cmake compiler:c++11-lib desktop-file-utils \ eigen:3 gettext jpeg kde:5 localbase:ldflags pkgconfig \ python:3.7+ qt:5 shared-mime-info tar:xz xorg USE_KDE= archive completion config coreaddons crash guiaddons i18n \ itemmodels itemviews kio service widgetsaddons windowsystem USE_QT= concurrent core dbus declarative gui multimedia network printsupport \ sql svg testlib widgets x11extras xml sql-sqlite3:run \ buildtools:build qmake:build USE_XORG= ice sm xcb xext xi CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_PyQt5:BOOL=true OPTIONS_DEFINE= GMIC OPENEXR OPTIONS_DEFAULT= OPENEXR OPTIONS_SUB= yes GMIC_DESC= Depend on the G'Mic plugin #' GMIC_RUN_DEPENDS= gmic_krita_qt:graphics/gmic-qt@krita OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libKSeExpr.so:graphics/kseexpr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR PLIST_SUB= SHLIB_VER=18.0.0 \ SHLIB_SHVER=18 .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 BUILD_DEPENDS+= vc>=1.1.0:devel/vc .else CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Vc=ON .endif .include diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index 90fd13d1d628..de8c159e58b2 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -1,62 +1,62 @@ PORTNAME= luminance-hdr DISTVERSION= 2.6.1.1 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Complete open source solution for HDR photography WWW= http://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 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 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 .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/ogre3d/Makefile b/graphics/ogre3d/Makefile index 3f6ecb22bbfe..2cfe2d3b3c8d 100644 --- a/graphics/ogre3d/Makefile +++ b/graphics/ogre3d/Makefile @@ -1,109 +1,109 @@ PORTNAME= ogre3d DISTVERSIONPREFIX= v DISTVERSION= 1.11.6 -PORTREVISION= 10 +PORTREVISION= 11 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 BROKEN_FreeBSD_12_powerpc64= fails to build: /usr/local/bin/ld: /usr/lib/crt1.o:(.got+0x60): undefined reference to 'main' 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 CMAKE_ARGS+= -DOGRE_BUILD_RENDERSYSTEM_GL3PLUS:BOOL=OFF \ -DOGRE_BUILD_RENDERSYSTEM_GL:BOOL=OFF \ -DOGRE_BUILD_RENDERSYSTEM_GLES2:BOOL=OFF \ -DOGRE_BUILD_COMPONENT_PYTHON:BOOL=OFF \ -DOGRE_BUILD_COMPONENT_JAVA:BOOL=OFF \ -DOGRE_BUILD_COMPONENT_CSHARP:BOOL=OFF \ -DOGRE_BUILD_PLUGIN_FREEIMAGE:BOOL=OFF \ -DOGRE_BUILD_PLUGIN_EXRCODEC:BOOL=OFF \ -DOGRE_CONFIG_ENABLE_ZIP:BOOL=ON \ -DOGRE_INSTALL_DOCS:BOOL=OFF \ -DOGRE_INSTALL_SAMPLES_SOURCE:BOOL=OFF OPTIONS_DEFINE= CSHARP DOCS FREEIMAGE JAVA OPENEXR OPENGL PROFILE \ PYTHON OPTIONS_DEFAULT= DOCS 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 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(__sparc64__) || 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 d95d18809f22..dcc8cf7cf230 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 OCIO_SLAVE= tools OPTIONS_EXCLUDE= DOCS .include "${MASTERDIR}/Makefile" diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index bcf805f5e3cd..52829765b0fc 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -1,119 +1,119 @@ PORTNAME= opencolorio DISTVERSIONPREFIX= v DISTVERSION= 2.1.3 # 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?= 0 +PORTREVISION?= 1 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 USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenColorIO CMAKE_OFF= OCIO_BUILD_JAVA OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= OCIO_BUILD_DOCS DOCS_BUILD_DEPENDS= doxygen>0:devel/doxygen PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R} .include .if (defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}) CMAKE_ON+= OCIO_USE_SSE .else CMAKE_OFF+= OCIO_USE_SSE .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+= ${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 \ libOpenColorIO.so:graphics/opencolorio \ libOpenImageIO.so:graphics/openimageio \ libopencv_core.so:graphics/opencv \ libOpenEXR.so:graphics/openexr CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS CMAKE_OFF+= BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=14 LDFLAGS+= -lOpenImageIO_Util USES+= gl xorg USE_GL= egl gl glu glut glew USE_XORG= xi xmu PLIST= ${PKGDIR}/pkg-plist-tools .elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule BUILD_DEPENDS+= pybind11>0:devel/pybind11 LIB_DEPENDS+= libOpenColorIO.so:graphics/opencolorio # textproc/py-sphinx_press_theme doesn't support py3.6 USES+= python:3.7+ LDFLAGS+= -lOpenColorIO CMAKE_ON+= OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} PLIST= ${PKGDIR}/pkg-plist-pyglue # concurrent allows docs to not collide with master port USE_PYTHON= concurrent flavors .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 CMAKE_ON+= BUILD_SHARED_LIBS OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} USES+= gl python:build xorg USE_GL= gl glu glut glew USE_XORG= xi xmu USE_LDCONFIG= yes 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 libdata lib/cmake lib/libOpenColorIO.a .endif .if !defined(OCIO_SLAVE) || (defined(OCIO_SLAVE) && ${OCIO_SLAVE} != pymodule) @cd ${STAGEDIR}${PREFIX} && ${RM} -r lib/libOpenColorIO*.a lib/python* .endif post-install-DOCS-on: @cd ${STAGEDIR}${PREFIX}/share/doc && ${MV} OpenColorIO ${PKGNAMEPREFIX}${PORTNAME} .include diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile index da46ba9de46d..b832116a2243 100644 --- a/graphics/openexr/Makefile +++ b/graphics/openexr/Makefile @@ -1,81 +1,82 @@ PORTNAME= openexr PORTVERSION= 3.1.5 +PORTREVISION= 1 CATEGORIES= graphics devel MAINTAINER= mandree@FreeBSD.org COMMENT= High dynamic-range (HDR) image file format WWW= https://www.openexr.com/ LICENSE= BSD3CLAUSE # exact version required to avoid hard-to-debug issues LIB_DEPENDS= libImath-3_1.so.30:math/Imath USES= cmake compiler:c++14-lang cpe pathfix pkgconfig USE_GITHUB= yes GH_TUPLE= AcademySoftwareFoundation:openexr:v${PORTVERSION} USE_LDCONFIG= yes CMAKE_ARGS+= -DCMAKE_DEBUG_POSTFIX= CPPFLAGS+= -I. # must be linked with -l{thr|pthread} explicitly LDFLAGS+= -lpthread PATCH_STRIP= -p0 _MAJORVER= 3_1 _VER= 30 _MINVER= 5 _PLVER= 1 PLIST_SUB+= MAJORVER=${_MAJORVER} \ VER=${_VER} \ MINVER=${_MINVER} \ PLVER=${_PLVER} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes DOCS_BUILD_DEPENDS=breathe-apidoc:devel/py-breathe DOCS_CMAKE_BOOL=DOCS _DOCSRCDIR1= ${WRKSRC} _DOC_FILES1= CHANGES.md CONTRIBUTING.md GOVERNANCE.md LICENSE.md SECURITY.md \ CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md # too many reports about compilation failures, so # sanity check we are using the same C++ standard library _imath_libcxx= ${COMPILER_FEATURES:Mlib*c++} pre-configure: @${READELF} -d ${LOCALBASE}/lib/libImath.so \ | ${EGREP} -q '\.*\[${_imath_libcxx:C/\+/\\+/g}\.' \ || { ${ECHO_CMD} "*** Your Imath package uses a different C++ standard library than ***" ; \ ${ECHO_CMD} "*** OpenEXR would. Please recompile and reinstall Imath with the ***" ; \ ${ECHO_CMD} "*** same C++ std. library before trying to build OpenEXR. Abort. ***" ; \ exit 1; } post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${_DOC_FILES1:S|^|${_DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} ( cd ${BUILD_WRKSRC}/docs/sphinx && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ) ${RM} -r ${STAGEDIR}${DOCSDIR}/.??* ${STAGEDIR}${DOCSDIR}/../OpenEXR/sphinx post-install-DOCS-off: @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME} 2>/dev/null || : post-install-EXAMPLES-on: ${MV} \ ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ ${STAGEDIR}${EXAMPLESDIR} @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : post-install-EXAMPLES-off: ${RM} -R ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : do-test: cd ${BUILD_WRKSRC} && ctest -j ${MAKE_JOBS_NUMBER} .include diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 1ba32246b8b5..2e1359b3fe5e 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,136 +1,136 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.4.4.2 # 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?= 7 +PORTREVISION?= 8 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 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libheif.so:graphics/libheif \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png \ libsquish.so:graphics/squish \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake jpeg compiler:c++14-lang iconv:wchar_t qt:5 USE_QT+= buildtools:build qmake:build USE_GITHUB= yes GH_ACCOUNT= OpenImageIO GH_PROJECT= oiio CMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \ STOP_ON_WARNING USE_OPENSSL OIIO_DOWNLOAD_MISSING_TESTDATA OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \ OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX TOOLS VDB OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} DICOM_DESC= DICOM/MEDICOM support DICOM_CMAKE_BOOL= USE_DICOM DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk FFMPEG_DESC= Use FFmpeg to support extra file types FFMPEG_CMAKE_BOOL= USE_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FREETYPE_CMAKE_BOOL= USE_FREETYPE FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf GIF_CMAKE_BOOL= USE_GIF GIF_LIB_DEPENDS= libgif.so:graphics/giflib IMAGEVIEWER_DESC= Build image viewer (requires Qt) IMAGEVIEWER_USES= gl IMAGEVIEWER_IMPLIES= TOOLS IMAGEVIEWER_CMAKE_BOOL= USE_QT USE_OPENGL IMAGEVIEWER_USE= GL=gl,glu,glew \ QT=buildtools,core,gui,opengl,qmake:build,widgets OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv OPENJPEG_CMAKE_BOOL= USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PTEX_DESC= ptex support PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex RAW_CMAKE_BOOL= USE_LIBRAW RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw TBB_DESC= Intel tbb support TBB_CMAKE_BOOL= USE_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TEST_CMAKE_BOOL= OIIO_BUILD_TESTS TOOLS_DESC= Build CLI tools TOOLS_CMAKE_BOOL= OIIO_BUILD_TOOLS VDB_DESC= OpenVDB support VDB_CMAKE_BOOL= USE_OPENVDB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb PLIST_SUB= SHL3=${PORTVERSION:R} SHL2=${PORTVERSION:R:R} SHL1=${PORTVERSION:R:R:R} SHL2= ${PORTVERSION:R:R} SHL1= ${PORTVERSION:R:R:R} post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/src/cmake/modules/FindPtex.cmake .include .if ${SLAVE_PORT} == yes BUILD_DEPENDS+= ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio PLIST= ${PKGDIR}/pkg-plist-pybind USES+= python USE_PYTHON= flavors CMAKE_ON+= USE_PYTHON # we don't need the apps built - only libs. CMAKE_OFF+= USE_QT USE_OPENGL OIIO_BUILD_TOOLS OIIO_BUILD_TESTS \ EMBED_PLUGINS CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} do-install: ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/OpenImageIO*.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .else # SLAVE_PORT != yes USE_LDCONFIG= yes CMAKE_OFF+= USE_PYTHON post-install: ${LN} -sf libOpenImageIO.so.${SHL2} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL1} ${LN} -sf libOpenImageIO_Util.so.${SHL2} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL1} do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${SETENV} ARGS=-V ${MAKE_CMD} test .endif # SLAVE_PORT .include diff --git a/graphics/openshadinglanguage/Makefile b/graphics/openshadinglanguage/Makefile index fe1d2130a811..932def6051f6 100644 --- a/graphics/openshadinglanguage/Makefile +++ b/graphics/openshadinglanguage/Makefile @@ -1,83 +1,83 @@ PORTNAME= openshadinglanguage DISTVERSIONPREFIX= v DISTVERSION= 1.12.6.2 -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 PATCH_SITES= https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/ PATCHFILES= 41cc6d78dba4115b7d4adcae7e4759ffa43c3833.patch:-p1 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_FreeBSD_12_powerpc64= fails to compile: llvm_ops.cpp:101:10: fatal error: 'iostream' file not found BROKEN_riscv64= fails to build: /usr/include/c++/v1/__threading_support:135:3: Unsupported architecture BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libOpenImageIO.so:graphics/openimageio \ libpugixml.so:textproc/pugixml RUN_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} USES= bison cmake compiler:c++14-lang localbase ncurses qt:5 USE_QT= buildtools:build qmake:build USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenShadingLanguage CMAKE_ON= ENABLERTTI OSL_BUILD_TESTS USE_LLVM_BITCODE USE_LIBCPLUSPLUS CMAKE_OFF= USE_BOOST_WAVE CMAKE_ARGS+= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}" \ -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} -DCMAKE_CXX_STANDARD=14 OPTIONS_DEFINE= OSLTOY OPTIONS_SUB= yes OSLTOY_DESC= Interactive shader edit and visualize tool OSLTOY_CMAKE_BOOL= USE_QT OSLTOY_USE= QT=buildtools:build,core,gui,qmake:build,widgets #CXXFLAGS+= -I${STAGEDIR}/include # DISTVERSION has an extra digit which isn't in the lib name # for LIBVERS we want the first three digits PLIST_SUB= SHL3=${PORTVERSION:R} SHL2=${PORTVERSION:R:R} .include post-patch: @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ -e 's,%%PYCMD%%,${PYTHON_CMD},' \ ${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} PLIST= ${PKGDIR}/pkg-plist-pybind USES+= python USE_PYTHON= flavors CMAKE_ON+= USE_PYTHON CMAKE_ARGS+= -DPYTHON_VERSION=${PYTHON_VER} do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/oslquery.so ${STAGEDIR}${PYTHON_SITELIBDIR} .else # SLAVE_PORT != yes USES+= python:build BINARY_ALIAS+= python=${PYTHON_CMD} CMAKE_OFF+= USE_PYTHON USE_LDCONFIG= yes .endif # SLAVE_PORT .include diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile index 1430c8eae91c..662b98075569 100644 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -1,160 +1,160 @@ PORTNAME= osg PORTVERSION= 3.6.5 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 50 +PORTREVISION= 51 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 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:multimedia/ffmpeg 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 .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 29e6a747ea25..80aada6d49a9 100644 --- a/graphics/osg34/Makefile +++ b/graphics/osg34/Makefile @@ -1,150 +1,150 @@ PORTNAME= osg PORTVERSION= 3.4.1 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 45 +PORTREVISION= 46 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 USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS_INSTALL=osg USES= alias cmake compiler:c++11-lang gl jpeg pkgconfig xorg USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes # needed to ensure build on gcc-based archs; harmless otherwise CXXFLAGS+= -Wno-narrowing -I${LOCALBASE}/include/Imath -DInt64=uint64_t PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=131 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 PORTSCOUT= limitw:1,even 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 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 OPTIONS_SUB= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg 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_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF XRANDR_USE= xorg=xrandr # 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 .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 9456783e0ee8..2ef73a63c51c 100644 --- a/graphics/pfstools/Makefile +++ b/graphics/pfstools/Makefile @@ -1,111 +1,111 @@ PORTNAME= pfstools DISTVERSION= 2.1.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= fbsd@any.com.ru COMMENT= Tools for manipulating HDR images and video frames WWW= http://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_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 aa2e32b741c4..9128fc549938 100644 --- a/graphics/pixie/Makefile +++ b/graphics/pixie/Makefile @@ -1,65 +1,65 @@ PORTNAME= pixie PORTVERSION= 2.2.6 -PORTREVISION= 35 +PORTREVISION= 36 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 BROKEN_FreeBSD_12_powerpc64= fails to compile on powerpc64 elfv1: ../common/mathSpec.h:548:37: error: 'max' was not declared in this scope 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_GL= glu GNU_CONFIGURE= yes 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 721a9d50a3c2..307e198b9ce7 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -1,116 +1,116 @@ PORTNAME= povray DISTVERSIONPREFIX= v DISTVERSION= 3.7.0.10 -PORTREVISION= 5 +PORTREVISION= 6 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_GITHUB= yes GH_ACCOUNT= POV-Ray GNU_CONFIGURE= yes CONFIGURE_ARGS= COMPILED_BY=${MAINTAINER} \ --program-transform-name='s/povray/${PKGBASE}/' \ --disable-optimiz VERSION_BASE= ${PORTVERSION: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} OPTIONS_DEFINE= X11 PNG JPEG TIFF OPENEXR STATIC IO EXAMPLES DOCS OPTIONS_DEFAULT=PNG JPEG OPTIONS_SUB= yes DOCS_DESC= Install HTML documentation EXAMPLES_DESC= Install example scenes IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions STATIC_CONFIGURE_ON= --enable-static X11_USES= sdl xorg X11_USE= XORG=xpm,sm,ice,x11 SDL=sdl X11_CONFIGURE_OFF= --without-x .include .if ${PORT_OPTIONS:MPNG} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= png>=1.4:graphics/png .else LIB_DEPENDS+= libpng.so:graphics/png .endif .else CONFIGURE_ARGS+=--without-libpng .endif .if ${PORT_OPTIONS:MJPEG} .if ${PORT_OPTIONS:MSTATIC} USES+= jpeg:build .else USES+= jpeg .endif .else CONFIGURE_ARGS+=--without-libjpeg .endif .if ${PORT_OPTIONS:MTIFF} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= tiff>=4:graphics/tiff .else LIB_DEPENDS+= libtiff.so:graphics/tiff .endif .else CONFIGURE_ARGS+=--without-libtiff .endif .if ${PORT_OPTIONS:MOPENEXR} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= openexr>=1.6:graphics/openexr .else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr libImath.so:math/Imath CPPFLAGS+= -I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath -DInt64=uint64_t .endif .else CONFIGURE_ARGS+=--without-openexr .endif .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 pre-build: .if ${PORT_OPTIONS:MSTATIC} && ${PORT_OPTIONS:MTIFF} # graphics/tiff adds dependencies on libjpeg, libjbig and liblzma @${REINPLACE_CMD} -e 's,^\(LIBS = .*\)-ltiff\(.*\),\1-ltiff -ljpeg -ljbig -llzma\2,' ${WRKSRC}/unix/Makefile .endif 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 80e0f95aac6f..38244a4a4996 100644 --- a/graphics/povray38/Makefile +++ b/graphics/povray38/Makefile @@ -1,80 +1,80 @@ PORTNAME= povray DISTVERSIONPREFIX= v DISTVERSION= 3.8.0-beta.2 -PORTREVISION= 3 +PORTREVISION= 4 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++11-lang gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-transform-name='s/povray/${PKGBASE}/' \ COMPILED_BY=${MAINTAINER} VERSION_BASE= ${PORTVERSION: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} OPTIONS_DEFINE= DOCS EXAMPLES IO JPEG OPENEXR OPTIMIZED_CFLAGS PNG TIFF \ X11 OPTIONS_DEFAULT= JPEG PNG TIFF OPTIONS_SUB= yes DOCS_DESC= Install HTML documentation EXAMPLES_DESC= Install example scenes 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_ON= --with-openexr OPENEXR_CONFIGURE_OFF= --without-openexr OPTIMIZED_CFLAGS_CONFIGURE_OFF= --disable-optimiz OPTIMIZED_CFLAGS_CFLAGS= -march=native PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ON= --with-libpng PNG_CONFIGURE_OFF= --without-libpng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_ON= --with-libtiff TIFF_CONFIGURE_OFF= --without-libtiff X11_USES= sdl xorg X11_USE= SDL=sdl \ XORG=ice,sm,x11,xpm X11_CONFIGURE_OFF= --without-x WRKSRC= ${WRKDIR}/${DISTNAME} .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-opencolorio/Makefile b/graphics/py-opencolorio/Makefile index 255684dfd78d..619ca7dd0d55 100644 --- a/graphics/py-opencolorio/Makefile +++ b/graphics/py-opencolorio/Makefile @@ -1,11 +1,11 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics multimedia python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= OpenColorIO python bindings MASTERDIR= ${.CURDIR}/../opencolorio OCIO_SLAVE= pymodule OPTIONS_EXCLUDE=${OPTIONS_DEFINE} .include "${MASTERDIR}/Makefile" diff --git a/graphics/py-openimageio/Makefile b/graphics/py-openimageio/Makefile index bb6e3115689e..90cf0342bb59 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 1fa4e38214f8..a1707b8c59e3 100644 --- a/graphics/py-openshadinglanguage/Makefile +++ b/graphics/py-openshadinglanguage/Makefile @@ -1,12 +1,12 @@ -PORTREVISION= 0 +PORTREVISION= 1 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 f63f5dd55b00..debd177d70f2 100644 --- a/graphics/simpleviewer/Makefile +++ b/graphics/simpleviewer/Makefile @@ -1,89 +1,89 @@ PORTNAME= simpleviewer PORTVERSION= 3.1.7 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/andreyu/simple-viewer-gl/get/ DISTNAME= v${PORTVERSION} # version tag, has no embedded ${PORTNAME} DIST_SUBDIR= ${PORTNAME} # and that's why we need ${DIST_SUBDIR} 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]} WRKSRC= ${WRKDIR}/andreyu-simple-viewer-gl-d8928067922d 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 a303a6894719..d2a205dc43ba 100644 --- a/graphics/synfig/Makefile +++ b/graphics/synfig/Makefile @@ -1,56 +1,57 @@ PORTNAME= synfig PORTVERSION= 1.4.4 DISTVERSIONPREFIX=v +PORTREVISION= 1 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.2.2: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 PORTSCOUT= limitw:1,even USES= autoreconf compiler:c++11-lang gmake gnome iconv jpeg \ libtool localbase magick:6 mlt:6 pathfix pkgconfig USE_CXXSTD= c++11 USE_GITHUB= yes USE_GNOME= cairo glibmm intltool libxml++26 pango GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} CONFIGURE_ENV+= ac_cv_path_SED=${LOCALBASE}/bin/gsed # Other spurious uses of direct sed have popped up BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed INSTALL_TARGET= install-strip USE_LDCONFIG= yes 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 6d4611c26de0..352bbd4403cc 100644 --- a/graphics/synfigstudio/Makefile +++ b/graphics/synfigstudio/Makefile @@ -1,59 +1,59 @@ PORTNAME= synfigstudio PORTVERSION= 1.4.4 DISTVERSIONPREFIX=v -PORTREVISION= 1 +PORTREVISION= 2 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.2.2: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 PORTSCOUT= limitw:1,even USES= autoreconf compiler:c++11-lang desktop-file-utils \ gmake gnome libtool localbase magick:6 mlt:6 pathfix pkgconfig \ shared-mime-info USE_GITHUB= yes GH_ACCOUNT= synfig GH_PROJECT= synfig WRKSRC_SUBDIR= synfig-studio USE_CXXSTD= c++11 USE_GNOME= gdkpixbuf2 gtkmm30 intltool GNU_CONFIGURE= yes BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --disable-update-mimedb INSTALL_TARGET= install-strip USE_LDCONFIG= yes 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 8654de947813..43ff529a5d4f 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -1,77 +1,77 @@ PORTNAME= vigra DISTVERSIONPREFIX=v DISTVERSION= 1.11.1 -PORTREVISION= 22 +PORTREVISION= 23 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 856493b54109..110fe03f472d 100644 --- a/graphics/vips/Makefile +++ b/graphics/vips/Makefile @@ -1,98 +1,98 @@ PORTNAME= vips PORTVERSION= 8.13.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Free image processing system WWW= https://libvips.github.io/libvips LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= bash:shells/bash USES= compiler:c++11-lang cpe gettext gmake gnome libtool localbase pathfix pkgconfig python shebangfix USE_GNOME= glib20 CONFIGURE_ARGS= --disable-introspection \ --without-doxygen \ --without-imagequant \ --without-nifti \ --without-openslide \ --without-pdfium GNU_CONFIGURE= yes USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION:R} SHEBANG_FILES= tools/vips-${PORTVERSION:R} tools/vipsprofile OPTIONS_DEFINE= CFITSIO DEBUG DOCS FFTW GIF GSF HEIF JPEG JXL LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11 OPTIONS_RADIO= MAGICK OPTIONS_RADIO_MAGICK= IMAGEMAGICK GRAPHMAGICK OPTIONS_DEFAULT=CFITSIO FFTW GIF GSF HEIF IMAGEMAGICK JPEG JXL LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11 GSF_DESC= Structured file formats support ORC_DESC= ORC language support MATIO_DESC= Matlab MAT format support CFITSIO_CONFIGURE_WITH= cfitsio CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio DEBUG_CONFIGURE_ENABLE= debug DEBUG_INSTALL_TARGET_OFF= install-strip DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_CONFIGURE_ENABLE= gtk-doc gtk-doc-html FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GIF_CONFIGURE_WITH= giflib GIF_LIB_DEPENDS= libgif.so:graphics/giflib GRAPHMAGICK_CONFIGURE_ON= --with-magickpackage=GraphicsMagick GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GSF_CONFIGURE_WITH= gsf GSF_USE= GNOME=libgsf HEIF_CONFIGURE_WITH= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif IMAGEMAGICK_CONFIGURE_ON= --with-magickpackage=MagickCore IMAGEMAGICK_USES= magick JPEG_CONFIGURE_WITH= jpeg JPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG_USES= jpeg JXL_CONFIGURE_WITH= libjxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LIBEXIF_CONFIGURE_WITH= libexif LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBRSVG2_CONFIGURE_WITH=rsvg LIBRSVG2_USE= GNOME=cairo,librsvg2 MATIO_CONFIGURE_WITH= matio MATIO_LIB_DEPENDS= libmatio.so:math/matio OPENEXR_CONFIGURE_WITH= OpenEXR OPENEXR_LIB_DEPENDS= libImath.so:math/Imath libOpenEXR.so:graphics/openexr ORC_CONFIGURE_WITH= orc ORC_LIB_DEPENDS= liborc-0.4.so:devel/orc PANGO_CONFIGURE_WITH= pangoft2 PANGO_USE= GNOME=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png POPPLER_CONFIGURE_WITH= poppler POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_USE= GNOME=cairo TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= libwebp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_WITH= x .include .if !${PORT_OPTIONS:MGRAPHMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK} CONFIGURE_ARGS+=--without-magick .endif .include diff --git a/graphics/yafaray/Makefile b/graphics/yafaray/Makefile index f51464bff618..27d915af836a 100644 --- a/graphics/yafaray/Makefile +++ b/graphics/yafaray/Makefile @@ -1,49 +1,49 @@ PORTNAME= yafaray DISTVERSIONPREFIX= v DISTVERSION= 3.5.1 -PORTREVISION= 15 +PORTREVISION= 16 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/math/curv/Makefile b/math/curv/Makefile index 0b898d64f6be..1f18b0b9333c 100644 --- a/math/curv/Makefile +++ b/math/curv/Makefile @@ -1,48 +1,48 @@ PORTNAME= curv DISTVERSION= 0.5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= math lang graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Language for making art using mathematics WWW= https://github.com/curv3d/curv/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= glm>0:math/glm LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libglfw.so:graphics/glfw \ libImath.so:math/Imath \ libtbb.so:devel/onetbb \ libopenvdb.so:misc/openvdb USES= cmake compiler:c++14-lang gl localbase:ldflags xorg USE_GL= gl USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= curv3d GH_TUPLE= ocornut:imgui:e0cab56:imgui/extern/imgui \ Tessil:ordered-map:4051af7:om/extern/ordered-map \ AmokHuginnsson:replxx:b901d5f:replxx/extern/replxx LDFLAGS+= -lopenvdb PLIST_FILES= bin/curv \ lib/curv/lib/blend.curv \ lib/curv/lib/builder.curv \ lib/curv/lib/noise.curv \ lib/curv/lib/web_colour.curv \ lib/curv/std.curv \ share/gtksourceview-3.0/language-specs/curv.lang post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/curv/lib/README .include diff --git a/misc/openvdb/Makefile b/misc/openvdb/Makefile index 4f43d300bd6f..a892241c8362 100644 --- a/misc/openvdb/Makefile +++ b/misc/openvdb/Makefile @@ -1,52 +1,52 @@ PORTNAME= openvdb DISTVERSIONPREFIX= v DISTVERSION= 10.0.1 -PORTREVISION= 2 +PORTREVISION= 3 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 xpost-patch: # extra fix for OneTBB @cd ${WRKSRC}/openvdb/openvdb && \ ${MKDIR} thread # 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/opentimelineio/Makefile b/multimedia/opentimelineio/Makefile index bd184a50c2fd..49563d25b181 100644 --- a/multimedia/opentimelineio/Makefile +++ b/multimedia/opentimelineio/Makefile @@ -1,30 +1,31 @@ PORTNAME= opentimelineio DISTVERSIONPREFIX= v DISTVERSION= 0.15 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= API and interchange format for editorial timeline information WWW= https://github.com/PixarAnimationStudios/OpenTimelineIO LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libImath-3_1.so:math/Imath USES= cmake:testing compiler:c++14-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= PixarAnimationStudios GH_PROJECT= OpenTimelineIO GH_TUPLE= martinmoene:optional-lite:5e4b7760aac85ea73a5b9b91c726fc36cbd4149b:martinmoene_optional_lite/src/deps/optional-lite \ Tencent:rapidjson:06d58b9e848c650114556a23294d0b6440078c61:Tencent_rapidjson/src/deps/rapidjson \ thelink2012:any:bfc77f2e4be6e9a093dd645ef3f1aa30620c9205:thelink2012_any/src/deps/any CMAKE_ON= OTIO_FIND_IMATH PORTSCOUT= limit:^.*[0-9]$$ # should end with a digit to prevent tags like last_pure_python .include diff --git a/multimedia/py-opentimelineio/Makefile b/multimedia/py-opentimelineio/Makefile index 6bf8b1c292b4..aa8551311bd4 100644 --- a/multimedia/py-opentimelineio/Makefile +++ b/multimedia/py-opentimelineio/Makefile @@ -1,32 +1,33 @@ PORTNAME= opentimelineio DISTVERSIONPREFIX= v DISTVERSION= 0.15 +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= API and interchange format for editorial timeline information WWW= https://github.com/PixarAnimationStudios/OpenTimelineIO LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= cmake:devel/cmake-core LIB_DEPENDS= libImath-3_1.so:math/Imath TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} USES= compiler:c++14-lang python USE_PYTHON= distutils concurrent # autoplist is broken, see https://github.com/PixarAnimationStudios/OpenTimelineIO/issues/1205 USE_GITHUB= yes GH_ACCOUNT= PixarAnimationStudios GH_PROJECT= OpenTimelineIO GH_TUPLE= martinmoene:optional-lite:5e4b7760aac85ea73a5b9b91c726fc36cbd4149b:martinmoene_optional_lite/src/deps/optional-lite \ pybind:pybind11:e7e2c79f3f520f78ffc39fcb34f7919003102733:pybind_pybind11/src/deps/pybind11 \ Tencent:rapidjson:06d58b9e848c650114556a23294d0b6440078c61:Tencent_rapidjson/src/deps/rapidjson \ thelink2012:any:bfc77f2e4be6e9a093dd645ef3f1aa30620c9205:thelink2012_any/src/deps/any PORTSCOUT= limit:^.*[0-9]$$ # should end with a digit to prevent tags like last_pure_python .include diff --git a/science/opensph/Makefile b/science/opensph/Makefile index 94a8497c5851..d7fbe7bd95a9 100644 --- a/science/opensph/Makefile +++ b/science/opensph/Makefile @@ -1,77 +1,77 @@ PORTNAME= OpenSPH DISTVERSION= 0.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Library and graphical tools for running SPH and N-body simulations WWW= https://gitlab.com/sevecekp/sph LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= unconditional use of -msse4.1 and inclusion of immintrin.h TEST_DEPENDS= catch>0:devel/catch USES= compiler:c++14-lang qmake qt:5 USE_GITLAB= yes USE_WX= 3.2 GL_SITE= https://gitlab.com GL_ACCOUNT= sevecekp GL_PROJECT= sph GL_COMMIT= a8aac69f63e38d45339ddbc87855f77a71b2459d QMAKE_SOURCE_PATH= ${WRKSRC}/sph.pro QMAKE_ARGS= CONFIG+=release CXXFLAGS+= -DSPH_CONFIG_SET TEST_WRKSRC= ${WRKDIR}/test BINARY_ALIAS= wx-config=${LOCALBASE}/bin/wxgtk3u-3.2-config PLIST_FILES= bin/opensph bin/opensph-cli bin/opensph-info OPTIONS_DEFINE= CHAISCRIPT EIGEN HDF5 OPENMP TBB VDB OPTIONS_DEFAULT= CHAISCRIPT EIGEN HDF5 OPENMP TBB VDB CHAISCRIPT_DESC= Be able to read and modify particle data from a script CHAISCRIPT_QMAKE_ON= CONFIG+=use_chaiscript CHAISCRIPT_BUILD_DEPENDS= ${LOCALBASE}/include/chaiscript/chaiscript.hpp:lang/chaiscript EIGEN_DESC= Eigen for additional methods to set up initial conditions EIGEN_QMAKE_ON= CONFIG+=use_eigen EIGEN_USES= eigen:3 HDF5_DESC= Be able to read files generated by miluphcuda code HDF5_QMAKE_ON= CONFIG+=use_hdf5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 OPENMP_QMAKE_ON= CONFIG+=use_openmp TBB_DESC= Parallelize with Intel Threading Building Blocks TBB_QMAKE_ON= CONFIG+=use_tbb TBB_LIB_DEPENDS= libtbb.so:devel/onetbb VDB_DESC= Use OpenVDB for converting particles to volumetric data VDB_QMAKE_ON= CONFIG+=use_vdb VDB_LIB_DEPENDS= libImath.so:math/Imath \ libopenvdb.so:misc/openvdb \ libtbb.so:devel/onetbb do-test: @${REINPLACE_CMD} -e 's|Path(.*|Path("${TEST_WRKSRC}");|' ${WRKSRC}/test/utils/Config.h @${MKDIR} ${TEST_WRKSRC} @cd ${_QMAKE_WRKSRC} && \ ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} \ ${WRKSRC}/test.pro \ ${QMAKE_CONFIGURE_ARGS:?--:} ${QMAKE_CONFIGURE_ARGS} @cd ${BUILD_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} @cd ${TEST_WRKSRC} && \ ${WRKSRC}/test/test .include