diff --git a/astro/gnuastro/Makefile b/astro/gnuastro/Makefile index 1e452819c00b..3a921fa0725f 100644 --- a/astro/gnuastro/Makefile +++ b/astro/gnuastro/Makefile @@ -1,49 +1,50 @@ PORTNAME= gnuastro PORTVERSION= 0.22 +PORTREVISION= 1 CATEGORIES= astro MASTER_SITES= GNU MAINTAINER= danfe@FreeBSD.org COMMENT= GNU astronomy utilities and library WWW= https://www.gnu.org/software/gnuastro/ LICENSE= GPLv3+ LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libwcs.so:astro/wcslib \ libcurl.so:ftp/curl \ libgsl.so:math/gsl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gmake jpeg libtool:build localbase tar:lz GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check TEST_WRKSRC= ${WRKSRC}/tests INFO= ${PORTNAME} PORTDOCS= AUTHORS ChangeLog NEWS README THANKS OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,cflags_add="-O3",:,' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,gcc,$(CC),' \ ${WRKSRC}/bin/buildprog/ui.c @${REINPLACE_CMD} -e 's,^make -f,g&,' \ ${WRKSRC}/bin/script/pointing-simulate.sh \ ${WRKSRC}/bin/script/zeropoint.sh post-install: @${FIND} ${STAGEDIR}${PREFIX}/etc -name \*.conf \ -exec ${MV} '{}' '{}.sample' \; post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/astro/siril/Makefile b/astro/siril/Makefile index 3fd1eed7c49b..7fb5acc9eaaf 100644 --- a/astro/siril/Makefile +++ b/astro/siril/Makefile @@ -1,53 +1,53 @@ PORTNAME= siril DISTVERSION= 1.0.6 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= astro graphics MASTER_SITES= https://free-astro.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Astronomical image processing software WWW= https://siril.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= undefined reference to `__atomic_load' and `__atomic_compare_exchange' #` .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libcfitsio.so:astro/cfitsio \ libconfig.so:devel/libconfig \ libexiv2.so:graphics/exiv2 \ libffms2.so:multimedia/ffms2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ librtprocess.so:graphics/librtprocess \ libtiff.so:graphics/tiff \ libwcs.so:astro/wcslib LIB_DEPENDS+= libopencv_photo.so:graphics/opencv # for some reason, configure fails without opencv, but executable only links to opencv-core USES= cmake:indirect compiler:c++11-lang desktop-file-utils gettext \ gnome meson pkgconfig jpeg shared-mime-info tar:bz2 USE_GNOME= atk cairo gdkpixbuf2 gtk30 intltool pango BINARY_ALIAS= git=false OPTIONS_DEFINE= CURL OPENMP OPTIONS_DEFAULT= CURL OPENMP OPENMP_MESON_OFF= -Dopenmp=false CURL_MESON_YES= enable-libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl .include diff --git a/astro/xplanet/Makefile b/astro/xplanet/Makefile index ce8400593523..ea579fb34a8b 100644 --- a/astro/xplanet/Makefile +++ b/astro/xplanet/Makefile @@ -1,42 +1,42 @@ PORTNAME= xplanet PORTVERSION= 1.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= astro geography MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Draw pictures of the earth textured by an image WWW= https://xplanet.sourceforge.net/ GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= iconv:wchar_t localbase xorg USE_XORG= x11 xext xt xscrnsaver CONFIGURE_ARGS= --with-map-extension=jpg CPPFLAGS+= -I${LOCALBASE}/include/netpbm LIBS+= -lm OPTIONS_DEFINE= FREETYPE PANGO GIF JPEG PNG PNM TIFF OPTIONS_DEFAULT= FREETYPE PANGO GIF JPEG PNG PNM TIFF FREETYPE_CONFIGURE_WITH= --with-freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 PANGO_CONFIGURE_WITH= pango PANGO_USES= gnome PANGO_USE= GNOME=pango GIF_CONFIGURE_WITH= gif GIF_LIB_DEPENDS= libgif.so:graphics/giflib JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS+= libpng.so:graphics/png PNM_CONFIGURE_WITH= pnm PNM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff post-extract: @${REINPLACE_CMD} -e "s/default/default.sample/g" ${WRKSRC}/Makefile.in @${MV} ${WRKSRC}/xplanet/config/default ${WRKSRC}/xplanet/config/default.sample .include diff --git a/audio/rezound/Makefile b/audio/rezound/Makefile index bfdc1fa6a215..a2d3eea01fd0 100644 --- a/audio/rezound/Makefile +++ b/audio/rezound/Makefile @@ -1,103 +1,103 @@ PORTNAME= rezound DISTVERSION= 0.13.1beta -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ReZound/${DISTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Graphical audio file editor WWW= https://rezound.sourceforge.net/ LICENSE= GPLv2 LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16 USES= bison compiler:c++11-lang pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa OPTIONS_DEFINE= LARGEFILE JACK AUDIOFILE PORTAUDIO OGG VORBIS FLAC FFTW \ SOUNDTOUCH PULSEAUDIO LADSPA LAME CDRDAO DOCS NLS OPTIONS_DEFAULT= AUDIOFILE PORTAUDIO OGG VORBIS FLAC SOUNDTOUCH \ LADSPA LAME LARGEFILE_DESC= Use 64-bit file I/O FFTW_DESC= Use fast Fourier transform routines CDRDAO_DESC= Burning audio files to CD support LARGEFILE_CONFIGURE_ON= --enable-largefile JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack AUDIOFILE_LIB_DEPENDS= libaudiofile.so:audio/libaudiofile PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_OFF=--disable-portaudio OGG_LIB_DEPENDS= libogg.so:audio/libogg VORBIS_IMPLIES= OGG VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis FLAC_IMPLIES= OGG FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_CONFIGURE_OFF= --disable-fftw3 SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch PULSEAUDIO_IMPLIES= FLAC VORBIS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=--disable-pulse LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_OFF= --disable-ladspa LAME_RUN_DEPENDS= lame:audio/lame CDRDAO_RUN_DEPENDS= cdrdao:sysutils/cdrdao .include .if ${PORT_OPTIONS:MNLS} USES+= gettext CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif post-patch: .SILENT ${REINPLACE_CMD} -E '/atoll|round|nearbyint/d' \ ${WRKSRC}/config/platform/bsd.h ${REINPLACE_CMD} -E 's,(_nl_expand_alias \()\),\1...), ; \ /^C(XX)?FLAGS=/d ; /CXXFLAGS="\$$CXXFLAGS -[gsW]/d ; \ /^return /s,\(int\)( n?gettext),(long)\1, ; \ /boost header not found/d' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's,$$(prefix)/doc,$$(datadir)/doc,' \ ${WRKSRC}/config/am_include.mk ${WRKSRC}/Makefile.in \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/misc/Makefile.in \ ${WRKSRC}/src/misc/CNestedDataFile/Makefile.in \ ${WRKSRC}/src/PoolFile/Makefile.in \ ${WRKSRC}/src/backend/DSP/Makefile.in \ ${WRKSRC}/src/backend/File/Makefile.in \ ${WRKSRC}/src/backend/Edits/Makefile.in \ ${WRKSRC}/src/backend/Looping/Makefile.in \ ${WRKSRC}/src/backend/Generate/Makefile.in \ ${WRKSRC}/src/backend/Remaster/Makefile.in \ ${WRKSRC}/src/backend/LADSPA/Makefile.in ${REINPLACE_CMD} -e '/^#include/s,soundtouch/,,' \ ${WRKSRC}/src/backend/DSP/T*Changer.h ${REINPLACE_CMD} -e 's,auto_ptr,unique_ptr,' \ ${WRKSRC}/src/backend/AAction.* \ ${WRKSRC}/src/backend/Effects/CFlangeEffect.cpp \ ${WRKSRC}/src/backend/Effects/CVariedRepeatEffect.cpp ${REINPLACE_CMD} -e '/unsigned/s,register ,,' \ ${WRKSRC}/src/backend/CSound.h ${REINPLACE_CMD} -e '/size_t/s,register ,,' \ ${WRKSRC}/src/backend/CSoundPlayerChannel.cpp ${REINPLACE_CMD} -e '/const/s,register ,,' \ ${WRKSRC}/src/backend/CSound_defs.h \ ${WRKSRC}/src/backend/Filters/CBiquadResFilter.cpp \ ${WRKSRC}/src/backend/Filters/CSinglePoleFilter.cpp ${REINPLACE_CMD} -e '/int/s,register ,,' \ ${WRKSRC}/src/misc/endian_util.h .if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/AUTHORS/d; /COPYING/d' ${WRKSRC}/Makefile.in .else ${REINPLACE_CMD} -e 's/ install-pkgdocDATA$$//' ${WRKSRC}/Makefile.in .endif .include diff --git a/biology/protomol/Makefile b/biology/protomol/Makefile index 2cf78f936b13..f7084de677a1 100644 --- a/biology/protomol/Makefile +++ b/biology/protomol/Makefile @@ -1,51 +1,51 @@ PORTNAME= protomol PORTVERSION= 2.0.3 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= biology MASTER_SITES= SF/${PORTNAME}/ProtoMol/${PORTVERSION} DISTFILES= ${DISTNAME}-tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= OO, component based, framework for molecular dynamics (MD) simulations WWW= https://protomol.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= jpeg shebangfix xorg USE_CXXSTD= c++98 SHEBANG_FILES= examples/butane_4/procDihedralFile.awk \ examples/butane_4/cleanOutput.bash \ examples/butane_4/runButaneResults.sh \ examples/butane_4/runButaneTests.sh SHEBANG_LANG= awk awk_OLD_CMD= /usr/bin/gawk awk_CMD= /usr/bin/awk # base awk works fine in this case GNU_CONFIGURE= yes USE_XORG= xmu xt sm ice xext x11 xi # Hack to cure a misbehavior of the configure script CONFIGURE_ARGS+= --without-irix_mipspro_mpi CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= GLUT EXAMPLES OPTIONS_DEFAULT= GLUT GLUT_CONFIGURE_ON= --with-glut=yes GLUT_USES= gl GLUT_USE= GL=glut GLUT_CONFIGURE_OFF= --with-glut=no post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples ; \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore" .include diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index b48b5ae54188..2704e0ea38cf 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,63 +1,63 @@ PORTNAME= PrusaSlicer DISTVERSIONPREFIX=version_ DISTVERSION= 2.7.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad DIST_SUBDIR= PrusaSlicer 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 \ libbgcode>=0.2.0:cad/libbgcode LIB_DEPENDS+= libbgcode_convert.so:cad/libbgcode \ libbgcode_binarize.so:cad/libbgcode \ libbgcode_core.so:cad/libbgcode \ libtbb.so:devel/onetbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libqhull_r.so:math/qhull \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libiconv.so:converters/libiconv \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png \ libTKXSDRAWSTEP.so:cad/opencascade \ libtiff.so:graphics/tiff \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libavcodec.so:multimedia/ffmpeg4 \ libharfbuzz.so:print/harfbuzz \ libwayland-egl.so:graphics/wayland USES= cmake cpe desktop-file-utils eigen:3 gettext gl gnome iconv \ jpeg pkgconfig 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 \ -DSLIC3R_PCH=OFF \ -DSLIC3R_BUILD_TESTS=OFF PORTDATA= * .include diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile index b66c5a032a48..e7a92769ab41 100644 --- a/cad/freecad/Makefile +++ b/cad/freecad/Makefile @@ -1,128 +1,128 @@ PORTNAME= FreeCAD DISTVERSION= 0.21.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= cad MAINTAINER= cmt@FreeBSD.org COMMENT= General purpose 3D CAD modeller WWW= https://www.freecadweb.org/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= doxygen:devel/doxygen \ pybind11-config:devel/py-pybind11@${PY_FLAVOR} \ pyside_tool.py:devel/pyside2-tools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_INCLUDEDIR}/CXX/Config.hxx:devel/py-cxx \ swig:devel/swig LIB_DEPENDS= libexpat.so:textproc/expat2 \ libyaml-cpp.so:devel/yaml-cpp \ libfreetype.so:print/freetype2 \ libtbb.so:devel/onetbb \ ${PY_BOOST} \ libpyside2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/pyside2@${PY_FLAVOR} \ libCoin.so:graphics/Coin \ libfmt.so:devel/libfmt \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R} \ libTKernel.so:cad/opencascade \ libxerces-c.so:textproc/xerces-c3 \ libboost_thread.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libavutil.so:multimedia/ffmpeg4 \ libmed.so:french/med \ libshiboken2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/shiboken2@${PY_FLAVOR} \ libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} USES= dos2unix compiler:c++17-lang cmake cpe gl eigen:3 fortran gmake jpeg \ localbase:ldflags mpi:openmpi pkgconfig python localbase qt:5 xorg \ desktop-file-utils shared-mime-info shebangfix USE_GITHUB= yes GH_TAGNAME= 8abd09398a010337c3b294e687e0666b60bceacf # PR #11909 Add support for OCCT 7.8.0 USE_XORG= ice sm x11 xext xt USE_GL= gl glu USE_QT= buildtools concurrent core declarative designer gui \ linguisttools location network opengl printsupport \ qmake:build svg webchannel widgets xml xmlpatterns USE_LDCONFIG= yes CPE_VENDOR= freecad_project VTK_VER= 9.2 DOS2UNIX_GLOB= *.txt *.h *.cpp *.py *.qss *.csv *.pov *.stp *.ui *.wrl *.WRL SHEBANG_FILES= src/Tools/freecad-thumbnailer # our HDF5/CMake integration is messy, so workarounds are required below CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \ -DOPENMPI_INCLUDE_DIRS="${LOCALBASE}/mpi/openmpi/include" \ -DBUILD_QT5="ON" \ -DPYTHON_LIBRARY="${PYTHONBASE}/lib/libpython${PYTHON_VER}${PYTHON_ABIVER}.so" \ -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \ -DPYTHON_PACKAGES_PATH="${PYTHON_SITELIBDIR}" \ -DPYTHON_EXECUTABLE="${PYTHON_CMD}" \ -DPYCXX_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \ -DBUILD_ASSEMBLY="OFF" \ -DBUILD_DESIGNER_PLUGIN="ON" \ -DBUILD_FLAT_MESH="ON" \ -DBUILD_VR="OFF" \ -DFREECAD_USE_EXTERNAL_FMT="ON" \ -DFREECAD_CREATE_MAC_APP="OFF" \ -DFREECAD_FREECAD_LIBPACK_USE="OFF" \ -DFREECAD_USE_EXTERNAL_KDL="OFF" \ -DFREECAD_USE_EXTERNAL_SMESH="OFF" \ -DFREECAD_USE_FREETYPE="ON" \ -DFREECAD_USE_PYBIND11="ON" \ -Dpybind11_DIR="${PYTHON_SITELIBDIR}/pybind11/share/cmake/pybind11" \ -DHDF5_CFLAGS="-I${LOCALBASE}/include" \ -DHDF5_FOUND=TRUE \ -DHDF5_VERSION="1.12.2" \ -DHDF5_INCLUDE_DIRS="${LOCALBASE}/include/hdf5" \ -DHDF5_LIBRARIES="-L${LOCALBASE}/lib -lhdf5" \ -DHDF5_LIBRARY_DIRS="${LOCALBASE}/lib" \ -DPYSIDE2RCCBINARY="${RCC}" \ -DPYSIDE2UICBINARY="${UIC}" \ -DBUILD_ENABLE_CXX_STD=C++17 CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} # Install XDG icons and files to the standard path CMAKE_ARGS+= -DXDG_DATADIR="${PREFIX}/share" OPTIONS_DEFINE= COLLADA COLLADA_DESC= Install pycollada for Collada files import COLLADA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycollada>0:graphics/py-pycollada@${PY_FLAVOR} .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 PLIST_SUB= WEBENGINE="" USE_QT+= webengine .else CMAKE_ARGS+= -DBUILD_WEB:BOOL=OFF PLIST_SUB= WEBENGINE="@comment " .endif pre-configure: @${REINPLACE_CMD} -e '/self\.rev/s/Unknown/${DISTVERSION:C/.*-//}/' \ ${WRKSRC}/src/Tools/SubWCRev.py # Install XDG icons and files to the standard path @${REINPLACE_CMD} -e 's/CMAKE_INSTALL_DATAROOTDIR/XDG_DATADIR/g' \ ${WRKSRC}/src/XDGData/CMakeLists.txt \ ${WRKSRC}/src/Gui/CMakeLists.txt post-install: ${LN} -s ../${PORTNAME}/bin/FreeCAD ${STAGEDIR}${LOCALBASE}/bin/FreeCAD ${LN} -s ../${PORTNAME}/bin/FreeCADCmd ${STAGEDIR}${LOCALBASE}/bin/FreeCADCmd ${INSTALL_SCRIPT} ${WRKSRC}/src/Tools/freecad-thumbnailer \ ${STAGEDIR}${PREFIX}/bin/freecad-thumbnailer .include diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile index c8ee33f38b07..3ebd1607a960 100644 --- a/cad/qcad/Makefile +++ b/cad/qcad/Makefile @@ -1,104 +1,104 @@ PORTNAME= qcad PORTVERSION= 3.29.5.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad DIST_SUBDIR= ${PORTNAME} #PATCH_SITES= https://github.com/qcad/qcad/commit/ #PATCHFILES= bbcd195f199e75190e758f46475b4f723643a820.patch:-p1 #GH_TAGNAME= 98f92a5a275102dfab915b920e2ebf52f43bf091 MAINTAINER= mr@FreeBSD.org COMMENT= Professional CAD system WWW= https://www.ribbonsoft.com/qcad.html LICENSE= GPLv3 BROKEN_i386= doesn't buld on pkg builder BUILD_DEPENDS= bash:shells/bash \ ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs #USES= compiler:c++11-lang gl gmake qmake qt:${FLAVOR:S/qt//} USES= compiler:c++11-lang gl gmake qmake qt:5 USE_CXXSTD= c++14 #FLAVORS= qt5 qt6 #FLAVOR?= qt6 qt5_PKGNAMESUFFIX= -qt5 #qt6_PKGNAMESUFFIX= -qt6 USE_GITHUB= yes USE_LDCONFIG= yes _USE_QT5= buildtools qmake:build \ concurrent designer gui help imageformats network opengl script \ scripttools sql svg uitools xml xmlpatterns #_USE_QT6= base tools script #USE_QT= ${_USE_QT${FLAVOR:S/qt//}} USE_QT= ${_USE_QT5} USE_GL= glu DESKTOP_ENTRIES="QCad" \ "" \ "${DATADIR}/scripts/qcad_icon.png" \ "${PREFIX}/bin/qcad-bin" \ "" \ true .if defined(WITH_DEBUG) RESDIR= ${WRKSRC}/debug .else RESDIR= ${WRKSRC}/release .endif SHRLIBS= qcadcore qcadecmaapi qcadentity qcadgrid qcadgui qcadoperations \ qcadsnap qcadspatialindex qcadstemmer spatialindexnavel STALIBS= dxflib stemmer SHRDIR= fonts libraries linetypes patterns plugins scripts themes ts #QSCRIPTS should not be installed to avoid conflicts with texlive-base QSCRIPTS= bbox dwg2bmp dwg2pdf dwg2svg OPTIONS_DEFINE= EXAMPLES CFLAGS_i386= -fPIC CXXFLAGS_i386= -fPIC LDFLAGS_i386= -Wl,-z,notext .include .if defined(WITH_DEBUG) ALL_TARGET= debug PLIST_SUB+= DEBUG_LIB_SUFFIX="_debug" RESDIR= ${WRKSRC}/debug .else ALL_TARGET= release PLIST_SUB+= DEBUG_LIB_SUFFIX="" RESDIR= ${WRKSRC}/release .endif pre-configure: ${MKDIR} ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-${_QT_VERSION} ${CP} ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-5.13.2/qt-labs-qtscriptgenerator-5.13.2.pro \ ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-${_QT_VERSION}/qt-labs-qtscriptgenerator-${_QT_VERSION}.pro ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \ ${WRKSRC}/src/core/RS.cpp ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \ ${WRKSRC}/src/core/RSettings.cpp do-install: ${INSTALL_PROGRAM} ${RESDIR}/qcad-bin ${STAGEDIR}${PREFIX}/bin/ ${LN} -sf qcad-bin ${STAGEDIR}${PREFIX}/bin/qcad .for lib in ${SHRLIBS:C|^|lib|:C|$|.so|} ${INSTALL_LIB} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/${lib}.0 ${LN} -sf ${lib}.0 ${STAGEDIR}${PREFIX}/lib/${lib} .endfor .for lib in ${STALIBS:C|^|lib|:C|$|.a|} ${INSTALL_DATA} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/ .endfor ${MKDIR} ${STAGEDIR}${DATADIR} .for dir in ${SHRDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/cad/sumo/Makefile b/cad/sumo/Makefile index ae8ea13d3514..40e305825686 100644 --- a/cad/sumo/Makefile +++ b/cad/sumo/Makefile @@ -1,34 +1,34 @@ PORTNAME= sumo DISTVERSION= 1.2.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= cad MASTER_SITES= http://www.dlr.de/ts/en/Portaldata/16/Resources/projekte/sumo/ DISTFILES= ${PORTNAME}-src-${DISTVERSIONFULL}${EXTRACT_SUFX} MAINTAINER= enriquefynn@gmail.com COMMENT= Traffic simulation suite for road vehicles, public transportation, etc WWW= http://sumo-sim.org LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libFOX-1.6.so:x11-toolkits/fox16 \ libfreetype.so:print/freetype2 \ libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libxerces-c.so:textproc/xerces-c3 USES= compiler:c++11-lang cmake gl jpeg python shebangfix zip xorg SHEBANG_FILES= tools/*.py tools/*/*.py \ tools/*/*/*.py tools/*/*/*/*.py \ tools/*/*/*/*/*/*.py \ tools/game/A10KW/build.sh \ tools/game/rebuild_networks.sh \ tools/build/rebuild_cscope.sh \ tools/build/dailyUpdateMakeGCC.sh python_OLD_CMD+="/usr/bin/env python" USE_GL= gl glu USE_XORG= x11 xcursor xext xfixes xft xi xrandr xrender .include diff --git a/comms/spandsp/Makefile b/comms/spandsp/Makefile index 5de4945e03b5..d429b7964f45 100644 --- a/comms/spandsp/Makefile +++ b/comms/spandsp/Makefile @@ -1,28 +1,28 @@ PORTNAME= spandsp DISTVERSION= ${SPANDSP_VERSION}.g20211014 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms MAINTAINER= jailbird@fdf.net COMMENT= DSP library and software FAX machine WWW= https://www.soft-switch.org/ LICENSE= LGPL21 LIB_DEPENDS= libtiff.so:graphics/tiff USES= autoreconf gmake jpeg libtool localbase USE_GITHUB= yes GH_ACCOUNT= freeswitch GH_TAGNAME= ${GITHUB_COMMIT} GITHUB_COMMIT= 284fe91 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SPANDSP_VERSION= 3.0.0 .include diff --git a/comms/xastir/Makefile b/comms/xastir/Makefile index 93ec2daa3e1d..5a763c0fa359 100644 --- a/comms/xastir/Makefile +++ b/comms/xastir/Makefile @@ -1,91 +1,91 @@ PORTNAME= xastir DISTVERSIONPREFIX= Release- DISTVERSION= 2.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= comms hamradio MAINTAINER= carl@stagecraft.cx COMMENT= X Amateur Station Tracking and Information Reporting WWW= http://www.xastir.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xfontsel:x11-fonts/xfontsel RUN_DEPENDS= wget:ftp/wget LIB_DEPENDS= libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ libjbig.so:graphics/jbigkit \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libshp.so:devel/shapelib \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libwebpmux.so:graphics/webp \ libwmflite.so:graphics/libwmf \ libpcre2-8.so:devel/pcre2 \ libjxl.so:graphics/libjxl \ libjxl_threads.so:graphics/libjxl USES= autoreconf gmake gnome jpeg motif shebangfix xorg USE_XORG= ice sm x11 xext xt USE_GNOME+= libxml2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share SHEBANG_FILES= scripts/gpx2shape SHEBANG_REGEX= ./scripts/.*\.(sh|pl|py) USE_GITHUB= yes GH_ACCOUNT= Xastir GH_PROJECT= Xastir SUB_FILES= pkg-message OPTIONS_DEFINE= BDB CURL DAVIS ERRORPOP FESTIVAL GEOTIFF GPSMAN OPTIONS_RADIO= MGG OPTIONS_RADIO_MGG= GMAGICK IMAGICK DAVIS_DESC= Include Davis Weatherstation Support CURL_DESC= Include CURL Internet Image support GEOTIFF_DESC= Include GeoTIFF Support GPSMAN_DESC= Include GPSMAN Support FESTIVAL_DESC= Include Festival Voice Synthesis Support ERRORPOP_DESC= Send error popups to stderr BDB_DESC= Tiger Map Caching using Berkeley DB MGG_DESC= Image library for raster map processing IMAGICK_DESC= ImageMagick (Version 6) GMAGICK_DESC= GraphicsMagick (Needs GCC to compile) OPTIONS_DEFAULT= BDB CURL GMAGICK DAVIS_CONFIGURE_ON= --enable-davis IMAGICK_USES= magick:6 IMAGICK_CONFIGURE_WITH= imagemagick GMAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick GMAGICK_CONFIGURE_WITH= graphicsmagick GMAGICK_USES= compiler:gcc-c++11-lib CURL_LIB_DEPENDS= libcurl.so:ftp/curl GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff GPSMAN_BUILD_DEPENDS= ${LOCALBASE}/share/doc/gpsmanshp/GPSManSHP.pdf:graphics/gpsmanshp GPSMAN_IMPLIES= SHAPELIB GPSMAN_CONFIGURE_WITH= gpsman FESTIVAL_BUILD_DEPENDS= festival:audio/festival FESTIVAL_CONFIGURE_WITH= festival #RTREE_CONFIGURE_WITH= rtree ERRORPOP_CONFIGURE_WITH= errorpopups BDB_USES= bdb BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \ --with-bdb-libdir=${BDB_LIB_DIR} .include diff --git a/databases/grass7/Makefile b/databases/grass7/Makefile index 49ecd791b789..ddda07a32675 100644 --- a/databases/grass7/Makefile +++ b/databases/grass7/Makefile @@ -1,197 +1,197 @@ PORTNAME= grass PORTVERSION= 7.8.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases geography MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \ http://grass.cict.fr/%SUBDIR%/ \ http://grass.fbk.eu/%SUBDIR%/ \ http://grass.gis-lab.info/%SUBDIR%/ \ http://grass.meteo.uni.wroc.pl/%SUBDIR%/ \ http://grass.polytechnic.edu.na/%SUBDIR%/ \ http://grass.unibuc.ro/%SUBDIR%/ \ http://mirrors.ibiblio.org/grass/%SUBDIR%/ \ http://pinus.gntech.ac.kr/grass/%SUBDIR%/ \ http://wgbis.ces.iisc.ernet.in/grass/%SUBDIR%/ \ http://wgrass.media.osaka-cu.ac.jp/grassh/%SUBDIR%/ MASTER_SITE_SUBDIR= grass${VER}/source PKGNAMESUFFIX= 7 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Open source Geographical Information System (GIS) WWW= https://grass.osgeo.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.TXT BUILD_DEPENDS= ${PY_NUMPY} \ ${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgeos.so:graphics/geos RUN_DEPENDS= ${PY_NUMPY} \ ${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} USES= blaslapack compiler:c11 gl gmake gnome iconv \ jpeg perl5 pkgconfig python readline shebangfix xorg SHEBANG_GLOB= *.py SHEBANG_LANG= nviz nviz_OLD_CMD= nviz nviz_CMD= ${PREFIX}/${GRASS_INST_DIR}/bin/nviz USE_XORG= sm ice x11 xext xi xmu xrender xt USE_GL= gl glu USE_GNOME= cairo USE_WX= 3.2 WX_COMPS= wx python:run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \ --with-libs=${LOCALBASE}/lib \ --with-opengl-includes=${LOCALBASE}/include/ \ --with-opengl-libs=${LOCALBASE}/lib/ \ --with-freetype \ --with-freetype-includes=${LOCALBASE}/include/freetype2 \ --with-blas \ --with-lapack \ --with-cairo \ --with-readline \ --enable-largefile \ --with-wxwidgets=${WX_CONFIG} \ --with-proj-share=${LOCALBASE}/share/proj \ --with-proj-includes=${LOCALBASE}/include \ --with-proj-libs=${LOCALBASE}/lib \ --with-proj=${LOCALBASE}/bin/proj \ --with-geos=${LOCALBASE}/bin/geos-config \ --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-pthread=yes \ --prefix=${LOCALBASE} \ --exec-prefix=${LOCALBASE} CFLAGS+= -std=c11 SUB_FILES= pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} BINARY_ALIAS= python3=${PYTHON_CMD} ALL_TARGET= default USE_LDCONFIG= ${PREFIX}/${GRASS_INST_DIR}/lib MAKE_ENV+= TARGET="${CONFIGURE_TARGET}" VER= ${PORTVERSION:R:C/\.//} PLIST_SUB= GRASS_INST_DIR="${GRASS_INST_DIR}" \ VERSION="${PORTVERSION}" VERS="${PORTVERSION:C/([0-9]+).([0-9]+)(.*)/\1.\2/}" \ VER="${VER}" MAJVER="${PKGNAMESUFFIX}" OPTIONS_DEFINE= NETCDF NLS PDAL ZSTD OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL ODBC PGSQL SQLITE #OPTIONS_SINGLE= BLAS #OPTIONS_SINGLE_BLAS= ATLAS NETLIB GOTOBLAS OPENBLAS OPTIONS_DEFAULT= NETCDF NLS PDAL PGSQL SQLITE ZSTD OPTIONS_SUB= yes # BLAS/LAPACK: Only netlib compile the maxmimum number of modules #BLAS_DESC= BLAS/LAPACK support #GOTOBLAS_DESC= GotoBLAS implementationS #ATLAS_USES= blaslapack:atlas #NETLIB_USES= blaslapack #GOTOBLAS_USES= blaslapack:gotoblas #OPENBLAS_USES= blaslapack:openblas PDAL_DESC= Enable points cloud data modules DB_DESC= Database support MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libs=${LOCALBASE}/lib/mysql NETCDF_CONFIGURE_ON= --with-netcdf=${LOCALBASE}/bin/nc-config NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NLS_CONFIGURE_WITH= nls NLS_USES= gettext ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc PDAL_CONFIGURE_ON= --with-pdal=${LOCALBASE}/bin/pdal-config PDAL_LIB_DEPENDS= libpdalcpp.so:math/pdal PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres SQLITE_USES= sqlite SQLITE_CONFIGURE_WITH= sqlite SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .if exists(/usr/include/omp.h) CONFIGURE_ARGS+= --with-openmp .endif .include .if ${ARCH} == "i386" USE_GCC= yes PLIST_SUB+= NOTONI386="@comment " .else PLIST_SUB+= NOTONI386="" .endif .if !defined (GRASS_INST_DIR) GRASS_INST_DIR= ${PORTNAME}${VER} .endif MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 post-patch: ${REINPLACE_CMD} \ 's|= python3|= ${PYTHON_CMD:T}|' ${WRKSRC}/include/Make/Platform.make.in ${REINPLACE_CMD} -e \ "s|'make'|'gmake'|g; \ s|gcc|${CC}|" ${WRKSRC}/scripts/g.extension/g.extension.py ${REINPLACE_CMD} \ 's|$$(ARCH)|$$(TARGET)|g' ${WRKSRC}/include/Make/Grass.make # Replace hardcoded python interpreter to PYTHON_CMD ${REINPLACE_CMD} "s|'GRASS_PYTHON', 'python'|'GRASS_PYTHON', \'${PYTHON_CMD}\'|g" \ ${WRKSRC}/scripts/wxpyimgview/wxpyimgview.py ${REINPLACE_CMD} 's|GRASS_PYTHON=python|GRASS_PYTHON=${PYTHON_CMD}|g' \ ${WRKSRC}/lib/init/grass.sh ${REINPLACE_CMD} \ "s|environ\['GRASS_PYTHON'\] = "'"python3"'"|environ['GRASS_PYTHON'] = "'"${PYTHON_CMD}"'"|g" \ ${WRKSRC}/lib/python/script/setup.py post-install: # remove useless files ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/db.test/ ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/demolocation/PERMANENT/.tmp/ ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/docs/html/colortables/*bak.png # fix pkg-plist issues # poudriere testport, poudriere bulk -t and make ports can create different pkg-plist for i in `${FIND} ${WRKSRC}/scripts -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/gui/wxpython -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/raster -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/imagery -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done ${INSTALL_SCRIPT} ${WRKSRC}/scripts/wxpyimgview/wxpyimgview_gui.py ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/wxpyimgview_gui.py ${MKDIR} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/d.polar ${INSTALL_DATA} ${WRKSRC}/scripts/d.polar/ps_defs.eps ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/d.polar # STRIP PART ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/driver/db/* .for i in clean_temp current_time_s_ms echo i.find lock run r.watershed/seg r.watershed/ram lister/vector lister/cell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/tools/g.echo ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/* # symlink grass7 ${LN} -sf ${PORTNAME}${VER} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} .include diff --git a/databases/grass8/Makefile b/databases/grass8/Makefile index 64c2ea039d70..77c4d4e3b569 100644 --- a/databases/grass8/Makefile +++ b/databases/grass8/Makefile @@ -1,152 +1,152 @@ PORTNAME= grass DISTVERSION= 8.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases geography MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \ http://grass.cict.fr/%SUBDIR%/ \ http://grass.fbk.eu/%SUBDIR%/ \ http://grass.gis-lab.info/%SUBDIR%/ \ http://grass.meteo.uni.wroc.pl/%SUBDIR%/ \ http://grass.polytechnic.edu.na/%SUBDIR%/ \ http://grass.unibuc.ro/%SUBDIR%/ \ http://mirrors.ibiblio.org/grass/%SUBDIR%/ \ http://pinus.gntech.ac.kr/grass/%SUBDIR%/ \ http://wgbis.ces.iisc.ernet.in/grass/%SUBDIR%/ \ http://wgrass.media.osaka-cu.ac.jp/grassh/%SUBDIR%/ MASTER_SITE_SUBDIR= grass${VER}/source PKGNAMESUFFIX= 8 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Open source Geographical Information System (GIS) WWW= https://grass.osgeo.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.TXT BUILD_DEPENDS= ${PY_NUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libgeotiff.so:graphics/libgeotiff \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgeos.so:graphics/geos \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PY_NUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= blaslapack compiler:c11 gl gmake gnome iconv \ jpeg perl5 pkgconfig python readline shebangfix sqlite xorg SHEBANG_GLOB= *.py SHEBANG_LANG= nviz nviz_OLD_CMD= nviz nviz_CMD= ${PREFIX}/${GRASS_INST_DIR}/bin/nviz USE_XORG= sm ice x11 xext xi xmu xrender xt USE_GL= gl glu USE_GNOME= cairo USE_WX= 3.2 WX_COMPS= wx python:run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \ --with-libs=${LOCALBASE}/lib \ --with-opengl-includes=${LOCALBASE}/include/ \ --with-opengl-libs=${LOCALBASE}/lib/ \ --with-freetype \ --with-freetype-includes=${LOCALBASE}/include/freetype2 \ --with-blas \ --with-lapack \ --with-cairo \ --with-readline \ --enable-largefile \ --with-wxwidgets=${WX_CONFIG} \ --with-proj-share=${LOCALBASE}/share/proj \ --with-proj-includes=${LOCALBASE}/include \ --with-proj-libs=${LOCALBASE}/lib \ --with-proj=${LOCALBASE}/bin/proj \ --with-geos=${LOCALBASE}/bin/geos-config \ --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-pthread=yes \ --prefix=${LOCALBASE} \ --exec-prefix=${LOCALBASE} CFLAGS+= -std=c11 SUB_LIST= PYTHON_CMD=${PYTHON_CMD} BINARY_ALIAS= python3=${PYTHON_CMD} ALL_TARGET= default USE_LDCONFIG= ${PREFIX}/${GRASS_INST_DIR}/lib MAKE_ENV+= TARGET="${CONFIGURE_TARGET}" VER= ${PORTVERSION:R:C/\.//} PLIST_SUB= GRASS_INST_DIR="${GRASS_INST_DIR}" \ VERSION="${PORTVERSION}" VERS="${PORTVERSION:C/([0-9]+).([0-9]+)(.*)/\1.\2/}" \ VER="${VER}" MAJVER="${PKGNAMESUFFIX}" OPTIONS_DEFINE= NETCDF NLS PDAL OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL ODBC PGSQL OPTIONS_DEFAULT= NETCDF NLS PDAL PGSQL OPTIONS_SUB= yes PDAL_DESC= Enable points cloud data modules DB_DESC= Database support MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libs=${LOCALBASE}/lib/mysql NETCDF_CONFIGURE_ON= --with-netcdf=${LOCALBASE}/bin/nc-config NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NLS_CONFIGURE_WITH= nls NLS_USES= gettext ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc PDAL_CONFIGURE_ON= --with-pdal=${LOCALBASE}/bin/pdal-config PDAL_LIB_DEPENDS= libpdalcpp.so:math/pdal PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres .if exists(/usr/include/omp.h) CONFIGURE_ARGS+= --with-openmp .endif .include .if !defined (GRASS_INST_DIR) GRASS_INST_DIR= ${PORTNAME}${VER} .endif MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 post-patch: ${REINPLACE_CMD} \ 's|= python3|= ${PYTHON_CMD:T}|' ${WRKSRC}/include/Make/Platform.make.in ${REINPLACE_CMD} \ 's|$$(ARCH)|$$(TARGET)|g' ${WRKSRC}/include/Make/Grass.make # Replace hardcoded python interpreter to PYTHON_CMD ${REINPLACE_CMD} 's|"GRASS_PYTHON", "python"|"GRASS_PYTHON", "${PYTHON_CMD}"|g' \ ${WRKSRC}/scripts/wxpyimgview/wxpyimgview.py ${REINPLACE_CMD} \ 's|environ\["GRASS_PYTHON"\] = "python3"|environ["GRASS_PYTHON"] = "${PYTHON_CMD}"|g' \ ${WRKSRC}/python/grass/script/setup.py post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/demolocation/PERMANENT/.tmp/ # STRIP PART ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/driver/db/* .for i in clean_temp current_time_s_ms echo i.find lock run r.watershed/seg r.watershed/ram lister/vector lister/cell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/utils/g.echo # symlink grass8 ${LN} -sf ${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} .include diff --git a/devel/cvsgraph/Makefile b/devel/cvsgraph/Makefile index 1a5981c232e9..92a600fe7920 100644 --- a/devel/cvsgraph/Makefile +++ b/devel/cvsgraph/Makefile @@ -1,57 +1,57 @@ PORTNAME= cvsgraph DISTVERSION= 1.7.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel graphics MASTER_SITES= https://www.vagrearg.org/cvsgraph/release/ MAINTAINER= terry-freebsd@glaver.org COMMENT= Graph the life story of a file under CVS or RCS WWW= https://www.vagrearg.org/content/cvsgraph LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgd.so:graphics/gd \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= localbase:ldflags jpeg pkgconfig SUB_FILES= pkg-message GNU_CONFIGURE= yes LDFLAGS+= -lm CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \ --with-gd-lib=${LOCALBASE}/lib DOCS= ChangeLog README EXAMPLES= cvsgraphwrapper.php mkimage.php MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \ commitinfo cvswrappers tag_action.sh taginfo OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${STAGEDIR}${PREFIX}/etc/cvsgraph.conf.sample ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .for i in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor .for i in ${MORE_EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} \ ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .endfor .include diff --git a/devel/efl/Makefile b/devel/efl/Makefile index 85494f1ace78..21c6679eba18 100644 --- a/devel/efl/Makefile +++ b/devel/efl/Makefile @@ -1,234 +1,234 @@ PORTNAME= efl DISTVERSION= 1.27.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel enlightenment MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ DIST_SUBDIR= enlightenment MAINTAINER= enlightenment@FreeBSD.org COMMENT= Enlightenment Foundation Libraries WWW= https://docs.enlightenment.org/efl/current/ LICENSE= BSD2CLAUSE LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= checkmk:devel/check LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libcurl.so:ftp/curl \ libsndfile.so:audio/libsndfile # lib/libeio.so.1 CONFLICTS_INSTALL= libeio USES= compiler:c++14-lang gettext-tools gnome iconv \ jpeg libtool localbase:ldflags meson ninja ssl pathfix pkgconfig \ python shared-mime-info shebangfix tar:xz xorg SHEBANG_FILES= src/tests/elementary/spec/generator.py \ src/bin/exactness/exactness_play.in \ src/bin/exactness/exactness_record.in USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama \ xrandr xrender xtst xscrnsaver USE_LDCONFIG= yes MESON_ARGS= -Dsystemd=false -Deeze=false -Dinput=false PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SDL VNC EFLONE ELUA EXAMPLES DOXYGEN WAYLAND OPTIONS_GROUP= EMOTION INPUT LOADER BINDINGS OPTIONS_GROUP_EMOTION= GSTREAMER V4L OPTIONS_GROUP_INPUT= IBUS SCIM XIM OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF AVIF HEIF JXL OPTIONS_GROUP_BINDINGS= LUA CXX OPTIONS_GROUP_WAYLAND= WAYLAND OPTIONS_SINGLE= CRYPTO ENGINE LUAL OPTIONS_SINGLE_ENGINE= OPENGL OPENGLES NONE OPTIONS_SINGLE_LUAL= LUAJIT LUALANG OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PULSEAUDIO EXAMPLES GSTREAMER V4L SCIM XIM \ OPENSSL OPENJPEG PDF PS RAW SVG WEBP XCF OPENGLES LUAJIT CXX OPTIONS_SUB= yes HARFBUZZ_DESC= OpenType text shaping engine PHYSICS_DESC= Physics engine (bullet) - DEPRECATED UPSTREAM EFLONE_DESC= Create EFL-One library (single file library) - EXPERIMENTAL ELUA_DESC= Lua launcher binary support in efl VNC_DESC= VNC Server support IBUS_DESC= Intelligent Input Bus SCIM_DESC= Smart Common Input Method XIM_DESC= X Input Method SVG_DESC= Vector graphics support XCF_DESC= Gimp image format support JXL_DESC= JPEG XL image format support LUAL_DESC= LUA LUALANG_DESC= Use Lua LUAJIT_DESC= Use Luajit OPENGLES_DESC= 2D/3D rendering support via OpenGL ES NONE_DESC= No acceleration, software only LUA_DESC= Lua Bindings CXX_DESC= C++ Bindings EXAMPLES_DESC= Build examples of using EFL AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_MESON_TRUE= avahi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_MESON_TRUE= fribidi HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_MESON_TRUE= harfbuzz NLS_USES= gettext-runtime NLS_MESON_TRUE= nls PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet PHYSICS_MESON_TRUE= physics PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulseaudio EFLONE_BROKEN_i386= EFLONE option is broken on i386 by the upstream bug: https://phab.enlightenment.org/T8870 EFLONE_MESON_TRUE= efl-one ELUA_MESON_TRUE= elua EXAMPLES_MESON_TRUE= build-examples DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_MESON_TRUE= docs VNC_MESON_TRUE= vnc-server VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver LUA_IMPLIES= ELUA LUA_VARS= lua_binding=lua CXX_VARS= cxx_binding=cxx WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim WAYLAND_LDFLAGS= -lepoll-shim WAYLAND_MESON_TRUE= wl WAYLAND_BROKEN= Wayland bits compile but don't yet work at runtime GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=core GSTREAMER_MESON_TRUE= gstreamer V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_MESON_TRUE= v4l2 IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_USES= gnome IBUS_USE= GNOME=glib20 IBUS_MESON_TRUE= glib IBUS_VARS_OFF= ibus_disabler=ibus SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim SCIM_VARS_OFF= scim_disabler=scim XIM_VARS_OFF= xim_disabler=xim OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_VARS_OFF= openjpeg_disabler=jp2k PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler PDF_VARS_OFF= pdf_disabler=pdf PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_VARS_OFF= ps_disabler=ps RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_VARS_OFF= raw_disabler=raw SVG_USES= gnome SVG_USE= GNOME=cairo GNOME=librsvg2 SVG_VARS_OFF= svg_disabler=rsvg AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_VARS_OFF= avif_disabler=avif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_VARS_OFF= heif_disabler=heif WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_VARS_OFF= webp_disabler=webp JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_VARS_OFF= jxl_disabler=jxl XCF_VARS_OFF= xcf_disabler=xcf LUAJIT_USES= luajit LUAJIT_MESON_ON= -Dlua-interpreter=luajit LUAJIT_PREVENTS= LUALANG LUALANG_USES= lua:51,build,run LUALANG_MESON_ON= -Dlua-interpreter=lua LUALANG_PREVENTS= LUAJIT OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MESON_ON= -Dopengl=full OPENGLES_USES= gl OPENGLES_USE= GL=glesv2 OPENGLES_MESON_ON= -Dopengl=es-egl NONE_MESON_ON= -Dopengl=none SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_TRUE= sdl MESON_ARGS+= -Dcrypto=openssl IMF_DISABLERS= ${IBUS_DISABLER} ${SCIM_DISABLER} ${XIM_DISABLER} MESON_ARGS+= -Decore-imf-loaders-disabler="${IMF_DISABLERS:ts,}" EVAS_DISABLERS= json ${OPENJPEG_DISABLER} ${PDF_DISABLER} \ ${PS_DISABLER} ${RAW_DISABLER} ${SVG_DISABLER} \ ${AVIF_DISABLER} ${HEIF_DISABLER} ${WEBP_DISABLER} \ ${XCF_DISABLER} ${JXL_DISABLER} MESON_ARGS+= -Devas-loaders-disabler="${EVAS_DISABLERS:ts,}" EFL_BINDINGS= ${LUA_BINDING} ${CXX_BINDING} MESON_ARGS+= -Dbindings="${EFL_BINDINGS:ts,}" .include # Work-around build failure, which is caused by subtle problem in lld and -as-needed flag .if ${ARCH} == i386 MESON_ARGS+= -Db_asneeded=false .endif .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH:Marmv?} BUILD_DEPENDS+= as:devel/binutils CFLAGS+= -no-integrated-as .endif post-install: #@${RM} -r ${STAGEDIR}${PREFIX}/share/gdb @for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ done post-stage: @${ECHO_CMD} "autogenerating plist"; @cd ${STAGEDIR}${PREFIX} && ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/devel/kyra/Makefile b/devel/kyra/Makefile index f230d779e947..04d14fc98eb5 100644 --- a/devel/kyra/Makefile +++ b/devel/kyra/Makefile @@ -1,47 +1,47 @@ PORTNAME= kyra PORTVERSION= 2.1.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTVERSION} DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/./_/g} MAINTAINER= ports@FreeBSD.org COMMENT= Simple Sprite engine written in C++ WWW= https://www.grinninglizard.com/kyra/ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff WRKSRC= ${WRKDIR}/${PORTNAME} USES= compiler gl gmake jpeg sdl zip USE_GL= gl USE_SDL= image sdl CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing MAKEFILE= MakefileKyra MAKE_ENV= MAKE_KYRA=RELEASE KYRA_OPENGL=YES MAKE_ARGS= CC="${CC}" CXX="${CXX}" LD="${CXX}" \ RELEASE_CFLAGS="${CFLAGS}" RELEASE_CXXFLAGS="${CXXFLAGS}" do-install: .for i in encoder spriteed (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} kr${i} ${STAGEDIR}${PREFIX}/bin) .endfor (cd ${WRKSRC}/engine && ${INSTALL_DATA} libkyra.a ${STAGEDIR}${PREFIX}/lib) @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra (cd ${WRKSRC} && ${INSTALL_DATA} kyra.h ${STAGEDIR}${PREFIX}/include/Kyra) .for i in engine gui guiExtended util @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/${i} (cd ${WRKSRC}/${i} && ${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/Kyra/${i}) .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml (cd ${WRKSRC}/../tinyxml && ${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml) .include diff --git a/devel/love07/Makefile b/devel/love07/Makefile index 8ae15997549f..029eb5efad33 100644 --- a/devel/love07/Makefile +++ b/devel/love07/Makefile @@ -1,57 +1,57 @@ PORTNAME= love PORTVERSION= 0.7.2 -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= devel games MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \ http://mirror.amdmi3.ru/distfiles/ PKGNAMESUFFIX= 07 DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine WWW= https://www.love2d.org/ LIB_DEPENDS= libIL.so:graphics/devil \ libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ libvorbisfile.so:audio/libvorbis \ libphysfs.so:devel/physfs \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libmng.so:graphics/libmng BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs PORTSCOUT= limit:^0\.7\. USES= compiler:c++11-lang gmake gl openal dos2unix lua:51 sdl USE_SDL= sdl mixer USE_GL= gl glu GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ -I${LUA_INCDIR} `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} LDFLAGS_i386= -Wl,-znotext CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \ --program-suffix=07 WRKSRC= ${WRKDIR}/love-HEAD DOS2UNIX_FILES= src/modules/graphics/opengl/GLee.h PLIST_FILES= bin/love07 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \ -e "s/lua5.1/lua-${LUA_VER}/g" \ ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in changes.txt readme.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/devel/p5-SDL/Makefile b/devel/p5-SDL/Makefile index 74f336c11a7e..a11ada850995 100644 --- a/devel/p5-SDL/Makefile +++ b/devel/p5-SDL/Makefile @@ -1,29 +1,29 @@ PORTNAME= SDL PORTVERSION= 2.548 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl Bindings for SDL WWW= http://sdl.perl.org/ LICENSE= GPLv2 BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libsmpeg.so:multimedia/smpeg RUN_DEPENDS= p5-Alien-SDL>=1.446:devel/p5-Alien-SDL \ p5-File-ShareDir>=1.0:devel/p5-File-ShareDir \ p5-Tie-Simple>=0:devel/p5-Tie-Simple TEST_DEPENDS= p5-Capture-Tiny>=0:devel/p5-Capture-Tiny \ p5-Test-Most>=0.21:devel/p5-Test-Most USES= gl jpeg perl5 sdl USE_GL= glu USE_PERL5= modbuild USE_SDL= gfx image mixer pango sdl ttf .include diff --git a/devel/root/Makefile b/devel/root/Makefile index b96e9ceaba0b..0a060483335a 100644 --- a/devel/root/Makefile +++ b/devel/root/Makefile @@ -1,110 +1,110 @@ PORTNAME= root DISTVERSION= 6.30.02 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel science math parallel python MASTER_SITES= https://root.cern/download/ DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= erik@tenku.dk COMMENT= Data analysis framework made at CERN WWW= https://root.cern/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt BUILD_AND_RUN_DEPENDS= bash:shells/bash \ nlohmann-json>=3:devel/nlohmann-json BUILD_DEPENDS= ${BUILD_AND_RUN_DEPENDS} LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ liblz4.so:archivers/liblz4 \ libopenblas.so:math/openblas \ libpcre.so:devel/pcre \ libtbb.so:devel/onetbb \ libvdt.so:math/vdt \ libXrdCl.so:databases/xrootd \ libxxhash.so:devel/xxhash \ libzstd.so:archivers/zstd RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS} USES= cmake compiler:c++17-lang desktop-file-utils \ gnome iconv shebangfix ssl USE_GNOME= libxml2 SHEBANG_FILES= config/rootssh etc/dictpch/makepch.py etc/proof/utils/circle.sh \ etc/proof/utils/crypt etc/proof/utils/pps \ etc/proof/utils/proofctl.sh etc/proof/utils/proofinstall.sh \ etc/pdg_table_update.py # Flags and environment variables for building CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 CMAKE_ON= gnuinstall soversion mathmore CMAKE_OFF= builtin_gtest clad CONFIGURE_WRKSRC?= ${WRKDIR}/.build MAKE_ENV+= ROOTSYS=${CONFIGURE_WRKSRC} # Port build options; DOCS also on by default OPTIONS_DEFINE= DOCS MYSQL PGSQL PYROOT ROOT7 SQLITE X11 OPTIONS_DEFAULT= PYROOT ROOT7 X11 OPTIONS_SUB= yes # Option: MYSQL MYSQL_DESC= Enable MySQL bindings MYSQL_USES= mysql MYSQL_CMAKE_BOOL= mysql # Option: PGSQL PGSQL_DESC= Enable PostgreSQL bindings PGSQL_USES= pgsql:13+ PGSQL_CMAKE_BOOL= pgsql #Option: PYROOT PYROOT_DESC= Enable bindings between Python and C++ with PyROOT PYROOT_BUILD_DEPENDS= ${PYNUMPY} PYROOT_USES= python:3.9+,build,run PYROOT_USES_OFF= python:3.9+,build PYROOT_CMAKE_BOOL= pyroot # Option: ROOT7 ROOT7_DESC= Enable supplementary preview features of ROOT version 7 ROOT7_CMAKE_BOOL= root7 # Option: SQLITE SQLITE_DESC= Enable SQLite bindings SQLITE_USES= sqlite SQLITE_CMAKE_BOOL= sqlite # Option: X11 X11_DESC= Enable interfacing with X11 graphics system X11_LIB_DEPENDS= libAfterImage.so:graphics/libafterimage \ libftgl.so:graphics/ftgl \ libgif.so:graphics/giflib \ libgl2ps.so:print/gl2ps \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff X11_USES= gettext-runtime gl jpeg xorg X11_USE= gl=glew,glu,opengl gnome=cairo,gdkpixbuf2,glib20,librsvg2 \ xorg=ice,sm,x11,xau,xaw,xcb,xcomposite,xcursor,xdamage,xdmcp,xext,xfixes,xfont,xfont2,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender,xres,xscrnsaver,xt,xv,xxf86vm X11_CMAKE_BOOL= x11 .include PLIST_SUB+= SHLIB_SHVER="${DISTVERSION:R}" \ SHLIB_VER="${DISTVERSION}" # Some .modulemap, .pcm and .idx files are not installed on aarch64, a few .pcm files are exclusive to aarch64 and files LIBRARY.pcm are renamed libLIBRARY_rdict.pcm on aarch64 .if ${ARCH} == "aarch64" PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64="" AARCH64_PCM_PREFIX="lib" AARCH64_PCM_SUFFIX="_rdict" .else PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " AARCH64_PCM_PREFIX="" AARCH64_PCM_SUFFIX="" .endif # The following two files should not be staged. This happens even when PYROOT option is OFF. post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/root/__pycache__/cmdLineUtils.cpython-39.pyc ${RM} ${STAGEDIR}${PREFIX}/lib/root/__pycache__/cmdLineUtils.cpython-39.opt-1.pyc ${RMDIR} ${STAGEDIR}${PREFIX}/lib/root/__pycache__ .include diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile index f70dcb46949b..3d5285e799c9 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -1,88 +1,88 @@ PORTNAME= calligra DISTVERSION= 3.2.1 -PORTREVISION= 61 +PORTREVISION= 62 CATEGORIES= editors kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/${PORTNAME} PATCH_SITES= https://invent.kde.org/office/calligra/-/commit/ # Poppler 22.03 PATCHFILES= 236bacbe13739414e919de868283b0caf2df5d8a.diff:-p1 \ 6b75bec784c9835c78993349845d8c2ef22ec3de.diff:-p1 MAINTAINER= kde@FreeBSD.org COMMENT= KDE office suite WWW= https://calligra.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= pstoedit:graphics/pstoedit LIB_DEPENDS= libImath.so:math/Imath \ libKPropertyCore3.so:x11-toolkits/kproperty \ libKReport3.so:textproc/kreport \ libboost_thread.so:devel/boost-libs \ libetonyek-0.1.so:graphics/libetonyek01 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libKGantt.so:graphics/kdiagram \ libodfgen-0.1.so:textproc/libodfgen01 \ libpng.so:graphics/png \ libpoppler-qt5.so:graphics/poppler-qt5 \ libpoppler.so:graphics/poppler \ librevenge-0.0.so:textproc/librevenge \ libtiff.so:graphics/tiff \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwpg-0.3.so:graphics/libwpg03 \ libwps-0.4.so:textproc/libwps RUN_DEPENDS= pstoedit:graphics/pstoedit USES= cmake compiler:c++17-lang cpe desktop-file-utils eigen:3 \ gettext iconv:translit jpeg kde:5 localbase:ldflags perl5 \ pkgconfig qca qt:5 shared-mime-info sqlite tar:xz xorg USE_LDCONFIG= yes USE_KDE= activities akonadicontacts archive auth bookmarks calendarcore \ codecs completion config configwidgets contacts coreaddons \ crash dbusaddons doctools emoticons guiaddons holidays i18n \ iconthemes init itemmodels itemviews jobwidgets js kcmutils \ kdelibs4support khtml kio kross notifications notifyconfig \ okular parts phonon service solid sonnet texteditor textwidgets \ threadweaver unitconversion wallet widgetsaddons windowsystem \ xmlgui \ ecm:build USE_QT= concurrent core dbus declarative gui network opengl \ printsupport script sql svg testlib widgets x11extras \ xml \ buildtools:build qmake:build USE_XORG= ice sm x11 xext OPTIONS_DEFINE= OPENEXR OPTIONS_DEFAULT= OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:STRING="${QT_INCDIR} ${LOCALBASE}/include" \ -DPRODUCTSET:STRING="DESKTOP" # Requested by upstream, to not include unfinished modules CMAKE_ON= RELEASE_BUILD # Performance increase according to README.PACKAGERS CMAKE_ARGS+= -DCMAKE_CXX_FLAGS="-DKDE_NO_DEBUG_OUTPUT" PLIST_SUB+= SHLIB_VER=17.0.0 .include post-patch: .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|g' \ ${WRKSRC}/filters/words/msword-odf/wv2/src/word97_helper.cpp @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ ${WRKSRC}/filters/words/msword-odf/wv2/src/utilities.h .endif .include diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index ebb230daa56f..de9c9a0df885 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -1,296 +1,297 @@ PORTNAME= emacs DISTVERSION= 30.0.50.20240415 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= editors PKGNAMESUFFIX= -devel MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} WWW= https://www.gnu.org/software/emacs/ COMMENT_nox= (No X flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full nox full_CONFLICTS_INSTALL= emacs-devel-nox nox_PKGNAMESUFFIX= -devel-nox nox_CONFLICTS_INSTALL= emacs-devel USES= autoreconf:build cpe gmake localbase:ldflags makeinfo ncurses \ pkgconfig CPE_VENDOR= gnu USE_GITHUB= yes GH_ACCOUNT= emacs-mirror GH_TAGNAME= 9b755244bf0 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-gconf \ --without-libsystemd \ --without-selinux .if ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gconf \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-pgtk \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-webp \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs emacs-canna emacs-nox SUB_FILES= pkg-message sources.el SUB_LIST= EMACS_VER=${DISTVERSION:R} \ NATIVECOMP_COMMENT_END=${NATIVECOMP_COMMENT_END} \ NATIVECOMP_COMMENT_START=${NATIVECOMP_COMMENT_START} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eglot eieio eintr elisp emacs emacs-gnutls \ emacs-mime epa erc ert eshell eudc eww flymake forms gnus \ htmlfontify idlwave ido info mairix-el message mh-e \ modus-themes newsticker nxml-mode octave-mode org pcl-cvs pgg \ rcirc reftex remember sasl sc semantic ses sieve smtpmail \ speedbar srecode todo-mode tramp transient url use-package \ vhdl-mode vip viper vtable widget wisent woman INFO_PATH= ${DATADIR_REL}/info PLIST_SUB= EMACS_VER=${DISTVERSION:R} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS GNUTLS GSETTINGS HARFBUZZ JSON LCMS2 \ M17N MAILUTILS MODULES NATIVECOMP OTF PGTK \ SCROLLBARS SOURCES SQLITE3 THREADS TREESITTER \ XFT XIM XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG JSON KQUEUE LCMS2 MAILUTILS \ MODULES NATIVECOMP OSS PGTK PNG SCROLLBARS \ SOURCES SQLITE3 SVG THREADS TIFF TREESITTER \ WEBP XML OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 MOTIF XAW XAW3D .if ${FLAVOR:U} == nox OPTIONS_EXCLUDE= ALSA CAIRO DBUS GFILE GIF GSETTINGS GTK2 GTK3 \ HARFBUZZ JPEG LCMS2 M17N MAGICK MOTIF OSS OTF \ PGTK PNG SCROLLBARS SVG TIFF WEBP XAW XAW3D XFT \ XIM XPM XWIDGETS .endif OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG, prevents XFT] FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support NATIVECOMP_DESC= Emacs Lisp native compiler support OTF_DESC= Opentype fonts PGTK_DESC= Pure GTK GUI [implies CAIRO, GTK3] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] TREESITTER_DESC= tree-sitter support X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG CAIRO_PREVENTS= XFT CAIRO_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JSON_LIB_DEPENDS= libjansson.so:devel/jansson JSON_CONFIGURE_WITH= json KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_LIB_DEPENDS= libmailutils.so:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-x-toolkit=motif NATIVECOMP_USE= GCC=yes NATIVECOMP_CONFIGURE_WITH= native-compilation=aot OSS_CONFIGURE_ON= --with-sound=oss OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PGTK_IMPLIES= CAIRO GTK3 SCROLLBARS PGTK_PREVENTS= M17N XFT XPM PGTK_CATEGORIES= wayland PGTK_CONFIGURE_WITH= pgtk PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars SQLITE3_USES= sqlite:3 SQLITE3_CONFIGURE_WITH= sqlite3 SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff TREESITTER_IMPLIES= MODULES TREESITTER_LIB_DEPENDS= libtree-sitter.so:devel/tree-sitter TREESITTER_CONFIGURE_WITH= tree-sitter WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${ARCH:Mpowerpc64*} USE_GCC= yes .endif .if ${PORT_OPTIONS:MNATIVECOMP} NATIVECOMP_COMMENT_END= NATIVECOMP_COMMENT_START= .else NATIVECOMP_COMMENT_END= '*/' NATIVECOMP_COMMENT_START= '/*' .endif .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome .if !${PORT_OPTIONS:MPGTK} USES+= xorg USE_XORG+= ice sm x11 xcb xcomposite xext xfixes xi xinerama xmu xrandr \ xrender xt .endif .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MXAW} && \ !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif # Schema generation is dependent on both PGTK, and GSETTINGS options # as per https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=183936ee8e5 .if ${PORT_OPTIONS:MGSETTINGS} && ${PORT_OPTIONS:MPGTK} GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif pre-configure: @(cd ${WRKSRC} && ./autogen.sh all) @${REINPLACE_CMD} \ -e 's/(ignore-errors (emacs-repository-get-version))/"${GH_TAGNAME}"/' \ -e 's/(ignore-errors (emacs-repository-get-branch))/"master"/' \ ${WRKSRC}/lisp/loadup.el post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd @(cd ${STAGEDIR}${PREFIX} && ${FIND} libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET}/ -name emacs-*.pdmp >> ${TMPPLIST}) post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET} # Natively compiled elisp files names include build checksum information, so add # these files to the plist after the build. post-install-NATIVECOMP-on: @(cd ${WRKSRC} && ${FIND} native-lisp -type f | ${SED} -e 's,^,lib/emacs/${DISTVERSION:R}/,') >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/emacs/${DISTVERSION:R}/native-lisp/ -name '*.eln*' -exec ${STRIP_CMD} {} + post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/site-lisp/site-start.el .include diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index f88af1d29735..c360b176d7e5 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,297 +1,298 @@ PORTNAME= emacs DISTVERSION= 29.3 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= GNU .if ${FLAVOR:U} == canna PATCH_SITES+= https://www.gentei.org/~yuuji/software/emacs29canna/:canna PATCHFILES+= emacs29.1-canna-20230730.diff.xz:-p1:canna .endif MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} WWW= https://www.gnu.org/software/emacs/ COMMENT_nox= (No X flavor) COMMENT_canna= (Canna Japanese input flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full canna nox canna_PKGNAMESUFFIX= -canna canna_LIB_DEPENDS= libcanna.so:japanese/canna-lib canna_CONFLICTS_INSTALL= emacs emacs-nox canna_DESCR= ${.CURDIR}/pkg-descr-canna full_CONFLICTS_INSTALL= emacs-canna emacs-nox nox_PKGNAMESUFFIX= -nox nox_CONFLICTS_INSTALL= emacs emacs-canna USES= cpe gmake localbase:ldflags ncurses pkgconfig tar:xz CPE_VENDOR= gnu GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-gconf \ --without-libsystemd \ --without-selinux .if ${FLAVOR:U} == canna CONFIGURE_ARGS+= --with-canna .endif .if ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gconf \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-pgtk \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-webp \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs-devel emacs-devel-nox BINARY_ALIAS= makeinfo=true SUB_FILES= sources.el SUB_LIST= EMACS_VER=${DISTVERSION} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eglot eieio eintr elisp emacs emacs-gnutls \ emacs-mime epa erc ert eshell eudc eww flymake forms gnus \ htmlfontify idlwave ido info mairix-el message mh-e \ modus-themes newsticker nxml-mode octave-mode org pcl-cvs pgg \ rcirc reftex remember sasl sc semantic ses sieve smtpmail \ speedbar srecode todo-mode tramp transient url use-package \ vhdl-mode vip viper vtable widget wisent woman INFO_PATH= ${DATADIR_REL}/info .if ${FLAVOR:U} == canna PLIST_FILES+= ${DATADIR}/${DISTVERSION}/lisp/canna.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/canna.elc \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.elc .endif PLIST_SUB= EMACS_VER=${DISTVERSION} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS GNUTLS GSETTINGS HARFBUZZ JSON LCMS2 \ M17N MAILUTILS MODULES NATIVECOMP OTF PGTK \ SCROLLBARS SOURCES SQLITE3 THREADS TREESITTER \ XFT XIM XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG JSON KQUEUE LCMS2 MAILUTILS \ MODULES OSS SCROLLBARS SOURCES SQLITE3 SVG \ THREADS TIFF TREESITTER WEBP XML OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 MOTIF XAW XAW3D .if ${FLAVOR:U} == nox OPTIONS_EXCLUDE= ALSA CAIRO DBUS GFILE GIF GSETTINGS GTK2 GTK3 \ HARFBUZZ JPEG LCMS2 M17N MAGICK MOTIF OSS OTF \ PGTK PNG SCROLLBARS SVG TIFF WEBP XAW XAW3D XFT \ XIM XPM XWIDGETS .endif OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG, prevents XFT] FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support NATIVECOMP_DESC= Emacs Lisp native compiler support OTF_DESC= Opentype fonts PGTK_DESC= Pure GTK GUI [implies CAIRO, GTK3] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] TREESITTER_DESC= tree-sitter support X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG CAIRO_PREVENTS= XFT CAIRO_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JSON_LIB_DEPENDS= libjansson.so:devel/jansson JSON_CONFIGURE_WITH= json KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_LIB_DEPENDS= libmailutils.so:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-x-toolkit=motif NATIVECOMP_USE= GCC=yes NATIVECOMP_CONFIGURE_WITH= native-compilation=aot OSS_CONFIGURE_ON= --with-sound=oss OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PGTK_IMPLIES= CAIRO GTK3 SCROLLBARS PGTK_PREVENTS= M17N XFT XPM PGTK_CATEGORIES= wayland PGTK_CONFIGURE_WITH= pgtk PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars .if ${FLAVOR:U} == canna SOURCES_PLIST_FILES= ${DATADIR}/${DISTVERSION}/src/canna.c .endif SQLITE3_USES= sqlite:3 SQLITE3_CONFIGURE_WITH= sqlite3 SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff TREESITTER_IMPLIES= MODULES TREESITTER_LIB_DEPENDS= libtree-sitter.so:devel/tree-sitter TREESITTER_CONFIGURE_WITH= tree-sitter WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${ARCH:Mpowerpc64*} USE_GCC= yes .endif .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome .if !${PORT_OPTIONS:MPGTK} USES+= xorg USE_XORG+= ice sm x11 xcb xcomposite xext xfixes xi xinerama xmu xrandr \ xrender xt .endif .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MMOTIF} && \ !${PORT_OPTIONS:MXAW} && !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif # Schema generation is dependent on both PGTK, and GSETTINGS options # as per https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=183936ee8e5 .if ${PORT_OPTIONS:MGSETTINGS} && ${PORT_OPTIONS:MPGTK} GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd @(cd ${STAGEDIR}${PREFIX} && ${FIND} libexec/emacs/${DISTVERSION}/${CONFIGURE_TARGET}/ -name emacs-*.pdmp >> ${TMPPLIST}) post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION}/${CONFIGURE_TARGET} # Natively compiled elisp files names include build checksum information, so add # these files to the plist after the build. post-install-NATIVECOMP-on: @(cd ${WRKSRC} && ${FIND} native-lisp -type f | ${SED} -e 's,^,lib/emacs/${DISTVERSION}/,') >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/emacs/${DISTVERSION}/native-lisp/ -name '*.eln*' -exec ${STRIP_CMD} {} + post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION}/site-lisp/site-start.el .include diff --git a/editors/fxite/Makefile b/editors/fxite/Makefile index d581117f6c7a..270e4900a616 100644 --- a/editors/fxite/Makefile +++ b/editors/fxite/Makefile @@ -1,35 +1,35 @@ PORTNAME= fxite DISTVERSIONPREFIX= ${PORTNAME:tu}- DISTVERSION= 0_92 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= editors MAINTAINER= danfe@FreeBSD.org COMMENT= Advanced customizable graphical text editor WWW= https://github.com/yetanothergeek/fxite LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16 USES= autoreconf desktop-file-utils gmake lua:52 pkgconfig USE_GITHUB= yes GH_ACCOUNT= yetanothergeek GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --with-system-lua \ --with-lua-pkg=lua-${LUA_VER} CONFIGURE_ENV= FOX_CFLAGS="$$(fox-config --cflags)" \ FOX_LIBS="$$(fox-config --libs)" \ RESWRAP="${LOCALBASE}/bin/reswrap" PLIST_FILES= bin/fxite \ share/applications/fxite.desktop \ share/pixmaps/fxite.xpm post-patch: @${ECHO_CMD} 'AM_CPPFLAGS += $$(X11_CFLAGS)' \ >> ${WRKSRC}/jef/Makefile.am .include diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index 2bd0510f7f6a..820e9117052a 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -1,429 +1,429 @@ -PORTREVISION= 0 +PORTREVISION= 1 .include "${.CURDIR}/Makefile.common" MASTER_SITES= https://download.documentfoundation.org/libreoffice/src/${LOVERSION}/ \ https://dev-www.libreoffice.org/src/:src \ https://dev-www.libreoffice.org/extern/:ext DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-help-${DISTVERSION}${EXTRACT_SUFX} DIST_SUBDIR= libreoffice EXTRACT_ONLY:= ${DISTFILES} COMMENT= Full integrated office productivity suite WWW?= https://www.libreoffice.org/ BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ zip:archivers/zip \ pigz:archivers/pigz \ ${LOCALBASE}/include/sqlext.h:databases/unixODBC \ cppunit-config:devel/cppunit \ dmake:devel/dmake \ gperf>=3.1:devel/gperf \ ${LOCALBASE}/include/libcuckoo/cuckoohash_map.hh:devel/libcuckoo \ mdds>=2.1:devel/mdds \ ucpp:devel/ucpp \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ vigra-config:graphics/vigra \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ bash:shells/bash \ gsed:textproc/gsed \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ coreutils>=8.23:sysutils/coreutils \ flex>=0.26:textproc/flex LIB_DEPENDS= libapr-1.so:devel/apr1 \ libboost_date_time.so:devel/boost-libs \ libbox2d.so:misc/box2d \ libicutu.so:devel/icu \ liblangtag.so:devel/liblangtag \ libltdl.so:devel/libltdl \ liborcus-0.18.so:devel/liborcus \ libplds4.so:devel/nspr \ libcurl.so:ftp/curl \ libgraphite2.so:graphics/graphite2 \ liblcms2.so:graphics/lcms2 \ libcdr-0.1.so:graphics/libcdr01 \ libepoxy.so:graphics/libepoxy \ libetonyek-0.1.so:graphics/libetonyek01 \ libfreehand-0.1.so:graphics/libfreehand \ libwpg-0.3.so:graphics/libwpg03 \ libzmf-0.0.so:graphics/libzmf \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ liblpsolve55.so:math/lp_solve \ libcmis-0.6.so:net/libcmis \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libmspub-0.1.so:print/libmspub01 \ libpagemaker-0.0.so:print/libpagemaker \ libassuan.so:security/libassuan \ libgpgme.so:security/gpgme \ libgpgmepp.so:security/gpgme-cpp \ libargon2.so:security/libargon2 \ libgpg-error.so:security/libgpg-error \ libnss3.so:security/nss \ libxmlsec1-nss.so:security/xmlsec1 \ libclucene-core.so:textproc/clucene \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libabw-0.1.so:textproc/libabw \ libe-book-0.1.so:textproc/libe-book \ libepubgen-0.1.so:textproc/libepubgen \ libexttextcat-2.0.so:textproc/libexttextcat \ libmwaw-0.3.so:textproc/libmwaw03 \ libnumbertext-1.0.so:textproc/libnumbertext \ libodfgen-0.1.so:textproc/libodfgen01 \ libqxp-0.0.so:textproc/libqxp \ librevenge-0.0.so:textproc/librevenge \ libstaroffice-0.0.so:textproc/libstaroffice \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.4.so:textproc/libwps \ libmythes-1.2.so:textproc/mythes \ libraptor2.so:textproc/raptor2 \ librdf.so:textproc/redland \ libZXing.so:textproc/zxing-cpp \ libfontconfig.so:x11-fonts/fontconfig \ libxcb-icccm.so:x11/xcb-util-wm \ libserf-1.so:www/serf LIB_DEPENDS+= ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind LIB_DEPENDS_amd64= 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= xdg-open:devel/xdg-utils \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/twemoji-color-font-ttf/TwitterColorEmoji-SVGinOT.ttf:x11-fonts/twemoji-color-font-ttf \ ${LOCALBASE}/share/fonts/GentiumBasic/GenBasI.ttf:x11-fonts/gentium-basic \ ${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \ ${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g DISTFILES+= f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf:ext DISTFILES+= dtoa-20180411.tgz:src DISTFILES+= dragonbox-1.1.3.tar.gz:src DISTFILES+= frozen-1.1.1.tar.gz:src DISTFILES+= skia-m116-2ddcf183eb260f63698aa74d1bb380f247ad7ccd.tar.xz:src DISTFILES+= zxcvbn-c-2.5.tar.gz:src NOT_FOR_ARCHS= armv6 armv7 NOT_FOR_ARCHS_REASON= Unsupported host_cpu .if defined(PRERELEASE) MASTER_SITES+= https://dev-builds.libreoffice.org/pre-releases/src/ .endif CONFLICTS_INSTALL= libreoffice6 INSTALL_TARGET= distro-pack-install SHEBANG_GLOB= *.py GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= autoreconf:build bison compiler:c++17-lang cpe desktop-file-utils \ gettext gl gmake gnome jpeg ldap localbase:ldflags perl5 pkgconfig \ python shebangfix shared-mime-info ssl tar:xz xorg USE_GL= gl glew glu USE_GNOME= cairo glib20 libxml2 libxslt USE_PERL5= build USE_XORG= ice sm x11 xaw xcb xext xinerama xrandr xrender USES+= elfctl ELF_FEATURES= +wxneeded:instdir/program/soffice.bin OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 GTK4 JAVA LTO MMEDIA PDFIUM PGSQL MARIADB SDK TEST WEBDAV OPTIONS_RADIO= QT KDE OPTIONS_RADIO_QT= QT5 QT6 OPTIONS_RADIO_KDE= KF5 KF6 OPTIONS_DEFAULT= CUPS DOCS JAVA MMEDIA PDFIUM QT5 #OPTIONS_EXCLUDE= GTK4 COINMP_DESC= Enable CoinMP (deprecated) math solver GTK4_DESC= GTK+ 4 GUI toolkit support (experimental, broken) JAVA_DESC= Add Java support (XML filters, macros, DB connections) KF5_DESC= KF5/Qt5 GUI toolkit support (implies QT5) KF6_DESC= KF6/Qt6 GUI toolkit support (implies QT6) MMEDIA_DESC= Enable multimedia backend for Impress PDFIUM_DESC= Enable PDFium secure engine PGSQL_DESC= Build with PostgreSQL-SDBC driver MARIADB_DESC= Build with MariaDB/MySQL-SDBC driver QT_DESC= Select Qt GUI engine version KDE_DESC= Select KDE GUI engine version QT5_DESC= Qt5 GUI toolkit support (default visual style) QT6_DESC= Qt6 GUI toolkit support (experimental visual style) SDK_DESC= Build with SDK TEST_DESC= Run all regression tests WEBDAV_DESC= Enable WebDAV protocol COINMP_CONFIGURE_ENABLE= coinmp COINMP_CONFIGURE_ON= --with-system-coinmp COINMP_LIB_DEPENDS= libCoinMP.so:math/coinmp CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DOCS_CONFIGURE_ON= --with-help=html GNOME_CONFIGURE_ENABLE= dbus dconf GNOME_IMPLIES= GTK3 GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib GNOME_USE= GNOME=dconf GTK3_CONFIGURE_ENABLE= gtk3 GTK3_USE= GNOME=gtk30 GTK4_CONFIGURE_ENABLE= gtk4 GTK4_USE= GNOME=gtk40 JAVA_BUILD_DEPENDS= ant:devel/apache-ant \ ${JAVAJARDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVAJARDIR}/commons-httpclient.jar:java/apache-commons-httpclient \ ${JAVAJARDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVAJARDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVAJARDIR}/junit.jar:java/junit JAVA_CATEGORIES= java JAVA_CONFIGURE_ON= --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-commons-codec-jar=${JAVAJARDIR}/commons-codec.jar \ --with-commons-httpclient-jar=${JAVAJARDIR}/commons-httpclient.jar \ --with-commons-lang-jar=${JAVAJARDIR}/commons-lang3.jar \ --with-commons-logging-jar=${JAVAJARDIR}/commons-logging.jar \ --with-jdk-home="${JAVA_HOME}" \ --with-junit=${JAVAJARDIR}/junit.jar \ --with-hamcrest=${JAVAJARDIR}/hamcrest.jar \ --with-system-jars \ --without-system-beanshell \ --without-system-jfreereport JAVA_CONFIGURE_WITH= java # XXX jni.h from GNU classpath causes ABI conflicts. JAVA_CONFLICTS_BUILD= classpath-[0-9]* JAVA_DISTFILES= 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \ 3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip:src \ 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip:src \ 39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip:src \ 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip:src \ 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip:src \ 8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar:ext \ 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \ 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \ a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar:ext \ ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip:src \ ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip:src \ beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip:src \ d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip:src \ db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip:src \ eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip:src \ f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip:src \ Java-WebSocket-1.5.4.tar.gz:src JAVA_USE= JAVA=yes JAVA_VARS= JAVA_BUILD=yes JAVA_RUN=yes JAVA_VERSION=17+ KF5_CONFIGURE_ENABLE= kf5 KF5_USE= kde=config,coreaddons,i18n,kio,windowsystem KF5_USES= kde:5 KF5_IMPLIES= QT5 KF5_PREVENTS= KF6 KF5_PREVENTS_MSG= KF5 cannot coexist with KF6 KF6_CONFIGURE_ENABLE= kf6 KF6_USE= kde=config,coreaddons,i18n,kio,windowsystem KF6_USES= kde:6 KF6_IMPLIES= QT6 KF6_PREVENTS= KF5 KF6_PREVENTS_MSG= KF6 cannot coexist with KF5 LTO_CONFIGURE_ENABLE= lto MMEDIA_USES= gstreamer MMEDIA_CONFIGURE_ENABLE= gstreamer-1-0 PDFIUM_CONFIGURE_ENABLE= pdfium PDFIUM_DISTFILES= pdfium-6179.tar.bz2:src PDFIUM_LIB_DEPENDS= libabsl_strings.so:devel/abseil \ libopenjp2.so:graphics/openjpeg PGSQL_CONFIGURE_ENABLE= postgresql-sdbc PGSQL_CONFIGURE_WITH= gssapi krb5 PGSQL_USES= pgsql MARIADB_CONFIGURE_ENABLE= mariadb-sdbc MARIADB_USES= mysql:client QT5_CONFIGURE_ENABLE= qt5 QT5_PREVENTS= KF6 QT5_PREVENTS_MSG= KF6 support require Qt6 engine QT5_USE= qt=buildtools:build,core,gui,network,qmake:build,widgets,x11extras QT5_USES= qt:5 QT6_CONFIGURE_ENABLE= qt6 QT6_CONFIGURE_ENV= QMAKE6=${QMAKE} MOC6=${MOC} PATH="${QT_TOOLDIR}:${PATH}" QT6_PREVENTS= KF5 QT6_PREVENTS_MSG= KF5 support require Qt5 engine QT6_USE= qt=base,declarative:build,tools:build QT6_USES= qt:6 SDK_BUILD_DEPENDS= doxygen:devel/doxygen SDK_CONFIGURE_ENABLE= odk SDK_CONFIGURE_OFF= --without-doxygen SDK_CONFIGURE_ON= --with-doxygen=${LOCALBASE}/bin/doxygen SDK_DISTFILES= 185d60944ea767075d27247c3162b3bc-unowinreg.dll:ext TEST_ALL_TARGET= build TEST_ALL_TARGET_OFF= build TEST_CONFIGURE_ENABLE= cve-tests WEBDAV_CONFIGURE_ON= --with-webdav=neon WEBDAV_CONFIGURE_OFF= --with-webdav=no WEBDAV_LIB_DEPENDS= libneon.so:www/neon CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-epm \ --disable-fetch-external \ --disable-firebird-sdbc \ --disable-mergelibs \ --disable-online-update \ --enable-cairo-canvas \ --enable-python=system \ --enable-release-build \ --enable-extension-integration \ --disable-mpl-subset \ --disable-report-builder \ --exec-prefix=${PREFIX} \ --with-boost=${LOCALBASE} \ --with-build-version="FreeBSD ports ${PKGVERSION}" \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-external-tar=${DISTDIR}/${DIST_SUBDIR} \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-os-version=${OSVERSION} \ --with-parallelism=${MAKE_JOBS_NUMBER} \ --with-system-abseil \ --with-system-argon2 \ --with-system-cppunit \ --with-system-cuckoo \ --with-system-curl \ --with-system-dicts \ --with-system-dragonbox=no \ --with-system-frozen=no \ --with-system-gpgmepp \ --with-system-libfixmath=no \ --with-system-libs \ --with-system-libtiff \ --with-system-libxml \ --with-system-mdds \ --with-system-nss \ --with-system-openjpeg \ --with-system-orcus \ --with-system-ucpp \ --with-system-zlib \ --with-system-zxcvbn=no \ --with-system-zxing \ --with-tls=nss \ --with-vendor="FreeBSD ports" \ --without-fonts \ --without-myspell-dicts CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ FLEX=${LOCALBASE}/bin/flex \ CONFIG_SHELL=${LOCALBASE}/bin/bash \ GNUTAR="${TAR}" \ GPERF=${LOCALBASE}/bin/gperf \ ICU_CFLAGS="`icu-config --cflags`" \ ICU_LIBS="`icu-config --ldflags`" \ PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \ PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`" \ ZXING_CFLAGS="-I${LOCALBASE}/include/ZXing \ CPLUS_INCLUDE_PATH="-I${LOCALBASE}/include \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_SHELL= ${LOCALBASE}/bin/bash MAKE_SHELL= ${LOCALBASE}/bin/bash MAKE_ARGS+= TMPDIR=${WRKDIR} MAKE_ENV+= CXXFLAGS_WARN="${CXXFLAGS_WARN}" MAKE_ENV+= GNUSED=${LOCALBASE}/bin/gsed MAKE_ENV+= DISPLAY= MAKE_ENV+= verbose=1 BINARY_ALIAS= sed=gsed #MAKE_JOBS_UNSAFE= yes .include .include .if ${OPSYS} == FreeBSD && ( \ (${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057)) BROKEN= please update FreeBSD base system first to fix an ABI incompatibility .endif .if ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64 CONFIGURE_ARGS+= --disable-skia .endif .if ${PORT_OPTIONS:MGTK3} && ${PORT_OPTIONS:MKF5} CONFIGURE_ARGS+= --enable-gtk3-kde5 .endif .if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 130 LLVM_DEFAULT= 13 CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} LLD_UNSAFE= yes .endif .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS_WARN= -Woverloaded-virtual -Wno-c++11-narrowing \ -Wno-unused-parameter -Wno-unused-local-typedefs .else CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual .endif LDFLAGS+= -Wl,--undefined-version post-patch: .if ${COMPILER_FEATURES:Mlibstdc++} ${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk .endif ${CP} ${FILESDIR}/powerpc64le-skia.patch.0 ${WRKSRC}/external/skia/ pre-configure: @${TOUCH} ${WRKSRC}/autogen.lastrun post-configure: @${TOUCH} ${WRKSRC}/src.downloaded post-install: @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s lib/libreoffice -type d -empty \ -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s bin lib -not -type d >> ${TMPPLIST} .for subdir in applications bash-completion icons man metainfo mime @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} .endfor post-install-SDK-on: .for subdir in share share/doc @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s ${subdir}/libreoffice -type d -empty \ -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} .endfor .for subdir in include share share/doc @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s ${subdir}/libreoffice -not -type d >> ${TMPPLIST} .endfor .include diff --git a/editors/ted/Makefile b/editors/ted/Makefile index 88c1cfc3e4f2..208df15fa7d5 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -1,84 +1,84 @@ PORTNAME= ted PORTVERSION= 2.23 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= editors MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/ \ http://fossies.org/linux/misc/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= X11 based RTF editor WWW= https://www.nllgg.nl/Ted/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl.txt LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libpaper.so:print/libpaper RUN_DEPENDS= gsfonts>0:print/gsfonts WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} USES= ghostscript:x11,run iconv pkgconfig xorg USE_XORG= xext xft GNU_CONFIGURE= yes MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \ DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \ DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" \ DEF_PSSCRIPT_DIR="-DPSSCRIPT_DIR=\"\\\"${DATADIR}/\\\"\"" ALL_TARGET= compile.shared CONFIGURE_ARGS= --datadir=${PREFIX}/share \ ac_iconv_includes=${LOCALBASE}/include DATADIR= ${PREFIX}/share/Ted DOCSDIR= ${PREFIX}/share/doc/Ted AFMDIR= ${DATADIR}/afm INDDIR= ${DATADIR}/dfa OPTIONS_DEFINE= GTK2 DOCS GTK2_DESC= Use GTK2 instead of MOTIF GTK2_USES= gnome GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ON= --with-GTK GTK2_CPPFLAGS= `pkg-config --cflags gtk+-2.0 | ${SED} -e 's|-I|-isystem |g'` GTK2_USES_OFF= motif GTK2_CONFIGURE_OFF= --with-MOTIF .include post-extract: @cd ${WRKSRC}/tedPackage && ${TAR} xf TedDatadir.tar @${INSTALL_SCRIPT} ${FILESDIR}/configure ${WRKSRC} post-patch: @${FIND} ${WRKSRC} -name "configure" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's|/usr/X11R6|${LOCALBASE}|g ; \ s|/usr/local|${LOCALBASE}|g ; \ /paper.h/s|/usr/include|${LOCALBASE}/include|g ; \ /paper.h/s|/usr/lib|${LOCALBASE}/lib|g' .if ! empty(ICONV_LIB) @${REINPLACE_CMD} 's|/iconv\.so|/libiconv.so|' \ ${WRKSRC}/Ted/configure ${WRKSRC}/textEncoding/configure .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/examples/rtf2*.sh ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/Ted.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/rtf2*.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/ps/*.ps ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${AFMDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/*.afm ${STAGEDIR}${AFMDIR} @${MKDIR} ${STAGEDIR}${INDDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/dfa/*.dfa ${STAGEDIR}${INDDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/TedDocument-en_US.rtf ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/uconvert/Makefile b/emulators/uconvert/Makefile index 461d48bd8a58..b09faab579bf 100644 --- a/emulators/uconvert/Makefile +++ b/emulators/uconvert/Makefile @@ -1,29 +1,30 @@ PORTNAME= uconvert +DISTVERSIONPREFIX= v DISTVERSION= 1.01 +PORTREVISION= 1 CATEGORIES= emulators graphics -DISTVERSIONPREFIX= v MAINTAINER= otis@FreeBSD.org COMMENT= Bitmap converter into Atari-specific formats WWW= https://github.com/mikrosk/uconvert LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick USES= compiler:c++17-lang gmake USE_GITHUB= yes GH_ACCOUNT= mikrosk GH_PROJECT= uconvert PLIST_FILES= bin/uconvert .include do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/uconvert ${STAGEDIR}${PREFIX}/bin .include diff --git a/games/macopix/Makefile b/games/macopix/Makefile index 89c16ea2e3ae..f94a02e83c28 100644 --- a/games/macopix/Makefile +++ b/games/macopix/Makefile @@ -1,105 +1,105 @@ PORTNAME= macopix PORTVERSION= 1.7.4 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= games MASTER_SITES= http://rosegray.sakura.ne.jp/macopix/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LICENSE_DISTFILES_DATA} MAINTAINER= ports@FreeBSD.org COMMENT= Window sitter for X11 WWW= http://rosegray.sakura.ne.jp/macopix/index-e.html LICENSE= GPLv2+ DATA LICENSE_COMB= multi LICENSE_NAME_DATA= Commercial character data LICENSE_TEXT_DATA= contains commercial character data LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_DISTFILES_DATA= \ macopix-mascot-comic_party-euc-ja-1.02.tar.gz \ macopix-mascot-cosmos-euc-ja-1.02.tar.gz \ macopix-mascot-kanon-euc-ja-1.02.tar.gz \ macopix-mascot-mizuiro-euc-ja-1.02.tar.gz \ macopix-mascot-one-euc-ja-1.02.tar.gz \ macopix-mascot-pia2-euc-ja-1.02.tar.gz \ macopix-mascot-triangle_heart-euc-ja-1.02.tar.gz \ macopix-mascot-tsukihime-euc-ja-1.02.tar.gz \ macopix-mascot-marimite-euc-ja-2.20.tar.gz \ macopix-mascot-HxB-euc-ja-0.30.tar.gz LICENSE_PERMS_DATA= auto-accept BROKEN_armv6= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gettext gmake gnome iconv jpeg libtool pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk20 USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CFLAGS+= -fcommon CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lX11 ${ICONV_LIB} OPTIONS_DEFINE= DOCS GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ON= --with-gnutls GNUTLS_USES_OFF= ssl post-patch: @${REINPLACE_CMD} -e 's/_MAIL } MailStatus/_MAIL } MailStatus2/' ${WRKSRC}/src/main.h post-install: # install mascot file @${MKDIR} ${STAGEDIR}${DATADIR}/pixmap cd ${WRKDIR}/macopix-mascot-comic_party-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.comipa.jp cd ${WRKDIR}/macopix-mascot-cosmos-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.cosmos.jp cd ${WRKDIR}/macopix-mascot-kanon-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.kanon.jp cd ${WRKDIR}/macopix-mascot-mizuiro-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.mizuiro.jp cd ${WRKDIR}/macopix-mascot-one-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.one.jp cd ${WRKDIR}/macopix-mascot-pia2-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.pia2.jp cd ${WRKDIR}/macopix-mascot-triangle_heart-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.trh.jp cd ${WRKDIR}/macopix-mascot-tsukihime-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.tsuki.jp cd ${WRKDIR}/macopix-mascot-marimite-euc-ja-2.20 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.marimite.jp cd ${WRKDIR}/macopix-mascot-HxB-euc-ja-0.30 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.HxB.jp @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} NKR.README.ja README README.ja \ ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index 3daf2157d2be..0c123fccab79 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -1,99 +1,100 @@ PORTNAME= GraphicsMagick PORTVERSION= 1.3.43 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast image processing tools based on ImageMagick WWW= http://www.graphicsmagick.org/ LICENSE= MIT USES= cpe libtool localbase pathfix pkgconfig tar:xz CONFIGURE_ARGS= --enable-shared --enable-static \ --with-windows-font-dir=${WINDOWS_FONT_DIR} \ --without-dps --without-gdi32 --without-perl --without-trio CONFIGURE_ENV= PTHREAD_LIBS=-lpthread GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes # Use fonts installed by x11-fonts/webfonts by default WINDOWS_FONT_DIR?= ${LOCALBASE}/share/fonts/webfonts OPTIONS_DEFINE= BZIP2 DOCS FPX FREETYPE HEIF JASPER JBIG JPEG JXL LCMS2 LZMA OPENMP Q8BIT PNG TEST TIFF WEBP WMF X11 XML ZLIB ZSTD OPTIONS_DEFAULT=BZIP2 FREETYPE JASPER JBIG JPEG JXL LCMS2 LZMA OPENMP PNG TIFF WEBP WMF X11 XML ZLIB Q8BIT_DESC= Use 8-bit pixels (speed) instead of 16-bit (quality) TEST_DESC= Run bundled self-tests after build BZIP2_CONFIGURE_WITH= bzlib FPX_CONFIGURE_WITH= fpx FPX_LDFLAGS= -L${LOCALBASE}/lib -lfpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx FREETYPE_CONFIGURE_WITH=ttf FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 HEIF_CONFIGURE_WITH= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif JASPER_CONFIGURE_WITH= jp2 JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms2 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LZMA_CONFIGURE_WITH= lzma OPENMP_CONFIGURE_OFF= --disable-openmp --without-threads OPENMP_CONFIGURE_ON= --disable-openmp-slow --enable-openmp --with-threads PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png Q8BIT_CONFIGURE_OFF= --with-quantum-depth=16 Q8BIT_CONFIGURE_ON= --with-quantum-depth=8 Q8BIT_PLIST_SUB= Q=8 Q8BIT_PLIST_SUB_OFF= Q=16 TEST_BUILD_DEPENDS= webfonts>=0:x11-fonts/webfonts TEST_RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf X11_CONFIGURE_OFF= ac_cv_lib_ICE_IceConnectionNumber=no X11_CONFIGURE_WITH= x X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext XML_CONFIGURE_WITH= xml XML_USE= GNOME=libxml2 XML_USES= gnome ZLIB_CONFIGURE_WITH= zlib ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include .if ${PORT_OPTIONS:MOPENMP} .if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != i386 && ${ARCH} != powerpc64 && ${ARCH} != powerpc64le && ${ARCH} != riscv64 USES+= compiler:gcc-c++11-lib .endif .endif .if ${PORT_OPTIONS:MWMF} .if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libwmflite.so:graphics/libwmf .else LIB_DEPENDS+= libwmflite.so:graphics/libwmf-nox11 .endif .endif post-install-Q8BIT-off: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q16/coders ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q16/filters post-install-Q8BIT-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q8/coders ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q8/filters .include diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 6f37e9474b4a..e556757e6313 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,354 +1,354 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.12-77 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 6 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools (legacy version) WWW= https://legacy.imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 6-nox11 PORTSCOUT?= limit:^6\.9\. # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= compiler:c++11-lang cpe gettext-runtime gmake gnome \ libtool:keepla localbase pathfix perl5 pkgconfig:both \ shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= coder.xml colors.xml delegates.xml log.xml magic.xml mime.xml \ policy.xml quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB HEIF JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TESTS TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG \ TIFF WEBP WMF THREADS RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFMPEG_DESC= Video CODEC support from FFmpeg FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 TESTS_TEST_DEPENDS= gsfonts>=0:print/gsfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${FLAVOR:U} == x11 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 ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/Magick++/lib/ImageMagick++.pc.in \ ${WRKSRC}/magick/ImageMagick.pc.in \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/magick/MagickCore.pc.in \ ${WRKSRC}/wand/Wand.pc.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/wand/MagickWand.pc.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i}.sample .endfor do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index 9eb0b3bc07c8..5704acb5cdb0 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,352 +1,352 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.1-26 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 7 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools WWW= https://imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl \ libzstd.so:archivers/zstd \ libzip.so:archivers/libzip TEST_DEPENDS= gsfonts>=0:print/gsfonts FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 7-nox11 # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= cpe gettext-runtime gmake gnome libtool:keepla localbase \ pathfix perl5 pkgconfig:both shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --with-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= colors.xml delegates.xml log.xml mime.xml policy.xml \ quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} TEST_TARGET= check OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FLIF FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI HEIF RAW OPTIONS_DEFAULT=16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES OPENEXR PDF PERL PNG \ TIFF WEBP WMF THREADS HDRI RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support FFMPEG_DESC= VIDEO codec support as FFmpeg FLIF_DESC= Free Lossless Image Format support #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FLIF_CONFIGURE_WITH= flif FLIF_LIB_DEPENDS= libflif.so:graphics/flif # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${FLAVOR:U} == x11 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 ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/MagickCore/MagickCore-config.in \ ${WRKSRC}/MagickCore/MagickCore.pc.in \ ${WRKSRC}/MagickCore/ImageMagick.pc.in \ ${WRKSRC}/MagickWand/MagickWand-config.in \ ${WRKSRC}/MagickWand/MagickWand.pc.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' ${WRKSRC}/MagickWand/MagickWand-config.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor .include diff --git a/graphics/R-cran-ragg/Makefile b/graphics/R-cran-ragg/Makefile index 464dffbcaa27..154933ad9434 100644 --- a/graphics/R-cran-ragg/Makefile +++ b/graphics/R-cran-ragg/Makefile @@ -1,24 +1,25 @@ PORTNAME= ragg DISTVERSION= 1.3.0 +PORTREVISION= 1 CATEGORIES= graphics DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= einar@isnic.is COMMENT= Graphic Devices Based on AGG WWW= https://ragg.r-lib.org/ LICENSE= MIT CRAN_DEPENDS= R-cran-systemfonts>=1.0.3:devel/R-cran-systemfonts \ R-cran-textshaping>=0.3.0:print/R-cran-textshaping BUILD_DEPENDS= ${CRAN_DEPENDS} LIB_DEPENDS= libfreetype.so:print/freetype2 \ libjpeg.so:graphics/jpeg-turbo \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= ${CRAN_DEPENDS} TEST_DEPENDS= R-cran-testthat>0:devel/R-cran-testthat USES= cran:auto-plist,compiles pkgconfig .include diff --git a/graphics/aeskulap/Makefile b/graphics/aeskulap/Makefile index 1f49eb558e61..3fe668219256 100644 --- a/graphics/aeskulap/Makefile +++ b/graphics/aeskulap/Makefile @@ -1,33 +1,33 @@ PORTNAME= aeskulap PORTVERSION= 0.2.2.20190120 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Medical image viewer WWW= https://aeskulap.nongnu.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdcmimage.so:graphics/dcmtk \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libglademm-2.4.so:devel/libglademm24 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang autoreconf desktop-file-utils gettext \ gmake gnome jpeg libtool localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= mikhailnov GH_TAGNAME= e43334e USE_CXXSTD= c++11 USE_GNOME= gconfmm26 gtkmm24 intltool libglade2 USE_LDCONFIG= ${PREFIX}/lib/aeskulap GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip .include diff --git a/graphics/ampasCTL/Makefile b/graphics/ampasCTL/Makefile index 70929facbec7..e680b8be6390 100644 --- a/graphics/ampasCTL/Makefile +++ b/graphics/ampasCTL/Makefile @@ -1,51 +1,51 @@ PORTNAME= ampasCTL PORTVERSION= 1.5.2 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= graphics devel MAINTAINER= ports@FreeBSD.org COMMENT= Color Transformation Language interpreter WWW= https://github.com/ampas/CTL LICENSE= AMPAS LICENSE_NAME= AMPAS LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libtiff.so:graphics/tiff \ libAcesContainer.so:graphics/ampasACES-container USES= cmake compiler:c++11-lang localbase:ldflags pathfix pkgconfig USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= ampas GH_PROJECT= CTL GH_TAGNAME= 57b48a2 USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath PORTDOCS= * OPTIONS_DEFINE= DOCS DOCSRCDIR1= ${WRKSRC} DOC_FILES1= AUTHORS CHANGELOG README.md DOCSRCDIR2= ${WRKSRC}/doc DOCSDIR2= ${DOCSDIR}/doc DOC_FILES2= CtlManual.pdf CtlManual.doc post-patch: @${REINPLACE_CMD} -e 's|lib/CMake|lib/cmake|' \ -e 's|add_subdirectory(doc)||' \ ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR2} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} .include diff --git a/graphics/argyllcms/Makefile b/graphics/argyllcms/Makefile index 3bd76e7e7234..62103aa894cf 100644 --- a/graphics/argyllcms/Makefile +++ b/graphics/argyllcms/Makefile @@ -1,34 +1,34 @@ PORTNAME= argyllcms PORTVERSION= 1.9.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= https://www.argyllcms.com/ DISTNAME= Argyll_V${PORTVERSION}_src MAINTAINER= kwm@FreeBSD.org COMMENT= ICC compatible color management system WWW= https://www.argyllcms.com/ LICENSE= AGPLv3 BUILD_DEPENDS= jam:devel/jam LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png WRKSRC= ${WRKDIR}/Argyll_V${PORTVERSION} USES= compiler:c11 cpe jpeg ssl xorg zip USE_XORG= x11 xau xdmcp xext xinerama xrandr xscrnsaver xxf86vm do-build: @cd ${WRKSRC} && ${MAKE_ENV} jam -dx -q -fJambase -j${MAKE_JOBS_NUMBER} do-install: @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${MAKE_ENV} \ REFSUBDIR=share/argyll/ref \ jam -dx -q -fJambase -j${MAKE_JOBS_NUMBER} install ${MV} ${STAGEDIR}${PREFIX}/bin/License.txt \ ${STAGEDIR}${PREFIX}/share/argyll/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include diff --git a/graphics/art/Makefile b/graphics/art/Makefile index a882c68c9c55..6638aacfb80d 100644 --- a/graphics/art/Makefile +++ b/graphics/art/Makefile @@ -1,65 +1,66 @@ PORTNAME= art DISTVERSION= 1.21.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/agriggio/art/downloads/ PKGNAMESUFFIX= -raw-image-editor DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Raw image processing program WWW= https://bitbucket.org/agriggio/art/wiki/Home LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv7= compilation fails: use of overloaded operator '[]' is ambiguous, see https://bitbucket.org/agriggio/art/issues/256/build-fails-on-32-bit-architectures-use-of BROKEN_i386= ld: error: undefined symbol: __atomic_load EXTRACT_DEPENDS= gtar:archivers/gtar # bsdtar(1) complains about hard links to itself BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libraw_r.so:graphics/libraw \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfftw3f.so:math/fftw3-float \ libharfbuzz.so:print/harfbuzz \ liblensfun.so:graphics/lensfun \ liblcms2.so:graphics/lcms2 \ libmimalloc.so:devel/mimalloc \ libOpenColorIO.so:graphics/opencolorio \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils gnome jpeg pkgconfig tar:xz xorg USE_GNOME= atk atkmm cairo cairomm glibmm gtkmm30 librsvg2 USE_XORG= x11 EXTRACT_CMD= gtar LDFLAGS+= -lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create OPTIONS_DEFINE= CTL LTO OPTIONS_DEFAULT= CTL LTO CTL_DESC= Enable support for the ACES Color Transformation Language CTL_CMAKE_BOOL= ENABLE_CTL CTL_LIB_DEPENDS= libIlmCtl.so:graphics/ctl \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libpng16.so:graphics/png LTO_CMAKE_BOOL= WITH_LTO .if exists(/usr/include/omp.h) OPTIONS_DEFINE+= OPENMP OPTIONS_DEFAULT+= OPENMP OPENMP_CMAKE_BOOL= OPTION_OMP .else CMAKE_OFF= OPTION_OMP .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ART .include diff --git a/graphics/atril/Makefile b/graphics/atril/Makefile index 121d99a6bdba..e28871866e11 100644 --- a/graphics/atril/Makefile +++ b/graphics/atril/Makefile @@ -1,95 +1,96 @@ # # Please update update atril-lite also PORTNAME= atril PORTVERSION= 1.28.0 +PORTREVISION= 1 CATEGORIES= graphics print mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE multi-format document viewer WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \ libsoup-2.4.so:devel/libsoup \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libspectre.so:print/libspectre PORTSCOUT= limitw:1,even SLAVEPORT?= no USES= compiler:c11 desktop-file-utils gettext gmake gnome libarchive \ libtool mate pathfix pkgconfig tar:xz xorg USE_MATE= icontheme desktop:build USE_XORG= ice sm x11 USE_GNOME= cairo gtk30 intlhack libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-static \ --disable-synctex CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # INSTALL_TARGET= install-strip .if ${SLAVEPORT} == lite CONFIGURE_ARGS+=--disable-thumbnailer \ --without-matedesktop \ --disable-previewer CONFLICTS_INSTALL= atril .else USE_MATE+= desktop CONFLICTS_INSTALL= atril-lite .endif GLIB_SCHEMAS= org.mate.Atril.gschema.xml OPTIONS_DEFINE= CAJA COMICS DBUS DJVU DVI EPUB KEYRING T1LIB XPS OPTIONS_DEFAULT=CAJA COMICS DBUS DJVU EPUB KEYRING XPS OPTIONS_SUB= yes CAJA_DESC= Caja plugin CAJA_CONFIGURE_ENABLE= caja CAJA_USE= MATE=caja DJVU_DESC= DJVU support DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_CONFIGURE_ENABLE= djvu COMICS_DESC= Comic book archives support COMICS_CONFIGURE_ENABLE= comics DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib DBUS_CONFIGURE_ENABLE= dbus KEYRING_DESC= Keyring support KEYRING_CONFIGURE_WITH= keyring KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret XPS_DESC= XPS support XPS_CONFIGURE_ENABLE= xps XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps EPUB_DESC= Epub support EPUB_CONFIGURE_ENABLE= epub EPUB_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 DVI_DESC= DVI viewer support DVI_USES= tex DVI_USE= TEX=base DVI_CONFIGURE_ENABLE= dvi T1LIB_DESC= T1LIB for TYPE1 fonts to DVI (Enables DVI) T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib T1LIB_CONFIGURE_ENABLE= t1lib T1LIB_IMPLIES= DVI .include diff --git a/graphics/autopano-sift-c/Makefile b/graphics/autopano-sift-c/Makefile index 52f2ee146ffe..c0f583323243 100644 --- a/graphics/autopano-sift-c/Makefile +++ b/graphics/autopano-sift-c/Makefile @@ -1,35 +1,35 @@ PORTNAME= autopano-sift-C PORTVERSION= 2.5.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Automatic panorama control point generation tool, C port WWW= http://hugin.sourceforge.net/docs/manual/Autopano-sift-C.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libpano13.so:graphics/libpano13 CONFLICTS= autopano-sift USES= cmake gnome jpeg USE_CXXSTD= c++14 USE_GNOME= libxml2 PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/set(all_libs/s/$$/ m/' ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.1ST ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 9947d00a7571..88484cabf22c 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,235 +1,235 @@ PORTNAME= blender DISTVERSION= 3.6.1 -PORTREVISION= 10 +PORTREVISION= 11 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,max=15 \ 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_USD SHEBANG_FILES= scripts/modules/bl_i18n_utils/merge_po.py \ scripts/modules/bl_i18n_utils/utils_rtl.py \ scripts/modules/blend_render_info.py CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS+= -DGLOG_USE_GLOG_EXPORT 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 WITH_CYCLES_LOGGING CYCLES_LIB_DEPENDS= libgflags.so:devel/gflags CYCLES_LDFLAGS= -L${LOCALBASE}/lib -lgflags 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 OPENCOLORIO_USES= minizip:ng 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}${PREFIX}/share/man/man1 ${MV} ${STAGEDIR}/${PREFIX}/bin/blender ${STAGEDIR}/${PREFIX}/bin/blender-bin ${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKDIR}/blender ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender post-install-DRACO-on: # move draco pylib into site-packages ${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${INSTALL_LIB} ${INSTALL_WRKSRC}/lib/libextern_draco.so ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/libextern_draco.so @${RM} -R ${STAGEDIR}/${DATADIR}/${DISTVERSION:R}/python post-install-MENU-on: @-update-desktop-database -q .include diff --git a/graphics/bmeps/Makefile b/graphics/bmeps/Makefile index c9c6d2b0e554..78530f18a35e 100644 --- a/graphics/bmeps/Makefile +++ b/graphics/bmeps/Makefile @@ -1,32 +1,33 @@ PORTNAME= bitmap2pp DISTVERSION= 4.36.1 +PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= SF/dktools/dktools/dktools-${PORTVERSION} DISTNAME= dktools-${PORTVERSION} MAINTAINER= takefu@airport.fm COMMENT= Convert PNG/JPEG/TIFF to PDF/EPS WWW= https://sourceforge.net/p/dktools/wiki/bitmap2pp/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng16.so:graphics/png \ libtiff.so:graphics/tiff USES= jpeg localbase:ldflags GNU_CONFIGURE= yes # We do not want to include sys/termios.h even if it exists, and we do not want # to depend on BDB for db.h (it is used by other parts of dktools). CONFIGURE_ENV= ac_cv_header_db_h=no ALL_TARGET= ${PORTNAME} CONFLICTS_INSTALL= dktools[0-9]* PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/man/man1/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/graphics/chafa/Makefile b/graphics/chafa/Makefile index d6d5bc9565b7..95883696d411 100644 --- a/graphics/chafa/Makefile +++ b/graphics/chafa/Makefile @@ -1,38 +1,39 @@ PORTNAME= chafa PORTVERSION= 1.14.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://hpjansson.org/chafa/releases/ \ https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Character art facsimile generator WWW= https://hpjansson.org/chafa/ LICENSE= GPLv3 LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libwebpdemux.so:graphics/webp USES= cpe gettext-runtime gnome jpeg libtool magick:7 tar:xz CPE_VENDOR= chafa_project USE_GNOME= cairo gdkpixbuf2 glib20 librsvg2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}/html # https://github.com/hpjansson/chafa/issues/152 CONFIGURE_ENV+= WEBP_CFLAGS='-lwebp' INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-install: ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile index b6c2b26b60af..18d3e756ce85 100644 --- a/graphics/cimg/Makefile +++ b/graphics/cimg/Makefile @@ -1,141 +1,142 @@ PORTNAME= cimg DISTVERSIONPREFIX= v. DISTVERSION= 3.3.5 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= graphics devel MAINTAINER= thierry@FreeBSD.org COMMENT= C++ Template Image Processing Library WWW= https://cimg.eu/ LICENSE= CeCILL_C CeCILL LICENSE_COMB= dual LICENSE_NAME_CeCILL_C= CeCILL-C LICENSE_NAME_CeCILL= CeCILL LICENSE_FILE_CeCILL_C= ${WRKSRC}/Licence_CeCILL-C_V1-en.txt LICENSE_FILE_CeCILL= ${WRKSRC}/Licence_CeCILL_V2-en.txt LICENSE_PERMS_CeCILL_C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_CeCILL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USE_GITHUB= yes GH_ACCOUNT= GreycLab GH_PROJECT= CImg BUILD_WRKSRC= ${WRKSRC}/examples OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} USES+= compiler:c11 gmake pkgconfig:build xorg .endif .if ${PORT_OPTIONS:MDOCS} .if !defined(WITHOUT_LAPACK) . if defined(WITH_ATLAS) USES+= blaslapack:atlas . else USES+= blaslapack . endif .endif REINPLACE_ARGS= -i "" #LIB_DEPENDS+= libboard.so:graphics/libboard . if !defined(WITH_DEBUG) LIB_DEPENDS+= libcurl.so:ftp/curl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libImath.so:math/Imath \ libheif.so:graphics/libheif \ libOpenEXR.so:graphics/openexr \ libfftw3.so:math/fftw3 \ libopencv_core.so:graphics/opencv \ libGraphicsMagick.so:graphics/GraphicsMagick RUN_DEPENDS+= dcraw:graphics/dcraw USES+= jpeg ALL_TARGET= Mlinux . else ALL_TARGET= dlinux WITHOUT_MEDCON= yes WITHOUT_FFMPEG= yes WITHOUT_LAPACK= yes . endif . if !defined(WITHOUT_MEDCON) RUN_DEPENDS+= medcon:graphics/xmedcon . endif . if !defined(WITHOUT_FFMPEG) LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg . endif . if !defined(WITHOUT_LAPACK) # Don't really need Fortran, but required to link with blas/lapack USES+= fortran . endif USE_XORG+= x11 xrandr . if defined(WITH_XSHM) USE_XORG+= xext . endif DOCBASE= README.txt CFLAGS+= -I${LOCALBASE}/include/Imath -I${LOCALBASE}/include/OpenEXR MAKE_ARGS+= CPPFLAGS="${CFLAGS}" FREEBSD_LDFLAGS="${LDFLAGS}" PROGS= CImg_demo captcha curve_editor2d dtmri_view3d \ edge_explorer2d fade_images gaussian_fit1d generate_loop_macros \ hough_transform2d image2ascii image_registration2d image_surface3d \ jawbreaker mcf_levelsets2d mcf_levelsets3d odykill \ pde_TschumperleDeriche2d pde_heatflow2d plotter1d radon_transform2d \ scene3d spherical_function3d tetris tron tutorial use_RGBclass \ use_chlpca use_draw_gradient use_jpeg_buffer use_nlmeans use_skeleton \ wavelet_atrous .else NO_BUILD= yes .endif .include pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|make|${MAKE_CMD}|' ${BUILD_WRKSRC}/Makefile pre-configure-DOCS-off: ${REINPLACE_CMD} -e 's|^OPTFLAGS|#OPTFLAGS|' ${BUILD_WRKSRC}/Makefile pre-configure: . if !defined(WITHOUT_FFMPEG) ${REINPLACE_CMD} -e 's|#FFMPEG_CFLAGS|FFMPEG_CFLAGS|' \ -e 's|#FFMPEG_DEFINE|FFMPEG_DEFINE|' \ -e 's|#FFMPEG_LIBS|FFMPEG_LIBS|' \ ${BUILD_WRKSRC}/Makefile . endif . if !defined(WITHOUT_LAPACK) ${REINPLACE_CMD} -e 's|#LAPACK_CFLAGS|LAPACK_CFLAGS|' \ -e 's|#LAPACK_DEFINE|LAPACK_DEFINE|' \ -e 's|#LAPACK_LIBS|LAPACK_LIBS|' \ -e 's|-lblas -llapack|-L${LOCALBASE}/lib ${BLASLIB} ${LAPACKLIB}|' \ ${BUILD_WRKSRC}/Makefile . endif . if defined(WITH_XSHM) ${REINPLACE_CMD} -e 's|XSHM_CFLAGS = #|XSHM_CFLAGS =|' \ -e 's|XSHM_LDFLAGS = #|XSHM_LDFLAGS =|' \ ${BUILD_WRKSRC}/Makefile . endif do-install: ${INSTALL_DATA} ${WRKSRC}/CImg.h ${STAGEDIR}${PREFIX}/include do-install-DOCS-on: ${INSTALL_PROGRAM} ${PROGS:C|^|${BUILD_WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCBASE:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} @(cd ${STAGEDIR}${EXAMPLESDIR} && ${MAKE_CMD} clean) @${RM} ${STAGEDIR}${EXAMPLESDIR}/*.orig .include diff --git a/graphics/cloudcompare/Makefile b/graphics/cloudcompare/Makefile index ba3507436efb..6c084c0c6f74 100644 --- a/graphics/cloudcompare/Makefile +++ b/graphics/cloudcompare/Makefile @@ -1,92 +1,92 @@ PORTNAME= cloudcompare DISTVERSIONPREFIX= v DISTVERSION= 2.12.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MAINTAINER= nc@FreeBSD.org COMMENT= 3D point cloud processing software WWW= https://www.cloudcompare.org/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi USES= cmake compiler:c++11-lang localbase:ldflags qt:5 USE_GITHUB= yes GH_ACCOUNT= CloudCompare GH_PROJECT= ${GH_ACCOUNT} GH_TUPLE= CloudCompare:CCCoreLib:f0d5450:CloudCompare/libs/qCC_db/extern/CCCoreLib USE_QT= concurrent core gui opengl printsupport widgets buildtools:build qmake:build svg linguisttools:build USE_LDCONFIG= yes # PDAL support disabled ATM # plugins/core/IO/qPDALIO/src/LASFilter.cpp:1360:24: error: no member named 'incompatibleSrs' in 'pdal::LasHeader' OPTIONS_DEFINE= DXFLIB GAMEPAD GDAL PLUGINS SHAPELIB OPTIONS_DEFAULT=DXFLIB GAMEPAD GDAL PLUGINS SHAPELIB OPTIONS_SUB= yes DXFLIB_DESC= Enable AutoCAD DXF file support GAMEPAD_DESC= Enable Qt gamepad support GDAL_DESC= Enable raster file support PDAL_DESC= Enable point cloud data support SHAPELIB_DESC= Enable shape file support DXFLIB_CMAKE_BOOL= OPTION_USE_DXF_LIB GAMEPAD_USE= QT=gamepad GAMEPAD_CMAKE_BOOL= OPTION_SUPPORT_GAMEPADS GDAL_CMAKE_BOOL= OPTION_USE_GDAL GDAL_CMAKE_ON= -DGDAL_INCLUDE_DIR=${PREFIX}/include \ -DGDAL_LIBRARY=${PREFIX}/lib/libgdal.so GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal PDAL_CMAKE_BOOL= PLUGIN_IO_QPDAL PDAL_CMAKE_ON= -DJSON_ROOT_DIR=${PREFIX}/include/jsoncpp PDAL_LIB_DEPENDS= libpdal_base.so:math/pdal SHAPELIB_CMAKE_BOOL= OPTION_USE_SHAPE_LIB SHAPELIB_LIB_DEPENDS= libshp.so:devel/shapelib PLUGINS_USES= eigen:3 gl jpeg xorg PLUGINS_CMAKE_BOOL= PLUGIN_STANDARD_QANIMATION \ PLUGIN_STANDARD_QBROOM \ PLUGIN_STANDARD_QCOMPASS \ PLUGIN_STANDARD_QCSF \ PLUGIN_IO_QCSV_MATRIX \ PLUGIN_GL_QEDL \ PLUGIN_STANDARD_QFACETS \ PLUGIN_STANDARD_QHPR \ PLUGIN_STANDARD_QM3C2 \ PLUGIN_STANDARD_QPCV \ PLUGIN_IO_QPHOTOSCAN \ PLUGIN_STANDARD_QRANSAC_SD \ PLUGIN_STANDARD_QSRA \ PLUGIN_GL_QSSAO # plugins requiring rare external libs are left out, TODO maybe add some of them? PLUGINS_CMAKE_ON= -DEIGEN_ROOT_DIR:BOOL=${LOCALBASE}/include/eigen3 PLUGINS_CXXFLAGS= ${PLUGINS_CXXFLAGS_${CHOSEN_COMPILER_TYPE}} PLUGINS_CXXFLAGS_clang= -Wno-narrowing PLUGINS_CXXFLAGS+= -DEIGEN_DONT_PARALLELIZE # OpenMP is broken in cmake: see bug#223678 PLUGINS_USE= XORG=ice,sm,x11,xext,xt GL=gl,glu PLUGINS_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libflann_cpp.so:math/flann \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} PLUGINS_IMPLIES= SHAPELIB pre-configure: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},1' ${WRKSRC}/snap/gui/ccViewer.desktop ${WRKSRC}/snap/gui/cloudcompare.desktop post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/snap/gui/ccViewer.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/snap/gui/ccViewer.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/snap/gui/cloudcompare.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/snap/gui/cloudcompare.png ${STAGEDIR}${PREFIX}/share/pixmaps .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/ctl/Makefile b/graphics/ctl/Makefile index ee4fbca0cb56..5841e9ef3c96 100644 --- a/graphics/ctl/Makefile +++ b/graphics/ctl/Makefile @@ -1,38 +1,39 @@ PORTNAME= ctl DISTVERSIONPREFIX= ctl- DISTVERSION= 1.5.3 +PORTREVISION= 1 CATEGORIES= graphics lang PKGNAMESUFFIX= -language PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 3871cd7717fd184d9fbb667730d35f1a89391f09.patch:-p1 # FreeBSD compatibility patch: https://github.com/ampas/CTL/pull/145 MAINTAINER= yuri@FreeBSD.org COMMENT= Color Transformation Language WWW= https://github.com/ampas/CTL LICENSE= AMPAS LICENSE_NAME= Academy of Motion Picture Arts and Sciences (A.M.P.A.S.) license LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libtiff.so:graphics/tiff USES= cmake:testing USE_GITHUB= yes GH_ACCOUNT= ampas GH_PROJECT= CTL CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= CTL_BUILD_TESTS CMAKE_TESTING_ON= CTL_BUILD_TESTS DATADIR= share/CTL DOCSDIR= share/doc/CTL OPTIONS_DEFINE= DOCS .include diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 7ea31ac65604..eb74b4f4f251 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -1,132 +1,132 @@ PORTNAME= darktable PORTVERSION= 4.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/ MAINTAINER= dumbbell@FreeBSD.org COMMENT= Virtual lighttable and darkroom for photographers WWW= https://www.darktable.org/ LICENSE= GPLv3 ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le ONLY_FOR_ARCHS_REASON= uses 64-bit address space BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ po4a-translate:textproc/po4a \ xsltproc:textproc/libxslt \ bash:shells/bash LIB_DEPENDS= libavif.so:graphics/libavif \ libcolord-gtk.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ libgphoto2.so:graphics/libgphoto2 \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libicui18n.so:devel/icu \ libImath.so:math/Imath \ libjasper.so:graphics/jasper \ libjson-glib-1.0.so:devel/json-glib \ libjxl_threads.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libOpenEXR.so:graphics/openexr \ libopenjp2.so:graphics/openjpeg \ libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake compiler:c++11-lib desktop-file-utils gl gnome jpeg \ llvm:15,build lua:54 perl5 pkgconfig sdl shebangfix sqlite \ tar:xz xorg USE_GCC= 12 USE_GL= gl USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_SDL= sdl2 USE_XORG= ice sm x11 xext xrandr SHEBANG_FILES= tools/*.sh CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1 -DUSE_PORTMIDI:BOOL=OFF CMAKE_BOOL+= BUILD_CMSTEST USE_AVIF USE_CAMERA_SUPPORT USE_HEIF \ USE_ISOBMFF USE_KWALLET USE_LUA USE_MAP USE_OPENEXR \ USE_OPENJPEG USE_WEBP RAWSPEED_ENABLE_LTO CFLAGS+= -fopenmp -I${LOCALBASE}/include/Imath CXXFLAGS+= -stdlib=libc++ LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/} OPTIONS_DEFINE= DOCS GMIC GRAPHMAGICK LIBSECRET NLS PRINT TOOLS OPTIONS_DEFAULT= PRINT OPTIONS_SUB= yes GMIC_DESC= Support G'Mic-compressed LUT in lut3d LIBSECRET_DESC= Support libsecret as password backend TOOLS_DESC= Install additional scripts GMIC_LIB_DEPENDS= libgmic.so:graphics/gmic GMIC_CMAKE_BOOL= USE_GMIC GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_CMAKE_BOOL= USE_GRAPHICSMAGICK LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret LIBSECRET_CMAKE_BOOL= USE_LIBSECRET # FIXME: Even with NLS turned off, darktable(1) is still linked to # libintl.so. NLS_USES= gettext NLS_USES_OFF= gettext-runtime NLS_CMAKE_BOOL= USE_NLS NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl PRINT_LIB_DEPENDS= libcups.so:print/cups PRINT_CMAKE_BOOL= BUILD_PRINT TOOLS_BUILD_DEPENDS= exiftool:graphics/p5-Image-ExifTool TOOLS_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool .include .if ${ARCH} == aarch64 || ${ARCH} == powerpc64le CMAKE_ARGS+= -DUSE_OPENCL:BOOL=OFF CXXFLAGS+= -DGDK_DISABLE_DEPRECATED PLIST_SUB+= NO_OPENCL="@comment " .else PLIST_SUB+= NO_OPENCL="" .endif .include # work around CMAKE/CCACHE flaw (cmake stomps over ccache) .if "${WITH_CCACHE_BUILD}" == "yes" && !defined(NO_CCACHE) CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \ -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN} .endif .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif # darktable defines the __XOPEN_SOURCE preprocessor macro, which # restricts symbol visibility on FreeBSD and causes compilation failures # on, for instance, the cups_print module, because u_char remains # undefined. Remove _XOPEN_SOURCE maro definitions. post-patch: ${REINPLACE_CMD} '/add_definitions."-D_XOPEN_SOURCE=.*"/d' ${WRKSRC}/CMakeLists.txt post-install-TOOLS-off: @${RM} -f ${STAGEDIR}${DATADIR}/tools/extract_wb_from_images.sh .include diff --git a/graphics/dcmtk/Makefile b/graphics/dcmtk/Makefile index dd36346cdb55..85e785a9a853 100644 --- a/graphics/dcmtk/Makefile +++ b/graphics/dcmtk/Makefile @@ -1,43 +1,43 @@ PORTNAME= dcmtk DISTVERSIONPREFIX= ${PORTNAME:tu}- DISTVERSION= 3.6.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics devel MAINTAINER= yuri@FreeBSD.org COMMENT= DICOM ToolKit, libraries and applications for DICOM/MEDICOM standard WWW= https://dcmtk.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libicuuc.so:devel/icu \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang cmake cpe gnome jpeg ssl CPE_VENDOR= offis USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:tu} USE_GNOME= libxml2 USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= DCMTK_WITH_DOXYGEN OPTIONS_DEFINE= DOCS PORTDOCS= * TEST_TARGET= test test-exhaustive .include .if ${ARCH:Mpowerpc*} && ${COMPILER_VERSION} == 140 LLVM_VER= 15 BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} CC= ${LOCALBASE}/bin/clang${LLVM_VER} CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} .endif .include diff --git a/graphics/delaboratory/Makefile b/graphics/delaboratory/Makefile index 0e56f93828e4..49ab9d75535a 100644 --- a/graphics/delaboratory/Makefile +++ b/graphics/delaboratory/Makefile @@ -1,36 +1,36 @@ PORTNAME= delaboratory PORTVERSION= 0.8 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= https://BSDforge.com/projects/source/graphics/delaboratory/ MAINTAINER= ports@FreeBSD.org COMMENT= Unique image postprocessing application WWW= https://bsdforge.com/projects/graphics/delaboratory/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff USES= compiler:c++11-lib gmake gnome USE_CXXSTD= c++11 USE_GNOME= libxml2 USE_WX= 3.0 MAKE_ARGS= CXX="${CXX}" \ WXCONFIG="${WX_CONFIG}" PLIST_FILES= bin/${PORTNAME} post-patch: @${MV} ${WRKSRC}/gui_wx/semaphore.h ${WRKSRC}/gui_wx/desemaphore.h @${REINPLACE_CMD} -e 's|-Ofast.*}|${CXXFLAGS}| ; \ s|CXXFLAGS_WX +=|& ${CXXFLAGS} -I${LOCALBASE}/include| ;\ s|LDFLAGS=|LDFLAGS+=|' \ ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile index d5cc77425046..23101bdc9b8f 100644 --- a/graphics/devil/Makefile +++ b/graphics/devil/Makefile @@ -1,74 +1,74 @@ PORTNAME= devil DISTVERSIONPREFIX= v DISTVERSION= 1.8.0 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform image library WWW= https://openil.sourceforge.net/ \ https://github.com/DentonW/DevIL LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake pkgconfig USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= DentonW GH_PROJECT= DevIL USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= * CMAKE_SOURCE_PATH= ${WRKSRC}/DevIL OPTIONS_DEFINE= JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH DOCS EXAMPLES OPTIONS_DEFAULT=JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH JPEG_USES= jpeg JPEG_CMAKE_OFF= -DIL_NO_JPG=1 JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_CMAKE_OFF= -DIL_NO_JP2=1 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CMAKE_OFF= -DIL_NO_LCMS=1 LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CMAKE_OFF= -DIL_NO_MNG=1 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_OFF= -DIL_NO_PNG=1 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DIL_NO_TIF=1 # With OPENEXR the library is not usable from plain C (instant segfault) # (but need to recheck with 1.8.0), also the detection is broken #OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr #OPENEXR_CMAKE_OFF= -DIL_NO_EXR=1 CMAKE_ARGS+= -DIL_NO_EXR=1 SQUISH_DESC= Enable DXT compression via libsquish SQUISH_LIB_DEPENDS= libsquish.so:graphics/squish SQUISH_CMAKE_BOOL= IL_USE_DXTC_SQUISH # Fails to build with NVTT, uses not installed header # (and NVTT is deprecated anyway) #NVTT_DESC= Enable NVidia texture tools support #NVTT_BROKEN= does not build #NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools #NVTT_CMAKE_BOOL= IL_USE_DXTC_NVIDIA CMAKE_ARGS+= -DIL_USE_DXTC_NVIDIA=0 post-install-DOCS-on: cd ${WRKSRC}/DevIL-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/DevIL && ${INSTALL_DATA} CREDITS NEWS README.md TODO ${STAGEDIR}${DOCSDIR}/ post-install-EXAMPLES-on: cd ${WRKSRC}/DevIL/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile index cb0262fecc08..6d268a886c6a 100644 --- a/graphics/digikam/Makefile +++ b/graphics/digikam/Makefile @@ -1,137 +1,137 @@ PORTNAME= digikam DISTVERSION= 8.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} \ https://files.kde.org/digikam/%SUBDIR%/:aesthetic,face,shape \ https://kde-applicationdata.mirrors.omnilance.com/digikam/%SUBDIR%/:aesthetic,face,shape \ https://mirrors.ocf.berkeley.edu/kde-applicationdata/digikam/%SUBDIR%/:aesthetic,face,shape MASTER_SITE_SUBDIR= aestheticdetector/:aesthetic \ facesengine/dnnface/:face \ facesengine/shape-predictor/:shape # One bit changed in the naming convention .. DISTFILES= digiKam-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} DIST_SUBDIR= KDE/${PORTNAME}/${PORTVERSION} EXTRACT_ONLY= digiKam-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} MAINTAINER= kde@FreeBSD.org COMMENT= KDE digital photo management application WWW= https://www.digikam.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libKF5Sane.so:graphics/libksane \ libboost_graph.so:devel/boost-libs \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgphoto2.so:graphics/libgphoto2 \ libicalss.so:devel/libical \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libopencv_core.so:graphics/opencv \ libheif.so:graphics/libheif \ libpgf.so:graphics/libpgf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libx265.so:multimedia/x265 USES= bison cmake compiler:c++17-lang desktop-file-utils eigen:3 gl \ gnome jpeg kde:5 magick pkgconfig qt:5 \ shebangfix tar:xz xorg USE_GL= gl glu USE_GNOME= glib20 libxml2 libxslt USE_KDE= archive auth bookmarks calendarcore codecs completion config \ configwidgets coreaddons crash doctools filemetadata guiaddons \ i18n iconthemes itemmodels itemviews jobwidgets \ kdelibs4support kio libkipi marble notifications notifyconfig \ parts service solid sonnet textwidgets threadweaver \ unitconversion widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= concurrent core dbus declarative gui location network \ networkauth opengl printsupport sql webchannel webengine \ widgets x11extras xml xmlpatterns \ buildtools:build qmake:build USE_XORG= ice sm x11 xext USE_LDCONFIG= yes SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree WITH_CCACHE_BUILD= yes CMAKE_ON= BUILD_WITH_CCACHE DIGIKAMSC_COMPILE_DIGIKAM ENABLE_KFILEMETADATASUPPORT \ CMAKE_DISABLE_FIND_PACKAGE_VAAPI OPTIONS_DEFINE= FACEDETECT KDEPIM MEDIAPLAYER NLS OPTIONS_GROUP= MP MP_DESC= Media player options OPTIONS_GROUP_MP= OPENAL PORTAUDIO PULSEAUDIO OPTIONS_MULTI= DB DB_DESC= Database options OPTIONS_MULTI_DB= MYSQL MYSQL_INTERNAL SQLITE3 OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NFACEDETECT} \ ${OPTIONS_GROUP_MP:NPORTAUDIO:NPULSEAUDIO} \ ${OPTIONS_MULTI_DB:NMYSQL_INTERNAL} OPTIONS_SUB= yes FACEDETECT_DESC= Install data required for face detection (~420MB) FACEDETECT_DISTFILES= weights_inceptionv3_299.pb:aesthetic \ deploy.prototxt:face \ openface_nn4.small2.v1.t7:face \ res10_300x300_ssd_iter_140000_fp16.caffemodel:face \ yolov3-face.cfg:face \ yolov3-wider_16000.weights:face \ shapepredictor.dat:shape KDEPIM_DESC= KDEPim Addressbook support KDEPIM_USE= KDE=akonadi,akonadicontacts,contacts,grantleetheme KDEPIM_USES= grantlee:5 KDEPIM_CMAKE_BOOL= ENABLE_AKONADICONTACTSUPPORT MEDIAPLAYER_DESC= Enable media player MEDIAPLAYER_LIB_DEPENDS= libass.so:multimedia/libass \ libavcodec.so:multimedia/ffmpeg MEDIAPLAYER_USE= XORG=xv MEDIAPLAYER_CMAKE_BOOL= ENABLE_MEDIAPLAYER MEDIAPLAYER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FFmpeg MYSQL_USE= QT=sql-mysql:run MYSQL_CMAKE_BOOL= ENABLE_MYSQLSUPPORT MYSQL_INTERNAL_DESC= Use a dedicated MySQL instance (requires MariaDB) MYSQL_INTERNAL_USES= mysql:server MYSQL_INTERNAL_CMAKE_BOOL= ENABLE_INTERNALMYSQL # Only works with MariaDB. Try to keep this in sync with supported MySQL # versions and add any version not ending with 'm' to the IGNORE list. MYSQL_INTERNAL_VARS= IGNORE_WITH_MYSQL="80 81" MYSQL_INTERNAL_IMPLIES= MYSQL NLS_DESC= Digikam i18n translations NLS_CMAKE_BOOL= DIGIKAMSC_COMPILE_PO NLS_USES= gettext NLS_USE= KDE=i18n OPENAL_USES= openal OPENAL_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenAL OPENAL_IMPLIES= MEDIAPLAYER PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Portaudio PORTAUDIO_IMPLIES= MEDIAPLAYER PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PulseAudio PULSEAUDIO_IMPLIES= MEDIAPLAYER SQLITE3_USE= QT=sql-sqlite3:run PLIST_SUB= SHLIB_VER=${DISTVERSION} post-install-FACEDETECT-on: @${MKDIR} ${STAGEDIR}${DATADIR}/facesengine .for f in ${FACEDETECT_DISTFILES:C/:.*//} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${DATADIR}/facesengine .endfor .include diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile index 49c4cd5fa0e5..128a1350e358 100644 --- a/graphics/djview4/Makefile +++ b/graphics/djview4/Makefile @@ -1,61 +1,61 @@ PORTNAME= djview PORTVERSION= 4.12 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= SF/djvu/DjView/${PORTVERSION} MAINTAINER= nc@FreeBSD.org COMMENT= Standalone Djvu viewer and plugin based on Qt toolkit WWW= https://djvu.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_riscv64= fails to build: ./npsdk/prcpucfg.h:751:2: Unknown CPU architecture LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre \ libtiff.so:graphics/tiff USES= autoreconf desktop-file-utils gettext-runtime gl gmake gnome \ libtool localbase pkgconfig qt:5 webplugin:native xorg USE_GL= gl USE_GNOME= glib20 USE_QT= core gui network opengl printsupport widgets \ buildtools:build linguisttools:build qmake:build USE_XORG= sm ice xext xt GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= LRELEASE="${LRELEASE}" LUPDATE="${LUPDATE}" INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}-${PORTVERSION} WEBPLUGIN_DIR= ${PREFIX}/lib/djview4/plugins WEBPLUGIN_FILES= nsdejavu.so BINARY_ALIAS= qmake=${QMAKE} post-patch: # Use prebuilt icons, without using conversion tool @${REINPLACE_CMD} -e 's/conversion_tool=[[:alpha:]]*/conversion_tool=no/' \ ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e \ '/CXXFLAGS=$$/s|^|#| ; \ /CFLAGS=$$/s|^|#| ; \ s|$$OPTS -O2|$$OPTS|' ${WRKSRC}/config/acinclude.m4 @${REINPLACE_CMD} -e \ 's|FLAGS+=|FLAGS_RELEASE=|' ${WRKSRC}/src/Makefile.am # Change plugins directory # Add GLIB cflags and libs (including -lX*) @${REINPLACE_CMD} -e '/^pluginsdir/s/mozilla/djview4/ ; \ /NSDEJAVU_CFLAGS/s|$$| $$(GLIB_CFLAGS)| ; \ /NSDEJAVU_LIBS/s|$$| $$(GLIB_LIBS) -lXt -lXext|' \ ${WRKSRC}/nsdejavu/Makefile.am post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/djview # Create a symbolic link to match desktop file exec name ${LN} -sf djview ${STAGEDIR}${PREFIX}/bin/djview4 .include diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index 5c0c67834318..bfce4c9beaa0 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -1,66 +1,66 @@ PORTNAME= djvulibre PORTVERSION= 3.5.28 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics www MASTER_SITES= SF/djvu/DjVuLibre/${PORTVERSION} MAINTAINER= nc@FreeBSD.org COMMENT= DjVu base libraries and utilities WWW= https://djvu.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff USES= cpe gmake iconv jpeg libtool USE_CXXSTD= c++14 USE_LDCONFIG= yes CPE_VENDOR= djvulibre_project PORTDOCS= *.djvu *.pdf *.txt INSTALL_TARGET= install-strip GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \ JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \ TIFF_CFLAGS="-I${LOCALBASE}/include" \ TIFF_LIBS="-L${LOCALBASE}/lib -ltiff" LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DESKTOPFILES DOCS ANY2DJVU OPTIONS_DEFAULT= DESKTOPFILES OPTIONS_SUB= yes ANY2DJVU_DESC= Install any2djvu script (requires curl) ANY2DJVU_RUN_DEPENDS= curl:ftp/curl DESKTOPFILES_DESC= Install icons and mime types DESKTOPFILES_CONFIGURE_ENABLE= desktopfiles DESKTOPFILES_USES= gnome post-patch: # Remove custom optimization compiler flags @${REINPLACE_CMD} -e '/-[Og]\*)/d ; \ /^ opt=/s|-O[[:digit:]]*||g' \ ${WRKSRC}/configure # Convert bash to sh script, which uses fetch instead of wget @${REINPLACE_CMD} -e '/^#!/s|bash -f|sh| ; \ s|^function || ; s| == | = |g ; \ s|wget $$wgetopts -O|${FETCH_BINARY} $$wgetopts -o|' \ ${WRKSRC}/tools/any2djvu post-patch-ANY2DJVU-off: @${REINPLACE_CMD} -e 's/any2djvu // ; s/any2djvu\.1 //' \ ${WRKSRC}/tools/Makefile.in post-patch-DESKTOPFILES-on: # Use prebuilt icons, without using conversion tool @${SED} -i.c.bak -e 's/conversion_tool=[[:alpha:]]*/conversion_tool=no/' \ ${WRKSRC}/configure post-install-DOCS-on: (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/graphics/enblend/Makefile b/graphics/enblend/Makefile index 5d8efd3eb9c3..086f65d2995a 100644 --- a/graphics/enblend/Makefile +++ b/graphics/enblend/Makefile @@ -1,52 +1,52 @@ PORTNAME= enblend PORTVERSION= 4.2 -PORTREVISION= 24 +PORTREVISION= 25 CATEGORIES= graphics MASTER_SITES= SF/enblend/enblend-enfuse/enblend-enfuse-${PORTVERSION} DISTNAME= enblend-enfuse-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tool for image blending with multiresolution splines WWW= https://enblend.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= help2man:misc/help2man \ ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libtiff.so:graphics/tiff \ libvigraimpex.so:graphics/vigra \ libgsl.so:math/gsl \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png USES= compiler:features gmake jpeg localbase pkgconfig USE_CXXSTD= c++14 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share PLIST_FILES= bin/enblend bin/enfuse share/man/man1/enblend.1.gz share/man/man1/enfuse.1.gz PORTDOCS= AUTHORS NEWS README OPTIONS_DEFINE= DOCS .include .if ${COMPILER_TYPE} == gcc # GCC 4.2 has some problems, see # http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a # Clang, on 10.0-RELEASE is fine. USE_GCC= yes .else CXXFLAGS+= -Wno-c++11-extensions .endif post-patch: @${REINPLACE_CMD} -e '/a LaTeX/d' ${WRKSRC}/configure post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/epsonscan2/Makefile b/graphics/epsonscan2/Makefile index 8b7db05d6ff0..32f3a5062cd2 100644 --- a/graphics/epsonscan2/Makefile +++ b/graphics/epsonscan2/Makefile @@ -1,55 +1,55 @@ PORTNAME= epsonscan2 DISTVERSION= 6.6.40.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= https://support.epson.net/linux/src/scanner/epsonscan2/ DISTNAME= ${PORTNAME}-${PORTVERSION}-1.src MAINTAINER= fbsd@opal.com COMMENT= Epson Scan 2 scanner driver WWW= https://download.ebz.epson.net/man/linux/epsonscan2_e.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= sane-config:graphics/sane-backends LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libfreetype.so:print/freetype2 \ libglib-2.0.so:devel/glib20 \ libGL.so:graphics/libglvnd \ libgraphite2.so:graphics/graphite2 \ libicuuc.so:devel/icu \ libiconv.so:converters/libiconv \ libintl.so:devel/gettext-runtime \ libharfbuzz.so:print/harfbuzz \ libpcre.so:devel/pcre \ libpcre2-16.so:devel/pcre2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd RUN_DEPENDS= avahi-browse:net/avahi-app USES= cmake gettext-runtime gnome jpeg localbase qt:5 xorg USE_GNOME= glib20 USE_LDCONFIG= ${PREFIX}/lib/epsonscan2 USE_QT= buildtools:build core gui qmake:build widgets USE_XORG= x11 xau xcb xdmcp EPSON_VERSION= 1.0.0.0 CONFIGURE_ENV+= STAGEDIR=${STAGEDIR} CFLAGS+= -I${PREFIX}/include SUB_FILES= pkg-message \ Read_me.FreeBSD WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-1 post-install: ${RM} -rf ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${DOCSDIR}-${EPSON_VERSION}-1 ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/Read_me.FreeBSD ${STAGEDIR}${PREFIX}/lib/epsonscan2 .include diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 9e84842264d5..5c22795c956b 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -1,98 +1,98 @@ PORTNAME= evince DISTVERSION= 43.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics print gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME multi-format document viewer WWW= https://wiki.gnome.org/Apps/Evince LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING FLAVOR?= full FLAVORS= full lite BUILD_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libfribidi.so:converters/fribidi \ libhandy-1.so:x11-toolkits/libhandy \ libpoppler-glib.so:graphics/poppler-glib \ libspectre.so:print/libspectre \ libtiff.so:graphics/tiff RUN_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas PORTSCOUT= limitw:1,even USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome gstreamer libarchive \ localbase:ldflags meson pkgconfig tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 USE_LDCONFIG= yes USE_XORG= ice CPE_VENDOR= gnome MESON_ARGS= -Dgtk_doc=false \ -Dpdf=enabled \ -Dps=enabled \ -Dsystemduserunitdir=no .if ${FLAVOR} == lite MESON_ARGS+= -Dintrospection=false \ -Dpreviewer=false \ -Dthumbnail_cache=disabled \ -Dthumbnailer=false USE_GNOME+= libxml2 OPTIONS_EXCLUDE= DBUS NAUTILUS PLIST= ${.CURDIR}/pkg-plist-lite PKGNAMESUFFIX= -lite COMMENT+= without GNOME dependencies CONFLICTS_INSTALL= evince .else USE_GNOME+= introspection:build MESON_ARGS+= -Dintrospection=true CONFLICTS_INSTALL= evince-lite .endif GLIB_SCHEMAS= org.gnome.Evince.gschema.xml PLIST_SUB= VERSION=3.0 OPTIONS_SUB= yes OPTIONS_DEFINE= COMICS DBUS DJVU DVI KEYRING NAUTILUS SPELL XPS OPTIONS_DEFAULT= COMICS DBUS DJVU KEYRING NAUTILUS SPELL XPS COMICS_DESC= Comic book archives support COMICS_MESON_ENABLED= comics DJVU_DESC= DJVU support DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_ENABLED= djvu DBUS_MESON_TRUE= dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DVI_DESC= DVI viewer support DVI_USES= tex DVI_USE= TEX=kpathsea,latex DVI_MESON_ENABLED= dvi KEYRING_DESC= Keyring support KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_ENABLED= keyring NAUTILUS_DESC= Nautilus plugin NAUTILUS_USE= GNOME=nautilus3 NAUTILUS_MESON_TRUE= nautilus SPELL_DESC= spell checking support SPELL_MESON_ENABLED= gspell SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell XPS_DESC= XPS support XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps XPS_MESON_ENABLED= xps .include diff --git a/graphics/filmulator/Makefile b/graphics/filmulator/Makefile index a5a6ff9753ec..5d06e9665620 100644 --- a/graphics/filmulator/Makefile +++ b/graphics/filmulator/Makefile @@ -1,49 +1,49 @@ PORTNAME= filmulator PORTVERSION= 0.11.1 -PORTREVISION= 3 +PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Simplified raw editor with the power of film WWW= https://filmulator.org/ LICENSE= GPLv3+ LIB_DEPENDS= libcurl.so:ftp/curl \ libexiv2.so:graphics/exiv2 \ liblensfun.so:graphics/lensfun \ libraw_r.so:graphics/libraw \ librtprocess.so:graphics/librtprocess \ libtiff.so:graphics/tiff USES= cmake jpeg libarchive pkgconfig qt:5 .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .endif USE_GITHUB= yes USE_QT= buildtools:build qmake:build core declarative gui \ network sql widgets GH_ACCOUNT= CarVac GH_PROJECT= ${PORTNAME}-gui WRKSRC_SUBDIR= ${GH_PROJECT} post-patch: @${REINPLACE_CMD} -e '/target_compile_definitions.*LF_GIT/d' \ ${WRKSRC}/CMakeLists.txt # Prerendered PNG icon is 64x58 which Qt does not want to load, so use # original SVG instead which is square. Qt's icon engine supports SVG # since Qt 4.2. @${REINPLACE_CMD} -e '/filmulator64icon/s,png,svg,' \ ${WRKSRC}/main.cpp ${WRKSRC}/resources/pixmaps.qrc post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps ${INSTALL_DATA} ${WRKSRC}/filmulator-gui64.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/filmulator-gui.png ${INSTALL_DATA} ${WRKSRC}/filmulator-gui.desktop.in \ ${STAGEDIR}${PREFIX}/share/applications/filmulator-gui.desktop .include diff --git a/graphics/fotocx/Makefile b/graphics/fotocx/Makefile index 189477b7c4d3..667dcc3137b8 100644 --- a/graphics/fotocx/Makefile +++ b/graphics/fotocx/Makefile @@ -1,36 +1,37 @@ PORTNAME= fotocx PORTVERSION= 24.21 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://kornelix.net/downloads/downloads/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= danfe@FreeBSD.org COMMENT= Image editing and collection management program WWW= https://kornelix.net/fotocx/fotocx.html LICENSE= GPLv3+ LIB_DEPENDS= libchamplain-gtk-0.12.so:graphics/libchamplain \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= xdg-open:devel/xdg-utils \ exiftool:graphics/p5-Image-ExifTool \ ufraw-batch:graphics/ufraw USES= desktop-file-utils gmake gnome jpeg pkgconfig USE_GNOME= cairo glib20 gdkpixbuf2 gtk30 ALL_TARGET= ${PORTNAME} CXXFLAGS+= -Wno-register -Wno-writable-strings WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile index 7f0914358c6e..99bead1fe791 100644 --- a/graphics/gd/Makefile +++ b/graphics/gd/Makefile @@ -1,134 +1,134 @@ PORTNAME= libgd PORTVERSION= 2.3.3 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 1 CATEGORIES+= graphics MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/gd-${PORTVERSION}/ MAINTAINER?= dinoex@FreeBSD.org COMMENT?= Graphics library for fast creation of images WWW= https://libgd.github.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS_INSTALL= libgd ??-libgd USES= cpe tar:xz pkgconfig pathfix libtool:keepla autoreconf shebangfix SHEBANG_FILES= ${WRKSRC}/src/bdftogd GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gd-formats CFLAGS+= -ffp-contract=off # do not contract to FMA or thereabouts, PR 278105 TMPDIR?= /tmp MAKE_ENV= TMPDIR=${TMPDIR} SUB_FILES= gdlib-config USE_LDCONFIG= yes TEST_TARGET= check OPTIONS_DEFINE= PNG JPEG WEBP TIFF XPM HEIF AVIF LIQ FREETYPE FONTCONFIG RAQM ICONV THREADS OPTIONS_DEFAULT=PNG JPEG WEBP TIFF FREETYPE FONTCONFIG ICONV NO_OPTIONS_SORT=yes OPTIONS_SUB= yes PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --without-png PNG_CPPFLAGS= -I${LOCALBASE}/include JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --without-jpeg JPEG_CPPFLAGS= -I${LOCALBASE}/include WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_OFF= --without-webp WEBP_CPPFLAGS= -I${LOCALBASE}/include TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_OFF= --without-tiff TIFF_CPPFLAGS= -I${LOCALBASE}/include HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_CONFIGURE_OFF= --without-heif HEIF_CPPFLAGS= -I${LOCALBASE}/include AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_CONFIGURE_OFF= --without-avif AVIF_CPPFLAGS= -I${LOCALBASE}/include AVIF_BROKEN= option AVIF has a circular dependency loop LIQ_DESC= libimagequant color conversion support LIQ_LIB_DEPENDS= libimagequant.so:graphics/libimagequant LIQ_CONFIGURE_OFF= --with-liq=no LIQ_CPPFLAGS= -I${LOCALBASE}/include FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_OFF= --without-freetype FREETYPE_CPPFLAGS= -I${LOCALBASE}/include FONTCONFIG_LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_OFF= --with-fontconfig=no FONTCONFIG_CPPFLAGS= -I${LOCALBASE}/include RAQM_DESC= Raqm text layout support RAQM_LIB_DEPENDS= libraqm.so:print/libraqm RAQM_CONFIGURE_OFF= --with-raqm=no RAQM_CPPFLAGS= -I${LOCALBASE}/include XPM_USES= xorg XPM_USE= xorg=xpm,x11 XPM_CONFIGURE_ON= --with-x XPM_CONFIGURE_OFF= --with-xpm=no ICONV_USES= iconv ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} THREADS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-threads .include .if ${PORT_OPTIONS:MFREETYPE} # bin/annotate CONFLICTS_INSTALL+= mummer .endif # force gdlib-config --ldflags LDFLAGS+= -L${LOCALBASE}/lib # The GD_FONTS environment variable can be set to specify the gzipped # tar-ball containing the fonts in bdf format and the bdf file names. # The tarball is the first argument, the tiny, small, medium-bold, # large, and giant fonts follow. # # For example: # GD_FONTS="/usr/ports/distfiles/x-koi8u.tgz koi6x10.bdf koi8x13.bdf \ # koi9x15.bdf koi12x24.bdf koi10x20.bdf" # .if defined(GD_FONTS) USES+= perl5 USE_PERL5= build WRKFONTS= ${WRKSRC}/src .endif pre-extract:: @${ECHO_MSG} "" @${ECHO_MSG} "GD_FONTS can be set to specify an alternative list of .bdf files" @${ECHO_MSG} "" post-extract: .if defined(GD_FONTS) cd ${WRKFONTS} && ${SH} ${FILESDIR}/makefonts extract ${GD_FONTS} .endif pre-configure: .if defined(GD_FONTS) cd ${WRKFONTS} && ${SH} ${FILESDIR}/makefonts configure ${GD_FONTS} .endif # bump shlib version ${REINPLACE_CMD} \ -e 's|^GDLIB_LT_CURRENT=3|GDLIB_LT_CURRENT=6|' \ ${WRKSRC}/configure ${WRKSRC}/config/getlib.sh pre-configure-ICONV-off: ${REINPLACE_CMD} \ -e 's|iconv|noiconv|' \ ${WRKSRC}/configure .if defined(GD_FONTS) pre-build: cd ${WRKFONTS} && ${SH} ${FILESDIR}/makefonts build ${GD_FONTS} .endif post-install: ${INSTALL_DATA} ${WRKSRC}/src/gdhelpers.h \ ${STAGEDIR}${PREFIX}/include/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgd.so.6* ${INSTALL_SCRIPT} ${WRKDIR}/gdlib-config \ ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index d5eef53868ac..312326a8e33c 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -1,230 +1,230 @@ PORTNAME= gdal PORTVERSION= 3.8.5 -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 \ 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 \ BUILD_VSIPRELOAD \ CLANG_TIDY_ENABLED \ CSHARP_MONO \ ENABLE_DEFLATE64 \ GDAL_ENABLE_HDF5_GLOBAL_LOCK \ GDAL_ENABLE_PLUGINS \ GDAL_ENABLE_PLUGINS_NO_DEPS \ 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_PUBLICDECOMPWT \ GDAL_USE_QHULL_INTERNAL \ GDAL_USE_SHAPELIB \ GDAL_USE_TIFF_INTERNAL \ GDAL_USE_ZLIB_INTERNAL \ HDFS_ENABLED \ SWIG_REGENERATE_PYTHON CMAKE_ON= BUILD_APPS \ BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS \ ENABLE_GNM \ ENABLE_IPO \ ENABLE_PAM \ GDAL_AUTOLOAD_PLUGINS \ GDAL_BUILD_OPTIONAL_DRIVERS \ GDAL_HIDE_INTERNAL_SYMBOLS \ GDAL_OBJECT_LIBRARIES_POSITION_INDEPENDENT_CODE \ GDAL_SPLIT_EXPORTED_LIBS \ GDAL_USE_CPL_MULTIPROC_PTHREAD \ 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_INTERNAL \ GDAL_USE_TIFF \ GDAL_USE_ZLIB \ OGR_BUILD_OPTIONAL_DRIVERS \ OGR_SQLITE_ALLOW_LOAD_EXTENSIONS \ RENAME_INTERNAL_SHAPELIB_SYMBOLS \ 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= AEC ARMADILLO BRUNSLI CFITSIO CRYPTOPP CURL DEFLATE ECW EXPAT EXR FREEXL GEOS GTA HDF5 HEIF JXL KML LERC LIBXML2 LZ4 MYSQL NETCDF ODBC OPENJPEG PCRE2 PGSQL RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD OPTIONS_RADIO= PDF OPTIONS_RADIO_PDF= PODOFO POPPLER OPTIONS_DEFAULT=AEC CURL DEFLATE EXPAT FREEXL GEOS LERC LIBXML2 LZ4 OPENJPEG PCRE2 PGSQL POPPLER WEBP ZSTD \ HDF5 KML NETCDF SPATIALITE SFCGAL SQLITE XERCES OPTIONS_EXCLUDE_powerpc= LERC OPTIONS_EXCLUDE_powerpc64= LERC OPTIONS_SUB= yes AEC_DESC= Adaptive entropy coding library 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 PCRE2_DESC= Regular expression support for SQLite RASTERLITE2_DESC= RasterLite2 support TILEDB_DESC= TileDB support AEC_CMAKE_BOOL= GDAL_USE_LIBAEC AEC_LIB_DEPENDS= libaec.so:science/libaec 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 JXL_CMAKE_BOOL= GDAL_USE_JXL GDAL_USE_JXL_THREADS JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl KML_CMAKE_BOOL= GDAL_USE_LIBKML KML_LIB_DEPENDS= libkmlbase.so:science/libkml \ liburiparser.so:net/uriparser KML_USES= minizip 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 PCRE2_CMAKE_BOOL= GDAL_USE_PCRE2 PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PGSQL_CMAKE_BOOL= GDAL_USE_POSTGRESQL 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/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile index bf893d589d6a..210f641f44e7 100644 --- a/graphics/gdk-pixbuf2/Makefile +++ b/graphics/gdk-pixbuf2/Makefile @@ -1,47 +1,47 @@ PORTNAME= gdk-pixbuf PORTVERSION= 2.42.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= GNOME PKGNAMESUFFIX= 2 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Graphic library for GTK WWW= https://developer.gnome.org/gdk-pixbuf/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gettext gnome localbase:ldflags meson pkgconfig \ python:build shared-mime-info shebangfix tar:xz trigger CPE_VENDOR= gnome USE_GNOME= glib20 introspection:build libxslt:build SHEBANG_FILES= build-aux/*.py USE_LDCONFIG= yes MESON_ARGS= -Dbuiltin_loaders="none" -Dgtk_doc=false -Dinstalled_tests=false -Dtests=false TRIGGERS= gdk-pixbuf-query-loaders SUB_LIST= GTK2_VERSION=${GTK2_VERSION} LIBVERSION= 0.4200.10 PLIST_SUB+= LIBVERSION=${LIBVERSION} OPTIONS_SUB= yes OPTIONS_DEFINE= JPEG MANPAGES PNG TIFF OPTIONS_DEFAULT=JPEG MANPAGES PNG TIFF JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ rst2man:textproc/py-docutils MANPAGES_USE= gnome=libxslt:build MANPAGES_MESON_TRUE= man PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= png TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff .include diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index 4eddb8578b39..35459649918c 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -1,93 +1,94 @@ PORTNAME= geeqie DISTVERSIONPREFIX= v DISTVERSION= 2.4 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Lightweight image viewer forked from GQview WWW= https://www.geeqie.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash BUILD_DEPENDS= xxd:sysutils/xxd TEST_DEPENDS= appstreamcli:devel/appstream USES= desktop-file-utils gettext-tools gnome jpeg \ lua:53 meson pkgconfig shebangfix USE_GNOME= cairo gdkpixbuf2 gtk30 glib20 USE_GITHUB= yes GH_ACCOUNT= BestImageViewer SHEBANG_FILES= plugins/*/geeqie-* \ plugins/resize-image/downsize CFLAGS+= -Wno-deprecated-declarations MESON_ARGS= -Ddoxygen=disabled MESON_ARGS+= -Dpandoc=disabled MESON_ARGS+= -Devince=disabled MESON_ARGS+= -Dgit=disabled PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= EXIV2 LCMS MAP FFMPEGTHUMBNAILER ARCHIVE SPELL DOCS NLS OPTIONS_DEFAULT=EXIV2 LCMS MAP FFMPEGTHUMBNAILER ARCHIVE SPELL \ TIFF PDF HEIF DJVU OPENJPEG RAW JXL WEBP OPTIONS_GROUP= FORMATS OPTIONS_GROUP_FORMATS= TIFF PDF HEIF DJVU OPENJPEG RAW JXL WEBP OPTIONS_SUB= yes FORMATS_DESC= Image formats support EXIV2_DESC= Metadata editing EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 EXIV2_MESON_ENABLED= exiv2 LCMS_DESC= Color adjusting LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS_MESON_ENABLED= cms MAP_DESC= GPS map support via libchamplain MAP_LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libclutter-1.0.so:graphics/clutter MAP_MESON_ENABLED= gps-map TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_MESON_ENABLED= pdf FFMPEGTHUMBNAILER_DESC= Video file thumbnails generating support FFMPEGTHUMBNAILER_MESON_ENABLED= videothumbnailer FFMPEGTHUMBNAILER_LIB_DEPENDS= libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer HEIF_MESON_ENABLED= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif DJVU_MESON_ENABLED= djvu DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre OPENJPEG_MESON_ENABLED= j2k OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg RAW_MESON_ENABLED= libraw RAW_LIB_DEPENDS= libraw.so:graphics/libraw ARCHIVE_MESON_ENABLED= archive ARCHIVE_USES= libarchive JXL_MESON_ENABLED= jpegxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl WEBP_MESON_ENABLED= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp SPELL_DESC= Spelling check through gspell SPELL_MESON_ENABLED= spell SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell DOCS_BUILD_DEPENDS= yelp-build:textproc/yelp-tools .include diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 103e222d6426..b7122cc8c081 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,159 +1,159 @@ PORTNAME= gegl PORTVERSION= 0.4.46 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= GIMP PATCH_SITES= https://gitlab.gnome.org/GNOME/gegl/-/commit/ PATCHFILES+= a99a93e5c9013bd4101f5058cdee7d0cf30234fe.patch:-p1 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= cpe gettext gnome jpeg localbase meson pkgconfig shebangfix \ uniquefiles tar:xz .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++14-lang .endif USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes MESON_ARGS= -Ddocs=false \ -Dworkshop=false \ -Dintrospection=true \ -Dlensfun=disabled \ -Dlibjpeg=enabled \ -Dlibpng=enabled \ -Dmaxflow=disabled \ -Dmrg=disabled \ -Dpygobject=disabled \ -Dlua=disabled \ ${MESON_ARGS_${ARCH}} MESON_ARGS_armv6= -Dopenmp=disabled MESON_ARGS_armv7= -Dopenmp=disabled GEGL_SHLIB= 0.445.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= libv4l 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 2285996b7686..47f89f5d1ad5 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -1,158 +1,158 @@ PORTNAME?= gimp PORTVERSION= 2.10.36 -PORTREVISION?= 2 +PORTREVISION?= 3 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+= cpe compiler:c++14-lang 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 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share 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 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 .include post-patch: @${REINPLACE_CMD} -e 's|%%GIMP_LIBS%%|${GIMP_LIBS}|; \ s|%%GIMP_THUMB_LIBS%%|${GIMP_THUMB_LIBS}|; \ s|%%GIMP_UI_LIBS%%|${GIMP_UI_LIBS}|' \ ${WRKSRC}/plug-ins/pygimp/Makefile.in @${REINPLACE_CMD} \ -e 's|x86_64|amd64|g' \ ${WRKSRC}/configure .include diff --git a/graphics/gmic/Makefile b/graphics/gmic/Makefile index 1f8ee555effc..8d7ec8478f5e 100644 --- a/graphics/gmic/Makefile +++ b/graphics/gmic/Makefile @@ -1,49 +1,49 @@ PORTNAME= gmic DISTVERSION= 3.1.6 -PORTREVISION= 7 +PORTREVISION= 8 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/gnome-color-manager/Makefile b/graphics/gnome-color-manager/Makefile index 95711f0ee22d..82be3eeeed9b 100644 --- a/graphics/gnome-color-manager/Makefile +++ b/graphics/gnome-color-manager/Makefile @@ -1,32 +1,32 @@ PORTNAME= gnome-color-manager PORTVERSION= 3.36.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Session framework for the GNOME desktop to manage color profiles WWW= https://git.gnome.org/browse/gnome-color-manager LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook2man:textproc/docbook-utils \ itstool:textproc/itstool \ docbook-sgml>0:textproc/docbook-sgml LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libcolord.so:graphics/colord \ libcolord-gtk.so:graphics/colord-gtk \ libtiff.so:graphics/tiff \ libexif.so:graphics/libexif PORTSCOUT= limitw:1,even USES= compiler:c++11-lang desktop-file-utils gettext gnome meson \ pkgconfig tar:xz USE_GNOME= cairo gtk30 vte3 USE_LDCONFIG= yes MESON_ARGS= -Dtests=false .include diff --git a/graphics/grafx2/Makefile b/graphics/grafx2/Makefile index 7ced07b7d25d..e4b7b5354c32 100644 --- a/graphics/grafx2/Makefile +++ b/graphics/grafx2/Makefile @@ -1,50 +1,50 @@ PORTNAME= grafx2 PORTVERSION= 2.8 DISTVERSIONSUFFIX= .3091-HEAD-src -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://pulkomandy.tk/projects/GrafX2/downloads/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Pixelart-oriented bitmap painting program WWW= https://pulkomandy.tk/projects/GrafX2 LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libX11.so:x11/libX11 USES= desktop-file-utils gmake gnome iconv:wchar_t pkgconfig sdl \ tar:tgz USE_SDL= image2 sdl2 MAKE_ENV+= API=${GRAFX2_API} \ V=1 CFLAGS+= -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H WRKSRC= ${WRKDIR}/grafx2 WRKSRC_SUBDIR= src OPTIONS_DEFINE= LUA TTF OPTIONS_DEFAULT= TTF OPTIONS_SUB= yes TTF_DESC= True Type font support LUA_USES= lua LUA_MAKE_ARGS_OFF= NOLUA=1 TTF_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig TTF_USE= SDL=ttf2 TTF_MAKE_ARGS_OFF= NOTTF=1 GRAFX2_API= sdl2 post-install: @${MV} ${STAGEDIR}${PREFIX}/bin/grafx2-${GRAFX2_API} \ ${STAGEDIR}${PREFIX}/bin/grafx2 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/grafx2 .include diff --git a/graphics/grx/Makefile b/graphics/grx/Makefile index 86d33e6dcb26..d16622712ab5 100644 --- a/graphics/grx/Makefile +++ b/graphics/grx/Makefile @@ -1,81 +1,81 @@ PORTNAME= grx PORTVERSION= 2.4.9 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= http://grx.gnu.de/download/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= ports@FreeBSD.org COMMENT= 2D graphics library WWW= http://grx.gnu.de/ LICENSE= LGPL20 MIT LICENSE_COMB= multi USES= gmake xorg USE_XORG= x11 xau xcb xdmcp HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --with-fontpath=${DATADIR}/fonts \ --with-x11-base=${LOCALBASE} ALL_TARGET= libs INSTALL_TARGET= install install-bin install-fonts install-info USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS_INSTALL= hxtools psptoolchain-pspsdk-stage2 PLIST_SUB= VERSION="${PORTVERSION}" MAKE_ARGS= infodir=${PREFIX}/${INFO_PATH} INFO= grx OPTIONS_DEFINE= BGI BMP JPEG PNG PRINT TIFF ZLIB OPTIONS_DEFAULT= BGI BMP PNG PRINT ZLIB OPTIONS_SUB= yes BGI_DESC= BGI image format support BGI_CONFIGURE_ENABLE= bgi BMP_DESC= BMP image format support BMP_CONFIGURE_ENABLE= bmp JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png PRINT_CONFIGURE_ENABLE= print TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_ENABLE= tiff ZLIB_CONFIGURE_ENABLE= zlib .include .if ${PORT_OPTIONS:MPNG} && empty(PORT_OPTIONS:MZLIB) IGNORE= PNG support requires ZLIB support .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--enable-x86_64 .endif post-patch: @${GREP} -ERl '<(malloc|alloca)\.h>' ${WRKSRC} | ${XARGS} \ ${REINPLACE_CMD} -Ee 's|<(malloc\|alloca)\.h>||' @${REINPLACE_CMD} -e \ 's|^\(CC[[:blank:]]*=\).*|\1 ${CC}| ; \ s|^\(STRIP[[:blank:]]*=\).*|\1 ${TRUE}| ; \ s|^\(CCOPT[[:blank:]]*=\).*|\1 ${CPPFLAGS} ${CFLAGS}| ; \ s|^\(LDOPT[[:blank:]]*=\).*|\1 ${LDFLAGS}| ; \ s|-m64|| ; \ s|-m32||' \ ${WRKSRC}/makedefs.grx @${REINPLACE_CMD} -e '/_GR_swap32u/s|length|numchars|' \ ${WRKSRC}/src/fonts/fdv_raw.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgrx20X.so .for i in bin2c fnt2c xmodetest @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} .endfor .include diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile index d8b4255e7f19..ff806717b958 100644 --- a/graphics/gthumb/Makefile +++ b/graphics/gthumb/Makefile @@ -1,108 +1,108 @@ PORTNAME= gthumb PORTVERSION= 3.12.2 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= GNOME DIST_SUBDIR= gnome PATCH_SITES= https://gitlab.gnome.org/GNOME/gthumb/-/commit/ PATCHFILES= 2133520496afd179702953a5d07aa99b5209f9cf.patch:-p1 #Fix build with libraw >= 0.21.0 PATCHFILES+= 306d0eeca5ef.patch:-p1 # https://gitlab.gnome.org/GNOME/gthumb/-/issues/306 MAINTAINER= gnome@FreeBSD.org COMMENT= Image viewer and browser for the GNOME environment WWW= https://wiki.gnome.org/Apps/gthumb/ LICENSE= GPLv2+ BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \ libcogl.so:graphics/cogl \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ liboauth.so:net/liboauth \ libpng.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libcolord.so:graphics/colord RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= bison compiler:c++11-lib cpe desktop-file-utils gettext gl \ gnome jpeg localbase:ldflags meson pkgconfig \ python:build shebangfix tar:xz xorg USE_GL= egl USE_GNOME= cairo gtk30 intltool librsvg2 USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xi MESON_ARGS= -Dlibrsvg=true \ -Dlibchamplain=false CPE_VENDOR= gnome INSTALL_TARGET= install-strip USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= *.py data/gschemas/*.py gthumb/*.py po/*.py PLIST_SUB= GTHUMB_VER="3.10" GLIB_SCHEMAS= org.gnome.gthumb.change-date.gschema.xml \ org.gnome.gthumb.comments.gschema.xml \ org.gnome.gthumb.contact-sheet.gschema.xml \ org.gnome.gthumb.convert-format.gschema.xml \ org.gnome.gthumb.crop.gschema.xml \ org.gnome.gthumb.enums.xml \ org.gnome.gthumb.facebook.gschema.xml \ org.gnome.gthumb.file-manager.gschema.xml \ org.gnome.gthumb.flickr.gschema.xml \ org.gnome.gthumb.gschema.xml \ org.gnome.gthumb.gstreamer-tools.gschema.xml \ org.gnome.gthumb.image-print.gschema.xml \ org.gnome.gthumb.image-viewer.gschema.xml \ org.gnome.gthumb.importer.gschema.xml \ org.gnome.gthumb.photo-importer.gschema.xml \ org.gnome.gthumb.picasaweb.gschema.xml \ org.gnome.gthumb.pixbuf-savers.gschema.xml \ org.gnome.gthumb.rename-series.gschema.xml \ org.gnome.gthumb.resize-images.gschema.xml \ org.gnome.gthumb.resize.gschema.xml \ org.gnome.gthumb.rotate.gschema.xml \ org.gnome.gthumb.slideshow.gschema.xml \ org.gnome.gthumb.webalbums.gschema.xml \ org.gnome.gthumb.catalogs.gschema.xml \ org.gnome.gthumb.terminal.gschema.xml OPTIONS_DEFINE= BRASERO CLUTTER EXIV2 GSTREAMER JXL RAW SECRET \ WEBP WEBSERVICES YELP OPTIONS_DEFAULT= BRASERO CLUTTER EXIV2 GSTREAMER JXL RAW SECRET \ WEBP WEBSERVICES YELP OPTIONS_SUB= yes BRASERO_DESC= Write galleries to CD/DVD (large dependency) BRASERO_LIB_DEPENDS= libbrasero-media3.so:sysutils/brasero BRASERO_MESON_TRUE= libbrasero CLUTTER_DESC= Fancy slideshows CLUTTER_LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3 CLUTTER_MESON_TRUE= clutter EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 EXIV2_MESON_TRUE= exiv2 GSTREAMER_USES= gstreamer GSTREAMER_MESON_TRUE= gstreamer JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_TRUE= libjxl RAW_DESC= Raw image support via libraw RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_TRUE= libraw SECRET_DESC= Libsecret support for storing passwords SECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret SECRET_MESON_TRUE= libsecret WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_TRUE= libwebp WEBSERVICES_DESC= Web services WEBSERVICES_LIB_DEPENDS=\ libjson-glib-1.0.so:devel/json-glib \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 WEBSERVICES_MESON_TRUE= webservices YELP_DESC= Viewer for built-in help system YELP_RUN_DEPENDS= yelp:x11/yelp .include diff --git a/graphics/gwenview-devel/Makefile b/graphics/gwenview-devel/Makefile index b18827e32d37..9793fe7d4dd8 100644 --- a/graphics/gwenview-devel/Makefile +++ b/graphics/gwenview-devel/Makefile @@ -1,35 +1,36 @@ PORTNAME= gwenview DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= graphics kde kde-applications kde-devel MAINTAINER= kde@FreeBSD.org COMMENT= Image viewer and browser for KDE WWW= http://gwenview.sourceforge.net BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland USES= cmake compiler:c++11-lang desktop-file-utils gettext gl jpeg \ kde:6 pkgconfig qt:6 tar:xz xorg USE_KDE= activities baloo bookmarks colorscheme completion config \ configwidgets coreaddons filemetadata guiaddons i18n \ iconthemes itemmodels itemviews jobwidgets kio notifications \ parts phonon purpose service solid wayland widgetsaddons windowsystem \ xmlgui \ ecm:build USE_QT= base svg wayland USE_XORG= x11 USE_GL= gl opengl OPTIONS_DEFINE= DOCS CMAKE_ARGS= -DQT_MAJOR_VERSION=6 .include diff --git a/graphics/gwenview/Makefile b/graphics/gwenview/Makefile index 21da5361f538..2b4be311b7b6 100644 --- a/graphics/gwenview/Makefile +++ b/graphics/gwenview/Makefile @@ -1,36 +1,36 @@ PORTNAME= gwenview DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Image viewer and browser for KDE WWW= http://gwenview.sourceforge.net BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \ docbook-xml>0:textproc/docbook-xml \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libwayland-client.so:graphics/wayland \ libkImageAnnotator-Qt5.so:graphics/kimageannotator@qt5 USES= compiler:c++11-lang cmake desktop-file-utils gettext-tools \ jpeg pkgconfig kde:5 qt:5 tar:xz xorg USE_KDE= activities auth baloo bookmarks codecs completion config \ configwidgets coreaddons filemetadata guiaddons i18n \ iconthemes init itemmodels itemviews jobwidgets \ kimageformats kio libkdcraw notifications parts phonon \ purpose service solid sonnet textwidgets widgetsaddons \ windowsystem xmlgui \ ecm:build USE_QT= concurrent core dbus gui network printsupport \ svg wayland widgets x11extras xml \ buildtools:build qmake:build USE_XORG= x11 OPTIONS_DEFINE= DOCS .include diff --git a/graphics/hdr_tools/Makefile b/graphics/hdr_tools/Makefile index ff1a9ffcf8d6..26c3f313ee41 100644 --- a/graphics/hdr_tools/Makefile +++ b/graphics/hdr_tools/Makefile @@ -1,44 +1,44 @@ PORTNAME= hdr_tools PORTVERSION= 0.0.2010.11.23 # unspecified by the author, so use the date -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= graphics MASTER_SITES= http://ttic.uchicago.edu/~cotter/projects/hdr_tools/archives/ \ http://freebsd.nsu.ru/distfiles/ DISTNAME= hdr_src MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line tools for creating and manipulating HDR images WWW= https://ttic.uchicago.edu/~cotter/projects/hdr_tools/ LICENSE= GPLv3 LIB_DEPENDS= libpopt.so:devel/popt \ libtiff.so:graphics/tiff \ libOpenEXR.so:graphics/openexr \ USES= compiler:c++11-lang gmake magick:6 pkgconfig tar:tgz NO_WRKSUBDIR= yes PROGRAMS= hdr_adjust hdr_convert hdr_create hdr_denoise hdr_fix_ca \ hdr_squish PLIST_FILES= ${PROGRAMS:S,^,bin/,} .include .if ${MACHINE_CPU:Msse2} CXXFLAGS+= -msse2 -mfpmath=sse .endif .if ${COMPILER_FEATURES:Mopenmp} CXXFLAGS+= -fopenmp .endif post-patch: @${REINPLACE_CMD} -e 's,RGBColorspace,s&,' ${WRKSRC}/image.cc do-install: ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} \ ${STAGEDIR}/${PREFIX}/bin .include diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index b27c4df1e71c..bd257ed063ee 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -1,61 +1,61 @@ PORTNAME= hugin DISTVERSION= 2023.0.0 -PORTREVISION= 3 +PORTREVISION= 4 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/ida/Makefile b/graphics/ida/Makefile index 77c208bcd1fc..6f9e4a67e992 100644 --- a/graphics/ida/Makefile +++ b/graphics/ida/Makefile @@ -1,67 +1,67 @@ PORTNAME= ida PORTVERSION= 2.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= https://www.kraxel.org/releases/fbida/ DISTNAME= fbida-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Small and fast motif-based image viewer and editor WWW= https://www.kraxel.org/blog/linux/fbida/ LICENSE= GPLv2 LIB_DEPENDS= libexif.so:graphics/libexif USES= desktop-file-utils gmake iconv jpeg motif perl5 pkgconfig xorg USE_PERL5= build USE_XORG= pixman x11 xext xt MAKEFILE= GNUmakefile MAKE_ARGS= verbose=yes LDFLAGS+= ${ICONV_LIB} CONFLICTS_INSTALL= exiftran PORTDOCS= README TODO INSTALL PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida \ share/man/man1/exiftran.1.gz share/man/man1/ida.1.gz \ share/applications/ida.desktop OPTIONS_DEFINE= DOCS GIF PCD PNG SANE TIFF WEBP OPTIONS_DEFAULT= GIF PNG TIFF GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_MAKE_ARGS= HAVE_LIBGIF=yes PCD_DESC= PhotoCD support PCD_LIB_DEPENDS= libpcd.so:graphics/libpcd PCD_MAKE_ARGS= HAVE_LIBPCD=yes PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MAKE_ARGS= HAVE_LIBPNG=yes SANE_LIB_DEPENDS= libsane.so:graphics/sane-backends SANE_MAKE_ARGS= HAVE_LIBSANE=yes TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MAKE_ARGS= HAVE_LIBTIFF=yes WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MAKE_ARGS= HAVE_LIBWEBP=yes pre-build: @${ECHO_CMD} -n > ${WRKSRC}/Make.config @${ECHO_CMD} "LIB:=lib" >> ${WRKSRC}/Make.config @${ECHO_CMD} "RESDIR:=${PREFIX}/lib/X11" >> ${WRKSRC}/Make.config @${ECHO_CMD} "HAVE_ENDIAN_H:=yes" >> ${WRKSRC}/Make.config @${ECHO_CMD} "HAVE_LINUX_FB_H:=no" >> ${WRKSRC}/Make.config @${ECHO_CMD} "HAVE_NEW_EXIF:=yes" >> ${WRKSRC}/Make.config @${ECHO_CMD} "HAVE_GLIBC:=no" >> ${WRKSRC}/Make.config @${ECHO_CMD} "HAVE_STRSIGNAL:=yes" >> ${WRKSRC}/Make.config @${ECHO_CMD} "HAVE_MOTIF:=yes" >> ${WRKSRC}/Make.config @${ECHO_CMD} "JPEG_VER:=80" >> ${WRKSRC}/Make.config post-install: ${INSTALL_DATA} ${WRKSRC}/desktop/ida.desktop ${STAGEDIR}${DESKTOPDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/iiview/Makefile b/graphics/iiview/Makefile index 8a3aaf9148db..786c0d6eb324 100644 --- a/graphics/iiview/Makefile +++ b/graphics/iiview/Makefile @@ -1,26 +1,26 @@ PORTNAME= iiview PORTVERSION= 0.31 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= martin.sugioarto@udo.edu COMMENT= Thumb viewer application WWW= https://sourceforge.net/projects/iiview/ LICENSE= BSD2CLAUSE BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:graphics/png \ ${LOCALBASE}/lib/libtiff.a:graphics/tiff USES= jpeg:build xorg USE_XORG= xpm x11 USE_GITHUB= yes GH_ACCOUNT= nakal PLIST_FILES= bin/iiview share/man/man1/iiview.1.gz MAKE_JOBS_UNSAFE= yes .include diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index d3150846ef95..bb95ddfd2172 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -1,80 +1,80 @@ PORTNAME= imlib2 DISTVERSION= 1.12.2 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= graphics enlightenment MASTER_SITES= SF/enlightenment/imlib2-src/${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Next generation graphics library for Enlightenment WWW= https://docs.enlightenment.org/api/imlib2/html/ LICENSE= imlib2 LICENSE_NAME= imlib2 license LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libfreetype.so:print/freetype2 USES= cpe libtool localbase:ldflags pathfix pkgconfig tar:xz CPE_VENDOR= enlightenment USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static \ --enable-visibility-hiding \ --with-bzip2 \ --with-zlib INSTALL_TARGET= install-strip PLIST_SUB= SHLIB_SHORT=${DISTVERSION:R:R} \ SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= GIF ID3 JPEG JXL PNG TIFF WEBP X11 OPTIONS_DEFAULT= GIF ID3 JPEG JXL PNG TIFF WEBP X11 OPTIONS_SUB= yes GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif ID3_LIB_DEPENDS= libid3tag.so:audio/libid3tag ID3_CONFIGURE_WITH= id3 JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CONFIGURE_WITH= jxl JXL_CONFLICTS_INSTALL= imlib2-jxl PNG_LIB_DEPENDS= libpng16.so:graphics/png PNG_CONFIGURE_WITH= png TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff WEBP_LIB_DEPENDS= libwebpdemux.so:graphics/webp WEBP_CONFIGURE_WITH= webp WEBP_CONFLICTS_INSTALL= imlib2-webp X11_USES= xorg X11_USE= XORG=sm,x11,xcb,xext X11_CONFIGURE_WITH= x x-shm-fd .include # scaling: MMX asm scaling causes segv, disable for now .if ${ARCH} == "i386" && !empty(MACHINE_CPU:Mmmx) CONFIGURE_ARGS+= --disable-mmx .else CONFIGURE_ARGS+= --disable-mmx .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-amd64 .else CONFIGURE_ARGS+= --disable-amd64 .endif .include diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile index b3dbeef145cb..0154aa5d63ca 100644 --- a/graphics/imv/Makefile +++ b/graphics/imv/Makefile @@ -1,85 +1,85 @@ PORTNAME= imv DISTVERSIONPREFIX= v DISTVERSION= 4.4.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= https://git.sr.ht/~exec64/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple image viewer WWW= https://sr.ht/~exec64/imv/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libicuuc.so:devel/icu \ libinih.so:devel/inih \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= bash:shells/bash USES= desktop-file-utils gl gnome meson pkgconfig USE_GL= egl USE_GNOME= cairo pango CONFLICTS_INSTALL= renameutils OPTIONS_DEFINE= FREEIMAGE HEIF JPEG NSGIF PNG SVG TEST TIFF OPTIONS_DEFAULT= ALL FREEIMAGE HEIF JPEG PNG SVG TIFF OPTIONS_SINGLE= WIN OPTIONS_SINGLE_WIN= ALL WAYLAND X11 OPTIONS_SUB= yes ALL_DESC= Both Wayland and X11 support FREEIMAGE_DESC= FreeImage backend (support for many image formats) NSGIF_DESC= NetSurf GIF backend (support for animated GIF) WIN_DESC= Windowing system ALL_CATEGORIES= wayland ALL_LIB_DEPENDS+= libwayland-client.so:graphics/wayland ALL_USES= xorg ALL_USE= GL=glu \ XORG=x11,xcb ALL_MESON_ON= -Dwindows=all FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage FREEIMAGE_MESON_ENABLED= freeimage HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= libheif JPEG_LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo JPEG_MESON_ENABLED= libjpeg NSGIF_BROKEN= fails to build with libnsgif 1.0.0, see also https://lists.sr.ht/~exec64/imv-devel/%3CCAFDf7UKQCAO5VXqykRCnpHG6u0owdXRnk5kt0S3b-aTkpuF66Q%40mail.gmail.com%3E NSGIF_LIB_DEPENDS= libnsgif.so:graphics/libnsgif NSGIF_MESON_ENABLED= libnsgif PNG_LIB_DEPENDS= libpng16.so:graphics/png PNG_MESON_ENABLED= libpng SVG_USE= GNOME=librsvg2 SVG_MESON_ENABLED= librsvg TEST_LIB_DEPENDS= libcmocka.so:sysutils/cmocka TEST_MESON_ENABLED= test TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff WAYLAND_CATEGORIES= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland WAYLAND_MESON_ON= -Dwindows=wayland X11_USES= xorg X11_USE= GL=glu \ XORG=x11,xcb X11_MESON_ON= -Dwindows=x11 post-patch: @${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' \ ${WRKSRC}/src/imv.c \ ${WRKSRC}/doc/imv.1.txt .include diff --git a/graphics/kooka/Makefile b/graphics/kooka/Makefile index 4ce18b4abb83..9631253da2f5 100644 --- a/graphics/kooka/Makefile +++ b/graphics/kooka/Makefile @@ -1,30 +1,30 @@ PORTNAME= kooka DISTVERSION= 0.61-323 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= graphics kde MAINTAINER= kde@FreeBSD.org COMMENT= Intuitive, easy to use open source scan program WWW= https://userbase.kde.org/Kooka LICENSE= GPLv2+ LIB_DEPENDS= libpaper.so:print/libpaper \ libsane.so:graphics/sane-backends \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang kde:5 pkgconfig qt:5 xorg USE_KDE= auth bookmarks codecs completion config configwidgets \ coreaddons i18n iconthemes itemviews jobwidgets kio service \ solid sonnet textwidgets widgetsaddons windowsystem xmlgui \ doctools:build ecm:build USE_QT= concurrent core dbus gui network printsupport widgets xml \ buildtools:build qmake:build USE_XORG= x11 KDE_INVENT= 3ed25fb9a1a62b88240a4f0f403b1ad49cf0adeb PORTSCOUT= limit:^0\. .include diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile index 04c81821f061..bb44cca8d813 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,84 +1,84 @@ PORTNAME= krita DISTVERSION= 5.2.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} PATCH_SITES= https://invent.kde.org/graphics/${PORTNAME}/-/commit/ PATCHFILES+= d9e258bf9d6a.patch:-p1 # https://invent.kde.org/graphics/krita/-/merge_requests/2040 MAINTAINER= kde@FreeBSD.org COMMENT= Sketching and painting program WWW= https://krita.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>=1.65:devel/boost-libs \ immer>=0:devel/immer \ lager>=0:devel/lager \ zug>=0:devel/zug BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= xsimd>=8.1:devel/xsimd BUILD_DEPENDS_amd64= xsimd>=8.1:devel/xsimd LIB_DEPENDS= libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libX11.so:x11/libX11 \ libexiv2.so:graphics/exiv2 \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-c.so:devel/json-c \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip@qt5 \ libtiff.so:graphics/tiff \ libturbojpeg.so:graphics/libjpeg-turbo \ libunibreak.so:textproc/libunibreak \ libwebp.so:graphics/webp USES= cmake compiler:c++11-lib desktop-file-utils eigen:3 gettext \ gnome jpeg kde:5 localbase:ldflags mlt:7 pkgconfig python qt:5 \ sdl shared-mime-info tar:xz xorg USE_GNOME= glib20 USE_KDE= completion config coreaddons crash guiaddons i18n \ itemmodels itemviews libkdcraw service widgetsaddons \ windowsystem ecm:build USE_QT= concurrent core dbus declarative gui network \ printsupport sql svg widgets x11extras xml \ buildtools:build qmake:build testlib:build \ sql-sqlite3:run USE_SDL= sdl2 USE_XORG= ice sm xcb xext xi # Make Cmake use the python we installed dependencies for. CMAKE_ARGS= -DPython_EXECUTABLE:STRING=${PYTHON_CMD} PLIST_SUB= SHLIB_VER=19.0.0 \ SHLIB_SHVER=19 OPTIONS_DEFINE= PYTHON OPENEXR OPTIONS_DEFAULT= PYTHON OPENEXR OPTIONS_SUB= yes OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libKSeExpr.so:graphics/kseexpr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_USES= pyqt:5 PYTHON_USE= PYQT=pyqt5,sip,pysip PYTHON_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PyQt5 .include diff --git a/graphics/largetifftools/Makefile b/graphics/largetifftools/Makefile index a5ec69835fff..2bdd5cd3169a 100644 --- a/graphics/largetifftools/Makefile +++ b/graphics/largetifftools/Makefile @@ -1,21 +1,21 @@ PORTNAME= largetifftools PORTVERSION= 1.4.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= https://www.imnc.in2p3.fr/pagesperso/deroulers/software/largetifftools/download/${PORTNAME}-${PORTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Process very large TIFF files WWW= https://www.imnc.in2p3.fr/pagesperso/deroulers/software/largetifftools/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd USES= autoreconf jpeg localbase:ldconfig tar:bzip2 GNU_CONFIGURE= yes .include diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile index 01bbf9b21127..160b63b0b785 100644 --- a/graphics/lcms/Makefile +++ b/graphics/lcms/Makefile @@ -1,49 +1,49 @@ PORTNAME= lcms PORTVERSION= 1.19 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Light Color Management System -- a color management library WWW= https://www.littlecms.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe libtool localbase:ldflags pathfix GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes PORTDOCS= * CPE_VENDOR= littlecms CPE_PRODUCT= little_cms_color_engine OPTIONS_DEFINE= DOCS JPEGICC TIFFICC OPTIONS_DEFAULT=JPEGICC TIFFICC OPTIONS_SUB= yes JPEGICC_DESC= Build color profile applier for JPEG TIFFICC_DESC= Build color profile applier for TIFF JPEGICC_CONFIGURE_WITH= jpeg JPEGICC_USES= jpeg TIFFICC_CONFIGURE_WITH= tiff TIFFICC_LIB_DEPENDS= libtiff.so:graphics/tiff post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS = / s| python samples||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/^#ifdef __sgi/ s|__sgi|__unix__|; /^#include "sgidefs.h"/d' ${WRKSRC}/include/icc34.h.in @${REINPLACE_CMD} -e '/^testcms_LDFLAGS = / s|$$| -static|' ${WRKSRC}/testbed/Makefile.in post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} doc/LCMSAPI.TXT doc/TUTORIAL.TXT tifficc/tifficc.c \ jpegicc/jpegicc.c jpegicc/iccjpeg.c samples/wtpt.c samples/icctrans.c ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/lcms2/Makefile b/graphics/lcms2/Makefile index 2379ad09a08a..ee9a80a6973d 100644 --- a/graphics/lcms2/Makefile +++ b/graphics/lcms2/Makefile @@ -1,46 +1,46 @@ PORTNAME= lcms2 PORTVERSION= 2.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/mm2/Little-CMS/releases/download/lcms${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Accurate, fast, and small-footprint color management engine WWW= https://www.littlecms.com/ \ https://github.com/mm2/Little-CMS LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe libtool localbase:ldflags pathfix CONFIGURE_ARGS= --with-fastfloat --with-threaded GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} CPE_VENDOR= littlecms CPE_PRODUCT= little_cms_color_engine OPTIONS_DEFINE= DOCS JPEGICC TIFFICC OPTIONS_DEFAULT=JPEGICC TIFFICC OPTIONS_SUB= yes JPEGICC_DESC= Build color profile applier for JPEG TIFFICC_DESC= Build color profile applier for TIFF JPEGICC_CONFIGURE_WITH= jpeg JPEGICC_USES= jpeg TIFFICC_CONFIGURE_WITH= tiff TIFFICC_LIB_DEPENDS= libtiff.so:graphics/tiff post-install: ${INSTALL_MAN} ${WRKSRC}/utils/linkicc/linkicc.1 ${WRKSRC}/utils/psicc/psicc.1 ${WRKSRC}/utils/transicc/transicc.1 ${STAGEDIR}${PREFIX}/share/man/man1/ post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/leptonica/Makefile b/graphics/leptonica/Makefile index a22433025a10..faf9f7e14b84 100644 --- a/graphics/leptonica/Makefile +++ b/graphics/leptonica/Makefile @@ -1,56 +1,56 @@ PORTNAME= leptonica DISTVERSION= 1.82.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/DanBloomberg/${PORTNAME}/releases/download/${DISTVERSION}/ \ http://www.${PORTNAME}.org/source/ PATCH_SITES= https://github.com/DanBloomberg/leptonica/commit/ PATCHFILES= b282ed9482e335439ccc429d4cd1dba517ba0c4d.patch:-p1 MAINTAINER= hiroto.kagotani@gmail.com COMMENT= C library for efficient image processing and image analysis operations WWW= http://www.leptonica.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/leptonica-license.txt USES= cmake cpe localbase pkgconfig USE_LDCONFIG= yes CONFLICTS= leptonlib CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= BIN GIF JPEG JPEG2000 PNG TIFF WEBP OPTIONS_DEFAULT= BIN GIF JPEG PNG TIFF WEBP OPTIONS_SUB= yes BIN_DESC= Build additional programs BIN_CMAKE_BOOL= BUILD_PROG GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_OFF= CMAKE_DISABLE_FIND_PACKAGE_GIF:BOOL=True JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG2000_CMAKE_BOOL= OPENJPEG_SUPPORT JPEG_USES= jpeg JPEG_CMAKE_OFF= CMAKE_DISABLE_FIND_PACKAGE_JPEG:BOOL=True PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_OFF= CMAKE_DISABLE_FIND_PACKAGE_PNG:BOOL=True TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= CMAKE_DISABLE_FIND_PACKAGE_TIFF WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= LIBWEBP_SUPPORT post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libleptonica.so.5.4.0 \ ${STAGEDIR}${PREFIX}/lib/liblept.so ${RLN} ${STAGEDIR}${PREFIX}/lib/libleptonica.so.5.4.0 \ ${STAGEDIR}${PREFIX}/lib/liblept.so.5 ${RLN} ${STAGEDIR}${PREFIX}/lib/libleptonica.so.5.4.0 \ ${STAGEDIR}${PREFIX}/lib/liblept.so.5.4.0 ${MKDIR} ${STAGEDIR}${PREFIX}/share/cmake/Modules ${INSTALL_DATA} ${WRKSRC}/cmake/FindLeptonica.cmake \ ${STAGEDIR}${PREFIX}/share/cmake/Modules/ .include diff --git a/graphics/libafterimage/Makefile b/graphics/libafterimage/Makefile index bfa7f67f4339..aec8d7fb6118 100644 --- a/graphics/libafterimage/Makefile +++ b/graphics/libafterimage/Makefile @@ -1,50 +1,50 @@ PORTNAME= libafterimage PORTVERSION= 1.20 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= SF/afterstep/libAfterImage/${PORTVERSION} DISTNAME= libAfterImage-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Generic imaging library originally designed for AfterStep WWW= http://www.afterstep.org/afterimage/ LICENSE= LGPL21+ LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 USES= gnome jpeg pkgconfig tar:bzip2 xorg USE_XORG= xext USE_GNOME= librsvg2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs \ --without-builtin-ungif --without-afterbase \ --with-x USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE_amd64= MMX OPTIONS_DEFINE_i386= MMX MMX_CONFIGURE_ENABLE= mmx-optimization post-extract: @${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage post-patch: @${REINPLACE_CMD} -e \ 's|CFLAGS="-O3"||g ; \ s| malloc\.h | |g' ${WRKSRC}/configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libAfterImage.so (cd ${WRKSRC}/apps && ${INSTALL_MAN} ascompose.man \ ${STAGEDIR}${PREFIX}/share/man/man1/ascompose.1x) .include diff --git a/graphics/libgeotiff/Makefile b/graphics/libgeotiff/Makefile index 6d43bb57a32e..5b4c42b8b454 100644 --- a/graphics/libgeotiff/Makefile +++ b/graphics/libgeotiff/Makefile @@ -1,42 +1,42 @@ PORTNAME= libgeotiff PORTVERSION= 1.7.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= https://download.osgeo.org/geotiff/libgeotiff/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for reading and writing GeoTIFF information tags WWW= https://github.com/OSGeo/libgeotiff LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= proj>=6,1:graphics/proj LIB_DEPENDS= libjbig.so:graphics/jbigkit \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff USES= jpeg libtool CONFIGURE_ARGS= --datadir=${DATADIR} \ --disable-doxygen-chi \ --disable-doxygen-chm \ --disable-doxygen-doc \ --disable-doxygen-dot \ --disable-doxygen-html \ --disable-doxygen-man \ --disable-doxygen-pdf \ --disable-doxygen-ps \ --disable-doxygen-rtf \ --disable-doxygen-xml \ --with-jpeg=${LOCALBASE} \ --with-libtiff=${LOCALBASE} \ --with-proj=${LOCALBASE} \ --with-zip=/usr CPPFLAGS+= -fPIC GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include diff --git a/graphics/libgxps/Makefile b/graphics/libgxps/Makefile index d83c5b386948..97f78af73077 100644 --- a/graphics/libgxps/Makefile +++ b/graphics/libgxps/Makefile @@ -1,29 +1,29 @@ PORTNAME= libgxps PORTVERSION= 0.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= GObject based library for rendering XPS documents WWW= https://wiki.gnome.org/action/show/Projects/libgxps LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cpe gettext gnome jpeg libarchive localbase meson pkgconfig tar:xz CPE_VENDOR= gnome USE_LDCONFIG= yes USE_GNOME= cairo glib20 introspection:build MESON_ARGS= -Denable-test=false OPTIONS_DEFINE= DOCS .include diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile index 84ff7ee9b071..229a1ad112e4 100644 --- a/graphics/libimg/Makefile +++ b/graphics/libimg/Makefile @@ -1,65 +1,65 @@ PORTNAME= libimg PORTVERSION= 1.4.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= graphics tk tcl MASTER_SITES= SF/tkimg/tkimg/${PORTVERSION:R}/tkimg%20${PORTVERSION} DISTNAME= Img-${PORTVERSION}-Source MAINTAINER= mi@aldan.algebra.com COMMENT= Library of image format handlers for Tk4.1 and later WWW= https://sourceforge.net/projects/tkimg/ LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/license.terms LICENSE_PERMS= auto-accept pkg-sell pkg-mirror dist-sell dist-mirror BUILD_DEPENDS= dtplite:devel/tcllib LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= autoreconf jpeg tk:tea xorg dos2unix PLIST_SUB+= PORTVERSION=${PORTVERSION} USE_XORG= x11 xext xft xrender xscrnsaver OPTIONS_DEFINE= EXAMPLES OPTIONS_SUB= yes WRKSRC= ${WRKDIR}/Img-${PORTVERSION} DOS2UNIX_GLOB= *.[ch] *.tcl *.msg *.in *.test license.terms # We don't need the bundled libraries: EXTRACT_AFTER_ARGS= --exclude 'config.*' --exclude Makefile --exclude \ 'compat' --exclude win MAKE_ARGS+= INSTALL_ROOT="${STAGEDIR}" GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= WRKDIR="${WRKDIR}" CONFIGURE_ARGS+=--enable-shared --disable-stubs post-patch: ${REINPLACE_CMD} -E -e 's,"(zlib|tiff|jpeg|png)tcl.h",<\1.h>,' \ -e 's,jpeg\.h,jpeglib.h,' ${WRKSRC}/*/*.[ch] .for d in jpeg png tiff zlib ${TOUCH} ${WRKDIR}/$dtclConfig.sh .endfor post-configure: .for l in jpeg png tiff # Link with -l$l ${REINPLACE_CMD} -E \ -e 's,^SHLIB_LD_LIBS[[:space:]]*=[[:space:]]*(.*),SHLIB_LD_LIBS=\1 -l$l,' \ ${WRKSRC}/$l/Makefile .endfor do-test: cd ${WRKSRC}/tests && \ ${SETENV} TCLLIBPATH=${WRKSRC:Q} ${WISH} ${WRKSRC}/tests/all post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/msgs/ ${INSTALL_DATA} ${WRKSRC}/msgs/*.msg ${STAGEDIR}${EXAMPLESDIR}/msgs/ ${INSTALL_SCRIPT} ${WRKSRC}/demo.tcl ${WRKSRC}/tkv.tcl ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index 146eb5da0550..dbb13e0a260b 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -1,36 +1,36 @@ PORTNAME= libpano13 DISTVERSION= 2.9.22 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics java MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${DISTVERSION} MAINTAINER= fuz@FreeBSD.org COMMENT= Cross-platform library behind Panorama Tools and other photo stitchers WWW= https://panotools.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake:testing cpe jpeg libtool pathfix perl5 pkgconfig CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes USE_PERL5= build # for pod2man WRKSRC= ${WRKDIR}/libpano13-${DISTVERSION} OPTIONS_DEFINE= DOCS JAVA SUITESPARSE OPTIONS_DEFAULT= SUITESPARSE SUITESPARSE_DESC= Use math/suitesparse for faster operation OPTIONS_SUB= yes JAVA_USE= java=yes JAVA_CMAKE_BOOL= SUPPORT_JAVA_PROGRAMS JAVA_VARS= JAVA_OS=native SUITESPARSE_LIB_DEPENDS= \ libcholmod.so:math/suitesparse-cholmod \ libspqr.so:math/suitesparse-spqr SUITESPARSE_CMAKE_BOOL= USE_SPARSE_LEVMAR .include diff --git a/graphics/librasterlite2/Makefile b/graphics/librasterlite2/Makefile index b6928371974b..b054a616fa17 100644 --- a/graphics/librasterlite2/Makefile +++ b/graphics/librasterlite2/Makefile @@ -1,40 +1,40 @@ PORTNAME= librasterlite2 PORTVERSION= 1.1.0 -PORTREVISION= 8 +PORTREVISION= 9 DISTVERSIONSUFFIX=-beta1 CATEGORIES= graphics geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite WWW= https://www.gaia-gis.it/fossil/librasterlite2/index LICENSE= MPL11 GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libzstd.so:archivers/zstd \ libspatialite.so:databases/spatialite \ libgeotiff.so:graphics/libgeotiff \ libjbig.so:graphics/jbigkit \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libgeos.so:graphics/geos \ libproj.so:graphics/proj \ libopenjp2.so:graphics/openjpeg \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libcairo.so:graphics/cairo \ libcurl.so:ftp/curl \ libfreexl.so:textproc/freexl GNU_CONFIGURE= yes USES= gmake iconv jpeg libtool pathfix pkgconfig sqlite USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lsqlite3 -lm .include diff --git a/graphics/lightzone/Makefile b/graphics/lightzone/Makefile index 1cd25bd31f40..3259e35eec6e 100644 --- a/graphics/lightzone/Makefile +++ b/graphics/lightzone/Makefile @@ -1,66 +1,66 @@ PORTNAME= lightzone DISTVERSION= 4.1.8-3 DISTVERSIONSUFFIX= -g36e87773 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics java DIST_SUBDIR= ${PORTNAME} PATCH_SITES= https://github.com/ktgw0316/LightZone/commit/ PATCHFILES= 376ec67ddfb1.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= Professional-level digital darkroom and photo editor WWW= http://lightzoneproject.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../COPYING BUILD_DEPENDS= jhindexer:java/javahelp \ git:devel/git \ rsync:net/rsync \ tidy5:www/tidy-html5 \ autoconf:devel/autoconf LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libtiff.so:graphics/tiff RUN_DEPENDS= jhindexer:java/javahelp BROKEN_aarch64= fails to link: /usr/local/bin/ld: LC_JNIUtils.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol BROKEN_armv6= fails to compile: build.xml: exec returned: 1 BROKEN_armv7= fails to compile: build.xml: exec returned: 1 USE_GITHUB= yes GH_ACCOUNT= ktgw0316 GH_PROJECT= LightZone USES= desktop-file-utils gmake gnome jpeg pkgconfig xorg USE_ANT= yes USE_JAVA= yes USE_GCC= yes USE_LDCONFIG= yes USE_XORG= x11 JAVA_VENDOR= openjdk JAVA_BUILD= yes JAVA_RUN= yes PATCH_WRKSRC= ${WRKSRC:H} WRKSRC_SUBDIR= linux LIBDIR= ${PREFIX}/lib/${PORTNAME} PLIST_SUB= LIBDIR="${LIBDIR}" post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's|g++|${CXX}|' ${WRKSRC}/../lightcrafts/mk/platform.mk @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/products/lightzone do-install: ${INSTALL_SCRIPT} ${WRKSRC}/products/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/products/*.jar ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME} @${MKDIR} ${STAGEDIR}${LIBDIR} ${INSTALL_PROGRAM} ${WRKSRC}/products/LightZone-forkd ${STAGEDIR}${LIBDIR} ${INSTALL_PROGRAM} ${WRKSRC}/products/dcraw_lz ${STAGEDIR}${LIBDIR} ${INSTALL_LIB} ${WRKSRC}/products/*.so ${STAGEDIR}${LIBDIR} ${INSTALL_DATA} ${WRKSRC}/products/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ @cd ${WRKSRC} && ${COPYTREE_SHARE} icons ${STAGEDIR}${PREFIX}/share/ .include diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index f9ba3596b91c..cfb37c6f29d9 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -1,62 +1,62 @@ PORTNAME= luminance-hdr DISTVERSION= 2.6.1.1 -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= graphics MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Complete open source solution for HDR photography WWW= https://qtpfsgui.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libImath.so:math/Imath \ libtiff.so:graphics/tiff \ libraw_r.so:graphics/libraw \ libfftw3f.so:math/fftw3-float \ libgsl.so:math/gsl \ libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libOpenEXR.so:graphics/openexr \ libboost_date_time.so:devel/boost-libs CFLAGS+= -I${LOCALBASE}/include/Imath USES= cmake 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/mandelbulber/Makefile b/graphics/mandelbulber/Makefile index 0852b4bb2a3c..0ffa420baba9 100644 --- a/graphics/mandelbulber/Makefile +++ b/graphics/mandelbulber/Makefile @@ -1,57 +1,58 @@ PORTNAME= mandelbulber DISTVERSION= 2.31-1 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= 3D Mandelbrot fractal renderer WWW= https://mandelbulber.com/ \ https://github.com/buddhi1980/mandelbulber2 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgsl.so:math/gsl \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ liblzo2.so:archivers/lzo2 \ libOpenEXR.so:graphics/openexr BUILD_DEPENDS= ${LOCALBASE}/include/stb/stb_image.h:devel/stb USE_GITHUB= yes GH_ACCOUNT= buddhi1980 GH_PROJECT= ${PORTNAME}2 USES= cmake compiler:c++11-lang gnome jpeg localbase:ldflags \ pkgconfig qt:5 USE_QT= core widgets network gui multimedia testlib concurrent \ declarative qmake:build buildtools:build uitools:build CMAKE_SOURCE_PATH= ${WRKSRC}/mandelbulber2/cmake PORTDOCS= CONTRIBUTING.md README.md RESOURCES.md PORTDATA= * DATADIR= ${PREFIX}/share/${PORTNAME}2 OPTIONS_DEFINE= OPENCL OPENMP DOCS OPTIONS_EXCLUDE= OPENMP # not properly supported yet OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl post-extract: @${RM} -rf ${WRKSRC}/mandelbulber2/third-party post-patch-OPENMP-off: @${REINPLACE_CMD} -e 's|-fopenmp||' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt post-patch-OPENCL-off: @${REINPLACE_CMD} -e '/find_package.*OpenCL/ d' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include diff --git a/graphics/mapcache/Makefile b/graphics/mapcache/Makefile index 4316af6d0a0a..0538bd315097 100644 --- a/graphics/mapcache/Makefile +++ b/graphics/mapcache/Makefile @@ -1,70 +1,70 @@ PORTNAME= mapcache DISTVERSION= 1.14.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://download.osgeo.org/mapserver/ MAINTAINER= wen@FreeBSD.org COMMENT= Server that implements tile caching to speed up access to WMS layers WWW= https://www.mapserver.org/mapcache/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libpng.so:graphics/png \ libapr-1.so:devel/apr1 \ libaprutil-1.so:devel/apr1 \ libpixman-1.so:x11/pixman USES= cmake jpeg localbase USE_LDCONFIG= yes CMAKE_ON= WITH_OGR WITH_PIXMAN CMAKE_OFF= WITH_BERKELEY_DB CFLAGS+= -std=c99 OPTIONS_DEFINE= APACHE FASTCGI SQLITE MEMCACHE TIFF TIFF_WRITE \ GEOTIFF PCRE GDAL GEOS OPTIONS_DEFAULT= APACHE FASTCGI SQLITE GEOS GDAL OPTIONS_SUB= yes APACHE_DESC= Native apache module APACHE_USES= apache APACHE_CMAKE_BOOL= WITH_APACHE APACHE_CMAKE_ON= -DAPACHE_INCLUDE_DIR=${LOCALBASE}/${APACHEINCLUDEDIR} \ -DAPACHE_MODULE_DIR=${LOCALBASE}/${APACHEMODDIR} FASTCGI_LIB_DEPENDS= libfcgi.so:www/fcgi FASTCGI_CMAKE_BOOL= WITH_FCGI SQLITE_DESC= Use sqlite as a cache backend SQLITE_USES= sqlite SQLITE_CMAKE_BOOL= WITH_SQLITE MEMCACHE_DESC= Use memcache as a cache backend MEMCACHE_CMAKE_BOOL= WITH_MEMCACHE TIFF_DESC= Use TIFFs as a cache backend TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL= WITH_TIFF TIFF_WRITE_DESC= Support for writable TIFF cache backends (implies TIFF) TIFF_WRITE_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_WRITE_CMAKE_BOOL= WITH_TIFF_WRITE_SUPPORT TIFF_WRITE_IMPLIES= TIFF GEOTIFF_DESC= GeoTIFF metadata creation for TIFF cache backends GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff GEOTIFF_CMAKE_BOOL= WITH_GEOTIFF PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CMAKE_BOOL= WITH_PCRE GDAL_DESC= GDAL library support GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_CMAKE_BOOL= WITH_GDAL WITH_OGR GEOS_LIB_DEPENDS= libgeos_c.so:graphics/geos GEOS_CMAKE_BOOL= WITH_GEOS .include diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile index 43d3f7bdfc8c..94ee5f54dac1 100644 --- a/graphics/mapnik/Makefile +++ b/graphics/mapnik/Makefile @@ -1,130 +1,130 @@ PORTNAME= mapnik DISTVERSIONPREFIX= v DISTVERSION= 3.1.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics geography MASTER_SITES= https://github.com/mapnik/mapnik/releases/download/${DISTVERSIONFULL}/ PATCH_SITES= https://github.com/mapnik/mapnik/commit/ \ https://gitlab.archlinux.org/archlinux/packaging/packages/mapnik/-/raw/f9f723222c0af50e4db747e7c4e8138dbc769f53/ PATCHFILES= 8944e81367d2b3b91a41e24116e1813c01491e5d.patch \ 83779b7b6bdd229740b1b5e12a4a8fe27114cb7d.patch \ 7f0daee8b37d8cf6eff32529b1762ffd5104f3f3.patch \ boost-1.83.patch PATCH_DIST_STRIP= -p1 -F3 MAINTAINER= david.hummel@gmail.com COMMENT= Free Toolkit For Developing Mapping Applications WWW= http://www.mapnik.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libboost_program_options.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libicuuc.so:devel/icu RUN_DEPENDS= dejavu>0:x11-fonts/dejavu USES= compiler:c++14-lang gmake gnome pkgconfig python tar:bzip2 USE_GNOME= libxml2 USE_LDCONFIG= yes MAKE_ARGS= PYTHON="${PYTHON_CMD}" MAKE_ENV= JOBS=${MAKE_JOBS_NUMBER} HAS_CONFIGURE= yes CONFIGURE_ARGS= CPP_TESTS=False \ CUSTOM_CFLAGS="${CFLAGS}" \ CUSTOM_CXXFLAGS="${CXXFLAGS}" \ CUSTOM_LDFLAGS="${LDFLAGS}" \ DEMO=False \ DESTDIR="${STAGEDIR}" \ INPUT_PLUGINS="`${ECHO} ${INPUT_PLUGINS} | ${TR} ' ' ,`" \ PGSQL2SQLITE=True \ SVG2PNG=True \ SYSTEM_FONTS=${LOCALBASE}/share/fonts/dejavu \ XMLPARSER=libxml2 CONFIGURE_ENV= PYTHON="${PYTHON_CMD}" PORTDOCS= AUTHORS.md CHANGELOG.md CODE_OF_CONDUCT.md INSTALL.md README.md docs/* INPUT_PLUGINS= csv raster shape geojson topojson OPTIONS_DEFINE= CAIRO DOCS JPEG PNG PROJ TIFF WEBP OPTIONS_DEFAULT= CAIRO GDAL JPEG OGR PGRASTER PNG POSTGIS PROJ SQLITE3 \ TIFF WEBP OPTIONS_GROUP= INPUT OPTIONS_GROUP_INPUT= GDAL OGR PGRASTER POSTGIS SQLITE3 OPTIONS_SUB= yes INPUT_DESC= Input plugins GDAL_DESC= GDAL input plugin OGR_DESC= OGR input plugin POSTGIS_DESC= PostGIS input plugin PGRASTER_DESC= PGraster input plugin SQLITE3_DESC= SQLite input plugin PROJ_DESC= PROJ support CAIRO_DESC= Enable cairo rendering GDAL_VARS= INPUT_PLUGINS+=gdal GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal OGR_VARS= INPUT_PLUGINS+=ogr OGR_LIB_DEPENDS= libgdal.so:graphics/gdal POSTGIS_VARS= INPUT_PLUGINS+=postgis POSTGIS_USES= pgsql PGRASTER_VARS= INPUT_PLUGINS+=pgraster PGRASTER_USES= pgsql SQLITE3_VARS= INPUT_PLUGINS+=sqlite SQLITE3_USES= sqlite:3 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MAKE_ARGS_OFF= PNG=False JPEG_USES= jpeg JPEG_MAKE_ARGS_OFF= JPEG=False TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MAKE_ARGS_OFF= TIFF=False WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MAKE_ARGS_OFF= WEBP=False PROJ_LIB_DEPENDS= libproj.so:graphics/proj PROJ_MAKE_ARGS_OFF= PROJ=False CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=1.8.2:graphics/py-cairo@${PY_FLAVOR} CAIRO_MAKE_ARGS_OFF= CAIRO=False pre-configure-SQLITE3-on: @if ! ${LOCALBASE}/bin/sqlite3 :memory: 'create virtual table foo using rtree(pkid, xmin, xmax, ymin, ymax)' > /dev/null 2>&1; then \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "The SQLite plugin requires libsqlite3 built with RTREE support"; \ ${ECHO_MSG} "Please, reinstall 'databases/sqlite3' port with R*Tree module enabled"; \ ${ECHO_MSG} "" ; \ ${FALSE} ; \ fi post-patch: @${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ -e 's#/usr/include#${LOCALBASE}/include#g' \ -e "s#'/usr/' + LIBDIR_SCHEMA_DEFAULT#'${LOCALBASE}/' + LIBDIR_SCHEMA_DEFAULT#g" \ ${WRKSRC}/SConstruct post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mapnik-index \ ${STAGEDIR}${PREFIX}/bin/mapnik-render \ ${STAGEDIR}${PREFIX}/bin/pgsql2sqlite \ ${STAGEDIR}${PREFIX}/bin/shapeindex \ ${STAGEDIR}${PREFIX}/bin/svg2png @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mapnik/input/*.input post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.md CHANGELOG.md CODE_OF_CONDUCT.md INSTALL.md README.md ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs @cd ${WRKSRC} && ${INSTALL_DATA} docs/* ${STAGEDIR}${DOCSDIR}/docs .include diff --git a/graphics/matplotplusplus/Makefile b/graphics/matplotplusplus/Makefile index 926c63e79616..43ddd34a53a3 100644 --- a/graphics/matplotplusplus/Makefile +++ b/graphics/matplotplusplus/Makefile @@ -1,29 +1,30 @@ PORTNAME= matplotplusplus DISTVERSIONPREFIX= v DISTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= graphics devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ graphics library for data visualization WWW= https://alandefreitas.github.io/matplotplusplus/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libopenblas.so:math/openblas \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= gnuplot:math/gnuplot USES= cmake compiler:c++17-lang jpeg USE_WX= 3.2+ USE_GITHUB= yes GH_ACCOUNT= alandefreitas CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING BUILD_EXAMPLES .include diff --git a/graphics/mscgen/Makefile b/graphics/mscgen/Makefile index 65c09ac47b10..df91d73faab5 100644 --- a/graphics/mscgen/Makefile +++ b/graphics/mscgen/Makefile @@ -1,37 +1,37 @@ PORTNAME= mscgen PORTVERSION= 0.20 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= http://www.mcternan.me.uk/mscgen/software/ \ http://romain.blogreen.org/distfiles/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= romain@FreeBSD.org COMMENT= Message Sequence Chart Renderer WWW= https://www.mcternan.me.uk/mscgen/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= jpeg GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= FREETYPE PNG OPTIONS_DEFAULT= FREETYPE PNG FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png .include diff --git a/graphics/mtpaint/Makefile b/graphics/mtpaint/Makefile index f1f3d409b6d3..7267999a3bef 100644 --- a/graphics/mtpaint/Makefile +++ b/graphics/mtpaint/Makefile @@ -1,71 +1,71 @@ PORTNAME= mtpaint DISTVERSION= 3.50.09 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple painting program WWW= https://mtpaint.sourceforge.net/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 USES= desktop-file-utils gmake gnome iconv jpeg pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= wjaguar GH_PROJECT= mtPaint GH_TAGNAME= 4ea607e USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= x11 HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/share/man/man1 \ --localedir=${PREFIX}/share/locale \ asneeded gtk3 cflags ft jpeg man tiff CFLAGS+= -fcommon LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS LCMS2 NLS OPENJPEG WEBP OPTIONS_DEFAULT= LCMS2 OPENJPEG WEBP OPTIONS_SUB= yes LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_ON= lcms2 LCMS2_CONFIGURE_OFF= nolcms NLS_USES= gettext NLS_CONFIGURE_ON= intl OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_LIB_DEPENDS_OFF=libjasper.so:graphics/jasper OPENJPEG_CONFIGURE_ON= jp2v2 OPENJPEG_CONFIGURE_OFF= jasper WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ON= webp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-install-NLS-on: .for lang in cs de es fr gl hu it ja kab nl pl pt pt_BR ru sk sv tl tr zh_CN zh_TW @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/mtpaint.mo .endfor .include diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index 7ff515dd3fe4..bc4828c3bd51 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,107 +1,107 @@ PORTNAME= netpbm DISTVERSION= 11.04.02 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= LOCAL/leres/netpbm MAINTAINER= leres@FreeBSD.org COMMENT= Toolkit for conversion of images between different formats WWW= https://netpbm.sourceforge.net/ LICENSE= GPLv2 IJG LGPL21 MIT PD LICENSE_COMB= multi LICENSE_NAME_IJG= Independent JPEG Group License LICENSE_FILE_IJG= ${WRKSRC}/doc/copyright_summary LICENSE_PERMS_IJG= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libjasper.so:graphics/jasper \ libjbig.so:graphics/jbigkit \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cpe gmake jpeg perl5 shebangfix tar:xz USE_LDCONFIG= yes CPE_VENDOR= netpbm_project SVN_REV= r4709 SHEBANG_FILES= buildtools/makeman converter/pbm/pbmtox10bm \ editor/pnmflip editor/pnmquant editor/ppmfade \ editor/ppmquant editor/ppmshadow generator/ppmrainbow \ test/*.test test/Available-Testprog test/Execute-Tests MAKEFILE= GNUmakefile MAKE_ARGS= BINMODE=${BINMODE} \ CC=${CC} \ DATADIR=${DATADIR} \ DATAMODE=${_SHAREMODE} \ DIRMODE=755 \ MANMODE=${MANMODE} \ pkgdir=${STAGEDIR}${PREFIX} \ SHAREMODE=${SHAREMODE} INSTALL_TARGET= install.bin install.lib install.data install.hdr OPTIONS_DEFINE= SVGTOPAM X11 OPTIONS_SUB= yes SVGTOPAM_DESC= Build svgtopam X11_DESC= Build pamx SVGTOPAM_USES= gnome SVGTOPAM_USE= gnome=libxml2 X11_USES= xorg X11_USE= xorg=x11,xau,xcb,xdmcp post-patch: ${REINPLACE_CMD} -e 's|misc|share/netpbm|g' ${WRKSRC}/common.mk .ifdef WITH_PIE .for dn in buildtools test ${REINPLACE_CMD} -e '/^all:/s/^/CFLAGS_FOR_BUILD+=${PIE_CFLAGS}\n/' \ ${WRKSRC}/${dn}/Makefile .endfor .endif # # To roll snapshot: make BOOTSTRAP= makesum # #.if defined(BOOTSTRAP) && !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) .if defined(BOOTSTRAP) .if ${WITH_SUBVERSION_VER:U} == LTS FETCH_DEPENDS+= svn:devel/subversion-lts .else FETCH_DEPENDS+= svn:devel/subversion .endif WRKDIR= ${WRKDIRPREFIX}${.CURDIR}/work/.bootstrap do-fetch: ${RM} -rf ${WRKDIR} ${MKDIR} ${WRKDIR} svn export -r${SVN_REV} \ https://svn.code.sf.net/p/${PORTNAME}/code/advanced ${WRKSRC} ${TAR} -jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C${WRKDIR} \ ${DISTNAME} ${RM} -rf ${WRKDIR} .endif # Disable building svgtopam by default. It is the only program that # requires libxml2 and it is not useful in this day and age according # to the author. See the top of converter/other/svgtopam.c for more # details. post-patch-SVGTOPAM-off: ${REINPLACE_CMD} '/svgtopam/d' ${WRKSRC}/converter/other/Makefile post-patch-X11-off: ${REINPLACE_CMD} '/pamx/d' ${WRKSRC}/other/Makefile do-configure: ${CAT} ${WRKSRC}/config.mk.in ${FILESDIR}/config.mk > \ ${WRKSRC}/config.mk post-install: cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libnetpbm.so.11 libnetpbm.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnetpbm.so ${RM} ${STAGEDIR}${PREFIX}/bin/manweb ${INSTALL_DATA} ${WRKSRC}/lib/util/pm_c_util.h ${WRKSRC}/pm_config.h \ ${STAGEDIR}${PREFIX}/include/netpbm ${RMDIR} ${STAGEDIR}${PREFIX}/sharedlink .include diff --git a/graphics/nomacs/Makefile b/graphics/nomacs/Makefile index 3fc5349a98bf..8f37a0dcd6e8 100644 --- a/graphics/nomacs/Makefile +++ b/graphics/nomacs/Makefile @@ -1,52 +1,52 @@ PORTNAME= nomacs PORTVERSION= 3.16 DISTVERSIONSUFFIX= .224 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics PATCH_SITES= https://github.com/nomacs/nomacs/commit/ PATCHFILES= 8c44e10ae48a88ed2ea885f432c65a0859013011.patch:-p1 MAINTAINER= vidar@karlsen.tech COMMENT= Small, fast, and free image viewer WWW= https://www.nomacs.org/ LICENSE= GPLv3 LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv \ liblcms2.so:graphics/lcms2 \ libquazip1-qt5.so:archivers/quazip@qt5 USES= cmake compiler:c++11-lang cpe desktop-file-utils \ dos2unix pkgconfig qt:5 USE_QT= concurrent core gui network printsupport svg widgets \ buildtools:build linguisttools:build qmake:build DOS2UNIX_FILES= ImageLounge/plugins/PaintPlugin/src/DkPaintPlugin.cpp \ ImageLounge/src/DkGui/DkWidgets.cpp USE_LDCONFIG= yes USE_GITHUB= yes CMAKE_ARGS= -DUSE_SYSTEM_QUAZIP=ON CMAKE_SOURCE_PATH= ${WRKSRC}/ImageLounge OPTIONS_DEFINE= RAW TIFF TRANSLATIONS PLUGINS OPTIONS_DEFAULT= RAW TIFF TRANSLATIONS PLUGINS OPTIONS_SUB= yes RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_CMAKE_BOOL= ENABLE_RAW TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL= ENABLE_TIFF TRANSLATIONS_CMAKE_BOOL= ENABLE_TRANSLATIONS TRANSLATIONS_DESC= Install translations PLUGINS_GH_TUPLE= nomacs:nomacs-plugins:3.16:plugins/ImageLounge/plugins PLUGINS_CMAKE_ON= ENABLE_PLUGINS .include diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile index 1ae483880840..3ccd5fe45778 100644 --- a/graphics/ocaml-images/Makefile +++ b/graphics/ocaml-images/Makefile @@ -1,103 +1,104 @@ PORTNAME= images PORTVERSION= 5.0.4 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= graphics PKGNAMEPREFIX= ocaml- DISTNAME= v${PORTVERSION} MAINTAINER= michael.grunewald@laposte.net COMMENT= Objective Caml image processing library WWW= http://pauillac.inria.fr/camlimages/ LICENSE= LGPL21 BUILD_DEPENDS= cppo:devel/ocaml-cppo \ ${SA_DIR}/stdio/META:devel/ocaml-stdio USES= ocaml:dune USE_GITLAB= yes GL_ACCOUNT= camlspotter GL_PROJECT= camlimages USE_OCAML= yes USE_OCAML_LDCONFIG= yes OCAML_LDLIBS= OCAML_PACKAGES= camlimages DOCSDIR= ${OCAML_DOCSDIR}/camlimages PORTDOCS= README.md OPTIONS_DEFINE= PNG JPEG TIFF XPM GIF FREETYPE GHOSTSCRIPT GTK2 DOCS OPTIONS_DEFAULT=PNG JPEG TIFF XPM GIF FREETYPE GHOSTSCRIPT OPTIONS_SUB= yes PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff XPM_CONFIGURE_WITH= xpm GIF_CONFIGURE_WITH= gif GIF_LIB_DEPENDS= libgif.so:graphics/giflib FREETYPE_USES= pkgconfig FREETYPE_CONFIGURE_WITH=freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 GHOSTSCRIPT_CONFIGURE_WITH= gs GHOSTSCRIPT_USES= ghostscript GTK2_CONFIGURE_WITH= liblgtk2 GTK2_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 GTK2_RUN_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 .include .if ${PORT_OPTIONS:MXPM} USES+= xorg USE_XORG= x11 xpm .endif SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/dllcamlimages_exif_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/core/camlimages.cmxs \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/exif/camlimages_exif.cmxs post-install-FREETYPE-on: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/dllcamlimages_freetype_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/freetype/camlimages_freetype.cmxs post-install-GIF-on: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/dllcamlimages_gif_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/gif/camlimages_gif.cmxs post-install-JPEG-on: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/dllcamlimages_jpeg_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/jpeg/camlimages_jpeg.cmxs post-install-PNG-on: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/dllcamlimages_png_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/png/camlimages_png.cmxs post-install-TIFF-on: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/dllcamlimages_tiff_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/tiff/camlimages_tiff.cmxs post-install-XPM-on: ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/dllcamlimages_xpm_stubs.so \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlimages/xpm/camlimages_xpm.cmxs .include diff --git a/graphics/okular-devel/Makefile b/graphics/okular-devel/Makefile index 1e3f1aba6c74..da5c2ef78615 100644 --- a/graphics/okular-devel/Makefile +++ b/graphics/okular-devel/Makefile @@ -1,47 +1,47 @@ PORTNAME= okular DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics kde kde-applications kde-devel MAINTAINER= kde@FreeBSD.org COMMENT= KDE universal document viewer WWW= https://okular.kde.org LICENSE= GPLv2 BUILD_DEPENDS= markdown:textproc/discount RUN_DEPENDS= markdown:textproc/discount LIB_DEPENDS= libchm.so:misc/chmlib \ libdjvulibre.so:graphics/djvulibre \ libepub.so:textproc/ebook-tools \ libfreetype.so:print/freetype2 \ libKExiv2Qt6.so:graphics/libkexiv2-devel \ libpoppler.so:graphics/poppler \ libpoppler-qt6.so:graphics/poppler-qt6 \ libspectre.so:print/libspectre \ libtiff.so:graphics/tiff \ libzip.so:archivers/libzip \ libxkbcommon.so:x11/libxkbcommon # libQMobipocket6.so:graphics/kdegraphics-mobipocket@qt6 \ USES= cmake compiler:c++11-lib cpe desktop-file-utils \ gettext gl jpeg \ kde:6 pkgconfig qca qt:6 tar:xz xorg USE_GL= gl opengl USE_KDE= activities archive auth bookmarks codecs colorscheme \ completion config configwidgets coreaddons crash i18n \ iconthemes itemmodels itemviews jobwidgets kio parts \ phonon pty service solid sonnet textwidgets threadweaver \ wallet widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= base declarative multimedia speech svg USE_XORG= x11 OPTIONS_DEFINE= DOCS PURPOSE OPTIONS_DEFAULT= PURPOSE PURPOSE_DESC= Enable 'Share' menu PURPOSE_USE= KDE=purpose PURPOSE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF6Purpose .include diff --git a/graphics/okular/Makefile b/graphics/okular/Makefile index f811fe30b7c2..2bd64917e586 100644 --- a/graphics/okular/Makefile +++ b/graphics/okular/Makefile @@ -1,46 +1,46 @@ PORTNAME= okular DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE universal document viewer WWW= https://okular.kde.org LICENSE= GPLv2 BUILD_DEPENDS= markdown:textproc/discount RUN_DEPENDS= markdown:textproc/discount LIB_DEPENDS= libchm.so:misc/chmlib \ libdjvulibre.so:graphics/djvulibre \ libepub.so:textproc/ebook-tools \ libfreetype.so:print/freetype2 \ libqmobipocket.so:graphics/kdegraphics-mobipocket \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libspectre.so:print/libspectre \ libtiff.so:graphics/tiff \ libzip.so:archivers/libzip USES= cmake compiler:c++11-lib desktop-file-utils \ gettext jpeg kde:5 cpe pkgconfig qca qt:5 tar:xz xorg USE_KDE= activities archive auth bookmarks codecs completion config \ configwidgets coreaddons crash dbusaddons emoticons i18n \ iconthemes init itemmodels itemviews jobwidgets js \ kdelibs4support khtml kio libkexiv2 parts phonon pty \ service solid sonnet textwidgets threadweaver wallet \ widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= concurrent core dbus declarative gui network printsupport speech \ svg widgets xml \ buildtools:build qmake:build testlib:build USE_XORG= x11 OPTIONS_DEFINE= DOCS PURPOSE OPTIONS_DEFAULT= PURPOSE PURPOSE_DESC= Enable 'Share' menu PURPOSE_USE= KDE=purpose PURPOSE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Purpose .include diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index b22f8cf4aeb1..a9e257085dac 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,251 +1,251 @@ PORTNAME= opencv DISTVERSION= 4.6.0 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= graphics PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ PATCHFILES= 496eed950f6d0e7fd92619d47e3cec8f06e96ace.patch:-p1 MAINTAINER= desktop@FreeBSD.org COMMENT= Open Source Computer Vision library WWW= https://www.opencv.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libharfbuzz.so:print/harfbuzz \ libhdf5.so:science/hdf5 USES= cmake compiler:c++14-lang cpe localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= WeChatCV:wechat GH_PROJECT= opencv_contrib:contrib \ ade:ade \ opencv_3rdparty:extra_mod_3rdparty_boost_descr \ opencv_3rdparty:extra_mod_3rdparty_vgg \ opencv_3rdparty:wechat \ opencv_3rdparty:face \ opencv_3rdparty:ippicv GH_TAGNAME= v0.1.1f:ade \ 34e4206aef44d50e6bbcd0ab06354b52e7466d26:extra_mod_3rdparty_boost_descr \ fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d:extra_mod_3rdparty_vgg \ a8b69ccc738421293254aec5ddb38bd523503252:wechat \ 8afa57abc8229d611c4937165d20e2a2d9fc5a12:face \ a56b6ac6f030c312b2dce17430eef13aed9af274:ippicv CMAKE_ON= OPENCV_GENERATE_PKGCONFIG CMAKE_OFF= OPENCV_GENERATE_SETUPVARS \ BUILD_opencv_python2 \ BUILD_TESTS CMAKE_ARGS= -DOPENCV_EXTRA_MODULES_PATH="${WRKSRC}/contrib/modules" DATADIR= ${PREFIX}/share/${PORTNAME}4 PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL \ PATENTED PROTOBUF PYTHON TBB TESSERACT OPTIONS_GROUP= GUI IMAGE VIDEO OPTIONS_GROUP_GUI= GTK3 VTK OPTIONS_GROUP_IMAGE= GPHOTO2 JPEG OPENEXR PNG TIFF OPTIONS_GROUP_VIDEO= DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS NOBLAS OPTIONS_RADIO= JPEG2K OPTIONS_RADIO_JPEG2K= JASPER OPENJPEG OPTIONS_DEFAULT= EIGEN GDAL GDCM OPENCL PROTOBUF PYTHON \ DC1394 GSTREAMER V4L VULKAN WEBP \ GPHOTO2 JPEG OPENEXR PNG TIFF \ OPENBLAS \ OPENJPEG OPTIONS_SUB= yes # Normal options (EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB) EIGEN_DESC= Add Eigen v3 Support, builds sfm modules EIGEN_CMAKE_BOOL= WITH_EIGEN EIGEN_USES= eigen:3 GDAL_DESC= Add Geospatial Data Abstraction Library Support GDAL_CMAKE_BOOL= WITH_GDAL GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDCM_DESC= Add Open source DICOM library Support GDCM_CMAKE_BOOL= WITH_GDCM GDCM_LIB_DEPENDS= libgdcmMSFF.so:devel/gdcm HARDENING_DESC= Enables Build Hardening HARDENING_CMAKE_BOOL= ENABLE_BUILD_HARDENING JAVA_DESC= Enable Java Support JAVA_BUILD_DEPENDS= ant:devel/apache-ant JAVA_CMAKE_BOOL= BUILD_opencv_java BUILD_opencv_java_bindings_generator BUILD_JAVA JAVA_MAKE_ENV= JAVACMD=${JAVA} JAVA_USE= JAVA=yes LTO_DESC= Enables Link Time Optimizations LTO_CMAKE_BOOL= ENABLE_THIN_LTO OPENCL_DESC= Add OpenCL Support OPENCL_CMAKE_BOOL= WITH_OPENCL OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl OPENCL_RUN_DEPENDS= opencl>=0:devel/opencl PATENTED_DESC= Enable patented 2d feature detection USE AT OWN RISK PATENTED_CMAKE_BOOL= OPENCV_ENABLE_NONFREE PROTOBUF_DESC= Enable protobuf support, builds dnn modules PROTOBUF_CMAKE_BOOL= WITH_PROTOBUF PROTOBUF_LIB_DEPENDS= libprotobuf.so:devel/protobuf PYTHON_DESC= Enable Python Support 3.6 or greater PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_opencv_python3 PYTHON_CMAKE_ON= -DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} TBB_DESC= Add Intel Threading Building Blocks Support TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TESSERACT_DESC= Add Tesseract-based OCR TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CMAKE_BOOL= WITH_TESSERACT ### # GUI group options (GTK3 VTK) GTK3_USES= gnome GTK3_USE= gnome=gtk30,cairo,gdkpixbuf2 GTK3_CMAKE_BOOL= WITH_GTK VTK_DESC= Include VTK library support (build opencv_viz module) VTK_CMAKE_BOOL= WITH_VTK VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} VTK_USES= qt:5 VTK_USE= QT=buildtools:build,qmake:build ### # IMAGE group options (GPHOTO2 JPEG OPENEXR PNG TIFF) GPHOTO2_DESC= Add Gphoto2 Support GPHOTO2_CMAKE_BOOL= WITH_GPHOTO2 GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 JPEG_DESC= Add LibJpeg Support JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg OPENEXR_DESC= Add OpenEXR Support OPENEXR_CMAKE_BOOL= WITH_OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr PNG_DESC= Add LibPNG Support PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng16.so:graphics/png TIFF_DESC= Add LibTIFF Support TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff ### # VIDEO group options (DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE) DC1394_DESC= IEEE 1394 camera support DC1394_CMAKE_BOOL= WITH_1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 FFMPEG_DESC= Link with ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GSTREAMER_DESC= Add GSTREAMER Support GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER GSTREAMER_USES= gstreamer GSTREAMER_USE= gnome=glib20 V4L_DESC= Enable support for Video for Linux V4L_CMAKE_BOOL= WITH_V4L WITH_LIBV4L V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l VULKAN_DESC= Add Vulkan Support VULKAN_CMAKE_BOOL= WITH_VULKAN VULKAN_CMAKE_ON= -DVULKAN_INCLUDE_DIRS=${LOCALBASE}/include VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers WEBP_DESC= Add Webp Support WEBP_CMAKE_BOOL= WITH_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XINE_DESC= Add Xine Support XINE_CMAKE_BOOL= WITH_XINE XINE_LIB_DEPENDS= libxine.so:multimedia/libxine ### # BLAS group options (ATLAS OPENBLAS NOBLAS) ATLAS_DESC= ATLAS blas implementation with lapacke ATLAS_USES= blaslapack:atlas ATLAS_BUILD_DEPENDS= cblas>0:math/cblas \ lapacke>0:math/lapacke OPENBLAS_DESC= OpenBLAS blas implementation with lapacke OPENBLAS_USES= blaslapack:openblas OPENBLAS_BUILD_DEPENDS= cblas>0:math/cblas \ lapacke>0:math/lapacke NOBLAS_DESC= Disable support for lapack/blas NOBLAS_CMAKE_BOOL_OFF= WITH_LAPACK ### # JPEG2K group options (JASPER OPENJPEG) JASPER_DESC= Add Jasper Support for JPEG2000 JASPER_CMAKE_BOOL= WITH_JASPER JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_DESC= Add OpenJPEG Support for JPEG2000, OpenCV preferred OPENJPEG_CMAKE_BOOL= WITH_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg ### _IPPICV_i386= ippicv/ippicv_2020_lnx_ia32_20191018_general.tgz _IPPICV_amd64= ippicv/ippicv_2020_lnx_intel64_20191018_general.tgz .include .if ${ARCH} == powerpc64le && defined(MACHINE_CPU) && ${MACHINE_CPU:Mvsx3} CMAKE_ARGS+= -DCPU_BASELINE:STRING="VSX;VSX3;" .endif post-extract: # Handle contrib ${MV} ${WRKSRC_contrib} ${WRKSRC}/contrib # Handle prefetched ade modul ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ade ${MV} ${WRKSRC_ade} ${BUILD_WRKSRC}/3rdparty/ade # Handle prefetched xfeatures2d ${MKDIR} ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_boost_descr}/* ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_vgg}/* ${BUILD_WRKSRC}/downloads/xfeatures2d # Handle prefetched wechat ${MKDIR} ${BUILD_WRKSRC}/downloads/wechat_qrcode ${CP} ${WRKSRC_wechat}/* ${BUILD_WRKSRC}/downloads/wechat_qrcode/ # Handle Face ${MKDIR} ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face ${CP} ${WRKSRC_face}/* ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face # Handle ippicv .if defined(_IPPICV_${ARCH}) ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ippicv (cd ${BUILD_WRKSRC}/3rdparty/ippicv && ${EXTRACT_CMD} -xf ${WRKSRC_ippicv}/${_IPPICV_${ARCH}}) .endif post-patch: ${REINPLACE_CMD} -e 's|/usr/lib/atlas-base|${LOCALBASE}/lib|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake ${REINPLACE_CMD} -e 's|/usr/include/atlas|${LOCALBASE}/include|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index 1978f7379061..00249e66ff20 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -1,120 +1,120 @@ PORTNAME= opendx PORTVERSION= 4.4.4 -PORTREVISION= 38 +PORTREVISION= 39 CATEGORIES= graphics math java MASTER_SITES= http://www.sfr-fresh.com/unix/misc/ DISTNAME= dx-${PORTVERSION} MAINTAINER= stephen@FreeBSD.org COMMENT= IBM's Open Visualization Data Explorer WWW= http://www.opendx.org/ LICENSE= IBM-OVDX-v1 LICENSE_NAME= IBM PUBLIC LICENSE - Open Visualization Data Explorer VERSION 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= fails to link: undefined symbol: sbrk LIB_DEPENDS= libtiff.so:graphics/tiff \ libcdf.so:science/cdf USES= bison compiler:c++17-lang gl gmake libtool localbase:ldflags magick:6 motif xorg USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= x11 xt xinerama xext xpm xmu sm ice GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-shared CONFIGURE_ENV= ARCH=freebsd MAKE_JOBS_UNSAFE= yes CPPFLAGS+= ${CXXFLAGS} NO_MTREE= yes PKGMESSAGE= ${WRKDIR}/pkg-message PLIST_SUB= ARCH=freebsd .if defined(WITH_HDF) && !defined(WITHOUT_NETCDF) IGNORE= HDF and NETCDF are conflicting .endif .if defined(WITH_HDF) LIB_DEPENDS+= libmfhdf.so:science/hdf .else CONFIGURE_ARGS+= --without-hdf .endif .if !defined(WITHOUT_NETCDF) LIB_DEPENDS+= libnetcdf.so:science/netcdf .else CONFIGURE_ARGS+= --without-netcdf .endif .if defined(WITH_JAVA) ONLY_FOR_ARCHS= i386 USE_JAVA= yes BUILD_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer RUN_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer CONFIGURE_ARGS+= --with-cosmojar-path=${JAVALIBDIR}/npcosmop211.jar \ --with-java40jar-path=${JAVALIBDIR}/java40.jar \ --with-jni-path=${JAVA_HOME}/include:${JAVA_HOME}/include/freebsd PLIST_SUB+= JAVA="" DIR2PRUNE= dx/java/user dx/java/server/nets .else CONFIGURE_ARGS+= --without-javadx PLIST_SUB+= JAVA="@comment " .endif PLIST_SUB+= UNAMEP=${ARCH} .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) USES+= llvm:max=15 CONFIGURE_ENV+= ac_cv_requires_lstdcxx=yes CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include post-patch: @${RM} ${WRKSRC}/include/stamp-h.in .for dir in doc help html man @${FIND} ${WRKSRC}/${dir} -type f | ${XARGS} \ ${REINPLACE_CMD} -e "s;/usr/lpp;${PREFIX};g" .endfor @${REINPLACE_CMD} -e "s;/usr/X11R6;${LOCALBASE};g" \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|startserver.bat||" \ ${WRKSRC}/src/uipp/java/server/Makefile.in @${REINPLACE_CMD} -e 's|$$(ARCH)|@ARCH@|' \ ${WRKSRC}/src/misc/Makefile.* @${REINPLACE_CMD} -e 's/void exit (int);/[[noreturn]] void exit (int);/' \ ${WRKSRC}/configure for f in `find ${WRKSRC} -name "*.bm"`; do \ if [ $${f%/*} != "${WRKSRC}/src/uipp/widgets" ]; then \ ${REINPLACE_CMD} -E 's/0x(..)/static_cast(0x\1)/g' $$f; \ ${REINPLACE_CMD} -E 's/static unsigned char/static char/g' $$f; \ fi; \ done post-install: @${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} .if defined(WITH_JAVA) ${CHMOD} 0775 ${STAGEDIR}${PREFIX}/dx/java/server/nets ${TOUCH} ${DIR2PRUNE:S|^|${STAGEDIR}${PREFIX}/|:S|$|/.keepme|} @${ECHO} "---------------------------------------------------------" \ >> ${PKGMESSAGE} @${ECHO} "Before starting ${PREFIX}/dx/java/server/bin/startserver" \ >> ${PKGMESSAGE} @${ECHO} "you must install the port graphics/opendx-samples." \ >> ${PKGMESSAGE} .endif @${ECHO} "---------------------------------------------------------" \ >> ${PKGMESSAGE} .include diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 61970bccf156..a3ae97badaa4 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,145 +1,145 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.4.13.0 # PORTREVISION must be set with ?= so as not to stomp over # py-openimageio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 8 +PORTREVISION?= 9 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 \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libheif.so:graphics/libheif \ libturbojpeg.so:graphics/libjpeg-turbo \ 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 \ USE_Package 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} SHL3= ${PORTVERSION:R} SHL2= ${PORTVERSION:R:R} SHL1= ${PORTVERSION:R:R:R} post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," \ ${WRKSRC}/src/cmake/modules/FindPtex.cmake \ ${WRKSRC}/src/cmake/modules/FindJPEGTurbo.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.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL2} ${LN} -sf libOpenImageIO.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL1} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL2} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL1} do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${SETENV} ARGS=-V ${MAKE_CMD} test .endif # SLAVE_PORT .include diff --git a/graphics/openjpeg/Makefile b/graphics/openjpeg/Makefile index 514b2e0eb0bd..00f8e12f97fc 100644 --- a/graphics/openjpeg/Makefile +++ b/graphics/openjpeg/Makefile @@ -1,51 +1,52 @@ PORTNAME= openjpeg PORTVERSION= 2.5.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open-source JPEG 2000 codec WWW= https://www.openjpeg.org/ \ https://github.com/uclouvain/openjpeg LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake cpe localbase:ldflags jpeg pathfix pkgconfig CMAKE_OFF= BUILD_DOC \ BUILD_JAVA \ BUILD_JPIP \ BUILD_JPIP_SERVER \ BUILD_LUTS_GENERATOR \ BUILD_TESTING \ BUILD_THIRDPARTY \ BUILD_UNIT_TESTS \ BUILD_VIEWER \ WITH_ASTYLE CMAKE_ON= BUILD_CODEC \ BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} VER=${PORTVERSION:R} GH_ACCOUNT= uclouvain USE_GITHUB= yes CPE_VENDOR= uclouvain post-patch: # Clean up bundled libraries @${RM} -r ${WRKSRC}/thirdparty/astyle/ @${RM} -r ${WRKSRC}/thirdparty/include/ @${RM} -r ${WRKSRC}/thirdparty/liblcms2/ @${RM} -r ${WRKSRC}/thirdparty/libpng/ @${RM} -r ${WRKSRC}/thirdparty/libtiff/ @${RM} -r ${WRKSRC}/thirdparty/libz/ .include diff --git a/graphics/openjpeg15/Makefile b/graphics/openjpeg15/Makefile index 111b8498688f..f5518b32eb78 100644 --- a/graphics/openjpeg15/Makefile +++ b/graphics/openjpeg15/Makefile @@ -1,34 +1,34 @@ PORTNAME= openjpeg PORTVERSION= 1.5.2 DISTVERSIONPREFIX= version. -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics PKGNAMESUFFIX= 15 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open-source JPEG 2000 codec WWW= https://www.openjpeg.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake cpe USE_LDCONFIG= yes PORTDOCS= CHANGES LICENSE PLIST_SUB= PORTVERSION=${PORTVERSION} VER=${PORTVERSION:R} GH_ACCOUNT= uclouvain USE_GITHUB= yes CPE_VENDOR= uclouvain OPTIONS_DEFINE= DOCS .include diff --git a/graphics/openmvs/Makefile b/graphics/openmvs/Makefile index 947b766f3962..d80a12b00e86 100644 --- a/graphics/openmvs/Makefile +++ b/graphics/openmvs/Makefile @@ -1,48 +1,48 @@ PORTNAME= openmvs DISTVERSIONPREFIX= v DISTVERSION= 2.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Open Multi-View Stereo reconstruction library WWW= https://github.com/cdcseacave/openMVS LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN= compilation is broken because of the use of discontinued C++ features, see https://github.com/cdcseacave/openMVS/issues/1075 BROKEN_aarch64= use of undeclared identifier '__builtin_ia32_emms' # https://github.com/cdcseacave/openMVS/issues/847 BUILD_DEPENDS= cgal>0:math/cgal \ ${LOCALBASE}/include/sys/sysinfo.h:devel/libsysinfo \ vcglib>0:devel/vcglib LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libceres.so:math/ceres-solver \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libopencv_core.so:graphics/opencv \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake:testing compiler:c++17-lang eigen:3 jpeg USE_GITHUB= yes GH_ACCOUNT= cdcseacave GH_PROJECT= openMVS CMAKE_ON= BUILD_SHARED_LIBS OpenMVS_USE_CERES CMAKE_OFF= OpenMVS_BUILD_TOOLS # tools can't be built because of https://github.com/cdcseacave/openMVS/issues/846 CMAKE_OFF+= OpenMVS_ENABLE_TESTS CMAKE_ARGS= -DVCG_ROOT=${LOCALBASE}/include/vcglib CMAKE_TESTING_ON= OpenMVS_ENABLE_TESTS # tests fail to configure, see https://github.com/cdcseacave/openMVS/issues/911 .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DOpenMVS_USE_SSE:BOOL=OFF .endif .include diff --git a/graphics/openslide/Makefile b/graphics/openslide/Makefile index 35155364c22d..7ce3b7e58405 100644 --- a/graphics/openslide/Makefile +++ b/graphics/openslide/Makefile @@ -1,26 +1,26 @@ PORTNAME= openslide DISTVERSIONPREFIX= v DISTVERSION= 4.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= C library for reading virtual slide images WWW= https://openslide.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libdicom.so:graphics/libdicom \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff USES= gettext-runtime gnome jpeg meson pkgconfig sqlite USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 glib20 libxml2 USE_LDCONFIG= yes MESON_ARGS= -Ddoc=disabled .include diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile index 09e029452de5..6c18c15ca8e9 100644 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -1,163 +1,163 @@ PORTNAME= osg PORTVERSION= 3.6.5 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 67 +PORTREVISION= 68 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering WWW= https://www.openscenegraph.org/ LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph CONFLICTS_INSTALL=osg34 USES= alias cmake compiler:c11 jpeg gl pkgconfig xorg USE_GL= gl USE_XORG= x11 USE_LDCONFIG= yes USE_CXXSTD= c++11 CFLAGS+= -I${LOCALBASE}/include/Imath -DInt64=uint64_t PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=161 \ OPENTHREADS_VERSION=3.3.1 \ OPENTHREADS_SHLIBVER=21 OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF SDL ASIO \ SVG VNC XRANDR XINERAMA FONTCONFIG DCMTK COLLADA OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR XINERAMA FONTCONFIG OPTIONS_SUB= yes ASIO_DESC= ASIO support (resthttp plugin) GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support OPENCASCADE_DESC= OpenCASCADE format support DCMTK_DESC= DICOM format support COLLADA_DESC= COLLADA (dae) format support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CMAKE_BOOL= OSG_TEXT_USE_FONTCONFIG GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USES= gnome gstreamer GSTREAMER_USE= GNOME=glib20 GSTREAMER_VARS= FORCE_REQUIRE+="GStreamer GLIB" GSTREAMER_VARS_OFF= FORCE_IGNORE+="GStreamer GLIB" GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USES= gnome PDF_USE= GNOME=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib SDL_USES= sdl SDL_USE= SDL=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= GNOME=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XRANDR_CMAKE_BOOL= OSGVIEWER_USE_XRANDR XRANDR_USE= XORG=xrandr XINERAMA_CMAKE_BOOL= OSGVIEWER_USE_XINERAMA XINERAMA_USE= XORG=xinerama #OPENCASCADE_LIB_DEPENDS=libTKBRep.so:cad/opencascade #OPENCASCADE_VARS= FORCE_REQUIRE+=OpenCascade #OPENCASCADE_VARS_OFF= FORCE_IGNORE+=OpenCascade #OPENCASCADE_CMAKE_ARGS= -DOPENCASCADE_LIBRARY_TYPE="Shared" DCMTK_LIB_DEPENDS= libdcmrt.so:graphics/dcmtk \ libxml2.so:textproc/libxml2 \ libicuuc.so:devel/icu DCMTK_USES= ssl DCMTK_VARS= FORCE_REQUIRE+=DCMTK DCMTK_VARS_OFF= FORCE_IGNORE+=DCMTK #ILMBASE_LIB_DEPENDS= ${LOCALBASE}/lib/libImath.so:graphics/ilmbase #ILMBASE_VARS= FORCE_REQUIRE+=ilmbase #ILMBASE_VARS_OFF= FORCE_IGNORE+=ilmbase COLLADA_LIB_DEPENDS= libcollada-dom2.5-dp.so:devel/collada-dom \ libboost_filesystem.so:devel/boost-libs COLLADA_VARS= FORCE_REQUIRE+=COLLADA COLLADA_VARS_OFF= FORCE_IGNORE+=COLLADA ASIO_BUILD_DEPENDS= ${LOCALBASE}/include/asio.hpp:net/asio ASIO_VARS= FORCE_REQUIRE+=Asio ASIO_VARS_OFF= FORCE_IGNORE+=Asio ASIO_BROKEN= does not build: no member named 'get_io_service' in 'asio::basic_socket_acceptor' # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK FOX wxWidgets GtkGl SDL2 # only for examples FORCE_IGNORE+= FBX Inventor # not in ports FORCE_IGNORE+= ilmbase # not used FORCE_IGNORE+= OpenCascade # detection broken FORCE_IGNORE+= ZeroConf # no avahi support yet FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d; \ s|-pedantic||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/CMakeModules/FindFFmpeg.cmake .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/osg34/Makefile b/graphics/osg34/Makefile index a633f75a54a1..7dae2749e7b7 100644 --- a/graphics/osg34/Makefile +++ b/graphics/osg34/Makefile @@ -1,152 +1,152 @@ PORTNAME= osg PORTVERSION= 3.4.1 DISTVERSIONPREFIX= OpenSceneGraph- -PORTREVISION= 57 +PORTREVISION= 58 CATEGORIES= graphics PKGNAMESUFFIX= 34 MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++ OpenGL scene graph library for real-time rendering WWW= https://www.openscenegraph.org/ LICENSE= OSGPL LICENSE_NAME= OpenSceneGraph Public License LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= alias cmake compiler:c++11-lang gl jpeg localbase pkgconfig xorg USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= openscenegraph GH_PROJECT= OpenSceneGraph USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= x11 # needed to ensure build on gcc-based archs; harmless otherwise CXXFLAGS+= -Wno-narrowing -I${LOCALBASE}/include/Imath -DInt64=uint64_t CONFLICTS_INSTALL=osg PORTSCOUT= limitw:1,even PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=131 \ OPENTHREADS_VERSION=3.3.0 \ OPENTHREADS_SHLIBVER=20 OPTIONS_DEFINE= CURL FFMPEG FREETYPE GDAL GIF GSTREAMER GTA \ JASPER LIBLAS LUA NVTT OPENEXR PDF QT5 SDL \ SVG VNC XINE XRANDR OPTIONS_DEFAULT=FFMPEG FREETYPE GIF XRANDR OPTIONS_SUB= yes GDAL_DESC= GDAL support GTA_DESC= GTA file format support LIBLAS_DESC= liblas support NVTT_DESC= Use NVidia texture tools SDL_DESC= Use SDL (joystick support in present3d) VNC_DESC= LibVNCServer support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_VARS= FORCE_REQUIRE+=CURL CURL_VARS_OFF= FORCE_IGNORE+=CURL FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 FFMPEG_VARS= FORCE_REQUIRE+=FFmpeg FFMPEG_VARS_OFF= FORCE_IGNORE+=FFmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= FORCE_REQUIRE+=Freetype FREETYPE_VARS_OFF= FORCE_IGNORE+=Freetype GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDAL_VARS= FORCE_REQUIRE+=GDAL GDAL_VARS_OFF= FORCE_IGNORE+=GDAL GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_VARS= FORCE_REQUIRE+=GIFLIB GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB GSTREAMER_USES= gstreamer GSTREAMER_USE= GNOME=glib20 GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer GTA_LIB_DEPENDS= libgta.so:devel/libgta GTA_VARS= FORCE_REQUIRE+=GTA GTA_VARS_OFF= FORCE_IGNORE+=GTA JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_VARS= FORCE_REQUIRE+=Jasper JASPER_VARS_OFF= FORCE_IGNORE+=Jasper LIBLAS_LIB_DEPENDS= liblas.so:devel/liblas LIBLAS_VARS= FORCE_REQUIRE+=LIBLAS LIBLAS_VARS_OFF= FORCE_IGNORE+=LIBLAS LUA_USES= lua:52 LUA_CMAKE_ON= -DOSG_USE_LOCAL_LUA_SOURCE:BOOL=OFF LUA_VARS= FORCE_IGNORE+=Lua51 FORCE_REQUIRE+=Lua52 LUA_VARS_OFF= FORCE_IGNORE+="Lua51 Lua52" NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools NVTT_VARS= FORCE_REQUIRE+=NVTT NVTT_VARS_OFF= FORCE_IGNORE+=NVTT OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr libImath.so:math/Imath OPENEXR_VARS= FORCE_REQUIRE+=OpenEXR OPENEXR_VARS_OFF= FORCE_IGNORE+=OpenEXR PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= gnome=cairo PDF_VARS= FORCE_REQUIRE+=Poppler-glib PDF_VARS_OFF= FORCE_IGNORE+=Poppler-glib QT5_USES= qt:5 QT5_USE= qt=buildtools:build,core,gui,opengl,qmake:build,webkit,widgets QT5_CMAKE_ON= -DDESIRED_QT_VERSION=5 QT5_VARS= FORCE_REQUIRE+="Qt5Widgets Qt5WebKitWidgets" QT5_VARS_OFF= FORCE_IGNORE+="Qt5Widgets Qt5WebKitWidgets" SDL_USES= sdl SDL_USE= sdl=sdl SDL_VARS= FORCE_REQUIRE+=SDL SDL_VARS_OFF= FORCE_IGNORE+=SDL SVG_USES= gnome SVG_USE= gnome=cairo,librsvg2 SVG_VARS= FORCE_REQUIRE+=RSVG SVG_VARS_OFF= FORCE_IGNORE+=RSVG VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VNC_VARS= FORCE_REQUIRE+=LibVNCServer VNC_VARS_OFF= FORCE_IGNORE+=LibVNCServer XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= FORCE_REQUIRE+=Xine XINE_VARS_OFF= FORCE_IGNORE+=Xine XRANDR_USE= xorg=xrandr XRANDR_CMAKE_ON= -DOSGVIEWER_USE_XRANDR:BOOL=ON XRANDR_CMAKE_OFF= -DOSGVIEWER_USE_XRANDR:BOOL=OFF # GUI toolkits are only needed for building examples, which are not even installed FORCE_IGNORE= FLTK GLUT FOX Qt3 wxWidgets OpenAL GtkGl SDL2 # only for examples FORCE_IGNORE+= COLLADA Performer OurDCMTK XUL FBX # not in ports FORCE_IGNORE+= OpenVRML # ports version too old FORCE_IGNORE+= ITK # ports version doesn't build on 10.x FORCE_REQUIRE= Threads OpenGL X11 JPEG PNG TIFF ZLIB # common & lightweight .include .if ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DOSG_USE_QT:BOOL=ON PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DOSG_USE_QT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif post-patch: @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/FIND_LIBRARY.*DL_LIBRARY/ d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/CMakeModules/FindFFmpeg.cmake .for p in ${FORCE_REQUIRE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|)$$| REQUIRED&|' \ ${WRKSRC}/CMakeLists.txt .endfor .for p in ${FORCE_IGNORE} @${REINPLACE_CMD} -e '/FIND_PACKAGE.*${p}/ s|^|#|' \ ${WRKSRC}/CMakeLists.txt .endfor .include diff --git a/graphics/ossim/Makefile b/graphics/ossim/Makefile index 36023543fff9..464670dc412f 100644 --- a/graphics/ossim/Makefile +++ b/graphics/ossim/Makefile @@ -1,40 +1,40 @@ PORTNAME= ossim DISTVERSIONPREFIX= OrchidIsland- DISTVERSION= 2.11.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics geography MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Powerful suite of geospatial libraries and applications WWW= https://github.com/ossimlabs/ossim LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git LIB_DEPENDS= libgeos.so:graphics/geos \ libgeotiff.so:graphics/libgeotiff \ libjsoncpp.so:devel/jsoncpp \ libtiff.so:graphics/tiff \ libopenjp2.so:graphics/openjpeg \ libfreetype.so:print/freetype2 \ libOpenThreads.so:graphics/osg34 USES= cmake compiler:c++11-lang jpeg localbase USE_GITHUB= yes GH_ACCOUNT= ossimlabs USE_LDCONFIG= yes CMAKE_OFF= BUILD_OSSIM_APPS CMAKE_ARGS= -DBUILD_LIBRARY_DIR:STRING=lib \ -DLIBSUFFIX:STRING="" \ -DINSTALL_ARCHIVE_DIR:STRING=lib \ -DINSTALL_LIBRARY_DIR:STRING=lib \ -DOSSIM_INCLUDE_DIR:STRING=${WRKSRC}/include OPTIONS_DEFINE= TEST OPTIONS_SUB= yes TEST_CMAKE_BOOL= BUILD_OSSIM_TESTS .include diff --git a/graphics/p5-Graphics-TIFF/Makefile b/graphics/p5-Graphics-TIFF/Makefile index 99555a69a93a..bd56120332be 100644 --- a/graphics/p5-Graphics-TIFF/Makefile +++ b/graphics/p5-Graphics-TIFF/Makefile @@ -1,21 +1,22 @@ PORTNAME= Graphics-TIFF DISTVERSION= 20 +PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= cmt@FreeBSD.org COMMENT= Perl extension for the libtiff library WWW= https://metacpan.org/pod/Graphics::TIFF LICENSE= ARTPERL10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= p5-ExtUtils-Depends>0:devel/p5-ExtUtils-Depends \ p5-ExtUtils-PkgConfig>0:devel/p5-ExtUtils-PkgConfig LIB_DEPENDS= libtiff.so:graphics/tiff USES= perl5 USE_PERL5= configure .include diff --git a/graphics/p5-Imager/Makefile b/graphics/p5-Imager/Makefile index 84e02e29e64f..14f6af1b5065 100644 --- a/graphics/p5-Imager/Makefile +++ b/graphics/p5-Imager/Makefile @@ -1,33 +1,34 @@ PORTNAME= Imager PORTVERSION= 1.024 +PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for manipulating gray, color, and rgba format images WWW= https://metacpan.org/release/Imager LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libt1.so:devel/t1lib \ libtiff.so:graphics/tiff TEST_DEPENDS= p5-Inline>=0:devel/p5-Inline \ p5-Inline-C>=0:devel/p5-Inline-C USES= jpeg perl5 USE_PERL5= configure CONFIGURE_ENV= IM_CFLAGS="${CFLAGS}" \ IM_INCPATH=${LOCALBASE}/include \ IM_LIBPATH=${LOCALBASE}/lib post-install: ${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Imager -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/graphics/pfstools/Makefile b/graphics/pfstools/Makefile index f27dec5f433a..57bec14533da 100644 --- a/graphics/pfstools/Makefile +++ b/graphics/pfstools/Makefile @@ -1,112 +1,112 @@ PORTNAME= pfstools DISTVERSION= 2.1.0 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= fbsd@any.com.ru COMMENT= Tools for manipulating HDR images and video frames WWW= https://pfstools.sourceforge.net/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash CONFLICTS= pfstmo-1.* pfscalibration-1.* CFLAGS+= -I${LOCALBASE}/include/Imath LDFLAGS+= -lthr USES= cmake cpe tar:tgz dos2unix jpeg perl5 USE_CXXSTD= c++14 USE_PERL5= run USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ -DWITH_MATLAB=OFF \ -DBASH_EXECUTABLE:STRING=${LOCALBASE}/bin/bash \ -DPERL_EXECUTABLE:STRING=${PERL} DOS2UNIX_GLOB= *.txt *.cmake \ *.h *.c *.cpp \ *.1 MANCOMPRESSED= yes OPTIONS_DEFINE= TIFF OPENEXR IMAGEMAGICK NETPBM \ OCTAVE FFTW GSL \ ALIGN GLVIEW VIEW \ OPENMP OPTIONS_DEFAULT= TIFF FFTW GSL NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OCTAVE_DESC= Compile octave interface functions GSL_DESC= Use Gnu Scientific Libarary required for some TMOs ALIGN_DESC= Compile pfsalign, requires OpenCV w/NONFREE and libexif VIEW_DESC= Compile pfsview, requires QT5 GLVIEW_DESC= Compile pfsglview, requires GLUT TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff OPENEXR_CMAKE_BOOL= WITH_OpenEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath IMAGEMAGICK_CMAKE_BOOL= WITH_ImageMagick IMAGEMAGICK_USES= magick:6 NETPBM_CMAKE_BOOL= WITH_NetPBM NETPBM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm NETPBM_IMPLIES= TIFF OCTAVE_CMAKE_BOOL= WITH_Octave OCTAVE_PATCH_DEPENDS= octave-config:math/octave OCTAVE_BUILD_DEPENDS= mkoctfile:math/octave OCTAVE_RUN_DEPENDS= octave:math/octave OCTAVE_USES= shebangfix OCTAVE_CXXFLAGS= -std=c++11 FFTW_CMAKE_BOOL= WITH_FFTW FFTW_CMAKE_ON= -DFFTW_INCLUDE_DIRS=${LOCALBASE}/include FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float GSL_CMAKE_BOOL= WITH_GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl ALIGN_CMAKE_BOOL= WITH_OpenCV # requires NONFREE=on which isn't a default ALIGN_LIB_DEPENDS= libopencv_nonfree.so:graphics/opencv \ libexif.so:graphics/libexif GLVIEW_CMAKE_BOOL= WITH_pfsglview GLVIEW_CMAKE_ON= -DGLUT_INCLUDE_DIRS=${LOCALBASE}/include GLVIEW_USES= gl GLVIEW_USE= GL=glut GL=gl,glu VIEW_CMAKE_BOOL= WITH_QT VIEW_USES= gl qt:5 VIEW_USE= GL=glut GL=gl,glu QT=core,gui,widgets,buildtools:build,qmake:build .include .if ${PORT_OPTIONS:MIMAGEMAGICK} && !${PORT_OPTIONS:MOPENMP} USES+= compiler:c++11-lib .endif .if ${PORT_OPTIONS:MOCTAVE} OCTAVE_BASE?= ${LOCALBASE} OCTAVE_VERSION!=${OCTAVE_BASE}/bin/octave-config -v 2>&1 || ${ECHO} "0" OCTAVE_SITE_OCT!=${OCTAVE_BASE}/bin/octave-config --oct-site-dir 2>&1 || ${ECHO} "" OCTAVE_SITE_M!= ${OCTAVE_BASE}/bin/octave-config --m-site-dir 2>&1 || ${ECHO} "" PLIST_SUB= OCTAVE_BASE=${OCTAVE_BASE} \ OCTAVE_SITE_M=${OCTAVE_SITE_M:S|^${OCTAVE_BASE}/||} \ OCTAVE_SITE_OCT=${OCTAVE_SITE_OCT:S|^${OCTAVE_BASE}/||} SHEBANG_FILES= src/octave/pfs* SHEBANG_LANG= octave octave_OLD_CMD?=/usr/bin/octave octave_CMD?= ${OCTAVE_BASE}/bin/octave-cli .endif .include diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile index c56c9610551b..f80d3e8f5186 100644 --- a/graphics/pixie/Makefile +++ b/graphics/pixie/Makefile @@ -1,66 +1,66 @@ PORTNAME= pixie PORTVERSION= 2.2.6 -PORTREVISION= 40 +PORTREVISION= 41 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION} DISTNAME= Pixie-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Photorealistic renderer with Pixar's RenderMan-like interface WWW= https://sourceforge.net/projects/pixie/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_armv6= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_armv7= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer BROKEN_riscv64= fails to compile: ri/atomic.h:149:9: use of undeclared identifier CRenderer LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libtiff.so:graphics/tiff \ libfltk_gl.so:x11-toolkits/fltk USES= autoreconf bison compiler:c++0x gl libtool pathfix tar:tgz USE_CXXSTD= c++14 USE_GL= glu GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --includedir=${PREFIX}/include/pixie \ --libdir=${PREFIX}/lib/pixie \ --with-docdir=${DOCSDIR} \ --with-shaderdir=${DATADIR}/shaders \ --with-ribdir=${DATADIR}/ribs \ --with-texturedir=${DATADIR}/textures \ --with-displaysdir=${PREFIX}/lib/pixie/displays \ --with-modulesdir=${PREFIX}/lib/pixie/modules \ --with-openexr-prefix=${LOCALBASE} \ --enable-openexr-threads WRKSRC= ${WRKDIR}/Pixie INSTALL_TARGET= install-strip USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} PORTDOCS= * CFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/Imath LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/test/s|==|=|g ; \ s|-lpthread|-pthread|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \ ${WRKSRC}/src/ri/Makefile.am \ ${WRKSRC}/src/sdr/Makefile.am post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog DEVNOTES NEWS \ README ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ '! -name "*Makefile*"') .include diff --git a/graphics/podofo/Makefile b/graphics/podofo/Makefile index 6da96dc23b37..f1c74fd5000a 100644 --- a/graphics/podofo/Makefile +++ b/graphics/podofo/Makefile @@ -1,55 +1,56 @@ PORTNAME= podofo PORTVERSION= 0.10.3 +PORTREVISION= 1 CATEGORIES= graphics print MAINTAINER= sunpoet@FreeBSD.org COMMENT= PDF manipulation library and tools WWW= https://podofo.sourceforge.net/ \ https://github.com/podofo/podofo LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= fast_float>=0:math/fast_float \ date>=0:devel/date \ libfmt>=0:devel/libfmt \ utf8cpp>=4.0.3:devel/utf8cpp LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libidn.so:dns/libidn USES= cmake compiler:c++17-lang cpe gnome localbase:ldflags pkgconfig ssl USE_GNOME= libxml2 CFLAGS+= -I${LOCALBASE}/include/fast_float CMAKE_ARGS= -DFONTCONFIG_LIBRARIES=${LOCALBASE}/lib/libfontconfig.so \ -DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \ -DOPENSSL_LIBRARIES=${OPENSSLLIB} CMAKE_OFF= PODOFO_BUILD_EXAMPLES PODOFO_BUILD_LIB_ONLY PODOFO_BUILD_STATIC PODOFO_BUILD_TEST PODOFO_BUILD_TOOLS CMAKE_TESTING_ON= PODOFO_BUILD_TEST USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} USE_GITHUB= yes CPE_VENDOR= podofo_project OPTIONS_DEFINE= JPEG PNG TIFF OPTIONS_DEFAULT=JPEG PNG TIFF JPEG_CMAKE_BOOL= WANT_LIBJPEG JPEG_USES= jpeg PNG_CMAKE_BOOL= WANT_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png TIFF_CMAKE_BOOL= WANT_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff post-patch: # Clean up bundled libraries @${RM} ${WRKSRC}/3rdparty/fast_float.h @${RM} -r ${WRKSRC}/3rdparty/date/ @${RM} -r ${WRKSRC}/3rdparty/fmt/ @${RM} -r ${WRKSRC}/3rdparty/utf8cpp/ .include diff --git a/graphics/podofo09/Makefile b/graphics/podofo09/Makefile index f486d6298bb9..88960f508743 100644 --- a/graphics/podofo09/Makefile +++ b/graphics/podofo09/Makefile @@ -1,58 +1,58 @@ PORTNAME= podofo PORTVERSION= 0.9.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics print MASTER_SITES= SF PKGNAMESUFFIX= 09 MAINTAINER= sunpoet@FreeBSD.org COMMENT= PDF manipulation library and tools WWW= https://podofo.sourceforge.net/ \ https://github.com/podofo/podofo LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libidn.so:dns/libidn USES= cmake compiler:c++11-lang cpe dos2unix pkgconfig ssl CMAKE_ARGS= -DFONTCONFIG_LIBRARIES=${LOCALBASE}/lib/libfontconfig.so \ -DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \ -DOPENSSL_LIBRARIES=${OPENSSLLIB} CMAKE_ON= PODOFO_BUILD_SHARED PODOFO_BUILD_STATIC USE_LDCONFIG= yes CPE_VENDOR= podofo_project DOS2UNIX_FILES= cmake/modules/FindFREETYPE.cmake OPTIONS_DEFINE= IMPOSE JPEG PNG TIFF UNISTRING OPTIONS_DEFAULT=JPEG PNG TIFF UNISTRING IMPOSE_DESC= Build impose tool (Lua required) UNISTRING_DESC= Use libunistring for conversion IMPOSE_CMAKE_BOOL= WANT_LUA IMPOSE_CXXFLAGS= -I${LUA_INCDIR} IMPOSE_LDFLAGS= -L${LUA_LIBDIR} IMPOSE_USES= lua JPEG_CMAKE_BOOL= WANT_LIBJPEG JPEG_USES= jpeg PNG_CMAKE_BOOL= WANT_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png TIFF_CMAKE_BOOL= WANT_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff UNISTRING_CMAKE_BOOL= WANT_UNISTRING UNISTRING_LIB_DEPENDS= libunistring.so:devel/libunistring post-patch: @${REINPLACE_CMD} -e '/^#include/s|podofo/podofo.h|podofo09/podofo.h|' \ ${WRKSRC}/examples/pdfcontentsgraph/PdfContentsGraph.h @${REINPLACE_CMD} -e '/^#include/s|podofo/base|podofo09/base|' \ ${WRKSRC}/src/podofo/doc/* \ ${WRKSRC}/src/podofo/base/PdfExtension.h @${RLN} ${WRKSRC}/src/podofo ${WRKSRC}/src/podofo09 .include diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index 6701da5fca5f..db03ad8217e7 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -1,114 +1,115 @@ PORTNAME= poppler DISTVERSION= 24.02.0 +PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= https://poppler.freedesktop.org/ MAINTAINER?= desktop@FreeBSD.org COMMENT?= PDF rendering library WWW= https://poppler.freedesktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libnspr4.so:devel/nspr \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libfontconfig.so:x11-fonts/fontconfig \ libgpgmepp.so:security/gpgme-cpp BUILD_DEPENDS= ${LOCALBASE}/include/boost/container/small_vector.hpp:devel/boost-libs \ gsed:textproc/gsed RUN_DEPENDS= poppler-data>0:graphics/poppler-data USES= cmake:insource compiler:c++17-lang cpe gnome gperf jpeg libtool \ localbase pathfix pkgconfig tar:xz CPE_VENDOR= freedesktop USE_GNOME= cairo libxml2 USE_LDCONFIG= yes CMAKE_ON= ENABLE_LIBJPEG \ ENABLE_LIBPNG \ ENABLE_LIBTIFF \ ENABLE_UNSTABLE_API_ABI_HEADERS \ ENABLE_ZLIB \ ENABLE_NSS \ ENABLE_SPLASH CMAKE_OFF= BUILD_GTK_TESTS # Ensure that path ordering does not lead to openjpeg15 being found and picked # instead of openjpeg2 on systems that have both installed # Note: since f3ba77e14cac05d43caf35100848eeaee3bc64b4 graphics/openjpeg15 installs # its cmake files to ${PREFIX}/lib/openjpeg15 CMAKE_ARGS+= -DCMAKE_IGNORE_PATH:PATH=${PREFIX}/lib/openjpeg-1.5 # Slave ports. _POPPLER_SLAVES= library glib qt5 qt6 utils _SLAVE_PORT?= library BINARY_ALIAS= gperf=${GPERF} \ sed=${LOCALBASE}/bin/gsed # Activate the wanted module, and deactivate the others. CMAKE_ON+= ENABLE_${_SLAVE_PORT:tu} CMAKE_OFF+= ${_POPPLER_SLAVES:N${_SLAVE_PORT}:tu:S/^/ENABLE_/} .if ${_SLAVE_PORT} == library PORTSCOUT= limitw:1,even USES+= iconv CMAKE_ON+= ENABLE_CPP PLIST_SUB+= SHLIB_VER=134 OPTIONS_DEFINE= CURL OPENJPEG OPTIONS_DEFAULT= OPENJPEG OPTIONS_SUB= yes .else PORTSCOUT= ignore:1 LIB_DEPENDS+= libpoppler.so:graphics/poppler PKGNAMESUFFIX= -${_SLAVE_PORT} BUILD_WRKSRC= ${WRKSRC}/${_SLAVE_PORT} INSTALL_WRKSRC= ${WRKSRC}/${_SLAVE_PORT} CMAKE_ARGS+= -DENABLE_LIBOPENJPEG:STRING="none" \ -DENABLE_LIBCURL:BOOL=FALSE . if ${_SLAVE_PORT} == glib USES+= python:build USE_GNOME+= glib20 introspection:Build BINARY_ALIAS+= python3=${PYTHON_CMD} . elif ${_SLAVE_PORT} == qt5 USES+= qt:5 USE_QT= core gui widgets xml \ buildtools:build qmake:build testlib:build . elif ${_SLAVE_PORT} == qt6 USES+= gl qt:6 USE_GL+= gl opengl USE_QT= base . elif ${_SLAVE_PORT} == utils LIB_DEPENDS+= libpoppler-glib.so:graphics/poppler-glib USES+= gnome . endif .endif CURL_CMAKE_BOOL= ENABLE_LIBCURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_ON= -DENABLE_LIBOPENJPEG:STRING="openjpeg2" OPENJPEG_CMAKE_OFF= -DENABLE_LIBOPENJPEG:STRING="none" post-install: .if ${_SLAVE_PORT} == glib ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .elif ${_SLAVE_PORT} == qt5 ${INSTALL_DATA} ${WRKSRC}/poppler-qt5.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .elif ${_SLAVE_PORT} == qt6 ${INSTALL_DATA} ${WRKSRC}/poppler-qt6.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .endif .include diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile index 6b1d9eb6d27d..57f0f980f7e6 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -1,82 +1,82 @@ PORTNAME= povray DISTVERSIONPREFIX= v DISTVERSION= 3.7.0.10 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics PKGNAMESUFFIX= 37 MAINTAINER= bsd@philippost.de COMMENT= Persistence of Vision Ray Tracer WWW= https://www.povray.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= autoreconf:build compiler:c11 gmake USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= POV-Ray GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= COMPILED_BY=${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R} \ --program-transform-name='s/povray/${PKGBASE}/' \ --disable-optimiz VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} OPTIONS_DEFINE= X11 PNG JPEG TIFF OPENEXR IO EXAMPLES DOCS OPTIONS_DEFAULT=PNG JPEG OPTIONS_SUB= yes IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --without-jpeg OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CONFIGURE_WITH= openexr PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= libpng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= libtiff X11_USES= sdl xorg X11_USE= XORG=xpm,sm,ice,x11 SDL=sdl X11_CONFIGURE_OFF= --without-x .include .if !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MTIFF} CONFIGURE_ARGS+=NON_REDISTRIBUTABLE_BUILD=yes .endif PORTDOCS= * PORTEXAMPLES= * post-patch: ${REINPLACE_CMD} -e 's|@@EXAMPLESDIR@@|${EXAMPLESDIR}|' \ -e 's|@@ETCDIR@@|${ETCDIR}|' \ ${WRKSRC}/unix/povray.conf pre-configure: cd ${WRKSRC}/unix && ./prebuild.sh post-install: ${MV} ${STAGEDIR}${DATADIR}/scenes ${STAGEDIR}${EXAMPLESDIR} .for i in povray.conf povray.ini ${MV} ${STAGEDIR}${ETCDIR}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor .include diff --git a/graphics/povray38/Makefile b/graphics/povray38/Makefile index c35c1b841a2d..976a04a4f2ec 100644 --- a/graphics/povray38/Makefile +++ b/graphics/povray38/Makefile @@ -1,76 +1,76 @@ PORTNAME= povray DISTVERSIONPREFIX= v DISTVERSION= 3.8.0-beta.2 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= https://github.com/POV-Ray/povray/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ PKGNAMESUFFIX= 38 DISTNAME= povunix-${DISTVERSIONPREFIX}${DISTVERSION}-src MAINTAINER= bsd@philippost.de COMMENT= Persistence of Vision Ray Tracer v3.8.0 Beta 2 WWW= https://www.povray.org/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= compiler:c++14-lang gmake USE_CXXSTD= c++14 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share WRKSRC= ${WRKDIR}/${DISTNAME} VERSION_BASE= ${DISTVERSION:C/([0-9]+\.[0-9]+).*/\1/} DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION-BASE} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} CONFIGURE_ARGS= --disable-optimiz \ --program-transform-name='s/povray/${PKGBASE}/' \ COMPILED_BY=${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R} OPTIONS_DEFINE= DOCS EXAMPLES IO JPEG OPENEXR PNG TIFF \ X11 OPTIONS_DEFAULT= JPEG PNG TIFF OPTIONS_SUB= yes IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --without-libjpeg OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CONFIGURE_WITH= openexr PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= libpng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= libtiff X11_USES= sdl xorg X11_USE= SDL=sdl \ XORG=ice,sm,x11,xpm X11_CONFIGURE_OFF= --without-x .include .if !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MTIFF} CONFIGURE_ARGS+= NON_REDISTRIBUTABLE_BUILD=yes .endif post-install: ${MV} ${STAGEDIR}${DATADIR}/scenes ${STAGEDIR}${EXAMPLESDIR} .for file in povray.conf povray.ini ${MV} ${STAGEDIR}${ETCDIR}/${file} ${STAGEDIR}${ETCDIR}/${file}.sample .endfor .include diff --git a/graphics/proj/Makefile b/graphics/proj/Makefile index dd1d0fd131dd..48799b5c95bc 100644 --- a/graphics/proj/Makefile +++ b/graphics/proj/Makefile @@ -1,25 +1,26 @@ PORTNAME= proj PORTVERSION= 9.4.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics geography MASTER_SITES= https://download.osgeo.org/proj/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Cartographic Projections library WWW= https://github.com/OSGeo/PROJ LICENSE= MIT #LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libtiff.so:graphics/tiff #RUN_DEPENDS= proj-data>=0:graphics/proj-data USES= compiler:c++11-lang cmake cpe libtool pathfix pkgconfig sqlite USE_LDCONFIG= yes CMAKE_OFF= BUILD_TESTING CPE_VENDOR= proj_project .include diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile index 8dec1f895545..d4a9c4578269 100644 --- a/graphics/py-pillow/Makefile +++ b/graphics/py-pillow/Makefile @@ -1,79 +1,80 @@ PORTNAME= pillow PORTVERSION= 10.3.0 +PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fork of the Python Imaging Library (PIL) WWW= https://python-pillow.org/ \ https://github.com/python-pillow/Pillow LICENSE= PIL LICENSE_NAME= Standard PIL License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} USES= cpe jpeg localbase python USE_PYTHON= autoplist concurrent pep517 CPE_VENDOR= python OPTIONS_DEFINE= FREETYPE IMAGEQUANT JPEG2000 LCMS OLE PNG RAQM TIFF TKINTER WEBP XCB OPTIONS_DEFAULT=FREETYPE IMAGEQUANT JPEG2000 LCMS OLE PNG RAQM TIFF TKINTER WEBP XCB IMAGEQUANT_DESC= Image Quantization support LCMS_DESC= Little Color Management System OLE_DESC= Microsoft OLE2 file format support RAQM_DESC= Complex text layout support TKINTER_DESC= Tkinter (Tcl/Tk) BitmapImage & PhotoImage support XCB_DESC= X11 screengrab support FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= PYDISTUTILS_BUILDARGS+=--enable-freetype FREETYPE_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-freetype IMAGEQUANT_LIB_DEPENDS= libimagequant.so:graphics/libimagequant IMAGEQUANT_VARS= PYDISTUTILS_BUILDARGS+=--enable-imagequant IMAGEQUANT_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-imagequant JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG2000_VARS= PYDISTUTILS_BUILDARGS+=--enable-jpeg2000 JPEG2000_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-jpeg2000 LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS_VARS= PYDISTUTILS_BUILDARGS+=--enable-lcms LCMS_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-lcms OLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}olefile>=0:devel/py-olefile@${PY_FLAVOR} PNG_VARS= PYDISTUTILS_BUILDARGS+=--enable-zlib PNG_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-zlib RAQM_LIB_DEPENDS= libraqm.so:print/libraqm RAQM_VARS= PYDISTUTILS_BUILDARGS+=--enable-raqm RAQM_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-raqm TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_VARS= PYDISTUTILS_BUILDARGS+=--enable-tiff TIFF_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-tiff TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKINTER_USES= tk TKINTER_VARS= PYDISTUTILS_BUILDARGS+="--include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR}" WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_VARS= PYDISTUTILS_BUILDARGS+="--enable-webp --enable-webpmux" WEBP_VARS_OFF= PYDISTUTILS_BUILDARGS+="--disable-webp --disable-webpmux" XCB_USE= XORG=xcb XCB_USES= xorg XCB_VARS= PYDISTUTILS_BUILDARGS+=--enable-xcb XCB_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-xcb .include PYDISTUTILS_BUILD_TARGET= build build_ext PYDISTUTILS_BUILDARGS+= saveopts post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + do-test: cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} selftest.py .include diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile index 6efdf5649222..64c07eb1dbfb 100644 --- a/graphics/qiv/Makefile +++ b/graphics/qiv/Makefile @@ -1,36 +1,36 @@ PORTNAME= qiv PORTVERSION= 2.3.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= http://spiegl.de/qiv/download/ \ http://www.predatorlabs.net/dl/ MAINTAINER= danilo@FreeBSD.org COMMENT= Small, fast GDK/Imlib2 image viewer WWW= https://spiegl.de/qiv/ LICENSE= GPLv2 LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ liblcms2.so:graphics/lcms2 \ libexif.so:graphics/libexif \ libtiff.so:graphics/tiff USES= gmake gnome jpeg pkgconfig tar:tgz xorg USE_GNOME= cairo gdkpixbuf2 gtk20 PLIST_FILES= bin/qiv share/man/man1/qiv.1.gz USE_XORG+= x11 xext do-configure: @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|; \ s|gcc|${CC}|; \ s|-O2|${CFLAGS}|; \ s|libs-gdk`|libs-gdk` ${LDFLAGS}|;' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qiv ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/graphics/qt5-imageformats/Makefile b/graphics/qt5-imageformats/Makefile index 104cded4f688..6a256be0c216 100644 --- a/graphics/qt5-imageformats/Makefile +++ b/graphics/qt5-imageformats/Makefile @@ -1,19 +1,20 @@ PORTNAME= imageformats PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt plugins for additional image formats LIB_DEPENDS= libjasper.so:graphics/jasper \ libmng.so:graphics/libmng \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= compiler:c++11-lang localbase qmake qt-dist:5,imageformats USE_QT= core gui buildtools:build CXXFLAGS+= -Dregister= .include diff --git a/graphics/qt6-imageformats/Makefile b/graphics/qt6-imageformats/Makefile index 089524f14b3f..9980caaac76d 100644 --- a/graphics/qt6-imageformats/Makefile +++ b/graphics/qt6-imageformats/Makefile @@ -1,21 +1,22 @@ PORTNAME= imageformats DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= graphics PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt6 plugins for additional image formats: TIFF, MNG, TGA, WBMP BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libjasper.so:graphics/jasper \ libmng.so:graphics/libmng \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake compiler:c++17-lang gl jpeg pkgconfig \ qt-dist:6 USE_GL= opengl USE_QT= base USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .include diff --git a/graphics/raster3d/Makefile b/graphics/raster3d/Makefile index 4aebdce7e2f0..b864873dc1db 100644 --- a/graphics/raster3d/Makefile +++ b/graphics/raster3d/Makefile @@ -1,68 +1,68 @@ PORTNAME= raster3d DISTVERSION= 3.0.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics biology MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/ DISTNAME= Raster3D_${DISTVERSION:R}-${DISTVERSION:E} MAINTAINER= yuri@FreeBSD.org COMMENT= Set of tools for generating raster images of proteins and molecules WWW= http://skuld.bmsc.washington.edu/raster3d/ LICENSE= ART20 LIB_DEPENDS= libgd.so:graphics/gd \ libtiff.so:graphics/tiff USES= fortran MAKE_ARGS= INCDIRS="-I${LOCALBASE}/include" LIBDIRS="-L${LOCALBASE}/lib" \ CC="${CC}" CFLAGS="${CFLAGS}" FC="${FC}" FFLAGS="${FFLAGS}" \ RM="${RM}" OS="${OPSYS}" MAKE_JOBS_UNSAFE= yes CFLAGS+= -DLINUX -DNETWORKBYTEORDER -Dgfortran FFLAGS+= -std=legacy -fno-range-check -ffixed-line-length-132 PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= IMAGEMAGICK DOCS EXAMPLES OPTIONS_DEFAULT=IMAGEMAGICK OPTIONS_SUB= yes IMAGEMAGICK_USES= magick:6,run .include .if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10 FFLAGS+= -fallow-invalid-boz .endif pre-build: # generation of Makefile.incl has to be separate from 'make all', otherwise the generated Makefile.incl isn't read by 'make all' @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} linux do-install: .for f in avs2ps balls normal3d rastep render ribbon rings3d rods ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_SCRIPT} ${WRKSRC}/worms ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/*.l ${STAGEDIR}${PREFIX}/share/man/manl @${MKDIR} ${STAGEDIR}${DATADIR}/materials ${INSTALL_DATA} ${WRKSRC}/materials/* ${STAGEDIR}${DATADIR}/materials do-install-IMAGEMAGICK-on: .for f in label3d stereo3d ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/R3D_manual.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} @${RM} -r ${STAGEDIR}${EXAMPLESDIR}/msms/CVS .include diff --git a/graphics/rawstudio/Makefile b/graphics/rawstudio/Makefile index 3a9d344b44b1..1e403c2b6b6e 100644 --- a/graphics/rawstudio/Makefile +++ b/graphics/rawstudio/Makefile @@ -1,52 +1,52 @@ PORTNAME= rawstudio PORTVERSION= 2.0 -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= graphics MASTER_SITES= http://rawstudio.org/files/release/ MAINTAINER= samm@FreeBSD.org COMMENT= Open-source program to read and manipulate RAW photo images WWW= https://rawstudio.org/ LICENSE= GPLv2+ BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libcurl.so:ftp/curl \ liblcms.so:graphics/lcms \ libexiv2.so:graphics/exiv2 \ libdbus-1.so:devel/dbus \ libfftw3f.so:math/fftw3-float \ libflickcurl.so:www/flickcurl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgphoto2.so:graphics/libgphoto2 \ libharfbuzz.so:print/harfbuzz \ liblensfun.so:graphics/lensfun \ libpng.so:graphics/png \ libraptor2.so:textproc/raptor2 \ libtiff.so:graphics/tiff USES= compiler:c++11-lang cpe desktop-file-utils gmake gnome \ jpeg libtool localbase pathfix pkgconfig sqlite xorg USE_GNOME= cairo gconf2 gdkpixbuf2 gtk20 libxml2 USE_LDCONFIG= yes USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CXXFLAGS+= -Wno-c++11-narrowing OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e '/^pkg_modules=/s,libssl,gthread-2.0,' \ ${WRKSRC}/configure # lensfun 0.3.0 had removed support for LF_MODIFY_CCI @${REINPLACE_CMD} -e 's, | LF_MODIFY_CCI,,' \ ${WRKSRC}/plugins/lensfun/lensfun.c .include diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile index bb85be8aaa56..f415b7f66636 100644 --- a/graphics/rawtherapee/Makefile +++ b/graphics/rawtherapee/Makefile @@ -1,196 +1,196 @@ PORTNAME= rawtherapee PORTVERSION= 5.10 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://rawtherapee.com/shared/source/ \ LOCAL/mandree/ MAINTAINER= mandree@FreeBSD.org COMMENT= Powerful RAW image processing application WWW= https://www.rawtherapee.com/ LICENSE= GPLv3 LIB_DEPENDS= \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libiptcdata.so:graphics/libiptcdata \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libpng.so:graphics/png \ libsigc-2.0.so:devel/libsigc++20 \ libtiff.so:graphics/tiff # We cannot use gcc-c++11-lib as of 2024-02-23 because # Uses/compiler.mk would use the default compiler instead # as though USE_GCC=yes had been set. USES= cmake desktop-file-utils compiler:c++11-lib gnome \ jpeg localbase:ldflags pkgconfig tar:xz # Older clang versions (for instance clang 9.0, as of 2019-09-29), # were known to miscompile RawTherapee, causing SIGSEGV or SIBGUS. # As of 2024-02, GCC-12.3 compiled RawTherapee appears to be # up to twice as fast as clang-16.0 compiled code. # So we shall stick to a modern GCC for now. # # Unfortunately, we can't even upgrade to GCC 13 because that fails # with our header files, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273682 USE_GCC= 12 USE_GNOME= gtkmm30 librsvg2 _LTO_FLAGS= -flto=${MAKE_JOBS_NUMBER} # gcc needs -flto=${MAKE_JOBS_NUMBER} for parallel link (fixed in GCC 10?) # and does not understand -flto=thin # # llvm/clang needs -flto=thin and will automatically parallelize the link # Fix : # 11.x has binutils that don't accept a --plugin option, # and gcc-ar9 appears to grab those, so make sure that USE_BINUTILS # override those in /usr/bin which usually is first in the PATH, # before ${LOCALBASE}/bin. # (For some reason, poudriere does not trigger this.) BINARY_ALIAS+= ar=${AR} ranlib=${RANLIB} # _AR= ${CC:S/gcc/gcc-ar/} _RANLIB= ${CC:S/gcc/gcc-ranlib/} CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}" \ -DCREDITSDIR="${DOCSDIR}" \ -DLICENCEDIR="${DOCSDIR}" \ -DDESKTOPDIR="${DESKTOPDIR}" \ -DDATADIR="${DATADIR}" \ -DCACHE_NAME_SUFFIX="" \ -Wno-dev \ -DCMAKE_AR:FILEPATH=${_AR} \ -DCMAKE_RANLIB:FILEPATH=${_RANLIB} \ -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default # any more. The CMP0056 policy must be explicitly set to NEW to ensure # linker flags are passed. Else -lomp is not found with clang. # See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html CFLAGS+= -I${LOCALBASE}/include -fPIC ${_OPT_FLAGS} LDFLAGS+= -Wl,--as-needed -lpthread ${_OPT_FLAGS} .if defined(PACKAGE_BUILDING) && empty(CFLAGS:M-march*) && (${ARCH} == i386 || ${ARCH} == amd64 || ${ARCH} == aarch64) # this gets translated to -mtune=generic, see ${WRKSRC}/ProcessorTargets.cmake # and as of GCC 8.3, it appears that among FreeBSD's supported architectures, # only the three listed above support this GCC option. CMAKE_ARGS+= -DPROC_TARGET_NUMBER="1" .endif # For gcc-based builds, rawtherapee's cmake ends up with GCC's absolute path # in the CC/CXX variables, effectively disabling ccache. Wrap compiler in ccache explicitly. # CCACHE_ENABLED does not get enabled soon enough as of dceadb6b0011 in February 2024, # so we need to re-do what bsd.ccache.mk does. # See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277204 # NB: When changing this, make sure that the compiler is still wrapped by ccache! .if "${WITH_CCACHE_BUILD}" == "yes" && !defined(NO_CCACHE) CMAKE_ARGS+= -DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \ -DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN} .endif OPTIONS_DEFINE= DOCS NATIVE LTO OPTIONS_DEFINE_amd64= OPENMP OPTIONS_DEFINE_i386= OPENMP OPTIONS_DEFAULT= OPENMP LTO NATIVE_DESC= Use -march=native (avoid for generic packages!) OPENMP_DESC= Enable OpenMP parallel processing (i386/amd64 only) LTO_CFLAGS= ${_LTO_FLAGS} LTO_LDFLAGS= ${_LTO_FLAGS} NATIVE_CMAKE_ON= -DPROC_TARGET_NUMBER="2" OPENMP_CMAKE_BOOL= OPTION_OMP OPENMP_LDFLAGS= -lm -lomp .include # ------------------------------------------------------------------- .if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1500000) # don't waste everybody's time with Tier-2 and moving targets. ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON=only amd64 is supported on non-released FreeBSD versions .endif .if defined(WITH_DEBUG) STRIP= CMAKE_BUILD_TYPE= None # Arch Linux packaging trick to avoid cmake overriding our flags _OPT_FLAGS= -ggdb3 -Og # -Og is GCC-specific, use -O1 for clang .else _OPT_FLAGS= -O3 -funroll-loops .endif # x86_64/amd64 includes -msse2 by default .if ${ARCH} == i386 # -mstackrealign: workaround for values passed on the stack that cause SIGBUS on SSE2 # -msse2: SSE2 has been around since the year 2003 latest _OPT_FLAGS+= -msse2 _OPT_FLAGS+= -mstackrealign .endif # ------------------------------------------------------------------- .include .if ${COMPILER_FEATURES:Mlibc++} CXXFLAGS+= -stdlib=libc++ .endif post-patch: @${REINPLACE_CMD} -e 's#DESTINATION "$${CMAKE_INSTALL_PREFIX}/share/man/man1"#DESTINATION "${PREFIX}/share/man/man1/"#' \ ${WRKSRC}/CMakeLists.txt TESTIMAGES= ${MASTERDIR}/testimages # paranoia: run rawtherapee to be sure it finds all its # shared libraries (this hinges on proper RPATH setting and propagation) # # _check_version strips stuffixes from distnames etc. that do not appear # in the program's version numbering _check_version= ${PKGVERSION:C/.g0//} _env= LANG= LC_ALL=C LANGUAGE= DISPLAY= HOME="$$TMP" RT_SETTINGS=${WRKDIR}/rt-config RT_CACHE="$$TMP/rtcache" post-install: @${RM} -f ${WRKDIR}/selftest.exitcodes ${WRKDIR}/selftest.expect @(set -e; _mp=$$(/bin/df -P ${STAGEDIR}${PREFIX}/bin/rawtherapee | ${AWK} 'NR==2{print $$NF}') ; \ _fsflags=$$(${MOUNT} -p | ${AWK} "{ if (\$$2 == \"$$_mp\") { print \$$4 } }") ; \ case $$_fsflags in *noexec*) \ ${TOUCH} ${WRKDIR}/selftest.expect ${WRKDIR}/selftest.exitcodes ; \ ${ECHO_CMD} "===> Skipping smoke tests, STAGEDIR=${STAGEDIR} is on a noexec file system" ; \ exit 0 ;; \ esac ; \ ${ECHO_MSG} "===> Running smoke tests" ; \ ${RM} -rf ${WRKDIR}/rt-config ; \ ${MKDIR} ${WRKDIR}/rt-config ${WRKDIR}/rt-config/dcpprofiles ${WRKDIR}/rt-config/profiles ; \ ${CP} ${WRKSRC}/rtengine/camconst.json ${WRKDIR}/rt-config ; \ ${CP} ${WRKSRC}/rtdata/options/options.lin ${WRKDIR}/rt-config/options ; \ (cd ${WRKSRC}/rtdata/ && ${COPYTREE_SHARE} "profiles dcpprofiles" ${WRKDIR}/rt-config ) ; \ (set -x ; TMP=$$(${MKTEMP} -d -t ${PORTNAME}) && trap "rc=$$? ; ${RM} -rf \"$$TMP\" ; exit \$$rc" 0 && \ ( set +e ; ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee -v ; \ ${ECHO_CMD} $$? >&3 ) 3>&3 | ${EGREP} -q "RawTherapee, version ${_check_version:C/_.*//:C/,.*//}|cannot open display:" && \ ( set +e ; ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli | dd ibs=8k ; \ ${ECHO_CMD} $$? >&3 ) 3>&3 | ${EGREP} -q "RawTherapee, version ${_check_version:C/_.*//:C/,.*//}" && \ expect=$$'0\n0\n' && \ onefile=$$(ls "${TESTIMAGES}"/* | head -1) && \ if test -d "${TESTIMAGES}" && test -n "$$onefile" -a -r "$$onefile" ; then \ expect=$$'0\n0\n0\n0\n0\n' && \ ( set +e ; \ /usr/bin/time ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli \ -o "$$TMP" -q -f -c ${TESTIMAGES} ; ${ECHO_CMD} $$? >&3 ; \ /usr/bin/time ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli \ -o "$$TMP" -q -s -Y -c ${TESTIMAGES} ; ${ECHO_CMD} $$? >&3 ; \ /usr/bin/time ${SETENV} ${_env} ${STAGEDIR}${PREFIX}/bin/rawtherapee-cli \ -o "$$TMP" -q -s -Y -tz -c ${TESTIMAGES} ; ${ECHO_CMD} $$? >&3 ) 3>&3 ; \ fi ; \ ls -Rlbai "${TESTIMAGES}" "$${TMP}" || :; \ ${PRINTF} "%s" "$$expect" >&4 ) ) 3>${WRKDIR}/selftest.exitcodes 4>${WRKDIR}/selftest.expect ; \ ${HEAD} ${WRKDIR}/selftest.exitcodes ${WRKDIR}/selftest.expect ; \ cmp ${WRKDIR}/selftest.expect ${WRKDIR}/selftest.exitcodes \ || { ${ECHO_CMD} '===> !!! SELF-TEST FAILED !!! <===' ; exit 1 ; } .include diff --git a/graphics/sampleicc/Makefile b/graphics/sampleicc/Makefile index c86681525d42..631b4915df23 100644 --- a/graphics/sampleicc/Makefile +++ b/graphics/sampleicc/Makefile @@ -1,28 +1,28 @@ PORTNAME= sampleicc PORTVERSION= 1.6.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20tar/SampleIcc-${PORTVERSION}/ DISTNAME= SampleICC-${PORTVERSION} MAINTAINER= office@FreeBSD.org COMMENT= Library for reading, writing, manipulating, and applying ICC profiles WWW= https://sampleicc.sourceforge.net/ LICENSE= ICC LICENSE_NAME= The ICC Software License, Version 0.2 LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libtiff.so:graphics/tiff USES= libtool pathfix USE_CXXSTD= c++14 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tifflib=${LOCALBASE} INSTALL_TARGET= install-strip .include diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index 36d7d47d9466..c642b840847f 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -1,61 +1,61 @@ PORTNAME= sane-backends DISTVERSION= 1.2.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= https://gitlab.com/sane-project/backends/uploads/110fc43336d0fb5e514f1fdc7360dd87/ MAINTAINER= vvd@FreeBSD.org COMMENT= API for accessing scanners, digital cameras, frame grabbers, etc WWW= http://www.sane-project.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:c++11-lang gmake gnome jpeg libtool localbase:ldflags \ pathfix pkgconfig python:build USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= saned GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-locking \ --enable-pthread \ --without-systemd INSTALL_TARGET= install-strip SUB_FILES= pkg-message USERS= saned GROUPS= saned PLIST_SUB= SOVERSION=${DISTVERSION} OPTIONS_DEFINE= AVAHI DOCS GPHOTO IEEE1284 IPV6 NLS SNMP USB V4L OPTIONS_DEFAULT= AVAHI GPHOTO USB OPTIONS_SUB= yes IEEE1284_DESC= Parallel port support via libieee1284 (for i386 only) USB_DESC= USB support AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libcurl.so:ftp/curl \ libpoppler-glib.so:graphics/poppler-glib AVAHI_USE= GNOME=cairo,glib20 AVAHI_CONFIGURE_WITH= avahi libcurl poppler-glib GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO_CONFIGURE_WITH= gphoto2 IEEE1284_LIB_DEPENDS= libieee1284.so:sysutils/libieee1284 IEEE1284_CONFIGURE_ENV_OFF= sane_cv_use_libieee1284=no IPV6_CONFIGURE_ENABLE= ipv6 NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_WITH= snmp USB_CONFIGURE_WITH= usb V4L_LIB_DEPENDS= libv4l1.so:multimedia/libv4l V4L_CONFIGURE_WITH= v4l .include diff --git a/graphics/scantailor/Makefile b/graphics/scantailor/Makefile index e9d77adcf96a..4be67a5aa5b7 100644 --- a/graphics/scantailor/Makefile +++ b/graphics/scantailor/Makefile @@ -1,71 +1,72 @@ PORTNAME= scantailor DISTVERSIONPREFIX= v DISTVERSION= 1.0.19 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= m.ne@gmx.net COMMENT= Interactive post-processing tool for scanned pages WWW= https://github.com/ScanTailor-Advanced/scantailor-advanced LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libjbig.so:graphics/jbigkit \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils jpeg qt:5 \ shared-mime-info xorg USE_CXXSTD= gnu++98 USE_GITHUB= yes USE_QT= core gui network opengl svg widgets xml buildtools:build \ linguisttools:build qmake:build USE_XORG+= xrender GH_ACCOUNT= ScanTailor-Advanced GH_PROJECT= scantailor-advanced OPTIONS_GROUP= DOXYGEN OPTIONS_GROUP_DOXYGEN= HTML LATEX OPTIONS_DEFAULT= HTML_DESC= Install HTML Doxygen files LATEX_DESC= Install LaTeX Doxygen files OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext .include .if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} PORTDOCS= * .endif .if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} BUILD_DEPENDS+= doxygen:devel/doxygen .endif post-patch-NLS-off: @${REINPLACE_CMD} -e '/\/translations/s/install/# install/' ${WRKSRC}/CMakeLists.txt post-install: ${INSTALL_DATA} ${WRKSRC}/src/resources/ScanTailor.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX} @cd ${WRKSRC} && doxygen . .endif .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTML} @(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) .endif .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MLATEX} @(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${STAGEDIR}${DOCSDIR}) .endif .include diff --git a/graphics/sdl2_image/Makefile b/graphics/sdl2_image/Makefile index dff4be56482b..cddee3694fee 100644 --- a/graphics/sdl2_image/Makefile +++ b/graphics/sdl2_image/Makefile @@ -1,55 +1,56 @@ PORTNAME= sdl2_image DISTVERSIONPREFIX= release- DISTVERSION= 2.8.2 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple library to load images of various formats as SDL surfaces WWW= https://github.com/libsdl-org/SDL_image LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake sdl USE_GITHUB= yes GH_ACCOUNT= libsdl-org GH_PROJECT= SDL_image USE_SDL= sdl2 CMAKE_OFF= SDL2IMAGE_DEPS_SHARED \ SDL2IMAGE_SAMPLES \ SDL2IMAGE_BACKEND_STB CMAKE_ARGS= -DSDL2IMAGE_DEBUG_POSTFIX:STRING= USE_LDCONFIG= yes OPTIONS_DEFINE= AVIF JPEG JXL PNG TIFF WEBP TEST OPTIONS_DEFAULT=AVIF JPEG JXL PNG WEBP AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_CMAKE_BOOL= SDL2IMAGE_AVIF JPEG_USES= jpeg JPEG_CMAKE_BOOL= SDL2IMAGE_JPG JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CMAKE_BOOL= SDL2IMAGE_JXL PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL= SDL2IMAGE_PNG TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL= SDL2IMAGE_TIF TEST_CMAKE_BOOL= SDL2IMAGE_TESTS TEST_CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" TEST_LIB_DEPENDS= libunwind.so:devel/libunwind TEST_TEST_TARGET= test TEST_IMPLIES= PNG JPEG # does not build otherwise TEST_BROKEN= does not build # XXX: probably devel/sdl20 problem WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= SDL2IMAGE_WEBP post-extract: @${RM} -rf ${WRKSRC}/external .include diff --git a/graphics/sdl_image/Makefile b/graphics/sdl_image/Makefile index 684de7ddc9d4..8d6be72d952f 100644 --- a/graphics/sdl_image/Makefile +++ b/graphics/sdl_image/Makefile @@ -1,39 +1,39 @@ PORTNAME= sdl_image PORTVERSION= 1.2.12 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics MASTER_SITES= https://www.libsdl.org/projects/SDL_image/release/ DISTNAME= SDL_image-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple library to load images of various formats as SDL surfaces WWW= https://www.libsdl.org/projects/SDL_image/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gmake libtool localbase pkgconfig pathfix sdl USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-jpg-shared --disable-png-shared \ --disable-tif-shared --disable-webp-shared INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPE_VENDOR= libsdl OPTIONS_DEFINE= JPEG PNG TIFF WEBP OPTIONS_DEFAULT=JPEG PNG TIFF WEBP JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpg PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_ENABLE= tif WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= webp post-install: ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showimage ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/separate/Makefile b/graphics/separate/Makefile index dcd5565366c7..c4cf4783e3f4 100644 --- a/graphics/separate/Makefile +++ b/graphics/separate/Makefile @@ -1,63 +1,63 @@ PORTNAME= separate PORTVERSION= 0.5.8 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= OSDN/separate-plus DISTNAME= ${PORTNAME}+-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= CMYK plugin for The GIMP WWW= https://cue.yellowmagic.info/softwares/separate.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gccmakedep:devel/gccmakedep LIB_DEPENDS= liblcms.so.1:graphics/lcms \ libgimp-2.0.so:graphics/gimp-app USES= compiler:c++11-lang gettext-tools gmake pkgconfig zip BIN_TARGETS= separate separate_import icc_colorspace L10N_TARGETS= cs es fr ja ko pl ru .for plugin in ${BIN_TARGETS} PLIST_FILES+= libexec/gimp/2.2/plug-ins/${plugin} .endfor .for lang in ${L10N_TARGETS} PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/gimp20-separate.mo .endfor PORTDOCS= README* PORTEXAMPLES= qproof.scm qexport.scm MAKE_ENV= TARGETS="${BIN_TARGETS}" \ PREFIX=${STAGEDIR}${PREFIX} OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} \ '/^CC/s|=|?=|; s| make| ${MAKE_CMD}|; /^LIBS/s/$$/ -lm/;' \ ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/plug-ins .for plugin in ${BIN_TARGETS} ${INSTALL_PROGRAM} ${WRKSRC}/${plugin} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/plug-ins/ .endfor .for lang in ${L10N_TARGETS} ${INSTALL_DATA} ${WRKSRC}/po/${lang}.gmo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/gimp20-separate.mo .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/sample-scripts && \ ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/simpleviewer/Makefile b/graphics/simpleviewer/Makefile index 8065a87699e9..82ce2dfd6d89 100644 --- a/graphics/simpleviewer/Makefile +++ b/graphics/simpleviewer/Makefile @@ -1,89 +1,89 @@ PORTNAME= simpleviewer PORTVERSION= 3.1.7 -PORTREVISION= 20 +PORTREVISION= 21 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 a457558d227a..2b5a4a976d9c 100644 --- a/graphics/synfig/Makefile +++ b/graphics/synfig/Makefile @@ -1,59 +1,59 @@ PORTNAME= synfig DISTVERSIONPREFIX= v DISTVERSION= 1.4.4 -PORTREVISION= 10 +PORTREVISION= 11 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 USES= autoreconf compiler:c++11-lang gmake gnome iconv jpeg \ libtool localbase magick:7 mlt:7 pathfix pkgconfig USE_CXXSTD= c++11 USE_GITHUB= yes USE_GNOME= cairo glibmm intltool libxml++26 pango USE_LDCONFIG= yes PORTSCOUT= limitw:1,even GNU_CONFIGURE= yes INSTALL_TARGET= install-strip WRKSRC_SUBDIR= synfig-core BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed CONFIGURE_ENV+= ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} 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/tesseract/Makefile b/graphics/tesseract/Makefile index c8287d2c6083..148d77be0a33 100644 --- a/graphics/tesseract/Makefile +++ b/graphics/tesseract/Makefile @@ -1,62 +1,62 @@ PORTNAME= tesseract PORTVERSION= 5.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= pkubaj@FreeBSD.org COMMENT= Commercial quality open source OCR engine WWW= https://github.com/tesseract-ocr/tesseract LICENSE= APACHE20 BUILD_DEPENDS= asciidoc:textproc/asciidoc \ xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl LIB_DEPENDS= liblept.so:graphics/leptonica \ libtiff.so:graphics/tiff \ libharfbuzz.so:print/harfbuzz \ libfreetype.so:print/freetype2 \ libcurl.so:ftp/curl RUN_DEPENDS= tesseract-data>=0:graphics/tesseract-data USES= autoreconf compiler:c++20-lang cpe gnome libarchive libtool \ localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CPE_VENDOR= tesseract_project USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}-ocr DATADIR= ${PREFIX}/share/tessdata PORTDATA= * PORTDOCS= AUTHORS ChangeLog README.md INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS TOOLS OPTIONS_DEFAULT= TOOLS OPTIONS_SUB= yes TOOLS_CONFIGURE_ENABLE= training TOOLS_DESC= Include training tools TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \ libfontconfig.so:x11-fonts/fontconfig TOOLS_USE= GNOME=cairo,glib20,pango .if exists(/usr/include/omp.h) CMAKE_ON= OPENMP_BUILD LDFLAGS+= -lomp .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-TOOLS-on: @cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install .include diff --git a/graphics/tif22pnm/Makefile b/graphics/tif22pnm/Makefile index 65b99e77d516..72fd4b646317 100644 --- a/graphics/tif22pnm/Makefile +++ b/graphics/tif22pnm/Makefile @@ -1,38 +1,38 @@ PORTNAME= tif22pnm PORTVERSION= 0.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://pts.szit.bme.hu/ MAINTAINER= martymac@FreeBSD.org COMMENT= Converts TIFF-sampled images to PNM image WWW= http://pts.szit.bme.hu/ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libtiff-ldir=${LOCALBASE}/lib \ --with-libtiff-idir=${LOCALBASE}/include PLIST_FILES= bin/png22pnm bin/tif22pnm TIF22PNM_SRCS= ptspnm.c minigimp.c miniglib.c ptstiff3.c tif22pnm.c PNG2PNM_SRCS= png22pnm.c do-build: cd ${WRKSRC} \ && ${CC} ${CFLAGS} -DNDEBUG -I${LOCALBASE}/include \ ${TIF22PNM_SRCS} -o tif22pnm -L${LOCALBASE}/lib -ltiff \ && ${CC} ${CFLAGS} -DNDEBUG `pkg-config libpng --cflags` \ ${PNG2PNM_SRCS} -o png22pnm `pkg-config libpng --libs` -lm do-install: ${INSTALL_PROGRAM} ${WRKSRC}/png22pnm ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/tif22pnm ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index b970985196fd..c82338119951 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -1,122 +1,35 @@ PORTNAME= tiff -DISTVERSION= 4.4.0 -PORTREVISION= 3 +DISTVERSION= 4.6.0 CATEGORIES= graphics MASTER_SITES= https://download.osgeo.org/libtiff/ MAINTAINER= desktop@FreeBSD.org COMMENT= Tools and library routines for working with TIFF images WWW= http://www.simplesystems.org/libtiff/ LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYRIGHT +LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libdeflate.so:archivers/libdeflate \ libjbig.so:graphics/jbigkit \ + libLerc.so:graphics/lerc \ libzstd.so:archivers/zstd USES= cpe jpeg libtool localbase pathfix tar:xz CPE_PRODUCT= libtiff -CPE_VERSION= ${DISTVERSION:C/[a-z]+//} -CPE_UPDATE= ${DISTVERSION:C/[0-9.]+//} USE_LDCONFIG= yes + GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -CONFIGURE_ARGS= --without-x \ - --disable-webp \ +CONFIGURE_ARGS= --disable-sphinx \ + --disable-webp INSTALL_TARGET= install-strip TEST_TARGET= check -MLNKS= TIFFError.3tiff TIFFSetErrorHandler.3tiff \ - TIFFFlush.3tiff TIFFFlushData.3tiff \ - TIFFGetField.3tiff TIFFGetFieldDefaulted.3tiff \ - TIFFGetField.3tiff TIFFVGetField.3tiff \ - TIFFGetField.3tiff TIFFVGetFieldDefaulted.3tiff \ - TIFFOpen.3tiff TIFFFdOpen.3tiff \ - TIFFOpen.3tiff TIFFClientOpen.3tiff \ - TIFFRGBAImage.3tiff TIFFRGBAImageOK.3tiff \ - TIFFRGBAImage.3tiff TIFFRGBAImageBegin.3tiff \ - TIFFRGBAImage.3tiff TIFFRGBAImageGet.3tiff \ - TIFFRGBAImage.3tiff TIFFRGBAImageEnd.3tiff \ - TIFFRGBAImage.3tiff TIFFReadRGBAImageOriented.3tiff \ - TIFFSetDirectory.3tiff TIFFSetSubDirectory.3tiff \ - TIFFSetField.3tiff TIFFVSetField.3tiff \ - TIFFWarning.3tiff TIFFSetWarningHandler.3tiff \ - TIFFWriteDirectory.3tiff TIFFRewriteDirectory.3tiff \ - TIFFbuffer.3tiff TIFFReadBufferSetup.3tiff \ - TIFFbuffer.3tiff TIFFWriteBufferSetup.3tiff \ - TIFFcodec.3tiff TIFFFindCODEC.3tiff \ - TIFFcodec.3tiff TIFFRegisterCODEC.3tiff \ - TIFFcodec.3tiff TIFFUnRegisterCODEC.3tiff \ - TIFFmemory.3tiff TIFFfree.3tiff \ - TIFFmemory.3tiff TIFFmalloc.3tiff \ - TIFFmemory.3tiff TIFFmemcmp.3tiff \ - TIFFmemory.3tiff TIFFmemcpy.3tiff \ - TIFFmemory.3tiff TIFFmemset.3tiff \ - TIFFmemory.3tiff TIFFrealloc.3tiff \ - TIFFquery.3tiff TIFFCurrentDirectory.3tiff \ - TIFFquery.3tiff TIFFCurrentRow.3tiff \ - TIFFquery.3tiff TIFFCurrentStrip.3tiff \ - TIFFquery.3tiff TIFFCurrentTile.3tiff \ - TIFFquery.3tiff TIFFFileName.3tiff \ - TIFFquery.3tiff TIFFFileno.3tiff \ - TIFFquery.3tiff TIFFGetMode.3tiff \ - TIFFquery.3tiff TIFFIsTiled.3tiff \ - TIFFquery.3tiff TIFFIsByteSwapped.3tiff \ - TIFFquery.3tiff TIFFIsUpSampled.3tiff \ - TIFFquery.3tiff TIFFIsMSB2LSB.3tiff \ - TIFFquery.3tiff TIFFLastDirectory.3tiff \ - TIFFsize.3tiff TIFFScanlineSize.3tiff \ - TIFFstrip.3tiff TIFFComputeStrip.3tiff \ - TIFFstrip.3tiff TIFFDefaultStripSize.3tiff \ - TIFFstrip.3tiff TIFFNumberOfStrips.3tiff \ - TIFFstrip.3tiff TIFFStripSize.3tiff \ - TIFFstrip.3tiff TIFFVStripSize.3tiff \ - TIFFswab.3tiff TIFFReverseBits.3tiff \ - TIFFswab.3tiff TIFFSwabArrayOfLong.3tiff \ - TIFFswab.3tiff TIFFSwabArrayOfShort.3tiff \ - TIFFswab.3tiff TIFFSwabLong.3tiff \ - TIFFswab.3tiff TIFFSwabShort.3tiff \ - TIFFtile.3tiff TIFFCheckTile.3tiff \ - TIFFtile.3tiff TIFFComputeTile.3tiff \ - TIFFtile.3tiff TIFFDefaultTileSize.3tiff \ - TIFFtile.3tiff TIFFNumberOfTiles.3tiff \ - TIFFtile.3tiff TIFFTileSize.3tiff \ - TIFFtile.3tiff TIFFTileRowSize.3tiff \ - TIFFtile.3tiff TIFFVTileSize.3tiff - -OPTIONS_DEFINE= DOCS - -.include +LDFLAGS+= -Wl,--undefined-version -.if !defined(BUILDING_INDEX) -__pmlinks3!= ${ECHO_CMD} '${MLNKS:S/ / /}' | ${AWK} \ - '{ if (NF % 2 != 0) { print "broken"; exit; } \ - for (i=1; i<=NF; i++) { \ - if ( i % 2 == 0) { print " " $$i " ;"; } \ - else { print "${LN} -s " $$i " "; } \ - } }' -.endif +DOCSDIR= ${PREFIX}/share/doc/tiff-${DISTVERSION} -post-patch: - @${REINPLACE_CMD} "/\.po 0/d" ${WRKSRC}/man/* - -pre-configure: - ${REINPLACE_CMD} \ - -e 's|tiffgt.1 ||' \ - ${WRKSRC}/man/Makefile.in - ${REINPLACE_CMD} -e 's|^docfiles|no-docfiles|' \ - -e 's|man html|man|' ${WRKSRC}/Makefile.in - -post-install: - ( cd ${STAGEDIR}${PREFIX}/share/man/man3 && ${__pmlinks3} ) -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR}/images ${STAGEDIR}${DOCSDIR}/man - ${INSTALL_DATA} ${WRKSRC}/html/*.html ${STAGEDIR}${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/html/images/*.jpg ${STAGEDIR}${DOCSDIR}/images/ - ${INSTALL_DATA} ${WRKSRC}/html/images/*.gif ${STAGEDIR}${DOCSDIR}/images/ - ${INSTALL_DATA} ${WRKSRC}/html/man/*.html ${STAGEDIR}${DOCSDIR}/man/ -.endif +OPTIONS_DEFINE= DOCS .include diff --git a/graphics/tiff/distinfo b/graphics/tiff/distinfo index 992f30c8463b..60c357e6b598 100644 --- a/graphics/tiff/distinfo +++ b/graphics/tiff/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1657611207 -SHA256 (tiff-4.4.0.tar.xz) = 49307b510048ccc7bc40f2cba6e8439182fe6e654057c1a1683139bf2ecb1dc1 -SIZE (tiff-4.4.0.tar.xz) = 1929292 +TIMESTAMP = 1714034290 +SHA256 (tiff-4.6.0.tar.xz) = e178649607d1e22b51cf361dd20a3753f244f022eefab1f2f218fc62ebaf87d2 +SIZE (tiff-4.6.0.tar.xz) = 2124388 diff --git a/graphics/tiff/files/patch-Makefile.in b/graphics/tiff/files/patch-Makefile.in deleted file mode 100644 index d5325e9a4fa7..000000000000 --- a/graphics/tiff/files/patch-Makefile.in +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile.in.orig 2021-04-16 10:56:02 UTC -+++ Makefile.in -@@ -509,19 +509,6 @@ distclean-libtool: - -rm -f libtool config.lt - install-dist_docDATA: $(dist_doc_DATA) - @$(NORMAL_INSTALL) -- @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ -- if test -n "$$list"; then \ -- echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ -- $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ -- fi; \ -- for p in $$list; do \ -- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ -- echo "$$d$$p"; \ -- done | $(am__base_list) | \ -- while read files; do \ -- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ -- $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ -- done - - uninstall-dist_docDATA: - @$(NORMAL_UNINSTALL) diff --git a/graphics/tiff/files/patch-git-01-dd1bcc7abb26094e93636e85520f0d8f81ab0fab b/graphics/tiff/files/patch-git-01-dd1bcc7abb26094e93636e85520f0d8f81ab0fab deleted file mode 100644 index 85ccf0401568..000000000000 --- a/graphics/tiff/files/patch-git-01-dd1bcc7abb26094e93636e85520f0d8f81ab0fab +++ /dev/null @@ -1,180 +0,0 @@ -From dd1bcc7abb26094e93636e85520f0d8f81ab0fab Mon Sep 17 00:00:00 2001 -From: 4ugustus -Date: Sat, 11 Jun 2022 09:31:43 +0000 -Subject: [PATCH] fix the FPE in tiffcrop (#415, #427, and #428) - ---- - libtiff/tif_aux.c | 9 +++++++ - libtiff/tiffiop.h | 1 + - tools/tiffcrop.c | 62 ++++++++++++++++++++++++++--------------------- - 3 files changed, 44 insertions(+), 28 deletions(-) - -diff --git a/libtiff/tif_aux.c b/libtiff/tif_aux.c -index 140f26c7..5b88c8d0 100644 ---- libtiff/tif_aux.c -+++ libtiff/tif_aux.c -@@ -402,6 +402,15 @@ float _TIFFClampDoubleToFloat( double val ) - return (float)val; - } - -+uint32_t _TIFFClampDoubleToUInt32(double val) -+{ -+ if( val < 0 ) -+ return 0; -+ if( val > 0xFFFFFFFFU || val != val ) -+ return 0xFFFFFFFFU; -+ return (uint32_t)val; -+} -+ - int _TIFFSeekOK(TIFF* tif, toff_t off) - { - /* Huge offsets, especially -1 / UINT64_MAX, can cause issues */ -diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h -index e3af461d..4e8bdac2 100644 ---- libtiff/tiffiop.h -+++ libtiff/tiffiop.h -@@ -365,6 +365,7 @@ extern double _TIFFUInt64ToDouble(uint64_t); - extern float _TIFFUInt64ToFloat(uint64_t); - - extern float _TIFFClampDoubleToFloat(double); -+extern uint32_t _TIFFClampDoubleToUInt32(double); - - extern tmsize_t - _TIFFReadEncodedStripAndAllocBuffer(TIFF* tif, uint32_t strip, -diff --git a/tools/tiffcrop.c b/tools/tiffcrop.c -index 1f827b2b..90286a5e 100644 ---- tools/tiffcrop.c -+++ tools/tiffcrop.c -@@ -5268,17 +5268,17 @@ computeInputPixelOffsets(struct crop_mask *crop, struct image_data *image, - { - if ((crop->res_unit == RESUNIT_INCH) || (crop->res_unit == RESUNIT_CENTIMETER)) - { -- x1 = (uint32_t) (crop->corners[i].X1 * scale * xres); -- x2 = (uint32_t) (crop->corners[i].X2 * scale * xres); -- y1 = (uint32_t) (crop->corners[i].Y1 * scale * yres); -- y2 = (uint32_t) (crop->corners[i].Y2 * scale * yres); -+ x1 = _TIFFClampDoubleToUInt32(crop->corners[i].X1 * scale * xres); -+ x2 = _TIFFClampDoubleToUInt32(crop->corners[i].X2 * scale * xres); -+ y1 = _TIFFClampDoubleToUInt32(crop->corners[i].Y1 * scale * yres); -+ y2 = _TIFFClampDoubleToUInt32(crop->corners[i].Y2 * scale * yres); - } - else - { -- x1 = (uint32_t) (crop->corners[i].X1); -- x2 = (uint32_t) (crop->corners[i].X2); -- y1 = (uint32_t) (crop->corners[i].Y1); -- y2 = (uint32_t) (crop->corners[i].Y2); -+ x1 = _TIFFClampDoubleToUInt32(crop->corners[i].X1); -+ x2 = _TIFFClampDoubleToUInt32(crop->corners[i].X2); -+ y1 = _TIFFClampDoubleToUInt32(crop->corners[i].Y1); -+ y2 = _TIFFClampDoubleToUInt32(crop->corners[i].Y2); - } - /* a) Region needs to be within image sizes 0.. width-1; 0..length-1 - * b) Corners are expected to be submitted as top-left to bottom-right. -@@ -5357,17 +5357,17 @@ computeInputPixelOffsets(struct crop_mask *crop, struct image_data *image, - { - if (crop->res_unit != RESUNIT_INCH && crop->res_unit != RESUNIT_CENTIMETER) - { /* User has specified pixels as reference unit */ -- tmargin = (uint32_t)(crop->margins[0]); -- lmargin = (uint32_t)(crop->margins[1]); -- bmargin = (uint32_t)(crop->margins[2]); -- rmargin = (uint32_t)(crop->margins[3]); -+ tmargin = _TIFFClampDoubleToUInt32(crop->margins[0]); -+ lmargin = _TIFFClampDoubleToUInt32(crop->margins[1]); -+ bmargin = _TIFFClampDoubleToUInt32(crop->margins[2]); -+ rmargin = _TIFFClampDoubleToUInt32(crop->margins[3]); - } - else - { /* inches or centimeters specified */ -- tmargin = (uint32_t)(crop->margins[0] * scale * yres); -- lmargin = (uint32_t)(crop->margins[1] * scale * xres); -- bmargin = (uint32_t)(crop->margins[2] * scale * yres); -- rmargin = (uint32_t)(crop->margins[3] * scale * xres); -+ tmargin = _TIFFClampDoubleToUInt32(crop->margins[0] * scale * yres); -+ lmargin = _TIFFClampDoubleToUInt32(crop->margins[1] * scale * xres); -+ bmargin = _TIFFClampDoubleToUInt32(crop->margins[2] * scale * yres); -+ rmargin = _TIFFClampDoubleToUInt32(crop->margins[3] * scale * xres); - } - - if ((lmargin + rmargin) > image->width) -@@ -5397,24 +5397,24 @@ computeInputPixelOffsets(struct crop_mask *crop, struct image_data *image, - if (crop->res_unit != RESUNIT_INCH && crop->res_unit != RESUNIT_CENTIMETER) - { - if (crop->crop_mode & CROP_WIDTH) -- width = (uint32_t)crop->width; -+ width = _TIFFClampDoubleToUInt32(crop->width); - else - width = image->width - lmargin - rmargin; - - if (crop->crop_mode & CROP_LENGTH) -- length = (uint32_t)crop->length; -+ length = _TIFFClampDoubleToUInt32(crop->length); - else - length = image->length - tmargin - bmargin; - } - else - { - if (crop->crop_mode & CROP_WIDTH) -- width = (uint32_t)(crop->width * scale * image->xres); -+ width = _TIFFClampDoubleToUInt32(crop->width * scale * image->xres); - else - width = image->width - lmargin - rmargin; - - if (crop->crop_mode & CROP_LENGTH) -- length = (uint32_t)(crop->length * scale * image->yres); -+ length = _TIFFClampDoubleToUInt32(crop->length * scale * image->yres); - else - length = image->length - tmargin - bmargin; - } -@@ -5868,13 +5868,13 @@ computeOutputPixelOffsets (struct crop_mask *crop, struct image_data *image, - { - if (page->res_unit == RESUNIT_INCH || page->res_unit == RESUNIT_CENTIMETER) - { /* inches or centimeters specified */ -- hmargin = (uint32_t)(page->hmargin * scale * page->hres * ((image->bps + 7) / 8)); -- vmargin = (uint32_t)(page->vmargin * scale * page->vres * ((image->bps + 7) / 8)); -+ hmargin = _TIFFClampDoubleToUInt32(page->hmargin * scale * page->hres * ((image->bps + 7) / 8)); -+ vmargin = _TIFFClampDoubleToUInt32(page->vmargin * scale * page->vres * ((image->bps + 7) / 8)); - } - else - { /* Otherwise user has specified pixels as reference unit */ -- hmargin = (uint32_t)(page->hmargin * scale * ((image->bps + 7) / 8)); -- vmargin = (uint32_t)(page->vmargin * scale * ((image->bps + 7) / 8)); -+ hmargin = _TIFFClampDoubleToUInt32(page->hmargin * scale * ((image->bps + 7) / 8)); -+ vmargin = _TIFFClampDoubleToUInt32(page->vmargin * scale * ((image->bps + 7) / 8)); - } - - if ((hmargin * 2.0) > (pwidth * page->hres)) -@@ -5912,13 +5912,13 @@ computeOutputPixelOffsets (struct crop_mask *crop, struct image_data *image, - { - if (page->mode & PAGE_MODE_PAPERSIZE ) - { -- owidth = (uint32_t)((pwidth * page->hres) - (hmargin * 2)); -- olength = (uint32_t)((plength * page->vres) - (vmargin * 2)); -+ owidth = _TIFFClampDoubleToUInt32((pwidth * page->hres) - (hmargin * 2)); -+ olength = _TIFFClampDoubleToUInt32((plength * page->vres) - (vmargin * 2)); - } - else - { -- owidth = (uint32_t)(iwidth - (hmargin * 2 * page->hres)); -- olength = (uint32_t)(ilength - (vmargin * 2 * page->vres)); -+ owidth = _TIFFClampDoubleToUInt32(iwidth - (hmargin * 2 * page->hres)); -+ olength = _TIFFClampDoubleToUInt32(ilength - (vmargin * 2 * page->vres)); - } - } - -@@ -5927,6 +5927,12 @@ computeOutputPixelOffsets (struct crop_mask *crop, struct image_data *image, - if (olength > ilength) - olength = ilength; - -+ if (owidth == 0 || olength == 0) -+ { -+ TIFFError("computeOutputPixelOffsets", "Integer overflow when calculating the number of pages"); -+ exit(EXIT_FAILURE); -+ } -+ - /* Compute the number of pages required for Portrait or Landscape */ - switch (page->orient) - { --- -GitLab - diff --git a/graphics/tiff/files/patch-git-02-275735d0354e39c0ac1dc3c0db2120d6f31d1990 b/graphics/tiff/files/patch-git-02-275735d0354e39c0ac1dc3c0db2120d6f31d1990 deleted file mode 100644 index f86cd7151086..000000000000 --- a/graphics/tiff/files/patch-git-02-275735d0354e39c0ac1dc3c0db2120d6f31d1990 +++ /dev/null @@ -1,28 +0,0 @@ -From 275735d0354e39c0ac1dc3c0db2120d6f31d1990 Mon Sep 17 00:00:00 2001 -From: Even Rouault -Date: Mon, 27 Jun 2022 16:09:43 +0200 -Subject: [PATCH] _TIFFCheckFieldIsValidForCodec(): return FALSE when passed a - codec-specific tag and the codec is not configured (fixes #433) - -This avoids crashes when querying such tags ---- - libtiff/tif_dirinfo.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c -index c30f569b..3371cb5c 100644 ---- libtiff/tif_dirinfo.c -+++ libtiff/tif_dirinfo.c -@@ -1191,6 +1191,9 @@ _TIFFCheckFieldIsValidForCodec(TIFF *tif, ttag_t tag) - default: - return 1; - } -+ if( !TIFFIsCODECConfigured(tif->tif_dir.td_compression) ) { -+ return 0; -+ } - /* Check if codec specific tags are allowed for the current - * compression scheme (codec) */ - switch (tif->tif_dir.td_compression) { --- -GitLab - diff --git a/graphics/tiff/files/patch-libtiff_tif_getimage.c b/graphics/tiff/files/patch-libtiff_tif_getimage.c deleted file mode 100644 index d3235c58968f..000000000000 --- a/graphics/tiff/files/patch-libtiff_tif_getimage.c +++ /dev/null @@ -1,22 +0,0 @@ ---- libtiff/tif_getimage.c.orig 2022-02-19 07:33:54.000000000 -0800 -+++ libtiff/tif_getimage.c 2022-11-23 11:36:14.192628000 -0800 -@@ -3058,15 +3058,15 @@ - return( ok ); - - for( i_row = 0; i_row < read_ysize; i_row++ ) { -- memmove( raster + (tile_ysize - i_row - 1) * tile_xsize, -- raster + (read_ysize - i_row - 1) * read_xsize, -+ memmove( raster + (size_t)(tile_ysize - i_row - 1) * tile_xsize, -+ raster + (size_t)(read_ysize - i_row - 1) * read_xsize, - read_xsize * sizeof(uint32_t) ); -- _TIFFmemset( raster + (tile_ysize - i_row - 1) * tile_xsize+read_xsize, -+ _TIFFmemset( raster + (size_t)(tile_ysize - i_row - 1) * tile_xsize+read_xsize, - 0, sizeof(uint32_t) * (tile_xsize - read_xsize) ); - } - - for( i_row = read_ysize; i_row < tile_ysize; i_row++ ) { -- _TIFFmemset( raster + (tile_ysize - i_row - 1) * tile_xsize, -+ _TIFFmemset( raster + (size_t)(tile_ysize - i_row - 1) * tile_xsize, - 0, sizeof(uint32_t) * tile_xsize ); - } - diff --git a/graphics/tiff/files/patch-tiffcrop.1 b/graphics/tiff/files/patch-tiffcrop.1 deleted file mode 100644 index c06b5bc619d7..000000000000 --- a/graphics/tiff/files/patch-tiffcrop.1 +++ /dev/null @@ -1,10 +0,0 @@ ---- man/tiffcrop.1.orig 2021-03-05 13:01:43 UTC -+++ man/tiffcrop.1 -@@ -499,7 +499,6 @@ the portrait or landscape option. The paper size optio - the image. It breaks each original image into a series of smaller images - that will fit on the target paper size at the specified resolution. - .fi --.RE - .PP - Extract two regions 2048 pixels wide by 2048 pixels high from each page of - a multi\-page input file and write each region to a separate output file. diff --git a/graphics/tiff/files/patch-tools_unsupported_Makefile.in b/graphics/tiff/files/patch-tools_unsupported_Makefile.in new file mode 100644 index 000000000000..7c1e41e53db9 --- /dev/null +++ b/graphics/tiff/files/patch-tools_unsupported_Makefile.in @@ -0,0 +1,10 @@ +--- tools/unsupported/Makefile.in.orig 2024-04-25 09:24:10 UTC ++++ tools/unsupported/Makefile.in +@@ -705,7 +705,6 @@ uninstall-am: uninstall-binPROGRAMS + .PRECIOUS: Makefile + + +-(echo tifftoolsunsupported: $(TIFF_TOOLS_UNSUPPORTED)) + + echo: + (echo $(CFLAGS)) diff --git a/graphics/tiff/pkg-descr b/graphics/tiff/pkg-descr index 5492a2fa60e7..1d203dca7154 100644 --- a/graphics/tiff/pkg-descr +++ b/graphics/tiff/pkg-descr @@ -1,15 +1,11 @@ This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data. Included in this software distribution is a library, libtiff, for -reading and writing TIFF, a small collection of tools for doing -simple manipulations of TIFF images on UNIX systems, and documentation -on the library and tools. A small assortment of TIFF-related software -for UNIX that has been contributed by others is also included. +reading and writing TIFF images, a small collection of tools for doing +simple manipulations of TIFF images, and documentation for the library +and tools. The library is capable of dealing with images that are written to follow the 5.0 or 6.0 TIFF spec. There is also considerable support for some of the more esoteric portions of the 6.0 TIFF spec. - -Unless WITHOUT=DOCS, the html documentations is also -installed locally in /usr/local/share/doc/tiff. diff --git a/graphics/tiff/pkg-plist b/graphics/tiff/pkg-plist index 9179354836f9..7ec1bb8e64ad 100644 --- a/graphics/tiff/pkg-plist +++ b/graphics/tiff/pkg-plist @@ -1,295 +1,410 @@ -bin/fax2ps -bin/fax2tiff -bin/pal2rgb -bin/ppm2tiff -bin/raw2tiff -bin/tiff2bw -bin/tiff2pdf -bin/tiff2ps -bin/tiff2rgba -bin/tiffcmp bin/tiffcp -bin/tiffcrop -bin/tiffdither bin/tiffdump bin/tiffinfo -bin/tiffmedian bin/tiffset bin/tiffsplit include/tiff.h include/tiffconf.h include/tiffio.h include/tiffio.hxx include/tiffvers.h lib/libtiff.a lib/libtiff.so -lib/libtiff.so.5 -lib/libtiff.so.5.8.0 +lib/libtiff.so.6 +lib/libtiff.so.6.0.2 lib/libtiffxx.a lib/libtiffxx.so -lib/libtiffxx.so.5 -lib/libtiffxx.so.5.8.0 +lib/libtiffxx.so.6 +lib/libtiffxx.so.6.0.2 libdata/pkgconfig/libtiff-4.pc -share/man/man1/fax2ps.1.gz -share/man/man1/fax2tiff.1.gz -share/man/man1/pal2rgb.1.gz -share/man/man1/ppm2tiff.1.gz -share/man/man1/raw2tiff.1.gz -share/man/man1/tiff2bw.1.gz -share/man/man1/tiff2pdf.1.gz -share/man/man1/tiff2ps.1.gz -share/man/man1/tiff2rgba.1.gz -share/man/man1/tiffcmp.1.gz +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/LICENSE.md +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/RELEASE-DATE +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/VERSION +%%PORTDOCS%%%%DOCSDIR%%/manual/.buildinfo +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/bali.jpg +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/cat.gif +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/cover.jpg +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/cramps.gif +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/dave.gif +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/esri.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/jim.gif +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/leica.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/quad.jpg +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/ring.gif +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/safe.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/smallliz.jpg +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/strike.gif +%%PORTDOCS%%%%DOCSDIR%%/manual/_images/weogeo.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/addingtags.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/build.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/contrib.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFAccessTagMethods.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFClientInfo.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFClose.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFCreateDirectory.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFCustomDirectory.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFCustomTagList.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFDataWidth.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFDeferStrileArrayWriting.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFError.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFieldDataType.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFieldName.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFieldPassCount.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFieldQuery.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFieldReadCount.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFieldTag.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFieldWriteCount.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFFlush.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFGetField.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFMergeFieldInfo.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFOpen.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFOpenOptions.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFPrintDirectory.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFProcFunctions.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFRGBAImage.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadDirectory.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadEncodedStrip.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadEncodedTile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadFromUserBuffer.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadRGBAImage.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadRGBAStrip.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadRGBATile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadRawStrip.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadRawTile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadScanline.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFReadTile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFSetDirectory.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFSetField.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFSetTagExtender.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFStrileQuery.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWarning.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWriteDirectory.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWriteEncodedStrip.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWriteEncodedTile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWriteRawStrip.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWriteRawTile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWriteScanline.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFWriteTile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFbuffer.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFcodec.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFcolor.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFmemory.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFquery.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFsize.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFstrip.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFswab.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/TIFFtile.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/_TIFFRewriteField.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/_TIFFauxiliary.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/functions/libtiff.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/images.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/index.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/internals.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/libtiff.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/multi_page.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/project/acknowledgements.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/project/bugs.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/project/index.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/project/license.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/project/mailinglist.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/historical.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/index.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta007.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta016.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta018.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta024.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta028.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta029.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta031.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta032.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta033.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta034.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta035.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.4beta036.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.5.1.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.5.2.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.5.3.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.5.4.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.5.5.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.5.6beta.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.5.7.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.6.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.6.1.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.0alpha.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.0beta.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.0beta2.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.1.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.2.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.3.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.7.4.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.8.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.8.1.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.8.2.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.9.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.9.0beta.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.9.1.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.9.2.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.9.3.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.9.4.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v3.9.5.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.1.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.10.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.2.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.3.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.4.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.4beta.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.5.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.6.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.7.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.8.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.0.9.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.1.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.2.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.3.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.4.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.5.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.5.1.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/releases/v4.6.0.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/specification/bigtiff.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/specification/coverage-bigtiff.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/specification/coverage.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/specification/index.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/specification/technote2.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/terms.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/tools.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/tools/tiffcp.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/tools/tiffdump.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/tools/tiffinfo.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/tools/tiffset.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_sources/tools/tiffsplit.rst.txt +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/basic.css +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/contents.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/doctools.js +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/documentation_options.js +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/file.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/language_data.js +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/minus.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/navigation.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/plus.png +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/pygments.css +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/searchtools.js +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/sphinx_highlight.js +%%PORTDOCS%%%%DOCSDIR%%/manual/_static/sphinxdoc.css +%%PORTDOCS%%%%DOCSDIR%%/manual/addingtags.html +%%PORTDOCS%%%%DOCSDIR%%/manual/build.html +%%PORTDOCS%%%%DOCSDIR%%/manual/contrib.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFAccessTagMethods.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFClientInfo.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFClose.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFCreateDirectory.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFCustomDirectory.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFCustomTagList.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFDataWidth.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFDeferStrileArrayWriting.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFError.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFieldDataType.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFieldName.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFieldPassCount.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFieldQuery.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFieldReadCount.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFieldTag.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFieldWriteCount.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFFlush.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFGetField.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFMergeFieldInfo.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFOpen.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFOpenOptions.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFPrintDirectory.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFProcFunctions.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFRGBAImage.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadDirectory.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadEncodedStrip.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadEncodedTile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadFromUserBuffer.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadRGBAImage.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadRGBAStrip.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadRGBATile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadRawStrip.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadRawTile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadScanline.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFReadTile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFSetDirectory.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFSetField.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFSetTagExtender.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFStrileQuery.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWarning.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWriteDirectory.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWriteEncodedStrip.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWriteEncodedTile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWriteRawStrip.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWriteRawTile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWriteScanline.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFWriteTile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFbuffer.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFcodec.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFcolor.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFmemory.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFquery.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFsize.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFstrip.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFswab.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/TIFFtile.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/_TIFFRewriteField.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/_TIFFauxiliary.html +%%PORTDOCS%%%%DOCSDIR%%/manual/functions/libtiff.html +%%PORTDOCS%%%%DOCSDIR%%/manual/genindex.html +%%PORTDOCS%%%%DOCSDIR%%/manual/images.html +%%PORTDOCS%%%%DOCSDIR%%/manual/index.html +%%PORTDOCS%%%%DOCSDIR%%/manual/internals.html +%%PORTDOCS%%%%DOCSDIR%%/manual/libtiff.html +%%PORTDOCS%%%%DOCSDIR%%/manual/multi_page.html +%%PORTDOCS%%%%DOCSDIR%%/manual/objects.inv +%%PORTDOCS%%%%DOCSDIR%%/manual/project/acknowledgements.html +%%PORTDOCS%%%%DOCSDIR%%/manual/project/bugs.html +%%PORTDOCS%%%%DOCSDIR%%/manual/project/index.html +%%PORTDOCS%%%%DOCSDIR%%/manual/project/license.html +%%PORTDOCS%%%%DOCSDIR%%/manual/project/mailinglist.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/historical.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/index.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta007.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta016.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta018.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta024.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta028.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta029.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta031.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta032.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta033.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta034.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta035.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.4beta036.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.5.1.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.5.2.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.5.3.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.5.4.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.5.5.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.5.6beta.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.5.7.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.6.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.6.1.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.0alpha.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.0beta.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.0beta2.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.1.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.2.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.3.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.7.4.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.8.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.8.1.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.8.2.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.9.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.9.0beta.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.9.1.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.9.2.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.9.3.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.9.4.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v3.9.5.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.1.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.10.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.2.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.3.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.4.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.4beta.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.5.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.6.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.7.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.8.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.0.9.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.1.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.2.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.3.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.4.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.5.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.5.1.html +%%PORTDOCS%%%%DOCSDIR%%/manual/releases/v4.6.0.html +%%PORTDOCS%%%%DOCSDIR%%/manual/search.html +%%PORTDOCS%%%%DOCSDIR%%/manual/searchindex.js +%%PORTDOCS%%%%DOCSDIR%%/manual/specification/bigtiff.html +%%PORTDOCS%%%%DOCSDIR%%/manual/specification/coverage-bigtiff.html +%%PORTDOCS%%%%DOCSDIR%%/manual/specification/coverage.html +%%PORTDOCS%%%%DOCSDIR%%/manual/specification/index.html +%%PORTDOCS%%%%DOCSDIR%%/manual/specification/technote2.html +%%PORTDOCS%%%%DOCSDIR%%/manual/terms.html +%%PORTDOCS%%%%DOCSDIR%%/manual/tools.html +%%PORTDOCS%%%%DOCSDIR%%/manual/tools/tiffcp.html +%%PORTDOCS%%%%DOCSDIR%%/manual/tools/tiffdump.html +%%PORTDOCS%%%%DOCSDIR%%/manual/tools/tiffinfo.html +%%PORTDOCS%%%%DOCSDIR%%/manual/tools/tiffset.html +%%PORTDOCS%%%%DOCSDIR%%/manual/tools/tiffsplit.html share/man/man1/tiffcp.1.gz -share/man/man1/tiffcrop.1.gz -share/man/man1/tiffdither.1.gz share/man/man1/tiffdump.1.gz share/man/man1/tiffinfo.1.gz -share/man/man1/tiffmedian.1.gz share/man/man1/tiffset.1.gz share/man/man1/tiffsplit.1.gz -share/man/man3/TIFFCheckTile.3tiff.gz -share/man/man3/TIFFClientOpen.3tiff.gz +share/man/man3/TIFFAccessTagMethods.3tiff.gz +share/man/man3/TIFFClientInfo.3tiff.gz share/man/man3/TIFFClose.3tiff.gz -share/man/man3/TIFFComputeStrip.3tiff.gz -share/man/man3/TIFFComputeTile.3tiff.gz -share/man/man3/TIFFCurrentDirectory.3tiff.gz -share/man/man3/TIFFCurrentRow.3tiff.gz -share/man/man3/TIFFCurrentStrip.3tiff.gz -share/man/man3/TIFFCurrentTile.3tiff.gz +share/man/man3/TIFFCreateDirectory.3tiff.gz +share/man/man3/TIFFCustomDirectory.3tiff.gz +share/man/man3/TIFFCustomTagList.3tiff.gz share/man/man3/TIFFDataWidth.3tiff.gz -share/man/man3/TIFFDefaultStripSize.3tiff.gz -share/man/man3/TIFFDefaultTileSize.3tiff.gz +share/man/man3/TIFFDeferStrileArrayWriting.3tiff.gz share/man/man3/TIFFError.3tiff.gz -share/man/man3/TIFFFdOpen.3tiff.gz share/man/man3/TIFFFieldDataType.3tiff.gz share/man/man3/TIFFFieldName.3tiff.gz share/man/man3/TIFFFieldPassCount.3tiff.gz +share/man/man3/TIFFFieldQuery.3tiff.gz share/man/man3/TIFFFieldReadCount.3tiff.gz share/man/man3/TIFFFieldTag.3tiff.gz share/man/man3/TIFFFieldWriteCount.3tiff.gz -share/man/man3/TIFFFileName.3tiff.gz -share/man/man3/TIFFFileno.3tiff.gz -share/man/man3/TIFFFindCODEC.3tiff.gz share/man/man3/TIFFFlush.3tiff.gz -share/man/man3/TIFFFlushData.3tiff.gz share/man/man3/TIFFGetField.3tiff.gz -share/man/man3/TIFFGetFieldDefaulted.3tiff.gz -share/man/man3/TIFFGetMode.3tiff.gz -share/man/man3/TIFFIsByteSwapped.3tiff.gz -share/man/man3/TIFFIsMSB2LSB.3tiff.gz -share/man/man3/TIFFIsTiled.3tiff.gz -share/man/man3/TIFFIsUpSampled.3tiff.gz -share/man/man3/TIFFLastDirectory.3tiff.gz -share/man/man3/TIFFNumberOfStrips.3tiff.gz -share/man/man3/TIFFNumberOfTiles.3tiff.gz +share/man/man3/TIFFMergeFieldInfo.3tiff.gz share/man/man3/TIFFOpen.3tiff.gz share/man/man3/TIFFPrintDirectory.3tiff.gz +share/man/man3/TIFFProcFunctions.3tiff.gz share/man/man3/TIFFRGBAImage.3tiff.gz -share/man/man3/TIFFRGBAImageBegin.3tiff.gz -share/man/man3/TIFFRGBAImageEnd.3tiff.gz -share/man/man3/TIFFRGBAImageGet.3tiff.gz -share/man/man3/TIFFRGBAImageOK.3tiff.gz -share/man/man3/TIFFReadBufferSetup.3tiff.gz share/man/man3/TIFFReadDirectory.3tiff.gz share/man/man3/TIFFReadEncodedStrip.3tiff.gz share/man/man3/TIFFReadEncodedTile.3tiff.gz +share/man/man3/TIFFReadFromUserBuffer.3tiff.gz share/man/man3/TIFFReadRGBAImage.3tiff.gz -share/man/man3/TIFFReadRGBAImageOriented.3tiff.gz share/man/man3/TIFFReadRGBAStrip.3tiff.gz share/man/man3/TIFFReadRGBATile.3tiff.gz share/man/man3/TIFFReadRawStrip.3tiff.gz share/man/man3/TIFFReadRawTile.3tiff.gz share/man/man3/TIFFReadScanline.3tiff.gz share/man/man3/TIFFReadTile.3tiff.gz -share/man/man3/TIFFRegisterCODEC.3tiff.gz -share/man/man3/TIFFReverseBits.3tiff.gz -share/man/man3/TIFFRewriteDirectory.3tiff.gz -share/man/man3/TIFFScanlineSize.3tiff.gz share/man/man3/TIFFSetDirectory.3tiff.gz -share/man/man3/TIFFSetErrorHandler.3tiff.gz share/man/man3/TIFFSetField.3tiff.gz -share/man/man3/TIFFSetSubDirectory.3tiff.gz -share/man/man3/TIFFSetWarningHandler.3tiff.gz -share/man/man3/TIFFStripSize.3tiff.gz -share/man/man3/TIFFSwabArrayOfLong.3tiff.gz -share/man/man3/TIFFSwabArrayOfShort.3tiff.gz -share/man/man3/TIFFSwabLong.3tiff.gz -share/man/man3/TIFFSwabShort.3tiff.gz -share/man/man3/TIFFTileRowSize.3tiff.gz -share/man/man3/TIFFTileSize.3tiff.gz -share/man/man3/TIFFUnRegisterCODEC.3tiff.gz -share/man/man3/TIFFVGetField.3tiff.gz -share/man/man3/TIFFVGetFieldDefaulted.3tiff.gz -share/man/man3/TIFFVSetField.3tiff.gz -share/man/man3/TIFFVStripSize.3tiff.gz -share/man/man3/TIFFVTileSize.3tiff.gz +share/man/man3/TIFFSetTagExtender.3tiff.gz +share/man/man3/TIFFStrileQuery.3tiff.gz share/man/man3/TIFFWarning.3tiff.gz -share/man/man3/TIFFWriteBufferSetup.3tiff.gz share/man/man3/TIFFWriteDirectory.3tiff.gz share/man/man3/TIFFWriteEncodedStrip.3tiff.gz share/man/man3/TIFFWriteEncodedTile.3tiff.gz share/man/man3/TIFFWriteRawStrip.3tiff.gz share/man/man3/TIFFWriteRawTile.3tiff.gz share/man/man3/TIFFWriteScanline.3tiff.gz share/man/man3/TIFFWriteTile.3tiff.gz share/man/man3/TIFFbuffer.3tiff.gz share/man/man3/TIFFcodec.3tiff.gz share/man/man3/TIFFcolor.3tiff.gz -share/man/man3/TIFFfree.3tiff.gz -share/man/man3/TIFFmalloc.3tiff.gz -share/man/man3/TIFFmemcmp.3tiff.gz -share/man/man3/TIFFmemcpy.3tiff.gz share/man/man3/TIFFmemory.3tiff.gz -share/man/man3/TIFFmemset.3tiff.gz share/man/man3/TIFFquery.3tiff.gz -share/man/man3/TIFFrealloc.3tiff.gz share/man/man3/TIFFsize.3tiff.gz share/man/man3/TIFFstrip.3tiff.gz share/man/man3/TIFFswab.3tiff.gz share/man/man3/TIFFtile.3tiff.gz +share/man/man3/_TIFFRewriteField.3tiff.gz +share/man/man3/_TIFFauxiliary.3tiff.gz share/man/man3/libtiff.3tiff.gz -%%PORTDOCS%%%%DOCSDIR%%/TIFFTechNote2.html -%%PORTDOCS%%%%DOCSDIR%%/addingtags.html -%%PORTDOCS%%%%DOCSDIR%%/bugs.html -%%PORTDOCS%%%%DOCSDIR%%/build.html -%%PORTDOCS%%%%DOCSDIR%%/contrib.html -%%PORTDOCS%%%%DOCSDIR%%/document.html -%%PORTDOCS%%%%DOCSDIR%%/images.html -%%PORTDOCS%%%%DOCSDIR%%/images/back.gif -%%PORTDOCS%%%%DOCSDIR%%/images/bali.jpg -%%PORTDOCS%%%%DOCSDIR%%/images/cat.gif -%%PORTDOCS%%%%DOCSDIR%%/images/cover.jpg -%%PORTDOCS%%%%DOCSDIR%%/images/cramps.gif -%%PORTDOCS%%%%DOCSDIR%%/images/dave.gif -%%PORTDOCS%%%%DOCSDIR%%/images/info.gif -%%PORTDOCS%%%%DOCSDIR%%/images/jello.jpg -%%PORTDOCS%%%%DOCSDIR%%/images/jim.gif -%%PORTDOCS%%%%DOCSDIR%%/images/note.gif -%%PORTDOCS%%%%DOCSDIR%%/images/oxford.gif -%%PORTDOCS%%%%DOCSDIR%%/images/quad.jpg -%%PORTDOCS%%%%DOCSDIR%%/images/ring.gif -%%PORTDOCS%%%%DOCSDIR%%/images/smallliz.jpg -%%PORTDOCS%%%%DOCSDIR%%/images/strike.gif -%%PORTDOCS%%%%DOCSDIR%%/images/warning.gif -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/internals.html -%%PORTDOCS%%%%DOCSDIR%%/intro.html -%%PORTDOCS%%%%DOCSDIR%%/libtiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFClose.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFDataWidth.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFError.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFFieldDataType.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFFieldName.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFFieldPassCount.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFFieldReadCount.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFFieldTag.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFFieldWriteCount.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFFlush.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFGetField.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFOpen.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFPrintDirectory.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFRGBAImage.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadDirectory.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadEncodedStrip.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadEncodedTile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadRGBAImage.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadRGBAStrip.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadRGBATile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadRawStrip.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadRawTile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadScanline.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFReadTile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFSetDirectory.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFSetField.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWarning.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWriteDirectory.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWriteEncodedStrip.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWriteEncodedTile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWriteRawStrip.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWriteRawTile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWriteScanline.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFWriteTile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFbuffer.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFcodec.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFcolor.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFmemory.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFquery.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFsize.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFstrip.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFswab.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/TIFFtile.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/fax2ps.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/fax2tiff.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/index.html -%%PORTDOCS%%%%DOCSDIR%%/man/libtiff.3tiff.html -%%PORTDOCS%%%%DOCSDIR%%/man/pal2rgb.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/ppm2tiff.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/raw2tiff.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiff2bw.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiff2pdf.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiff2ps.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiff2rgba.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffcmp.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffcp.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffcrop.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffdither.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffdump.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffgt.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffinfo.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffmedian.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffset.1.html -%%PORTDOCS%%%%DOCSDIR%%/man/tiffsplit.1.html -%%PORTDOCS%%%%DOCSDIR%%/misc.html -%%PORTDOCS%%%%DOCSDIR%%/support.html -%%PORTDOCS%%%%DOCSDIR%%/tools.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta007.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta016.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta018.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta024.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta028.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta029.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta031.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta032.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta033.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta034.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta035.html -%%PORTDOCS%%%%DOCSDIR%%/v3.4beta036.html -%%PORTDOCS%%%%DOCSDIR%%/v3.5.1.html -%%PORTDOCS%%%%DOCSDIR%%/v3.5.2.html -%%PORTDOCS%%%%DOCSDIR%%/v3.5.3.html -%%PORTDOCS%%%%DOCSDIR%%/v3.5.4.html -%%PORTDOCS%%%%DOCSDIR%%/v3.5.5.html -%%PORTDOCS%%%%DOCSDIR%%/v3.5.6-beta.html -%%PORTDOCS%%%%DOCSDIR%%/v3.5.7.html -%%PORTDOCS%%%%DOCSDIR%%/v3.6.0.html -%%PORTDOCS%%%%DOCSDIR%%/v3.6.1.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.0.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.0alpha.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.0beta.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.0beta2.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.1.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.2.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.3.html -%%PORTDOCS%%%%DOCSDIR%%/v3.7.4.html -%%PORTDOCS%%%%DOCSDIR%%/v3.8.0.html -%%PORTDOCS%%%%DOCSDIR%%/v3.8.1.html -%%PORTDOCS%%%%DOCSDIR%%/v3.8.2.html -%%PORTDOCS%%%%DOCSDIR%%/v3.9.0beta.html -%%PORTDOCS%%%%DOCSDIR%%/v3.9.1.html -%%PORTDOCS%%%%DOCSDIR%%/v3.9.2.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.0.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.1.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.10.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.2.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.3.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.4.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.4beta.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.5.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.6.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.7.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.8.html -%%PORTDOCS%%%%DOCSDIR%%/v4.0.9.html -%%PORTDOCS%%%%DOCSDIR%%/v4.1.0.html -%%PORTDOCS%%%%DOCSDIR%%/v4.2.0.html -%%PORTDOCS%%%%DOCSDIR%%/v4.3.0.html diff --git a/graphics/tumble/Makefile b/graphics/tumble/Makefile index a6cdad400c93..a984819dd287 100644 --- a/graphics/tumble/Makefile +++ b/graphics/tumble/Makefile @@ -1,38 +1,38 @@ PORTNAME= tumble DISTVERSIONPREFIX= v DISTVERSION= 0.38 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics print MAINTAINER= fuz@FreeBSD.org COMMENT= Creates a PDF file from image files WWW= http://tumble.brouhaha.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff \ libnetpbm.so:graphics/netpbm USES= bison gmake jpeg localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= brouhaha CFLAGS+= -I${LOCALBASE}/include/netpbm PLIST_FILES= bin/tumble PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} tumble \ ${STAGEDIR}${PREFIX}/bin) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile index dfbec72e28e2..6601cf8564fa 100644 --- a/graphics/ufraw/Makefile +++ b/graphics/ufraw/Makefile @@ -1,80 +1,80 @@ PORTNAME= ufraw PORTVERSION= 0.22.20210424 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MAINTAINER= rodrigo@FreeBSD.org COMMENT= Read and manipulate raw images from various digital cameras WWW= https://ufraw.sourceforge.net/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= autoreconf compiler:c++11-lang desktop-file-utils gettext gmake \ gnome jpeg pkgconfig USE_CXXSTD= gnu++14 USE_GITHUB= yes GH_ACCOUNT= sergiomb2 GH_TAGNAME= f34669b USE_GNOME+= cairo gdkpixbuf2 glib20 gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-mime \ --enable-extras \ --enable-jasper CPPFLAGS+= -I${LOCALBASE}/include #CXXFLAGS+= -D_NOEXCEPT=noexcept LDFLAGS+= -lpthread -L${LOCALBASE}/lib CONFLICTS_INSTALL= dcraw OPTIONS_DEFINE= CONTRAST DST EXIV2 FITS GIMP GTK2 LENSFUN OPTIONS_DEFAULT= CONTRAST EXIV2 GTK2 LENSFUN OPTIONS_SUB= yes CONTRAST_DESC= Enable contrast setting option DST_DESC= Use local time for timestamps FITS_DESC= FITS output support GIMP_DESC= Install GIMP plugin CONTRAST_CONFIGURE_ENABLE= contrast DST_CONFIGURE_ENABLE= dst-correction EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2 FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio FITS_CONFIGURE_WITH= cfitsio GIMP_IMPLIES= GTK2 GIMP_LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libgegl-0.4.so:graphics/gegl \ libgimp-2.0.so:graphics/gimp-app \ libjson-glib-1.0.so:devel/json-glib GIMP_CONFIGURE_WITH= gimp GTK2_LIB_DEPENDS= libgtkimageview.so:x11-toolkits/gtkimageview GTK2_CONFIGURE_WITH= gtk LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun post-patch: ${GREP} -Ilrs 'default(none)' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's/default(none)//g' @${REINPLACE_CMD} -e 's|$$(datadir)/gconf/schemas|${PREFIX}/etc/gconf/schemas|g' \ ${WRKSRC}/Makefile.am post-patch-EXIV2-off: @${REINPLACE_CMD} -e 's|exiv2 >= 0.20|exiv2 < 0|g' \ ${WRKSRC}/configure.ac post-patch-LENSFUN-off: @${REINPLACE_CMD} -e 's|lensfun >= 0.2.5|lensfun < 0|g' \ ${WRKSRC}/configure.ac post-install: ${INSTALL_DATA} ${WRKSRC}/ufraw.desktop ${STAGEDIR}${DESKTOPDIR} .include diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index ce8832ce4d88..d57715f36780 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -1,77 +1,77 @@ PORTNAME= vigra DISTVERSIONPREFIX=v DISTVERSION= 1.11.1 -PORTREVISION= 28 +PORTREVISION= 29 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 810991f02a55..c247570db237 100644 --- a/graphics/vips/Makefile +++ b/graphics/vips/Makefile @@ -1,129 +1,129 @@ PORTNAME= vips PORTVERSION= 8.15.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Free image processing system WWW= https://www.libvips.org/ \ https://github.com/libvips/libvips LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= bash:shells/bash USES= compiler:c++11-lang cpe gettext gnome localbase meson pkgconfig python shebangfix tar:xz USE_GNOME= glib20 MESON_ARGS= --default-library=both \ -Danalyze=true \ -Dcplusplus=true \ -Ddeprecated=true \ -Ddoxygen=false \ -Dexamples=true \ -Dintrospection=disabled \ -Dmodules=disabled \ -Dnifti=disabled \ -Dnsgif=true \ -Dopenslide=disabled \ -Dpdfium=disabled \ -Dppm=true \ -Dquantizr=disabled \ -Dradiance=true \ -Dvapi=false \ -Dzlib=enabled USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION:R} SHEBANG_FILES= tools/vipsprofile OPTIONS_DEFINE= CFITSIO DOCS FFTW FONTCONFIG GIF HEIF IMAGEQUANT JPEG JXL LCMS2 LIBARCHIVE LIBEXIF LIBRSVG2 MATIO OPENEXR PANGO PNG POPPLER SPNG TIFF WEBP OPTIONS_RADIO= MAGICK SIMD OPTIONS_RADIO_MAGICK= IMAGEMAGICK GRAPHMAGICK OPTIONS_RADIO_SIMD= HIGHWAY ORC OPTIONS_DEFAULT=CFITSIO FFTW FONTCONFIG GIF HEIF HIGHWAY IMAGEMAGICK JPEG JXL LCMS2 LIBARCHIVE LIBEXIF LIBRSVG2 MATIO OPENEXR PANGO PNG POPPLER SPNG TIFF WEBP FONTCONFIG_IMPLIES= PANGO LIBARCHIVE_DESC=Save image pyramid via libarchive HIGHWAY_DESC= SIMD support via Highway (preferred) IMAGEQUANT_DESC=Image Quantization support MATIO_DESC= Matlab MAT format support ORC_DESC= Accelerate loops with ORC CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CFITSIO_MESON_ENABLED= cfitsio DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_MESON_TRUE= gtk_doc FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_MESON_ENABLED= fftw FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_MESON_ENABLED= fontconfig GIF_BUILD_DEPENDS= cgif>=0.2.0:graphics/cgif GIF_LIB_DEPENDS= libcgif.so:graphics/cgif GIF_MESON_ENABLED= cgif GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GRAPHMAGICK_MESON_ON= -Dmagick=enabled -Dmagick-package=GraphicsMagick HEIF_BUILD_DEPENDS= libheif>=1.4.0:graphics/libheif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= heif HIGHWAY_BUILD_DEPENDS= highway>=1.0.5:devel/highway HIGHWAY_LIB_DEPENDS= libhwy.so:devel/highway HIGHWAY_MESON_ENABLED= highway IMAGEMAGICK_MESON_ON= -Dmagick=enabled -Dmagick-package=MagickCore IMAGEMAGICK_USES= magick IMAGEQUANT_LIB_DEPENDS= libimagequant.so:graphics/libimagequant IMAGEQUANT_MESON_ENABLED= imagequant JPEG_BUILD_DEPENDS= openjpeg>=2.4:graphics/openjpeg JPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG_MESON_ENABLED= jpeg openjpeg JPEG_USES= jpeg JXL_BUILD_DEPENDS= libjxl>=0.6:graphics/libjxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_ENABLED= jpeg-xl LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBEXIF_BUILD_DEPENDS= libexif>=0.6:graphics/libexif LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBARCHIVE_BUILD_DEPENDS= libarchive>=3.0.0:archivers/libarchive LIBARCHIVE_MESON_ENABLED= archive LIBARCHIVE_USES= libarchive LIBRSVG2_MESON_ENABLED= rsvg LIBRSVG2_USE= GNOME=cairo,librsvg2 MATIO_LIB_DEPENDS= libmatio.so:math/matio MATIO_MESON_ENABLED= matio OPENEXR_BUILD_DEPENDS= openexr>=1.2.2:graphics/openexr OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_MESON_ENABLED= openexr ORC_BUILD_DEPENDS= orc>=0.4.31:devel/orc ORC_LIB_DEPENDS= liborc-0.4.so:devel/orc ORC_MESON_ENABLED= orc PANGO_MESON_ENABLED= pangocairo PANGO_USE= GNOME=pango PNG_BUILD_DEPENDS= png>=1.2.9:graphics/png PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= png POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler POPPLER_USE= GNOME=cairo SPNG_BUILD_DEPENDS= libspng>=0.7:graphics/libspng SPNG_LIB_DEPENDS= libspng.so:graphics/libspng SPNG_MESON_ENABLED= spng TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff WEBP_BUILD_DEPENDS= webp>=0.6:graphics/webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp .include .if !${PORT_OPTIONS:MGRAPHMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK} MESON_ARGS+= -Dmagick=disabled .endif .include diff --git a/graphics/vv/Makefile b/graphics/vv/Makefile index a90085340998..32cb7cd2ee59 100644 --- a/graphics/vv/Makefile +++ b/graphics/vv/Makefile @@ -1,46 +1,46 @@ PORTNAME= vv DISTVERSIONPREFIX= v DISTVERSION= 1.4.0-383 DISTVERSIONSUFFIX= -g7a783a8b -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Fast and simple 4D image viewer WWW= https://www.creatis.insa-lyon.fr/rio/vv/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= googletest>0:devel/googletest # error: unable to find library -lGTest::GTest, see https://github.com/open-vv/vv/issues/74 LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libgdcmCommon.so:devel/gdcm \ libhdf5_cpp.so:science/hdf5 \ libITKLabelMap-5.0.so:science/InsightToolkit501 \ libpng.so:graphics/png \ libsz.so:science/libaec \ libtiff.so:graphics/tiff \ libvtkIOSQL-8.2.so:math/vtk8 USES= cmake compiler:c++11-lang eigen:3 jpeg qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= open-vv USE_QT= core designer gui network sql widgets xml buildtools:build qmake:build USE_XORG= ice sm x11 xext xt USE_CXXSTD= c++11 CMAKE_ARGS= -DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2 PLIST_FILES= bin/vv .include .if ${ARCH} == i386 CXXFLAGS+= -msse2 # workaround for ITK failing to add -msse2 on i386: https://github.com/open-vv/vv/issues/83 & https://github.com/InsightSoftwareConsortium/ITK/issues/2011 .endif post-configure: # workaround for "error: unable to find library -lGTest::GTest", see https://github.com/open-vv/vv/issues/74 @${REINPLACE_CMD} -E 's/ -lGTest::(GTest|Main) / /g' ${BUILD_WRKSRC}/build.ninja .include diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile index 04afa53af3d7..8d88cd6975cb 100644 --- a/graphics/webp/Makefile +++ b/graphics/webp/Makefile @@ -1,43 +1,44 @@ PORTNAME= webp PORTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://downloads.webmproject.org/releases/webp/ \ https://storage.googleapis.com/downloads.webmproject.org/releases/webp/ DISTNAME= libwebp-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Google WebP image format conversion tool WWW= https://developers.google.com/speed/webp LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 libtool localbase CONFIGURE_ARGS= --enable-libwebpdecoder \ --enable-libwebpdemux \ --enable-libwebpmux \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes PORTSCOUT= limit:^[0-9\.]*$$ OPTIONS_DEFINE= IMGCONV X11 OPTIONS_DEFAULT=IMGCONV OPTIONS_SUB= yes IMGCONV_DESC= Install converters to/from WebP IMGCONV_CONFIGURE_OFF= build_cwebp=no build_dwebp=no build_gif2webp=no build_img2webp=no IMGCONV_CONFIGURE_ON= build_cwebp=yes build_dwebp=yes build_gif2webp=yes build_img2webp=yes IMGCONV_LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff IMGCONV_USES= jpeg X11_CONFIGURE_OFF= build_vwebp=no X11_CONFIGURE_ON= build_vwebp=yes X11_USE= GL=glut X11_USES= gl .include diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index 41f01a320f7f..c5493581cfa6 100644 --- a/graphics/xfig/Makefile +++ b/graphics/xfig/Makefile @@ -1,38 +1,38 @@ PORTNAME= xfig PORTVERSION= 3.2.8b -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/mcj/ MAINTAINER= mjl@luckie.org.nz COMMENT= Drawing program for X11 WWW= https://www.xfig.org/ LICENSE= xfig LICENSE_NAME= xfig public license LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libXaw3d.so:x11-toolkits/Xaw3d RUN_DEPENDS= fig2dev:print/fig2dev USES= cpe desktop-file-utils gmake ghostscript:lib jpeg localbase:ldflags \ tar:xz xorg USE_CSTD= gnu89 USE_XORG= ice sm x11 xaw xext xi xmu xpm xt CPE_VENDOR= xfig_project GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CFLAGS+= -Wno-return-type CONFLICTS= xfig-3.1* xfig-3.2.[1234]* xfig-[12].* OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/||' ${WRKSRC}/xfig.desktop .include diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index 8b48015de9a5..d5cca4d985d0 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -1,39 +1,39 @@ PORTNAME= xpaint DISTVERSION= 3.1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple paint program WWW= https://sf-xpaint.sourceforge.net/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjbig.so:graphics/jbigkit \ libnetpbm.so:graphics/netpbm \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libXaw3dxft.so:x11-toolkits/libxaw3dxft RUN_DEPENDS= bash:shells/bash \ psselect:print/psutils USES= autoreconf desktop-file-utils gmake jpeg libtool:build \ localbase:ldflags pkgconfig shebangfix tar:bzip2 xorg USE_XORG= ice sm x11 xext xft xmu xpm xt SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr GNU_CONFIGURE= yes # util/Makefile and vxp2ps/Makefile needs it BINARY_ALIAS= make=${GMAKE} # Do not install libraries pre-build: @${REINPLACE_CMD} -e '/^install-exec-am:/s/install-libLTLIBRARIES//' \ ${WRKSRC}/xpaintrw/Makefile.in .include diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index 9d388ae6bf49..1c34fd3a2228 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -1,55 +1,55 @@ PORTNAME= xsane PORTVERSION= 0.999 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Gtk-based X11 frontend for SANE (Scanner Access Now Easy) WWW= https://gitlab.com/sane-project/frontend/xsane LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/xsane.COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ liblcms.so:graphics/lcms BUILD_DEPENDS= scanimage:graphics/sane-backends RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake gnome jpeg localbase:ldflags pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.com/sane-project GL_ACCOUNT= frontend GL_TAGNAME= d01b4089ce6778e76fa86a0410d4e80cf6eb819e USE_GNOME= gtk20 gdkpixbuf2 GNU_CONFIGURE= yes PORTDOCS= *.html *.jpg OPTIONS_DEFINE= DOCS GIMP NLS OPTIONS_DEFAULT= GIMP OPTIONS_SUB= yes GIMP_DESC= GIMP plugin support GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app GIMP_CONFIGURE_ENABLE= gimp2 gimp GIMP_SUB_FILES= pkg-message NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -L${LOCALBASE}/lib -lintl post-patch: @${REINPLACE_CMD} -e 's| $$(DESTDIR)$$(sbindir)||' \ -e 's|$${datadir}/sane/xsane/doc|${DOCSDIR}|g' \ -e 's|$$(DESTDIR)$$(xsanedocdir)||' \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e 's|@POSUB@ doc|@POSUB@|' ${WRKSRC}/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.man ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index 7da4a2512794..6ef296bd8028 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -1,48 +1,48 @@ PORTNAME= xv PORTVERSION= 5.0.0 DISTVERSIONPREFIX= v -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES+= graphics DIST_SUBDIR= ${PORTNAME} MAINTAINER?= dinoex@FreeBSD.org COMMENT?= X11 program that displays images of various formats WWW= http://www.trilon.com/xv/ LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libjasper.so:graphics/jasper \ libwebp.so:graphics/webp USES= cpe localbase cmake jpeg xorg USE_XORG= xext x11 xt ice sm USE_GITHUB= yes GH_ACCOUNT= jasper-software CPE_VENDOR= xv_project OPTIONS_DEFINE= M17N DOCS M17N_DESC= build with Multilingualization support .include .if ${PORT_OPTIONS:MM17N} CFLAGS+= -DTV_MULTILINGUAL DESCR= ${FILESDIR}/pkg-descr CONFLICTS_INSTALL= xv .else CONFLICTS_INSTALL= xv-m17n .endif XV_DOCS= README.md src/docs/help do-install-DOCS-on: .for i in ${XV_DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor do-install-DOCS-off: ${RM} -fr ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/yafaray/Makefile b/graphics/yafaray/Makefile index 4fd788857128..7604daca49dd 100644 --- a/graphics/yafaray/Makefile +++ b/graphics/yafaray/Makefile @@ -1,49 +1,49 @@ PORTNAME= yafaray DISTVERSIONPREFIX= v DISTVERSION= 3.5.1 -PORTREVISION= 21 +PORTREVISION= 22 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/graphics/zgv/Makefile b/graphics/zgv/Makefile index e5249fa6849c..07149879589e 100644 --- a/graphics/zgv/Makefile +++ b/graphics/zgv/Makefile @@ -1,63 +1,63 @@ PORTNAME= zgv PORTVERSION= 5.9 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SUNSITE/apps/graphics/viewers/svga MAINTAINER= ports@FreeBSD.org COMMENT= Graphics viewer for SVGAlib WWW= https://www.svgalib.org/rus/zgv/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gmake jpeg localbase:ldflags ALL_TARGET= zgv INFO= zgvrc OPTIONS_DEFINE= SDL DOCS SDL_LIB_DEPENDS_OFF= libvga.so:graphics/svgalib SDL_USES= sdl SDL_USE= SDL=sdl SDL_MAKE_ENV= BACKEND=SDL SDL_MAKE_ENV_OFF= BACKEND=SVGALIB SDL_CPPFLAGS= $$(${SDL_CONFIG} --cflags) SDL_LDFLAGS= $$(${SDL_CONFIG} --libs) .include .if empty(PORT_OPTIONS:MSDL) ONLY_FOR_ARCHS= amd64 i386 .endif post-patch: @${REINPLACE_CMD} -e \ 's|^CC=|#CC=|g ; \ s|^CFLAGS=|#CFLAGS=|g ; \ s|^BACKEND=|#BACKEND=|g ; \ s|^PREFIX=|#PREFIX=|g ; \ s|/usr/X11R6|$${LOCALBASE}|g' ${WRKSRC}/config.mk @${REINPLACE_CMD} -e \ 's|-I/usr/local/include|$${CPPFLAGS}|g ; \ s|-L/usr/local/lib|$${LDFLAGS}|g ; \ s|=-lSDL|=|g' ${WRKSRC}/src/Makefile @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|SDL/SDL|SDL|g' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/zgv ${STAGEDIR}${PREFIX}/bin/zgv ${INSTALL_MAN} ${WRKSRC}/doc/zgv.1 ${STAGEDIR}${PREFIX}/share/man/man1/zgv.1 ${INSTALL_DATA} ${WRKSRC}/doc/sample.zgvrc ${STAGEDIR}${PREFIX}/etc/zgvrc.sample ${INSTALL_DATA} ${WRKSRC}/doc/zgv ${STAGEDIR}${PREFIX}/${INFO_PATH}/zgvrc.info do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in NEWS README SECURITY TODO INSTALL ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/lang/io/Makefile b/lang/io/Makefile index e3969f1fd1e4..21d91d04d54a 100644 --- a/lang/io/Makefile +++ b/lang/io/Makefile @@ -1,68 +1,68 @@ PORTNAME= io PORTVERSION= 2017.09.06 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= lang MAINTAINER= gahr@FreeBSD.org COMMENT= Small prototype-based programming language WWW= https://iolanguage.org LICENSE= BSD3CLAUSE BROKEN_armv6= fails to compile: ucontext.h: expected parameter declarator BROKEN_armv7= fails to compile: Coro.c:392:2: no member named 'arm_r0' in 'mcontext_t' CONFLICTS= io-devel USES= cmake:noninja compiler:c11 ssl USE_GITHUB= yes GH_ACCOUNT= stevedekorte MAKE_JOBS_UNSAFE=yes USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_GROUP= ADDONS OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.addons" .include # disable SSE on non-x86 archs .if ${ARCH} != amd64 && ${ARCH} != i386 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-CMakeLists.txt .endif post-patch: ${REINPLACE_CMD} -e 's/^[ ]*add_subdirectory/#&/' \ ${WRKSRC}/addons/CMakeLists.txt ${RM} ${WRKSRC}/modules/FindFreetype.cmake .for addon in ${ADDONS} ${ECHO} "add_subdirectory(${addon})" >> ${WRKSRC}/addons/CMakeLists.txt .endfor ${FIND} ${WRKSRC}/addons -name "*.bak" -o -name "*.orig" -delete post-install: ${FIND} -d ${STAGEDIR}${PREFIX}/lib/io/addons -type d -empty -delete ${FIND} ${STAGEDIR}${PREFIX}/lib/io/addons -type f -name "*.so" -exec \ ${STRIP_CMD} {} \; ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${DATADIR}/SyntaxHighlighters .for syn in "Emacs IntelliJ JEdit Kate Scintilla Vim" cd ${WRKSRC}/extras/SyntaxHighlighters && \ ${COPYTREE_SHARE} ${syn} ${STAGEDIR}${DATADIR}/SyntaxHighlighters .endfor do-test: cd ${BUILD_WRKSRC} && \ ./_build/binaries/io ${WRKSRC}/libs/iovm/tests/correctness/run.io .include diff --git a/math/R/Makefile b/math/R/Makefile index 33e296d24f1d..d32baa311aea 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -1,148 +1,149 @@ PORTNAME= R DISTVERSION= 4.3.3 +PORTREVISION= 1 CATEGORIES= math lang MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||} MAINTAINER= jrm@FreeBSD.org COMMENT= Language for statistical computing and graphics WWW= https://www.R-project.org/ LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= texi2any:print/texinfo LIB_DEPENDS= libcurl.so:ftp/curl \ libpcre2-8.so:devel/pcre2 # R packages may require GNU make or cmake to build RUN_DEPENDS= cmake:devel/cmake-core \ gmake:devel/gmake # possible TODO # - Use --with-recommended-packages=no by default # - Add an option for recommended packages # - Create ports for each of the recommended packages # - Create a meta-port for the recommended packages USES= compiler:c++11-lang cpe fortran gmake iconv libtool localbase \ pathfix perl5 readline CPE_VENDOR= r-project USE_LDCONFIG= ${PREFIX}/lib/R/lib USE_PERL5= build GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-java \ --enable-R-shlib \ --with-readline \ rdocdir=${DOCSDIR} INSTALL_TARGET= install-strip PLIST_SUB= FULLVER=${DISTVERSION} \ MAJORVER=${_MAJORVER} OPTIONS_DEFINE= ICU INFO LDOUBLE LETTER MEMPROF NLS OPENMP RPROF X11 OPTIONS_DEFAULT= CAIROPANGO GHOSTSCRIPT ICU INFO JPEG LDOUBLE OPENMP PNG \ RBLAS RPROF TCLTK TIFF X11 OPTIONS_GROUP= NEEDX11 OPTIONS_GROUP_NEEDX11= CAIROPANGO GHOSTSCRIPT JPEG PNG TCLTK TEXDOCS TIFF OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS NETLIB OPENBLAS RBLAS OPTIONS_SUB= YES CAIROPANGO_DESC= Cairo graphics device and Pango multi-language text GHOSTSCRIPT_DESC= Graphics device for bitmap files via Ghostscript JPEG_DESC= JPEG graphics device LDOUBLE_DESC= Long double data type LETTER_DESC= US letter paper MEMPROF_DESC= Memory profiling via Rprofmem() and tracemem() NEEDX11_DESC= Require X11 NETLIB_DESC= Netlib BLAS implementation PNG_DESC= PNG graphics device RBLAS_DESC= Use R-bundled BLAS implementation RPROF_DESC= R profiling via Rprof() TEXDOCS_DESC= Build/Install TeX-dependent documentation files X11_DESC= X11 graphics device ATLAS_USES= blaslapack:atlas ATLAS_CONFIGURE_ON= --disable-BLAS-shlib CAIROPANGO_IMPLIES= X11 CAIROPANGO_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz CAIROPANGO_USES= gettext gnome jpeg pkgconfig CAIROPANGO_USE= GNOME=cairo,pango CAIROPANGO_CONFIGURE_WITH= cairo GHOSTSCRIPT_IMPLIES= X11 GHOSTSCRIPT_USES= ghostscript ICU_LIB_DEPENDS= libicui18n.so:devel/icu ICU_CONFIGURE_WITH= ICU INFO_INSTALL_TARGET= install-info INFO_INFO= R-admin R-data R-exts R-FAQ R-intro R-ints \ R-lang JPEG_IMPLIES= X11 JPEG_USES= jpeg pkgconfig JPEG_CONFIGURE_WITH= jpeglib JPEG_CONFIGURE_ENV= r_cv_header_jpeglib_h=yes LDOUBLE_CONFIGURE_ENABLE= long-double LETTER_CONFIGURE_ENV= R_PAPERSIZE=letter MEMPROF_CONFIGURE_ENABLE= memory-profiling NETLIB_USES= blaslapack:netlib NETLIB_CONFIGURE_ON= --disable-BLAS-shlib NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls OPENBLAS_USES= blaslapack:openblas OPENBLAS_CONFIGURE_ON= --disable-BLAS-shlib OPENMP_CONFIGURE_ENABLE= openmp PNG_IMPLIES= X11 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= libpng RBLAS_CONFIGURE_ON= --enable-BLAS-shlib \ --without-blas \ --without-lapack RBLAS_CONFIGURE_OFF= --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ --with-lapack="${LAPACKLIB}" RBLAS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_extra_blas_Makefile.in \ ${PATCHDIR}/extra-patch-src_modules_lapack_Makefile.in RPROF_CONFIGURE_ENABLE= R-profiling TCLTK_IMPLIES= X11 TCLTK_USES= tcl tk TCLTK_CONFIGURE_WITH= tcltk tcl_config=${TCL_LIBDIR}/tclConfig.sh \ tk_config=${TK_LIBDIR}/tkConfig.sh TEXDOCS_USES= tex TEXDOCS_USE= TEX=dvipsk:build,kpathsea:build,pdftex:build .for i in KPSEWHICH MAKEINDEX PDFLATEX PDFTEX TEX TEXI2DVI TEXDOCS_CONFIGURE_ENV_OFF+= ac_cv_path_${i}="" .endfor TEXDOCS_INSTALL_TARGET= install-pdf TIFF_IMPLIES= X11 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= libtiff X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext,xmu,xscrnsaver,xt X11_CONFIGURE_WITH= x _MAJORVER= ${DISTVERSION:R:R} .include .if ${ARCH} == powerpc LLD_UNSAFE= yes .endif post-patch: @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/configure @${REINPLACE_CMD} \ -e "s|%%FULLVER%%|${DISTVERSION}|" \ -e "s|%%MAJORVER%%|${_MAJORVER}|" \ ${WRKSRC}/src/main/Makefile.in \ ${WRKSRC}/src/extra/blas/Makefile.in \ ${WRKSRC}/src/modules/lapack/Makefile.in post-install-RBLAS-on: @${REINPLACE_CMD} -e "s| -lR| -lR -lRblas|" \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libR.pc post-install-RBLAS-off: @${REINPLACE_CMD} -e "s| -lR| -lR ${BLASLIB}|" \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libR.pc .include diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile index 248fcbe9f274..34334ad24a1b 100644 --- a/math/gnuplot/Makefile +++ b/math/gnuplot/Makefile @@ -1,110 +1,111 @@ PORTNAME= gnuplot PORTVERSION= 5.4.10 +PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= SF MAINTAINER= glewis@FreeBSD.org COMMENT?= Command-line driven graphing utility WWW= http://www.gnuplot.info/ LICENSE= Gnuplot LICENSE_NAME= Gnuplot license LICENSE_FILE= ${WRKSRC}/Copyright LICENSE_PERMS= dist-mirror pkg-mirror auto-accept CONFLICTS_INSTALL?= gnuplot-lite USES+= compiler:c++11-lang cpe groff iconv pkgconfig readline CPE_VENDOR= gnuplot_project GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} CONFIGURE_ARGS+=--with-readline=gnu \ --without-linux-vga \ --without-lisp-files \ --without-tutorial \ --with-bitmap-terminals \ --with-qt=no .if defined(LITE) CONFIGURE_ARGS+=--disable-x11-mbfonts \ --disable-x11-external \ --disable-wxwidgets \ --without-x \ --without-ggi \ --without-gd \ --without-caca \ --without-wx \ --without-gpic \ --without-mif \ --without-cairo \ --without-lua \ --without-latex \ --without-kpsexpand PLIST_SUB+= X11="@comment " .else USES+= gnome jpeg lua:53 ncurses tex xorg USE_TEX= kpathsea USE_GNOME+= atk cairo gtk30 gdkpixbuf2 USE_WX= 3.0+ USE_XORG+= x11 LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libgd.so:graphics/gd \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libtiff.so:graphics/tiff CONFIGURE_ARGS+=--with-gd=${LOCALBASE} \ --with-gpic \ --with-mif \ --with-kpsexpand \ --with-latex \ ac_cv_prog_KPSEXPAND=${LOCALBASE}/bin/kpsexpand \ ac_cv_prog_PLAINTEX=${LOCALBASE}/bin/tex \ ac_cv_prog_LATEX=${LOCALBASE}/bin/latex \ ac_cv_prog_PDFLATEX=${LOCALBASE}/bin/pdflatex PLIST_SUB+= X11="" .endif TEST_TARGET= check PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES GRIDBOX GRIDBOX_DESC= Use the gridbox optimization for hidden3d GRIDBOX_CONFIGURE_OFF= --disable-h3d-quadtree --enable-h3d-gridbox post-patch: @${REINPLACE_CMD} -e \ '/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in @${REINPLACE_CMD} -e \ 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e \ 's|luaL_checkint(|(int)luaL_checkinteger(|' ${WRKSRC}/term/lua.trm post-build-DOCS-on: @cd ${WRKSRC}/docs && ${MAKE} groff pre-install: ${MKDIR} ${STAGEDIR}${DATADIR}/5.4 ; \ ${INSTALL_DATA} ${WRKSRC}/share/gnuplotrc \ ${STAGEDIR}${DATADIR}/5.4/gnuplotrc.sample post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/psdoc cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \ gnuplot.ps ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${STAGEDIR}${DOCSDIR}/psdoc .if defined(LITE) post-stage: @cd ${STAGEDIR}${PREFIX} && ${RMDIR} libexec/gnuplot/5.4 libexec/gnuplot .endif .include diff --git a/math/reduce/Makefile b/math/reduce/Makefile index ad599e875590..e1dc9bfe9256 100644 --- a/math/reduce/Makefile +++ b/math/reduce/Makefile @@ -1,63 +1,63 @@ PORTNAME= reduce PORTVERSION= ${SFSUBDIR:S/snapshot_//:S/-//g} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math lang MASTER_SITES= SF/${PORTNAME}-algebra/${SFSUBDIR}/ DISTNAME= Reduce-svn6339-src MAINTAINER= yuri@FreeBSD.org COMMENT= Codemist Standard Lisp REDUCE general-purpose computer system WWW= http://www.reduce-algebra.com/ LICENSE= BSD2CLAUSE BROKEN_armv7= fails to compile: error: no viable overloaded '=': return *this = int128_t(rhs); BROKEN_i386= fails to compile: sysv.S:832:1: changed section flags for .eh_frame, expected: 0x2 BUILD_DEPENDS= gnuplot:math/gnuplot LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= autoreconf:build libtool gmake ncurses jpeg xorg USE_XORG= x11 xcursor xext xorgproto xft xrandr xrender SFSUBDIR= snapshot_2022-06-17 TARGET_SDIR= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL} CPPFLAGS+= -I${NCURSESINC} # Avoid GNU_CONFIGURE as it breaks staging HAS_CONFIGURE= yes ALL_TARGET= MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS= --with-csl CPPFLAGS+= `freetype-config --cflags` LDFLAGS+= `freetype-config --libs` REDUCE_BINS= ${WRKSRC}/cslbuild/${TARGET_SDIR} OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${REDUCE_BINS}/csl/reduce.img ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${REDUCE_BINS}/csl/reduce ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${FILESDIR}/runcsl.sh ${STAGEDIR}${PREFIX}/bin/redcsl ${INSTALL_MAN} ${FILESDIR}/redcsl.1 ${STAGEDIR}${PREFIX}/share/man/man1/ ${MKDIR} ${STAGEDIR}${DATADIR}/reduce.doc (cd ${REDUCE_BINS}/csl/reduce.doc && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR}/reduce.doc) ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR} (cd ${REDUCE_BINS}/csl/reduce.fonts && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR}/reduce.fonts) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/manual/manual.pdf\ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/primers/*.pdf \ ${STAGEDIR}${DOCSDIR} .include diff --git a/math/saga/Makefile b/math/saga/Makefile index d10355f3b672..f5bd4b474c62 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -1,107 +1,108 @@ PORTNAME= saga PORTVERSION= 9.4.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= System for Automated Geoscientific Analyses WWW= http://www.saga-gis.org/en/index.html LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= swig:devel/swig LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libgdal.so:graphics/gdal \ libhdf5.so:science/hdf5 \ libhpdf.so:print/libharu \ libodbc.so:databases/unixODBC \ libopencv_core.so:graphics/opencv \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libsvm.so:science/libsvm \ libsz.so:science/libaec \ libtiff.so:graphics/tiff RUN_DEPENDS:= swig:devel/swig USES= cmake compiler:c++17-lang desktop-file-utils dos2unix gnome \ iconv:wchar_t libtool localbase pkgconfig python DOS2UNIX_GLOB= *.cpp *.h USE_LDCONFIG= yes USE_WX= 3.2+ GIT_TAGNAME= 0c6bbea57 CMAKE_ARGS= -DSVM_INCLUDE:PATH=${LOCALBASE}/include/svm.h CMAKE_ON= CMAKE_VERBOSE_MAKEFILE CMAKE_ON+= WITH_DEV_TOOLS CMAKE_ON+= WITH_EXCERCISES CMAKE_ON+= WITH_LIFETIME_TRACKER CMAKE_ON+= WITH_MRMR CMAKE_ON+= WITH_SYSTEM_SVM CMAKE_ON+= WITH_TOOLS_HPDF CMAKE_ON+= WITH_TOOLS_OPENCV CMAKE_ON+= WITH_PYTHON_PKG CMAKE_ON+= WITH_TOOLS_PDAL CMAKE_ON+= WITH_TOOLS_POSTGRES CMAKE_ON+= WITH_TOOLS_PROJ CMAKE_OFF= WITH_CLIPPER_ONE CMAKE_OFF+= WITH_TOOLS_RIEGL SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-gis PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= PGSQL OPENMP VIGRA OPTIONS_DEFAULT= PGSQL VIGRA OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_i386= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OPENMP_DESC= Enable Multiprocessing (only amd64, i386 and powerpc64*) VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library OPENMP_CONFIGURE_ENABLE= openmp PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra .include SUB_FILES= pkg-message post-patch: .if ${ARCH} == "powerpc" @${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \ ${WRKSRC}/src/saga_core/saga_api/api_core.h .endif @${REINPLACE_CMD} -e 's|GIT_TAGNAME|${GIT_TAGNAME}|g' \ ${WRKSRC}/src/saga_core/saga_gui/CMakeLists.txt \ ${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp @${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \ ${WRKSRC}/src/accessories/templates/template4saga-tools/my_tool_library/Makefile post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga*.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga.png ${STAGEDIR}${DATADIR} ${RM} ${STAGEDIR}${DATADIR}/saga_dic.txt ${STAGEDIR}${DATADIR}/saga_srs.txt # Put accessories under share/saga, python/data already under site-packages/PySAGA ;) (cd ${WRKSRC}/src/accessories && ${RM} -R python) (cd ${WRKSRC}/src/accessories && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${RM} -R ${STAGEDIR}${DATADIR}/CMakeLists.txt ${RM} -R ${STAGEDIR}${DATADIR}/templates/template4saga-tools/my_tool_library/Makefile.bak # library helper files are not needed and cripple some math/qgis extensions @${RM} ${STAGEDIR}${PREFIX}/lib/saga/*.la .include diff --git a/math/sage/Makefile b/math/sage/Makefile index 88610469d0f8..53127d03f407 100644 --- a/math/sage/Makefile +++ b/math/sage/Makefile @@ -1,576 +1,576 @@ PORTNAME= sage PORTVERSION= 9.2 -PORTREVISION= 43 +PORTREVISION= 44 CATEGORIES= math MASTER_SITES= https://mirrors.xmission.com/sage/src/ \ http://mirrors.xmission.com/sage/src/ \ https://www-ftp.lip6.fr/pub/math/sagemath/src/ \ https://mirrors.mit.edu/sage/src/ \ https://files.sagemath.org/src/ \ ftp://www-ftp.lip6.fr/pub/math/sagemath/src/ #MASTER_SITES= ftp://www-ftp.lip6.fr/pub/math/sagemath/devel/ PKGNAMESUFFIX= -math MAINTAINER= thierry@FreeBSD.org COMMENT= Open source Mathematics software WWW= https://www.sagemath.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.txt BROKEN= hoping to fix it with Python-3.9 BUILD_DEPENDS= bash:shells/bash \ dash:shells/dash \ cmake:devel/cmake-core \ dreadnaut:math/nauty \ ${PYTHON_PKGNAMEPREFIX}alabaster>0:textproc/py-alabaster@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}backcall>0:devel/py-backcall@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}brial>0:math/py-brial@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cvxopt>0:math/py-cvxopt@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cypari2>0:math/py-cypari2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}fpylll>0:math/py-fpylll@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}imagesize>0:graphics/py-imagesize@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipykernel>0:devel/py-ipykernel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Jinja2>0i:devel/py-Jinja2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-core>0:devel/py-jupyter-core@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-client>0:devel/py-jupyter-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}kiwisolver>0:math/py-kiwisolver@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mistune>0:textproc/py-mistune@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}notebook>0:www/py-notebook@${PY_FLAVOR}\ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}parso>0:textproc/py-parso@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}path.py>0:devel/py-path.py@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pickleshare>0:databases/py-pickleshare@${PY_FLAVOR}\ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pplpy>0:math/py-pplpy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>0:devel/py-prompt-toolkit@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pycparser>0:devel/py-pycparser@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyrsistent>0:devel/py-pyrsistent@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}rpy2>0:math/py-rpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}simplegeneric>0:devel/py-simplegeneric@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}snowballstemmer>0:textproc/py-snowballstemmer@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>0:textproc/py-sphinxcontrib-applehelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-devhelp>0:textproc/py-sphinxcontrib-devhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-htmlhelp>0:textproc/py-sphinxcontrib-htmlhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-jsmath>0:textproc/py-sphinxcontrib-jsmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-qthelp>0:textproc/py-sphinxcontrib-qthelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-serializinghtml>0:textproc/py-sphinxcontrib-serializinghtml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-websupport>0:textproc/py-sphinxcontrib-websupport@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}terminado>0:net/py-terminado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}testpath>0:devel/py-testpath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}webencodings>0:converters/py-webencodings@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}widgetsnbextension>0:devel/py-widgetsnbextension@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zipp>0:devel/py-zipp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}\ fflas-ffpack-config:math/fflas-ffpack \ fricas>0:math/fricas \ gfan:math/gfan \ git:devel/git \ gp2c:math/gp2c \ jmol:science/jmol \ libatomic_ops>0:devel/libatomic_ops \ MathJax>0:www/mathjax \ maxima>0:math/maxima \ p5-XML-Writer>0:textproc/p5-XML-Writer \ p5-XML-LibXML>0:textproc/p5-XML-LibXML \ p5-XML-LibXSLT>0:textproc/p5-XML-LibXSLT\ p5-File-Slurp>0:devel/p5-File-Slurp \ p5-JSON>0:converters/p5-JSON \ p5-SVG>0:textproc/p5-SVG \ p5-MongoDB>0:databases/p5-MongoDB \ p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu\ palp>0:math/palp \ pandoc:textproc/hs-pandoc \ pari-elldata>0:math/pari_elldata\ pari-galdata>0:math/pari_galdata\ pari-galpol>0:math/pari_galpol \ pari-nftables>0:math/pari_nftables \ pari-seadata>0:math/pari_seadata\ QuadraticSieve:math/flintqs \ gpatch:devel/patch \ rubiks>0:math/rubiks \ sympow:math/sympow \ tachyon:graphics/tachyon \ three.js>0:www/threejs \ yasm:devel/yasm \ gtar:archivers/gtar \ ffmpeg:multimedia/ffmpeg \ ${LOCALBASE}/lib/libBLT.a:x11-toolkits/blt LIB_DEPENDS= libarb.so:math/arb \ libboost_thread.so:devel/boost-libs \ libbraiding.so:math/libbraiding \ libbrial.so:math/brial \ libCbc.so:math/cbc \ libcdd.so:math/cddlib \ libcliquer.so:math/cliquer \ libcurl.so:ftp/curl \ libeantic.so:math/e-antic \ libec.so:math/eclib \ libecl.so:lang/ecl \ libecm.so:math/gmp-ecm \ libflint.so:math/flint2 \ libfplll.so:math/fplll \ libfreetype.so:print/freetype2 \ libgc.so:devel/boehm-gc \ libgc-threaded.so:devel/boehm-gc-threaded\ libgf2x.so:math/gf2x \ libgivaro.so:math/givaro \ libglpk.so:math/glpk \ libgap.so:math/gap \ libgmp.so:math/gmp \ libgsl.so:math/gsl \ libhomfly.so:math/libhomfly \ libiml.so:math/iml \ libisl.so:devel/isl \ libLfunction.so:math/lcalc \ libffi.so:devel/libffi \ libgd.so:graphics/gd \ libgiac.so:math/giacxcas \ liblinbox.so:math/linbox \ liblrcalc.so:math/lrcalc \ liblrs.so:math/lrslib \ libm4ri.so:math/m4ri \ libm4rie.so:math/m4rie \ libmpc.so:math/mpc \ libmpfi.so:math/mpfi \ libmpfr.so:math/mpfr \ libmpir.so:math/mpir \ libntl.so:math/ntl \ libpari.so:math/pari \ libpcre.so:devel/pcre \ libplanarity.so:math/planarity \ libpng.so:graphics/png \ libppl.so:devel/ppl \ libR.so:math/R \ librw.so:math/rankwidth \ libSingular.so:math/singular \ libumfpack.so:math/suitesparse-umfpack \ libsemigroups.so:math/libsemigroups \ libsymmetrica.so:math/symmetrica\ libzmq.so:net/libzmq4 \ libzn_poly-0.9.so:math/zn_poly \ libqd.so:math/qd \ libisl.so:devel/isl \ libblas.so:math/blas \ libicuuc.so:devel/icu \ libtiff.so:graphics/tiff \ liblapack.so:math/lapack \ libedit.so:devel/libedit \ libwebp.so:graphics/webp \ libpcre2-8.so:devel/pcre2 \ libgdbm.so:databases/gdbm \ liblcms2.so:graphics/lcms2 \ libopenjp2.so:graphics/openjpeg RUN_DEPENDS= bash:shells/bash \ dreadnaut:math/nauty \ ${PYTHON_PKGNAMEPREFIX}alabaster>0:textproc/py-alabaster@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}backcall>0:devel/py-backcall@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}brial>0:math/py-brial@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cvxopt>0:math/py-cvxopt@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cypari2>0:math/py-cypari2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}fpylll>0:math/py-fpylll@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}imagesize>0:graphics/py-imagesize@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipykernel>0:devel/py-ipykernel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-core>0:devel/py-jupyter-core@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-client>0:devel/py-jupyter-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}kiwisolver>0:math/py-kiwisolver@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mistune0>0:textproc/py-mistune0@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}notebook>0:www/py-notebook@${PY_FLAVOR}\ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}parso>0:textproc/py-parso@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}path.py>0:devel/py-path.py@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pickleshare>0:databases/py-pickleshare@${PY_FLAVOR}\ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pplpy>0:math/py-pplpy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>0:devel/py-prompt-toolkit@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pycparser>0:devel/py-pycparser@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyrsistent>0:devel/py-pyrsistent@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}rpy2>0:math/py-rpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}simplegeneric>0:devel/py-simplegeneric@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}snowballstemmer>0:textproc/py-snowballstemmer@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>0:textproc/py-sphinxcontrib-applehelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-devhelp>0:textproc/py-sphinxcontrib-devhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-htmlhelp>0:textproc/py-sphinxcontrib-htmlhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-jsmath>0:textproc/py-sphinxcontrib-jsmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-qthelp>0:textproc/py-sphinxcontrib-qthelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-serializinghtml>0:textproc/py-sphinxcontrib-serializinghtml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-websupport>0:textproc/py-sphinxcontrib-websupport@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}terminado>0:net/py-terminado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}testpath>0:devel/py-testpath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}webencodings>0:converters/py-webencodings@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}widgetsnbextension>0:devel/py-widgetsnbextension@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zipp>0:devel/py-zipp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}\ fflas-ffpack-config:math/fflas-ffpack \ fricas>0:math/fricas \ gfan:math/gfan \ git:devel/git \ gp2c:math/gp2c \ jmol:science/jmol \ MathJax>0:www/mathjax \ maxima>0:math/maxima \ p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu\ palp>0:math/palp \ pandoc:textproc/hs-pandoc \ pari-elldata>0:math/pari_elldata\ pari-galdata>0:math/pari_galdata\ pari-galpol>0:math/pari_galpol \ pari-nftables>0:math/pari_nftables \ pari-seadata>0:math/pari_seadata\ QuadraticSieve:math/flintqs \ rubiks>0:math/rubiks \ sympow:math/sympow \ tachyon:graphics/tachyon \ three.js>0:www/threejs \ yasm:devel/yasm \ pixz:archivers/pixz USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \ gettext gmake gnome iconv jpeg libtool localbase magick:6,build \ ncurses ninja:build perl5 pkgconfig python readline shebangfix \ sqlite tex tk xorg USE_TEX= latex:build pdftex:build tex:build USE_XORG= x11 xext xscrnsaver USE_GNOME= cairo glib20 pango USE_PYTHON= cython USE_JAVA= yes # for science/jmol CONFLICTS= ${PYTHON_PKGNAMEPREFIX}wheel-0.* SHEBANG_FILES= . SHEBANG_LANG+= dash dash_OLD_CMD= /bin/dash dash_CMD= ${LOCALBASE}/bin/dash DISABLE_BINUTILS= yes LIBS= -lomp -pthread .if !defined{WITH_DEBUG} LDFLAGS+= -s .endif BLDDIR= ${WRKDIR}/build GNU_CONFIGURE= yes CONFIGURE_ENV= SAGE_PORT=yes CC=${CC} GCC=${CC} CXX=${CXX} AS=${AS} LD=${LD} \ SAGE_LOCAL=${PREFIX} SAGE_DESTDIR=${BLDDIR}/ \ DESTDIR=${BLDDIR}/${PREFIX} PATCH=${LOCALBASE}/bin/gpatch CONFIGURE_ARGS= --with-system-gcc=force \ --with-system-python3=yes \ --with-python=${PYTHON_CMD} \ --enable-build-as-root \ --disable-download-from-upstream-url \ --localstatedir=/var MAKE_ENV= MAKE=${GMAKE} DESTDIR=${BLDDIR} ALL_TARGET= build REINPLACE_ARGS= -i '' BINARY_ALIAS= patch=${LOCALBASE}/bin/gpatch OPTIONS_SUB= yes PLIST_SUB= VER=${DISTVERSION} SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS PORTDOCS= * .include WSDIR= ${BLDDIR}${PREFIX} SPKG_INST= configure.ac configure build/sage_bootstrap/uninstall.py \ build/make/install src/bin/sage-env PY2FIX= bin lib/${PYTHON_VERSION} DOC2FIX= .pickle .doctree SE2FIX= ^ECLDIR= ^SINGULAR MAXIMA_PREFIX SHR2FIX= GAP_ROOT_DIR PPLPY_DOCS SINGULARPATH STG2FIX= bin/sage-env-config \ share/jupyter/kernels/sagemath/kernel.json BADLN= kernels/sagemath/doc nbextensions/jsmol \ nbextensions/mathjax nbextensions/threejs # External dependencies not yet handled by SageMath # Note: do not use wheel from ports PY_LIBS= alabaster attrs babel backcall bleach certifi cffi cvxopt cycler \ cypari cysignals cython dateutil decorator defusedxml docutils \ entrypoints fpylll gmpy2 html5lib imagesize importlib_metadata ipykernel ipython \ ipython_genutils ipywidgets itsdangerous jedi jinja2 jsonschema jupyter_client \ jupyter_core kiwisolver markupsafe matplotlib mistune mpmath \ nbconvert nbformat networkx nose notebook numpy packaging pandocfilters \ parso pathpy pexpect pickleshare pillow pkgconfig pplpy \ prometheus_client prompt_toolkit psutil ptyprocess pybind11 pycparser pyparsing \ pygments pyrsistent pytz pyzmq requests rpy2 scandir scipy send2trash simplegeneric \ six snowballstemmer sphinx sphinxcontrib_applehelp sphinxcontrib_devhelp sphinxcontrib_htmlhelp sphinxcontrib_jsmath sphinxcontrib_qthelp sphinxcontrib_serializinghtml sphinxcontrib_websupport sympy terminado testpath tornado traitlets \ tzlocal vcversioner wcwidth webencodings widgetsnbextension zipp zope_interface JS_LIBS= jmol mathjax threejs SPKGCM4= e_antic ecl gap libhomfly linbox maxima pynac rubiks singular post-patch: ${CP} ${FILESDIR}/psutil__arch__bsd__freebsd_socks.c.patch \ ${WRKSRC}/build/pkgs/psutil/patches/ .for sp in ${SPKGCM4} ${CP} ${FILESDIR}/${sp}_spkg-configure.m4 \ ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 .endfor .for sp in ${PY_LIBS} ${CP} ${FILESDIR}/py_libs_spkg-configure.m4 \ ${WRKSRC}/build/pkgs/${sp:C/pari2/pari/}/spkg-configure.m4 .endfor #.for sp in ${PY_FILES} # ${SED} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' ${FILESDIR}/${sp}_spkg-configure.m4.in \ # > ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 #.endfor .for sp in ${JS_LIBS} ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${FILESDIR}/${sp}_spkg-configure.m4.in \ > ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 .endfor pre-configure: ${REINPLACE_CMD} -e 's|SAGE_LOCAL="$$prefix"|SAGE_LOCAL="${WSDIR}"|' \ -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|SAGE_LOCAL="@prefix@"|SAGE_LOCAL="${WSDIR}"|' \ ${WRKSRC}/src/bin/sage-env-config.in ${REINPLACE_CMD} -e 's|%%CFLAGS%%|${CFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ ${WRKSRC}/build/pkgs/tachyon/patches/Make-arch.patch ${REINPLACE_CMD} -e '/SUITESPARSE_INC_DIR/s|$${SAGE_LOCAL}/include|${LOCALBASE}/include/suitesparse|'\ ${WRKSRC}/build/pkgs/cvxopt/spkg-install.in ${REINPLACE_CMD} -e 's|exec python3|exec ${PYTHON_CMD}|' \ -e 's|exec "$$SAGE_LOCAL"/bin/python3|exec ${PYTHON_CMD}|' \ ${WRKSRC}/src/bin/sage .for f in ${PY_LIBS} ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|;s|py_libs|${f}|' \ ${WRKSRC}/build/pkgs/${f}/spkg-configure.m4 .endfor ${REINPLACE_CMD} -e 's|import attrs|import attr|' \ ${WRKSRC}/build/pkgs/attrs/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import cypari|import cypari2|' \ ${WRKSRC}/build/pkgs/cypari/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import ipython|import IPython|' \ ${WRKSRC}/build/pkgs/ipython/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pathpy|import path|' \ ${WRKSRC}/build/pkgs/pathpy/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pillow|import PIL|' \ ${WRKSRC}/build/pkgs/pillow/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pplpy|import ppl|' \ ${WRKSRC}/build/pkgs/pplpy/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pyzmq|import zmq|' \ ${WRKSRC}/build/pkgs/pyzmq/spkg-configure.m4 .for f in applehelp devhelp htmlhelp jsmath qthelp serializinghtml websupport ${REINPLACE_CMD} -e 's|import sphinxcontrib_|import sphinxcontrib.|' \ ${WRKSRC}/build/pkgs/sphinxcontrib_${f}/spkg-configure.m4 .endfor ${REINPLACE_CMD} -e 's|import zope_interface|import zope.interface|' \ ${WRKSRC}/build/pkgs/zope_interface/spkg-configure.m4 ${REINPLACE_CMD} -e '/GAP_ROOT=/s|$$SAGE_LOCAL|${LOCALBASE}|' \ ${WRKSRC}/build/pkgs/gap_packages/spkg-install.in ${REINPLACE_CMD} -e "/os.path.join/s|SAGE_LOCAL|'${LOCALBASE}'|"\ ${WRKSRC}/src/sage/libs/gap/util.pyx ${REINPLACE_CMD} -e "/os.path.join(SAGE_LOCAL/s|SAGE_LOCAL|'${LOCALBASE}'|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/^library_dirs/s|SAGE_LOCAL|'${LOCALBASE}'|" \ ${WRKSRC}/src/setup.py .for f in ${SHR2FIX} ${REINPLACE_CMD} -e "/${f}/s|SAGE_SHARE|'${LOCALBASE}/share/'|" \ ${WRKSRC}/src/sage/env.py .endfor ${REINPLACE_CMD} -e "/JMOL_DIR/s|SAGE_SHARE|'${JAVASHAREDIR}'|" \ -e "/JMOL_DIR/s|jmol|classes|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/JSMOL_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ -e "/JSMOL_DIR/s|jsmol|JSmol|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/MATHJAX_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ -e "/MATHJAX_DIR/s|mathjax|MathJax|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/THREEJS_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ ${WRKSRC}/src/sage/env.py .for f in ${SE2FIX} ${REINPLACE_CMD} -e '/${f}/s|$$SAGE_LOCAL|${LOCALBASE}|' \ ${WRKSRC}/src/bin/sage-env .endfor ${REINPLACE_CMD} -e '/LDFLAGS=/s|-rpath,$$SAGE_LOCAL|-rpath,${LOCALBASE}|' \ ${WRKSRC}/src/bin/sage-env .for f in ${SPKG_INST} ${REINPLACE_CMD} -e 's|/var/lib/sage|/share/libdata/${PORTNAME}|' \ ${WRKSRC}/${f} .endfor # Bug with py-docutils > 0.16 ${RM} -r ${WRKSRC}/src/doc/hu (cd ${WRKSRC} && ./bootstrap) ${MKDIR} ${BLDDIR}${PREFIX}/lib/pkgconfig # Removed thereafter post-build: .if ${PORT_OPTIONS:MDOCS} (cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_CMD} doc) .endif .for d in ${PY2FIX} ${FIND} ${WSDIR}/${d} -type f -exec ${GREP} -I -l "${WSDIR}/bin/python" {} \; |\ ${XARGS} ${SED} -i "" -e 's|${WSDIR}/bin/pytho.*|${PYTHON_CMD}|' .endfor .for d in ${PY2FIX} ${FIND} ${WSDIR}/${d} -type f -exec ${GREP} -I -l "/usr/bin/env python" {} \; |\ ${XARGS} ${SED} -i "" -e 's|/usr/bin/env pytho.*|${PYTHON_CMD}|' .endfor ${FIND} ${BLDDIR}/${PYTHON_LIBDIR} -type d -name __pycache__ | \ ${XARGS} ${RM} -r .for f in ${DOC2FIX} ${FIND} ${BLDDIR}${DOCSDIR} -type f -name "*${f}" | ${XARGS} \ ${SED} -i "" -e 's|${BLDDIR}||g' .endfor .for f in ${STG2FIX} ${SED} -i "" -e 's|${BLDDIR}||g' ${BLDDIR}${PREFIX}/${f} .endfor ${RM} ${BLDDIR}${PYTHON_CMD} ${BADLN:C|^|${BLDDIR}${PREFIX}/share/jupyter/|} ${RM} -r ${BLDDIR}${PREFIX}/var ${RM} ${BLDDIR}${PREFIX}/lib64 ${BLDDIR}${PREFIX}/lib/pkgconfig/blas.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/cblas.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/gsl.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/lapack.pc # Cannot use a package system for pip and setuptools ${RM} ${BLDDIR}${PREFIX}/bin/easy_install* ${BLDDIR}${PREFIX}/bin/pip* ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/pip-* ${BLDDIR}${PYTHON_SITELIBDIR}/pip/ ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/setuptools* \ ${BLDDIR}${PYTHON_SITELIBDIR}/easy_install.py \ ${BLDDIR}${PYTHON_SITELIBDIR}/pkg_resources \ ${BLDDIR}${PYTHON_SITELIBDIR}/__pycache__/easy_install* # Remove CONFLICTS with lang/python3 ${RM} ${BLDDIR}${PREFIX}/bin/python ${BLDDIR}${PREFIX}/bin/python3 ${REINPLACE_CMD} -e '/exec/s|python3|${PYTHON_VERSION}|' ${BLDDIR}${PREFIX}/bin/sage # ${TRUE} because compilation of some .py fails: compileall.py -q to see errors (cd ${WSDIR} && (${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} || \ ${TRUE})) ${FIND} ${BLDDIR}${PREFIX} -name "*.bak" -delete # See https://lists.freebsd.org/pipermail/freebsd-python/2020-June/020710.html .if exists(${PYTHON_SITELIBDIR}/path.py-7.1.dist-info/WHEEL) PLIST_SUB+= EGG="@comment " WHEEL="" .else PLIST_SUB+= EGG="" WHEEL="@comment " .endif do-install: cd "${BLDDIR}" && ${FIND} . | ${CPIO} -pduml ${STAGEDIR} # Remove bad links ${LN} -sf ${DOCSDIR} \ ${STAGEDIR}${PREFIX}/share/jupyter/kernels/sagemath/doc ${LN} -sf ${LOCALBASE}/www/JSmol \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/jsmol ${LN} -sf ${LOCALBASE}/www/MathJax \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/mathjax ${LN} -sf ${LOCALBASE}/www/threejs \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/threejs post-install: ${RM} ${STAGEDIR}${PREFIX}/lib64 ${STAGEDIR}${PREFIX}/libdata/pkgconfig/blas.pc \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/distutils-precedence.pth \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/cblas.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gsl.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/lapack.pc ${RM} -r ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_distutils_hack .include diff --git a/math/vtk8/Makefile b/math/vtk8/Makefile index 5d92647e855e..20a513ac5a48 100644 --- a/math/vtk8/Makefile +++ b/math/vtk8/Makefile @@ -1,130 +1,130 @@ PORTNAME= vtk DISTVERSION= 8.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 8 DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization toolkit WWW= https://www.vtk.org LICENSE= BSD3CLAUSE BROKEN_FreeBSD_13_aarch64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275784 LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 CONFLICTS= vtk6 vtk9 USES= alias cmake compiler:c++11-lang gl jpeg localbase perl5 xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= ice x11 xt xext sm CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION VTK_USE_SYSTEM_EXPAT VTK_USE_SYSTEM_TIFF \ VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_JPEG VTK_USE_SYSTEM_FREETYPE VTK_USE_SYSTEM_ZLIB \ Module_vtkTestingCore Module_vtkTestingRendering CMAKE_ARGS+= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} VTK_SHORT_VER= ${PORTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OSMESA QT5 EXAMPLES OPTIONS_DEFAULT= MPI QT5 OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Options groups #VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views VTK_GROUPS= MPI VTK_WRAPS= JAVA TCLTK OPTIONS_GROUP= GROUPS WRAPPING OPTIONS_GROUP_GROUPS=${VTK_GROUPS} OPTIONS_GROUP_WRAPPING=${VTK_WRAPS} GROUPS_DESC= Groups WRAPPING_DESC= Wrapping .for g in ${VTK_GROUPS} $g_DESC= Build the $g group .endfor .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor QT5_USES= qt:5 QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake:build,buildtools:build QT5_CMAKE_ON= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \ -DVTK_Group_Qt:BOOL=ON DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN DESIGNER_USE= QT=designer DESIGNER_IMPLIES= QT5 MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 MPI_CMAKE_ON= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec OSMESA_CMAKE_ARGS= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa # Wrapping JAVA_CATEGORIES= java JAVA_VARS= USE_JAVA=yes JAVA_CMAKE_BOOL= VTK_WRAP_JAVA Module_vtkWrappingJava JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so TCLTK_USES= tk TCLTK_CMAKE_BOOL= VTK_WRAP_TCL VTK_Group_Tk TCLTK_CMAKE_ON= -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION DOCS_BUILD_DEPENDS= doxygen:devel/doxygen EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES # Mangling so that it will build when science/netcdf is installed. post-patch: @${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \ ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/xxxnetcdf.h @${FIND} ${WRKSRC}/ThirdParty/netcdf -type f | ${XARGS} ${REINPLACE_CMD} \ -E 's/[[:<:]]netcdf\.h[[:>:]]/xxxnetcdf.h/' .include .for g in ${VTK_GROUPS} . if ${PORT_OPTIONS:M${g}} CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON . else CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF . endif .endfor .if !${PORT_OPTIONS:MOSMESA} USES+= gl USE_GL= gl glu .endif post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index dd192c6800fc..035d68bba89e 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -1,145 +1,145 @@ PORTNAME= vtk DISTVERSION= 9.2.6 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization toolkit WWW= https://vtk.org/ LICENSE= BSD3CLAUSE BROKEN_FreeBSD_13_aarch64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275784 LIB_DEPENDS= \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= alias cmake compiler:c++11-lang jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= ice x11 xt xext sm xcursor xfixes xrender CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION \ Module_vtkTestingCore Module_vtkTestingRendering .for m in expat freetype hdf5 jpeg netcdf png tiff zlib # mpi4py should be here, but this fails, see https://gitlab.kitware.com/vtk/vtk/-/issues/18693 CMAKE_ON+= VTK_MODULE_USE_EXTERNAL_VTK_${m} .endfor CMAKE_ARGS= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} # all build options are documented here: https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/build.md # all modules can be obtailed by: find . -name vtk.module # there's also CMake/vtkWrapSettings.cmake with options # disable finding Qt6 CMAKE_ON+= CMAKE_DISABLE_FIND_PACKAGE_Qt6 # enable all modules #CMAKE_ON+= VTK_BUILD_ALL_MODULES VTK_SHORT_VER= ${PORTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OMPI OSMESA PYTHON QT5 EXAMPLES OPTIONS_DEFAULT= OMPI PYTHON QT5 # vtk python binding is needed by other packages, and is unfortunately is unseparable. It is a candidate to be a subpackage. OSMESA_DESC= Use Mesa for off-screen rendering OMPI_DESC= OpenMPI (Message Passing Interface) support DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Option groups that enable groups of modules in VTK VTK_GROUPS= JAVA TCLTK OPTIONS_GROUP= GROUPS OPTIONS_GROUP_GROUPS= ${VTK_GROUPS} GROUPS_DESC= Groups .for w in ${VTK_GROUPS} $w_DESC= Enable $w group .endfor PYTHON_USES= python PYTHON_CMAKE_BOOL= VTK_WRAP_PYTHON PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} -DPython3_EXECUTABLE=${PYTHON_CMD} PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION} QT5_USES= qt:5 QT5_USE= QT=core,declarative,gui,network,opengl,sql,uiplugin,widgets,x11extras,qmake,buildtools # qmake and buildtools should be with :build, but see https://gitlab.kitware.com/vtk/vtk/-/issues/18705 QT5_CMAKE_ON= -DVTK_GROUP_ENABLE_Qt:STRING=YES \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 #QT6_USES= qt:6 #QT6_USE= QT=base,declarative,tools:build #QT6_CMAKE_ON= -DVTK_GROUP_ENABLE_Qt:STRING=YES \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN DESIGNER_USE= QT=designer DESIGNER_IMPLIES= QT5 OMPI_CMAKE_BOOL= VTK_USE_MPI OMPI_USES= mpi:openmpi OMPI_CMAKE_ON= -DMPI_HOME=${LOCALBASE}/mpi/openmpi OMPI_LDFLAGS= ${MPI_LIBS} OSMESA_CMAKE_ON= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa JAVA_VARS= USE_JAVA=yes JAVA_CMAKE_BOOL= VTK_WRAP_JAVA JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjava.so TCLTK_USES= tk TCLTK_CMAKE_ON= -DVTK_GROUP_ENABLE_Tk:STRING=YES \ -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION DOCS_BUILD_DEPENDS= doxygen:devel/doxygen EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES .include .if !${PORT_OPTIONS:MOSMESA} USES+= gl USE_GL= gl glu .endif .if ${PORT_OPTIONS:MPYTHON} && ${PORT_OPTIONS:MOMPI} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} .endif CONFLICTS= vtk6 vtk8 do-install-PYTHON-on: # cmake doesn't install pip's .egg-info: https://gitlab.kitware.com/vtk/vtk/-/issues/18087 @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info @${INSTALL_DATA} ${WRKDIR}/PKG-INFO ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info # workaround for: VTK installs mpi4py which makes it to conflict with the standalone mpi4py package, see https://gitlab.kitware.com/vtk/vtk/-/issues/18691 @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/mpi4py post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/misc/libsupertone/Makefile b/misc/libsupertone/Makefile index 514bcfc24e35..510f79bb49be 100644 --- a/misc/libsupertone/Makefile +++ b/misc/libsupertone/Makefile @@ -1,30 +1,30 @@ PORTNAME= libsupertone PORTVERSION= 0.0.2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= misc MASTER_SITES= http://www.soft-switch.org/downloads/unicall/ MAINTAINER= ports@FreeBSD.org COMMENT= Library for supervisory tone generation and detection WWW= https://www.soft-switch.org/ LICENSE= LGPL21 LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff \ libxml2.so:textproc/libxml2 USES= tar:tgz libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # Add missing dependency in attempt to fix parallel (-jX) builds post-patch: @${REINPLACE_CMD} -e '/DEPENDENCIES =/s,$$, $$(lib_LTLIBRARIES),' \ ${WRKSRC}/Makefile.in .include diff --git a/misc/openmvg/Makefile b/misc/openmvg/Makefile index fdc1ab4333b3..d191b1f5180d 100644 --- a/misc/openmvg/Makefile +++ b/misc/openmvg/Makefile @@ -1,80 +1,80 @@ PORTNAME= openmvg DISTVERSIONPREFIX= v DISTVERSION= 2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc science MAINTAINER= yuri@FreeBSD.org COMMENT= Multiple View Geometry (MVG) library WWW= https://imagine.enpc.fr/%7Emoulonp/openMVG/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/../LICENSE ONLY_FOR_ARCHS= amd64 armv7 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= need to figure out which TARGET_ARCHITECTURE values correspond to other architectures, plus "generic" is broken #HPP_DEPENDS= cereal>0:devel/cereal # external cereal is currently broken, see https://github.com/openMVG/openMVG/issues/1963 #BUILD_DEPENDS= ${HPP_DEPENDS} BUILD_DEPENDS= tbb>0:devel/tbb # configure only checks TBB headers LIB_DEPENDS= libblas.so:math/blas \ libceres.so:math/ceres-solver \ libClp.so:math/clp \ libCoinUtils.so:math/coinutils \ libemon.so:math/lemon \ libflann_cpp.so:math/flann \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libmetis.so:math/metis \ libOsi.so:math/osi \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libunwind.so:devel/libunwind LIB_DEPENDS+= liblz4.so:archivers/liblz4 # workaround for https://github.com/openMVG/openMVG/issues/1798 #RUN_DEPENDS= ${HPP_DEPENDS} USES= cmake compiler:c++11-lang eigen:3 jpeg qt:5 USE_GITHUB= yes GH_ACCOUNT= openMVG GH_PROJECT= openMVG GH_TUPLE= openMVG-thirdparty:cereal:ac168fe:cereal/dependencies/cereal WRKSRC_SUBDIR= src USE_QT= core gui opengl svg widgets buildtools:build qmake:build USE_LDCONFIG= yes CMAKE_ARGS= -DEIGEN_INCLUDE_DIR_HINTS=${LOCALBASE}/include/eigen3 \ -DFLANN_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DLEMON_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DOSI_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DCOINUTILS_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DCLP_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DCERES_DIR_HINTS=${LOCALBASE}/include CMAKE_ON= OpenMVG_BUILD_SHARED CMAKE_OFF= OpenMVG_BUILD_TESTS OpenMVG_BUILD_EXAMPLES CXXFLAGS+= -fPIC \ -I${LOCALBASE}/include # because flann is looked for in a wrong directiory: https://github.com/openMVG/openMVG/issues/1284 LDFLAGS+= -L${LOCALBASE}/lib -llz4 # workaround for https://github.com/openMVG/openMVG/issues/1798 OPTIONS_SINGLE= SIMD_${ARCH:tu} OPTIONS_SINGLE_SIMD_AMD64= K8 CORE MEROM NEHALEM OPTIONS_SINGLE_SIMD_I386= ${OPTIONS_SINGLE_SIMD_AMD64} OPTIONS_DEFAULT_amd64= K8 OPTIONS_DEFAULT_i386= K8 SIMD_AMD64_DESC= Use SSE SIMD optimizations for SIMD_I386_DESC= ${SIMD_AMD64_DESC} K8_DESC= K8 architecture (SSE2) CORE_DESC= Core architecture (up to SSE3) MEROM_DESC= Merom architecture (up to SSSE3) NEHALEM_DESC= Nehalem architecture (up to SSE4.2) K8_CMAKE_ON= -DTARGET_ARCHITECTURE=k8 CORE_CMAKE_ON= -DTARGET_ARCHITECTURE=core MEROM_CMAKE_ON= -DTARGET_ARCHITECTURE=merom NEHALEM_CMAKE_ON= -DTARGET_ARCHITECTURE=nehalem post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include/openMVG_dependencies/osi_clp .include diff --git a/misc/vxl/Makefile b/misc/vxl/Makefile index 5505c9c5891b..d627c3c7cc36 100644 --- a/misc/vxl/Makefile +++ b/misc/vxl/Makefile @@ -1,50 +1,50 @@ PORTNAME= vxl DISTVERSIONPREFIX= v DISTVERSION= 3.3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc science MAINTAINER= yuri@FreeBSD.org COMMENT= C++ libraries for computer vision and image understanding WWW= https://vxl.github.io/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/core/vxl_copyright.h LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang jpeg USE_GITHUB= yes USE_LDCONFIG= yes CONFLICTS_BUILD= openjpeg15 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING CONFLICTS_BUILD= dcmtk # because it is bundled do-test: # 1 test fails, see https://github.com/vxl/vxl/issues/920 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include .if ${ARCH} == "amd64" PLIST_SUB+= X86="" CMAKE_ON+= VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed .elif ${ARCH} == "i386" CFLAGS+= -msse2 # sse2 is not enabled on i386 by default as it is enabled on amd64, see https://github.com/vxl/vxl/issues/795 CXXFLAGS+= -msse2 PLIST_SUB+= X86="" CMAKE_ON+= VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed .else PLIST_SUB+= X86="@comment " CMAKE_OFF+= VIL_CONFIG_ENABLE_SSE2_ROUNDING .endif .include diff --git a/misc/wmweather+/Makefile b/misc/wmweather+/Makefile index 2b08f3a615f5..6279282eb5c4 100644 --- a/misc/wmweather+/Makefile +++ b/misc/wmweather+/Makefile @@ -1,81 +1,81 @@ PORTNAME= wmweather+ PORTVERSION= 2.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc windowmaker geography MASTER_SITES= SF/wmweatherplus/wmweather%2B/ \ SF/nemysisfreebsdp/misc/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Displays current conditions and forecasts with icons and text WWW= https://sourceforge.net/projects/wmweatherplus/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libpcre.so:devel/pcre \ libtiff.so:graphics/tiff \ libHermes.so:graphics/Hermes \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libwraster.so:x11-wm/libwraster USES= iconv jpeg xorg GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libwraster=${LOCALBASE} \ --with-libpcre=${LOCALBASE} \ --with-libcurl=${LOCALBASE} \ --with-xpm-includes=${LOCALBASE} \ --with-xpm-libraries=${LOCALBASE} USE_XORG= x11 xext xpm sm ice LDFLAGS+= -lm WRKSRC= ${WRKDIR}/wmweather+-${PORTVERSION} SUB_FILES= pkg-message PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/pixmaps/${PORTNAME}.png PORTDOCS= ChangeLog README PORTEXAMPLES= HINTS example.conf DESKTOP_ENTRIES="${PORTNAME}" "" "${PORTNAME}" \ "${PORTNAME}" "System;Monitor;" "" OPTIONS_DEFINE= DOCS EXAMPLES WM WM_DESC= Depend on Window Maker port (otherwise only libwraster) WM_LIB_DEPENDS= libWMaker.so:x11-wm/windowmaker post-patch: @${REINPLACE_CMD} \ -e 's| __THROW __attribute__ ((__noreturn__))||' \ -e 's|http://www.nws.noaa.gov/tg/siteloc.shtml|http://www.nws.noaa.gov/tg/siteloc.php|' \ -e 's|"/etc/wmweather+.conf"|"${PREFIX}/etc/wmweather+.conf"|' \ ${WRKSRC}/${PORTNAME}.c @${REINPLACE_CMD} \ -e 's|http://www.nws.noaa.gov/tg/siteloc.shtml|http://www.nws.noaa.gov/tg/siteloc.php|' \ -e 's|/etc/wmweather+.conf|${PREFIX}/etc/wmweather+.conf|' \ ${WRKSRC}/${PORTNAME}.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/multimedia/emby-server-devel/Makefile b/multimedia/emby-server-devel/Makefile index 7fedceab422b..06088d335812 100644 --- a/multimedia/emby-server-devel/Makefile +++ b/multimedia/emby-server-devel/Makefile @@ -1,14 +1,14 @@ DISTVERSION= 4.9.0.16 -PORTREVISION= 0 +PORTREVISION= 1 PKGNAMESUFFIX= -devel DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX} MAINTAINER= driesm@FreeBSD.org CONFLICTS_INSTALL= emby-server MASTERDIR= ${.CURDIR}/../emby-server DISTINFO_FILE= ${.CURDIR}/distinfo .include "${MASTERDIR}/Makefile" diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile index 7da6efacc47d..ae30db9063bc 100644 --- a/multimedia/emby-server/Makefile +++ b/multimedia/emby-server/Makefile @@ -1,156 +1,156 @@ PORTNAME= emby-server DISTVERSION?= 4.8.3.0 -PORTREVISION?= 5 +PORTREVISION?= 6 CATEGORIES= multimedia MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \ https://mediabrowser.github.io/embytools/ DISTNAME= emby-server-freebsd14_${DISTVERSION}_amd64 DISTFILES= ${DISTNAME}.tar.xz \ ffdetect-${FFDETECT_VERSION}.tar.xz \ ffmpeg-${FFMPEG_VERSION}.tar.gz \ license.docx DIST_SUBDIR?= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}.tar.xz \ ffdetect-${FFDETECT_VERSION}.tar.xz \ ffmpeg-${FFMPEG_VERSION}.tar.gz MAINTAINER= driesm@FreeBSD.org COMMENT= Media server to organize, play & stream audio/video to various devices WWW= https://emby.media/ LICENSE= UNKNOWN LICENSE_NAME= custom LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/license.docx LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= nasm:devel/nasm \ ${LOCALBASE}/include/CL/opencl.h:devel/opencl LIB_DEPENDS= libaribb24.so:multimedia/aribb24 \ libass.so:multimedia/libass \ libchromaprint.so:audio/chromaprint \ libdav1d.so:multimedia/dav1d \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgnutls.so:security/gnutls \ libmfx.so:multimedia/intel-media-sdk \ libOpenCL.so:devel/ocl-icd \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ libtesseract.so:graphics/tesseract \ libtheora.so:multimedia/libtheora \ libva.so:multimedia/libva \ libvorbis.so:audio/libvorbis \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp \ libx264.so:multimedia/libx264 \ libx265.so:multimedia/x265 \ libzvbi.so:devel/libzvbi RUN_DEPENDS= dotnet>0:lang/dotnet \ icu>0:devel/icu \ krb5>0:security/krb5 \ libexif>0:graphics/libexif \ libheif>0:graphics/libheif \ libimagequant>0:graphics/libimagequant \ libinotify>0:devel/libinotify \ libjxl>0:graphics/libjxl \ libunwind>0:devel/libunwind \ openexr>0:graphics/openexr \ openjpeg>0:graphics/openjpeg \ orc>0:devel/orc \ pango>0:x11-toolkits/pango \ tiff>0:graphics/tiff USES= compiler:c11 gmake iconv localbase:ldflags magick:6 pkgconfig sqlite ssl:run USE_RC_SUBR= ${PORTNAME} HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" \ --disable-alsa \ --disable-doc \ --disable-ffplay \ --disable-libxcb \ --disable-outdev=xv \ --disable-sdl2 \ --disable-shared \ --disable-sndio \ --disable-v4l2-m2m \ --disable-vdpau \ --disable-vulkan \ --disable-xlib \ --enable-chromaprint \ --enable-fontconfig \ --enable-gnutls \ --enable-gpl \ --enable-iconv \ --enable-libaribb24 \ --enable-libass \ --enable-libdav1d \ --enable-libdrm \ --enable-libfreetype \ --enable-libfribidi \ --enable-libmfx \ --enable-libopus \ --enable-libtesseract \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libwebp \ --enable-libx264 \ --enable-libx265 \ --enable-libzvbi \ --enable-opencl \ --enable-optimizations \ --enable-static \ --enable-vaapi \ --enable-version3 MAKE_ENV= V=1 CONFLICTS_INSTALL?= emby-server-devel NOPRECIOUSMAKEVARS= yes SUB_FILES= SQLitePCLRaw.provider.sqlite3.dll.config SUB_LIST= GROUP=${GROUPS} \ PORTNAME=${PORTNAME} \ RC_NAME=emby_server \ USER=${USERS} WRKSRC= ${WRKDIR}/${FFMPEG_WRKSRC} USERS= emby GROUPS= emby OPTIONS_DEFINE= LAME OPTIONS_DEFAULT= LAME LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame FFDETECT_VERSION= 2023_06_25-x64_freebsd14 FFMPEG_VERSION= 2023_06_25-u1 FFMPEG_WRKSRC= ffmpeg-2023_06_25_public do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/bin (${INSTALL_PROGRAM} ${WRKDIR}/bin/ffdetect ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffmpeg ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffprobe ${STAGEDIR}${PREFIX}/lib/emby-server/bin) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/lib (cd ${WRKDIR}/lib && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/lib/emby-server/lib) ${RLN} ${LOCALBASE}/lib/libimagequant.so.0.4 ${STAGEDIR}${PREFIX}/lib/emby-server/lib/libimagequant.so.0 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/system (${INSTALL_DATA} ${WRKDIR}/SQLitePCLRaw.provider.sqlite3.dll.config ${STAGEDIR}${PREFIX}/lib/emby-server/system) (cd ${WRKDIR}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system "! -name EmbyServer") (${INSTALL_PROGRAM} ${WRKDIR}/system/EmbyServer ${STAGEDIR}${PREFIX}/lib/emby-server/system) post-install: @${FIND} -s ${STAGEDIR}${PREFIX}/lib -not -type d | ${SORT} | ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} .include diff --git a/multimedia/ogmrip/Makefile b/multimedia/ogmrip/Makefile index 19985553953e..5f68078df6e4 100644 --- a/multimedia/ogmrip/Makefile +++ b/multimedia/ogmrip/Makefile @@ -1,77 +1,77 @@ PORTNAME= ogmrip PORTVERSION= 1.0.1 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Application and libraries for encoding DVDs into DivX/OGM files WWW= https://ogmrip.sourceforge.net/ LICENSE= GPLv2+ # from source, though COPYING says LGPLv2 BUILD_DEPENDS= mencoder:multimedia/mencoder \ mplayer:multimedia/mplayer \ gsed:textproc/gsed LIB_DEPENDS= libenca.so:converters/enca \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libdvdread.so:multimedia/libdvdread RUN_DEPENDS= lame:audio/lame \ oggenc:audio/vorbis-tools \ mencoder:multimedia/mencoder \ mplayer:multimedia/mplayer \ ogmmerge:multimedia/ogmtools USES= desktop-file-utils gmake gnome libtool localbase:ldflags \ pathfix pkgconfig GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-gtk-support --disable-dbus-support \ --disable-libnotify-support USE_GNOME= glib20 intlhack libxml2 INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= ENCHANT MATROSKA NLS THEORA FAAC SRT DEBUG OPTIONS_SUB= yes ENCHANT_DESC= Enable spell checking for text subtitles MATROSKA_DESC= Enable Matroska container support THEORA_DESC= Enable Ogg Theora video codec support SRT_DESC= Enable SRT text subtitles support ENCHANT_CONFIGURE_ENABLE=enchant-support ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant MATROSKA_CONFIGURE_ENABLE=mkv-support MATROSKA_RUN_DEPENDS= mkvmerge:multimedia/mkvtoolnix NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls THEORA_CONFIGURE_ENABLE=theora-support THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora FAAC_CONFIGURE_ENABLE= aac-support FAAC_RUN_DEPENDS= faac:audio/faac SRT_CONFIGURE_ENABLE= srt-support SRT_RUN_DEPENDS= gocr:graphics/gocr DEBUG_CONFIGURE_ON= --enable-maintainer-mode --enable-devel-mode pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "This port requires a version of MEncoder compiled with XviD and/or" @${ECHO_MSG} "x264 support if you want to use these codecs." @${ECHO_MSG} "" post-patch: @${REINPLACE_CMD} -e '/local/s|^CFLAGS=|#CFLAGS=|g ; \ /local/s|^CPPFLAGS=|#CPPFLAGS=|g ; \ /local/s|^LDFLAGS=|#LDFLAGS=|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|^SUBDIRS|#SUBDIRS|g' ${WRKSRC}/docs/Makefile.in @${REINPLACE_CMD} -e \ '/PROGRAM/s|MP4Box|mp4box|g' ${WRKSRC}/libogmrip/ogmrip-mp4.c .include diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile index b98382749d99..3829ad8a6aa3 100644 --- a/net/asterisk18/Makefile +++ b/net/asterisk18/Makefile @@ -1,340 +1,340 @@ PORTNAME= asterisk PORTVERSION= 18.21.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ asterisk/old-releases/ \ sounds/releases/:g729 PKGNAMESUFFIX= 18 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY:= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Open Source PBX and telephony toolkit WWW= https://www.asterisk.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \ libjansson.so:devel/jansson USES= bison compiler:c11 cpe gmake gnome iconv libedit localbase \ pkgconfig shebangfix sqlite ssl ncurses CPE_VENDOR= digium USE_GITHUB= nodefault USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk SHEBANG_FILES= agi/agi-test.agi \ agi/jukebox.agi \ contrib/scripts/astversion \ contrib/scripts/ast_coredumper GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --with-ilbc=internal \ --with-crypto=${OPENSSLBASE} \ --with-ssl=${OPENSSLBASE} \ --with-externals-cache=${DISTDIR}/${DIST_SUBDIR} MAKE_ARGS+= NOISY_BUILD=yes \ ASTDATADIR=${DATADIR} MAKE_ENV= PTHREAD_LIBS="-lpthread" \ MKDIR="${MKDIR}" \ PWLIBDIR=${LOCALBASE}/share/pwlib \ OSVERSION=${OSVERSION} \ DOCSDIR=${DOCSDIR} \ ASTCFLAGS="${CFLAGS}" \ ASTLDFLAGS="${LDFLAGS}" LDFLAGS+= -L. CONFLICTS= ossp-uuid CONFLICTS_BUILD= linuxthreads CONFLICTS_INSTALL= asterisk13 asterisk16 USERS= ${ASTERISK_USER} GROUPS= ${ASTERISK_GROUP} dahdi OPTIONS_DEFINE= ASTVERSION BACKTRACE CURL EXCHANGE FREETDS G729 LDAP LUA MACRO \ MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \ SPANDSP SRTP SYSINFO URIPARSER XMLDOC XMPP OPTIONS_DEFINE_aarch64= GEOLOCATION OPTIONS_DEFINE_amd64= DAHDI GEOLOCATION OPTIONS_DEFINE_i386= DAHDI GEOLOCATION OPTIONS_DEFINE_powerpc= DAHDI OPTIONS_DEFINE_powerpc64= DAHDI OPTIONS_DEFINE_powerpc64le= DAHDI OPTIONS_DEFAULT= CURL FREETDS GSM LUA MACRO MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL \ PJSIP PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \ VORBIS XMLDOC OPTIONS_DEFAULT_amd64= DAHDI XMPP OPTIONS_DEFAULT_i386= DAHDI XMPP OPTIONS_DEFAULT_powerpc= DAHDI XMPP OPTIONS_DEFAULT_powerpc64= DAHDI XMPP OPTIONS_DEFAULT_powerpc64le= DAHDI XMPP OPTIONS_GROUP= CODECS DATABASE OPTIONS_GROUP_CODECS= GSM NEWG711 OPUS SPEEX VORBIS OPTIONS_GROUP_DATABASE= MYSQL ODBC PGSQL OPTIONS_MULTI= MENU OPTIONS_MULTI_MENU= NCURSES NEWT OPTIONS_SUB= yes ASTVERSION_DESC?= Install astversion (requires bash) BACKTRACE_DESC?= Stack backtrace support via (lib)execinfo CODECS_DESC= Encoder/Decoder (Codec) Support DAHDI_DESC?= DAHDI support DATABASE_DESC= Database Support EXCHANGE_DESC?= Exchange calendar support G729_DESC?= Install G.729 format sounds for Music-on-Hold (MoH) GEOLOCATION_DESC?= Enable SIP Geolocation support MACRO_DESC?= Enable app_macro (deprecated) MENU_DESC= Menuselect Interface Backend MP3PLAYER_DESC= Install MP3 Player for Music-On-Hold (mpg123) NEWG711_DESC?= New G711 Codec NEWT_DESC= Newt User Interface OOH323_DESC?= ooh323 support OPUS_DESC?= Opus Codec PJSIP_DESC?= Build the PJSIP based SIP channel SRTP_DESC?= SecureRTP support SYSINFO_DESC?= Use devel/libsysinfo to get system information URIPARSER_DESC?= Use RFC 3986 compliant uriparser library XMLDOC_DESC?= Build and install XML documentation XMPP_DESC?= XMPP/GTALK support ASTVERSION_RUN_DEPENDS= bash:shells/bash BACKTRACE_CONFIGURE_WITH= execinfo CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi DAHDI_CONFIGURE_WITH= dahdi openr2 EXCHANGE_LIB_DEPENDS= libneon.so:www/neon \ libexpat.so:textproc/expat2 EXCHANGE_USES= gettext-runtime EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE} FREETDS_CONFIGURE_OFF= --without-tds G729_DISTFILES= ${ASTERISK_CORE_G729_SOUNDS}:g729 \ ${ASTERISK_MOH_G729_SOUNDS}:g729 GEOLOCATION_USE= GNOME=libxslt GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_WITH= gsm LDAP_USES= ldap LDAP_CONFIGURE_WITH= ldap LUA_USES= lua LUA_CONFIGURE_WITH= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} MP3PLAYER_RUN_DEPENDS= mpg123:audio/mpg123 MYSQL_LIB_DEPENDS= libzstd.so:archivers/zstd \ libunwind.so:devel/libunwind MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysqlclient NCURSES_USES= ncurses NEWT_LIB_DEPENDS= libnewt.so:devel/newt ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl ODBC_CONFIGURE_ON= --with-ltdl ODBC_CONFIGURE_WITH= unixodbc OPUS_EXTRACT_ONLY= ${DISTFILE_opus} OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_GH_TUPLE= traud:asterisk-opus:83e1b458c77e0e287adeca494eeb79edb077b0ff:opus PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres PJSIP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp PJSIP_GH_TUPLE= pjsip:pjproject:${PJSIP_VERSION}:pjsip PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_WITH= portaudio RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient RADIUS_CONFIGURE_WITH= radius SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:${PKG_ORIGIN} SNMP_CONFIGURE_WITH= netsnmp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff SPANDSP_CONFIGURE_WITH= spandsp SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_WITH= speex SRTP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 SRTP_CONFIGURE_WITH= srtp SYSINFO_LIB_DEPENDS= libsysinfo.so:devel/libsysinfo URIPARSER_LIB_DEPENDS= liburiparser.so:net/uriparser URIPARSER_CONFIGURE_WITH= uriparser VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CONFIGURE_WITH= ogg XMLDOC_CONFIGURE_ENABLE= xmldoc XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel XMPP_CONFIGURE_WITH= iksemel ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.5.tar.gz ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk PJSIP_VERSION= 2.13.1 .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) USES+= llvm:max=14 .endif .include .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} LIB_DEPENDS+= libgnutls.so:security/gnutls CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L LDFLAGS+= -lgnutls .endif .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \ ac_cv_lib_iconv_libiconv_open=no .endif .if ${PREFIX} == ${LOCALBASE} VARDIR=/var .else VARDIR=${PREFIX}/var .endif SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} \ ASTERISK_GROUP=${ASTERISK_GROUP} \ VARDIR=${VARDIR} .if ${PORT_OPTIONS:MGEOLOCATION} .if ${ARCH} == i386 LLD_EMULATION= elf_i386 .elif ${ARCH} == amd64 LLD_EMULATION= elf_x86_64 .elif ${ARCH} == aarch64 LLD_EMULATION= aarch64elf .endif .endif post-extract: @${FIND} ${WRKSRC} -name '*.d' -delete post-extract-G729-on: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_CORE_G729_SOUNDS} ${WRKSRC}/sounds ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds post-extract-OPUS-on: ${CP} ${WRKSRC_opus}/include/asterisk/* ${WRKSRC}/include/asterisk ${CP} ${WRKSRC_opus}/codecs/* ${WRKSRC}/codecs ${CP} ${WRKSRC_opus}/res/* ${WRKSRC}/res post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample @${REINPLACE_CMD} -e 's/@XMLSTARLET@//' ${WRKSRC}/makeopts.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/main/term.c .if exists(${FILESDIR}/.asterisk.makeopts) ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts .endif post-patch-GEOLOCATION-on: @${REINPLACE_CMD} -e 's/%%LLD_EMULATION%%/${LLD_EMULATION}/' ${WRKSRC}/Makefile.rules post-patch-SYSINFO-on: @${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile post-patch-SYSINFO-off: @${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile post-configure: @cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts post-configure-GEOLOCATION-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_geolocation menuselect.makeopts post-configure-GEOLOCATION-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable res_geolocation menuselect.makeopts post-configure-MACRO-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable app_macro menuselect.makeopts post-configure-MYSQL-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable cdr_mysql menuselect.makeopts post-configure-OOH323-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts post-configure-NEWG711-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts post-configure-OPTIMIZED_CFLAGS-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts post-configure-OPUS-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable codec_opus_open_source menuselect.makeopts post-install: @${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-* ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules -type f -name '*.so' | ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/moh -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} (cd ${STAGEDIR} && \ ${ECHO} "@owner ${ASTERISK_USER}" >> ${TMPPLIST} && \ ${ECHO} "@group ${ASTERISK_GROUP}" >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/default -type f | ${SED} "s,^,/," >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/ -type d | ${SED} "s,^,@dir /," >> ${TMPPLIST} && \ ${ECHO} "@owner" >> ${TMPPLIST} && \ ${ECHO} "@group" >> ${TMPPLIST}); post-install-ASTVERSION-off: @${RM} ${STAGEDIR}${PREFIX}/sbin/astversion .include diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 8ee490f4502e..d2580807ef9c 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -1,211 +1,212 @@ PORTNAME= freeswitch PORTVERSION= 1.10.11 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://files.freeswitch.org/releases/freeswitch/ \ https://files.freeswitch.org/releases/sounds/:sounds DISTFILES= ${PORTNAME}-${PORTVERSION}.-release${EXTRACT_SUFX} MAINTAINER= pi@FreeBSD.org COMMENT= Multi-protocol soft switch for telephony applications WWW= https://freeswitch.org LICENSE= MPL11 BROKEN_i386= error: expected ')' ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= gdiff:textproc/diffutils \ doxygen:devel/doxygen \ erlang>=21.3:lang/erlang RUN_DEPENDS= erlang>=21.3:lang/erlang LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libcurl.so:ftp/curl \ libavformat.so:multimedia/ffmpeg \ libpcre.so:devel/pcre \ libspeexdsp.so:audio/speexdsp \ libspeex.so:audio/speex \ libldns.so:dns/ldns \ libopus.so:audio/opus \ libsndfile.so:audio/libsndfile \ libfreetype.so:print/freetype2 \ libodbc.so:databases/unixODBC \ libpng.so:graphics/png \ libjbig.so:graphics/jbigkit \ libtiff.so:graphics/tiff \ libuuid.so:misc/e2fsprogs-libuuid \ libmariadb.so:databases/mariadb-connector-c \ libspandsp.so:comms/spandsp \ libsofia-sip-ua.so:net/sofia-sip USES= compiler:c11 cpe gmake iconv jpeg libedit autoreconf \ libtool lua:53 openal perl5 pkgconfig shebangfix ssl tar:xz USE_LDCONFIG= yes USE_RC_SUBR= freeswitch BINARY_ALIAS= diff=gdiff MAKE_JOBS_UNSAFE=yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.-release SHEBANG_FILES= scripts/fsxs.in CONFLICTS_BUILD= xmlrpc-c GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --enable-zrtp CFLAGS+= -Wno-error -I${LUA_INCDIR} USERS= ${PORTNAME} GROUPS= ${USERS} SUB_FILES= pkg-message OPTIONS_DEFINE= X11 EXAMPLES PGSQL OPTIONS_DEFAULT= 8K 16K ENGLISH PGSQL OPTIONS_MULTI= BITRATE LANGUAGE OPTIONS_MULTI_BITRATE= 8K 16K 32K 48K OPTIONS_MULTI_LANGUAGE= CHINESE_HK CHINESE_SIM BRAZILIAN ENGLISH ENGLISH_CA FRENCH_CA RUSSIAN SWEDISH OPTIONS_SUB= yes NO_OPTIONS_SORT= yes X11_DESC= graphics/ImageMagick[-nox11] dependency 8K_DESC= 8kHz Audio Files 16K_DESC= 16kHz Audio Files 32K_DESC= 32kHz Audio Files 48K_DESC= 48kHz Audio Files BRAZILIAN_DESC= Brazilian Portuguese Language Sounds CHINESE_HK_DESC= Chinese Traditional Language Sounds CHINESE_SIM_DESC= Chinese Simplified Language Sounds ENGLISH_DESC= US English Language Sounds ENGLISH_CA_DESC= Canadian English Language Sounds FRENCH_CA_DESC= French Canadian Language Sounds RUSSIAN_DESC= Russian Language Sounds SWEDISH_DESC= Swedish Language Sounds ALL_MODULES_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa \ ${LOCALBASE}/bin/aclocal:devel/automake \ ${LOCALBASE}/bin/erl:lang/erlang \ ${LOCALBASE}/bin/bash:shells/bash \ ${LOCALBASE}/bin/mariadb:databases/mariadb104-client \ ${LOCALBASE}/bin/php:lang/php80 ALL_MODULES_CONFLICTS_BUILD= apr ALL_MODULES_EXTRA_PATCHES= ${FILESDIR}/extrapatch-modules.conf ALL_MODULES_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libopencv_video.so:graphics/opencv \ libopencv_core.so:graphics/opencv-core \ libhiredis.so:databases/hiredis \ libldap.so:net/openldap24-client \ libmemcached.so:databases/libmemcached \ libSoundTouch.so:audio/soundtouch \ libasound.so:audio/alsa-lib \ libcodec2.so:audio/codec2 \ libflite.so:audio/flite \ libh2o.so:www/h2o \ libh323.so:net/h323plus \ libhiredis.so:databases/hiredis \ libilbc.so:net/ilbc \ libmemcached.so:databases/libmemcached \ libmongoc-1.0.so:devel/mongo-c-driver \ libmp3lame.so:audio/lame \ libmp4v2.so:multimedia/mp4v2 \ libmpg123.so:audio/mpg123 \ libnetsnmp.so:net-mgmt/net-snmp \ libopencv_core.so:graphics/opencv-core \ libopusfile.so:audio/opusfile \ libphp.so:lang/php80 \ libportaudio.so:audio/portaudio \ libpt.so:devel/ptlib \ librabbitmq.so:net/rabbitmq-c \ libshout.so:audio/libshout \ libtheora.so:multimedia/libtheora \ libtonezone.so:misc/dahdi \ libvlc.so:multimedia/vlc \ libyaml.so:textproc/libyaml ALL_MODULES_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa ALL_MODULES_USE= XORG=x11 OPENLDAP=yes JAVA=yes ALL_MODULES_VARS= USE_JAVA=yes ALL_MODULES_USES= python:2.7 xorg # required by mod_unimrcp ALL_MODULES_CFLAGS= -I${LOCALBASE}/include/openh323/ \ -I${JAVA_HOME}/include/ \ -I${JAVA_HOME}/include/freebsd JAVA_VERSION= 11 8K_VARS= BITRATES+=8000 16K_VARS= BITRATES+=16000 32K_VARS= BITRATES+=32000 48K_VARS= BITRATES+=48000 PGSQL_USES= pgsql PGSQL_CONFIGURE_ENABLE= core-pgsql-support core-pgsql-pkgconfig PGSQL_CONFIGURE_ENV_OFF= ac_cv_lib_pq_PQgetvalue=false # install-strip causes `make stage' to fail: # libtool: install: strip --strip-debug /wrkdirs/usr/ports/net/freeswitch/work/stage/usr/local/lib/libfreeswitch.a # strip: file format not recognized # INSTALL_TARGET= install-strip .include EDPRE= freeswitch-sounds EDPOST= 1.0.51.tar.gz #Swedish lang sounds are older/lower version. EDPOST_SV= 1.0.50.tar.gz EDPOST_MUSIC= 1.0.52.tar.gz .for rate in ${BITRATES} EXTRADISTFILES+= ${EDPRE}-music-${rate}-${EDPOST_MUSIC} .if ${PORT_OPTIONS:MBRAZILIAN} EXTRADISTFILES+= ${EDPRE}-pt-BR-karina-${rate}-${EDPOST} .endif .if ${PORT_OPTIONS:MCHINESE_SIM} EXTRADISTFILES+= ${EDPRE}-zh-cn-sinmei-${rate}-${EDPOST} .endif .if ${PORT_OPTIONS:MCHINESE_HK} EXTRADISTFILES+= ${EDPRE}-zh-hk-sinmei-${rate}-${EDPOST} .endif .if ${PORT_OPTIONS:MENGLISH} EXTRADISTFILES+= ${EDPRE}-en-us-callie-${rate}-${EDPOST_MUSIC} .endif .if ${PORT_OPTIONS:MENGLISH_CA} EXTRADISTFILES+= ${EDPRE}-en-ca-june-${rate}-${EDPOST} .endif .if ${PORT_OPTIONS:MFRENCH_CA} EXTRADISTFILES+= ${EDPRE}-fr-ca-june-${rate}-${EDPOST} .endif .if ${PORT_OPTIONS:MRUSSIAN} EXTRADISTFILES+= ${EDPRE}-ru-RU-elena-${rate}-${EDPOST} .endif .if ${PORT_OPTIONS:MSWEDISH} EXTRADISTFILES+= ${EDPRE}-sv-se-jakob-${rate}-${EDPOST_SV} .endif .endfor .for distfile in ${EXTRADISTFILES} DISTFILES+= ${distfile}:sounds .endfor # Patch out mod_signalwire & mod_verto as they require libks that isn't available, yet. post-patch: ${REINPLACE_CMD} -Ee 's|^(applications/mod_signalwire)|#\1|' \ ${WRKSRC}/modules.conf ${REINPLACE_CMD} -Ee 's|^(endpoints/mod_verto)|#\1|' \ ${WRKSRC}/modules.conf post-patch-PGSQL-off: ${REINPLACE_CMD} -Ee 's|^(databases/mod_pgsql)|#\1|' ${WRKSRC}/modules.conf post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/sounds .for distfile in ${EXTRADISTFILES} ${TAR} --cd ${STAGEDIR}${DATADIR}/sounds -xf ${DISTDIR}/${distfile} .endfor ${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} ${RM} -r ${STAGEDIR}${ETCDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/freeswitch/mod/mod_*.so \ ${STAGEDIR}${PREFIX}/lib/libfreeswitch.so.1.0.0 (cd ${WRKSRC}/conf && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include "${.CURDIR:H:H}/multimedia/ffmpeg4/override.mk" .include diff --git a/net/iaxmodem/Makefile b/net/iaxmodem/Makefile index aefa5d130473..a73f20a268b8 100644 --- a/net/iaxmodem/Makefile +++ b/net/iaxmodem/Makefile @@ -1,52 +1,52 @@ PORTNAME= iaxmodem PORTVERSION= 1.2.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= net comms MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Software modem that connects to IAX channel WWW= https://iaxmodem.sourceforge.net/ DEPRECATED= outdated and uses end-of-life version of GCC EXPIRATION_DATE=2024-05-28 LIB_DEPENDS= libtiff.so:graphics/tiff USES= compiler:features perl5 USE_PERL5= patch HAS_CONFIGURE= yes USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= sbin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz PORTDOCS= CHANGES FAQ README PORTEXAMPLES= config.ttyIAX iaxmodem-cfg.ttyIAX OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == clang # gsm0610_rpe.c:81:10: error: invalid operand for instruction USE_GCC= 9 .endif post-patch: @${PERL} -0pi.bak -e "s|for ac_header in tgmath\.h.*?done||s" \ ${WRKSRC}/lib/spandsp/configure @${REINPLACE_CMD} -e "s|/etc/iaxmodem|${PREFIX}&|" \ ${WRKSRC}/iaxmodem.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/iaxmodem ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/iaxmodem.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/net/iipsrv/Makefile b/net/iipsrv/Makefile index a166ccaab39c..152ab40226b8 100644 --- a/net/iipsrv/Makefile +++ b/net/iipsrv/Makefile @@ -1,49 +1,49 @@ PORTNAME= iipsrv DISTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= net MAINTAINER= me@skylord.ru COMMENT= IIP (Internet Imaging Protocol) FastCGI server WWW= https://iipimage.sourceforge.io LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff USES= autoreconf jpeg libtool pkgconfig localbase USE_GITHUB= yes GH_ACCOUNT= ruven USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share PLIST_FILES= bin/iipsrv.fcgi \ share/man/man8/iipsrv.8.gz OPTIONS_DEFINE= JPEG2000 PNG WEBP JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG2000_CONFIGURE_ENABLE= openjpeg PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= webp post-patch: @${REINPLACE_CMD} -e 's|noinst_PROGRAMS|bin_PROGRAMS|g' \ ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -e 's|include_HEADERS|noinst_HEADERS|g' \ ${WRKSRC}/fcgi/Makefile.am @${REINPLACE_CMD} -e 's|include_HEADERS|noinst_HEADERS|g' \ ${WRKSRC}/fcgi/include/Makefile.am pre-configure: @(cd ${WRKSRC} && ./autogen.sh) .include diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 8d0dac929a42..803be691afc7 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -1,156 +1,156 @@ PORTNAME= cups-filters PORTVERSION= 1.28.17 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= https://github.com/OpenPrinting/cups-filters/releases/download/${DISTVERSION}/ MAINTAINER= tijl@FreeBSD.org COMMENT= Additional backends, filters and other software for CUPS WWW= https://wiki.linuxfoundation.org/openprinting/cups-filters LICENSE= BSD4CLAUSE GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL20 LGPL21+ MIT LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libqpdf.so:print/qpdf \ libcups.so:print/cups \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lib cpe gmake gnome iconv libtool localbase \ pkgconfig shebangfix tar:xz USE_GNOME= glib20 USE_LDCONFIG= yes USE_RC_SUBR= cups_browsed CONFLICTS= foomatic-filters # bin/foomatic-rip CPE_VENDOR= linuxfoundation SHEBANG_FILES= filter/braille/drivers/generic/brftoembosser.in \ filter/braille/drivers/index/imageubrltoindexv3.in \ filter/braille/drivers/index/imageubrltoindexv4.in \ filter/braille/drivers/index/textbrftoindexv3.in \ filter/braille/filters/brftopagedbrf.in \ filter/braille/filters/imagetobrf.in \ filter/braille/filters/liblouis1.defs.gen.in \ filter/braille/filters/musicxmltobrf.in \ filter/braille/filters/texttobrf.in \ filter/braille/filters/vectortobrf.in \ filter/braille/filters/vectortopdf.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-shell=/bin/sh \ --with-pdftops-path=${LOCALBASE}/bin/pdftops \ --with-test-font-path=${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip OPTIONS_DEFINE= BRAILLE COLORD DOCS OPTIONS_GROUP= FILTERS CUPS_BROWSED OPTIONS_GROUP_FILTERS= GHOSTSCRIPT IMAGES MUPDF POPPLER OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP OPTIONS_SINGLE= PDFTOPS OPTIONS_SINGLE_PDFTOPS= PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER OPTIONS_DEFAULT= COLORD GHOSTSCRIPT IMAGES POPPLER AVAHI LDAP \ PSHYBRID OPTIONS_SUB= yes BRAILLE_CONFIGURE_ENABLE= braille BRAILLE_DESC= Braille embosser support BRAILLE_USES= magick:run BRAILLE_BUILD_DEPENDS= bash:shells/bash BRAILLE_LIB_DEPENDS= liblouis.so:devel/liblouis \ # liblouisutdml.so:devel/liblouisutdml BRAILLE_RUN_DEPENDS= pdftotext:graphics/poppler-utils \ bash:shells/bash COLORD_CONFIGURE_ENABLE= dbus COLORD_DESC= Get ICC color profiles from colord (via D-Bus) COLORD_LIB_DEPENDS= libdbus-1.so:devel/dbus COLORD_RUN_DEPENDS= colord>0:graphics/colord # Filters FILTERS_DESC= Filters GHOSTSCRIPT_CONFIGURE_ENABLE= ghostscript GHOSTSCRIPT_DESC= PS-to-PDF and PS/PDF-to-raster using Ghostscript GHOSTSCRIPT_USES= ghostscript IMAGES_CONFIGURE_ENABLE= exif imagefilters IMAGES_CONFIGURE_WITH= jpeg png tiff IMAGES_DESC= Accept JPEG, PNG, and TIFF files as input IMAGES_LIB_DEPENDS= libexif.so:graphics/libexif \ libpng.so:graphics/png \ libtiff.so:graphics/tiff IMAGES_USES= jpeg MUPDF_BUILD_DEPENDS= mutool:graphics/mupdf MUPDF_RUN_DEPENDS= mutool:graphics/mupdf MUPDF_CONFIGURE_ENABLE= mutool MUPDF_DESC= PDF-to-raster using MuPDF POPPLER_CONFIGURE_ENABLE= poppler POPPLER_DESC= PDF-to-raster using Poppler POPPLER_LIB_DEPENDS= libpoppler-cpp.so:graphics/poppler # cups-browsed(8) options CUPS_BROWSED_DESC= cups-browsed(8) options AVAHI_CONFIGURE_ENABLE= avahi AVAHI_CONFIGURE_OFF= --with-browseremoteprotocols=cups AVAHI_CONFIGURE_ON= --with-browseremoteprotocols="dnssd cups" AVAHI_DESC= Discover Zeroconf/Bonjour network printers AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_SUB_LIST= AVAHI_DAEMON=avahi_daemon AVAHI_SUB_LIST_OFF= AVAHI_DAEMON= LDAP_CONFIGURE_ENABLE= ldap LDAP_DESC= Get printer locations from an LDAP server LDAP_USES= ldap # Default PDF-to-PostScript renderer PDFTOPS_DESC= Default PDF-to-PostScript renderer PSGHOSTSCRIPT_CONFIGURE_ON= --with-pdftops=gs PSGHOSTSCRIPT_DESC= Ghostscript gs(1) PSGHOSTSCRIPT_IMPLIES= GHOSTSCRIPT PSHYBRID_BUILD_DEPENDS= pdftops:graphics/poppler-utils PSHYBRID_RUN_DEPENDS= pdftops:graphics/poppler-utils PSHYBRID_CONFIGURE_ON= --with-pdftops=hybrid PSHYBRID_DESC= Ghostscript or Poppler depending on printer PSHYBRID_IMPLIES= GHOSTSCRIPT PSMUPDF_CONFIGURE_ON= --with-pdftops=mupdf PSMUPDF_DESC= MuPDF mutool(1) PSMUPDF_IMPLIES= MUPDF PSPOPPLER_BUILD_DEPENDS= pdftops:graphics/poppler-utils PSPOPPLER_RUN_DEPENDS= pdftops:graphics/poppler-utils PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops PSPOPPLER_DESC= Poppler pdftops(1) .include #.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=dynamic-exception-spec .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ -e 's|/etc|${PREFIX}&|' \ -e 's|README.gz|README|' \ ${WRKSRC}/utils/cups-browsed.8 \ ${WRKSRC}/utils/cups-browsed.conf.5 \ ${WRKSRC}/utils/driverless.1 post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf \ ${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf.sample .include diff --git a/print/fontforge/Makefile b/print/fontforge/Makefile index 94c0c0411adf..43a28f946690 100644 --- a/print/fontforge/Makefile +++ b/print/fontforge/Makefile @@ -1,124 +1,125 @@ PORTNAME= fontforge DISTVERSION= 20230101 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Type 1/TrueType/OpenType/bitmap font editor WWW= https://fontforge.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 USES= compiler:c++11-lang cmake cpe desktop-file-utils gettext gnome \ iconv:wchar_t pkgconfig shared-mime-info tar:xz USE_GNOME= cairo glib20 libxml2 USE_LDCONFIG= yes PORTDOCS= * CMAKE_ARGS= -DIconv_INCLUDE_DIR=${ICONV_INCLUDE_PATH} \ -DIconv_LIBRARY=${ICONV_LIB_PATH} OPTIONS_DEFINE= DOCS FREETYPE GIF JPEG PNG PYTHON READLINE SPIRO TIFF \ TILEPATH UNINAMESLIST WOFF2 WRITEPFM OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GTK3 X11 OPTIONS_SINGLE= THEME OPTIONS_SINGLE_THEME= TANGO 2012 OPTIONS_DEFAULT=GIF GTK3 JPEG PNG PYTHON READLINE SPIRO TANGO TIFF \ TILEPATH UNINAMESLIST WOFF2 OPTIONS_SUB= yes 2012_DESC= Old theme that was used until 2012 2012_CMAKE_ON= -DTHEME:ENUM=2012 DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} DOCS_CMAKE_BOOL=ENABLE_DOCS FREETYPE_DESC= Include freetype's internal debugger FREETYPE_PATCH_DEPENDS= ${NONEXISTENT}:print/freetype2:extract FREETYPE_CMAKE_ON= -DENABLE_FREETYPE_DEBUGGER:PATH=${WRKSRC}/freetype GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL= ENABLE_LIBGIF GTK3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz GTK3_USE= gnome=gdkpixbuf2,gtk30 JPEG_USES= jpeg JPEG_CMAKE_BOOL=ENABLE_LIBJPEG PNG_LIB_DEPENDS=libpng.so:graphics/png PNG_CMAKE_BOOL= ENABLE_LIBPNG PYTHON_USES= python PYTHON_USES_OFF=python:build PYTHON_CMAKE_BOOL= ENABLE_PYTHON_SCRIPTING ENABLE_PYTHON_EXTENSION READLINE_USES= readline READLINE_CMAKE_BOOL= ENABLE_LIBREADLINE SPIRO_DESC= Use libspiro to edit with clothoid splines SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_CMAKE_BOOL= ENABLE_LIBSPIRO TANGO_DESC= Default theme based on the Tango Desktop Project TANGO_CMAKE_ON= -DTHEME:ENUM=tango TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL=ENABLE_LIBTIFF # This is disabled by default in fontforge's CMakeLists.txt, but it was # previously enabled in this port when it was using GNU configure, so I've # defaulted it to enabled TILEPATH_DESC= Enable a 'tile path' command (a variant of 'expand stroke') TILEPATH_CMAKE_BOOL= ENABLE_TILE_PATH UNINAMESLIST_DESC= Use libuninameslist for Unicode attribute data UNINAMESLIST_LIB_DEPENDS= libuninameslist.so:textproc/libuninameslist UNINAMESLIST_CMAKE_BOOL= ENABLE_LIBUNINAMESLIST WOFF2_DESC= WOFF2 web font support WOFF2_LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ libwoff2dec.so:devel/woff2 WOFF2_CMAKE_BOOL= ENABLE_WOFF2 WRITEPFM_DESC= Add ability to save PFM file w/o creating associated font file WRITEPFM_CMAKE_BOOL= ENABLE_WRITE_PFM X11_USES= xorg X11_USE= gnome=pango xorg=ice,sm,x11,xext,xft,xi X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz X11_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont/unifont.pcf.gz:x11-fonts/gnu-unifont X11_CMAKE_BOOL= ENABLE_X11 .include .if ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MX11} CMAKE_ARGS+= -DENABLE_GUI:BOOL=true .else CMAKE_ARGS+= -DENABLE_GUI:BOOL=false .endif post-patch: # https://github.com/fontforge/fontforge/issues/5251 @${REINPLACE_CMD} 's/\(%[^%[:space:]]*\)hs/\1s/g' \ ${WRKSRC}/fontforgeexe/searchview.c \ ${WRKSRC}/po/de.po ${WRKSRC}/po/ca.po ${WRKSRC}/po/hr.po \ ${WRKSRC}/po/it.po ${WRKSRC}/po/pl.po ${WRKSRC}/po/uk.po \ ${WRKSRC}/po/en_GB.po ${WRKSRC}/po/fr.po ${WRKSRC}/po/vi.po \ ${WRKSRC}/po/ko.po ${WRKSRC}/po/ja.po post-patch-FREETYPE-on: @${LN} -s $$(${MAKE} -C ${PORTSDIR}/print/freetype2 -V WRKSRC) \ ${WRKSRC}/freetype post-stage-DOCS-on: @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo \ ${STAGEDIR}${DOCSDIR}/.nojekyll .include diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile index 332374b380a8..03f08fcf70f7 100644 --- a/print/ghostscript10/Makefile +++ b/print/ghostscript10/Makefile @@ -1,122 +1,122 @@ PORTNAME= ghostscript DISTVERSION= 10.03.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ PKGNAMESUFFIX= ${GS_MAJOR_VERSION} PATCH_SITES= https://github.com/ArtifexSoftware/ghostpdl/commit/ PATCHFILES= 90cabe08422afdd16bac5dd9217602679d943045.patch:-p1 MAINTAINER= michael.osipov@siemens.com COMMENT= PostScript and PDF interpreter WWW= https://ghostscript.com/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libidn.so:dns/libidn \ libjbig2dec.so:graphics/jbig2dec \ liblcms2.so:graphics/lcms2 \ libopenjp2.so:graphics/openjpeg \ libpaper.so:print/libpaper \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= poppler-data>=0.4.9:graphics/poppler-data \ urw-base35-fonts>=20200910:x11-fonts/urw-base35-fonts USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz USE_LDCONFIG= yes CPE_VENDOR= artifex EXTRACT_AFTER_ARGS= --exclude cups/libs \ --exclude expat \ --exclude freetype \ --exclude ijs \ --exclude jbig2dec \ --exclude jpeg \ --exclude lcms2mt \ --exclude leptonica \ --exclude libpng \ --exclude openjpeg \ --exclude tesseract \ --exclude tiff \ --exclude zlib GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share ALL_TARGET= so INSTALL_TARGET= soinstall DATADIR= ${PREFIX}/share/${PORTNAME}/${DISTVERSION} GS_MAJOR_VERSION= ${DISTVERSION:R:R} GS_MINOR_VERSION= ${DISTVERSION:R:E} PLIST_SUB= GS_MAJOR_VERSION=${GS_MAJOR_VERSION} \ GS_MINOR_VERSION=${GS_MINOR_VERSION} CONFIGURE_ARGS+= --disable-compile-inits \ --disable-dbus \ --disable-gtk \ --disable-dynamic \ --enable-contrib \ --enable-fontconfig \ --enable-freetype \ --enable-openjpeg \ --with-fontpath=${LOCALBASE}/share/fonts \ --with-jbig2dec \ --with-libiconv=maybe \ --with-libidn \ --with-libpaper \ --with-system-libtiff OPTIONS_DEFINE= CUPS IJS TESSERACT X11 OPTIONS_DEFAULT= CUPS X11 IJS_DESC= Support libijs based Ghostscript devices TESSERACT_DESC= Enable Tesseract OCR engine CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CONFIGURE_ENABLE= cups IJS_LIB_DEPENDS= libijs.so:print/libijs IJS_CONFIGURE_WITH= ijs TESSERACT_USES= libarchive TESSERACT_CONFIGURE_WITH= tesseract TESSERACT_LIB_DEPENDS= libcurl.so:ftp/curl \ libleptonica.so:graphics/leptonica \ libtesseract.so:graphics/tesseract X11_CONFIGURE_WITH= x X11_USES= xorg X11_USE= xorg=ice,sm,x11,xext,xt post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/man/gs.1 post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs ${RM} ${STAGEDIR}${PREFIX}/bin/gsx ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs \ ${STAGEDIR}${PREFIX}/lib/libgs.so.${GS_MAJOR_VERSION}.${GS_MINOR_VERSION} ${RM} ${STAGEDIR}${PREFIX}/bin/lprsetup.sh ${RM} ${STAGEDIR}${PREFIX}/bin/unix-lpr.sh ${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc ${MV} ${STAGEDIR}${DATADIR}/iccprofiles \ ${STAGEDIR}${PREFIX}/share/color/icc/ghostscript ${RLN} ${STAGEDIR}${PREFIX}/share/color/icc/ghostscript \ ${STAGEDIR}${DATADIR}/iccprofiles ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME} ${MKDIR} ${STAGEDIR}${PREFIX}/share/cmap ${MV} ${STAGEDIR}${DATADIR}/Resource/CMap/Identity* \ ${STAGEDIR}${PREFIX}/share/cmap ${RM} -r ${STAGEDIR}${DATADIR}/Resource/CMap ${RLN} ${STAGEDIR}${PREFIX}/share/cmap \ ${STAGEDIR}${DATADIR}/Resource/CMap .include diff --git a/print/hp2xx/Makefile b/print/hp2xx/Makefile index cd5464af3c84..5c477f970213 100644 --- a/print/hp2xx/Makefile +++ b/print/hp2xx/Makefile @@ -1,44 +1,44 @@ PORTNAME= hp2xx PORTVERSION= 3.4.4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= print x11 MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= HPGL to vector and raster formats converter and previewer for X11 WWW= https://www.gnu.org/software/hp2xx/ LICENSE= GPLv2+ LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= jpeg localbase:ldflags MAKE_ENV= DEFINES="${CPPFLAGS}" ALL_LIBS="${LDFLAGS}" CPPFLAGS+= -DUNIX LDFLAGS+= -lm -ltiff -lpng -lz WRKSRC_SUBDIR= sources PLIST_FILES= bin/hp2xx share/man/man1/hp2xx.1.gz OPTIONS_DEFINE= INFO X11 OPTIONS_DEFAULT= INFO X11 INFO_USES= makeinfo INFO_MAKE_ARGS= infodir=${PREFIX}/${INFO_PATH} INFO_INFO= hp2xx X11_USES= xorg X11_USE= XORG=x11 X11_MAKE_ENV= PREVIEWER=to_x11 X11_MAKE_ENV_OFF= PREVIEWER=no_prev X11_CPPFLAGS= -DHAS_UNIX_X11 X11_LDFLAGS= -lX11 post-patch-INFO-off: @${REINPLACE_CMD} -e '/^all:/s|hp2xx.info||g; \ /^install:/s|install-info||g' ${WRKSRC}/Makefile .include diff --git a/print/panda/Makefile b/print/panda/Makefile index 74f4db319206..406e48f51522 100644 --- a/print/panda/Makefile +++ b/print/panda/Makefile @@ -1,40 +1,40 @@ PORTNAME= panda PORTVERSION= 0.5.4 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= print MASTER_SITES= SF \ SAVANNAH \ http://www.stillhq.com/panda/source/ MAINTAINER= ports@FreeBSD.org COMMENT= PDF generation library LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-berkeley-db CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include LIBS+= -lz -L${BDB_LIB_DIR} -L${LOCALBASE}/lib INSTALL_TARGET= install-strip USES= autoreconf bdb dos2unix gmake jpeg libtool pathfix pkgconfig tar:bzip2 DOS2UNIX_GLOB= *.c USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${INSTALL_MAN} ${WRKSRC}/man/panda_*.3 ${STAGEDIR}${PREFIX}/share/man/man3 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS CONTRIBUTORS ChangeLog DEV-HINTS README TODO UNDERWAY ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in IMAGES examples/*.c examples/c++/*.cpp examples/images/*.* ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/print/photoprint/Makefile b/print/photoprint/Makefile index 95dc38e59d5e..ef25b378867a 100644 --- a/print/photoprint/Makefile +++ b/print/photoprint/Makefile @@ -1,34 +1,34 @@ PORTNAME= photoprint DISTVERSION= 0.4.2-pre2 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= print graphics MASTER_SITES= http://www.blackfiveimaging.co.uk/photoprint/ MAINTAINER= ports@FreeBSD.org COMMENT= Utility to print multiple images per sheet WWW= http://blackfiveimaging.co.uk/ LICENSE= GPLv2 LIB_DEPENDS= libcups.so:print/cups \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgutenprint.so:print/gutenprint \ liblcms.so:graphics/lcms \ libnetpbm.so:graphics/netpbm \ libpng.so:graphics/png \ libtiff.so:graphics/tiff GNU_CONFIGURE= yes USES= compiler:c++11-lang desktop-file-utils gettext gnome jpeg \ libtool localbase pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk20 USE_XORG= x11 USE_CXXSTD= gnu++98 LIBS+= -lX11 post-patch: @${REINPLACE_CMD} -e 's|cups/cups.h|cups/ppd.h|g' \ ${WRKSRC}/stp_support/printerqueues_unix.c .include diff --git a/print/pslib/Makefile b/print/pslib/Makefile index 59997a2cf533..e159bda9c97f 100644 --- a/print/pslib/Makefile +++ b/print/pslib/Makefile @@ -1,49 +1,49 @@ PORTNAME= pslib PORTVERSION= 0.4.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= SF DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= C-library for generating multi page PostScript documents WWW= https://pslib.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= gettext gmake gnome jpeg libtool localbase pathfix pkgconfig USE_GNOME= intlhack USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share LIBS+= -lintl INSTALL_TARGET= install-strip EX_DISTNAME= pslib-examples-0.0.11 EX_WRKSRC= ${WRKDIR}/${EX_DISTNAME} OPTIONS_DEFINE= EXAMPLES MANPAGES NLS OPTIONS_DEFAULT= MANPAGES OPTIONS_SUB= yes EXAMPLES_DISTFILES= ${EX_DISTNAME}${EXTRACT_SUFX} MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/docbook-to-man:textproc/docbook-to-man \ ${LOCALBASE}/bin/docbook2man:textproc/docbook-utils MANPAGES_CONFIGURE_ENV_OFF=ac_cv_prog_DOC_TO_MAN="" NLS_CONFIGURE_ENV_OFF= ac_cv_header_libintl_h=no post-patch-NLS-off: @${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in post-install-EXAMPLES-on: @cd ${EX_WRKSRC} && ${RM} Makefile.unix ChangeLog CMakeLists.txt && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile index d4b882aacc51..bd3643ca9057 100644 --- a/print/scribus-devel/Makefile +++ b/print/scribus-devel/Makefile @@ -1,74 +1,74 @@ PORTNAME= scribus PORTVERSION= 1.5.8 -PORTREVISION= 25 +PORTREVISION= 26 CATEGORIES= print editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \ http://www.scribus.net/downloads/${PORTVERSION}/ PKGNAMESUFFIX= -devel MAINTAINER= pkubaj@FreeBSD.org COMMENT= Comprehensive desktop publishing program (development version) WWW= https://www.scribus.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libboost_thread.so:devel/boost-libs \ libhunspell-1.7.so:textproc/hunspell \ libcairo.so:graphics/cairo \ librevenge-0.0.so:textproc/librevenge \ libcups.so:print/cups \ libwpg-0.3.so:graphics/libwpg03 \ libcdr-0.1.so:graphics/libcdr01 \ libfreehand-0.1.so:graphics/libfreehand \ libpagemaker-0.0.so:print/libpagemaker \ libmspub-0.1.so:print/libmspub01 \ libvisio-0.1.so:textproc/libvisio01 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libpoppler.so:graphics/poppler \ libharfbuzz-icu.so:print/harfbuzz-icu \ libfontconfig.so:x11-fonts/fontconfig \ libpodofo09.so:graphics/podofo09 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libicuuc.so:devel/icu \ libqxp-0.0.so:textproc/libqxp \ libzmf-0.0.so:graphics/libzmf USES= cmake compiler:c++17-lang desktop-file-utils dos2unix gnome \ jpeg pkgconfig python qt:5 shared-mime-info tar:xz USE_QT= buildtools:build core declarative gui linguisttools:build \ network opengl printsupport qmake:build widgets xml DOS2UNIX_REGEX= .*\.(cpp|h|txt) USE_GNOME= libxml2 CMAKE_ARGS+= -DWANT_HUNSPELL=YES \ -DWANT_CPP17=YES \ -DCMAKE_COLOR_MAKEFILE:BOOL=ON CONFLICTS_INSTALL= scribus OPTIONS_DEFINE= DOCS .include # Patch sources to force using include files installed by graphics/podofo09 post-patch: @${REINPLACE_CMD} -e '/^[\t ]*#include/s|podofo/podofo.h|podofo09/podofo.h|' \ ${WRKSRC}/scribus/plugins/import/ps/importps.cpp \ ${WRKSRC}/scribus/plugins/import/ai/importai.cpp \ ${WRKSRC}/scribus/imagedataloaders/scimgdataloader_pdf.cpp \ ${WRKSRC}/scribus/pdflib_core.h \ ${WRKSRC}/scribus/pdf_analyzer.h .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ ${WRKSRC}/scribus/desaxe/digester.cpp .endif post-install: ${LN} -sf ../share/icons/1_5_1/scribus.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/print/scribus/Makefile b/print/scribus/Makefile index 98510f0e5691..771a65cae78d 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -1,72 +1,72 @@ PORTNAME= scribus DISTVERSION= 1.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \ http://www.scribus.net/downloads/${PORTVERSION}/ MAINTAINER= pkubaj@FreeBSD.org COMMENT= Comprehensive desktop publishing program WWW= https://www.scribus.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ librevenge-0.0.so:textproc/librevenge \ libcups.so:print/cups \ libcdr-0.1.so:graphics/libcdr01 \ libfreehand-0.1.so:graphics/libfreehand \ libpagemaker-0.0.so:print/libpagemaker \ libmspub-0.1.so:print/libmspub01 \ libvisio-0.1.so:textproc/libvisio01 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff \ libpoppler.so:graphics/poppler \ libharfbuzz-icu.so:print/harfbuzz-icu \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libicuuc.so:devel/icu \ libqxp-0.0.so:textproc/libqxp \ libzmf-0.0.so:graphics/libzmf USES= cmake compiler:c++17-lang desktop-file-utils gnome jpeg \ pkgconfig python qt:5 shared-mime-info tar:xz USE_QT= buildtools:build core gui linguisttools:build network opengl \ printsupport qmake:build widgets xml USE_GNOME= cairo libxml2 CMAKE_ARGS= -DWANT_CPP17=YES CONFLICTS_INSTALL= scribus-devel OPTIONS_DEFINE= BOOST DOCS GRAPHICSMAGICK HUNSPELL OSG PDF OPTIONS_DEFAULT=BOOST GRAPHICSMAGICK HUNSPELL OSG PDF BOOST_DESC= Enable support for Boost-based enhancement GRAPHICSMAGICK_DESC= Use GraphicsMagick for image import support HUNSPELL_DESC= Enable spellchecking via hunspell OSG_DESC= Enable 3D rendering via osg PDF_DESC= Enable PDF export via podofo BOOST_LIB_DEPENDS= libboost_thread.so:devel/boost-libs BOOST_CMAKE_BOOL= WITH_BOOST GRAPHICSMAGIC_LIB_DEPENDS= graphics/GraphicsMagick GRAPHICSMAGICK_CMAKE_BOOL= WANT_GRAPHICSMAGICK HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell HUNSPELL_CMAKE_BOOL= WANT_HUNSPELL OSG_LIB_DEPENDS= libosg.so:graphics/osg OSG_CMAKE_BOOL_OFF= WANT_NOOSG PDF_LIB_DEPENDS= libpodofo.so:graphics/podofo PDF_CMAKE_BOOL= WITH_PODOFO post-install: ${LN} -sf ../share/icons/1_5_1/scribus.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/print/xreader/Makefile b/print/xreader/Makefile index b00755eef08c..5f1050125bdc 100644 --- a/print/xreader/Makefile +++ b/print/xreader/Makefile @@ -1,83 +1,83 @@ PORTNAME= xreader PORTVERSION= 3.2.2 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= print gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Multi-format document reader WWW= https://github.com/linuxmint/xreader LICENSE= GPLv2+ PORTSCOUT= limit:^[0-9.]+$$ # ignore non-numeric tags BUILD_DEPENDS= intltool-merge:textproc/intltool \ itstool:textproc/itstool LIB_DEPENDS= libxapp.so:x11/xapp USES= desktop-file-utils gettext-tools gnome meson pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 USE_XORG= ice sm x11 GLIB_SCHEMAS= org.x.reader.gschema.xml MATHJAX_DIR= ${LOCALBASE}/www/MathJax OPTIONS_DEFINE= DBUS DJVU DVI EPUB HELP KEYRING PDF PS T1LIB TIFF XPS OPTIONS_DEFAULT= DBUS DJVU HELP KEYRING PDF TIFF XPS OPTIONS_SUB= yes DVI_DESC= DVI format support EPUB_DESC= EPUB e-book format support HELP_DESC= Install help files KEYRING_DESC= Password-protected document support T1LIB_DESC= Type1 font support in DVI backend XPS_DESC= XPS document support DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_MESON_OFF= -Denable_dbus=false DJVU_LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre DJVU_MESON_ON= -Ddjvu=true DVI_LIB_DEPENDS= libspectre.so:print/libspectre DVI_USES= tex DVI_USE= TEX=kpathsea DVI_MESON_ON= -Ddvi=true EPUB_BUILD_DEPENDS= ${MATHJAX_DIR}/MathJax.js:www/mathjax EPUB_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 EPUB_RUN_DEPENDS= ${EPUB_BUILD_DEPENDS} EPUB_MESON_ON= -Dmathjax-directory=${MATHJAX_DIR} EPUB_MESON_OFF= -Depub=false HELP_RUN_DEPENDS= yelp:x11/yelp HELP_MESON_ON= -Dhelp_files=true KEYRING_LIB_DEPENDS= libsecret-1.so:security/libsecret KEYRING_MESON_OFF= -Dkeyring=false PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_MESON_OFF= -Dpdf=false PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_MESON_OFF= -Dps=false T1LIB_LIB_DEPENDS= libt1.so:devel/t1lib T1LIB_MESON_ON= -Dt1lib=true T1LIB_IMPLIES= DVI TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_OFF= -Dtiff=false XPS_LIB_DEPENDS= libgxps.so:graphics/libgxps XPS_MESON_OFF= -Dxps=false post-patch: @${REINPLACE_CMD} -e '/gdk\/gdkwayland\.h/d' \ ${WRKSRC}/libdocument/ev-document-misc.h .include diff --git a/science/InsightToolkit/Makefile b/science/InsightToolkit/Makefile index 9eb3fc1d6439..800b7f070a53 100644 --- a/science/InsightToolkit/Makefile +++ b/science/InsightToolkit/Makefile @@ -1,106 +1,106 @@ PORTNAME= InsightToolkit DISTVERSIONPREFIX= v DISTVERSION= 5.3.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science biology MASTER_SITES= https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${DISTVERSION}/:data DISTFILES= InsightData-${DISTVERSION}.tar.gz:data MAINTAINER= yuri@FreeBSD.org COMMENT= Insight Toolkit WWW= https://www.itk.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= googletest>=0:devel/googletest # gtest required for build, see https://github.com/InsightSoftwareConsortium/ITK/issues/3750 LIB_DEPENDS= libdouble-conversion.so:devel/double-conversion \ libfreetype.so:print/freetype2 \ libgdcmCommon.so:devel/gdcm \ libexpat.so:textproc/expat2 \ libfftw.so:math/fftw \ libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libsz.so:science/libaec \ libtiff.so:graphics/tiff \ libvcl.so:misc/vxl # dependencies for optional modules LIB_DEPENDS+= libdcmjpls.so:graphics/dcmtk \ libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lang eigen:3,build,run gl jpeg localbase:ldflags pkgconfig python:run,test xorg USE_GL= opengl USE_XORG= x11 USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit USE_GITHUB= yes GH_ACCOUNT= InsightSoftwareConsortium GH_PROJECT= ITK CMAKE_ON= BUILD_SHARED_LIBS \ ITK_LEGACY_SILENT \ ITK_USE_SYSTEM_DCMTK \ ITK_USE_SYSTEM_DOUBLECONVERSION \ ITK_USE_SYSTEM_EIGEN \ ITK_USE_SYSTEM_EXPAT \ ITK_USE_SYSTEM_FFTW \ ITK_USE_SYSTEM_GDCM \ ITK_USE_SYSTEM_HDF5 \ ITK_USE_SYSTEM_JPEG \ ITK_USE_SYSTEM_LIBRARIES \ ITK_USE_SYSTEM_PNG \ ITK_USE_SYSTEM_TIFF \ ITK_USE_SYSTEM_VXL \ ITK_USE_SYSTEM_ZLIB \ Module_ITKIOTransformMINC \ Module_ITKIOPNG \ Module_ITKReview CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD} CMAKE_OFF= ITK_USE_KWSTYLE BUILD_TESTING CMAKE_TESTING_ON= BUILD_TESTING # 4 tests are known to fail, see https://github.com/InsightSoftwareConsortium/ITK/issues/3739 #LDFLAGS+= -lcompat # workaround for: ld: error: lib/liblpsolve55.so.5.5.2: undefined reference to ftime LDFLAGS+= -L${WRKSRC} -lftime # workaround for: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789, otherwise the above line should suffice ITK_VER= ${PORTVERSION:R} PLIST_SUB+= ITK_VER=${ITK_VER} OPTIONS_DEFINE= EXAMPLES EXAMPLES_DESC= Build examples (very time consuming) EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES BINARY_ALIAS= git=${FILESDIR}/fake-git fetch=false .include .if ${CHOSEN_COMPILER_TYPE} == gcc PLIST_SUB+= CHOSEN_COMPILER_TYPE="GNU" .else PLIST_SUB+= CHOSEN_COMPILER_TYPE="Clang" .endif post-extract: @${MV} ${WRKDIR}/${PORTNAME}-${DISTVERSION}/.ExternalData/* ${WRKSRC}/.ExternalData/ @${RM} -r ${WRKDIR}/${PORTNAME}-${DISTVERSION} pre-configure: # workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789 @${SETENV} ${MAKE_ENV} ${CC} -c -fPIC ${FILESDIR}/ftime.c -o ${WRKSRC}/libftime.o @${AR} -rcs ${WRKSRC}/libftime.a ${WRKSRC}/libftime.o post-configure: # fix conflict with lp_solve by renaming the shared library to liblp_solve55_itk, see https://github.com/InsightSoftwareConsortium/ITK/issues/4031 @${REINPLACE_CMD} \ -e 's|lpsolve55|lpsolve55_itk|g' \ ${WRKSRC}/Modules/Remote/RTK/CMakeLists.txt \ ${WRKSRC}/Modules/Remote/RTK/src/CMakeLists.txt \ ${WRKSRC}/Modules/Remote/RTK/utilities/lp_solve/CMakeLists.txt post-install: # remove contentless docs @${RM} -r ${STAGEDIR}${PREFIX}/share .include .include <../../math/vtk9/Makefile.version> .include diff --git a/science/InsightToolkit501/Makefile b/science/InsightToolkit501/Makefile index b062991236c1..36263cbac051 100644 --- a/science/InsightToolkit501/Makefile +++ b/science/InsightToolkit501/Makefile @@ -1,68 +1,68 @@ PORTNAME= InsightToolkit PORTVERSION= 5.0.1 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX=v CATEGORIES= science biology MASTER_SITES= https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.0.1/:data PKGNAMESUFFIX= 501 DISTFILES= InsightData-5.0.1.tar.gz:data MAINTAINER= ports@FreeBSD.org COMMENT= Insight Toolkit WWW= https://www.itk.org LICENSE= APACHE20 BUILD_DEPENDS= googletest>=0:devel/googletest LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \ libexpat.so:textproc/expat2 \ libfftw.so:math/fftw \ libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libsz.so:science/libaec \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang eigen:3 jpeg pkgconfig USE_GITHUB= yes GH_ACCOUNT= InsightSoftwareConsortium GH_PROJECT= ITK CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ -DITK_FORBID_DOWNLOADS:BOOL=ON \ -DITK_LEGACY_SILENT:BOOL=ON \ -DITK_USE_KWSTYLE:BOOL=OFF \ -DITK_USE_SYSTEM_EXPAT:BOOL=ON \ -DITK_USE_SYSTEM_FFTW:BOOL=ON \ -DITK_USE_SYSTEM_GDCM:BOOL=ON \ -DITK_USE_SYSTEM_HDF5:BOOL=ON \ -DITK_USE_SYSTEM_JPEG:BOOL=ON \ -DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \ -DITK_USE_SYSTEM_PNG:BOOL=ON \ -DITK_USE_SYSTEM_TIFF:BOOL=ON \ -DITK_USE_SYSTEM_ZLIB:BOOL=ON \ -DModule_ITKIOMIC:BOOL=ON \ -DModule_ITKIOTransformMINC:BOOL=ON \ -DModule_ITKReview:BOOL=ON USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit ITK_VER= ${PORTVERSION:R} PLIST_SUB+= ITK_VER=${ITK_VER} OPTIONS_DEFINE= EXAMPLES TESTING EXAMPLES_DESC= Build examples (very time consuming) TESTING_DESC= Build testing programs (very time consuming) EXAMPLES_CMAKE_ON= -DBUILD_EXAMPLES:BOOL=ON TESTING_CMAKE_ON= -DBUILD_TESTING:BOOL=ON .include .if ${CHOSEN_COMPILER_TYPE} == gcc PLIST_SUB+= CHOSEN_COMPILER_TYPE="GNU" .else PLIST_SUB+= CHOSEN_COMPILER_TYPE="Clang" .endif post-extract: ${MV} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/.ExternalData/* ${WRKSRC}/.ExternalData/ ${RM} -r ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include diff --git a/science/elmerfem/Makefile b/science/elmerfem/Makefile index 3f807b3cb60c..cc50530a1088 100644 --- a/science/elmerfem/Makefile +++ b/science/elmerfem/Makefile @@ -1,121 +1,121 @@ PORTNAME= elmerfem DISTVERSIONPREFIX= release- DISTVERSION= 9.0 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= science PATCH_SITES= https://github.com/ElmerCSC/${PORTNAME}/commit/ PATCHFILES= 48e9430c.patch:-p1 # https://github.com/ElmerCSC/elmerfem/pull/294 MAINTAINER= henrik@gulbra.net COMMENT= Multiphysical simulation software WWW= https://www.csc.fi/web/elmer LICENSE= GPLv2 LIB_DEPENDS= libblas.so:math/blas \ libhdf5.so:science/hdf5 \ libmetis.so:math/metis \ libmpich.so:net/mpich \ libnetcdf.so:science/netcdf \ libopenblas.so:math/openblas \ libparpack.so:math/arpack-ng USES= cmake compiler:c++11-lang fortran USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= ElmerCSC USE_LDCONFIG= ${PREFIX}/lib/elmersolver CMAKE_ARGS= -DELMER_FEM_REVISION:STRING=${GH_TAGNAME} ALL_TARGET= # empty LDFLAGS+= -L${LOCALBASE}/lib PORTSCOUT= limit:^release-[1-9] CMAKE_ARGS+= -DHAVE_INTTYPES_H=ON .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev .endif OPTIONS_DEFINE= GUI OCC OPTIONS_DEFAULT= GUI OCC OPTIONS_SUB= yes GUI_DESC= Build with ElmerGUI (Graphical User Interface) OCC_DESC= Use OpenCASCADE for CAD import in ElmerGUI GUI_LIB_DEPENDS= libqwt.so:x11-toolkits/qwt6@qt5 GUI_USES= gl jpeg qt:5 xorg GUI_USE= gl=gl,glu xorg=ice,sm,x11,xext,xt qt=${_QT5_LIBS:ts,} GUI_CMAKE_BOOL= WITH_ELMERGUI WITH_PARAVIEW GUI_CMAKE_ON= -DQWT_LIBRARY=${QT_LIBDIR}/libqwt.so \ -DQWT_INCLUDE_DIR=${QT_INCDIR}/qwt6 \ -DDESIRED_QT_VERSION=5 \ -DWITH_QT5:BOOL=TRUE \ -DQT_FOUND:BOOL=TRUE OCC_IMPLIES= GUI OCC_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libpython${_PYVERSION}.so:lang/python${PYTHON_SUFFIX} \ libtiff.so:graphics/tiff \ libTKernel.so:cad/opencascade \ libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R} OCC_USES= python OCC_CMAKE_BOOL= WITH_OCC OCC_CMAKE_ON= -DVTK_DIR=${LOCALBASE}/lib/cmake/vtk-9.0 \ -DPython3_EXECUTABLE=${PYTHON_CMD} _LIBSTAGEDIR= ${STAGEDIR}/${PREFIX}/lib/elmersolver _PYVERSION= ${PYTHON_VER}${PYTHON_ABIVER} _QT5_LIBS= buildtools:build core declarative gui network opengl \ printsupport qmake:build script sql svg widgets xml .include <../../math/vtk9/Makefile.version> .include .if ${ARCH} == "amd64" CFLAGS_${ARCH}= -fPIC CXXFLAGS_${ARCH}= -fPIC FCFLAGS+= -fPIC FFLAGS+= -fPIC .endif .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/COMPLEX(8)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif post-patch: @${RM} ${WRKSRC}/cmake/Modules/CMakeParseArguments.cmake @${RM} -r ${WRKSRC}/elmergrid/src/metis-5.1.0 @${REINPLACE_CMD} -e 's,"metis.*/metis\.h",,' \ ${WRKSRC}/elmergrid/src/egparallel.c pre-configure-OCC-on: ${REINPLACE_CMD} -e "s|\$${VERSION}|`${PKG_QUERY} '%v' opencascade`|" \ "${WRKSRC}/cmake/Modules/FindOCE.cmake" ${REINPLACE_CMD} -e 's|$${INCLUDE}|${LOCALBASE}/include/OpenCASCADE|' \ "${WRKSRC}/cmake/Modules/FindOCE.cmake" post-configure: # workaround for https://github.com/ElmerCSC/elmerfem/issues/334 @${REINPLACE_CMD} -e 's| -lMPI::MPI_C | |' ${BUILD_WRKSRC}/ElmerGUI/Application/CMakeFiles/ElmerGUI.dir/link.txt post-install: ${LN} -sf ElmerSolver_mpi ${STAGEDIR}${PREFIX}/bin/ElmerSolver ${LN} -sf libelmersolver.so ${_LIBSTAGEDIR}/libelmersolver.so.0 ${LN} -sf libfhuti.so ${_LIBSTAGEDIR}/libfhuti.so.0 ${LN} -sf libmatc.so ${_LIBSTAGEDIR}/libmatc.so.0 ${LN} -sf libmpi_stubs.so ${_LIBSTAGEDIR}/libmpi_stubs.so.0 @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/ElmerGrid do-test: @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS} .include diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile index a984adf2db50..15237333237f 100644 --- a/science/gnudatalanguage/Makefile +++ b/science/gnudatalanguage/Makefile @@ -1,154 +1,154 @@ PORTNAME= gnudatalanguage PORTVERSION= 1.0.4 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= science lang .if defined(BUILD_PYTHON_MODULE) PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} .endif MAINTAINER= thierry@FreeBSD.org COMMENT?= Free IDL-compatible incremental compiler WWW= https://github.com/gnudatalanguage/gdl LICENSE= GPLv2 LIB_DEPENDS+= libgeotiff.so:graphics/libgeotiff\ libexpat.so:textproc/expat2 \ libplplot.so:math/plplot \ libtiff.so:graphics/tiff \ libshp.so:devel/shapelib \ libpng.so:graphics/png \ libsz.so:science/libaec \ libps.so:print/pslib \ libgsl.so:math/gsl USE_GITHUB= yes GH_PROJECT= gdl GH_TAGNAME= 6546898e7f2d23ae1bf67ebe70dc0f38886e5de7 USES= cmake compiler:c++11-lang fortran ncurses pkgconfig readline \ xorg USE_WX= 3.0+ USE_XORG= x11 sm ice xext # Disable ncurses and readline from ports # TODO: create a port for Astron http://idlastro.gsfc.nasa.gov/ftp/astron.tar.gz CMAKE_ARGS= -DREADLINEDIR:STRING="/usr" \ -DOPENMP:BOOL=ON \ -DNCURSESDIR:STRING="/usr" \ -DPYTHON:BOOL=NO CPPFLAGS+= ${CFLAGS} -fno-inline -DNPY_NO_DEPRECATED_API -DNPY_1_7_API_VERSION CXXFLAGS+= -std=gnu++11 LDFLAGS+= -lpthread -L${LOCALBASE}/lib TEST_TARGET= test SLAVEDIRS= science/py-gnudatalanguage # Upstream prefer GraphicsMagick over ImageMackick # see https://github.com/gnudatalanguage/gdl/issues/611 # and https://github.com/gnudatalanguage/gdl/issues/1044 for ImageMagick 7 OPTIONS_DEFINE= EIGEN EXAMPLES FFTW GLPK GRAPHICSMAGICK GRIB HDF5 LIBPROJ4 \ MPICH NETCDF PYTHON QHULL UDUNITS OPTIONS_DEFAULT=EIGEN FFTW GLPK GRAPHICSMAGICK GRIB HDF5 LIBPROJ4 NETCDF PYTHON \ QHULL UDUNITS EIGEN_DESC= Eigen3 support (boost performance) EIGEN_USES= eigen:3 EIGEN_CMAKE_ON= -DEIGEN3:BOOL=YES EIGEN_CMAKE_OFF= -DEIGEN3:BOOL=NO FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW_CMAKE_ON= -DFFTW:BOOL=YES FFTW_CMAKE_OFF= -DFFTW:BOOL=NO GLPK_DESC= Support GLPK for Simplex (Linear programming) GLPK_LIB_DEPENDS= libglpk.so:math/glpk GLPK_CMAKE_ON= -DGLPK=ON:BOOL=YES GLPK_CMAKE_OFF= -DGLPK=OFF:BOOL=NO GRAPHICSMAGICK_DESC= Support GraphicsMagick GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GRAPHICSMAGICK_CMAKE_ON= -DGRAPHICSMAGICK:BOOL=YES GRAPHICSMAGICK_CMAKE_OFF= -DGRAPHICSMAGICK:BOOL=NO # Temporary swith to ImageMagick #IMAGEMAGICK_DESC= Support ImageMagick #IMAGEMAGICK_LIB_DEPENDS=libMagick++-7.so:graphics/ImageMagick7 #IMAGEMAGICK_CMAKE_ON= -DGRAPHICSMAGICK:BOOL=NO -DMAGICK:BOOL=YES -DMAGICKDIR=${LOCALBASE} #IMAGEMAGICK_CMAKE_OFF= -DMAGICK:BOOL=NO GRIB_DESC= Support GRIB messages GRIB_LIB_DEPENDS= libeccodes.so:science/eccodes GRIB_CMAKE_ON= -DGRIB:BOOL=YES GRIB_CMAKE_OFF= -DGRIB:BOOL=NO HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_ON= -DHDF5:BOOL=YES HDF5_CMAKE_OFF= -DHDF5:BOOL=NO -DHDF:BOOL=NO LIBPROJ4_DESC= Support cartographic processes LIBPROJ4_LIB_DEPENDS= libproj.so:graphics/proj LIBPROJ4_CMAKE_ON= -DLIBPROJ:BOOL=YES LIBPROJ4_CMAKE_OFF= -DLIBPROJ:BOOL=NO MPICH_USES= mpi MPICH_CMAKE_ON= -DMPI:BOOL=ON -DMPIDIR:PATH=${MPI_HOME} MPICH_CMAKE_OFF= -DMPI:BOOL=OFF -DMPIDIR=/none NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_CMAKE_ON= -DNETCDF:BOOL=YES -DHDF:BOOL=NO NETCDF_CMAKE_OFF= -DNETCDF:BOOL=NO PYTHON_USES= python PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} PYTHON_CMAKE_ON= -DPYTHON:BOOL=YES -DPYTHONVERSION:STRING="${PYTHON_VER}" PYTHON_CMAKE_OFF= -DPYTHON:BOOL=NO QHULL_DESC= Enable Triangulate and Qhull support QHULL_LIB_DEPENDS= libqhull_r.so:math/qhull QHULL_CMAKE_ON= -DQHULL:BOOL=YES QHULL_CMAKE_OFF= -DQHULL:BOOL=NO UDUNITS_LIB_DEPENDS= libudunits2.so:science/udunits UDUNITS_CMAKE_ON= -DUDUNITS2:BOOL=YES UDUNITS_CMAKE_OFF= -DUDUNITS2:BOOL=NO .if defined(BUILD_PYTHON_MODULE) CATEGORIES+= python CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=YES PLIST= ${.CURDIR}/pkg-plist.pymod .else CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=NO .endif .if defined(BUILD_PYTHON_MODULE) do-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/GDL.so ${STAGEDIR}${PYTHON_SITELIBDIR}/ .endif .if !defined(BUILD_PYTHON_MODULE) post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/testsuite (cd ${WRKSRC}/testsuite && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/testsuite/) .endif .if defined(MAINTAINER_MODE) regression-test: install . if defined(BUILD_PYTHON_MODULE) @${ECHO_CMD} 'import GDL' > ${WRKDIR}/testgdl.py @${ECHO_CMD} 'print GDL.function("sin",(1,))' >> ${WRKDIR}/testgdl.py ${PYTHON_CMD} ${WRKDIR}/testgdl.py . else @${ECHO_CMD} ".RUN ${EXAMPLESDIR}/testsuite/test_suite.pro" \ > ${WRKDIR}/testgdl @${ECHO_CMD} "exit" >> ${WRKDIR}/testgdl ${PREFIX}/bin/gdl < ${WRKDIR}/testgdl . endif .endif .include diff --git a/science/kst2/Makefile b/science/kst2/Makefile index 42a9e6ca1d7e..8c04253c5353 100644 --- a/science/kst2/Makefile +++ b/science/kst2/Makefile @@ -1,60 +1,60 @@ PORTNAME= kst DISTVERSION= ${KST_VERSION}.${KST_DATE} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science MAINTAINER= makc@FreeBSD.org COMMENT= Data viewing and plotting tool WWW= https://kst-plot.kde.org LICENSE= GPLv2 GFDL LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_GFDL= ${WRKSRC}/COPYING-DOCS LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libgsl.so:math/gsl \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils kde:5 pkgconfig \ qt:5 shared-mime-info USE_QT= concurrent core gui network printsupport svg widgets xml \ buildtools:build linguisttools:build qmake:build USE_LDCONFIG= yes KST_VERSION= 2.0.8 KST_DATE= 20220216 KST_COMMIT= 40cdf2d3 KDE_INVENT= 40cdf2d397e4277ee7226188ef89ae3e0f12d884 graphics kst-plot CMAKE_ARGS= -Dkst_install_prefix=${PREFIX} \ -Dkst_pch=off \ -Dkst_version_string=${KST_VERSION} \ -Dkst_revision="${KST_COMMIT} ${KST_DATE}" \ -DCMAKE_DISABLE_FIND_PACKAGE_Getdata=ON \ -Dkst_qt5=on PLIST_SUB= SHLIB_VER=${KST_VERSION} OPTIONS_DEFINE= FITS HDF5 MATLAB NETCDF OPTIONS_DEFAULT= FITS HDF5 MATLAB OPTIONS_SUB= yes FITS_DESC= Support for data in FITS format FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio FITS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CFITSIO=ON HDF5_DESC= Support for data in HDF5 format HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HDF5_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=ON MATLAB_DESC= Support for data in MATLAB format MATLAB_LIB_DEPENDS= libmatio.so:math/matio MATLAB_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Matio=ON NETCDF_DESC= Support for data in NetCDF format (broken) NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NETCDF_IGNORE= does not support NetCDF 4 NETCDF_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Netcdf=ON .include diff --git a/science/lammps/Makefile b/science/lammps/Makefile index f5ba7266778e..512d351e9ae6 100644 --- a/science/lammps/Makefile +++ b/science/lammps/Makefile @@ -1,158 +1,158 @@ PORTNAME= lammps PORTVERSION= ${GH_TAGNAME:C/(stable|patch)_([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\4.\3.\2/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/S/_update/./:C/\.([1-9])$/.0\1/} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Classical molecular dynamics code with a focus on materials modeling WWW= https://lammps.sandia.gov/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= undefined reference to `__atomic_load' LIB_DEPENDS= libevent.so:devel/libevent \ libfftw3.so:math/fftw3 \ libhwloc.so:devel/hwloc2 \ libnghttp2.so:www/libnghttp2 \ libpciaccess.so:devel/libpciaccess \ libssh2.so:security/libssh2 \ libzstd.so:archivers/zstd USES= blaslapack:openblas cmake:noninja,testing compiler:c++14-lang eigen:3 fortran gnome localbase:ldflags python shebangfix USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYTHON= cython USE_GITHUB= yes GH_TAGNAME= patch_21Nov2023 SHEBANG_GLOB= *.sh *.bash SHEBANG_FILES= lib/kokkos/bin/nvcc_wrapper CMAKE_ON= BUILD_SHARED_LIBS CMAKE_SOURCE_PATH= ${WRKSRC}/cmake CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS" ${CMAKE_ARGS_${CHOSEN_COMPILER_TYPE}} \ -DPython_EXECUTABLE=${PYTHON_CMD} CMAKE_ARGS_gcc= -DBUILD_OMP:BOOL=false CMAKE_TESTING_ON= ENABLE_TESTING # 3 tests fail, see https://github.com/lammps/lammps/issues/3875 # enable packages (for a complete list see STANDARD_PACKAGES in cmake/CMakeLists.txt) CMAKE_ON+= PKG_ASPHERE PKG_ATC PKG_AWPMD PKG_BOCS PKG_BODY PKG_BROWNIAN PKG_CG-DNA PKG_CG-SDK PKG_CLASS2 CMAKE_ON+= PKG_COLLOID PKG_COLVARS PKG_COMPRESS PKG_DIELECTRIC PKG_DIFFRACTION PKG_DIPOLE PKG_DPD-BASIC PKG_DPD-MESO PKG_DPD-REACT PKG_DPD-SMOOTH CMAKE_ON+= PKG_DRUDE PKG_EFF PKG_EXTRA-COMPUTE PKG_EXTRA-DUMP PKG_EXTRA-FIX PKG_EXTRA-MOLECULE PKG_EXTRA-PAIR PKG_FEP PKG_GRANULAR PKG_H5MD CMAKE_ON+= PKG_INTERLAYER PKG_KIM PKG_KSPACE PKG_LATBOLTZ PKG_LATTE PKG_MACHDYN PKG_MANIFOLD PKG_MANYBODY PKG_MC CMAKE_ON+= PKG_MEAM PKG_MESSAGE PKG_MGPT PKG_MISC PKG_ML-IAP PKG_ML-RANN CMAKE_ON+= PKG_ML-SNAP PKG_MOFFF PKG_MOLECULE PKG_MOLFILE PKG_MPIIO PKG_ORIENT PKG_PERI PKG_PHONON CMAKE_ON+= PKG_PLUGIN PKG_PLUMED PKG_POEMS PKG_PTM PKG_PYTHON PKG_QEQ PKG_QMMM PKG_QTB PKG_REACTION PKG_REAXFF CMAKE_ON+= PKG_REPLICA PKG_RIGID PKG_SHOCK PKG_SMTBQ PKG_SPH PKG_SPIN PKG_SRD PKG_TALLY PKG_UEF CMAKE_ON+= PKG_VORONOI PKG_YAFF # Packages requiring extra downloades or dependencies: PKG_MSCG PKG_ADIOS PKG_MDI PKG_MESONT PKG_ML-PACE PKG_NETCDF PKG_ML-QUIP PKG_SCAFACOS PKG_VTK # PKG_ML-HDNNP downloads https://github.com/CompPhysVienna/n2p2/archive/v2.1.4.tar.gz OPTIONS_DEFINE= EXCEPTIONS JPEG PNG GZIP FFMPEG OPTIONS_GROUP= PARALLEL PACKAGES OPTIONS_DEFAULT= EXCEPTIONS MPI OPENMP JPEG PNG GZIP FFMPEG H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI ${OPTIONS_DEFAULT_${CHOSEN_COMPILER_TYPE}} OPTIONS_SUB= yes PARALLEL_DESC= Enable parallelizations: PACKAGES_DESC= Enable packages: OPTIONS_GROUP_PARALLEL= MPI OPENMP ${OPTIONS_DEFINE_${CHOSEN_COMPILER_TYPE}} OPTIONS_GROUP_PACKAGES= H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI VTK EXCEPTIONS_DESC= Enable the use of C++ exceptions EXCEPTIONS_CMAKE_BOOL= LAMMPS_EXCEPTIONS MPI_CMAKE_BOOL= BUILD_MPI PKG_MPIIO MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 MPI_USES= compiler:c11 FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_BUILD_DEPENDS= ffmpeg:multimedia/ffmpeg FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png GZIP_DESC= Enable GZIP support GZIP_CMAKE_BOOL= WITH_GZIP H5MD_DESC= H5MD package based on the libhdf5 library H5MD_CMAKE_BOOL= PKG_H5MD H5MD_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec KIM_DESC= KIM package based on the OpenKim library/repository KIM_USES= pkgconfig KIM_CMAKE_BOOL= PKG_KIM KIM_CMAKE_ON= -DDOWNLOAD_KIM:BOOL=OFF KIM_LIB_DEPENDS= libkim-api.so:science/kim-api \ libcurl.so:ftp/curl KIM_RUN_DEPENDS= openkim-models>0:science/openkim-models KOKKOS_DESC= Kokkos package based on the libkokkos library KOKKOS_CMAKE_BOOL= PKG_KOKKOS EXTERNAL_KOKKOS KOKKOS_LIB_DEPENDS= libkokkoscore.so:devel/kokkos LATTE_DESC= Latte package based on the liblatte library LATTE_CMAKE_BOOL= PKG_LATTE LATTE_LIB_DEPENDS= liblatte.so:science/latte NETCDF_DESC= NetCDF package based on the NetCDF library NETCDF_CMAKE_BOOL= PKG_NETCDF NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf PLUMED_DESC= Plumed package based on the plumed library PLUMED_USES= pkgconfig PLUMED_CMAKE_BOOL= PKG_PLUMED PLUMED_CMAKE_ON= -DPLUMED_MODE=shared PLUMED_LIB_DEPENDS= libplumed.so:science/plumed VORONOI_DESC= Voro++, Voronoi tessellation package VORONOI_CMAKE_BOOL= PKG_VORONOI VORONOI_LIB_DEPENDS= libvoro++.so:science/voro++ VTK_DESC= VTK package based on the external VTK-${VTK_VER:R} library VTK_CMAKE_BOOL= PKG_VTK VTK_CMAKE_ON= -DVTK_DIR:PATH=${LOCALBASE}/lib/cmake/vtk-${VTK_VER} VTK_USES= gl qt:5 xorg VTK_USE= GL=opengl qt=core,declarative,gui,network,opengl,sql,widgets xorg=ice,sm,x11,xext,xt VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff PORTSCOUT= ignore:1 # due to a special version tagging scheme that this project uses portscout fails to find new versions, watching their GitHub release page instead .include .if ${PORT_OPTIONS:MOPENMP} CMAKE_ARGS+= -DBUILD_OMP:BOOL=true .endif xpost-patch: # adjust SHELL in Makefile @${REINPLACE_CMD} 's|SHELL = /bin/bash|SHELL = ${LOCALBASE}/bin/bash|' ${WRKSRC}/src/Makefile # fix python version, also see https://github.com/lammps/lammps/issues/3098, https://github.com/lammps/lammps/issues/3099 @${FIND} ${WRKSRC} -name "CMakeLists.txt" -o -name "*.cmake" | ${XARGS} ${REINPLACE_CMD} -e ' \ s|find_package(Python3 REQUIRED |find_package(Python $${FREEBSD_PYTHON_VER} EXACT REQUIRED |; \ s|find_package(Python 3.5 COMPONENTS |find_package(Python $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python 3.6 COMPONENTS |find_package(Python $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python3 REQUIRED |find_package(Python $${FREEBSD_PYTHON_VER} EXACT REQUIRED |; \ s|find_package(Python COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python3 COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python QUIET COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT QUIET COMPONENTS |; \ s|find_package(Python REQUIRED COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT REQUIRED COMPONENTS | \ ' post-patch-FFMPEG-off: @${REINPLACE_CMD} 's|find_program(FFMPEG_EXECUTABLE|#&|' ${WRKSRC}/cmake/CMakeLists.txt post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/python* .include <../../math/vtk9/Makefile.version> .include diff --git a/science/liggghts/Makefile b/science/liggghts/Makefile index 5a97ce18869c..dadf1e6ed49b 100644 --- a/science/liggghts/Makefile +++ b/science/liggghts/Makefile @@ -1,46 +1,46 @@ PORTNAME= liggghts DISTVERSION= 3.8.0-58 -PORTREVISION= 5 +PORTREVISION= 6 DISTVERSIONSUFFIX= -g6e28cfe3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Discrete element method particle simulation software WWW= https://www.cfdem.com/liggghts-open-source-discrete-element-method-particle-simulation-code LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../LICENSE BUILD_DEPENDS= gsed:textproc/gsed LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libhdf5_hl.so:science/hdf5 \ libmpi.so:net/mpich \ libnetcdf.so:science/netcdf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libvtkViewsCore-${VTK_VER}.so:math/vtk${VTK_VER:R} USES= compiler:c++17-lang cmake fortran gl jpeg python qt:5 xorg USE_XORG= ice sm x11 xext xt USE_QT= core declarative gui network opengl sql widgets qmake:build buildtools:build USE_GL= gl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= CFDEMproject GH_PROJECT= ${PORTNAME:tu}-PUBLIC CMAKE_ARGS= -DVTK_DIR=${LOCALBASE}/lib/cmake/vtk-${VTK_VER} \ -DPython3_EXECUTABLE=${PYTHON_CMD} WRKSRC_SUBDIR= src CFLAGS+= -fPIC CXXFLAGS+= -fPIC \ -I${LOCALBASE}/include/vtk-${VTK_VER} BINARY_ALIAS= sed=gsed .include <../../math/vtk9/Makefile.version> .include diff --git a/science/octopus/Makefile b/science/octopus/Makefile index 1917149d40f2..617631675471 100644 --- a/science/octopus/Makefile +++ b/science/octopus/Makefile @@ -1,67 +1,67 @@ PORTNAME= octopus DISTVERSION= 13.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science # chemistry MASTER_SITES= https://octopus-code.org/download/${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Scientific program aimed at the ab initio virtual experimentation WWW= https://octopus-code.org/new-site/main/ LICENSE= GPLv2 BROKEN_aarch64= undefined reference to `__aarch64_cas8_acq_rel' #'` BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libarpack.so:math/arpack-ng \ libblas.so:math/blas \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgd.so:graphics/gd \ libgmp.so:math/gmp \ libgsl.so:math/gsl \ liblapack.so:math/lapack \ libmpfr.so:math/mpfr \ libnlopt.so:math/nlopt \ libpng.so:graphics/png \ libsymspg.so:science/spglib \ libtiff.so:graphics/tiff \ libvdwxcfort.so:science/libvdwxc \ libwebp.so:graphics/webp \ libxc.so:science/libxc \ libyaml.so:textproc/libyaml USES= compiler:c++14-lang fortran gmake jpeg libtool localbase:ldflags perl5 python shebangfix USE_CXXSTD= c++14 USE_LDCONFIG= yes SHEBANG_FILES= src/fdep/fortran_dependencies.pl testsuite/performance/create_combinations.py GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_SHELL= ${PREFIX}/bin/bash CONFIGURE_ARGS= --enable-shared --disable-static LDFLAGS+= -lsymspg FCFLAGS+= -I${LOCALBASE}/include -ffree-line-length-none INSTALL_TARGET= install-strip TEST_TARGET= check-short # some tests fail, see https://gitlab.com/octopus-code/octopus/-/issues/805 OPTIONS_DEFINE= OPENMP OPTIONS_DEFAULT= OPENMP OPENMP_CONFIGURE_ENABLE= openmp .include # workaround for: # Error: BOZ literal constant at (1) is neither a data-stmt-constant nor an actual argument to INT, REAL, DBLE, or CMPLX intrinsic function [see '-fno-allow-invalid-boz'] .if ${GCC_DEFAULT} >= 10 FCFLAGS+= -fallow-argument-mismatch -fallow-invalid-boz .endif post-stage: # https://gitlab.com/octopus-code/octopus/issues/108 @${RM} ${STAGEDIR}${PREFIX}/include/yaml.h .include diff --git a/science/orthanc/Makefile b/science/orthanc/Makefile index a01b3aa7bd56..3de0af855788 100644 --- a/science/orthanc/Makefile +++ b/science/orthanc/Makefile @@ -1,58 +1,58 @@ PORTNAME= orthanc DISTVERSION= 1.11.0 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= science MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/orthanc/ DISTNAME= Orthanc-${PORTVERSION} MAINTAINER= maintainer.freebsd@xpoundit.com COMMENT= Lightweight DICOM server for healthcare and medical research WWW= https://www.orthanc-server.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ libcivetweb.so:www/civetweb \ libcurl.so:ftp/curl \ libdcmtkcharls.so:graphics/dcmtk \ libgtest.so:devel/googletest \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpng16.so:graphics/png \ libpugixml.so:textproc/pugixml \ libtiff.so:graphics/tiff \ libuuid.so:misc/e2fsprogs-libuuid USES= cmake gnome iconv jpeg lua python:build sqlite ssl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= orthanc CMAKE_ON= USE_SYSTEM_BOOST USE_SYSTEM_CIVETWEB USE_SYSTEM_DCMTK \ USE_SYSTEM_GOOGLE_TEST USE_SYSTEM_JSONCPP USE_SYSTEM_LIBICONV \ USE_SYSTEM_LIBJPEG USE_SYSTEM_LIBPNG USE_SYSTEM_LUA \ USE_SYSTEM_OPENSSL USE_SYSTEM_PUGIXML USE_SYSTEM_SQLITE \ USE_SYSTEM_UUID USE_SYSTEM_ZLIB CMAKE_OFF= BUILD_CONNECTIVITY_CHECKS UNIT_TESTS_WITH_HTTP_CONNEXIONS CMAKE_SOURCE_PATH= ${WRKSRC}/OrthancServer CFLAGS+= -DNDEBUG CXXFLAGS+= -DNDEBUG WRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} USERS= orthanc GROUPS= orthanc PLIST_SUB+= DISTVERSION=${DISTVERSION} post-install: ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 ${MKDIR} ${STAGEDIR}${DATADIR}/plugins ${MKDIR} ${STAGEDIR}${ETCDIR} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${CMAKE_SOURCE_PATH}/Resources/Configuration.json ${CP} ${CMAKE_SOURCE_PATH}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample .include diff --git a/science/paraview/Makefile b/science/paraview/Makefile index bd1960bd233f..56b5afe91cc1 100644 --- a/science/paraview/Makefile +++ b/science/paraview/Makefile @@ -1,174 +1,174 @@ PORTNAME= paraview DISTVERSION= ${PARAVIEW_VER}.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/ DISTNAME= ParaView-v${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Powerful scientific data visualization application WWW= https://www.paraview.org/ # See https://www.paraview.org/license/ LICENSE= BSD3CLAUSE BROKEN_i386= no matching member function for call to 'getArrayType' BUILD_DEPENDS= ${PYNUMPY} \ cli11>0:devel/cli11 \ utf8cpp>0:devel/utf8cpp \ fast_float>0:math/fast_float \ nlohmann-json>0:devel/nlohmann-json \ ${LOCALBASE}/include/exprtk.hpp:math/exprtk \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libjbig.so:graphics/jbigkit \ liborc-0.4.so:devel/orc \ libpcre.so:devel/pcre \ libicuuc.so:devel/icu \ libffi.so:devel/libffi \ libtbb.so:devel/onetbb \ libogg.so:audio/libogg \ libgl2ps.so:print/gl2ps \ libOT.so:math/openturns \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libhpdf.so:print/libharu \ libproj.so:graphics/proj \ libpdalcpp.so:math/pdal \ libdrm.so:graphics/libdrm \ libcgns.so:science/cgnslib \ liblz4.so:archivers/liblz4 \ libverdict.so:math/verdict \ libnetcdf.so:science/netcdf \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf \ libpugixml.so:textproc/pugixml \ libavutil.so:multimedia/ffmpeg \ libcgraph.so:graphics/graphviz \ libxkbcommon.so:x11/libxkbcommon \ libtheora.so:multimedia/libtheora \ libgeotiff.so:graphics/libgeotiff \ libboost_thread.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion RUN_DEPENDS= ${PYNUMPY} \ bash:shells/bash \ vtk${VTK_VER:R}>0:math/vtk${VTK_VER:R} \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} USES= alias cmake compiler:c11 desktop-file-utils eigen:3 fortran gl gnome \ jpeg localbase pkgconfig python qt:6 shebangfix sqlite tar:xz xorg USE_GL= gl glew glu glut USE_GNOME= libxml2 USE_QT= 5compat base svg tools webengine #buildtools:build core gui help network opengl qmake:build sql svg \ # webengine widgets x11extras xmlpatterns USE_XORG= ice sm x11 xau xcb xcursor xdamage xdmcp xext xfixes xorgproto xrender \ xxf86vm USE_LDCONFIG= yes CFLAGS+= -I${WRKSRC}/Clients/ParaView/Documentation CMAKE_ARGS+= -DPARAVIEW_BUILD_SHARED_LIBS=ON \ -DPARAVIEW_BUILD_WITH_EXTERNAL=ON \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 \ -DPARAVIEW_USE_PYTHON:BOOL=ON \ -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ -DPARAVIEW_ENABLE_LAS:BOOL=OFF \ -DPARAVIEW_ENABLE_WEB:BOOL=ON \ -DPARAVIEW_ENABLE_GDAL:BOOL=ON \ -DPARAVIEW_ENABLE_PDAL:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF2:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF3:BOOL=ON \ -DPARAVIEW_USE_QT:BOOL=ON \ -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION:BOOL=OFF \ -DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \ -DExternalData_OBJECT_STORES="${WRKDIR}/VTK/ExternalData/MD5" \ -DFREETYPE_INCLUDE_DIRS="${LOCALBASE}/include/freetype2" .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -DVTK_FORBID_DOWNLOADS:BOOL=ON .endif MAKE_ENV= XDG_CONFIG_HOME=${WRKDIR} USE_CXXSTD= c++17 SHEBANG_GLOB= *.py SHEBANG_FILES= VTK/Examples/SearchScript.sh \ VTK/Utilities/Maintenance/*.sh \ Clients/CommandLineExecutables/paraview-config.in OPTIONS_DEFINE= DOCS EXAMPLES MPICH OSMESA OPTIONS_SUB= yes OSMESA_DESC= Use Mesa for off-screen rendering # mpi4py and other programs must be compiled against the same MPI provider MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_USES= mpi # mpich is set by default, use mpi:openmpi if needed MPICH_CMAKE_ON= -DPARAVIEW_USE_MPI:BOOL=ON MPICH_CMAKE_OFF= -DPARAVIEW_USE_MPI:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa OSMESA_USES_OFF= desktop-file-utils OSMESA_CMAKE_BOOL= VTK_OPENGL_HAS_OSMESA OSMESA_CMAKE_ON= -DVTK_USE_X:BOOL="OFF" \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so OSMESA_CMAKE_OFF= -DVTK_USE_X:BOOL="ON" EXAMPLES_CMAKE_BOOL= PARAVIEW_ENABLE_EXAMPLES PORTEXAMPLES= * #TEST_CMAKE_ON= -DPARAVIEW_BUILD_TESTING=WANT \ -DPARAVIEW_BUILD_VTK_TESTING=WANT # Error with ADIOS2 #LIB_DEPENDS+= libadios2_c.so:misc/adios2 #CMAKE_ARGS+= -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON # Missing GenericIO for CosmoTools #CMAKE_ARGS+= -DPARAVIEW_ENABLE_COSMOTOOLS:BOOL=ON # Errors with VisItBridge / VisItLib #CMAKE_ARGS+= -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON # MomentInvariants needs to download a module #CMAKE_ARGS+= -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=ON # No package for graphics/ospray #LIB_DEPENDS+= libospray.so:graphics/ospray #CMAKE_ARGS+= -DPARAVIEW_ENABLE_RAYTRACING PLIST_SUB+= VERMAJORMINOR=${PARAVIEW_VER} VTK9_CONFLICTS= vtk.py vtkmodules/__init__.py vtkmodules/all.py \ vtkmodules/gtk vtkmodules/numpy_interface \ vtkmodules/qt vtkmodules/test vtkmodules/tk \ vtkmodules/util vtkmodules/wx vtkmodules/generate_pyi.py \ vtkmodules/web/errors.py pre-configure: ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${PATCH_WRKSRC}/VTK/IO/Image/vtkPNGReader.cxx ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${PATCH_WRKSRC}/VTK/Utilities/Maintenance/vtk_site_history.py post-install: # vtk9 is not a real run dependency, but it installs several common files .for py in ${VTK9_CONFLICTS} ${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/${py} .endfor post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <./Makefile.version> .include <../../math/vtk9/Makefile.version> .include diff --git a/science/smoldyn/Makefile b/science/smoldyn/Makefile index 94049c8e7936..73bd8471e015 100644 --- a/science/smoldyn/Makefile +++ b/science/smoldyn/Makefile @@ -1,45 +1,46 @@ PORTNAME= smoldyn DISTVERSION= 2.73 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://www.smoldyn.org/ MAINTAINER= yuri@FreeBSD.org COMMENT= Biochemical simulator for molecular diffusion, surface interactions WWW= https://www.smoldyn.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/License.txt LIB_DEPENDS= libtiff.so:graphics/tiff TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYNUMPY} USES= cmake:testing compiler:c++11-lang gl localbase:ldflags python:test tar:tgz shebangfix xorg USE_GL= gl glu glut USE_XORG= xi xmu USE_LDCONFIG= yes SHEBANG_GLOB= *.py.in CMAKE_TESTING_ON= OPTION_EXAMPLES # all tests fail to run, see https://github.com/ssandrews/Smoldyn/issues/127 OPTIONS_DEFINE= PYTHON OPTIONS_DEFAULT= # PYTHON Tests ONLY pass when PYTHON=ON despite biology/py-biosimulators-utils being missing OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= OPTION_PYTHON PYTHON_USES= python PYTHON_CMAKE_ON= -DPython3_EXECUTABLE=${PYTHON_CMD} PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}biosimulators-utils>0:biology/py-biosimulators-utils@${PY_FLAVOR} PYTHON_BROKEN= pending biology/py-biosimulators-utils completion post-extract: # see https://github.com/ssandrews/Smoldyn/issues/127 @${CHMOD} +x ${WRKSRC}/scripts/run_pyscript.py.in do-install-PYTHON-on: # workaround for https://github.com/ssandrews/Smoldyn/issues/129 @cd ${BUILD_WRKSRC}/py && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PYTHON_SITELIBDIR} @${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/.DS_Store .include diff --git a/sysutils/tracker-miners/Makefile b/sysutils/tracker-miners/Makefile index 007e0a645c65..8571ab7eee9c 100644 --- a/sysutils/tracker-miners/Makefile +++ b/sysutils/tracker-miners/Makefile @@ -1,65 +1,65 @@ PORTNAME= tracker-miners PORTVERSION= 2.3.5 -PORTREVISION= 44 +PORTREVISION= 45 CATEGORIES= sysutils gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Miners for tracker2 WWW= https://wiki.gnome.org/Projects/Tracker LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL LIB_DEPENDS= libicuuc.so:devel/icu \ libupower-glib.so:sysutils/upower \ libexempi.so:textproc/exempi \ libcue.so:textproc/libcue \ libiptcdata.so:graphics/libiptcdata \ libFLAC.so:audio/flac \ libtotem-plparser.so:multimedia/totem-pl-parser \ libpoppler-glib.so:graphics/poppler-glib \ libpng.so:graphics/png \ libtag.so:audio/taglib \ libtiff.so:graphics/tiff \ libgif.so:graphics/giflib \ libvorbisfile.so:audio/libvorbis \ libgxps.so:graphics/libgxps \ libexif.so:graphics/libexif \ libgexiv2.so:graphics/gexiv2 \ libtracker-miner-2.0.so:sysutils/tracker PORTSCOUT= limitw:1,even USES= gettext gnome jpeg localbase:ldflags meson \ pathfix pkgconfig python:build sqlite tar:xz vala:build USE_GNOME= cairo intltool libgsf libxml2 MESON_ARGS= -Dsystemd_user_services=no \ -Diso=disabled \ -Dcharset_detection=icu \ # -Dbattery_detection=hal OPTIONS_SUB= yes OPTIONS_DEFINE= GSTREAMER RSS OPTIONS_DEFAULT= GSTREAMER RSS GSTREAMER_USES= gstreamer GSTREAMER_MESON_ON= -Dgeneric_media_extractor=gstreamer GSTREAMER_MESON_OFF= -Dgeneric_media_extractor=none RSS_DESC= Tracker RSS miner RSS_MESON_TRUE= miner_rss RSS_LIB_DEPENDS= libgrss.so:net/libgrss PLIST_SUB= LIBVER=0.2.0 GLIB_SCHEMAS= org.freedesktop.Tracker.Extract.gschema.xml \ org.freedesktop.Tracker.Miner.Files.gschema.xml \ org.freedesktop.Tracker.Writeback.gschema.xml \ org.freedesktop.TrackerMiners.enums.xml #post-install: # ${RM} -rf ${STAGEDIR}/${PREFIX}/lib/systemd .include diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile index 2df9c531cf23..2ea4aa202ff2 100644 --- a/textproc/goldendict/Makefile +++ b/textproc/goldendict/Makefile @@ -1,66 +1,66 @@ PORTNAME= goldendict PORTVERSION= 1.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MAINTAINER= danfe@FreeBSD.org COMMENT= Feature-rich dictionary lookup program WWW= http://goldendict.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ liblzo2.so:archivers/lzo2 \ libogg.so:audio/libogg \ libtiff.so:graphics/tiff \ libvorbis.so:audio/libvorbis \ libzstd.so:archivers/zstd USES= compiler:c++11-lang gnome iconv:wchar_t pkgconfig \ qmake qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= vedgy GH_TAGNAME= 5a87a71 USE_XORG= x11 xtst USE_QT= buildtools:build linguisttools:build \ core declarative gui help network printsupport \ sql svg webchannel webengine widgets x11extras xml QMAKE_ARGS= ${PORTNAME}.pro CONFIG+="use_qtwebengine zim_support" OPTIONS_DEFINE= EPWING FFMPEG MULTIMEDIA OPENCC OPTIONS_DEFAULT= EPWING FFMPEG MULTIMEDIA OPENCC EPWING_DESC= Japanese EPWING dictionary format support EPWING_LIB_DEPENDS= libeb.so:japanese/eb EPWING_QMAKE_OFF= CONFIG+="no_epwing_support" FFMPEG_LIB_DEPENDS= libao.so:audio/libao \ libavutil.so:multimedia/ffmpeg FFMPEG_QMAKE_OFF= CONFIG+="no_ffmpeg_player" MULTIMEDIA_DESC= Multimedia support with QMediaPlayer MULTIMEDIA_USE= QT=multimedia MULTIMEDIA_QMAKE_OFF= CONFIG+="no_qtmultimedia_player" OPENCC_DESC= Chinese conversion support via OpenCC OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc OPENCC_QMAKE_ON= CONFIG+="chinese_conversion_support" post-patch: @${REINPLACE_CMD} -e '/QMAKE_CXXFLAGS += -rdynamic/d ; \ /^VERSION = /s,git,&-${GH_ACCOUNT}-${GH_TAGNAME},' \ ${WRKSRC}/goldendict.pro @${REINPLACE_CMD} -e '/^#include / { x; \ s/^/#include /; G; }' ${WRKSRC}/main.cc post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/locale ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} post-stage: ${RM} ${STAGEDIR}${PREFIX}/share/applications/ecp.* .include diff --git a/www/links/Makefile b/www/links/Makefile index d52d5f3f0090..9238a6d50b11 100644 --- a/www/links/Makefile +++ b/www/links/Makefile @@ -1,110 +1,110 @@ PORTNAME= links PORTVERSION= 2.29 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://links.twibright.com/download/ MAINTAINER= portmaster@BSDforge.com COMMENT= Lynx-like text WWW browser WWW= http://links.twibright.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libzstd.so:archivers/zstd USES= cpe localbase:ldflags ssl tar:bz2 CPE_VENDOR= twibright GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-ssl --without-pmshell --without-atheos \ --without-gpm --without-fb --without-windows CONFLICTS_INSTALL= links1 PLIST_FILES= bin/links share/man/man1/links.1.gz OPTIONS_DEFINE= BROTLI CIPHERSTRING DIRECTFB IPV6 SVG SVGALIB THREADS TRANS \ UTF8 X11 OPTIONS_DEFAULT= UTF8 X11 CIPHERSTRING_DESC= Select the OpenSSL ciphers used via CIPHERSTRING DIRECTFB_DESC= DirectFB graphics support TRANS_DESC= Hack for background transparency BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli BROTLI_CONFIGURE_WITH= brotlis DIRECTFB_LIB_DEPENDS= libdirectfb.so:devel/directfb DIRECTFB_CONFIGURE_WITH=directfb IPV6_CONFIGURE_WITH= ipv6 SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svgalib SVG_USES= gnome SVG_USE= gnome=librsvg2,glib20,gdkpixbuf2,cairo SVG_CONFIGURE_WITH= librsvg THREADS_CFLAGS= -DHAVE_PTHREADS THREADS_LDFLAGS=-pthread TRANS_EXTRA_PATCHES= ${FILESDIR}/extra-terminal.c.diff UTF8_CONFIGURE_ENABLE= utf8 X11_LIB_DEPENDS= libevent.so:devel/libevent \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 X11_USES= xorg X11_USE= xorg=x11,xorgproto X11_CONFIGURE_WITH= x X11_PLIST_FILES= share/pixmaps/links.xpm .include #CIPHERSTRING must be a valid OpenSSL cipher string(see ciphers(1)): CIPHERSTRING?= HIGH:!SSLv2:!aNULL:!eNULL:@STRENGTH .if ${PORT_OPTIONS:MDIRECTFB} || ${PORT_OPTIONS:MSVGALIB} || ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libavif.so:graphics/libavif \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES+= jpeg pkgconfig CONFIGURE_ARGS+= --enable-graphics .else .if ${PORT_OPTIONS:MSVG} IGNORE= option SVG requires one of DIRECTFB, SVGALIB, or X11 .endif CONFIGURE_ARGS+= --disable-graphics --without-libavif \ --without-libjpeg --without-librsvg \ --without-libtiff --without-libwebp .endif .if ${PORT_OPTIONS:MX11} DESKTOP_ENTRIES="links" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/links.xpm" \ "links -g" \ "Network;WebBrowser;" \ false .endif post-patch: @${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/os_dep.h .if ${PORT_OPTIONS:MCIPHERSTRING} @${REINPLACE_CMD} -e '/SSL_CTX_set_options/ \ s/;/; SSL_CTX_set_cipher_list(ctx, "${CIPHERSTRING}");/' \ ${WRKSRC}/https.c .endif .if ${PORT_OPTIONS:MX11} post-install: ${INSTALL_DATA} ${WRKSRC}/graphics/links.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/links.xpm .endif .include diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile index e78bd490a6a5..dd2051eed7e0 100644 --- a/www/qt6-webengine/Makefile +++ b/www/qt6-webengine/Makefile @@ -1,168 +1,168 @@ # QtWebEngine itself is a very thin layer of Qt code on top of a large part of # Chromium (everything up to the content/ layer). As such, most of the work in # this port revolves around taming Chromium and getting it to build on FreeBSD. # While it does build at the moment, there are several items that should be # investigated or improved: # - We are using several stub files, especially in Chromium's base/ and net/ # layers. We should look at implementing the missing bits instead. # - We are currently not using any sandboxing mechanism. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # PORTNAME?= webengine DISTVERSION= ${QT6_VERSION} -PORTREVISION?= 0 # Master port for print/qt6-pdf. Please keep this line. +PORTREVISION?= 1 # Master port for print/qt6-pdf. Please keep this line. CATEGORIES?= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT?= Qt 6 library to render web content BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libxkbcommon.so:x11/libxkbcommon USES= bison cmake compiler:c++17-lang gl gperf \ localbase:ldflags ninja:build nodejs:build,lts \ pkgconfig python:build qt-dist:6,webengine USE_GL= opengl USE_QT= base declarative tools USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON= QT_FEATURE_webengine_system_ffmpeg \ QT_FEATURE_webengine_proprietary_codecs .if defined(BUILD_QTPDF) LIB_DEPENDS+= libcups.so:print/cups \ libopenjp2.so:graphics/openjpeg CMAKE_ON+= QT_FEATURE_qtpdf_build CMAKE_OFF+= QT_FEATURE_qtwebengine_build SYS_LIBS= freetype .else BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libnspr4.so:devel/nspr \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng.so:graphics/png \ libre2.so:devel/re2 \ libsnappy.so:archivers/snappy \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp USES+= gnome jpeg minizip xorg USE_GL+= gbm USE_QT+= positioning quick3d:build webchannel USE_GNOME+= glib20 libxml2 libxslt USE_XORG+= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON+= QT_FEATURE_qtwebengine_build CMAKE_OFF+= QT_FEATURE_qtpdf_build SYS_LIBS= freetype harfbuzz-ng libdrm libevent libpng libxml libxslt openh264 opus .endif # The build system reads the environment variable $NINJA_PATH to decide whether # to boostrap ninja or not (and also to invoke it afterwards). CC and CXX are # read by some Chromium code to determine which compiler to invoke when running # some configuration tests. CONFIGURE_ENV+= NINJAFLAGS="-j${MAKE_JOBS_NUMBER}" \ NINJA_PATH="${LOCALBASE}/bin/ninja" \ PATH=${CONFIGURE_WRKSRC}/bin:${LOCALBASE}/bin:${PATH} MAKE_ENV+= CC="${CC}" CXX="${CXX}" \ C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include \ ${CONFIGURE_ENV} # Avoid running multiple make(1) jobs, but only those. Otherwise the build # fails intermittently due race conditions if multiple ninja instances are # running at the same time (mostly for the targets "WebEngineCore" and # "convert_dict"). # # MAKE_JOBS_UNSAFE is too invasive because it also affects the number of jobs # for ninja(1) and would slow everything down which we don't want. We pass the # real number of make jobs via MAKE_JOBS_NUMBER to ninja(1) to CONFIGURE_ENV. DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} -j1 ${MAKE_ARGS:N${DESTDIRNAME}=*} BINARY_ALIAS= python3=${PYTHON_CMD} .if !defined(BUILD_QTPDF) OPTIONS_DEFINE= CUPS OPTIONS_DEFAULT= ALSA CUPS OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO AUDIO_DESC= Audio backend # Need the alsa plugins to get sound at runtime, otherwise messages # that the pcm_oss plugin can't be opened. ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_CMAKE_ON= -DQT_FEATURE_webengine_system_alsa:BOOL=ON ALSA_CMAKE_OFF= -DQT_FEATURE_webengine_system_alsa:BOOL=OFF CUPS_LIB_DEPENDS= libcups.so:print/cups \ liblcms2.so:graphics/lcms2 \ libopenjp2.so:graphics/openjpeg \ libtiff.so:graphics/tiff CUPS_CMAKE_ON= -DQT_FEATURE_webengine_printing_and_pdf:BOOL=ON CUPS_CMAKE_OFF= -DQT_FEATURE_webengine_printing_and_pdf:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=OFF SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_sndio:BOOL=ON SNDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_sndio:BOOL=OFF .endif .include .if ${ARCH} == i386 || ${ARCH} == armv7 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-32bit-compress_files_js .endif post-extract: @${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%CPPFLAGS%%|${CPPFLAGS}|;s|%%CXXFLAGS%%|${CXXFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ ${WRKSRC}/src/host/BUILD.toolchain.gn.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp \ ${WRKSRC}/src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc pre-configure: # We used to remove bundled libraries to be sure that webengine uses # system libraries and not shipped ones. # # Leads to missing header errors: icu, libvpx, libwebp, re2, snappy, zlib # No-Op: flac # # Don't attempt to unbundle libraries that the Pdf module doesn't use. It # causes configuration errors. # # cd ${WRKSRC} && ${PYTHON_CMD} \ # ./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ${SYS_LIBS} || ${FALSE} .include diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile index 6e17e25d2b7d..c8b14ef8aab5 100644 --- a/x11-toolkits/fox16/Makefile +++ b/x11-toolkits/fox16/Makefile @@ -1,128 +1,128 @@ PORTNAME= fox PORTVERSION= 1.6.57 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits MASTER_SITES= http://fox-toolkit.org/ftp/ \ ftp://ftp.fox-toolkit.org/pub/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} MAINTAINER= jhale@FreeBSD.org COMMENT= Fast and extensive C++ GUI toolkit -- ver.1.6 WWW= http://www.fox-toolkit.org/fox.html LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= compiler:features gl jpeg libtool localbase:ldflags pathfix xorg USE_GL= gl glu USE_XORG= x11 xext xfixes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-opengl --with-x --with-xim USE_LDCONFIG= yes CPPFLAGS+= -fPIC -Dregister= PLIST_SUB= MAJORVER="${MAJORVER}" PORTDOCS= * OPTIONS_DEFINE= APPS DEBUG DOCS OPTIMIZED_CFLAGS PROFILE SHM \ XCURSOR XFT XINPUT XRANDR XRENDER OPTIONS_DEFAULT= SHM XCURSOR XFT XINPUT XRANDR XRENDER OPTIONS_SUB= yes APPS_DESC= Install sample applications DEBUG_CONFIGURE_ON= --enable-debug DEBUG_CONFIGURE_OFF= --enable-release PROFILE_CONFIGURE_ON= --with-profiling=gprof SHM_DESC= Shared Memory support SHM_CONFIGURE_ON= --with-xshm=yes SHM_CONFIGURE_OFF= --with-xshm=no XCURSOR_USES= xorg XCURSOR_USE= xorg=xcursor XCURSOR_CONFIGURE_ON= --with-xcursor=yes XCURSOR_CONFIGURE_OFF= --with-xcursor=no XFT_USES= pkgconfig xorg XFT_USE= xorg=xft XFT_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig XFT_CONFIGURE_ON= --with-xft=yes XFT_CONFIGURE_OFF= --with-xft=no XFT_CPPFLAGS= $$(pkg-config freetype2 --cflags) XFT_LDFLAGS= $$(pkg-config freetype2 --libs) XFT_IMPLIES= XRENDER XINPUT_DESC= X Input extension library support XINPUT_USES= xorg XINPUT_USE= xorg=xi XINPUT_CONFIGURE_ON= --with-xinput=yes XINPUT_CONFIGURE_OFF= --with-xinput=no XRANDR_USES= xorg XRANDR_USE= xorg=xrandr XRANDR_CONFIGURE_ON= --with-xrandr=yes XRANDR_CONFIGURE_OFF= --with-xrandr=no XRENDER_DESC= X Render extension library support XRENDER_USES= xorg XRENDER_USE= xorg=xrender XRENDER_CONFIGURE_ON= --with-xrender=yes XRENDER_CONFIGURE_OFF= --with-xrender=no MAJORVER= ${PORTVERSION:R} .include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CXXFLAGS+= -ffast-math . if !${PORT_OPTIONS:MPROFILE} CXXFLAGS+= -fomit-frame-pointer . endif . if ${COMPILER_TYPE} == "gcc" CXXFLAGS+= -fexpensive-optimizations -finline-functions . endif .endif post-patch: # Rename man pages as in manpage.1 --> manpage-16.1 to avoid # conflicts with fox14 and fox17 @files=$$(${FIND} ${WRKSRC} -name *.1); \ for f in $$files; do \ ${MV} $$f `${ECHO_CMD} $$f | ${SED} -e 's|\.1|-16.1|'`; \ done; @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ '/man_MANS/s|\.1|-16.1|g' @${REINPLACE_CMD} -e \ '/^Libs:/s|$$| -pthread|; \ s|"||g' ${WRKSRC}/fox.pc.in # CXXFLAGS safeness @${REINPLACE_CMD} -e \ 's|^\(CXXFLAGS=""\)|#\1|; \ /CXXFLAGS/s|-O2 ||; \ /CXXFLAGS/s|\(-Wuninitialized\).*"|\1"|; \ /LDFLAGS/s|-s ||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} # doc prefix safeness @${REINPLACE_CMD} -e \ 's|^\(htmldir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e \ 's|^\(artdir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/art/Makefile.in @${REINPLACE_CMD} -e \ 's|^\(screenshotsdir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/screenshots/Makefile.in post-patch-APPS-off: @${REINPLACE_CMD} -e \ 's|^\(SUBDIRS.*\)adie|\1|; \ s|^\(SUBDIRS.*\)pathfinder|\1|; \ s|^\(SUBDIRS.*\)calculator|\1|' \ ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libCHART-${MAJORVER}.so.[0-9].* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libFOX-${MAJORVER}.so.[0-9].* .include diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile index e14f2d0e2331..99fd37ce61d7 100644 --- a/x11-toolkits/fox17/Makefile +++ b/x11-toolkits/fox17/Makefile @@ -1,110 +1,110 @@ PORTNAME= fox PORTVERSION= 1.7.84 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= http://fox-toolkit.org/ftp/ \ ftp://ftp.fox-toolkit.org/pub/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} MAINTAINER= jhale@FreeBSD.org COMMENT= Fast and extensive C++ GUI toolkit (development version) WWW= http://www.fox-toolkit.org/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lib gl libtool localbase pathfix pkgconfig xorg USE_GL= gl glu USE_XORG= ice sm x11 xcursor xext xfixes xft xi xrandr xrender USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-freetype-include="`pkg-config freetype2 --cflags | sed -e 's|^-I||'`" \ --with-freetype-library="`pkg-config freetype2 --libs | sed -e 's|^-L||'`" \ --with-opengl=yes \ --with-xim \ --enable-png \ --bindir=${PREFIX}/bin/${PORTNAME}-${MAJORVER} INSTALL_TARGET= install-strip CPPFLAGS+= -D__BSD_VISIBLE -D__EXT1_VISIBLE -D_XOPEN_SOURCE=700 MAJORVER= ${PORTVERSION:R} PLIST_SUB+= MAJORVER=${MAJORVER} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${MAJORVER} PORTDOCS= * OPTIONS_DEFINE= CUPS DEBUG DOCS EXAMPLES OPTIMIZED_CFLAGS PROFILE TEST OPTIONS_GROUP= IMGFMTS OPTIONS_GROUP_IMGFMTS= JPEG OPENJPEG TIFF WEBP OPTIONS_DEFAULT= JPEG OPENJPEG TIFF WEBP IMGFMTS_DESC= Image formats CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DEBUG_CONFIGURE_ENABLE= debug DEBUG_CXXFLAGS_OFF= -DNDEBUG JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CONFIGURE_ENABLE= jp2 OPENJPEG_CPPFLAGS= -I${LOCALBASE}/include/openjpeg-1.5 PROFILE_CONFIGURE_ON= --with-profiling=gprof TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_ENABLE= tiff WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= webp .include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CXXFLAGS+= -O2 -ffast-math . if !${PORT_OPTIONS:MPROFILE} CXXFLAGS+= -fomit-frame-pointer . endif . if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -fexpensive-optimizations -finline-functions . endif .endif post-patch: # Rename man pages as in manpage.1 --> manpage-17.1 to avoid # conflicts with fox14 and fox16 @files=$$(${FIND} ${WRKSRC} -name *.1); \ for f in $$files; do \ ${MV} $$f `${ECHO_CMD} $$f | ${SED} -e 's|\.1|-17.1|'`; \ done; @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ '/man_MANS/s|\.1|-17.1|g' @${REINPLACE_CMD} -e '/^Libs:/s|$$| -pthread|; s|"||g' ${WRKSRC}/fox17.pc.in # CXXFLAGS safeness @${REINPLACE_CMD} -e \ 's|^\(CXXFLAGS=""\)|#\1|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} post-patch-EXAMPLES-off: @${REINPLACE_CMD} -e \ 's|^\(SUBDIRS.*\)adie|\1|; \ s|^\(SUBDIRS.*\)pathfinder|\1|; \ s|^\(SUBDIRS.*\)shutterbug|\1|; \ s|^\(SUBDIRS.*\)calculator|\1|' \ ${WRKSRC}/Makefile.in post-patch-TEST-off: @${REINPLACE_CMD} -e \ 's|^\(SUBDIRS.*\)glviewer|\1|; \ s|^\(SUBDIRS.*\)tests|\1|' \ ${WRKSRC}/Makefile.in .include diff --git a/x11-toolkits/gnustep-back/Makefile b/x11-toolkits/gnustep-back/Makefile index 205c6b06a67d..18e21bc9d74a 100644 --- a/x11-toolkits/gnustep-back/Makefile +++ b/x11-toolkits/gnustep-back/Makefile @@ -1,52 +1,53 @@ PORTNAME= gnustep-back DISTVERSIONPREFIX= back- DISTVERSION= 0_30_0 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnustep MAINTAINER= ports@FreeBSD.org COMMENT= GNUstep GUI backend WWW= http://www.gnustep.org/ LICENSE_COMB= multi LICENSE= GPLv3 LGPL3 LIB_DEPENDS+= libgif.so:graphics/giflib \ libtiff.so:graphics/tiff \ libXft.so:x11-fonts/libXft \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libcairo.so:graphics/cairo USES= gl gnustep jpeg pkgconfig xorg USE_GNUSTEP= base gui build USE_XORG= xft xrender xmu xext x11 xcursor xfixes xmu USE_GL= gl USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} USE_GITHUB= yes GH_ACCOUNT= gnustep GH_PROJECT= libs-back GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-graphics=cairo \ --disable-glitz # LLD 7 creates a library that does not work with FreeBSD (or OpenBSD) rtld - # it loads apparently without errors, but the global constructors are not # called. It also appears to corrupt some internal state, as throwing an # exception causes a crash inside rtld. LLD_UNSAFE= yes MAKE_FLAGS+= OPTFLAG="${CFLAGS} -I${LOCALBASE}/include" BACKVERSION= ${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1} CFLAGS+= -I${LOCALBASE}/include/freetype2 PLIST_SUB+= BACK=back-${BACKVERSION} PLIST_SUB+= BACKVERSION=${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1} pre-configure: .for file in config.guess config.sub install-sh @${CP} ${GNUSTEP_PREFIX}/System/Library/Makefiles/${file} ${WRKSRC} .endfor .include diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile index 0296d5278787..4a0a05e406cc 100644 --- a/x11-toolkits/gnustep-gui/Makefile +++ b/x11-toolkits/gnustep-gui/Makefile @@ -1,67 +1,68 @@ PORTNAME= gnustep-gui DISTVERSIONPREFIX= gui- DISTVERSION= 0_30_0 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnustep MAINTAINER= ports@FreeBSD.org COMMENT= GNUstep GUI library WWW= http://www.gnustep.org/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi LIB_DEPENDS+= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libicui18n.so:devel/icu \ libsndfile.so:audio/libsndfile \ libao.so:audio/libao \ libflite.so:audio/flite USES= gnustep jpeg pkgconfig xorg USE_GNUSTEP= base build USE_XORG= x11 xt USE_GITHUB= yes GH_ACCOUNT= gnustep GH_PROJECT= libs-gui GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib \ --with-tiff-include=${LOCALBASE}/include \ --with-jpeg-library=${LOCALBASE}/lib \ --with-jpeg-include=${LOCALBASE}/include \ --with-x \ --with-x-include=${LOCALBASE}/include \ --with-x-include=${LOCALBASE}/lib MAKE_FLAGS+= OPTFLAG="${CFLAGS}" PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1} OPTIONS_DEFINE= DOCS CUPS ASPELL OPTIONS_DEFAULT= CUPS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html \ texi2pdf:print/texinfo CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS+= libcups.so:print/cups ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_CONFIGURE_ENABLE= aspell USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} post-patch: ${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile pre-configure: .for file in config.guess config.sub install-sh @${CP} ${GNUSTEP_PREFIX}/System/Library/Makefiles/${file} ${WRKSRC} .endfor post-install-DOCS-off: @${FIND} -d ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Documentation -type d -empty -delete .include diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile index 0e0b10233aaf..f6d0e71fb41d 100644 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -1,109 +1,110 @@ PORTNAME= gtk PORTVERSION= 4.14.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= GNOME PKGNAMESUFFIX= 4 DIST_SUBDIR= gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) WWW= https://www.gtk.org/ LICENSE= LGPL20 PORTSCOUT= limit:1,even BUILD_DEPENDS= sassc>0:textproc/sassc LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= hicolor-icon-theme>=0:misc/hicolor-icon-theme \ adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme USES= compiler:c11 cpe gettext gnome jpeg localbase meson \ ninja pathfix perl5 python pkgconfig tar:xz CPE_VENDOR= gnome USE_LDCONFIG= yes USE_PERL5= build USE_GNOME= atk cairo gdkpixbuf2 introspection:build pango \ librsvg2:run MESON_ARGS= -Dbuild-testsuite=false LDFLAGS+= -lexecinfo BINARY_ALIAS= python3=${PYTHON_CMD} LIBVERSION= 1.1400.2 PLIST_SUB+= LIBVERSION=${LIBVERSION} GLIB_SCHEMAS= org.gtk.Demo4.gschema.xml \ org.gtk.gtk4.Settings.ColorChooser.gschema.xml \ org.gtk.gtk4.Settings.Debug.gschema.xml \ org.gtk.gtk4.Settings.EmojiChooser.gschema.xml \ org.gtk.gtk4.Settings.FileChooser.gschema.xml OPTIONS_DEFINE= CUPS COLORD DEBUG BROADWAY GSTREAMER VULKAN WAYLAND X11 OPTIONS_DEFAULT=CUPS COLORD BROADWAY GSTREAMER VULKAN WAYLAND X11 OPTIONS_SUB= yes BROADWAY_DESC= Enable GDK Broadway backend for showing GTK in the webbrowser using HTML5 and web sockets. BROADWAY_MESON_TRUE= broadway-backend COLORD_DESC= Color profile support COLORD_LIB_DEPENDS= libcolord.so:graphics/colord COLORD_MESON_ENABLED= colord CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_MESON_ENABLED= print-cups GSTREAMER_DESC= GStreamer multimedia backend GSTREAMER_MESON_ENABLED=media-gstreamer GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,gl VULKAN_DESC= GDK Vulkan renderer backend VULKAN_BUILD_DEPENDS= glslc:graphics/shaderc \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_MESON_ENABLED= vulkan VULKAN_CFLAGS= -Wno-error=int-conversion # https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 WAYLAND_DESC= GDK Wayland backend WAYLAND_MESON_TRUE= wayland-backend WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_USES= gl WAYLAND_USE= GL=egl X11_DESC= GDK X11 backend X11_MESON_TRUE= x11-backend X11_USES= xorg X11_USE= XORG=x11,xcomposite,xcursor,xdamage,xext,xfixes,xi,xinerama,xrandr,xrender pre-build: @${RM} -r ${WRKSRC}/docs/gtk.info* post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/modules @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/engines @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/loaders @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/modules pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dbuild-testsuite=true"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/x11-toolkits/libgdiplus/Makefile b/x11-toolkits/libgdiplus/Makefile index 90210222ab1a..e9dbce0ed5ff 100644 --- a/x11-toolkits/libgdiplus/Makefile +++ b/x11-toolkits/libgdiplus/Makefile @@ -1,45 +1,45 @@ PORTNAME= libgdiplus PORTVERSION= 6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/ MAINTAINER= prj@rootwyrm.com COMMENT= GDI+ API for System.Windows.Forms in Mono WWW= https://www.mono-project.com/docs/gui/libgdiplus/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtiff.so:graphics/tiff \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexif.so:graphics/libexif \ libfontconfig.so:x11-fonts/fontconfig GNU_CONFIGURE= yes USES= autoreconf cpe gettext-runtime gmake gnome jpeg libtool:keepla \ pathfix pkgconfig USE_GNOME= cairo glib20 pango USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip CPE_VENDOR= mono-project OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 X11_USES= xorg X11_USE= XORG=x11,xrender X11_CONFIGURE_OFF= --without-x11 PLIST_FILES= lib/libgdiplus.a \ lib/libgdiplus.la \ lib/libgdiplus.so \ lib/libgdiplus.so.0 \ lib/libgdiplus.so.0.0.0 \ libdata/pkgconfig/libgdiplus.pc .include diff --git a/x11-toolkits/p5-Prima/Makefile b/x11-toolkits/p5-Prima/Makefile index 07e20f93e9b4..8346f0375e62 100644 --- a/x11-toolkits/p5-Prima/Makefile +++ b/x11-toolkits/p5-Prima/Makefile @@ -1,67 +1,67 @@ PORTNAME= Prima PORTVERSION= 1.68.002 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= perl@FreeBSD.org COMMENT= Extensible Perl toolkit for multi-platform GUI development WWW= https://metacpan.org/release/Prima LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= dos2unix jpeg perl5 pkgconfig xorg USE_PERL5= configure USE_XORG= x11 xcursor xext xpm xrender xrandr MAKE_JOBS_UNSAFE= yes PORTSCOUT= skipv:1.67001 OPTIONS_DEFINE= FRIBIDI GTK2 GTK3 HARFBUZZ ICONV THAI XFT OPTIONS_DEFAULT=ICONV XFT FRIBIDI_DESC= Bidirectional text support HARFBUZZ_DESC= Harfbuzz support THAI_DESC= Thai support FRIBIDI_CONFIGURE_OFF= WITH_FRIBIDI=0 FRIBIDI_CONFIGURE_ON= WITH_FRIBIDI=1 FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi GTK2_CONFIGURE_OFF= WITH_GTK2=0 GTK2_CONFIGURE_ON= WITH_GTK2=1 GTK2_USE= GNOME=gtk20 GTK2_USES= gnome GTK3_CONFIGURE_OFF= WITH_GTK3=0 GTK3_CONFIGURE_ON= WITH_GTK3=1 GTK3_USE= GNOME=gtk30 GTK3_USES= gnome HARFBUZZ_CONFIGURE_OFF= WITH_HARFBUZZ=0 HARFBUZZ_CONFIGURE_ON= WITH_HARFBUZZ=1 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz ICONV_CONFIGURE_OFF= WITH_ICONV=0 ICONV_CONFIGURE_ON= WITH_ICONV=1 ICONV_USES= iconv THAI_CONFIGURE_OFF= WITH_THAI=0 THAI_CONFIGURE_ON= WITH_THAI=1 THAI_LIB_DEPENDS= libthai.so.0:devel/libthai XFT_CONFIGURE_OFF= WITH_XFT=0 XFT_CONFIGURE_ON= WITH_XFT=1 XFT_USE= XORG=xft CFLAGS+= -Wno-error=incompatible-function-pointer-types post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Prima/Prima.so @${REINPLACE_CMD} -e 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/Prima/Config.pm .include diff --git a/x11-toolkits/pangolin/Makefile b/x11-toolkits/pangolin/Makefile index 16979998c45a..20a4b6e2cb22 100644 --- a/x11-toolkits/pangolin/Makefile +++ b/x11-toolkits/pangolin/Makefile @@ -1,35 +1,36 @@ PORTNAME= pangolin DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 +PORTREVISION= 1 CATEGORIES= x11-toolkits MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight rapid development library for managing OpenGL display WWW= https://github.com/stevenlovegrove/Pangolin LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libdc1394.so:multimedia/libdc1394 \ liblz4.so:archivers/liblz4 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang eigen:3 gl jpeg localbase:ldflags pkgconfig xorg USE_XORG= ice sm x11 xext USE_GL= gl glew glu USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= stevenlovegrove GH_PROJECT= Pangolin CMAKE_OFF= BUILD_PANGOLIN_PYTHON LDFLAGS+= -pthread .include diff --git a/x11-toolkits/wxgtk30/Makefile b/x11-toolkits/wxgtk30/Makefile index 96a980224ca0..96ba7e8d05d7 100644 --- a/x11-toolkits/wxgtk30/Makefile +++ b/x11-toolkits/wxgtk30/Makefile @@ -1,113 +1,113 @@ PORTNAME= wx DISTVERSIONPREFIX= v DISTVERSION= 3.0.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-toolkits MASTER_SITES= https://github.com/wxWidgets/wxWidgets/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= ${_SHORT_WX_VER}-${FLAVOR} DISTNAME= wxWidgets-${DISTVERSION} MAINTAINER= desktop@FreeBSD.org COMMENT= The wxWidgets GUI toolkit with GTK bindings WWW= https://www.wxwidgets.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/gpl.txt LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig tar:bz2 xorg USE_XORG= x11 sm xxf86vm xinerama USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 USE_LDCONFIG= yes USE_CXXSTD= c++11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --with-expat=sys \ --with-opengl \ --without-gnomevfs \ --disable-epollloop \ --disable-joystick \ --enable-backtrace \ --enable-ipv6 \ --enable-optimise \ --enable-unicode \ --enable-std_string \ --enable-graphics_ctx \ --enable-compat26 \ --enable-compat28 CONFIGURE_ENV= X11BASE="${LOCALBASE}" \ ac_cv_header_sys_inotify_h=no OPTIONS_DEFINE= GSTREAMER NOTIFY MSPACK NLS OPTIONS_DEFAULT=GSTREAMER MSPACK MSPACK_DESC= Microsoft archives support OPTIONS_SUB= yes NLS_USES= gettext GSTREAMER_USES= gstreamer GSTREAMER_CONFIGURE_ENABLE= mediactrl NOTIFY_CONFIGURE_WITH= libnotify NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify MSPACK_CONFIGURE_WITH= libmspack MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack WEBKIT_CONFIGURE_ENABLE= webview WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 FLAVORS= gtk3 gtk2 FLAVOR?= ${FLAVORS:[1]} .if ${FLAVOR} == gtk3 USE_GNOME+= gtk30 CONFIGURE_ARGS+= --with-gtk=3 OPTIONS_DEFINE+= WEBKIT OPTIONS_DEFAULT+= WEBKIT PLIST_SUB+= GTK2="@comment " .else USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk PLIST_SUB+= GTK2="" WEBKIT="@comment " .endif PLIST_SUB+= GTKVER=${FLAVOR} _SHORT_WX_VER= ${DISTVERSION:S/./ /g:[1..2]:ts} gtk3_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk2 gtk2_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk3 .include # TLS is broken on armv6/7, PR 229396 .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+=--disable-tls .endif # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+=--disable-precomp-headers .endif # wxWidgets uses the same linker version script for all its shared libraries, so # some symbols are expectedly undefined. Suppress errors with lld >= 17 due to # these undefined symbols. LDFLAGS+= -Wl,--undefined-version post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale .include diff --git a/x11-toolkits/wxgtk32/Makefile b/x11-toolkits/wxgtk32/Makefile index a6233bb142c9..95847f4c6358 100644 --- a/x11-toolkits/wxgtk32/Makefile +++ b/x11-toolkits/wxgtk32/Makefile @@ -1,131 +1,131 @@ PORTNAME= wx DISTVERSIONPREFIX= v DISTVERSION= 3.2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= https://github.com/wxWidgets/wxWidgets/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= ${_SHORT_WX_VER}-${FLAVOR} DISTNAME= wxWidgets-${DISTVERSION} PATCH_SITES= https://github.com/vadz/wxWidgets/commit/ PATCHFILES= b8dc0eeb2fb6c49ae0ac9cbc86bd20c0bf3bdee7.patch:-p1 # https://github.com/wxWidgets/wxWidgets/issues/24076 MAINTAINER= desktop@FreeBSD.org COMMENT= GUI toolkit (wxWidgets) with ${FLAVOR:S/k/&+/:tu} bindings WWW= https://www.wxwidgets.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/gpl.txt LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjbig.so:graphics/jbigkit \ libnotify.so:devel/libnotify \ libpcre2-32.so:devel/pcre2 \ libpng16.so:graphics/png \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libtiff.so:graphics/tiff \ libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon FLAVORS= gtk3 gtk2 FLAVOR?= ${FLAVORS:[1]} gtk3_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk2 gtk2_CONFLICTS_INSTALL= ${PORTNAME}${_SHORT_WX_VER}-gtk3 USES= compiler:c++11-lib gl gmake gnome iconv jpeg localbase \ pkgconfig tar:bz2 xorg USE_CXXSTD= c++11 USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 USE_LDCONFIG= yes USE_XORG= sm x11 xtst xxf86vm GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-epollloop \ --disable-joystick \ --enable-backtrace \ --enable-compat28 \ --enable-compat30 \ --enable-graphics_ctx \ --enable-ipv6 \ --enable-optimise \ --enable-std_string \ --enable-unicode \ --with-expat=sys \ --with-libjpeg=sys \ --with-liblzma \ --with-libpng=sys \ --with-libtiff=sys \ --with-nanosvg \ --with-opengl \ --with-zlib=sys \ --without-gnomevfs CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no \ X11BASE="${LOCALBASE}" PLIST_SUB+= GTKVER=${FLAVOR} OPTIONS_DEFINE= GSTREAMER MSPACK NLS OPTIONS_DEFAULT= GSTREAMER MSPACK OPTIONS_SUB= yes MSPACK_DESC= Microsoft archives support GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad GSTREAMER_CONFIGURE_ENABLE= mediactrl MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack MSPACK_CONFIGURE_WITH= libmspack NLS_USES= gettext WEBKIT_LIB_DEPENDS= libwebkit2gtk-4.0.so:www/webkit2-gtk3 WEBKIT_CONFIGURE_ENABLE= webview .if ${FLAVOR} == gtk3 USE_GNOME+= gtk30 CONFIGURE_ARGS+= --with-gtk=3 OPTIONS_DEFINE+= WEBKIT OPTIONS_DEFAULT+= WEBKIT PLIST_SUB+= GTK2="@comment " \ GTK3="" .else USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk PLIST_SUB+= GTK2="" \ GTK3="@comment " \ WEBKIT="@comment " .endif _SHORT_WX_VER= ${PORTVERSION:S/./ /g:[1..2]:ts} .include # TLS is broken on armv6/7, PR 229396 .if ${ARCH} == armv6 || ${ARCH} == armv7 CONFIGURE_ARGS+= --disable-tls .endif # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+= --disable-precomp-headers .endif # wxWidgets uses the same linker version script for all its shared libraries, so # some symbols are expectedly undefined. Suppress errors with lld >= 17 due to # these undefined symbols. LDFLAGS+= -Wl,--undefined-version post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale post-install: @${RM} ${STAGEDIR}${PREFIX}/bin/wxrc .include diff --git a/x11-toolkits/xforms/Makefile b/x11-toolkits/xforms/Makefile index 579ef241d100..0339c3751b9c 100644 --- a/x11-toolkits/xforms/Makefile +++ b/x11-toolkits/xforms/Makefile @@ -1,31 +1,31 @@ PORTNAME= xforms DISTVERSION= 1.2.4 -PORTREVISION= 7 +PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= x11-toolkits graphics MASTER_SITES= SAVANNAH MAINTAINER= bofh@FreeBSD.org COMMENT= Graphical user interface toolkit for X Window System WWW= http://xforms-toolkit.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libtiff.so:graphics/tiff USES= gl jpeg libtool localbase:ldflags xorg USE_GL= gl USE_LDCONFIG= yes USE_XORG= ice sm x11 xpm GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip post-patch: ${REINPLACE_CMD} 's|#define fl_draw_box|#define fl_drw_box|' \ ${WRKSRC}/lib/include/Basic.h .include diff --git a/x11-wm/afterstep-stable/Makefile b/x11-wm/afterstep-stable/Makefile index ccfff7498369..a4fcde415066 100644 --- a/x11-wm/afterstep-stable/Makefile +++ b/x11-wm/afterstep-stable/Makefile @@ -1,89 +1,89 @@ PORTNAME= afterstep PORTVERSION= 2.2.12 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= x11-wm afterstep MASTER_SITES= AFTERSTEP/stable DISTNAME= AfterStep-${PORTVERSION} MAINTAINER= glewis@FreeBSD.org COMMENT= Stable version of the AfterStep window manager WWW= http://www.afterstep.org/ LIB_DEPENDS= libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= xli:graphics/xli USES= gmake gnome jpeg pkgconfig shebangfix tar:bzip2 xorg USE_CSTD= gnu89 USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 librsvg2 pango USE_XORG+= ice sm x11 xcomposite xcursor xdamage xext xfixes xi xinerama \ xrandr xrender GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share SHEBANG_FILES= tools/ascommand.pl \ tools/importasmenu MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS+=--disable-ascp \ --enable-i18n \ --disable-send-postcard-to-developer \ --with-helpcommand="xterm -e man" \ --x-includes="${LOCALBASE}/include" \ --with-jpeg-includes="${LOCALBASE}/include" \ --with-png-includes="${LOCALBASE}/include" \ --with-gif MAKE_ENV+= HOME=- WRKSRC= ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION} .if defined(WITH_DIFFERENT_LOOKNFEELS) CONFIGURE_ARGS+= --enable-different-looknfeels .endif .if !defined(WITH_SAVEWINDOWS) CONFIGURE_ARGS+= --disable-savewindows .endif .include .if exists(${PREFIX}/share/gnome/wm-properties) PLIST_SUB+= GNOME="" .else PLIST_SUB+= GNOME="@comment " .endif post-extract: ${CP} ${FILESDIR}/monitor_bsd.xpm \ ${WRKSRC}/afterstep/desktop/icons/xml/monitor-bsd.xpm post-patch: .for f in afterstep/database @${REINPLACE_CMD} -e 's,linux-penguin,monitor-bsd,' \ ${WRKSRC}/${f} .endfor .for f in libAfterBase/Makefile.in libAfterImage/Makefile.in @${REINPLACE_CMD} -e 's,^install\.,noinstall.,g ; \ s,^install:,install:#,g' ${WRKSRC}/${f} .endfor .for f in libAfterBase/configure libAfterImage/configure @${REINPLACE_CMD} -e 's,="-O3",="$$CFLAGS",g' \ ${WRKSRC}/${f} .endfor .for f in libAfterStep/afterstep-config.in @${REINPLACE_CMD} -e 's,ft_version,libafterstep_version,g' \ ${WRKSRC}/${f} .endfor .for f in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure tools/makeastheme.pl.in tools/installastheme.pl.in @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ ${WRKSRC}/${f} .endfor .if exists(${PREFIX}/share/gnome/wm-properties) pre-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/gnome/wm-properties .endif .include diff --git a/x11-wm/libwraster/Makefile b/x11-wm/libwraster/Makefile index 04fc88587c74..03ee13d0fac4 100644 --- a/x11-wm/libwraster/Makefile +++ b/x11-wm/libwraster/Makefile @@ -1,55 +1,56 @@ PORTNAME= libwraster PORTVERSION= 0.96.0 +PORTREVISION= 1 CATEGORIES= x11-wm windowmaker MASTER_SITES= https://www.windowmaker.org/pub/source/release/ \ https://github.com/window-maker/wmaker/releases/download/wmaker-${PORTVERSION}/ LOCAL/danfe DISTNAME= WindowMaker-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Window Maker raster graphics library WWW= https://www.windowmaker.org/ LICENSE= LGPL21 LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libjbig.so:graphics/jbigkit \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= gmake jpeg libtool localbase pathfix pkgconfig xorg USE_LDCONFIG= yes USE_XORG= x11 xext xft xinerama xmu xpm BUILD_WRKSRC= ${WRKSRC}/wrlib INSTALL_WRKSRC= ${WRKSRC}/wrlib GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \ --with-localedir=${PREFIX}/share/locale \ --with-libs-from="-L${LOCALBASE}/lib" \ --with-incs-from="-I${LOCALBASE}/include" \ --with-gnustepdir="${PREFIX}/GNUstep" \ --enable-modelock \ --enable-xinerama \ --enable-usermenu \ --enable-wmreplace \ --with-x INSTALL_TARGET= install-strip OPTIONS_DEFINE= IMAGEMAGICK OPTIONS_DEFAULT= IMAGEMAGICK IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_OFF= --disable-magick .include post-patch-IMAGEMAGICK-on: .if ${IMAGEMAGICK_DEFAULT} == 6 @${REINPLACE_CMD} -e '/MagickWand\.h/s,MagickWand/,wand/,' \ ${WRKSRC}/configure ${WRKSRC}/wrlib/load_magick.c .endif pre-build: cd ${WRKSRC} && ${MAKE_CMD} config-paths.h .include diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile index 3d7799412109..e4d1321f99df 100644 --- a/x11-wm/windowmaker/Makefile +++ b/x11-wm/windowmaker/Makefile @@ -1,85 +1,85 @@ PORTNAME= windowmaker PORTVERSION= 0.96.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-wm windowmaker MASTER_SITES= https://www.windowmaker.org/pub/source/release/ \ https://github.com/window-maker/wmaker/releases/download/wmaker-${PORTVERSION}/ LOCAL/danfe DISTNAME= WindowMaker-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= GNUstep-compliant NeXTstep window manager clone WWW= https://www.windowmaker.org/ LICENSE= GPLv2 LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libjbig.so:graphics/jbigkit \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libwraster.so:x11-wm/libwraster \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libexif.so:graphics/libexif RUN_DEPENDS= ${LOCALBASE}/share/WindowMaker/Themes/LeetWM.themed/style:graphics/wmicons USES= cpe desktop-file-utils gmake gnome jpeg libtool localbase \ pathfix perl5 pkgconfig shebangfix xorg USE_CSTD= c99 USE_GNOME= pango USE_LDCONFIG= yes USE_XORG= x11 xext xft xinerama xmu xpm xrandr xres SHEBANG_FILES= util/wkdemenu.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no \ wm_cv_func_secure_getenv=no CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \ --localedir=${PREFIX}/share/locale \ --with-libs-from="-L${LOCALBASE}/lib" \ --with-incs-from="-I${LOCALBASE}/include" \ --with-gnustepdir="${PREFIX}/GNUstep" \ --enable-modelock \ --enable-pango \ --enable-xinerama \ --enable-usermenu \ --enable-wmreplace \ --enable-xrandr \ --with-x INSTALL_TARGET= install-strip PORTDOCS= AUTHORS BUGFORM BUGS ChangeLog FAQ INSTALL \ INSTALL-WMAKER NEWS README README.definable-cursor \ README.i18n TODO The-perfect-Window-Maker-patch.txt OPTIONS_DEFINE= IMAGEMAGICK DOCS NLS OPTIONS_DEFAULT= IMAGEMAGICK OPTIONS_SUB= yes IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_OFF= --disable-magick NLS_USES= gettext NLS_CONFIGURE_ENV= LINGUAS="*" NLS_CONFIGURE_ENABLE= locale .include post-patch-IMAGEMAGICK-on: .if ${IMAGEMAGICK_DEFAULT} == 6 @${REINPLACE_CMD} -e '/MagickWand\.h/s,MagickWand/,wand/,' \ ${WRKSRC}/configure ${WRKSRC}/wrlib/load_magick.c .endif post-install: @${MKDIR} \ ${STAGEDIR}${PREFIX}/GNUstep/Applications/WPrefs.app/xpm \ ${STAGEDIR}${PREFIX}/share/WindowMaker/Sounds pre-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} post-install-DOCS-on: cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/eaglemode/Makefile b/x11/eaglemode/Makefile index 113dec13ee6f..c1cc271c60d1 100644 --- a/x11/eaglemode/Makefile +++ b/x11/eaglemode/Makefile @@ -1,96 +1,96 @@ PORTNAME= eaglemode PORTVERSION= 0.96.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Futuristic zoomable user environment WWW= https://eaglemode.sourceforge.net/ LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 USES= compiler:c++11-lib jpeg gnome perl5 \ pkgconfig tar:bzip2 xorg USE_PERL5= build USE_XORG= x11 SUB_FILES= eaglemode.sh BUILD_ARGS= continue=no DATADIR= ${PREFIX}/lib/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDATA= * OPTIONS_DEFINE= RSVG PDF WEBP OPTIONS_DEFAULT=VLC RSVG PDF WEBP OPTIONS_SUB= yes OPTIONS_GROUP= EMAV OPTIONS_GROUP_EMAV= XINE VLC RSVG_DESC= SVG support through librsvg PDF_DESC= PDF support through poppler-glib EMAV_DESC= Video preview backend VLC_DESC= Multimedia support via VLC XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_VARS= EMAV+=xine RSVG_USE= GNOME=librsvg2 PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= GNOME=gtk20 VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc VLC_VARS= EMAV+=vlc WEBP_LIB_DEPENDS= libwebp.so:graphics/webp .include .if !empty(EMAV) BUILD_ARGS+= emAv=${EMAV:ts,} # seed perl make.pl show-extra-options .endif post-patch: @${FIND} ${WRKSRC} -name "*.pl" | ${XARGS} \ ${REINPLACE_CMD} -e '1s|/usr/bin/perl|${perl_CMD}|' .if empty(EMAV) @${RM} ${WRKSRC}/makers/emAv.maker.pm .endif post-patch-RSVG-off: @${RM} ${WRKSRC}/makers/emSvg.maker.pm post-patch-PDF-off: @${RM} ${WRKSRC}/makers/emPdf.maker.pm post-patch-WEBP-off: @${RM} ${WRKSRC}/makers/emWebp.maker.pm do-build: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${PERL} make.pl build ${BUILD_ARGS}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${PERL} make.pl install dir=${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/eaglemode.sh ${STAGEDIR}${PREFIX}/bin/eaglemode @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/bin/* \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/*.so \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emClock/emTimeZonesProc \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emTmpConv/emTmpConvProc do-install-XINE-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emAv/emAvServerProc_xine do-install-VLC-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emAv/emAvServerProc_vlc do-install-RSVG-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emSvg/emSvgServerProc do-install-PDF-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emPdf/emPdfServerProc .include diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile index 940671c47ee4..636df9c11145 100644 --- a/x11/swayimg/Makefile +++ b/x11/swayimg/Makefile @@ -1,92 +1,93 @@ PORTNAME= swayimg DISTVERSIONPREFIX= v DISTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Image viewer for Sway/Wayland WWW= https://github.com/artemsen/swayimg LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libjson-c.so:devel/json-c \ libinotify.so:devel/libinotify \ libwayland-client.so:graphics/wayland \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon.so:x11/libxkbcommon USES= meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= artemsen MESON_ARGS= -Dversion="${DISTVERSIONFULL}" PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/man/man5/${PORTNAME}rc.5.gz \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/64x64/apps/${PORTNAME}.png \ ${DATADIR}/swayimgrc \ ${NULL} # XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif OPTIONS_DEFINE= AVIF BASH GIF HEIF JPEG JXL LIBEXIF LIBRSVG2 OPENEXR PNG TIFF WEBP ZSH OPTIONS_DEFAULT=AVIF BASH GIF HEIF JPEG JXL LIBEXIF LIBRSVG2 OPENEXR PNG TIFF WEBP ZSH OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/} AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_MESON_ENABLED= avif BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion BASH_MESON_ENABLED= bash BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME} GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_USES= localbase:ldflags GIF_MESON_ENABLED= gif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= heif JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_ENABLED= jxl LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_MESON_ENABLED= svg OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_MESON_ENABLED= exr PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_MESON_ENABLED= png TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= tiff WEBP_LIB_DEPENDS= libwebpdemux.so:graphics/webp WEBP_MESON_ENABLED= webp ZSH_MESON_ENABLED= zsh ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME} post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/extra/${PORTNAME}rc \ ${WRKSRC}/extra/${PORTNAME}rc.5 \ ${WRKSRC}/src/config.c .include diff --git a/x11/xloadimage/Makefile b/x11/xloadimage/Makefile index 627136192e71..c581c8b7371a 100644 --- a/x11/xloadimage/Makefile +++ b/x11/xloadimage/Makefile @@ -1,64 +1,64 @@ PORTNAME= xloadimage PORTVERSION= 4.1.24 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 graphics MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}.${VERSION} DISTFILES= ${DISTNAME:S/./_/}.orig${EXTRACT_SUFX} \ ${DISTNAME:S/./_/}-${REVISION}.debian.tar.xz MAINTAINER= ak@FreeBSD.org COMMENT= X11 Image Loading Utility LICENSE= MIT LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff CONFLICTS_INSTALL= xli EXTRA_PATCHES= ${WRKDIR}/debian/patches/*.patch IGNORE_PATCHES= 07_SYSPATHFILE.patch 24_libtiff5.patch \ 25_hardening-flags.patch 26_uufilter-implicit-declaration.patch \ 30_libtiff5.patch 31_reproducible-build.patch PATCH_STRIP= -p1 VERSION= ${PORTVERSION:R} REVISION= ${PORTVERSION:E} USES= jpeg xorg USE_XORG= x11 GNU_CONFIGURE= yes # Temporary fix, waiting for k&r cleanup patch from debian CFLAGS+= -Wno-int-conversion CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib pre-patch: @${RM} ${IGNORE_PATCHES:S,^,${WRKDIR}/debian/patches/,} post-patch: @${CHMOD} a+rx ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|TIFFHeader|TIFFHeaderClassic|g' \ ${WRKSRC}/tiff.c @${REINPLACE_CMD} -e \ 's:/etc/X11/Xloadimage:${PREFIX}/etc/xloadimagerc: ; \ s:/usr/lib/xloadimagerc:${PREFIX}/etc/xloadimagerc: ; \ s:/usr/include/X11/bitmaps:${PREFIX}/include/X11/bitmaps:' \ ${WRKSRC}/xloadimage.man do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xloadimage ${STAGEDIR}${PREFIX}/bin @(cd ${STAGEDIR}${PREFIX}/bin && \ ${LN} -sf xloadimage xsetbg && \ ${LN} -sf xloadimage xview ) ${INSTALL_PROGRAM} ${WRKSRC}/uufilter ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/uufilter.man ${STAGEDIR}${PREFIX}/share/man/man1/uufilter.1 ${INSTALL_MAN} ${WRKSRC}/xloadimage.man ${STAGEDIR}${PREFIX}/share/man/man1/xloadimage.1 @(cd ${STAGEDIR}${PREFIX}/share/man/man1 && \ ${LN} -sf xloadimage.1 xsetbg.1 && \ ${LN} -sf xloadimage.1 xview.1 ) ${INSTALL_DATA} ${WRKSRC}/xloadimagerc ${STAGEDIR}${PREFIX}/etc/xloadimagerc.sample .include