diff --git a/astro/siril/Makefile b/astro/siril/Makefile index 1344621da493..44e0ee4d1452 100644 --- a/astro/siril/Makefile +++ b/astro/siril/Makefile @@ -1,54 +1,54 @@ PORTNAME= siril DISTVERSION= 1.2.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= astro graphics MASTER_SITES= https://free-astro.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Astronomical image processing software WWW= https://siril.org/ \ https://gitlab.com/free-astro/siril 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 gdkpixbuf 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/comms/xastir/Makefile b/comms/xastir/Makefile index 7658686f0e31..1b51aa879412 100644 --- a/comms/xastir/Makefile +++ b/comms/xastir/Makefile @@ -1,88 +1,88 @@ PORTNAME= xastir DISTVERSIONPREFIX= Release- DISTVERSION= 2.2.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= comms hamradio MAINTAINER= hamradio@FreeBSD.org 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 CONFIGURE_ARGS= --without-map-cache OPTIONS_DEFINE= 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 MGG_DESC= Image library for raster map processing IMAGICK_DESC= ImageMagick (Version 6) GMAGICK_DESC= GraphicsMagick (Needs GCC to compile) OPTIONS_DEFAULT= 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 .include diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile index b71d696ab9c8..9f94e9b1408f 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -1,62 +1,62 @@ PORTNAME= calligra DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= KDE office suite WWW= https://calligra.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING IGNORE_i386= is not supported on 32-bit systems LIB_DEPENDS= libImath.so:math/Imath \ libboost_thread.so:devel/boost-libs \ libgit2.so:devel/libgit2 \ libetonyek-0.1.so:graphics/libetonyek01 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libKChart6.so:graphics/kdiagram-qt6 \ libOkular6Core.so:graphics/okular \ libodfgen-0.1.so:textproc/libodfgen01 \ libpoppler-qt6.so:graphics/poppler-qt6 \ libpoppler.so:graphics/poppler \ libqca-qt6.so:devel/qca@qt6 \ libqt6keychain.so:security/qtkeychain@qt6 \ librevenge-0.0.so:textproc/librevenge \ 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 gl iconv:translit jpeg kde:6 localbase:ldflags perl5 \ pkgconfig qt:6 shared-mime-info ssl tar:xz xorg USE_GL= gl opengl USE_LDCONFIG= yes USE_KDE= archive bookmarks colorscheme completion config configwidgets \ coreaddons crash dbusaddons guiaddons i18n iconthemes \ itemviews jobwidgets kcmutils kio notifications notifyconfig \ phonon service solid sonnet textwidgets widgetsaddons \ windowsystem xmlgui \ doctools:build ecm:build USE_QT= base declarative positioning svg webchannel webengine \ tools:build USE_XORG= ice sm x11 xext 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=40 .include diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index b144371230cb..efe1e0b528e1 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -1,292 +1,293 @@ PORTNAME= emacs DISTVERSION= 31.0.50.20260131 +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= b75bfa219ec GNU_CONFIGURE= yes 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 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 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 KQUEUE LCMS2 MAILUTILS MODULES \ NATIVECOMP OSS PGTK PNG SCROLLBARS SOURCES \ SQLITE3 SVG THREADS TIFF TREESITTER WEBP XML OPTIONS_EXCLUDE_powerpc= NATIVECOMP OPTIONS_EXCLUDE_powerpc64= NATIVECOMP OPTIONS_EXCLUDE_powerpc64le= NATIVECOMP 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_EXCLUDE_armv7= NATIVECOMP 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 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_RUN_DEPENDS= mailutils: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=13 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= libpng16.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= libwebpdemux.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/libXaw3d 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-gtk@40 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .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 289c9f2dac31..e0f0c0c89999 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,314 +1,315 @@ PORTNAME= emacs DISTVERSION= 30.2 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= GNU .if ${FLAVOR:U} == canna PATCH_SITES+= https://www.gentei.org/~yuuji/software/emacs30canna/:canna PATCHFILES+= emacs30.1-canna-20250224.diff.gz:-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) COMMENT_wayland= (Wayland flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full canna nox wayland canna_PKGNAMESUFFIX= -canna canna_LIB_DEPENDS= libcanna.so:japanese/canna-lib canna_CONFLICTS_INSTALL= emacs emacs-nox emacs-wayland canna_DESCR= ${.CURDIR}/pkg-descr-canna full_CONFLICTS_INSTALL= emacs-canna emacs-nox emacs-wayland nox_PKGNAMESUFFIX= -nox nox_CONFLICTS_INSTALL= emacs emacs-canna emacs-wayland wayland_PKGNAMESUFFIX= -wayland wayland_CONFLICTS_INSTALL= emacs emacs-canna emacs-nox USES= cpe gmake localbase:ldflags ncurses pkgconfig tar:xz CPE_VENDOR= gnu GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-gconf \ --without-libsystemd \ --without-selinux .if ${FLAVOR:U} == canna CONFIGURE_ARGS+= --with-canna .elif ${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 .elif ${FLAVOR:U} == wayland CONFIGURE_ARGS+= --without-x .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= pkg-message sources.el SUB_LIST= EMACS_VER=${DISTVERSION} \ 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 .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 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 KQUEUE LCMS2 MAILUTILS MODULES \ OSS PNG SCROLLBARS SOURCES SQLITE3 SVG THREADS \ TIFF TREESITTER WEBP XIM XML XPM .if ${FLAVOR:U} != nox OPTIONS_DEFAULT+= NATIVECOMP .endif 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} == wayland OPTIONS_EXCLUDE+= GTK2 MOTIF XAW XAW3D XIM ${PGTK_PREVENTS} \ ${PGTK_IMPLIES:@i@${${i}_PREVENTS}@} OPTIONS_SLAVE+= PGTK ${PGTK_IMPLIES} \ ${PGTK_IMPLIES:@i@${${i}_IMPLIES}@} .elif ${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_EXCLUDE_armv7= NATIVECOMP OPTIONS_EXCLUDE_powerpc64= NATIVECOMP 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 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_RUN_DEPENDS= mailutils: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=13 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= libpng16.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= libwebpdemux.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/libXaw3d 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-gtk@40 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .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: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/libreoffice/Makefile b/editors/libreoffice/Makefile index 1f932f151abc..d24e38f310ed 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -1,439 +1,439 @@ -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>=${MDDS_VERSION}:devel/mdds \ gpatch:devel/patch \ ${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.20.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/gpgmepp \ 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 # libargon2.so:security/libargon2 \ 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/Gentium/Gentium-Bold.ttf:x11-fonts/gentium \ ${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.2.0.tar.gz:src DISTFILES+= phc-winner-argon2-20190702.tar.gz:src DISTFILES+= skia-m136-28685d899b0a35894743e2cedad4c9f525e90e1e.tar.xz:src DISTFILES+= zxcvbn-c-2.6.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 INSTALL_TARGET= distro-pack-install SHEBANG_GLOB= *.py GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= autoreconf:build bison compiler:c++20-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 USE_LOCALE?= en_US.UTF-8 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 GTK3 JAVA MMEDIA PDFIUM QT6 #OPTIONS_EXCLUDE= GTK4 COINMP_DESC= Enable CoinMP (deprecated) math solver GTK4_DESC= GTK+ 4 GUI toolkit support (experimental) 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 QT6_DESC= Qt6 GUI toolkit support (default 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_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libvulkan.so:graphics/vulkan-loader 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-java-websocket \ --without-system-jfreereport \ --without-system-rhino 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 \ 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 \ 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.6.0.tar.gz:src \ bsh-2.1.1-src.zip:src \ officeotron-0.8.4.jar:ext \ rhino-1.7.15.1.zip:src JAVA_USES= java JAVA_VARS= JAVA_VERSION=17+ NO_SHLIB_REQUIRES_GLOB=libjawt.so 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-7012.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,multimedia,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 \ --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-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-os-version=${OSVERSION} \ --with-parallelism=${MAKE_JOBS_NUMBER} \ --with-system-abseil \ --with-system-argon2=no \ --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-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 PIE_UNSAFE= yes #MAKE_JOBS_UNSAFE= yes MDDS_VERSION= 3.1 .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: ${REINPLACE_CMD} \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|mdds-3.0|mdds-${MDDS_VERSION}|g' \ ${WRKSRC}/configure .if ${COMPILER_FEATURES:Mlibstdc++} ${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk .endif 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/vscode/Makefile b/editors/vscode/Makefile index 90cc55fad821..6150b960b8be 100644 --- a/editors/vscode/Makefile +++ b/editors/vscode/Makefile @@ -1,307 +1,307 @@ PORTNAME= vscode DISTVERSION= ${VSCODE_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:node_modules DISTFILES= vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX}:node_modules \ vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}:node_modules DIST_SUBDIR= ${PORTNAME} MAINTAINER= tagattie@FreeBSD.org COMMENT= Visual Studio Code - Open Source ("Code - OSS") WWW= https://code.visualstudio.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 EXTRACT_DEPENDS=jq:textproc/jq \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} BUILD_DEPENDS= zip:archivers/zip \ jq:textproc/jq \ rg:textproc/ripgrep LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libasound.so:audio/alsa-lib \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libsndio.so:audio/sndio \ libdbus-1.so:devel/dbus \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libpcre2-8.so:devel/pcre2 \ libre2.so:devel/re2 \ liblcms2.so:graphics/lcms2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libvpx.so:multimedia/libvpx \ libopenh264.so:multimedia/openh264 \ libpipewire-0.3.so:multimedia/pipewire \ libcups.so:print/cups \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils \ bash:shells/bash TEST_DEPENDS= bash:shells/bash USES= desktop-file-utils display:test electron:39,build,test gl \ gmake gnome gssapi:mit iconv:wchar_t jpeg localbase:ldflags \ nodejs:22,build pkgconfig python:build shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= microsoft BINARY_ALIAS= python=${PYTHON_CMD} USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xtst USE_GL= gbm gl glesv2 USE_GNOME= atk cairo pango gdkpixbuf gtk30 libxml2 libxslt USE_ELECTRON= npm:npm SHEBANG_REGEX= ./(extensions|node_modules|resources|scripts|src)/.*(\.(pl|py|sh)|makeBlacker|makeFF)$$ PATHFIX_FILES= src/vs/workbench/contrib/debug/node/terminals.ts DATADIR= ${PREFIX}/share/code-oss TMPDIR= ${WRKDIR} BUNDLE_LIBS= yes MAKE_ENV+= BUILD_SOURCEVERSION=${SOURCE_COMMIT_HASH} # Don't create __pycache__ directory when executing node-gyp # This is a workaround to avoid filesystem violations during poudriere build MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 TEST_ENV= ${MAKE_ENV:C/TMPDIR=.*//} UPSTREAM_ELECTRON_VER= ${ELECTRON_VER} .include "Makefile.version" .include NODEJS_DIR= ${.CURDIR:H:H}/www/node${NODEJS_VERSION} .include "${NODEJS_DIR}/Makefile.version" pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "The limit imposed by poudriere(8) for the maximum number of files allowed to be" @${ECHO_MSG} "opened by a jail (default 1024) is exceeded during the build of ${PORTNAME}." @${ECHO_MSG} "To successfully build ${PORTNAME} with poudriere(8), you must add the following" @${ECHO_MSG} "line to poudriere.conf:" @${ECHO_MSG} "MAX_FILES_${PORTNAME}=8192" @${ECHO_MSG} "" post-extract: @${CP} ${WRKSRC}/build/.moduleignore.linux \ ${WRKSRC}/build/.moduleignore.freebsd @${ECHO_MSG} "===> Installing node modules in ${WRKSRC}" @${TAR} -xzf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} -C ${WRKSRC} @for dir in `node --input-type=module -e "console.log(JSON.stringify((await import('${WRKSRC}/build/npm/dirs.ts')).dirs))" | jq -r '.[]'`; do \ if [ -f ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} ]; then \ ${ECHO_MSG} "===> Installing node modules in ${WRKSRC}/$${dir}"; \ ${TAR} -xzf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} -C ${WRKSRC}/$${dir}; \ fi; \ done post-patch: @${REINPLACE_CMD} -E 's|^(target=").*(")$$|\1${ELECTRON_VER}\2|' \ ${WRKSRC}/.npmrc @${REINPLACE_CMD} -E 's|^(target=").*(")$$|\1${NODEJS_PORTVERSION}\2|' \ ${WRKSRC}/remote/.npmrc @${REINPLACE_CMD} -e 's/%%DISTVERSION%%/${DISTVERSION}/g' \ ${WRKSRC}/build/gulpfile.reh.ts \ ${WRKSRC}/build/gulpfile.vscode.ts @(cd ${WRKSRC} && \ ${FIND} -E . -type f -iregex '${SHEBANG_REGEX}' \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" {} ';') @(cd ${WRKSRC} && \ ${FIND} ${PATHFIX_FILES} -type f \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" {} ';') @${REINPLACE_CMD} -e 's/@@NAME_LONG@@/Code - OSS/; \ s/@@NAME_SHORT@@/Code - OSS/; \ s/@@PRODNAME@@/Code - OSS/; \ s/@@NAME@@/code-oss/g; \ s|@@EXEC@@|${PREFIX}/bin/code-oss|; \ s/@@ICON@@/com.visualstudio.code.oss/; \ s/@@URLPROTOCOL@@/code-oss/; \ s/@@LICENSE@@/MIT/; \ s/@@APPNAME@@/code-oss/g; \ s|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/resources/completions/bash/code \ ${WRKSRC}/resources/completions/zsh/_code \ ${WRKSRC}/resources/linux/bin/code.sh \ ${WRKSRC}/resources/linux/code.appdata.xml \ ${WRKSRC}/resources/linux/code.desktop \ ${WRKSRC}/resources/linux/code-url-handler.desktop @(cd ${WRKDIR}/builtInExtensions && \ ${FIND} . -type f -name '*.sh' \ -exec ${SED} -i '' -e "s|/usr/bin/pgrep|/bin/pgrep|g" \ -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' {} ';') @${SETENV} FILESDIR=${FILESDIR} \ ${SH} ${FILESDIR}/update-product-json.sh ${WRKSRC} pre-build: # rebuild native node modules in top directory @for subdir in `${FIND} ${WRKSRC}/node_modules -type f -name binding.gyp -exec ${DIRNAME} {} ';'`; do \ ${ECHO_MSG} "===> Rebuilding native modules in $${subdir}"; \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ node-gyp --userconfig=${WRKSRC}/.npmrc rebuild; \ done # rebuild native node modules in subdirectories @for dir in `node --input-type=module -e "console.log(JSON.stringify((await import('${WRKSRC}/build/npm/dirs.ts')).dirs))" | jq -r '.[]'`; do \ for subdir in `${FIND} ${WRKSRC}/$${dir}/node_modules -type f -name binding.gyp -exec ${DIRNAME} {} ';' 2> /dev/null`; do \ ${ECHO_MSG} "===> Rebuilding native modules in $${subdir}"; \ if [ "`${ECHO_CMD} $${subdir} | ${GREP} /build/`" ]; then \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ node-gyp --userconfig=${WRKSRC}/build/.npmrc rebuild; \ elif [ "`${ECHO_CMD} $${subdir} | ${GREP} /remote/`" ]; then \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ node-gyp --userconfig=${WRKSRC}/remote/.npmrc rebuild; \ else \ cd $${subdir} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ node-gyp --userconfig=${WRKSRC}/.npmrc rebuild; \ fi; \ done; \ done # copy rg binary file to @vscode/ripgrep node module directory @${MKDIR} ${WRKSRC}/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/node_modules/@vscode/ripgrep/bin @${MKDIR} ${WRKSRC}/build/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/build/node_modules/@vscode/ripgrep/bin @${MKDIR} ${WRKSRC}/remote/node_modules/@vscode/ripgrep/bin @${CP} ${LOCALBASE}/bin/rg ${WRKSRC}/remote/node_modules/@vscode/ripgrep/bin do-build: # remove backup files so that they are not included in the package @${FIND} ${WRKSRC} -type f \( -name '*.bak' -o -name '*.orig' -o -name '*~' \) -delete # build and package vscode cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} \ npm_config_runtime=electron \ npm_config_target=${ELECTRON_VER} \ npm_config_nodedir=${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers \ npm --userconfig=${WRKSRC}/.npmrc run gulp vscode-linux-${ELECTRON_ARCH}-min # move marketplace extensions @${MV} ${WRKDIR}/builtInExtensions/* ${WRKDIR}/VSCode-linux-${ELECTRON_ARCH}/resources/app/extensions do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/resources/completions/bash/code \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/code-oss @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/resources/completions/zsh/_code \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_code-oss @${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata ${INSTALL_DATA} ${WRKSRC}/resources/linux/code.appdata.xml \ ${STAGEDIR}${PREFIX}/share/appdata/code-oss.appdata.xml @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications .for f in code.desktop code-url-handler.desktop ${INSTALL_DATA} ${WRKSRC}/resources/linux/${f} \ ${STAGEDIR}${PREFIX}/share/applications/${f:S/code/code-oss/} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/resources/linux/code.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/com.visualstudio.code.oss.png @${MKDIR} ${STAGEDIR}${DATADIR} ${TAR} -cf - -C ${WRKDIR}/VSCode-linux-${ELECTRON_ARCH} . | \ ${TAR} -xf - -C ${STAGEDIR}${DATADIR} @${FIND} ${STAGEDIR}${DATADIR}/resources/app -type f -exec ${FILE} {} ';' | \ ${GREP} 'ELF.*FreeBSD' | ${AWK} -F ': ' '{print $$1}' | ${XARGS} ${STRIP_CMD} .for f in chromedriver mksnapshot v8_context_snapshot_generator @${RM} ${STAGEDIR}${DATADIR}/${f} .endfor @${RM} -r ${STAGEDIR}${DATADIR}/gen @${RM} -r ${STAGEDIR}${DATADIR}/node_headers @${RM} -r ${STAGEDIR}${DATADIR}/resources/completions ${RLN} ${STAGEDIR}${DATADIR}/bin/code-oss ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${FILESDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} pre-test: # setup electron dependency for unit tests @${MKDIR} ${WRKSRC}/.build/electron @${TAR} -cf - -C ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} . | \ ${TAR} -xf - -C ${WRKSRC}/.build/electron @cd ${WRKSRC}/.build/electron && ${MV} -f electron code-oss do-test: # unit tests cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ./scripts/test.sh --build || ${TRUE} # UI smoke tests cd ${WRKSRC} && ${SETENV} ${TEST_ENV} npm run smoketest build-remote-extension-host: configure pre-build # setup download cache for node @${MKDIR} ${WRKSRC}/.build/node/v${NODEJS_PORTVERSION}/linux-${ELECTRON_ARCH} @${CP} ${LOCALBASE}/bin/node ${WRKSRC}/.build/node/v${NODEJS_PORTVERSION}/linux-${ELECTRON_ARCH} # build vscode remote extension host cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ npm_config_runtime=node \ npm_config_target=${NODEJS_PORTVERSION} \ npm_config_nodedir=${LOCALBASE} \ npm --userconfig=${WRKSRC}/remote/.npmrc run gulp vscode-reh-linux-${ELECTRON_ARCH}-min @${MKDIR} ${WRKDIR}/vscode-reh/bin/${SOURCE_COMMIT_HASH} ${TAR} -cf - -C ${WRKDIR}/vscode-reh-linux-${ELECTRON_ARCH} . | \ ${TAR} -xf - -C ${WRKDIR}/vscode-reh/bin/${SOURCE_COMMIT_HASH} @${FIND} ${WRKDIR}/vscode-reh -type f -exec ${FILE} {} ';' | \ ${GREP} 'ELF.*FreeBSD' | ${AWK} -F ': ' '{print $$1}' | ${XARGS} ${STRIP_CMD} ${TAR} -czf ${WRKDIR}/vscode-reh-${DISTVERSION}-${OPSYS:tl}${OSREL:R}-${ARCH}.tar.gz -C ${WRKDIR}/vscode-reh . # cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm run gulp vscode-reh-web-linux-${ELECTRON_ARCH}-min ### targets for port maintainer(s) patch-package-json: extract # add node module for signature verification of extensions from Open VSX Registry @${PATCH} -s -p0 -d ${WRKSRC} < ${FILESDIR}/patch-package.json make-node-modules-archive: extract patch-package-json @${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}" @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm install \ --ignore-scripts --no-progress --no-audit --no-fund --no-update-notifier && \ ${TAR} -czf ${WRKDIR}/vscode-.-node-modules${EXTRACT_SUFX} node_modules @for dir in `node --input-type=module -e "console.log(JSON.stringify((await import('${WRKSRC}/build/npm/dirs.ts')).dirs))" | jq -r '.[]'`; do \ cd ${WRKSRC}/$${dir} && \ ${ECHO_MSG} "===> Fetching and installing node modules in ${WRKSRC}/$${dir}" && \ ${SETENV} ${MAKE_ENV} npm install \ --ignore-scripts --no-progress --no-audit --no-fund --no-update-notifier && \ if [ -d node_modules ]; then \ ${TAR} -czf ${WRKDIR}/vscode-`echo $${dir} | tr _ __ | tr / _`-node-modules${EXTRACT_SUFX} node_modules; \ fi; \ done @cd ${WRKDIR} && \ ${TAR} -czf vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX} vscode-*-node-modules.tar.gz make-marketplace-exts-archive: extract @${RM} -r ${WRKSRC}/.build/builtInExtensions @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} npm run download-builtin-extensions @${TAR} -czf ${WRKDIR}/vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX} -C ${WRKSRC}/.build builtInExtensions .include diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index 6c6118dcd8bf..c1c8d816b69b 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -1,103 +1,103 @@ PORTNAME= GraphicsMagick PORTVERSION= 1.3.43 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast image processing tools based on ImageMagick WWW= https://graphicsmagick.sourceforge.io/ \ http://www.graphicsmagick.org/ LICENSE= MIT USES= cpe libtool localbase:ldflags 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 FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} nox11_PKGNAMESUFFIX= -nox11 .if ${FLAVOR} == x11 CONFIGURE_ARGS+=--with-x USE_XORG= ice sm x11 xext USES+= xorg .else CONFIGURE_ARGS+=--without-x ac_cv_lib_ICE_IceConnectionNumber=no .endif PORTSCOUT= limit:^[0-9]\.[0-9]\.[1-9][0-9\]$$ # 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 XML ZLIB ZSTD OPTIONS_DEFAULT=BZIP2 FREETYPE JASPER JBIG JPEG JXL LCMS2 LZMA OPENMP PNG TIFF WEBP WMF 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= -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 WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} 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 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 55152af9125d..140710fb8773 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,349 +1,350 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.13-36 +PORTREVISION= 1 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-urw-base35-type1.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,gdkpixbuf,librsvg2 TESTS_TEST_DEPENDS= gsfonts>=0:print/gsfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/Magick++/lib/ImageMagick++.pc.in \ ${WRKSRC}/magick/ImageMagick.pc.in \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/magick/MagickCore.pc.in \ ${WRKSRC}/wand/Wand.pc.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/wand/MagickWand.pc.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/Magick++/bin/Magick++-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-6/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i}.sample .endfor post-install-PERL-on: ${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Image/Magick/*/*.so 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 dd8f45e6a9e0..a02c4b139c28 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,343 +1,344 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.2-11 +PORTREVISION= 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= 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 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-urw-base35-type1.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 OPTIONS_EXCLUDE= PANGO RAQM SVG 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,gdkpixbuf,librsvg2 TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WMF_CONFIGURE_WITH= wmf WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf@${FLAVOR} .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/MagickCore/MagickCore-config.in \ ${WRKSRC}/MagickCore/MagickCore.pc.in \ ${WRKSRC}/MagickCore/ImageMagick.pc.in \ ${WRKSRC}/MagickWand/MagickWand-config.in \ ${WRKSRC}/MagickWand/MagickWand.pc.in @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' ${WRKSRC}/MagickWand/MagickWand-config.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor post-install-PERL-on: ${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Image/Magick/*/*.so .include diff --git a/graphics/art/Makefile b/graphics/art/Makefile index 48234f5df2b6..88078c9e85ba 100644 --- a/graphics/art/Makefile +++ b/graphics/art/Makefile @@ -1,71 +1,72 @@ PORTNAME= art DISTVERSION= 1.26.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/artpixls/ART/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= -raw-image-editor DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Raw image processing program WWW= https://art.pixls.us/ \ https://github.com/artpixls/ART 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 \ 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 CXXFLAGS+= -I${LOCALBASE}/include/Imath # workaround for https://bitbucket.org/agriggio/art/issues/339/1241-build-fails-usr-local-include-ctl LDFLAGS+= -lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create OPTIONS_DEFINE= CTL LTO MIMALLOC 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 MIMALLOC_DESC= Enable mimalloc allocator MIMALLOC_CMAKE_BOOL= ENABLE_MIMALLOC MIMALLOC_LIB_DEPENDS= libmimalloc.so:devel/mimalloc MIMALLOC_BROKEN= mimalloc crashes, see https://github.com/microsoft/mimalloc/issues/1007 .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/colord-gtk/Makefile b/graphics/colord-gtk/Makefile index aac702b4a5e3..de50e7d7012c 100644 --- a/graphics/colord-gtk/Makefile +++ b/graphics/colord-gtk/Makefile @@ -1,26 +1,26 @@ PORTNAME= colord-gtk PORTVERSION= 0.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://www.freedesktop.org/software/colord/releases/ MAINTAINER= desktop@FreeBSD.org COMMENT= Manage color profiles to accurately color input/output devices WWW= https://www.freedesktop.org/software/colord LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xsltproc:textproc/libxslt \ docbook-xsl-ns>0:textproc/docbook-xsl-ns LIB_DEPENDS= libcolord.so:graphics/colord \ libdbus-1.so:devel/dbus \ liblcms2.so:graphics/lcms2 USE_GNOME= cairo gtk30 gtk40 introspection:build USES= gettext gnome localbase:ldflags meson pkgconfig sqlite tar:xz USE_LDCONFIG= yes MESON_ARGS= -Ddocs=false \ -Dtests=false .include diff --git a/graphics/colord-kde/Makefile b/graphics/colord-kde/Makefile index 13ccdafdea98..2fe6eeb97fb6 100644 --- a/graphics/colord-kde/Makefile +++ b/graphics/colord-kde/Makefile @@ -1,18 +1,19 @@ PORTNAME= colord-kde DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= graphics kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Color profiles manager WWW= https://invent.kde.org/graphics/colord-kde LIB_DEPENDS= liblcms2.so:graphics/lcms2 USES= cmake gettext kde:6 pkgconfig qt:6 tar:xz xorg USE_KDE= coreaddons dbusaddons i18n itemmodels kcmutils \ widgetsaddons windowsystem \ ecm:build USE_QT= base declarative USE_XORG= x11 xcb xrandr .include diff --git a/graphics/colord/Makefile b/graphics/colord/Makefile index f718a264eb06..22e47751d6d4 100644 --- a/graphics/colord/Makefile +++ b/graphics/colord/Makefile @@ -1,88 +1,89 @@ PORTNAME= colord PORTVERSION= 1.4.8 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://www.freedesktop.org/software/colord/releases/ MAINTAINER= desktop@FreeBSD.org COMMENT= Manage color profiles to accurately color input/output devices WWW= https://www.freedesktop.org/software/colord LICENSE= LGPL21+ LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgusb.so:devel/libgusb \ libgudev-1.0.so:devel/libgudev \ liblcms2.so:graphics/lcms2 \ libpolkit-gobject-1.so:sysutils/polkit RUN_DEPENDS= hwdata>0:misc/hwdata USERS= colord GROUPS= colord USES= gettext gnome localbase meson pathfix pkgconfig sqlite tar:xz USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes MAKE_ENV= PYTHONDONTWRITEBYTECODE=1 MESON_ARGS= -Dsystemd=false -Dudev_rules=false \ -Ddaemon_user=colord -Dlibcolordcompat=true \ -Dpnp_ids=${LOCALBASE}/share/hwdata/pnp.ids GLIB_SCHEMAS= org.freedesktop.ColorHelper.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= DOCS COMPLETION MANPAGES PPROFILES SANE SENSOR TESTS VALA OPTIONS_DEFAULT=COMPLETION MANPAGES VALA TESTS COMPLETION_DESC=Build and install shell completions PPROFILES_DESC= Build extra print profiles (long build time) SANE_DESC= Enable SANE support SENSOR_DESC= Enable ArgyllCMS sensor TESTS_DESC= Build self tests VALA_DESC= Build Vala language bindings DOCS_MESON_TRUE= docs COMPLETION_MESON_TRUE= bash_completion MANPAGES_MESON_TRUE= man PPROFILES_MESON_TRUE= print_profiles SANE_MESON_TRUE= sane SENSOR_MESON_TRUE= argyllcms_sensor TESTS_MESON_TRUE= tests VALA_MESON_TRUE= vapi COMPLETION_BUILD_DEPENDS= bash-completion>=2.0:shells/bash-completion DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc POLKIT_LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit POLKIT_CONFIGURE_ENABLE= polkit MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \ docbook-xsl-ns>0:textproc/docbook-xsl-ns SANE_LIB_DEPENDS= libsane.so:graphics/sane-backends SENSOR_BUILD_DEPENDS= spotread:graphics/argyllcms SENSOR_RUN_DEPENDS= spotread:graphics/argyllcms VALA_USES= vala:build GNOME_HTML_DIR= ${PREFIX}/share/gtk-doc/html post-patch: @${REINPLACE_CMD} -e 's|lib/color\>|db/color|g' \ -e 's|/usr/share/color|${PREFIX}/share/color|g' \ -e 's|LOCALSTATEDIR "/lib/|LOCALSTATEDIR "/db/|g' \ ${WRKSRC}/src/cd-main.c \ ${WRKSRC}/lib/colord/cd-icc-store.c \ ${WRKSRC}/src/cd-profile.c @${REINPLACE_CMD} -e 's|@@DOCBOOK_MANPAGE_XSL@@|${LOCALBASE}/share/xsl/docbook-ns/manpages/docbook.xsl|' \ ${WRKSRC}/man/meson.build post-install: @${MKDIR} ${STAGEDIR}/var/db/colord/icc @${FIND} ${STAGEDIR}/var/lib -type d | ${TAIL} -r | ${XARGS} ${RMDIR} post-stage-DOCS-on: cd ${WRKSRC}; ${COPYTREE_SHARE} NEWS ${STAGEDIR}${DOCSDIR} add-plist-docs: ${STAGE_COOKIE} cd ${STAGEDIR}; ${FIND} ${DOCSDIR:C@^/@@} -type f | ${SED} -e 's@^@/@' >> ${TMPPLIST} cd ${STAGEDIR}; ${FIND} ${PREFIX:C@^/@@}/share/gtk-doc/html -mindepth 2 -type f | ${SED} -e 's@^@/@' >> ${TMPPLIST} .include diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile index 0518786fa1b5..88ac36f94fb3 100644 --- a/graphics/darktable/Makefile +++ b/graphics/darktable/Makefile @@ -1,145 +1,145 @@ PORTNAME= darktable PORTVERSION= 5.2.1 -PORTREVISION= 2 +PORTREVISION= 3 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 # Note that compiler-related Uses are defined later in this Makefile, based on # the value of `${ARCH}`. USES= cmake desktop-file-utils gl gnome jpeg lua perl5 pkgconfig sdl \ shebangfix sqlite tar:xz xorg USE_GL= gl USE_GNOME= cairo gtk30 intltool librsvg2 libxml2 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_SDL= sdl2 USE_XORG= ice sm x11 xext xrandr SHEBANG_FILES= tools/*.sh 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 # darktable wraps pthread lock/release functions, causing false # compiler warnings from -Wthread-safety-analysis. Kill this warning. CFLAGS+= -fopenmp -Wno-thread-safety-analysis 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 .if ${ARCH} == powerpc64le LDFLAGS+= -lexecinfo USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lib .endif # `llvm:build` must be added after `compiler:*` above. Otherwise it triggers # the following warning from Mk/compiler.mk: # # make: .../Mk/Uses/compiler.mk:86: warning: Command "/usr/local/llvm19/bin/clang --version" exited with status 127 # make: .../Mk/Uses/compiler.mk:134: warning: Command "/usr/local/llvm19/bin/clang++ -### /dev/null 2>&1" exited with status 127 USES+= llvm:build .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/dcraw-m/Makefile b/graphics/dcraw-m/Makefile index 936eff6b03a9..822e506793c2 100644 --- a/graphics/dcraw-m/Makefile +++ b/graphics/dcraw-m/Makefile @@ -1,38 +1,38 @@ PORTNAME= dcraw-m PORTVERSION= 9.22 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MAINTAINER= waitman@waitman.net COMMENT= Modified Decoder for RAW files from digital cameras WWW= http://www.cybercom.net/~dcoffin/dcraw/ LICENSE= GPLv2 LIB_DEPENDS= libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 USE_GITHUB= yes GH_ACCOUNT= waitman GH_TAGNAME= 1392579 USES= jpeg magick:6 pkgconfig CFLAGS+= -Wall -I${LOCALBASE}/include \ `pkg-config MagickWand --cflags` \ -DMAGICKCORE_HDRI_ENABLE=0 \ -DMAGICKCORE_QUANTUM_DEPTH=16 LDFLAGS+= `pkg-config MagickWand --libs` -lm -llcms2 -ljpeg \ -ljasper LIBS+= -L${LOCALBASE}/lib PLIST_FILES= bin/dcraw-m do-build: ( cd ${WRKSRC} ; \ ${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile index a900e138601f..2022bfe16b27 100644 --- a/graphics/dcraw/Makefile +++ b/graphics/dcraw/Makefile @@ -1,63 +1,63 @@ PORTNAME= dcraw PORTVERSION= 9.28 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Decoder for RAW files from digital cameras WWW= https://dechifro.org/dcraw/ LICENSE= GPLv2+ LIB_DEPENDS= libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 USES= cpe jpeg localbase tar:xz CPPFLAGS+= -I${LOCALBASE}/include/jasper LIBS+= -ljasper -ljpeg -llcms2 -lm CONFLICTS_INSTALL= ufraw PLIST_FILES= bin/dcraw \ share/man/man1/dcraw.1.gz CPE_VENDOR= dcraw_project do-build: @cd ${WRKSRC}/ && ${CC} -o dcraw ${CPPFLAGS} ${CFLAGS} dcraw.c ${LDFLAGS} ${LIBS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dcraw ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/dcraw.1 ${STAGEDIR}${PREFIX}/share/man/man1/ # maintainer section: MS_DIFF= ${MS_WRKSRC}/dcraw.c.diff MS_VERSION= `${CAT} ${MS_VERSIONFILE}` MS_VERSIONFILE= ${MS_WRKSRC}/.version MS_WRKSRC= ${WRKSRC}/tmp MS_MASTER_SITE= https://www.dechifro.org/dcraw/ MS_DISTFILES= dcraw.1 dcraw.c maketar: do-clean extract @${MKDIR} ${MS_WRKSRC}/ .for file in ${MS_DISTFILES} @${FETCH_CMD} -o ${MS_WRKSRC}/${file} ${MS_MASTER_SITE}${file} .endfor @${GREP} '^#define DCRAW_VERSION' ${MS_WRKSRC}/dcraw.c | cut -d'"' -f2 > ${MS_VERSIONFILE} @${MKDIR} -m 755 ${MS_WRKSRC}/dcraw-${MS_VERSION}/ @cd ${MS_WRKSRC}/ && ${CHMOD} 644 ${MS_DISTFILES} && ${MV} ${MS_DISTFILES} dcraw-${MS_VERSION}/ @(${DIFF} -u ${WRKSRC}/dcraw.c ${MS_WRKSRC}/dcraw-${MS_VERSION}/dcraw.c > ${MS_DIFF}) || ${TRUE} @if [ -s ${MS_DIFF} ]; then \ cd ${MS_WRKSRC}/ && ${TAR} -Jcf dcraw-${MS_VERSION}.tar.xz dcraw-${MS_VERSION}/; \ sudo ${INSTALL} -m 644 ${MS_WRKSRC}/dcraw-${MS_VERSION}.tar.xz ${DISTDIR}/; \ ${SED} -i '' -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile; \ cd ${.CURDIR}/ && ${MAKE_CMD} makesum; \ ${ECHO_MSG} "*** Update from ${PORTVERSION} to ${MS_VERSION}, diff: ${MS_DIFF} ***"; \ else \ ${ECHO_MSG} "*** ${MS_MASTER_SITE}dcraw.c is unchanged (${PORTVERSION}) ***"; \ fi .include diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile index 02a128585a0c..0e85bcf89c49 100644 --- a/graphics/devil/Makefile +++ b/graphics/devil/Makefile @@ -1,74 +1,74 @@ PORTNAME= devil DISTVERSIONPREFIX= v DISTVERSION= 1.8.0 -PORTREVISION= 7 +PORTREVISION= 8 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 3c690b2cc0d7..1f5384b5d1fd 100644 --- a/graphics/digikam/Makefile +++ b/graphics/digikam/Makefile @@ -1,152 +1,152 @@ PORTNAME= digikam DISTVERSION= 8.8.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} \ https://files.kde.org/${PORTNAME}/%SUBDIR%/:aitools,aesthetic,autotags,face,testimage,yunet \ https://kde-applicationdata.mirrors.omnilance.com/${PORTNAME}/%SUBDIR%/:aitools,aesthetic,autotags,face,testimage,yunet \ https://mirrors.ocf.berkeley.edu/kde-applicationdata/${PORTNAME}/%SUBDIR%/:aitools,aesthetic,autotags,face,testimage,yunet MASTER_SITE_SUBDIR= aestheticdetector/:aesthetic \ aitools/:aitools \ autotags/:autotags \ facesengine/:testimage \ facesengine/dnnface/:face \ facesengine/yunet/:yunet # One bit changed in the naming convention .. DISTFILES= digiKam-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX} DIST_SUBDIR= KDE/${PORTNAME} 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 BUILD_DEPENDS= boost-libs>=0:devel/boost-libs LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgphoto2.so:graphics/libgphoto2 \ libjasper.so:graphics/jasper \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ libopencv_core.so:graphics/opencv \ libheif.so:graphics/libheif \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff \ libx265.so:multimedia/x265 RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool USES= bison cmake compiler:c++20-lang desktop-file-utils eigen:3 \ gettext-tools gl gnome jpeg kde:6 magick pkgconfig qt:6 \ shebangfix tar:xz xorg USE_GL= opengl glu USE_GNOME= glib20 libxml2 libxslt USE_KDE= calendarcore colorscheme completion config configwidgets \ coreaddons doctools filemetadata guiaddons i18n iconthemes \ jobwidgets kio libksane notifications notifyconfig service \ solid sonnet texttemplate threadweaver widgetsaddons \ windowsystem xmlgui \ ecm:build USE_LDCONFIG= yes USE_QT= base declarative networkauth positioning scxml svg \ webchannel webengine \ imageformats:run USE_XORG= ice sm x11 xext SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree CMAKE_ON= BUILD_WITH_CCACHE \ BUILD_WITH_QT6 \ CMAKE_DISABLE_FIND_PACKAGE_VAAPI \ DIGIKAMSC_COMPILE_DIGIKAM \ ENABLE_KFILEMETADATASUPPORT CXXFLAGS+= -Wno-error=undef WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} PLIST_SUB= SHLIB_VER=${DISTVERSION} WITH_CCACHE_BUILD= yes OPTIONS_DEFINE= KDEPIM MEDIAPLAYER OPTIONS_GROUP= DATA DATA_DESC= Binary data required for certain features OPTIONS_GROUP_DATA= AITOOLS AESTHETIC AUTOTAGS FACEDETECT OPTIONS_MULTI= DB DB_DESC= Database options OPTIONS_MULTI_DB= MYSQL MYSQL_INTERNAL SQLITE3 OPTIONS_DEFAULT= ${OPTIONS_DEFINE} \ ${OPTIONS_MULTI_DB:NMYSQL_INTERNAL} OPTIONS_SUB= yes # Check core/data/dnnmodels/dnnmodels.conf for new and obsolete files # for the AITOOLS. AESTHETIC, AUTOTAGS and FACEDETECT options with each update. AITOOLS_DESC= Install aitools (autorotate) data (~330 MiB) AITOOLS_DISTFILES= deep-image-orientation-angle-detection.onnx:aitools AESTHETIC_DESC= Install aesthetic detection data (~84 MiB) AESTHETIC_DISTFILES= weights_inceptionv3_299.pb:aesthetic AUTOTAGS_DESC= Install auto tags assignment data (~481 MiB) AUTOTAGS_DISTFILES= classification_classes_ILSVRC2012.txt:autotags \ coco.names:autotags \ efficientnetb7.onnx:autotags \ yolo11n.onnx:autotags \ yolo11x.onnx:autotags FACEDETECT_DESC= Install face management data (~37 MiB) FACEDETECT_DISTFILES= dnntestimage.jpeg:testimage \ face_recognition_sface_2021dec.onnx:face \ face_detection_yunet_2023mar.onnx:yunet KDEPIM_DESC= KDEPim Addressbook support KDEPIM_USE= KDE=akonadi,akonadicontacts,contacts,grantleetheme,itemmodels KDEPIM_CMAKE_BOOL= ENABLE_AKONADICONTACTSUPPORT MEDIAPLAYER_DESC= Enable media player MEDIAPLAYER_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg MEDIAPLAYER_USE= QT=multimedia XORG=xv MEDIAPLAYER_CMAKE_BOOL= ENABLE_MEDIAPLAYER MEDIAPLAYER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FFmpeg MYSQL_USE= QT=sqldriver-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 SQLITE3_USE= QT=sqldriver-sqlite:run post-install-AITOOLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/facesengine .for f in ${AITOOLS_DISTFILES:C/:.*//} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${DATADIR}/facesengine .endfor post-install-AESTHETIC-on: @${MKDIR} ${STAGEDIR}${DATADIR}/facesengine .for f in ${AESTHETIC_DISTFILES:C/:.*//} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${DATADIR}/facesengine .endfor post-install-AUTOTAGS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/facesengine .for f in ${AUTOTAGS_DISTFILES:C/:.*//} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${DATADIR}/facesengine .endfor 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/enblend/Makefile b/graphics/enblend/Makefile index 718853a70d5c..6d9c3395e095 100644 --- a/graphics/enblend/Makefile +++ b/graphics/enblend/Makefile @@ -1,52 +1,52 @@ PORTNAME= enblend PORTVERSION= 4.2 -PORTREVISION= 28 +PORTREVISION= 29 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/entangle/Makefile b/graphics/entangle/Makefile index f4c30854bccf..38d46ecd0cce 100644 --- a/graphics/entangle/Makefile +++ b/graphics/entangle/Makefile @@ -1,40 +1,40 @@ PORTNAME= entangle PORTVERSION= 1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= https://www.entangle-photo.org/download/sources/ MAINTAINER= danfe@FreeBSD.org COMMENT= Digital camera tethered control and capture program WWW= https://www.entangle-photo.org/ LICENSE= GPLv3 BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc \ itstool:textproc/itstool LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 \ liblcms2.so:graphics/lcms2 \ libgexiv2.so:graphics/gexiv2 \ libraw_r.so:graphics/libraw \ libpeas-1.0.so:devel/libpeas1 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas1>0:devel/py-libpeas1@${PY_FLAVOR} USES= compiler:c++11-lang gnome gstreamer meson pkgconfig python tar:xz xorg USE_GNOME= cairo gtk30 intltool introspection USE_GSTREAMER= core USE_XORG= xext GLIB_SCHEMAS= org.entangle-photo.manager.gschema.xml USE_LDCONFIG= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext post-patch: @${REINPLACE_CMD} -e 's,_udev,,' \ ${WRKSRC}/src/backend/entangle-camera-list.c @${REINPLACE_CMD} -e '/gudev_dep/d' \ ${WRKSRC}/src/backend/meson.build .include diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile index 67b566fc8ae0..32ed90707fef 100644 --- a/graphics/eog/Makefile +++ b/graphics/eog/Makefile @@ -1,47 +1,47 @@ PORTNAME= eog DISTVERSION= 47.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Eye Of Gnome image viewer WWW= https://wiki.gnome.org/Apps/EyeOfGnome LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libexif.so:graphics/libexif \ libhandy-1.so:x11-toolkits/libhandy \ liblcms2.so:graphics/lcms2 \ libpeas-gtk-1.0.so:devel/libpeas1 RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas PORTSCOUT= limitw:1,even USES= compiler:c++11-lang desktop-file-utils gettext gnome jpeg \ localbase meson pkgconfig python:build shebangfix tar:xz \ xorg USE_GNOME= cairo gnomedesktop3 gtk30 introspection librsvg2 USE_XORG= x11 MESON_ARGS= -Dlibexif=true \ -Dlibportal=false GLIB_SCHEMAS= org.gnome.eog.enums.xml \ org.gnome.eog.gschema.xml PLIST_SUB+= VERSION=3.0 OPTIONS_SUB= yes OPTIONS_DEFINE= EXEMPI OPTIONS_DEFAULT= EXEMPI EXEMPI_DESC= XMP support EXEMPI_MESON_TRUE= xmp EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi .include diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index e07fea8fba3c..3e2b324f7c12 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -1,94 +1,94 @@ PORTNAME= geeqie DISTVERSIONPREFIX= v DISTVERSION= 2.4 -PORTREVISION= 7 +PORTREVISION= 8 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 gdkpixbuf 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 0b07b7c31da0..e83948c4b44c 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,144 +1,144 @@ PORTNAME= gegl DISTVERSION= 0.4.66 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= GIMP MAINTAINER= gnome@FreeBSD.org COMMENT= Graph based image processing framework WWW= https://gegl.org/ LICENSE= BSD3CLAUSE GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libjson-glib-1.0.so:devel/json-glib \ libnsgif.so:graphics/libnsgif \ libpng.so:graphics/png USES= compiler:c++14-lang cpe gettext gnome jpeg localbase:ldflags \ meson pkgconfig shebangfix uniquefiles tar:xz USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes SHEBANG_FILES= tools/xml_insert.sh MESON_ARGS= -Ddocs=false \ -Dgi-docgen=disabled \ -Dworkshop=false \ -Dintrospection=true \ -Dlensfun=disabled \ -Dmaxflow=disabled \ -Dmrg=disabled \ -Dpygobject=disabled \ -Dlua=disabled # relocatable does not mean ELF relocation MESON_ARGS+= -Drelocatable=disabled .if !exists(/usr/include/omp.h) MESON_ARGS+= -Dopenmp=disabled .endif GEGL_SHLIB= 0.465.1 GEGL_VER= 0.4 PLIST_SUB+= GEGL_SHLIB=${GEGL_SHLIB} GEGL_VER=${GEGL_VER} OPTIONS_DEFINE= CAIRO ENSCRIPT FFMPEG GEXIV2 GRAPHVIZ JASPER LCMS2 LIBRSVG2 \ OPENEXR PANGO PIXBUF POPPLER RAW SDL SPIRO TIFF UMFPACK V4L \ VAPI WEBP OPTIONS_DEFAULT= CAIRO ENSCRIPT FFMPEG GEXIV2 GRAPHVIZ JASPER LCMS2 LIBRSVG2 \ OPENEXR PANGO PIXBUF POPPLER RAW SDL SPIRO TIFF UMFPACK V4L \ VAPI WEBP OPTIONS_EXCLUDE_i386= GEXIV2 OPTIONS_SUB= yes ENSCRIPT_DESC= Enscript support GEXIV2_DESC= EXIF and IPTC metadata support via gexiv2 SPIRO_DESC= Spiro support UMFPACK_DESC= UMFpack support CAIRO_USE= GNOME=cairo CAIRO_MESON_ENABLED= cairo ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= libav GEXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GEXIV2_MESON_ENABLED= gexiv2 GRAPHVIZ_BUILD_DEPENDS= dot:graphics/graphviz GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz GRAPHVIZ_MESON_ENABLED= graphviz JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_MESON_ENABLED= jasper LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBRSVG2_IMPLIES= CAIRO LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= librsvg OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_MESON_ENABLED= openexr PANGO_IMPLIES= CAIRO PANGO_USE= GNOME=pango PANGO_MESON_ENABLED= pango pangocairo PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_MESON_ENABLED= gdk-pixbuf POPPLER_IMPLIES= CAIRO POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_MESON_ENABLED= poppler RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= libraw SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_ENABLED= sdl2 SPIRO_LIB_DEPENDS= libspiro.so:graphics/libspiro SPIRO_MESON_ENABLED= libspiro TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_MESON_ENABLED= libtiff UMFPACK_LIB_DEPENDS= libumfpack.so:math/suitesparse-umfpack UMFPACK_MESON_ENABLED= umfpack V4L_BUILD_DEPENDS= libv4l>0:multimedia/libv4l \ v4l_compat>=0:multimedia/v4l_compat V4L_RUN_DEPENDS= libv4l>0:multimedia/libv4l V4L_MESON_ENABLED= libv4l libv4l2 V4L_VARS= LICENSE+=LGPL20+ VAPI_USES= vala:build VAPI_MESON_ENABLED= vapigen WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp .include .if defined(WITH_DEBUG) LDFLAGS+= -lexecinfo .endif .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" ARM="@comment " .elif ${ARCH} == "armv6" || ${ARCH} == "armv7" PLIST_SUB+= AMD64="@comment " ARM="" .else PLIST_SUB+= AMD64="@comment " ARM="@comment " .endif .include diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile index 092d9945d12c..dc9560b36c85 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -1,140 +1,140 @@ PORTNAME= gimp DISTVERSION= 2.10.38 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} PKGNAMESUFFIX= -app MAINTAINER= gnome@FreeBSD.org COMMENT= GNU Image Manipulation Program WWW= https://www.gimp.org/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ gtkdocize:textproc/gtk-doc \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes LIB_DEPENDS= libasound.so:audio/alsa-lib \ libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgegl-0.4.so:graphics/gegl \ libgexiv2.so:graphics/gexiv2 \ libharfbuzz.so:print/harfbuzz \ libjson-c.so:devel/json-c \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libpng.so:graphics/png \ libpoppler-glib.so:graphics/poppler-glib \ libtiff.so:graphics/tiff \ ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind LIB_DEPENDS_amd64= libunwind.so:devel/libunwind LIB_DEPENDS_armv7= libunwind.so:devel/libunwind LIB_DEPENDS_i386= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes USES= autoreconf:2.69 cpe compiler:c++14-lang desktop-file-utils gettext gmake \ gnome jpeg libtool localbase pkgconfig shebangfix tar:bzip2 xorg CPE_VENDOR= gimp CPE_PRODUCT= gimp USE_GNOME+= cairo gtk20 intltool librsvg2 USE_LDCONFIG= yes USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/gimp \ --with-bug-report-url="https://bugs.freebsd.org/" \ --disable-gtk-doc \ --without-linux-input \ --with-print \ --without-gudev \ --enable-default-binary \ --disable-gimp-console \ --disable-python \ --without-appdata-test \ --with-desktop-dir=${PREFIX}/share \ --docdir=${PREFIX}/share/doc/gimp \ --with-icc-directory=${LOCALBASE}/share/color/icc \ --without-webkit \ --enable-default-binary CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread INSTALL_TARGET= install-strip .if !defined(XAUTHORITY) TEST_ENV= XAUTHORITY=${HOME}/.Xauthority .endif TEST_TARGET= check LIBS+= -lexecinfo -lm CONFLICTS_INSTALL= gimp3-app PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E} OPTIONS_DEFINE= AALIB GHOSTSCRIPT HEIF JXL LIBMNG OPENEXR OPENJPEG \ SIMD WEBP WMF OPTIONS_DEFAULT= AALIB HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF OPTIONS_SUB= yes AALIB_DESC= Ascii-art Plug-in OPENJPEG_DESC= Enhanced JPEG (JPEG 2000) graphics support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_WITH= aa GHOSTSCRIPT_USES= ghostscript GHOSTSCRIPT_CONFIGURE_WITH= gs HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_CONFIGURE_WITH= libheif JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CONFIGURE_WITH= jpegxl LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CONFIGURE_WITH= libmng OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CONFIGURE_WITH= openexr OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_WITH= jpeg2000 SIMD_CONFIGURE_OFF= --disable-altivec \ --disable-mmx \ --disable-sse WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_WITH= webp WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libwmf.so:graphics/libwmf WMF_CONFIGURE_WITH= wmf .include post-patch: @${REINPLACE_CMD} -e 's|%%GIMP_LIBS%%|${GIMP_LIBS}|; \ s|%%GIMP_THUMB_LIBS%%|${GIMP_THUMB_LIBS}|; \ s|%%GIMP_UI_LIBS%%|${GIMP_UI_LIBS}|' \ ${WRKSRC}/plug-ins/pygimp/Makefile.in @${REINPLACE_CMD} \ -e 's|x86_64|amd64|g' \ -e 's|libpixbufloader-svg.so|libpixbufloader_svg.so|g' \ ${WRKSRC}/configure.ac .include diff --git a/graphics/gimp3-app/Makefile b/graphics/gimp3-app/Makefile index b68839f8de96..0bd2b385e9db 100644 --- a/graphics/gimp3-app/Makefile +++ b/graphics/gimp3-app/Makefile @@ -1,173 +1,174 @@ PORTNAME= gimp DISTVERSION= 3.0.8 +PORTREVISION= 1 CATEGORIES?= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} PKGNAMESUFFIX= 3-app MAINTAINER= gnome@FreeBSD.org COMMENT= GNU Image Manipulation Program WWW= https://www.gimp.org/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes \ bash:shells/bash \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ appstreamcli:devel/appstream LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libasound.so:audio/alsa-lib \ liblcms2.so:graphics/lcms2 \ libgegl-0.4.so:graphics/gegl \ libbabl-0.1.so:x11/babl \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libpoppler-glib.so:graphics/poppler-glib \ libgexiv2.so:graphics/gexiv2 \ libjson-c.so:devel/json-c \ libmypaint.so:graphics/libmypaint \ libfreetype.so:print/freetype2 \ libappstream.so:devel/appstream \ libappstream-glib.so:devel/appstream-glib \ libImath.so:math/Imath \ libwebp.so:graphics/webp \ libOpenEXR.so:graphics/openexr \ libIex.so:graphics/openexr \ libjson-glib-1.0.so:devel/json-glib \ libgudev-1.0.so:devel/libgudev \ ${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= iso-codes>=0:misc/iso-codes \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes USES= cpe desktop-file-utils gettext gnome jpeg libarchive \ localbase:ldflags meson ninja perl5 pkgconfig python:3.7+ \ shebangfix tar:xz xorg USE_CXXSTD= gnu++14 USE_GNOME= gtk30 introspection cairo gdkpixbuf librsvg2 libxslt USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt USE_LDCONFIG= yes #LDFLAGS+= -L${LOCALBASE}/lib -Wl,--allow-shlib-undefined LDFLAGS+= -Wl,--allow-shlib-undefined CONFLICTS_INSTALL= gimp-app BINARY_ALIAS= python3=${PYTHON_CMD} INSTALL_TARGET= install-strip #MESON_ARGS= -Denable-console-bin=false \ # -Dwin32-debug-console=false \ MESON_ARGS= -Dappdata-test=disabled \ -Dheadless-tests=disabled \ -Dicc-directory=${LOCALBASE}/share/color/icc \ -Dilbm=disabled \ -Diff=disabled \ -Dfits=disabled OPTIONS_DEFINE?= AALIB GHOSTSCRIPT HEIF HELP OPENJPEG JS JXL LIBMNG WMF DOCS VALA CFITSIO BASH OPTIONS_DEFAULT?= AALIB GHOSTSCRIPT HEIF OPENJPEG JS JXL WMF DOCS VALA LUA CFITSIO BAS OPTIONS_SINGLE= SCRIPTS OPTIONS_SINGLE_SCRIPTS= LUA LUAJIT LUA_NONE OPTIONS_SUB= yes AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_MESON_ENABLED= aa BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion BASH_MESON_ENABLED= bash-completion CFITSIO_MESON_ENABLED= fits CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio GHOSTSCRIPT_USES= ghostscript GHOSTSCRIPT_MESON_ENABLED= ghostscript HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= heif HELP_DESC= GIMP User Manual HELP_RUN_DEPENDS= gimp-help-en>=0:misc/gimp-help-en LIBMNG_BROKEN= require rewrired mng port LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_MESON_ENABLED= mng OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_MESON_ENABLED= jpeg2000 JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_MESON_ENABLED= jpeg-xl WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libwmf.so:graphics/libwmf WMF_MESON_ENABLED= wmf JS_DESC= Install Javascript plug-ins JS_LIB_DEPENDS= libgjs.so:lang/gjs JS_RUN_DEPENDS= gjs-console:lang/gjs JS_MESON_ENABLED= javascript DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_MESON_ENABLED= gi-docgen VALA_DESC= Build VAPI and Vala plugins VALA_USES= vala:build VALA_MESON_ENABLED= vala LUA_USES= lua:51 LUA_BUILD_DEPENDS= ${LUA_REFMODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi@${LUA_FLAVOR} LUA_RUN_DEPENDS= ${LUA_REFMODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi@${LUA_FLAVOR} LUAJIT_DESC?= Lua scripting language support via Luajit LUAJIT_USES= luajit LUAJIT_BROKEN= LuaJIT cannot use devel/lua-lgi module yet LUA_NONE_DESC?= Disable Lua scripting language support LUA_NONE_MESON_FALSE= lua LIBS+= -lexecinfo -lm CPE_PRODUCT= gimp CPE_VENDOR= gnu SHEBANG_FILES= plug-ins/python/*.py \ plug-ins/python/python-console/*.py \ extensions/goat-exercises/*.py \ extensions/goat-exercises/*.js \ extensions/goat-exercises/*.lua SHEBANG_LANG+= gjs #PLIST_SUB+= BINVER=${PORTVERSION:R:R} ABIVER=${PORTVERSION:R} SHLIBVER=${PORTVERSION:R:E}.${PORTVERSION:E}.${PORTVERSION:R:E} PLIST_SUB+= BINVER=3 ABIVER=3.0 APIVER=3.0 SHLIBVER=0.8.0 .include .if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MLUAJIT} PLIST_SUB+= LUASCRIPTS="" .else PLIST_SUB+= LUASCRIPTS="@comment " .endif .if !exists(/usr/include/omp.h) MESON_ARGS+= -Dopenmp=disabled .endif #post-patch: #.for s in 16 22 24 32 48 64 256 # @${CP} ${WRKSRC}/desktop/${s}x${s}/gimp.png ${WRKSRC}/desktop/${s}x${s}/gimp3.png #.endfor # @${CP} ${WRKSRC}/desktop/scalable/gimp.svg ${WRKSRC}/desktop/scalable/gimp3.svg .include diff --git a/graphics/gnome-color-manager/Makefile b/graphics/gnome-color-manager/Makefile index 7f8074439eff..73cf387d09e3 100644 --- a/graphics/gnome-color-manager/Makefile +++ b/graphics/gnome-color-manager/Makefile @@ -1,28 +1,28 @@ PORTNAME= gnome-color-manager PORTVERSION= 3.36.2 -PORTREVISION= 1 +PORTREVISION= 2 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= docbook-sgml>0:textproc/docbook-sgml \ docbook2man:textproc/docbook-utils \ itstool:textproc/itstool LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libcolord.so:graphics/colord USES= compiler:c++11-lang desktop-file-utils gettext gnome meson \ pkgconfig tar:xz USE_GNOME= gtk30 MESON_ARGS= -Dtests=false PORTSCOUT= limitw:1,even .include diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile index 6089e5aab18c..a04fc99416be 100644 --- a/graphics/gthumb/Makefile +++ b/graphics/gthumb/Makefile @@ -1,82 +1,83 @@ PORTNAME= gthumb PORTVERSION= 3.12.8 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Image viewer and browser for the GNOME environment WWW= https://gitlab.gnome.org/GNOME/gthumb LICENSE= GPLv2+ BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool \ appstreamcli:devel/appstream LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libcolord.so:graphics/colord \ libexiv2.so:graphics/exiv2 RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= bison compiler:c++11-lib cpe desktop-file-utils gettext \ gnome jpeg localbase:ldflags meson pkgconfig \ python:build shebangfix tar:xz xorg USE_GNOME= cairo glib20 gtk30 librsvg2 USE_XORG= x11 CPE_VENDOR= gnome USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= *.py data/gschemas/*.py gthumb/*.py po/*.py 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.file-manager.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.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 GSTREAMER HEIF JXL RAW WEBP YELP OPTIONS_DEFAULT= CLUTTER GSTREAMER HEIF JXL RAW WEBP 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= libcogl.so:graphics/cogl \ libclutter-1.0.so:graphics/clutter \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 CLUTTER_MESON_TRUE= clutter GSTREAMER_USES= gstreamer GSTREAMER_MESON_TRUE= gstreamer HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_TRUE= libheif 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 WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_TRUE= libwebp YELP_DESC= Viewer for built-in help system YELP_RUN_DEPENDS= yelp:x11/yelp .include diff --git a/graphics/gwenview/Makefile b/graphics/gwenview/Makefile index 184b5a2107ee..e2a9dd30387b 100644 --- a/graphics/gwenview/Makefile +++ b/graphics/gwenview/Makefile @@ -1,33 +1,34 @@ PORTNAME= gwenview DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 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 \ libkImageAnnotator-Qt6.so:graphics/kimageannotator@qt6 \ libwayland-client.so:graphics/wayland USES= cmake compiler:c++11-lang desktop-file-utils gettext jpeg \ kde:6 pkgconfig qt:6 tar:xz xorg USE_KDE= activities auth baloo bookmarks codecs completion config \ configwidgets coreaddons filemetadata guiaddons i18n \ iconthemes itemmodels itemviews jobwidgets \ kimageformats kio libkdcraw notifications parts phonon \ purpose service solid sonnet textwidgets widgetsaddons \ windowsystem xmlgui \ ecm:build USE_QT= base imageformats:run USE_XORG= x11 OPTIONS_DEFINE= DOCS .include diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index a75fd6ca15a3..0a3a6d06f403 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -1,60 +1,61 @@ PORTNAME= hugin DISTVERSION= 2025.0.1 +PORTREVISION= 1 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 \ liblcms2.so:graphics/lcms2 \ libexiv2.so:graphics/exiv2 \ libfftw3.so:math/fftw3 \ libpano13.so:graphics/libpano13 \ libvigraimpex.so:graphics/vigra \ 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 # compiler:c++17-lang USES= cmake desktop-file-utils gettext gl gnome \ pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg USE_GL= gl glew glu glut USE_WX= 3.2+ USE_XORG= x11 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= AUTOPANOSIFTC LAPACK PANOMATIC PYTHON OPTIONS_DEFAULT= LAPACK PANOMATIC PYTHON OPTIONS_SUB= yes AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c AUTOPANOSIFTC_RUN_DEPENDS= autopano:graphics/autopano-sift-c LAPACK_DESC= Use LAPACK based solver in levmar LAPACK_CMAKE_BOOL= ENABLE_LAPACK LAPACK_USES= blaslapack PANOMATIC_DESC= Install graphics/panomatic PANOMATIC_RUN_DEPENDS= panomatic:graphics/panomatic PYTHON_DESC= Python Scripting Interface PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_HSI .include diff --git a/graphics/imlib2-jxl/Makefile b/graphics/imlib2-jxl/Makefile index 65acac5eceb1..4fc054f8ee01 100644 --- a/graphics/imlib2-jxl/Makefile +++ b/graphics/imlib2-jxl/Makefile @@ -1,46 +1,46 @@ PORTNAME= imlib2-jxl DISTVERSIONPREFIX= v DISTVERSION= 0.2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= de2b38f5f34f.patch:-p1 # libjxl 0.9 MAINTAINER= ports@FreeBSD.org COMMENT= JPEG XL loader for imlib2 WWW= https://github.com/alistair7/imlib2-jxl LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE-BSD-ab DEPRECATED= jxl support is handled by graphics/imlib2 and it is enabled by default. EXPIRATION_DATE= 2026-02-28 BROKEN= pkg-static: imlib2-jxl-0.2.0_4 conflicts with imlib2-1.12.6,2 (installs files into the same place). Problematic file: /usr/local/lib/imlib2/loaders/jxl.so LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ libjxl.so:graphics/libjxl USES= gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= alistair7 MAKE_ENV= RELEASE_CFLAGS="${CFLAGS}" ALL_TARGET= # empty PLIST_FILES= lib/imlib2/loaders/jxl.so OPTIONS_DEFINE= LCMS2 OPTIONS_DEFAULT=LCMS2 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 post-patch-LCMS2-off: @${REINPLACE_CMD} -e '/-DIMLIB2JXL_USE_LCMS/d' \ -e 's/`pkg-config[^`]*lcms[^`]*`//' \ ${WRKSRC}/Makefile do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.so:H} ${INSTALL_LIB} ${WRKSRC}/${PLIST_FILES:M*.so:T} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.so:H} .include diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index ad6f1bfdce19..1f6bb8c7a5a8 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,121 +1,121 @@ PORTNAME= inkscape DISTVERSION= 1.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics gnome MASTER_SITES= https://media.inkscape.org/dl/resources/file/ MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor WWW= https://inkscape.org LICENSE= GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL21 LGPL3 LGPL3+ MPL11 LICENSE_COMB= multi LICENSE_FILE_GPLv2 = ${WRKSRC}/LICENSES/GPL-2.0.txt LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LICENSE_FILE_GPLv3 = ${WRKSRC}/LICENSES/GPL-3.0.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt LICENSE_FILE_LGPL21 = ${WRKSRC}/LICENSES/LGPL-2.1.txt LICENSE_FILE_LGPL3 = ${WRKSRC}/LICENSES/LGPL-3.0.txt LICENSE_FILE_LGPL3+ = ${WRKSRC}/LICENSES/LGPL-3.0-or-later.txt LICENSE_FILE_MPL11 = ${WRKSRC}/LICENSES/MPL-1.1.txt BUILD_DEPENDS= ragel:devel/ragel LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libgc.so:devel/boehm-gc \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpotrace.so:graphics/libpotrace \ libpng.so:graphics/png \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ lib2geom.so:math/lib2geom RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachecontrol>0:www/py-cachecontrol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.7.1:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>0:textproc/py-tinycss2@${PY_FLAVOR} \ fig2dev:print/fig2dev TEST_DEPENDS= googletest>0:devel/googletest \ bash:shells/bash USES= compiler:c++20-lang cmake:testing cpe desktop-file-utils ghostscript:run \ gnome jpeg pathfix pkgconfig python \ readline shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf glibmm gtkmm30 gtksourceview4 libxml2 libxslt USE_PYTHON= cython USE_XORG= sm ice x11 xext USE_LDCONFIG= yes DATETAG= 2025-12-25_0d15f75042 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}_${DATETAG} BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= share/extensions/*.py share/extensions/genpofiles.sh \ share/templates/*.py man/fix-roff-punct OPTIONS_DEFINE= OPENMP POPPLER SCRIBUS VISIO CDR WPG GVFS NLS GSPELL OPTIONS_DEFAULT= POPPLER VISIO CDR WPG GM GSPELL OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP OPTIONS_RADIO= IMAGICK OPTIONS_RADIO_IMAGICK= IMAGICK6 GM OPTIONS_SUB= yes CDR_DESC= Support for CorelDRAW graphics CDR_CMAKE_BOOL= WITH_LIBCDR CDR_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libcdr-0.1.so:graphics/libcdr01 GVFS_USE= GNOME=gvfs OPENMP_CMAKE_BOOL= WITH_OPENMP POPPLER_DESC= PDF preview rendering POPPLER_CMAKE_BOOL= ENABLE_POPPLER ENABLE_POPPLER_CAIRO POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler \ libpoppler-glib.so:graphics/poppler-glib SCRIBUS_DESC= Support color-managed PDF export using Scribus (experimental) SCRIBUS_RUN_DEPENDS= scribus:print/scribus VISIO_DESC= Support for Microsoft Visio diagrams VISIO_CMAKE_BOOL= WITH_LIBVISIO VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libvisio-0.1.so:textproc/libvisio01 WPG_DESC= Support for WordPerfect graphics WPG_CMAKE_BOOL= WITH_LIBWPG WPG_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 IMAGICK_DESC= Raster image format library IMAGICK6_DESC= Use ImageMagick6 IMAGICK6_USES= magick:6 IMAGICK6_CMAKE_BOOL= WITH_IMAGE_MAGICK GM_DESC= Use GraphicsMagick GM_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GM_CMAKE_BOOL= WITH_GRAPHICS_MAGICK NLS_CMAKE_BOOL= WITH_NLS NLS_USES= gettext GSPELL_DESC= Support for spell checking through gspell GSPELL_CMAKE_BOOL= WITH_GSPELL GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell post-patch: @${REINPLACE_CMD} -e 's|COMMAND python3|COMMAND ${PYTHON_VERSION}|g' \ ${WRKSRC}/share/*/CMakeLists.txt # Third entry in the table of interpreters is basename of executable @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_VERSION}"|g' \ ${WRKSRC}/src/extension/implementation/script.cpp @${TOUCH} ${WRKSRC}/share/extensions/gcodetools_check_for_updates.inx.h .include diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile index 7a67e9c105bb..69243ae3e4dd 100644 --- a/graphics/krita/Makefile +++ b/graphics/krita/Makefile @@ -1,81 +1,81 @@ PORTNAME= krita DISTVERSION= 5.2.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Sketching and painting program WWW= https://krita.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>=1.65:devel/boost-libs \ immer>=0:devel/immer \ lager>=0:devel/lager \ zug>=0:devel/zug BUILD_DEPENDS+= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= xsimd>=8.1:devel/xsimd BUILD_DEPENDS_amd64= xsimd>=8.1:devel/xsimd LIB_DEPENDS= libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libX11.so:x11/libX11 \ libexiv2.so:graphics/exiv2 \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgif.so:graphics/giflib \ libgsl.so:math/gsl \ libharfbuzz.so:print/harfbuzz \ libheif.so:graphics/libheif \ libjson-c.so:devel/json-c \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip@qt5 \ libtiff.so:graphics/tiff \ libturbojpeg.so:graphics/libjpeg-turbo \ libunibreak.so:textproc/libunibreak \ libwebp.so:graphics/webp USES= cmake compiler:c++11-lib desktop-file-utils eigen:3 gettext \ gnome jpeg kde:5 localbase:ldflags mlt:7 pkgconfig python qt:5 \ sdl shared-mime-info tar:xz xorg USE_GNOME= glib20 USE_KDE= completion config coreaddons crash guiaddons i18n \ itemmodels itemviews libkdcraw service widgetsaddons \ windowsystem ecm:build USE_QT= concurrent core dbus gui network \ printsupport sql svg widgets x11extras xml \ buildtools:build qmake:build testlib:build \ sql-sqlite3:run USE_SDL= sdl2 USE_XORG= ice sm xcb xext xi # Make Cmake use the python we installed dependencies for. CMAKE_ARGS= -DPython_EXECUTABLE:STRING=${PYTHON_CMD} PLIST_SUB= SHLIB_VER=19.0.0 \ SHLIB_SHVER=19 OPTIONS_DEFINE= PYTHON OPENEXR OPTIONS_DEFAULT= PYTHON OPENEXR OPTIONS_SUB= yes OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libKSeExpr.so:graphics/kseexpr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS} PYTHON_USES= pyqt:5 PYTHON_USE= PYQT=pyqt5,pysip,sip:build PYTHON_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PyQt5 .include diff --git a/graphics/libcdr01/Makefile b/graphics/libcdr01/Makefile index 5f6b27d4da25..65478d3a320a 100644 --- a/graphics/libcdr01/Makefile +++ b/graphics/libcdr01/Makefile @@ -1,32 +1,32 @@ PORTNAME= libcdr DISTVERSION= 0.1.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics devel MASTER_SITES= LODEV PKGNAMESUFFIX= 01 MAINTAINER= office@FreeBSD.org COMMENT= Library and tools for parsing Corel Draw file format WWW= https://wiki.documentfoundation.org/DLP/Libraries/libcdr LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING.MPL BUILD_DEPENDS= ${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs LIB_DEPENDS= libicui18n.so:devel/icu \ librevenge-0.0.so:textproc/librevenge \ liblcms2.so:graphics/lcms2 USES= compiler:c++11-lib libtool localbase:ldflags pathfix pkgconfig \ tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PLIST_SUB= LIBVERSION=1.0.${PORTVERSION:E} CONFIGURE_ARGS= --disable-tests --disable-werror --without-docs .include diff --git a/graphics/libfreehand/Makefile b/graphics/libfreehand/Makefile index 3488d6cda7ba..6cf2afe220f3 100644 --- a/graphics/libfreehand/Makefile +++ b/graphics/libfreehand/Makefile @@ -1,29 +1,29 @@ PORTNAME= libfreehand PORTVERSION= 0.1.2 -PORTREVISION= 27 +PORTREVISION= 28 CATEGORIES= graphics MASTER_SITES= LODEV MAINTAINER= office@FreeBSD.org COMMENT= Library for interpreting and importing Adobe/Macromedia drawings WWW= https://wiki.documentfoundation.org/DLP/Libraries/libfreehand LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs \ cppunit-config:devel/cppunit \ icu-config:devel/icu LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ librevenge-0.0.so:textproc/librevenge GNU_CONFIGURE= yes USES= compiler:c++11-lang gperf perl5 libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes USE_PERL5= build CONFIGURE_ARGS= --disable-werror --without-docs CPPFLAGS+= -D CMS_NO_REGISTER_KEYWORD CPPFLAGS+= -I ${LOCALBASE}/include INSTALL_TARGET= install-strip .include diff --git a/graphics/libgxps/Makefile b/graphics/libgxps/Makefile index 97f78af73077..7bb0fd06f0e0 100644 --- a/graphics/libgxps/Makefile +++ b/graphics/libgxps/Makefile @@ -1,29 +1,29 @@ PORTNAME= libgxps PORTVERSION= 0.3.2 -PORTREVISION= 2 +PORTREVISION= 3 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/libjxl/Makefile b/graphics/libjxl/Makefile index 08d50a852845..0d830264d3b0 100644 --- a/graphics/libjxl/Makefile +++ b/graphics/libjxl/Makefile @@ -1,81 +1,81 @@ PORTNAME= libjxl DISTVERSIONPREFIX= v DISTVERSION= 0.11.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCH_SITES+= LOCAL/jbeich/${PORTNAME}_patches # backup PATCHFILES+= d2411cebb0c3.patch:-p1 # https://github.com/libjxl/libjxl/pull/4007 MAINTAINER= jbeich@FreeBSD.org COMMENT= JPEG XL reference encoder/decoder WWW= https://jpeg.org/jpegxl/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbrotlienc.so:archivers/brotli \ libhwy.so:devel/highway TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++11-lib cpe localbase:ldflags pkgconfig shared-mime-info CPE_VENDOR= ${PORTNAME}_project USE_GITHUB= yes USE_LDCONFIG= yes GH_TUPLE= libjxl:testdata:ff8d743:testdata/testdata \ webmproject:sjpeg:e5ab130:sjpeg/third_party/sjpeg \ ${NULL} CMAKE_ON= JPEGXL_ENABLE_PLUGINS CMAKE_ON+= ${AVX512 AVX512_SPR AVX512_ZEN4:L:S/^/JPEGXL_ENABLE_/} CMAKE_OFF= ${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/} CMAKE_OFF+= ${OpenGL GLUT:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} # sjpeg CMAKE_OFF+= ${CMAKE_TESTING_ON} LDFLAGS+= -Wl,--as-needed # brotlicommon, OPENEXR/PNG deps PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE= GIF JPEG LCMS2 LTO MANPAGES OPENEXR PIXBUF PNG OPTIONS_DEFAULT=GIF JPEG LTO MANPAGES OPENEXR PIXBUF PNG OPTIONS_DEFAULT_powerpc= LCMS2 OPTIONS_DEFAULT_powerpc64= LCMS2 OPTIONS_EXCLUDE_i386= LTO # ConvolutionWithTranspose(): JXL_CHECK: out->xsize() == in.ysize() OPTIONS_EXCLUDE_riscv64= LTO # bug 262871 OPTIONS_SUB= yes GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_GIF JPEG_USES= jpeg JPEG_CMAKE_BOOL= JPEGXL_ENABLE_JPEGLI JPEG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_JPEG JPEG_CMAKE_BOOL_OFF+= JPEGXL_ENABLE_JPEGLI_LIBJPEG # XXX WITH_JPEG8, libmap.conf(5) LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_GH_TUPLE_OFF= jbeich:skcms:42030a7:skcms/third_party/skcms LCMS2_CMAKE_BOOL_OFF= JPEGXL_ENABLE_SKCMS .if make(makesum) GH_TUPLE+= ${LCMS2_GH_TUPLE_OFF} .endif LTO_CMAKE_BOOL= CMAKE_INTERPROCEDURAL_OPTIMIZATION LTO_CMAKE_ON= -DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc MANPAGES_USES= python:build MANPAGES_CMAKE_BOOL= JPEGXL_ENABLE_MANPAGES OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL= JPEGXL_ENABLE_OPENEXR PIXBUF_USES= gnome PIXBUF_USE= GNOME=gdkpixbuf PIXBUF_CMAKE_BOOL= JPEGXL_ENABLE_PLUGIN_GDKPIXBUF PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PNG post-patch: @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' \ ${WRKSRC}/plugins/gdk-pixbuf/jxl.thumbnailer .include diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index 44c84c7dd8ab..ea90c8b29de7 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -1,25 +1,25 @@ PORTNAME= libmng PORTVERSION= 2.0.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} \ http://www.libmng.com/download/ MAINTAINER= ports@virtual-estates.net COMMENT= Multiple-image Network Graphics (MNG) reference library WWW= https://sourceforge.net/projects/libmng/ LIB_DEPENDS= liblcms2.so:graphics/lcms2 MAKEFILE= ${FILESDIR}/Makefile.bsd USES= jpeg uidfix tar:xz USE_LDCONFIG= yes MAKE_ARGS+= WITH_MNG_OPTIMIZE=true post-install: cd ${WRKSRC}/doc/man && ${INSTALL_MAN} libmng.3 ${STAGEDIR}${PREFIX}/share/man/man3 \ && ${INSTALL_MAN} mng.5 jng.5 ${STAGEDIR}${PREFIX}/share/man/man5 .include diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile index f185799d07b3..d45c6b20eb29 100644 --- a/graphics/libplacebo/Makefile +++ b/graphics/libplacebo/Makefile @@ -1,81 +1,81 @@ PORTNAME= libplacebo DISTVERSIONPREFIX= v DISTVERSION= 7.351.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 12509c0f1ee8.patch:-p1 # https://code.videolan.org/videolan/libplacebo/-/merge_requests/727 MAINTAINER= jbeich@FreeBSD.org COMMENT= Reusable library for GPU-accelerated video/image rendering WWW= https://code.videolan.org/videolan/libplacebo LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 localbase:ldflags meson pkgconfig python:build USE_GITHUB= nodefault USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://code.videolan.org GL_ACCOUNT= videolan GH_TUPLE= fastfloat:fast_float:v5.2.0:fast_float/3rdparty/fast_float MESON_DISABLED= d3d11 libdovi MESON_FALSE= demos OPTIONS_DEFINE= LCMS2 LIBUNWIND OPENGL TEST VULKAN XXHASH OPTIONS_DEFAULT=LCMS2 LIBUNWIND OPENGL SHADERC XXHASH OPTIONS_SINGLE= VULKAN OPTIONS_SINGLE_VULKAN= GLSLANG SHADERC OPTIONS_EXCLUDE+= ${ARCH:Naarch64:Namd64:Narmv[67]:Ni386:Npowerpc64:Npowerpc64le:Nx86_64:C/.+/LIBUNWIND/} OPTIONS_SUB= yes GLSLANG_DESC= glslang SPIR-V compiler GLSLANG_BUILD_DEPENDS= glslang>0:graphics/glslang GLSLANG_MESON_ENABLED= glslang GLSLANG_IMPLIES= VULKAN LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBUNWIND_DESC= Use libunwind for stacktraces LIBUNWIND_LIB_DEPENDS= libunwind.so:devel/libunwind LIBUNWIND_MESON_ENABLED= unwind OPENGL_USE= GITHUB=nodefault OPENGL_GH_TUPLE= Dav1dde:glad:v2.0.4:glad/3rdparty/glad OPENGL_MESON_ENABLED= opengl SHADERC_DESC= libshaderc SPIR-V compiler SHADERC_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc SHADERC_MESON_ENABLED= shaderc SHADERC_IMPLIES= VULKAN TEST_MESON_TRUE= tests VULKAN_DESC= Vulkan-based renderer VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_MESON_ENABLED= vulkan XXHASH_DESC= Faster replacement for internal siphash XXHASH_BUILD_DEPENDS= xxhash>0:devel/xxhash XXHASH_RUN_DEPENDS= xxhash>0:devel/xxhash # pkg-config XXHASH_MESON_ENABLED= xxhash post-patch: @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ ${WRKSRC}/src/vulkan/utils_gen.py # https://github.com/mesonbuild/meson/issues/7746 @${REINPLACE_CMD} "s,static:,dirs: '${LOCALBASE}/lib'\, &," \ ${WRKSRC}/src/glsl/meson.build # Extract (snapshot) version from port version instead of meson.build @${REINPLACE_CMD} -e "s/'git'/'${FALSE}'/" \ -e "s/version_pretty/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/src/meson.build pre-install-TEST-on: do-test .include diff --git a/graphics/libraw/Makefile b/graphics/libraw/Makefile index c34394c299f0..99acac2fcaf1 100644 --- a/graphics/libraw/Makefile +++ b/graphics/libraw/Makefile @@ -1,63 +1,64 @@ PORTNAME= libraw PORTVERSION= 0.21.5 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.libraw.org/data/ DISTNAME= LibRaw-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Library for manipulating raw images WWW= https://www.libraw.org/ LICENSE= LGPL21 CDDL LICENSE_COMB= dual USES= cpe libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-examples INSTALL_TARGET= install-strip PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES JASPER JPEG LCMS2 OPENMP OPTIMIZED_CFLAGS \ RPIRAW X3F OPTIONS_DEFAULT= JPEG LCMS2 JASPER_CONFIGURE_ENABLE= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JPEG_CONFIGURE_ENABLE= jpeg JPEG_USES= jpeg LCMS2_CONFIGURE_ENABLE= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 OPENMP_CONFIGURE_ENABLE= openmp OPENMP_LDFLAGS= -lomp RPIRAW_DESC= Raspberry Pi RAW+JPEG support RPIRAW_CPPFLAGS= -DUSE_6BY9RPI X3F_DESC= X3F (Foveon) support X3F_CPPFLAGS= -DUSE_X3FTOOLS OPTIMIZED_CFLAGS_CFLAGS= -O3 post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/*.pc.in # Use "\*" instead of "." in COPYTREE_SHARE commands as "." has # the undesired effect of copying ".deps" directory post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/samples && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/lightzone/Makefile b/graphics/lightzone/Makefile index 937ddd722244..6f9ed8e3a166 100644 --- a/graphics/lightzone/Makefile +++ b/graphics/lightzone/Makefile @@ -1,65 +1,65 @@ PORTNAME= lightzone DISTVERSION= 4.1.8-3 DISTVERSIONSUFFIX= -g36e87773 -PORTREVISION= 14 +PORTREVISION= 15 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 java:ant,run jpeg pkgconfig xorg USE_GCC= yes USE_LDCONFIG= yes USE_XORG= x11 JAVA_VERSION= 8 # because of Bug 292671 - graphics/lightzone: does not build with jdk11+ JAVA_VENDOR= openjdk 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/ # fix the GCC dependency problem (it uses gcc12 libs instead of default gcc13 libs when gcc12 is installed) ${REINPLACE_CMD} -e 's|LD_LIBRARY_PATH=|LD_LIBRARY_PATH=${LOCALBASE}/lib/gcc${GCC_DEFAULT}:|' ${STAGEDIR}${PREFIX}/bin/lightzone .include diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index d9bb035edd2a..79c17d9eabd1 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -1,72 +1,72 @@ PORTNAME= luminance-hdr DISTVERSION= 2.6.1.1 -PORTREVISION= 34 +PORTREVISION= 35 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 BROKEN= fails to build with Boost>=1.87 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 USE_CXXSTD= c++14 OPTIONS_DEFINE= CFITSIO DOCS HELPBROWSER OPTIONS_DEFAULT= CFITSIO OPTIONS_DEFAULT_aarch64= HELPBROWSER OPTIONS_DEFAULT_amd64= HELPBROWSER OPTIONS_DEFAULT_i386= HELPBROWSER CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio HELPBROWSER_DESC= Build help browser (requires QtWebEngine) HELPBROWSER_USE= QT=webchannel,webengine HELPBROWSER_CMAKE_BOOL= WITH_HELPBROWSER .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++14-lang .endif .include post-patch: # Do not install yet another copy of GPL (we use license framework instead) # and fix installation path for docs (but not for internal help files) @${REINPLACE_CMD} -e '/LICENSE/d ; \ /#info files/s,share/luminance-hdr/doc,${DOCSDIR_REL},' \ ${WRKSRC}/CMakeLists.txt # Point to the right location for program where to look for GPL text @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ s,share/luminance-hdr/doc,share/licenses/${PKGNAME},' \ ${WRKSRC}/src/UI/UMessageBox.cpp post-patch-HELPBROWSER-off: @${REINPLACE_CMD} -e 's,name="documentationAction">,& \ false,' \ ${WRKSRC}/src/MainWindow/MainWindow.ui .include diff --git a/graphics/mtpaint/Makefile b/graphics/mtpaint/Makefile index 00dc63451982..00f7d7a6a01a 100644 --- a/graphics/mtpaint/Makefile +++ b/graphics/mtpaint/Makefile @@ -1,71 +1,71 @@ PORTNAME= mtpaint DISTVERSION= 3.50.09 -PORTREVISION= 6 +PORTREVISION= 7 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 gdkpixbuf 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/mypaint/Makefile b/graphics/mypaint/Makefile index f84874da2fdf..4c049f5b6f62 100644 --- a/graphics/mypaint/Makefile +++ b/graphics/mypaint/Makefile @@ -1,52 +1,52 @@ PORTNAME= mypaint DISTVERSIONPREFIX=v DISTVERSION= 2.0.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics PATCH_SITES= https://github.com/garynthompson/${PORTNAME}/commit/ # GTK input grab fix PATCHFILES= 94c623b788462fadb3e292b918edc4e90adf4faa.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Fast painting/scribbling program WWW= http://mypaint.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= swig:devel/swig \ mypaint-brushes2>0:graphics/mypaint-brushes2 \ ${PYNUMPY} LIB_DEPENDS= libjson-c.so:devel/json-c \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libmypaint.so:graphics/libmypaint RUN_DEPENDS= mypaint-brushes2>0:graphics/mypaint-brushes2 \ ${PYNUMPY} USES= compiler:c++11-lib desktop-file-utils gettext gnome localbase \ pkgconfig python tar:xz USE_GITHUB= yes USE_GNOME= gtk30 pygobject3 cairo librsvg2:run USE_PYTHON= distutils py3kplist noflavors PYDISTUTILS_BUILD_TARGET= build build_ext CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -std=c99 USE_LDCONFIG= yes OPTIONS_DEFINE= OPENMP OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mypaint/lib/_mypaintlib*.so .include .if !${PORT_OPTIONS:MOPENMP} PYDISTUTILS_BUILDARGS+= --disable-openmp .endif .include diff --git a/graphics/nomacs/Makefile b/graphics/nomacs/Makefile index f3e79bd91a56..d0e797559ceb 100644 --- a/graphics/nomacs/Makefile +++ b/graphics/nomacs/Makefile @@ -1,48 +1,49 @@ PORTNAME= nomacs DISTVERSION= 3.22.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= vidar@karlsen.tech COMMENT= Small, fast, and free image viewer WWW= https://www.nomacs.org/ LICENSE= GPLv3 LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libopencv_core.so:graphics/opencv \ libopencv_imgproc.so:graphics/opencv \ libquazip1-qt6.so:archivers/quazip@qt6 USES= cmake compiler:c++17-lang cpe desktop-file-utils dos2unix gl \ kde:6 pkgconfig qt:6 DOS2UNIX_FILES= ImageLounge/plugins/PaintPlugin/src/DkPaintPlugin.cpp \ ImageLounge/src/DkGui/DkWidgets.cpp USE_GITHUB= yes USE_GL= opengl USE_KDE= kimageformats USE_LDCONFIG= yes USE_QT= 5compat base imageformats svg tools CMAKE_ARGS= -DENABLE_QUAZIP=ON \ -DUSE_SYSTEM_QUAZIP=ON CMAKE_SOURCE_PATH= ${WRKSRC}/ImageLounge PLIST_SUB= SOVER=${DISTVERSION:R:R} \ VERSION=${DISTVERSION} OPTIONS_DEFINE= NLS PLUGINS RAW TIFF OPTIONS_DEFAULT= PLUGINS RAW TIFF OPTIONS_SUB= yes NLS_CMAKE_BOOL= ENABLE_TRANSLATIONS PLUGINS_CMAKE_ON= ENABLE_PLUGINS RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_CMAKE_BOOL= ENABLE_RAW TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_BOOL= ENABLE_TIFF .include diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile index db0d2ee6ef70..2667747d76c7 100644 --- a/graphics/opencolorio/Makefile +++ b/graphics/opencolorio/Makefile @@ -1,127 +1,127 @@ PORTNAME= opencolorio DISTVERSIONPREFIX= v DISTVERSION= 2.5.0 # PORTREVISION must be set with ?= so as not to stomp over # py-opencolorio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= Complete color management solution WWW= https://www.opencolorio.org LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libImath.so:math/Imath \ libpystring.so:devel/pystring \ libyaml-cpp.so:devel/yaml-cpp USES= cmake compiler:c++14-lang localbase:ldflags minizip:ng \ pkgconfig USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenColorIO CMAKE_OFF= OCIO_BUILD_GPU_TESTS OCIO_BUILD_JAVA OCIO_BUILD_JNIGLUE \ OCIO_BUILD_NUKE OCIO_BUILD_TESTS PLIST_SUB= SHL2=${PORTVERSION:R} \ SHL3=${PORTVERSION} OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes # docs currently failing with Unhandled Doxygen XML element(s) found: 'zwj' # prevent pkg building from enabling docs graphics_opencolorio_UNSET_FORCE= DOCS DOCS_BUILD_DEPENDS= doxygen>0:devel/doxygen DOCS_CMAKE_BOOL= OCIO_BUILD_DOCS .include .if (defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}) CMAKE_ON+= OCIO_USE_SSE2 .else CMAKE_OFF+= OCIO_USE_SSE2 .endif .if ${PORT_OPTIONS:MDOCS} # master and pymodule use these # DOCS needs to be enabled for python docstrings to be generated # py module can still be used without BUILD_DEPENDS+= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}breathe>=0:devel/py-breathe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.18.1:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0:textproc/py-recommonmark@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-tabs>0:textproc/py-sphinx-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx_press_theme>=0:textproc/py-sphinx_press_theme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} .endif .if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools LIB_DEPENDS+= liblcms2.so:graphics/lcms2 \ libOpenEXR.so:graphics/openexr \ libOpenImageIO.so:graphics/openimageio USES+= gl xorg USE_GL= glew glu glut opengl USE_XORG= xi xmu CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=14 CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS CMAKE_OFF+= BUILD_SHARED_LIBS OCIO_BUILD_DOCS \ OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON LDFLAGS+= -lOpenImageIO_Util PLIST= ${PKGDIR}/pkg-plist-tools .elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule BUILD_DEPENDS+= pybind11>0:devel/pybind11 LIB_DEPENDS+= libOpenColorIO.so:graphics/opencolorio USES+= python USE_PYTHON= concurrent flavors CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} CMAKE_ON+= OCIO_BUILD_PYTHON CMAKE_OFF+= BUILD_SHARED_LIBS OCIO_BUILD_APPS OCIO_BUILD_DOCS \ OCIO_BUILD_GPU_TESTS OCIO_BUILD_TESTS LDFLAGS+= -lOpenColorIO PLIST= ${PKGDIR}/pkg-plist-pyglue # concurrent allows docs to not collide with master port .else # master port # we enable pyglue in master port. This makes the python module # available when generating docs, we leave the python header in place # but only install the python module with the py-opencolorio port # this makes it easier to allow multiple python versions installed BUILD_DEPENDS+= pybind11>0:devel/pybind11 USES+= python:build xorg USE_LDCONFIG= yes USE_XORG= xi xmu CMAKE_ARGS+= -DOCIO_PYTHON_VERSION=${PYTHON_VER} CMAKE_ON+= BUILD_SHARED_LIBS OCIO_BUILD_PYGLUE OCIO_BUILD_PYTHON CMAKE_OFF+= OCIO_BUILD_APPS PLIST= ${PKGDIR}/pkg-plist ${PKGDIR}/pkg-plist-docs .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/ocio .if defined(OCIO_SLAVE) cd ${STAGEDIR}${PREFIX} && \ ${RM} -r include lib/cmake lib/libOpenColorIO*.a libdata \ share/OpenColorIO .else ${RM} -r ${STAGEDIR}${PREFIX}/lib/python* .endif post-install-DOCS-on: @cd ${STAGEDIR}${PREFIX}/share/doc && \ ${MV} OpenColorIO ${PKGNAMEPREFIX}${PORTNAME} ${RM} -r ${STAGEDIR}${DOCSDIR}/html/_sources .include diff --git a/graphics/openfx-arena/Makefile b/graphics/openfx-arena/Makefile index 8160daaf7a83..a378308f2900 100644 --- a/graphics/openfx-arena/Makefile +++ b/graphics/openfx-arena/Makefile @@ -1,70 +1,70 @@ PORTNAME= openfx-arena PORTVERSION= 2.4.3 DISTVERSIONPREFIX= Natron- -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= graphics MAINTAINER= olivier@FreeBSD.org COMMENT= Extra OpenFX plugins for Natron WWW= https://github.com/NatronGitHub/openfx-arena LICENSE= GPLv2 BROKEN= Fails to build, ld: error: unable to find library -l-lpthread ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le BUILD_DEPENDS= opencl>=0:devel/opencl LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libcdr-0.1.so:graphics/libcdr01 \ librevenge-0.0.so:textproc/librevenge \ libpoppler-glib.so:graphics/poppler-glib \ liblcms2.so:graphics/lcms2 \ libzip.so:archivers/libzip \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libpcre.so:devel/pcre \ libffi.so:devel/libffi \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libharfbuzz.so:print/harfbuzz \ libgraphite2.so:graphics/graphite2 \ libicui18n.so:devel/icu \ liblqr-1.so:graphics/liblqr-1 \ libfftw3.so:math/fftw3 \ libltdl.so:devel/libltdl \ libpoppler.so:graphics/poppler \ libraqm.so:print/libraqm USES= compiler:c++20-lang gl gmake gnome iconv magick:6 ssl xorg USE_GITHUB= yes GH_ACCOUNT= NatronGitHub GH_TUPLE= NatronGitHub:openfx-supportext:79d8c22:openfx_supportext/SupportExt \ NatronGitHub:openfx:d5db5d0:openfx/OpenFX \ NatronGitHub:openfx-io:c6ad47b:OpenFX_IO/OpenFX-IO \ lvandeve:lodepng:5601b82:dummy/lodepng \ NatronGitHub:SequenceParsing:3c93fcc:SequenceParsing/OpenFX-IO/IOSupport/SequenceParsing \ NatronGitHub:tinydir:64fb1d4:tinydir/OpenFX-IO/IOSupport/SequenceParsing/tinydir MAKE_ENV+= CONFIG=release USE_GL= gl USE_GNOME= libxml2 pango cairo librsvg2 USE_XORG+= x11 xcb xau xdamage xfixes xft xxf86vm xrender xext xdmcp pixman sm ice xt MAKE_ENV+= CONFIG=release post-extract: @${RMDIR} ${WRKSRC}/OpenFX-IO/openfx ${LN} -s ../OpenFX ${WRKSRC}/OpenFX-IO/openfx post-patch: @${REINPLACE_CMD} -e 's|/usr/OFX/Plugins|${PREFIX}/OFX/Plugins|g' \ ${WRKSRC}/OpenFX/Examples/Makefile.master \ ${WRKSRC}/OpenFX/Support/Plugins/Makefile.master \ ${WRKSRC}/OpenFX/HostSupport/src/ofxhPluginCache.cpp @${REINPLACE_CMD} -e 's|/Contents/$$(ARCH)|/Contents/FreeBSD-x86-64/|g' \ ${WRKSRC}/OpenFX/Support/Plugins/Makefile.master post-install: ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/Arena.ofx.bundle/Contents/FreeBSD-x86-64/Arena.ofx .include diff --git a/graphics/openjpeg/Makefile b/graphics/openjpeg/Makefile index 601d6d3b09ed..fafefe058445 100644 --- a/graphics/openjpeg/Makefile +++ b/graphics/openjpeg/Makefile @@ -1,66 +1,66 @@ PORTNAME= openjpeg PORTVERSION= 2.5.4 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics PATCH_SITES= https://github.com/uclouvain/openjpeg/commit/ PATCHFILES= 5e258319332800f7a9937dc0b8b16b19a07dea8f.patch:-p1 \ 7b508bb00f7fc5e7b61a6035fc4e2622d4ddff0d.patch:-p1 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 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 # Clean up bundled libraries .if !defined(MAINTAINER_MODE) EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/astyle \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/include \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/liblcms2 \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libpng \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libtiff \ --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/thirdparty/libz \ --no-same-owner --no-same-permissions .else post-patch: @${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/ .endif .include diff --git a/graphics/openjpeg15/Makefile b/graphics/openjpeg15/Makefile index f5518b32eb78..1124dde5699a 100644 --- a/graphics/openjpeg15/Makefile +++ b/graphics/openjpeg15/Makefile @@ -1,34 +1,34 @@ PORTNAME= openjpeg PORTVERSION= 1.5.2 DISTVERSIONPREFIX= version. -PORTREVISION= 4 +PORTREVISION= 5 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/oyranos/Makefile b/graphics/oyranos/Makefile index 1af03557c38f..246952d0d8a8 100644 --- a/graphics/oyranos/Makefile +++ b/graphics/oyranos/Makefile @@ -1,66 +1,66 @@ PORTNAME= oyranos PORTVERSION= 0.9.6 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Colour Management System (CMS) WWW= http://www.oyranos.org/ LICENSE= BSD3CLAUSE RUN_DEPENDS= ${LOCALBASE}/share/color/icc/OpenICC/sRGB.icc:graphics/icc-profiles-openicc \ ${LOCALBASE}/share/color/icc/basICColor/ISOcoated_v2_300_bas.ICC:graphics/icc-profiles-basiccolor \ xcalib:x11/xcalib LIB_DEPENDS= libraw.so:graphics/libraw \ libexiv2.so:graphics/exiv2 \ libpng.so:graphics/png \ libcairo.so:graphics/cairo \ libyajl.so:devel/yajl \ libcups.so:print/cups \ libxdot.so:graphics/graphviz \ liblcms.so:graphics/lcms \ liblcms2.so:graphics/lcms2 \ libXcm.so:x11/libXcm \ libltdl.so:devel/libltdl \ libfontconfig.so:x11-fonts/fontconfig \ libOpenICC.so:graphics/openicc-config USE_GITHUB= yes GH_ACCOUNT= oyranos-cms USES= cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \ iconv jpeg pkgconfig qt:5 xorg USE_GL= gl USE_LDCONFIG= yes USE_GNOME= libxml2 USE_QT= core gui widgets x11extras \ buildtools:build qmake:build USE_XORG= ice sm x11 xcursor xext xfixes xinerama xrandr xrender xft xxf86vm CMAKE_ARGS+= -DXDG_CONFIG_DIR=${PREFIX}/etc/xdg LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS DOXYGEN FLTK OPTIONS_SUB= yes FLTK_DESC= Build FLTK-based auxiliary programs FLTK_BROKEN= fails to build, see https://github.com/oyranos-cms/oyranos/issues/62 DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PLIST_SUB+= VER=${PORTVERSION} .if !exists(/usr/bin/clang) USE_GCC= yes .endif post-patch: @${REINPLACE_CMD} -e 's|lib|libdata|' \ ${WRKSRC}/extras/CMakeLists.txt .include diff --git a/graphics/photivo/Makefile b/graphics/photivo/Makefile index 760d17127570..d86bfae6c51a 100644 --- a/graphics/photivo/Makefile +++ b/graphics/photivo/Makefile @@ -1,47 +1,47 @@ PORTNAME= photivo PORTVERSION= 0.0.2015.03.21 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= graphics MASTER_SITES= https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/${PORTNAME}/ DISTNAME= source-archive DIST_SUBDIR= ${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= Free and open source photo processor WWW= https://photivo.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libexiv2.so:graphics/exiv2 \ liblqr-1.so:graphics/liblqr-1 \ liblensfun.so:graphics/lensfun \ libGraphicsMagick.so:graphics/GraphicsMagick \ libfftw3.so:math/fftw3 USES= cmake compiler:c++11-lib desktop-file-utils dos2unix \ gettext-runtime gnome jpeg pkgconfig qt:5 zip USE_GNOME= glib20 USE_QT= qmake:build buildtools:build core gui network widgets DOS2UNIX_FILES= Sources/ptImage.cpp Sources/ptCheck.cpp Sources/filemgmt/ptFileMgrWindow.h \ Sources/ptImageHelper.h Sources/ptMainWindow.h Sources/ptImageHelper.cpp WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's,#define cimg_use_openmp 1,//&,' \ ${WRKSRC}/Sources/ptCimg.cpp \ ${WRKSRC}/Sources/ptImage_Pyramid.cpp @${REINPLACE_CMD} -e '/#include "\.\.\/ptImage\.h"/ \ { x ; s/.*/#include / ; H ; x ; }' \ ${WRKSRC}/Sources/filters/ptFilter_EAWavelets.cpp \ ${WRKSRC}/Sources/filters/ptFilter_FilmGrain.cpp \ ${WRKSRC}/Sources/filters/ptFilter_HighpassSharpen.cpp \ ${WRKSRC}/Sources/filters/ptFilter_PyramidDenoise.cpp \ ${WRKSRC}/Sources/filters/ptFilter_StdCurve.cpp \ ${WRKSRC}/Sources/filters/ptFilter_WaveletDenoise.cpp @${REINPLACE_CMD} -e '/static const char src/s,char,int8_t,' \ ${WRKSRC}/Sources/ptDcRaw.cpp .include diff --git a/graphics/pngquant/Makefile b/graphics/pngquant/Makefile index d9bce6475ff0..febac72c4078 100644 --- a/graphics/pngquant/Makefile +++ b/graphics/pngquant/Makefile @@ -1,61 +1,61 @@ PORTNAME= pngquant PORTVERSION= 2.18.0 DISTVERSIONSUFFIX= -src -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= https://pngquant.org/ MAINTAINER= ak@FreeBSD.org COMMENT= Converts 32-bit RGBA PNGs into 8-bit RGBA-palette PNGs WWW= https://pngquant.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libimagequant.so:graphics/libimagequant \ libpng.so:graphics/png WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= cpe gmake pkgconfig HAS_CONFIGURE= yes CONFIGURE_ARGS= --with-libimagequant PORTDOCS= CHANGELOG README.md PLIST_FILES= bin/pngquant \ share/man/man1/pngquant.1.gz OPTIONS_DEFINE= OPTIMIZED_FLAGS OPENMP LCMS2 DEBUG DOCS OPTIONS_DEFINE_i386= SSE OPTIONS_DEFINE_amd64= SSE LCMS2_DESC= Support for ICC profiles via LCMS library OPTIMIZED_FLAGS_DESC= ${OPTIMIZED_CFLAGS_DESC} OPTIONS_DEFAULT= OPENMP OPTIONS_DEFAULT_amd64= SSE DEBUG_CONFIGURE_ON= --enable-debug LCMS2_CONFIGURE_WITH= lcms2 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 OPENMP_CONFIGURE_WITH= openmp .if !exists(/usr/include/omp.h) OPENMP_USES= compiler:gcc-c++11-lib .endif OPTIMIZED_FLAGS_CFLAGS= -O3 -fstrict-aliasing \ -ffast-math -funroll-loops -fomit-frame-pointer \ -fexpensive-optimizations -ffinite-math-only \ -funsafe-loop-optimizations -ftree-vectorize SSE_CONFIGURE_ENABLE=sse do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pngquant ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pngquant.1 ${STAGEDIR}${PREFIX}/share/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index add7e0b93f64..53b5d6b8aa0a 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -1,119 +1,120 @@ PORTNAME= poppler DISTVERSION= 25.10.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 \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libfontconfig.so:x11-fonts/fontconfig \ libassuan.so:security/libassuan 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++20-lang cpe gperf jpeg \ localbase pathfix pkgconfig tar:xz CPE_VENDOR= freedesktop USE_LDCONFIG= yes CMAKE_ON= ENABLE_BOOST \ ENABLE_LCMS \ ENABLE_LIBTIFF \ ENABLE_NSS3 \ ENABLE_UNSTABLE_API_ABI_HEADERS \ ENABLE_ZLIB_UNCOMPRESS \ RUN_GPERF_IF_PRESENT 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 \ -DENABLE_DCTDECODER:STRING="libjpeg" # 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=154 OPTIONS_DEFINE= CURL OPENJPEG GNUPG OPTIONS_DEFAULT= OPENJPEG GNUPG 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 \ -DENABLE_GPGME:BOOL=FALSE . if ${_SLAVE_PORT} == glib USES+= gnome python:build USE_GNOME+= cairo glib20 introspection:build libxml2 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" GNUPG_CMAKE_BOOL= ENABLE_GPGME GNUPG_LIB_DEPENDS= libgpgme.so:security/gpgme \ libgpgmepp.so:security/gpgmepp 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/py-imagecodecs/Makefile b/graphics/py-imagecodecs/Makefile index c72c96ffc856..1c87ac966c7b 100644 --- a/graphics/py-imagecodecs/Makefile +++ b/graphics/py-imagecodecs/Makefile @@ -1,66 +1,66 @@ PORTNAME= imagecodecs PORTVERSION= 2025.11.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Image transformation, compression, and decompression codecs WWW= https://github.com/cgohlke/imagecodecs LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libaec.so:science/libaec \ libavif.so:graphics/libavif \ libblosc.so:archivers/c-blosc \ libblosc2.so:archivers/c-blosc2 \ libbrotlicommon.so:archivers/brotli \ libbrunslidec-c.so:graphics/brunsli \ libcharls.so:graphics/charls \ libdeflate.so:archivers/libdeflate \ libgif.so:graphics/giflib \ libheif.so:graphics/libheif \ libjbig.so:graphics/jbigkit\ libjpegxr.so:graphics/libjxr \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libLerc.so:graphics/lerc \ liblz4.so:archivers/liblz4 \ liblzfse.so:archivers/lzfse \ libopenjp2.so:graphics/openjpeg \ libpng16.so:graphics/png \ libsnappy.so:archivers/snappy \ libSZ3c.so:science/sz3 \ libtiff.so:graphics/tiff \ libuhdr.so:graphics/libultrahdr \ libwebp.so:graphics/webp \ libz-ng.so:archivers/zlib-ng \ libzfp.so:devel/zfp \ libzopfli.so:archivers/zopfli \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} USES= jpeg localbase python:3.11+ USE_PYTHON= autoplist concurrent cython pep517 CPPFLAGS+= -I${LOCALBASE}/include/jxrlib \ -I${LOCALBASE}/include/openjpeg-2.5 MAKE_ENV= CG_LIMITED_API=0 OPTIONS_DEFINE= ALL ALL_DESC= All optional dependencies # Remove graphics/py-tifffile from RUN_DEPENDS to avoid cyclic dependency ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numcodecs>=0:misc/py-numcodecs@${PY_FLAVOR} # ${PYTHON_PKGNAMEPREFIX}tifffile>=0:graphics/py-tifffile@${PY_FLAVOR} post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile index 05078af782ac..bdcff341147e 100644 --- a/graphics/py-pillow/Makefile +++ b/graphics/py-pillow/Makefile @@ -1,77 +1,77 @@ PORTNAME= pillow PORTVERSION= 11.3.0 -PORTREVISION= 1 +PORTREVISION= 2 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.github.io/ \ https://pillow.readthedocs.io/en/stable/ \ https://github.com/python-pillow/Pillow LICENSE= MIT-CMU LICENSE_NAME= CMU License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell 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 pytest PEP517_BUILD_CONFIG_SETTING= \ --config-setting jpeg=enable \ --config-setting zlib=enable TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} CPE_VENDOR= python OPTIONS_DEFINE= AVIF FREETYPE IMAGEQUANT JPEG2000 LCMS OLE RAQM TIFF TKINTER WEBP XCB OPTIONS_DEFAULT=AVIF FREETYPE IMAGEQUANT JPEG2000 LCMS OLE 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 AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting avif=enable" AVIF_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting avif=disable" FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting freetype=enable" FREETYPE_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting freetype=disable" IMAGEQUANT_LIB_DEPENDS= libimagequant.so:graphics/libimagequant IMAGEQUANT_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting imagequant=enable" IMAGEQUANT_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting imagequant=disable" JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG2000_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting jpeg2000=enable" JPEG2000_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting jpeg2000=disable" LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting lcms=enable" LCMS_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting lcms=disable" OLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}olefile>=0:devel/py-olefile@${PY_FLAVOR} RAQM_LIB_DEPENDS= libraqm.so:print/libraqm RAQM_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting raqm=enable" RAQM_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting raqm=disable" TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting tiff=enable" TIFF_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting tiff=disable" 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} WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting webp=enable" WEBP_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting webp=disable" XCB_USE= XORG=xcb XCB_USES= xorg XCB_VARS= PEP517_BUILD_CONFIG_SETTING+="--config-setting xcb=enable" XCB_VARS_OFF= PEP517_BUILD_CONFIG_SETTING+="--config-setting xcb=disable" post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile index 51dccf81099b..28a2c9679999 100644 --- a/graphics/qiv/Makefile +++ b/graphics/qiv/Makefile @@ -1,27 +1,28 @@ PORTNAME= qiv PORTVERSION= 3.0.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://spiegl.de/qiv/download/ 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 gdkpixbuf gtk30 PLIST_FILES= bin/qiv share/man/man1/qiv.1.gz USE_XORG+= x11 xext do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qiv ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile index 98a3feb6893f..dc1c1467e4f0 100644 --- a/graphics/rawtherapee/Makefile +++ b/graphics/rawtherapee/Makefile @@ -1,200 +1,200 @@ PORTNAME= rawtherapee PORTVERSION= 5.12 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/RawTherapee/RawTherapee/releases/download/${PORTVERSION}/ \ 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 \ libjxl_threads.so:graphics/libjxl \ 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= autoreconf:build cmake desktop-file-utils compiler:c++11-lib gnome \ jpeg libtool:build localbase:ldflags pkgconfig tar:xz 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 CONFIGURE_ENV+= AR=${_AR} RANLIB=${_RANLIB} # for embedded RawTherapee # 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} PIE_UNSAFE= yes .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 # ------------------------------------------------------------------- # 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. # USE_GCC= yes # default .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 '/COMMAND.*SHELL/s/-l -c/-c/' ${WRKSRC}/rtengine/LibRaw.cmake ${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/simpleviewer/Makefile b/graphics/simpleviewer/Makefile index b5fd1cdc6c81..72f8b1dd0e9f 100644 --- a/graphics/simpleviewer/Makefile +++ b/graphics/simpleviewer/Makefile @@ -1,88 +1,88 @@ PORTNAME= simpleviewer PORTVERSION= 3.1.9 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/andreyu/simple-viewer-gl/get/${BB_COMMIT}.tar.bz2?dummy=/ MAINTAINER= danfe@FreeBSD.org COMMENT= Small and simple image viewer based on OpenGL WWW= https://bitbucket.org/andreyu/simple-viewer-gl LICENSE= GPLv2 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libglfw.so:graphics/glfw \ liblz4.so:archivers/liblz4 \ libpng.so:graphics/png USES= cmake:insource compiler:c++11-lang gl jpeg pkgconfig \ tar:bzip2 xorg USE_GL= gl glu USE_XORG= ice sm x11 xcursor xext xinerama xrandr xxf86vm CMAKE_ARGS= -DAPP_VERSION_MAJOR:STRING=${PORTVERSION:S/./ /g:[1]} \ -DAPP_VERSION_MINOR:STRING=${PORTVERSION:S/./ /g:[2]} \ -DAPP_VERSION_RELEASE:STRING=${PORTVERSION:S/./ /g:[3]} BB_COMMIT= cded7dfe23c4 WRKSRC= ${WRKDIR}/andreyu-simple-viewer-gl-${BB_COMMIT} PLIST_FILES= bin/sviewgl ${DATADIR_REL}/Icon-1024.png \ ${DATADIR_REL}/Icon-16.png ${DATADIR_REL}/Icon-32.png PORTDOCS= README.md PORTEXAMPLES= config.example SUB_FILES= pkg-message EXTRA_FEATURES= CURL GIF IMLIB2 JPEG2000 LCMS2 LIBEXIF OPENEXR TIFF WEBP OPTIONS_DEFINE= DOCS EXAMPLES ${EXTRA_FEATURES} OPTIONS_DEFAULT= ${EXTRA_FEATURES} CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_OFF= -DDISABLE_CURL_SUPPORT:STRING=1 GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_OFF= -DDISABLE_GIF_SUPPORT:STRING=1 IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_CMAKE_OFF= -DDISABLE_IMLIB2_SUPPORT:STRING=1 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG2000_CMAKE_OFF= -DDISABLE_JPEG2000_SUPPORT:STRING=1 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CMAKE_OFF= -DDISABLE_LCMS2_SUPPORT:STRING=1 LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_CMAKE_OFF= -DDISABLE_EXIF_SUPPORT:STRING=1 OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_CMAKE_OFF= -DDISABLE_OPENEXR_SUPPORT:STRING=1 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DDISABLE_TIFF_SUPPORT:STRING=1 WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_OFF= -DDISABLE_WEBP_SUPPORT:STRING=1 post-patch: @${REINPLACE_CMD} -e '/#include/s,lz4/,,' \ ${WRKSRC}/src/formats/formatage.cpp @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/src/main.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sviewgl ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/res/Icon-*.png ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/config.example ${STAGEDIR}${EXAMPLESDIR} .include JPEG2000_DESC+= via OpenJPEG diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile index 5fc59b0c7e6f..71a8b1394381 100644 --- a/graphics/ufraw/Makefile +++ b/graphics/ufraw/Makefile @@ -1,80 +1,80 @@ PORTNAME= ufraw PORTVERSION= 0.22.20210424 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MAINTAINER= danfe@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 gdkpixbuf 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/vips/Makefile b/graphics/vips/Makefile index dcb972f2c480..f2b9932d16f4 100644 --- a/graphics/vips/Makefile +++ b/graphics/vips/Makefile @@ -1,136 +1,136 @@ PORTNAME= vips PORTVERSION= 8.18.0 -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++14-lang cpe gettext-tools gnome localbase meson pkgconfig python tar:xz USE_GNOME= glib20 BINARY_ALIAS= python3=${PYTHON_CMD} MESON_ARGS= --default-library=both \ -Danalyze=true \ -Dcplusplus=true \ -Dcpp-docs=false \ -Ddeprecated=true \ -Dexamples=true \ -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} OPTIONS_DEFINE= CFITSIO DOCS FFTW FONTCONFIG GIF HEIF IMAGEQUANT JPEG JXL LCMS2 LIBARCHIVE LIBEXIF LIBRSVG2 MATIO OPENEXR PANGO PNG POPPLER RAW SPNG TIFF UHDR WEBP OPTIONS_RADIO= MAGICK SIMD OPTIONS_RADIO_MAGICK= IMAGEMAGICK GRAPHICSMAGICK OPTIONS_RADIO_SIMD= HIGHWAY ORC OPTIONS_DEFAULT=CFITSIO FFTW FONTCONFIG GIF HEIF HIGHWAY IMAGEMAGICK JPEG JXL LCMS2 LIBARCHIVE LIBEXIF LIBRSVG2 MATIO OPENEXR PANGO PNG POPPLER RAW SPNG TIFF UHDR WEBP FONTCONFIG_IMPLIES= PANGO LIBARCHIVE_DESC=Save image pyramid via libarchive HIGHWAY_DESC= SIMD support via Highway (preferred) IMAGEQUANT_DESC=Image Quantization support GRAPHICSMAGICK_DESC= Image processing via GraphicsMagick MATIO_DESC= Matlab MAT format support ORC_DESC= Accelerate loops with ORC SPNG_DESC= Simple PNG support UHDR_DESC= Ultra HDR support CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CFITSIO_MESON_ENABLED= cfitsio DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>=0:textproc/py-gi-docgen@${PY_FLAVOR} DOCS_MESON_ENABLED= introspection DOCS_MESON_TRUE= docs DOCS_USE= GNOME=introspection:build FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_MESON_ENABLED= fftw FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_MESON_ENABLED= fontconfig GIF_BUILD_DEPENDS= cgif>=0.2.0:graphics/cgif GIF_LIB_DEPENDS= libcgif.so:graphics/cgif GIF_MESON_ENABLED= cgif GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GRAPHICSMAGICK_MESON_ON=-Dmagick=enabled -Dmagick-package=GraphicsMagick HEIF_BUILD_DEPENDS= libheif>=1.4.0:graphics/libheif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_MESON_ENABLED= heif HIGHWAY_BUILD_DEPENDS= highway>=1.0.5:devel/highway HIGHWAY_LIB_DEPENDS= libhwy.so:devel/highway HIGHWAY_MESON_ENABLED= highway IMAGEMAGICK_MESON_ON= -Dmagick=enabled -Dmagick-package=MagickCore IMAGEMAGICK_USES= magick 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 RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= raw 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 UHDR_LIB_DEPENDS= libuhdr.so:graphics/libultrahdr UHDR_MESON_ENABLED= uhdr WEBP_BUILD_DEPENDS= webp>=0.6:graphics/webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_MESON_ENABLED= webp .include .if !${PORT_OPTIONS:MGRAPHICSMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK} MESON_ARGS+= -Dmagick=disabled .endif .include diff --git a/graphics/xviewer/Makefile b/graphics/xviewer/Makefile index 785de1f518df..0044d25d617a 100644 --- a/graphics/xviewer/Makefile +++ b/graphics/xviewer/Makefile @@ -1,54 +1,54 @@ PORTNAME= xviewer PORTVERSION= 3.4.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Fast and functional image viewer WWW= https://github.com/linuxmint/xviewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^[0-9.]+$$ # ignore non-numeric tags BUILD_DEPENDS= itstool:textproc/itstool \ ${LOCALBASE}/share/aclocal/yelp.m4:textproc/yelp-tools LIB_DEPENDS= libcinnamon-desktop.so:x11/cinnamon-desktop \ libxapp.so:x11/xapp \ libpeas-1.0.so:devel/libpeas1 RUN_DEPENDS= yelp:x11/yelp USES= meson compiler:c++11-lang desktop-file-utils gettext-tools \ gnome localbase pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_GNOME= atk cairo gdkpixbuf gtk30 introspection pango USE_XORG= x11 GLIB_SCHEMAS= org.x.viewer.enums.xml org.x.viewer.gschema.xml OPTIONS_DEFINE= DOCS JPEG LCMS2 LIBEXIF LIBRSVG2 XMP OPTIONS_DEFAULT= JPEG LCMS2 LIBEXIF LIBRSVG2 XMP XMP_DESC= Adobe Extensible Metadata Platform support OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc DOCS_MESON_TRUE= docs JPEG_USES= jpeg JPEG_MESON_ENABLED= jpeg LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_MESON_ENABLED= exif LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_MESON_ENABLED= rsvg XMP_LIB_DEPENDS= libexempi.so:textproc/exempi XMP_MESON_ENABLED= exempi .include diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 1f4f63df0df6..6990863aa78b 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -1,220 +1,220 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MASTER_SITES= LOCAL/openjdk/:boot DISTFILES= ${BOOTSTRAPJDKFILE}:boot PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ MAINTAINER= java@FreeBSD.org COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/ LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst USE_LDCONFIG= ${INSTALLDIR}/lib/server CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= battleblow GH_PROJECT= jdk11u NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= LANG="C" \ LC_ALL="C" \ CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ LOG=cmdlines \ MAKEFLAGS="" JDK_ARCH= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/i386/x86/:S/powerpc/ppc/} BOOTSTRAPJDKFILE= openjdk11-11.0.29+7.1.${JDK_ARCH}.tar.xz JDK_OSARCH= bsd-${JDK_ARCH} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-normal-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} BOOTSTRAPJDKDIR= ${WRKDIR}/boot-jdk NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 11 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 29 JDK_BUILD_NUMBER= 7 BSD_JDK_VERSION= 1 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 OPTIONS_DEFINE= CUPS OPTIONS_DEFAULT= CUPS CUPS_CONFIGURE_ON= --with-cups=${LOCALBASE} CUPS_CONFIGURE_OFF= --with-cups-include=${WRKDIR}/cups-${CUPS_INC_VER} CUPS_BUILD_DEPENDS= ${LOCALBASE}/include/cups/cups.h:print/cups CUPS_INC_VER= 2.4.2 CUPS_DISTFILES_OFF= OpenPrinting-cups-v${CUPS_INC_VER}_GH0.tar.gz:cups GNU_CONFIGURE= yes CONFIGURE_ENV= CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --disable-hotspot-gtest \ --with-jvm-features=shenandoahgc \ --with-alsa=${LOCALBASE} \ --with-extra-cflags="${CFLAGS}" \ --with-extra-cxxflags="${CXXFLAGS}" \ --with-extra-ldflags="${LDFLAGS}" \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-freetype-include=${LOCALBASE}/include/freetype2 \ --with-freetype-lib=${LOCALBASE}/lib \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include # portsfallout.com shows flapping builds on 13.5 and 14.2 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1403000 MAKE_JOBS_UNSAFE= yes .endif .if !${PORT_OPTIONS:MCUPS} MASTER_SITES+= https://codeload.github.com/OpenPrinting/cups/tar.gz/v${CUPS_INC_VER}?dummy=/:cups .endif .if ${ARCH} == powerpc CONFIGURE_ARGS+= --with-jvm-variants=zero JDK_BUILD_JVM= zero .else JDK_BUILD_JVM= server .endif MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT} CFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CXXFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CONFIGURE_ARGS+=--disable-precompiled-headers .else # it is up to upstream project to fix these or not CFLAGS+= -Wno-deprecated-builtins -Wno-inline-asm -Wno-unknown-attributes MAKE_ENV+= USE_CLANG=true .if ${ARCH:Mpowerpc64*} LLVM_VER= 12 BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} CC= ${LOCALBASE}/bin/clang${LLVM_VER} CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} .endif .endif .if ${ARCH} == aarch64 || ${ARCH:Marmv*} CONFIGURE_ARGS+= --disable-dtrace .endif .if ${ARCH:Mpowerpc64*} CONFIGURE_ARGS+= --disable-precompiled-headers .endif .if ${ARCH} != amd64 CONFIGURE_ARGS+= --enable-aot=no .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 post-build: .if defined(OPENJDK_SYMLINK_CACERTS) @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile index 68fb4cbf62c5..fb75f9f9c454 100644 --- a/java/openjdk17/Makefile +++ b/java/openjdk17/Makefile @@ -1,185 +1,185 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MASTER_SITES= LOCAL/openjdk/:boot DISTFILES= ${BOOTSTRAPJDKFILE}:boot MAINTAINER= java@FreeBSD.org COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/projects/jdk/17/ LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= battleblow GH_PROJECT= jdk17u NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= MAKE_ENV= LANG="C" \ LC_ALL="C" \ CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ LOG=cmdlines \ MAKEFLAGS="" JDK_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} BOOTSTRAPJDKFILE= openjdk17-17.0.17+10.1.${JDK_ARCH}.tar.xz JDK_OSARCH= bsd-${JDK_ARCH} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} BOOTSTRAPJDKDIR= ${WRKDIR}/boot-jdk NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 17 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 17 JDK_BUILD_NUMBER= 10 BSD_JDK_VERSION= 1 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 GNU_CONFIGURE= yes CONFIGURE_ENV= CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --disable-hotspot-gtest \ --with-alsa=${LOCALBASE} \ --with-cups=${LOCALBASE} \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-freetype-include=${LOCALBASE}/include/freetype2 \ --with-freetype-lib=${LOCALBASE}/lib \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include # portsfallout.com shows flapping builds on 13.5 and 14.2 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000 MAKE_JOBS_NUMBER_LIMIT= 3 .endif JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace MAKE_ENV+= JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers" .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 post-build: .if defined(OPENJDK_SYMLINK_CACERTS) @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk19/Makefile b/java/openjdk19/Makefile index 59f7c62487cd..1c1ca5ef2143 100644 --- a/java/openjdk19/Makefile +++ b/java/openjdk19/Makefile @@ -1,184 +1,184 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MASTER_SITES= LOCAL/openjdk/:boot MAINTAINER= java@FreeBSD.org COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/projects/jdk/19/ LICENSE= GPLv2 DEPRECATED= No longer supported by upstream EXPIRATION_DATE= 2026-02-12 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= battleblow GH_PROJECT= jdk19u NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= LANG="C" \ LC_ALL="C" \ CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ LOG=cmdlines \ MAKEFLAGS="" JDK_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_OSARCH= bsd-${JDK_ARCH} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 19 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 2 JDK_BUILD_NUMBER= 7 BSD_JDK_VERSION= 1 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 GNU_CONFIGURE= yes CONFIGURE_ENV= CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --with-alsa=${LOCALBASE} \ --with-cups=${LOCALBASE} \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-freetype-include=${LOCALBASE}/include/freetype2 \ --with-freetype-lib=${LOCALBASE}/lib \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include # Set up bootstrap JDK BOOTSTRAPJDKDIR= ${WRKDIR}/boot-jdk BOOTSTRAPJDKFILE= openjdk19-19.0.2+7.1_4.${JDK_ARCH}.tar.xz DISTFILES+= ${BOOTSTRAPJDKFILE}:boot JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true EXTRA_CFLAGS+= -Wno-unused-but-set-parameter EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace MAKE_ENV+= JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers" EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_hotspot_share_runtime_arguments.cpp .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk20/Makefile b/java/openjdk20/Makefile index 814a220c3af1..5303be58d478 100644 --- a/java/openjdk20/Makefile +++ b/java/openjdk20/Makefile @@ -1,182 +1,182 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MASTER_SITES= LOCAL/openjdk/:boot DISTFILES= ${BOOTSTRAPJDKFILE}:boot MAINTAINER= java@FreeBSD.org COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/projects/jdk/20/ LICENSE= GPLv2 DEPRECATED= No longer supported by upstream EXPIRATION_DATE= 2026-03-12 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= battleblow GH_PROJECT= jdk20u NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= LANG="C" \ LC_ALL="C" \ CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ LOG=cmdlines \ MAKEFLAGS="" JDK_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} BOOTSTRAPJDKFILE= openjdk20-20.0.2+9.1_3.${JDK_ARCH}.tar.xz JDK_OSARCH= bsd-${JDK_ARCH} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} BOOTSTRAPJDKDIR= ${WRKDIR}/boot-jdk NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 20 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 2 JDK_BUILD_NUMBER= 9 BSD_JDK_VERSION= 1 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 GNU_CONFIGURE= yes CONFIGURE_ENV= CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --with-alsa=${LOCALBASE} \ --with-cups=${LOCALBASE} \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-freetype-include=${LOCALBASE}/include/freetype2 \ --with-freetype-lib=${LOCALBASE}/lib \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true EXTRA_CFLAGS+= -Wno-unused-but-set-parameter EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace MAKE_ENV+= JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers" .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk21/Makefile b/java/openjdk21/Makefile index e0105a14bfb3..1b5ba42898cf 100644 --- a/java/openjdk21/Makefile +++ b/java/openjdk21/Makefile @@ -1,197 +1,198 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} +PORTREVISION= 1 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MAINTAINER= java@FreeBSD.org COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/projects/jdk/21/ LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= battleblow GH_PROJECT= jdk21u NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= LANG="C" \ LC_ALL="C" \ CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ LOG=cmdlines \ MAKEFLAGS="" JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 21 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 9 JDK_BUILD_NUMBER= 10 BSD_JDK_VERSION= 1 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 GNU_CONFIGURE= yes CONFIGURE_ENV= CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --with-alsa=${LOCALBASE} \ --with-cups=${LOCALBASE} \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-freetype-include=${LOCALBASE}/include/freetype2 \ --with-freetype-lib=${LOCALBASE}/lib \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk21 ${LOCALBASE}/openjdk20 # do we have valid native jdk installed? .for BJDK in ${BOOTSTRAP_JDKS} . if !defined(BOOTSTRAPJDKDIR) && exists(${BJDK}/bin/javac) BOOTSTRAPJDKDIR= ${BJDK} . endif .endfor # if no valid jdk found, set dependency .if !defined(BOOTSTRAPJDKDIR) BOOTSTRAPJDKDIR?= ${LOCALBASE}/openjdk20 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk20 .endif JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true EXTRA_CFLAGS+= -Wno-unused-but-set-parameter EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace MAKE_ENV+= JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers" .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp @${MV} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.hpp \ ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/javaThread_bsd_ppc.hpp @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 post-build: .if defined(OPENJDK_SYMLINK_CACERTS) @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk22/Makefile b/java/openjdk22/Makefile index e17d17e6c17d..1af77945ce98 100644 --- a/java/openjdk22/Makefile +++ b/java/openjdk22/Makefile @@ -1,201 +1,201 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MAINTAINER= java@FreeBSD.org COMMENT?= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/projects/jdk/22/ LICENSE= GPLv2 DEPRECATED= No longer supported by upstream EXPIRATION_DATE= 2026-04-12 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ autoconf>0:devel/autoconf \ ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= battleblow GH_PROJECT= jdk22u NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= LANG="C" \ LC_ALL="C" \ CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ LOG=cmdlines \ MAKEFLAGS="" JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 22 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 2 JDK_BUILD_NUMBER= 9 BSD_JDK_VERSION= 1 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 GNU_CONFIGURE= yes CONFIGURE_ENV= CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --with-alsa=${LOCALBASE} \ --with-cups=${LOCALBASE} \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-freetype-include=${LOCALBASE}/include/freetype2 \ --with-freetype-lib=${LOCALBASE}/lib \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk22 ${LOCALBASE}/openjdk21 # do we have valid native jdk installed? .for BJDK in ${BOOTSTRAP_JDKS} . if !defined(BOOTSTRAPJDKDIR) && exists(${BJDK}/bin/javac) BOOTSTRAPJDKDIR= ${BJDK} . endif .endfor # if no valid jdk found, set dependency .if !defined(BOOTSTRAPJDKDIR) BOOTSTRAPJDKDIR?= ${LOCALBASE}/openjdk21 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk21 .endif JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true EXTRA_CFLAGS+= -Wno-unused-but-set-parameter EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace MAKE_ENV+= JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers" .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp @${MV} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.hpp \ ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/javaThread_bsd_ppc.hpp @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 post-build: .if defined(OPENJDK_SYMLINK_CACERTS) @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk23/Makefile b/java/openjdk23/Makefile index 84ae99fa5f33..92fb04eb3fd4 100644 --- a/java/openjdk23/Makefile +++ b/java/openjdk23/Makefile @@ -1,198 +1,198 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MAINTAINER= java@FreeBSD.org COMMENT= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/projects/jdk/23/ LICENSE= GPLv2 DEPRECATED= No longer supported by upstream EXPIRATION_DATE= 2026-05-12 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le # On FreeBSD 14 and 15 the i386 build fails with a segfault in java during the # buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch build step. # BROKEN_FreeBSD_13_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release' BROKEN_FreeBSD_14_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release' BROKEN_FreeBSD_15_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release' BUILD_DEPENDS= zip:archivers/zip \ ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= freebsd GH_PROJECT= openjdk GH_TAGNAME= jdk-23.0.2+7-freebsd-2 NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ LOG=cmdlines \ MAKEFLAGS="" JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 23 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 2 JDK_BUILD_NUMBER= 7 BSD_JDK_VERSION= 2 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --with-alsa=${LOCALBASE} \ --with-cups=${LOCALBASE} \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk23 ${LOCALBASE}/openjdk22 # do we have valid native jdk installed? .for BJDK in ${BOOTSTRAP_JDKS} . if !defined(BOOTSTRAPJDKDIR) && exists(${BJDK}/bin/javac) BOOTSTRAPJDKDIR= ${BJDK} . endif .endfor # if no valid jdk found, set dependency .if !defined(BOOTSTRAPJDKDIR) BOOTSTRAPJDKDIR?= ${LOCALBASE}/openjdk22 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk22 .endif JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true EXTRA_CFLAGS+= -Wno-unused-but-set-parameter EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace MAKE_ENV+= JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers" .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp @${MV} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.hpp \ ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/javaThread_bsd_ppc.hpp @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 post-build: .if defined(OPENJDK_SYMLINK_CACERTS) @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk24/Makefile b/java/openjdk24/Makefile index d17abdcaba19..30abd5d54968 100644 --- a/java/openjdk24/Makefile +++ b/java/openjdk24/Makefile @@ -1,193 +1,193 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MAINTAINER= java@FreeBSD.org COMMENT= Java Development Kit ${JDK_MAJOR_VERSION} WWW= https://openjdk.java.net/projects/jdk/24/ LICENSE= GPLv2 DEPRECATED= No longer supported by upstream EXPIRATION_DATE= 2026-06-12 # i386 is deprecated, and will be removed in the next JDK ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper \ xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg USE_XORG= x11 xext xi xrandr xrender xt xtst CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= freebsd GH_PROJECT= openjdk GH_TAGNAME= jdk-24.0.2-ga-freebsd-2 NO_CCACHE= yes # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ LOG=cmdlines \ MAKEFLAGS="" JDK_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_OSARCH= bsd-${JDK_ARCH} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if defined(BUILD_JRE) JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 24 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 2 JDK_BUILD_NUMBER= 12 BSD_JDK_VERSION= 2 JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 GNU_CONFIGURE= yes CONFIGURE_TARGET=${JDK_ARCH}-portbld-${OPSYS:tl}${OSREL} CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --disable-ccache \ --disable-javac-server \ --with-alsa=${LOCALBASE} \ --with-cups=${LOCALBASE} \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-libjpeg=system \ --with-giflib=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-harfbuzz=system \ --with-libpng=system \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-zlib=system \ --with-lcms=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-native-debug-symbols=none \ --with-debug-level=release \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .if defined(BUILD_JRE) ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release .include BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk24 ${LOCALBASE}/openjdk23 # do we have valid native jdk installed? .for BJDK in ${BOOTSTRAP_JDKS} . if !defined(BOOTSTRAPJDKDIR) && exists(${BJDK}/bin/javac) BOOTSTRAPJDKDIR= ${BJDK} . endif .endfor # if no valid jdk found, set dependency .if !defined(BOOTSTRAPJDKDIR) BOOTSTRAPJDKDIR?= ${LOCALBASE}/openjdk23 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk23 .endif JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true EXTRA_CFLAGS+= -Wno-unused-but-set-parameter EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --disable-dtrace .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp @${MV} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.hpp \ ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/javaThread_bsd_ppc.hpp @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 post-build: .if defined(OPENJDK_SYMLINK_CACERTS) @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/java/openjdk25/Makefile b/java/openjdk25/Makefile index f4c12b9f24f4..3a41724a1131 100644 --- a/java/openjdk25/Makefile +++ b/java/openjdk25/Makefile @@ -1,222 +1,223 @@ PORTNAME= openjdk DISTVERSIONPREFIX= jdk- DISTVERSION= ${JDK_FULL_VERSION:S/.0.0//} +PORTREVISION= 1 CATEGORIES= java devel PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION} MAINTAINER= java@FreeBSD.org COMMENT= ${COMMENT_${FLAVOR}} ${JDK_MAJOR_VERSION} COMMENT_jdk= Java Development Kit COMMENT_headless= Java Development Kit (headless version) COMMENT_jre= Java Runtime Environment COMMENT_jre_headless= Java Runtime Environment (headless version) WWW= https://openjdk.java.net/projects/jdk/25/ LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le # This port supports the following flavors: # # - jdk (default) Full OpenJDK including dev tools and x11 support # - headless Full OpenJDK including dev tools, but without x11 support # - jre Java Runtime Environment including x11 support # - jre_headless Jave Runtime Environment without x11 support FLAVORS= jdk jre headless jre_headless headless_PKGNAMESUFFIX= ${JDK_MAJOR_VERSION}-headless jre_PKGNAMESUFFIX= -jre jre_headless_PKGNAMESUFFIX= ${JDK_MAJOR_VERSION}-jre-headless FLAVOR?= ${BUILD_JRE:?jre:${FLAVORS:[1]}} BUILD_DEPENDS= ${LOCALBASE}/include/cups/cups.h:print/cups \ bash:shells/bash \ gsed:textproc/gsed \ zip:archivers/zip LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png RUN_DEPENDS= javavm:java/javavmwrapper .if ${FLAVOR:M*headless} == "" RUN_DEPENDS+= xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype .endif USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig .if ${FLAVOR:M*headless} == "" USES+= xorg .endif CPE_VENDOR= oracle USE_GITHUB= yes GH_ACCOUNT= freebsd .if ${FLAVOR:M*headless} == "" USE_XORG= x11 xext xi xrandr xrender xt xtst .endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-ccache \ --disable-javac-server \ --with-alsa=${LOCALBASE} \ --with-boot-jdk=${BOOTSTRAPJDKDIR} \ --with-cups=${LOCALBASE} \ --with-debug-level=release \ --with-fontconfig=${LOCALBASE} \ --with-freetype=system \ --with-giflib-include=${LOCALBASE}/include \ --with-giflib-lib=${LOCALBASE}/lib \ --with-giflib=system \ --with-harfbuzz=system \ --with-lcms=system \ --with-libjpeg=system \ --with-libpng=system \ --with-native-debug-symbols=none \ --with-num-cores=${MAKE_JOBS_NUMBER} \ --with-vendor-bug-url="${JDK_BUG_URL}" \ --with-vendor-name="OpenJDK BSD Porting Team" \ --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \ --with-vendor-vm-bug-url="${JDK_BUG_URL}" \ --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \ --with-zlib=system \ --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib .if ${FLAVOR:M*headless} CONFIGURE_ARGS+= --enable-headless-only .endif CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_TARGET= ${JDK_ARCH}-portbld-${OPSYS:tl}${OSREL} # Suppress passing -j to do-build target via Mk/bsd.port.mk # In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N _MAKE_JOBS= # MAKE_ENV= CLASSPATH="" \ JAVA_HOME="" \ LD_LIBRARY_PATH="" \ LOG=cmdlines \ MAKEFLAGS="" .if ${FLAVOR:Mjre*} ALL_TARGET= legacy-images .else ALL_TARGET= images .endif JDK_BUILD_TYPE= release JDK_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_OSARCH= bsd-${JDK_ARCH} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} .if ${FLAVOR:Mjre*} BUILD_JRE= true JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre .else JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk .endif INSTALLDIR= ${PREFIX}/${PKGBASE} NO_CCACHE= yes NOPRECIOUSMAKEVARS= yes JDK_MAJOR_VERSION= 25 JDK_MINOR_VERSION= 0 JDK_PATCH_VERSION= 1 JDK_BUILD_NUMBER= 8 BSD_JDK_VERSION= freebsd-1 JDK_FULL_VERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20 .ifnmake portclippy JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION} .endif .include BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk25 ${LOCALBASE}/openjdk24 # do we have valid native jdk installed? .for BJDK in ${BOOTSTRAP_JDKS} . if !defined(BOOTSTRAPJDKDIR) && exists(${BJDK}/bin/javac) BOOTSTRAPJDKDIR= ${BJDK} . endif .endfor # if no valid jdk found, set dependency .if !defined(BOOTSTRAPJDKDIR) BOOTSTRAPJDKDIR?= ${LOCALBASE}/openjdk24 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/openjdk24 .endif JDK_BUILD_JVM= server MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE} CONFIGURE_ARGS+= --disable-warnings-as-errors .if ${COMPILER_TYPE} == gcc USE_GCC= yes CONFIGURE_ARGS+= --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \ --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true EXTRA_CFLAGS+= -Wno-unused-but-set-parameter EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical \ -Wno-error=deprecated-non-prototype CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}" CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}" .endif .if ${ARCH} == aarch64 CONFIGURE_ARGS+= --disable-dtrace .endif .if empty(ICONV_LIB) ICONV_CFLAGS= -DLIBICONV_PLUG .else ICONV_CFLAGS= -I${LOCALBASE}/include ICONV_LDFLAGS= -L${LOCALBASE}/lib ICONV_LIBS= ${ICONV_LIB} .endif post-patch: @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp @${MV} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.hpp \ ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/javaThread_bsd_ppc.hpp @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/configure \ ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \ -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \ -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \ ${WRKSRC}/make/autoconf/libraries.m4 post-build: .if defined(OPENJDK_SYMLINK_CACERTS) @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts .endif do-install: @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR} @cd ${STAGEDIR}${INSTALLDIR} && \ ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \; @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST} @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \ ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST} .include diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index e56f3519b626..71a4e232d9c6 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -1,672 +1,672 @@ PORTNAME= ffmpeg DISTVERSION= 8.0.1 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= multimedia audio net MASTER_SITES= https://ffmpeg.org/releases/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Realtime audio/video encoder/converter and streaming server WWW= https://ffmpeg.org/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi EXTRA_PATCHES= ${FILESDIR}/0001-Add-av_stream_get_first_dts-for-Chromium.patch:-p1 FLAVORS= default nox11 FLAVOR?= ${FLAVORS:[1]} nox11_PKGNAMESUFFIX= -nox11 BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= as:devel/binutils BUILD_DEPENDS_amd64= nasm:devel/nasm BUILD_DEPENDS_armv6= as:devel/binutils BUILD_DEPENDS_armv7= as:devel/binutils BUILD_DEPENDS_i386= nasm:devel/nasm USES= compiler:c17 cpe gmake localbase:ldflags perl5 \ pkgconfig shebangfix tar:xz USE_PERL5= build SHEBANG_FILES= doc/texi2pod.pl USE_LDCONFIG= yes HAS_CONFIGURE= yes CONFIGURE_LOG= ffbuild/config.log NOPRECIOUSMAKEVARS= yes CFLAGS_armv6= -Wno-error=int-conversion CFLAGS_armv7= -Wno-error=int-conversion CFLAGS_i386= -Wno-error=int-conversion CFLAGS_powerpc= -Wno-error=int-conversion LDFLAGS_aarch64=-Wl,-z,notext LDFLAGS_armv6= -Wl,-z,notext LDFLAGS_armv7= -Wl,-z,notext LDFLAGS_i386= -Wl,-z,notext DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} MAKE_ENV+= V=1 HAS_SYMBOL_VERSION= ${PREFIX}/lib/libavcodec.so \ ${PREFIX}/lib/libavdevice.so \ ${PREFIX}/lib/libavfilter.so \ ${PREFIX}/lib/libavformat.so \ ${PREFIX}/lib/libavutil.so \ ${PREFIX}/lib/libswresample.so \ ${PREFIX}/lib/libswscale.so INSTALL_TARGET= install-progs install-doc install-data \ install-libs install-headers install-examples CONFIGURE_ARGS= --prefix="${PREFIX}" \ --mandir="${PREFIX}/share/man" \ --datadir="${DATADIR}" \ --docdir="${DOCSDIR}" \ --pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --disable-static \ --disable-libcelt \ --disable-mbedtls \ --enable-shared \ --enable-pic \ --enable-gpl \ --cc="${CC}" \ --cxx="${CXX}" OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ASM ASS BS2B CACA CDIO CODEC2 \ DAV1D DC1394 DEBUG DOCS DRM DVD FDK_AAC FLITE FONTCONFIG \ FREETYPE FREI0R FRIBIDI GLSLANG GME GSM HARFBUZZ ICONV ILBC \ JACK JXL KVAZAAR LADSPA LAME LCMS2 LENSFUN LIBBLURAY \ LIBPLACEBO LIBRSVG2 LIBXML2 LTO LV2 MODPLUG MYSOFA NETWORK \ NVENC OPENAL OPENCL OPENGL OPENH264 OPENJPEG OPENMPT \ OPTIMIZED_CFLAGS OPUS POCKETSPHINX PULSEAUDIO RAV1E RABBITMQ \ RIST RTCPU RUBBERBAND SDL SHADERC SMB SNAPPY SNDIO SOXR SPEEX \ SRT SSH SVTAV1 TENSORFLOW TESSERACT THEORA \ TWOLAME V4L VAAPI VAPOURSYNTH VDPAU VIDSTAB VMAF VO_AMRWBENC \ VORBIS VPX VULKAN VVENC WEBP X264 X265 XCB XVID XVIDEO ZIMG \ ZMQ ZVBI .if ${FLAVOR} == nox11 COMMENT+= (without x11) OPTIONS_EXCLUDE= CACA DRM JACK JXL LADSPA LENSFUN LIBPLACEBO LIBRSVG2 \ LV2 MFX NVENC OPENAL OPENGL PULSEAUDIO SDL TESSERACT \ V4L VAAPI VAPOURSYNTH VDPAU VIDSTAB VPL XCB XVIDEO \ ZMQ ZVBI .endif # intel-media-sdk only for i386/amd64 OPTIONS_DEFINE_amd64= MFX VPL OPTIONS_DEFINE_i386= MFX OPTIONS_RADIO= RTMP SSL OPTIONS_RADIO_RTMP= GCRYPT GMP OPTIONS_RADIO_SSL= GNUTLS OPENSSL OPTIONS_GROUP= LICENSE OPTIONS_GROUP_LICENSE= GPL3 NONFREE OPTIONS_DEFAULT= AOM ASM ASS DAV1D DVD GMP GNUTLS HARFBUZZ ICONV LAME \ LCMS2 LIBBLURAY LIBXML2 NETWORK OPTIMIZED_CFLAGS \ OPUS RTCPU SRT SVTAV1 VORBIS VPX WEBP X264 X265 OPTIONS_DEFAULT_aarch64=LTO OPTIONS_DEFAULT_amd64= LTO .if ${FLAVOR} == default OPTIONS_DEFAULT+= DRM FONTCONFIG FREETYPE FREI0R JXL LIBPLACEBO \ LIBRSVG2 SHADERC V4L VAAPI VDPAU VMAF VULKAN XCB OPTIONS_DEFAULT_amd64+= NVENC OPTIONS_DEFAULT_i386+= NVENC .endif OPTIONS_SUB= yes ASS_DESC= Subtitles rendering via libass AOM_DESC= AV1 video encoding/decoding via libaom ARIBB24_DESC= ARIB text and caption decoding via libaribb24 BS2B_DESC= Bauer Stereophonic-to-Binaural filter CHROMAPRINT_DESC= Audio fingerprinting with chromaprint CODEC2_DESC= Codec 2 audio encoding/decoding via libcodec2 DAV1D_DESC= AV1 video decoding via libdav1d DC1394_DESC= IIDC-1394 grabbing using libdc1394 DRM_DESC= KMS grabbing using libdrm DVD_DESC= Support for DVD FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK FLITE_DESC= Voice synthesis support via libflite GLSLANG_DESC= GLSL->SPIRV compilation via libglslang GME_DESC= Game Music Emu demuxer GPL3_DESC= Allow (L)GPL version 3 code(cs) HARFBUZZ_DESC= Text shaping via HarfBuzz ILBC_DESC= Internet Low Bit Rate codec KVAZAAR_DESC= H.265 video codec support via Kvazaar LICENSE_DESC= Licensing options LV2_DESC= LV2 audio filtering MFX_DESC= Intel MediaSDK (aka Quick Sync Video) MYSOFA_DESC= SOFAlizer binaural filter NETWORK_DESC= Networking support NONFREE_DESC= Allow use of nonfree code NVENC_DESC= NVIDIA decoder/encoder with CUDA support OPENMPT_DESC= Decoding tracked files via libopenmpt OPENH264_DESC= H.264 video codec support via OpenH264 POCKETSPHINX_DESC= Automatic Speech Recognition via PocketSphinx RAV1E_DESC= AV1 encoding via librav1e RABBITMQ_DESC= AMQP 0-9-1 protocol via RabbitMQ RIST_DESC= Reliable Internet Stream Transport protocol via librist RUBBERBAND_DESC=Time-stretching and pitch-shifting with librubberband RTCPU_DESC= Detect CPU capabilities at runtime RTMP_DESC= RTMP(T)E protocol support SHADERC_DESC= GLSL->SPIRV compilation via libshaderc SRT_DESC= Haivision SRT protocol via libsrt SVTAV1_DESC= AV1 encoding via SVT-AV1 #SVTVP9_DESC= VP9 encoding via SVT-VP9 LIBPLACEBO_DESC=GPU filters from libplacebo TENSORFLOW_DESC=TensorFlow as a DNN module backend TESSERACT_DESC= Optical Character Recognition via Tesseract THEORA_DESC= Encoding support for theora via libtheora VAPOURSYNTH_DESC= VapourSynth demuxer VIDSTAB_DESC= Video stabilization filter VMAF_DESC= VMAF filter via libvmaf VPL_DESC= Intel oneVPL (aka Quick Sync Video) VULKAN_DESC= Vulkan filters VVENC_DESC= H.266/VVC encoding support via VVenC XCB_DESC= X11 grabbing using XCB XVID_DESC= Encoding support for MPEG-4 ASP via libxvid ZIMG_DESC= "z" library video scaling filter ZMQ_DESC= Message passing via libzmq${ZMQ_VERSION} ZVBI_DESC= Teletext support via libzvbi ### ### Not ported libraries / options ### ### --enable-libiec61883 enable iec61883 via libiec61883 ### --enable-liblc3 enable LC3 de/encoding via liblc3 ### --enable-liblcevc-dec enable LCEVC decoding via liblcevc-dec ### --enable-liboapv enable APV encoding via liboapv ### --enable-libopencv enable video filtering via libopencv ### --enable-libqrencode enable QR encode generation via libqrencode ### --enable-libquirc enable QR decoding via libquirc ### --enable-libtls enable LibreSSL (via libtls), needed for https support ### if openssl, gnutls or mbedtls are not used ### --enable-libtorch enable Torch as one DNN backend ### --enable-libxeve enable EVC encoding via libxeve ### --enable-libxevd enable EVC decoding via libxevd ### --enable-libxavs enable AVS encoding via xavs ### --enable-whisper enable whisper filter ### --enable-libaribcaption ARIB STD-B24 Caption Decoder/Renderer ### --enable-libdavs2 AVS2 decoding ### --enable-libuavs3d AVS3 decoding via libuavs3d ### --enable-libxavs2 AVS2 encoding via libxavs2 ### --enable-libklvanc Kernel Labs VANC processing ### --enable-libopenvino OpenVINO as a DNN module backend # ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa # Opencore AMR NB AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb AMR_NB_IMPLIES= GPL3 # Opencore AMR WB AMR_WB_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb AMR_WB_IMPLIES= GPL3 # AOM AV1 codec AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= libaom # ARIB STD-B24, decoding JIS 8 bit characters and parsing MPEG-TS stream ARIBB24_LIB_DEPENDS= libaribb24.so:multimedia/aribb24 ARIBB24_CONFIGURE_ENABLE= libaribb24 # Assembly support ASM_CONFIGURE_ENABLE= asm # ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle renderer ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass # Bauer Stereophonic-to-Binaural filter via libbs2b BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_ENABLE= libbs2b # Convert video into colour ASCII art via (lib)caca CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= libcaca # CD Audio support via (lib)cdio CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= libcdio # chromaprint #CHROMAPRINT_BROKEN= Dependency loop #CHROMAPRINT_LIB_DEPENDS= libchromaprint.so:audio/chromaprint #CHROMAPRINT_CONFIGURE_ENABLE= chromaprint # codec2 format support via (lib)codec2 CODEC2_LIB_DEPENDS= libcodec2.so:audio/codec2 CODEC2_CONFIGURE_ENABLE= libcodec2 # AV1 decoder DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_ENABLE= libdav1d # IEEE 1394 camera control via (lib)dc1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CONFIGURE_ENABLE= libdc1394 # Debugging DEBUG_CONFIGURE_ON= --disable-stripping DEBUG_CONFIGURE_OFF= --disable-debug # Documentation DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENABLE= htmlpages DOCS_BINARY_ALIAS= makeinfo=${FALSE} # force texi2html # DRM DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_CONFIGURE_ENABLE= libdrm # DVD support DVD_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav \ libdvdread.so:multimedia/libdvdread DVD_CONFIGURE_ENABLE= libdvdnav \ libdvdread # Fraunhofer FDK AAC codec FDK_AAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDK_AAC_CONFIGURE_ENABLE= libfdk-aac FDK_AAC_IMPLIES= NONFREE # Speech synthesis via (lib)flite FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_ENABLE= libflite # (lib)fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig # (lib)freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype # Video effects via (lib)Frei0r FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r # (lib)FriBidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= libfribidi # Libgcrypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE= gcrypt # OpenGL and OpenGL ES shader frontend GLSLANG_BUILD_DEPENDS= glslang>0:graphics/glslang \ spirv-tools>0:graphics/spirv-tools GLSLANG_CONFIGURE_ENABLE= libglslang GLSLANG_LDFLAGS= -lm GLSLANG_IMPLIES= VULKAN # GnuTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE= gnutls # Game Music Emu via libgme GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= libgme # GMP GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CONFIGURE_ENABLE= gmp GMP_IMPLIES= GPL3 # GSM de/encoding via libgsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm # (lib)harfbuzz HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE= libharfbuzz # iconv ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv # iLBC de/encoding via libilbc ILBC_LIB_DEPENDS= libilbc.so:net/libilbc ILBC_CONFIGURE_ENABLE= libilbc # Support for JACK low-latency audio server JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= libjack # JPEG XL de/encoding via libjxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CONFIGURE_ENABLE= libjxl # HEVC encoding via libkvazaar KVAZAAR_LIB_DEPENDS= libkvazaar.so:multimedia/kvazaar KVAZAAR_CONFIGURE_ENABLE= libkvazaar # Support for Linux Audio Developer's Simple Plugin LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_ENABLE= ladspa # MP3 encoding via LAME LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame # lcms2 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_ENABLE= lcms2 # Lens geometry distortions correction filter via lib(lensfun) LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun LENSFUN_CONFIGURE_ENABLE= liblensfun # libbluray LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray LIBBLURAY_IMPLIES= FONTCONFIG \ FREETYPE # GPU-accelerated video/image rendering via libplacebo LIBPLACEBO_LIB_DEPENDS= libplacebo.so:graphics/libplacebo LIBPLACEBO_CONFIGURE_ENABLE= libplacebo LIBPLACEBO_IMPLIES= VULKAN # SVG format support via librsvg LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_CONFIGURE_ENABLE= librsvg # XML support via libxml2 LIBXML2_USES= gnome LIBXML2_USE= GNOME=libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 # lto LTO_CONFIGURE_ON= --enable-lto # LV2 audio filtering LV2_BUILD_DEPENDS= lv2>0:audio/lv2 LV2_LIB_DEPENDS= liblilv-0.so:audio/lilv LV2_CONFIGURE_ENABLE= lv2 # Intel MediaSDK support via libmfx MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk MFX_CONFIGURE_ENABLE= libmfx # ModPlug via libmodplug MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= libmodplug # mysofa MYSOFA_LIB_DEPENDS= libmysofa.so:audio/libmysofa MYSOFA_CONFIGURE_ENABLE= libmysofa # network NETWORK_CONFIGURE_ENABLE= network # Glue for Nvidia Codec SDK headers, hardware decoding/encoding NVENC_BUILD_DEPENDS= ffnvcodec-headers>=11.1.5.2:multimedia/ffnvcodec-headers NVENC_CONFIGURE_ENABLE= cuvid \ nvdec \ nvenc # OpenAL 1.1 capture support OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_CONFIGURE_ENABLE= openal # OpenCL processing OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CONFIGURE_ENABLE= opencl # OpenGL rendering OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl # H.264 encoding via OpenH264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CONFIGURE_ENABLE= libopenh264 # JPEG 2000 encoding via OpenJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_ENABLE= libopenjpeg # Support for various mod files formats via (lib)openmpt OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_CONFIGURE_ENABLE= libopenmpt # OpenSSL OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENABLE= openssl OPENSSL_IMPLIES= NONFREE # Enable optimizations defined by upstream OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations # Opus de/encoding via libopus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= libopus # Speech recognition via (lib)PocketSphinx POCKETSPHINX_LIB_DEPENDS= libpocketsphinx.so:audio/pocketsphinx POCKETSPHINX_CONFIGURE_ENABLE= pocketsphinx POCKETSPHINX_BROKEN= pocketsphinx < 5prealpha is not supported # Pulseaudio input via libpulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= libpulse # AV1 encoding via librav1e RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e RAV1E_CONFIGURE_ENABLE= librav1e # RabbitMQ RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c RABBITMQ_CONFIGURE_ENABLE= librabbitmq # RIST via librist RIST_LIB_DEPENDS= librist.so:multimedia/librist RIST_CONFIGURE_ENABLE= librist # Real-time detection of CPU features RTCPU_CONFIGURE_ENABLE= runtime-cpudetect # Time streching effect via (lib)Rubberband RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CONFIGURE_ENABLE= librubberband # SDL(2) video output support SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl2 # GLSL/HLSL to SPIR-V shader compiler SHADERC_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc SHADERC_CONFIGURE_ENABLE= libshaderc SHADERC_IMPLIES= VULKAN SHADERC_PREVENTS= GLSLANG # Samba protocol support via libsmbclient SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= libsmbclient SMB_IMPLIES= GPL3 # Snappy compression via libsnappy SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy SNAPPY_CONFIGURE_ENABLE= libsnappy # sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio # libsoxr resampling SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CONFIGURE_ENABLE= libsoxr # Speex de/encoding via libspeex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex # Haivision SRT protocol via libsrt SRT_LIB_DEPENDS= libsrt.so:www/srt SRT_CONFIGURE_ENABLE= libsrt # SFTP protocol support via libssh SSH_LIB_DEPENDS= libssh.so:security/libssh SSH_CONFIGURE_ENABLE= libssh # AV1 encoding via SVT SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 SVTAV1_CONFIGURE_ON= --enable-libsvtav1 # VP9 encoding via SVT #SVTVP9_LIB_DEPENDS= libSvtVp9Enc.so:multimedia/svt-vp9 #SVTVP9_CONFIGURE_ON= --enable-libsvtvp9 #SVTVP9_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-VP9/raw/v0.3.0-20-gbab25a6/ffmpeg_plugin/:svtvp9 #SVTVP9_PATCHFILES= master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch:-p1:svtvp9 #.if make(makesum) #.MAKEFLAGS: WITH+=SVTVP9 #.endif # TensorFlow TENSORFLOW_LIB_DEPENDS= libtensorflow.so:science/py-tensorflow TENSORFLOW_CONFIGURE_ENABLE= libtensorflow # OCR support via Tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CONFIGURE_ENABLE= libtesseract # Theora encoding via libtheora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora # MP2 encoding via libtwolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= libtwolame # V4L V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l2 V4L_CONFIGURE_OFF= --disable-indev=v4l2 \ --disable-outdev=v4l2 # Video Acceleration API (VA-API) VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi # VapourSynth demuxer VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_CONFIGURE_ENABLE= vapoursynth # Nvidia Video Decode and Presentation API VDPAU_USES= xorg VDPAU_USE= XORG=x11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau # Video stabilization via (lib)VidStab VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE= libvidstab # Perceptual video quality assessment via libvmaf VMAF_LIB_DEPENDS= libvmaf.so:multimedia/vmaf VMAF_CONFIGURE_ENABLE= libvmaf # VisualOn AMR-WB encoder VO_AMRWBENC_LIB_DEPENDS= libvo-amrwbenc.so:audio/vo-amrwbenc VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc VO_AMRWBENC_IMPLIES= GPL3 # Vorbis en/decoding via libvorbis VORBIS_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= libvorbis # Intel oneVPL VPL_LIB_DEPENDS= libvpl.so:multimedia/onevpl VPL_CONFIGURE_ENABLE= libvpl # VP8 and VP9 de/encoding via libvpx VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx # Vulkan VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CONFIGURE_ENABLE= vulkan # H.266/VVC encoding via VVenC VVENC_LIB_DEPENDS= libvvenc.so:multimedia/vvenc VVENC_CONFIGURE_ENABLE= libvvenc # WebP encoding via libwebp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= libwebp # H.264 encoding via (lib)x264 X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 # HEVC encoding via (lib)x265 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= libx265 # X11 grabbing using XCB XCB_USES= xorg XCB_USE= XORG=xcb,x11,xext,xv XCB_CONFIGURE_ENABLE= libxcb libxcb-shape libxcb-shm libxcb-xfixes xlib # XviD support XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid # xv XVIDEO_USES= xorg XVIDEO_USE= XORG=x11,xext,xv XVIDEO_CONFIGURE_OFF= --disable-outdev=xv # Scaling, colorspace conversion, and dithering via "z" library ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_ENABLE= libzimg # Message passing via libzmq ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq${ZMQ_VERSION} ZMQ_CONFIGURE_ENABLE= libzmq ZMQ_VERSION?= 4 # Teletext support via libzvbi ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= libzvbi # License knobs GPL3_CONFIGURE_ENABLE= version3 GPL3_VARS= LICENSE="GPLv3+ LGPL3+" #LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.GPLv3 #LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPLv3 NONFREE_CONFIGURE_ENABLE=nonfree .include .if ${PORT_OPTIONS:MNONFREE} LICENSE+= NONFREE LICENSE_COMB= multi LICENSE_NAME_NONFREE= Non free code LICENSE_TEXT_NONFREE= enabling OpenSSL or fdk-aac restricts redistribution LICENSE_PERMS_NONFREE= auto-accept .endif .if !${PORT_OPTIONS:MVDPAU} || !${PORT_OPTIONS:MXCB} || !${PORT_OPTIONS:MXVIDEO} CONFIGURE_ARGS+= --disable-xlib .endif .include diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index 6d744e5652eb..5546df8e4739 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -1,322 +1,322 @@ PORTNAME= kodi DISTVERSION= 22.0a2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia java MASTER_SITES= https://mirrors.kodi.tv/build-deps/sources/ DISTFILES= apache-groovy-binary-${GROOVY_VERSION}.zip \ commons-lang3-${COMMONS_LANG_VERSION}-bin.tar.gz \ commons-text-${COMMONS_TEXT_VERSION}-bin.tar.gz \ json-${NLOHMANN_JSON_VERSION}.tar.xz DIST_SUBDIR= ${PORTNAME} # do not forget to fix devel/kodi-platform when updating kodi PATCH_SITES= https://github.com/xbmc/xbmc/commit/ PATCHFILES= 03b192aac8f49f613dade58c5359ec0d0e35d92a.patch:-p1 \ 620e4011cbf5b2bfe531bc37d916a90787e3ca2d.patch:-p1 MAINTAINER= yzrh@noema.org COMMENT= Award winning media center application WWW= https://kodi.tv/ LICENSE= GPLv2+ ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS= flatbuffers>0:devel/flatbuffers \ swig>0:devel/swig LIB_DEPENDS= libaacs.so:multimedia/libaacs \ libass.so:multimedia/libass \ libavcodec.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libcdio.so:sysutils/libcdio \ libcrossguid.so:devel/libcrossguid \ libcurl.so:ftp/curl \ libbdplus.so:multimedia/libbdplus \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfmt.so:devel/libfmt \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libfstrcmp.so:devel/fstrcmp \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblzo2.so:archivers/lzo2 \ libpcre2-8.so:devel/pcre2 \ libpng.so:graphics/png \ libspdlog.so:devel/spdlog \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libtag.so:audio/taglib \ libtinyxml.so:textproc/tinyxml \ libtinyxml2.so:textproc/tinyxml2 \ libudfread.so:multimedia/libudfread \ libuuid.so:misc/libuuid RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= autoreconf:build cmake:noninja compiler:c++17-lang cpe \ desktop-file-utils gettext gmake gnome iconv java:build jpeg libtool \ pkgconfig python sqlite ssl USE_RC_SUBR= kodi KODI_CODENAME= Piers LIBDVDCSS_VERSION= 1.4.3-Next-Nexus-Alpha2-2 LIBDVDNAV_VERSION= 6.1.1-Next-Nexus-Alpha2-2 LIBDVDREAD_VERSION= 6.1.3-Next-Nexus-Alpha2-2 GROOVY_VERSION= 4.0.26 COMMONS_LANG_VERSION= 3.17.0 COMMONS_TEXT_VERSION= 1.13.0 # TODO: make it a new port NLOHMANN_JSON_VERSION= 3.12.0 USE_GITHUB= yes GH_TUPLE= xbmc:xbmc:${DISTVERSION}-${KODI_CODENAME} \ xbmc:libdvdcss:${LIBDVDCSS_VERSION}:libdvdcss/tools/depends/target/libdvdcss/native \ xbmc:libdvdnav:${LIBDVDNAV_VERSION}:libdvdnav/tools/depends/target/libdvdnav/native \ xbmc:libdvdread:${LIBDVDREAD_VERSION}:libdvdread/tools/depends/target/libdvdread/native KODI_ARCH_aarch64= aarch64 KODI_ARCH_amd64= x86_64 KODI_ARCH_i386= x86 KODI_ARCH_armv7= armv7 KODI_ARCH_armv6= armv6 KODI_ARCH_powerpc64= powerpc64 KODI_ARCH_powerpc64le= powerpc64le PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}} USE_LDCONFIG= yes USE_GNOME= libxml2 JAVA_VERSION= 8 11 CMAKE_ARGS= -DGIT_VERSION="${DISTVERSION}-${KODI_CODENAME}" \ -DLIBDVDCSS_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdcss-${LIBDVDCSS_VERSION}_GH0.tar.gz" \ -DLIBDVDNAV_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdnav-${LIBDVDNAV_VERSION}_GH0.tar.gz" \ -DLIBDVDREAD_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdread-${LIBDVDREAD_VERSION}_GH0.tar.gz" \ -DNLOHMANN_JSON_URL="${DISTDIR}/${PORTNAME}/json-${NLOHMANN_JSON_VERSION}.tar.xz" \ -Dgroovy_SOURCE_DIR="${WRKSRC}/tools/depends/share/groovy" \ -Dapache-commons-lang_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/lang" \ -Dapache-commons-text_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/text" \ -DCROSSGUID_INCLUDE_DIR="${LOCALBASE}/include" \ -DCORE_PLATFORM_NAME:STRING="${KODI_PLATFORM}" \ -DCMAKE_VERBOSE_MAKEFILE=ON CMAKE_OFF= ENABLE_INTERNAL_CROSSGUID CMAKE_ON= ENABLE_INTERNAL_NLOHMANNJSON \ VERBOSE_FIND CONFIGURE_ENV= _CPU_FEATURE="${CPU_FEATURE}" OPTIONS_SUB= yes OPTIONS_DEFINE= AIRPLAY AVAHI LIBBLURAY CEC DAV1D DBUS \ DVDCSS LCMS2 LIRC WEBSERVER MYSQL NFS DVD SMB TEST \ UDEV UPNP VAAPI VDPAU XSLT DOCS OPTIONS_DEFAULT= LIBBLURAY CEC LCMS2 WEBSERVER DAV1D \ DVD UPNP VAAPI VDPAU XSLT GBM WAYLAND X11 GL OPTIONS_DEFAULT_amd64= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 OPTIONS_DEFAULT_i386= SSE SSE2 SSE3 OPTIONS_SINGLE= RENDER OPTIONS_SINGLE_RENDER= GL GLES OPTIONS_GROUP= SOUND FEATURE PLATFORM OPTIONS_GROUP_SOUND= ALSA PIPEWIRE PULSEAUDIO SNDIO OPTIONS_GROUP_FEATURE= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 AVX AVX2 OPTIONS_GROUP_PLATFORM= GBM WAYLAND X11 OPTIONS_EXCLUDE_aarch64=FEATURE OPTIONS_EXCLUDE_armv7= FEATURE OPTIONS_EXCLUDE_armv6= FEATURE OPTIONS_EXCLUDE_powerpc64= FEATURE OPTIONS_EXCLUDE_powerpc64le= FEATURE PLATFORM_DESC= Kodi platform FEATURE_DESC= X86 CPU feature AIRPLAY_DESC= AirPlay support CEC_DESC= CEC adapter support DAV1D_DESC= Use dav1d as AV1 decoder DVD_DESC= DVD support UDEV_DESC= Use libudev-devd XSLT_DESC= Use libxslt RENDER_DESC= Render system GL_DESC= OpenGL GLES_DESC= OpenGL ES GBM_DESC= GBM support SSE2_DESC= Use SSE2 optimized routines SSE3_DESC= Use SSE3 optimized routines SSSE3_DESC= Use SSSE3 optimized routines SSE4_1_DESC= Use SSE4.1 optimized routines SSE4_2_DESC= Use SSE4.2 optimized routines AVX_DESC= Use AVX optimized routines AVX2_DESC= Use AVX2 optimized routines AIRPLAY_LIB_DEPENDS= libplist-2.0.so:devel/libplist \ libshairplay.so:audio/shairplay AIRPLAY_CMAKE_BOOL= ENABLE_PLIST \ ENABLE_AIRTUNES AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CMAKE_BOOL= ENABLE_AVAHI LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CMAKE_BOOL= ENABLE_BLURAY CEC_LIB_DEPENDS= libcec.so:multimedia/libcec \ libp8-platform.so:devel/p8-platform CEC_CMAKE_BOOL= ENABLE_CEC DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= ENABLE_DAV1D DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= ENABLE_DBUS DVDCSS_CMAKE_BOOL= ENABLE_DVDCSS LCMS2_LIB_DEPENDS= liblcms2.so.2:graphics/lcms2 LCMS2_CMAKE_BOOL= ENABLE_LCMS2 LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRCCLIENT WEBSERVER_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBSERVER_CMAKE_BOOL= ENABLE_MICROHTTPD NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CMAKE_BOOL= ENABLE_NFS DVD_CMAKE_BOOL= ENABLE_OPTICAL SMB_USES= samba:lib SMB_CMAKE_BOOL= ENABLE_SMBCLIENT TEST_LIB_DEPENDS= libgtest.so:devel/googletest TEST_CMAKE_BOOL= ENABLE_TESTING UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_CMAKE_BOOL= ENABLE_UDEV UPNP_CMAKE_BOOL= ENABLE_UPNP VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CMAKE_BOOL= ENABLE_VAAPI VDPAU_IMPLIES= X11 GL VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CMAKE_BOOL= ENABLE_VDPAU XSLT_LIB_DEPENDS= libxslt.so:textproc/libxslt XSLT_CMAKE_BOOL= ENABLE_XSLT GL_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gl" GL_USES= gl GL_USE= GL=gl GLES_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gles" GLES_USES= gl GLES_USE= GL=glesv2 MYSQL_USES= mysql MYSQL_CMAKE_BOOL= ENABLE_MYSQLCLIENT ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= ENABLE_ALSA PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= ENABLE_PIPEWIRE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= ENABLE_SNDIO SSE_VARS= CPU_FEATURE+=SSE SSE2_VARS= CPU_FEATURE+=SSE2 SSE3_VARS= CPU_FEATURE+=SSE3 SSSE3_VARS= CPU_FEATURE+=SSSE3 SSE4_1_VARS= CPU_FEATURE+=SSE4.1 SSE4_2_VARS= CPU_FEATURE+=SSE4.2 AVX_VARS= CPU_FEATURE+=AVX AVX2_VARS= CPU_FEATURE+=AVX2 GBM_IMPLIES= UDEV GBM_VARS= KODI_PLATFORM+=gbm GBM_USES= gl GBM_USE= GL=egl,gbm,glu GBM_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto GBM_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libdrm.so:graphics/libdrm \ libxkbcommon.so:x11/libxkbcommon \ libinput.so:x11/libinput \ libdisplay-info.so:sysutils/libdisplay-info GBM_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri WAYLAND_VARS= KODI_PLATFORM+=wayland WAYLAND_CATEGORIES= wayland WAYLAND_USES= gl WAYLAND_USE= GL=egl,glu WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libdrm.so:graphics/libdrm \ libxkbcommon.so:x11/libxkbcommon \ libinput.so:x11/libinput \ libwayland-client++.so:graphics/waylandpp X11_VARS= KODI_PLATFORM+=x11 X11_USES= xorg gl X11_USE= XORG=x11,xext,xrandr GL=egl,gbm,glu X11_LIB_DEPENDS= libdrm.so:graphics/libdrm .include .if (!empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11)) && !empty(PORT_OPTIONS:MGLES) BROKEN= option GLES does not build with multiple PLATFORM .endif .if !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODICOMBINED="" \ KODIGBM="@comment " \ KODIWAYLAND="@comment " \ KODIX11="@comment " .else PLIST_SUB+= KODICOMBINED="@comment " .if !empty(PORT_OPTIONS:MGBM) PLIST_SUB+= KODIGBM="" .else PLIST_SUB+= KODIGBM="@comment " .endif .if !empty(PORT_OPTIONS:MWAYLAND) PLIST_SUB+= KODIWAYLAND="" .else PLIST_SUB+= KODIWAYLAND="@comment " .endif .if !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODIX11="" .else PLIST_SUB+= KODIX11="@comment " .endif .endif post-extract: @${MKDIR} ${WRKSRC}/tools/depends/share @${MV} ${WRKDIR}/groovy-${GROOVY_VERSION} ${WRKSRC}/tools/depends/share/groovy @${MKDIR} ${WRKSRC}/tools/depends/share/java @${MV} ${WRKDIR}/commons-lang3-${COMMONS_LANG_VERSION} ${WRKSRC}/tools/depends/share/java/lang @${MV} ${WRKDIR}/commons-text-${COMMONS_TEXT_VERSION} ${WRKSRC}/tools/depends/share/java/text post-patch: ${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/xbmc/platform/linux/input/LibInputSettings.cpp post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/kodi.bin.1 ${STAGEDIR}${PREFIX}/share/man/man1 cd ${STAGEDIR}${PREFIX}/share/man/man1 && ${LN} -s kodi.bin.1.gz kodi.1.gz cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} kodi-TexturePacker ${FIND} ${STAGEDIR}${PREFIX}/lib/kodi -type f -name '*.so' -print0 | ${XARGS} -0 ${STRIP_CMD} ${RM} -r ${STAGEDIR}${PREFIX}/lib/firewalld .include diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index a29466c85859..92aaeb6526d7 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -1,203 +1,203 @@ PORTNAME= mpv DISTVERSIONPREFIX= v DISTVERSION= 0.40.0 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= multimedia audio PATCH_SITES= https://github.com/mpv-player/mpv/commit/ PATCHFILES= 26b29fba02a2782f68e2906f837d21201fc6f1b9.patch:-p1 MAINTAINER= multimedia@FreeBSD.org COMMENT= Free and open-source general-purpose video player WWW= https://mpv.io LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSE.LGPL BUILD_DEPENDS= ffmpeg>=6.1,1:multimedia/ffmpeg LIB_DEPENDS= libplacebo.so:graphics/libplacebo \ libavcodec.so:multimedia/ffmpeg \ libass.so:multimedia/libass USES= compiler:c11 cpe desktop-file-utils iconv jpeg \ meson pkgconfig python:build shebangfix tar:bz2 USE_LDCONFIG= yes SHEBANG_FILES= TOOLS/*.py USE_GITHUB= yes GH_ACCOUNT= mpv-player MESON_ARGS= --auto-features=auto \ -Dshaderc=disabled OPTIONS_DEFINE= ARCHIVE DOCS EXAMPLES LCMS2 MANPAGES MUJS RUBBERBAND \ UCHARDET YTDLP ZIMG OPTIONS_DEFAULT= ARCHIVE DRM DVDNAV LCMS2 LUAJIT MANPAGES NVDEC OPENGL UCHARDET \ V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDLP OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDNAV LIBBLURAY V4L VAPOURSYNTH OPTIONS_GROUP_VO= CACA DRM NVDEC OPENGL SIXEL VAAPI VDPAU VULKAN WAYLAND X11 OPTIONS_GROUP_AO= ALSA JACK OPENAL PIPEWIRE PULSEAUDIO SDL SNDIO OPTIONS_SINGLE= LUA OPTIONS_SINGLE_LUA= LUA LUAJIT LUA_NONE OPTIONS_SUB= yes DVDNAV_DESC= DVD menu navigation LUA_NONE_DESC= Disable Lua scripting language support LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support MUJS_DESC= Use MuJS for Javascript language support NVDEC_DESC= NVIDIA decoder with CUDA support RUBBERBAND_DESC= High quality pitch correction with librubberband SIXEL_DESC= Sixel graphics support UCHARDET_DESC= Guess subtitle encoding via uchardet VAPOURSYNTH_DESC= VapourSynth filter bridge VULKAN_DESC= Vulkan output support YTDLP_DESC= Support ytdl protocol (installs yt-dlp) ZIMG_DESC= High quality software scaling via "z" library IN_DESC= Input VO_DESC= Video Output AO_DESC= Audio Output ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_ENABLED= alsa ARCHIVE_USES= libarchive ARCHIVE_MESON_ENABLED= libarchive CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_MESON_ENABLED= caca CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_MESON_ENABLED= cdda DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils DOCS_MESON_ENABLED= html-build DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav DVDNAV_MESON_ENABLED= dvdnav JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_MESON_ENABLED= jack DRM_DESC= KMS console support DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm \ libdisplay-info.so:sysutils/libdisplay-info DRM_MESON_ENABLED= drm LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms2 LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_MESON_ENABLED= libbluray LUA_USES= lua:51-52 LUA_MESON_ON= -Dlua=lua-${LUA_VER} LUAJIT_USES= luajit LUAJIT_MESON_ON= -Dlua=luajit LUA_NONE_MESON_ON= -Dlua=disabled LUA_NONE_PREVENTS= YTDLP LUA_NONE_PREVENTS_MSG= Lua scripting is required for YouTube playback MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_MESON_ENABLED= manpage-build MUJS_LIB_DEPENDS= libmujs.so:lang/mujs MUJS_MESON_ENABLED= javascript NVDEC_BUILD_DEPENDS= ${LOCALBASE}/include/ffnvcodec/dynlink_loader.h:multimedia/ffnvcodec-headers NVDEC_RUN_DEPENDS= ${LOCALBASE}/include/ffnvcodec/dynlink_loader.h:multimedia/ffnvcodec-headers NVDEC_MESON_ENABLED= cuda-hwaccel OPENAL_USES= openal OPENAL_MESON_ENABLED= openal OPENAL_LDFLAGS= ${_OPENAL_LDFLAGS_${ARCH}} _OPENAL_LDFLAGS_i386= -Wl,-znotext OPENGL_USES= gl OPENGL_USE= GL=egl,gbm OPENGL_MESON_ENABLED= gl PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_ENABLED= pipewire PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulse RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_MESON_ENABLED= rubberband SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_ENABLED= sdl2 SIXEL_LIB_DEPENDS= libsixel.so:graphics/libsixel SIXEL_MESON_ENABLED= sixel SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_MESON_ENABLED= sndio UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_MESON_ENABLED= uchardet V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/dmx.h:multimedia/v4l_compat V4L_USES= localbase V4L_MESON_ENABLED= dvbin VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_MESON_ENABLED= vaapi VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_MESON_ENABLED= vapoursynth VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_MESON_ENABLED= vdpau VDPAU_IMPLIES= X11 VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_MESON_ENABLED= vulkan WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input-event-codes.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols # pkg-config WAYLAND_MESON_ENABLED= wayland WAYLAND_IMPLIES= OPENGL X11_USES= gnome xorg X11_USE= XORG=x11,xext,xinerama,xorgproto,xpresent,xrandr,xscrnsaver,xv,xxf86vm X11_MESON_ENABLED= x11 YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_MESON_ENABLED= zimg .include .if ${PORT_OPTIONS:MVAAPI} && ${PORT_OPTIONS:MWAYLAND} MESON_ARGS+= -Dvaapi-wayland=enabled LIB_DEPENDS+= libva-wayland.so:multimedia/libva .else MESON_ARGS+= -Dvaapi-wayland=disabled .endif post-patch-MANPAGES-on: @${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=true"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 1e24340d14fa..987ef5ff4f7d 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -1,157 +1,157 @@ PORTNAME= cups-filters PORTVERSION= 1.28.17 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= print 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= autoreconf compiler:c++11-lib cpe gettext-tools gmake gnome \ iconv libtool localbase pkgconfig shebangfix tar:xz CPE_VENDOR= linuxfoundation USE_GITHUB= yes GH_ACCOUNT= OpenPrinting GH_TAGNAME= f87687970d9c USE_GNOME= glib20 USE_LDCONFIG= yes USE_RC_SUBR= cups_browsed 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 INSTALL_TARGET= install-strip CONFLICTS= foomatic-filters # bin/foomatic-rip 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=none AVAHI_CONFIGURE_ON= --with-browseremoteprotocols=dnssd 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 .if ${COMPILER_TYPE} == clang 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/ghostscript10/Makefile b/print/ghostscript10/Makefile index bb40e31a9fd3..ca48bfa11d4c 100644 --- a/print/ghostscript10/Makefile +++ b/print/ghostscript10/Makefile @@ -1,119 +1,119 @@ PORTNAME= ghostscript DISTVERSION= 10.06.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} MAINTAINER= michael.osipov@innomotics.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 ${DISTNAME}/cups/libs \ --exclude ${DISTNAME}/expat \ --exclude ${DISTNAME}/freetype \ --exclude ${DISTNAME}/ijs \ --exclude ${DISTNAME}/jbig2dec \ --exclude ${DISTNAME}/jpeg \ --exclude ${DISTNAME}/lcms2mt \ --exclude ${DISTNAME}/leptonica \ --exclude ${DISTNAME}/libpng \ --exclude ${DISTNAME}/openjpeg \ --exclude ${DISTNAME}/tesseract \ --exclude ${DISTNAME}/tiff \ --exclude ${DISTNAME}/zlib \ --no-same-owner --no-same-permissions GNU_CONFIGURE= yes 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/scribus-devel/Makefile b/print/scribus-devel/Makefile index d573fba0387b..bb0cea7e45ba 100644 --- a/print/scribus-devel/Makefile +++ b/print/scribus-devel/Makefile @@ -1,73 +1,74 @@ PORTNAME= scribus DISTVERSION= 1.7.2 +PORTREVISION= 1 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 \ 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 gl gnome jpeg \ pkgconfig python qt:6 shared-mime-info tar:xz xorg USE_GL= gl opengl USE_GNOME= cairo libxml2 USE_QT= 5compat base svg tools USE_XORG= xcb CMAKE_ARGS= -DWANT_CPP17=YES CONFLICTS_INSTALL= scribus 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_BUILD_DEPENDS= boost-libs>0:devel/boost-libs BOOST_CMAKE_BOOL= WITH_BOOST GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so: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 ../scribus/icons/1_5_1/scribus.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/print/scribus/Makefile b/print/scribus/Makefile index 6a420d24091e..c2431e0d98b1 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -1,71 +1,72 @@ PORTNAME= scribus DISTVERSION= 1.6.5 +PORTREVISION= 1 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_BUILD_DEPENDS= boost-libs>0:devel/boost-libs BOOST_CMAKE_BOOL= WITH_BOOST GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so: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 ../scribus/icons/1_5_1/scribus.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/sysutils/cinnamon-settings-daemon/Makefile b/sysutils/cinnamon-settings-daemon/Makefile index e74ea8ce484a..feda3b785aa0 100644 --- a/sysutils/cinnamon-settings-daemon/Makefile +++ b/sysutils/cinnamon-settings-daemon/Makefile @@ -1,84 +1,84 @@ PORTNAME= cinnamon-settings-daemon DISTVERSION= 6.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Cinnamon desktop settings daemon WWW= https://github.com/linuxmint/cinnamon-settings-daemon LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= gln:sysutils/coreutils LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcinnamon-desktop.so:x11/cinnamon-desktop \ libxklavier.so:x11/libxklavier \ libnspr4.so:devel/nspr \ libfontconfig.so:x11-fonts/fontconfig \ libupower-glib.so:sysutils/upower \ libpulse.so:audio/pulseaudio \ libnotify.so:devel/libnotify RUN_DEPENDS= cinnamon-session:x11/cinnamon-session \ gnome-screenshot:deskutils/gnome-screenshot USES= compiler:c11 gettext-runtime gnome meson pkgconfig \ python:build shebangfix xorg USE_GNOME= cairo dconf gdkpixbuf glib20 gtk30 libgnomekbd pango USE_XORG= x11 xext xfixes xi xorgproto USE_GITHUB= yes GH_ACCOUNT= linuxmint MESON_ARGS= -Duse_logind=disabled SHEBANG_GLOB= *.py BINARY_ALIAS= ln=gln USE_LDCONFIG= yes GLIB_SCHEMAS= org.cinnamon.settings-daemon.enums.xml \ org.cinnamon.settings-daemon.peripherals.gschema.xml \ org.cinnamon.settings-daemon.peripherals.wacom.gschema.xml \ org.cinnamon.settings-daemon.plugins.color.gschema.xml \ org.cinnamon.settings-daemon.plugins.gschema.xml \ org.cinnamon.settings-daemon.plugins.housekeeping.gschema.xml \ org.cinnamon.settings-daemon.plugins.media-keys.gschema.xml \ org.cinnamon.settings-daemon.plugins.power.gschema.xml \ org.cinnamon.settings-daemon.plugins.xrandr.gschema.xml \ org.cinnamon.settings-daemon.plugins.xsettings.gschema.xml OPTIONS_DEFINE= COLORD CUPS GUDEV POLKIT SMARTCARD WACOM OPTIONS_DEFAULT= COLORD CUPS GUDEV POLKIT SMARTCARD WACOM OPTIONS_SUB= yes COLORD_MESON_ENABLED= use_color COLORD_LIB_DEPENDS= libcolord.so:graphics/colord \ liblcms2.so:graphics/lcms2 CUPS_MESON_ENABLED= use_cups CUPS_LIB_DEPENDS= libcups.so:print/cups GUDEV_DESC= GUdev support GUDEV_MESON_ENABLED= use_gudev GUDEV_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev POLKIT_DESC= Polkit support POLKIT_MESON_ENABLED= use_polkit POLKIT_LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit SMARTCARD_DESC= Smartcard support SMARTCARD_MESON_ENABLED=use_smartcard SMARTCARD_LIB_DEPENDS= libnss3.so:security/nss WACOM_DESC= Tablet support with libwacom WACOM_MESON_ENABLED= use_wacom WACOM_LIB_DEPENDS= libwacom.so:x11/libwacom WACOM_USE= GNOME=librsvg2 WACOM_IMPLIES= GUDEV .include diff --git a/sysutils/gnome-settings-daemon/Makefile b/sysutils/gnome-settings-daemon/Makefile index 0c1e1b2a6cb4..3022c9509c19 100644 --- a/sysutils/gnome-settings-daemon/Makefile +++ b/sysutils/gnome-settings-daemon/Makefile @@ -1,77 +1,78 @@ PORTNAME= gnome-settings-daemon PORTVERSION= 47.2 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME settings daemon WWW= https://gitlab.gnome.org/GNOME/gnome-settings-daemon LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21+= ${WRKSRC}/COPYING.LIB PORTSCOUT= limit:^47\. BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libcolord.so:graphics/colord \ libcups.so:print/cups \ libfontconfig.so:x11-fonts/fontconfig \ libgeoclue-2.so:net/geoclue \ libgeocode-glib-2.so:net/geocode-glib2 \ libgweather-4.so:net/libgweather4 \ liblcms2.so:graphics/lcms2 \ libnotify.so:devel/libnotify \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libpolkit-gobject-1.so:sysutils/polkit \ libpulse.so:audio/pulseaudio \ libupower-glib.so:sysutils/upower \ libp11-kit.so:security/p11-kit \ libgcr-4.so:security/gcr USE_XORG= x11 xext xfixes xi xtst USE_GNOME= cairo glib20 gnomedesktop3 gtk30 USES= gettext gnome localbase:ldflags meson perl5 pkgconfig \ python:build tar:xz xorg USE_PERL5= build MESON_ARGS= -Dalsa=false \ -Dcups=true \ -Dnetwork_manager=false \ -Drfkill=false \ -Dsmartcard=true \ -Dusb-protection=false \ -Dsystemd=false \ -Dwwan=false BINARY_ALIAS= python3=${PYTHON_VERSION} OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT= WAYLAND OPTIONS_SUB= yes WAYLAND_MESON_TRUE= wayland gudev WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \ libwayland-client.so:graphics/wayland PLIST_SUB= VERSION=${PORTVERSION:C/^([0-9]+)\..*/\1/} GLIB_SCHEMAS= org.gnome.settings-daemon.enums.xml \ org.gnome.settings-daemon.peripherals.gschema.xml \ org.gnome.settings-daemon.peripherals.wacom.gschema.xml \ org.gnome.settings-daemon.plugins.color.gschema.xml \ org.gnome.settings-daemon.plugins.gschema.xml \ org.gnome.settings-daemon.plugins.media-keys.gschema.xml \ org.gnome.settings-daemon.plugins.power.gschema.xml \ org.gnome.settings-daemon.plugins.power.gschema.xml.override \ org.gnome.settings-daemon.plugins.sharing.gschema.xml \ org.gnome.settings-daemon.plugins.xsettings.gschema.xml post-install: ${INSTALL_DATA} ${FILESDIR}/org.gnome.settings-daemon.plugins.power.gschema.xml.override \ ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/ .include diff --git a/www/deno/Makefile b/www/deno/Makefile index e3288cf31f4a..0f0d0769cc17 100644 --- a/www/deno/Makefile +++ b/www/deno/Makefile @@ -1,109 +1,110 @@ PORTNAME= deno DISTVERSIONPREFIX= v DISTVERSION= 2.6.6 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= Secure JavaScript and TypeScript runtime WWW= https://deno.com/runtime LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= cargo:warning=c/freebsd.c:31:10: error: conflicting types for 'get_cpu_speed' BUILD_DEPENDS= gn:devel/gn \ protoc:devel/protobuf LIB_DEPENDS= libdbus-1.so:devel/dbus \ libffi.so:devel/libffi \ liblcms2.so:graphics/lcms2 \ libzstd.so:archivers/zstd USES= cargo cpe gmake gnome llvm:min=21,build ninja:build pkgconfig:build python:build USE_GITHUB= yes GH_ACCOUNT= denoland GH_TUPLE= denoland:deno_lsp_benchdata:a787434:denolsp/cli/bench/testdata/lsp_benchdata \ denoland:node_test:8846b53:nodetest/tests/node_compat/runner/suite \ denoland:std:1f032bb7:denostd/tests/util/std \ web-platform-tests:wpt:e78446e:webp/tests/wpt/suite USE_GNOME= glib20 CARGO_ENV+= V8_FROM_SOURCE=1 \ GN=${PREFIX}/bin/gn \ NINJA=${NINJA_CMD} \ CLANG_BASE_PATH=/usr \ LCMS2_INCLUDE_DIR="${LOCALBASE}/include" \ LCMS2_LIB_DIR="${LOCALBASE}/lib" \ CARGO_PROFILE_RELEASE_LTO="false" \ GN_ARGS="clang_use_chrome_plugins=false \ extra_cppflags=\"-idirafter ${LOCALBASE}/include -idirafter ${X11BASE}/include\" \ extra_ldflags=\"-L${LOCALBASE}/lib -L${X11BASE}/lib\" \ fatal_linker_warnings=false \ is_clang=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_libcxx_modules=false \ use_udev=true \ use_sysroot=false \ use_glib=false \ v8_enable_cet_ibt=true" RUSTFLAGS+= "-L${LOCALBASE}/lib" PLIST_FILES= bin/${PORTNAME} \ bin/denort BINARY_ALIAS= python3=${PYTHON_CMD} DENO_CORE_ICUDATA_V= 0.74.0 V8_CARGO_V= 142.2.0 V8_DISTDIR= ${CARGO_VENDOR_DIR}/v8-${V8_CARGO_V} V8_BPGO_DIR= ${V8_DISTDIR}/v8/tools/builtins-pgo CARGO_INSTALL= no WITHOUT_LTO= yes post-patch: ${REINPLACE_CMD} "s|${PREFIX}|${PREFIX}|" \ ${WRKSRC}/cli/task_runner.rs \ ${WRKSRC}/cli/tools/jupyter/install.rs \ ${WRKSRC}/ext/os/lib.rs \ ${WRKSRC}/tests/unit_node/process_test.ts ${REINPLACE_CMD} "s|WRKDIR|${WRKDIR}|" \ ${WRKSRC}/tests/util/server/src/lib.rs ${REINPLACE_CMD} "s|linux|freebsd|g" \ ${WRKSRC}/tests/ffi/tests/ffi_callback_errors.ts \ ${WRKSRC}/tests/ffi/tests/test.js \ ${WRKSRC}/tests/ffi/tests/bench.js \ ${WRKSRC}/tests/ffi/tests/event_loop_integration.ts \ ${WRKSRC}/tests/ffi/tests/thread_safe_test_worker.js \ ${WRKSRC}/tests/ffi/tests/thread_safe_test.js \ ${WRKSRC}/tests/integration/cache_tests.rs \ ${WRKSRC}/tests/napi/common.js \ ${WRKSRC}/tests/unit/build_test.ts \ ${WRKSRC}/tests/unit/dir_test.ts \ ${WRKSRC}/tests/specs/mod.rs ${MKDIR} ${V8_BPGO_DIR}/arm64.profile ${V8_BPGO_DIR}/x64.profile ${CP} ${WRKSRC}/ext/napi/generated_symbol_exports_list_linux.def \ ${WRKSRC}/ext/napi/generated_symbol_exports_list_freebsd.def ${MKDIR} ${V8_DISTDIR}/third_party/icu/common ${CP} ${CARGO_VENDOR_DIR}/deno_core_icudata-${DENO_CORE_ICUDATA_V}/src/icudtl.dat \ ${V8_DISTDIR}/third_party/icu/common/ # do not pass RUST_BACKTRACE=1 to cargo test as some tests fails if it's there do-test: cd ${WRKSRC} ; \ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${CARGO_ENV:S/RUST_BACKTRACE=1//g} ${CARGO} test -vv ${CARGO_BUILD_ARGS} do-install: ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/*/deno ${STAGEDIR}${LOCALBASE}/bin ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/*/denort ${STAGEDIR}${LOCALBASE}/bin .include diff --git a/www/fgallery/Makefile b/www/fgallery/Makefile index d952f7b4c8ab..9e0f39f4e32c 100644 --- a/www/fgallery/Makefile +++ b/www/fgallery/Makefile @@ -1,55 +1,55 @@ PORTNAME= fgallery PORTVERSION= 1.9.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www graphics MAINTAINER= ehaupt@FreeBSD.org COMMENT= Modern, static javascript photo gallery generator WWW= https://www.thregr.org/~wavexx/software/fgallery/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt LIB_DEPENDS= liblcms2.so:graphics/lcms2 RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool \ exiftran:graphics/exiftran \ p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS USES= magick:7,run USE_GITHUB= yes GH_ACCOUNT= wavexx GH_TAGNAME= 45a8629 NO_ARCH= yes NO_BUILD= yes OPTIONS_DEFINE= 7ZIP FACEDETECT JPEGOPTIM OXIPNG OPTIONS_DEFAULT= 7ZIP FACEDETECT JPEGOPTIM OXIPNG 7ZIP_DESC= Use 7-Zip for better zip compression FACEDETECT_DESC= Face detection for improved thumbnail centering JPEGOPTIM_DESC= Use jpegoptim for JPEG size optimization OXIPNG_DESC= Use oxipng for PNG size optimization 7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip 7ZIP_RUN_DEPENDS_OFF= zip:archivers/zip FACEDETECT_RUN_DEPENDS= facedetect:graphics/facedetect JPEGOPTIM_RUN_DEPENDS= jpegoptim:graphics/jpegoptim OXIPNG_RUN_DEPENDS= oxipng:graphics/oxipng post-patch-7ZIP-on: @${REINPLACE_CMD} -e 's|7za|7zz|g' ${WRKSRC}/${PORTNAME} post-patch-OXIPNG-on: @${REINPLACE_CMD} -e 's|pngcrush|oxipng|g' ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1 do-install: .for d in album view (cd ${WRKSRC} && \ ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR} ${LN} -s ${DATADIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} .include diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile index d6ea65c6f841..8e9ceda30021 100644 --- a/www/qt5-webengine/Makefile +++ b/www/qt5-webengine/Makefile @@ -1,186 +1,186 @@ # 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. # - We need to see if more "use_system_" flags can be passed. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # # Also note that, due to the insane amount of patches this port needs, it tends # to lag behind the rest of the official Qt5 ones, which is why we set # QT5_VERSION and DISTINFO_FILE here. # In order to successfully build this port in poudriere you need to add # MAX_FILES_qt5_webengine=4096 to /usr/local/etc/poudriere.conf PORTNAME= webengine PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 library to render web content BUILD_DEPENDS= bison:devel/bison \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjsoncpp.so:devel/jsoncpp \ liblcms2.so:graphics/lcms2 \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ 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 DISTINFO_FILE= ${.CURDIR}/distinfo QT5_VERSION= ${_KDE_webengine_VERSION} OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_DEFAULT= ALSA 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_VARS= QMAKE_CONFIGURE_ARGS+=-alsa ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-alsa PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= QMAKE_CONFIGURE_ARGS+=-pulseaudio PULSEAUDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-pulseaudio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= QMAKE_CONFIGURE_ARGS+=-sndio SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio # We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks # whether webenginewidgets is available, which fails when qmake processes all # .pro files at once. USES= gl gnome gperf jpeg minizip ninja:build \ perl5 pkgconfig python:build qmake:norecursive,outsource \ qt-dist:5,webengine shebangfix xorg USE_GL= gl USE_GNOME= glib20 libxml2 libxslt USE_PERL5= build USE_QT= core declarative gui location network printsupport \ webchannel widgets \ buildtools:build designer:build qmake:build USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xorgproto xrandr xrender xscrnsaver xtst USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} QMAKE_CONFIGURE_ARGS= -proprietary-codecs -system-ffmpeg # We could just set it to an empty string as well. "all" does not account for # dependencies correctly in the generated Makefiles, use the right target here. ALL_TARGET= first # We need ar(1) from ports because the Chromium code uses the @file syntax. # We then need to ensure ld(1) from ports is used because of the archives ar(1) # generated. USE_BINUTILS= yes CC+= "-B${LOCALBASE}/bin" CXX+= "-B${LOCALBASE}/bin" # 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. # Since we use USES=qmake:norecursive, we also need to pass some variables to # MAKE_ENV because part of the configuration process happens during the build. 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} QT_BINARIES= yes .include .if ${ARCH:Mi386} USES+= nodejs:build,20 .else USES+= nodejs:build,lts .endif .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} PLIST_SUB+= BE="" LE="@comment " .else PLIST_SUB+= BE="@comment " LE="" .endif post-extract: # Install FreeBSD's freebsd.pri file. ${CP} ${FILESDIR}/freebsd.pri ${WRKSRC}/src/buildtools/config/freebsd.pri post-extract-SNDIO-on: @cd ${WRKSRC}/src/3rdparty/chromium/media/audio && ${MKDIR} sndio openbsd @${CP} ${FILESDIR}/sndio_*put.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio @${CP} ${FILESDIR}/audio_manager_openbsd.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/base/linux_util.cc \ ${WRKSRC}/src/3rdparty/chromium/base/test/BUILD.gn \ ${WRKSRC}/src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/src/3rdparty/chromium/chrome/common/chrome_paths.cc \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/fx_ge_linux.cpp \ ${WRKSRC}/src/3rdparty/gn/build/gen.py @${REINPLACE_CMD} -E -e 's|^(MODULE_VERSION = ).*|\1${QT5_VERSION}|' \ ${WRKSRC}/.qmake.conf .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} @${REINPLACE_CMD} -e 's/icudtl.dat/icudtb.dat/' \ ${WRKSRC}/src/core/core_module.pro .endif pre-configure: # Link in ${PYTHON_CMD} to ${CONFIGURE_WRKSRC}/bin -- the scripts hardcode 'python' # in too many places to reasonably patch. So just link in ${PYTHON_CMD} to work around # $LOCALBASE/bin/python being python3 if the default versions is set to 3.x. ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python # Unbundle a few dependencies. cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries\ fontconfig freetype harfbuzz-ng libdrm libevent libpng libwebp libxml libxslt openh264 opus || ${FALSE} # Rerun syncqt.pl -- otherwise the resulting package misses some forwarding headers. cd ${WRKSRC} && ${QT_BINDIR}/syncqt.pl -version ${QT5_VERSION} post-build: # Fix version mismatches for CMake .for module in Pdf PdfWidgets WebEngine WebEngineCore WebEngineWidgets @${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5${module}_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../../devel/qt5-core -VQT5_VERSION)"'|' \ ${BUILD_WRKSRC}/lib/cmake/Qt5${module}/Qt5${module}Config.cmake .endfor post-install: for lib in ${STAGEDIR}${PREFIX}/${QT_LIBDIR_REL}/*.so.${_QT_VERSION:C/-.*//} ; \ do \ ${BRANDELF} -t FreeBSD $$lib ; \ done .include diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile index 73f83ecf1335..03866572dcd6 100644 --- a/www/qt6-webengine/Makefile +++ b/www/qt6-webengine/Makefile @@ -1,195 +1,195 @@ # 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} # This is the parent port of print/qt6-pdf. Please always keep 'PORTREVISION?=' # and reset the value to '0' only after increasing QT6_VERSION in Mk/Uses/qt.mk. -PORTREVISION?= 3 +PORTREVISION?= 4 CATEGORIES?= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT?= Qt 6 library to render web content # 32-bit platforms are not supported by upstream, but we're limping them along. ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libopenjp2.so:graphics/openjpeg \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++20-lang gl localbase:ldflags ninja:build \ 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 USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} .if defined(BUILD_QTPDF) 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 \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libepoll-shim.so:devel/libepoll-shim \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ 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 \ libtiff.so:graphics/tiff \ libudev.so:devel/libudev-devd \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp USES+= bison gnome gperf 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 CXXFLAGS+= -I${LOCALBASE}/include/libepoll-shim SYS_LIBS= freetype harfbuzz-ng libdrm 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= DRIVER PIPEWIRE OPTIONS_DEFAULT= ALSA DRIVER PIPEWIRE OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_SUB= yes 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 DRIVER_DESC= Install WebEngineDriver DRIVER_CMAKE_ON= -DQT_FEATURE_webenginedriver:BOOL=ON DRIVER_CMAKE_OFF= -DQT_FEATURE_webenginedriver:BOOL=OFF PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_ON= -DQT_FEATURE_webengine_webrtc_pipewire:BOOL=ON PIPEWIRE_CMAKE_OFF= -DQT_FEATURE_webengine_webrtc_pipewire: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 !defined(BUILD_QTPDF) . if ${ARCH:Mi386} USES+= nodejs:build,20 . else USES+= nodejs:build,lts . endif .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 (cd ${WRKSRC}/src/3rdparty/chromium/third_party/libdrm/src/include && ${CP} drm/drm.h .) 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} .if !defined(BUILD_QTPDF) post-install: # Fix for deskutils/calibre, perhaps others, where this empty directory # is created during build causing a fs-violation. ${MKDIR} ${STAGEDIR}${QT_DATADIR}/resources/locales post-install-DRIVER-on: ${STRIP_CMD} ${STAGEDIR}${QT_TOOLDIR}/webenginedriver .endif .include diff --git a/www/webkit2-gtk/Makefile b/www/webkit2-gtk/Makefile index 4b71e3baab6d..370ab2732d92 100644 --- a/www/webkit2-gtk/Makefile +++ b/www/webkit2-gtk/Makefile @@ -1,141 +1,141 @@ PORTNAME= webkit DISTVERSION= 2.46.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk_${FLAVOR} DISTNAME= ${PORTNAME}gtk-${DISTVERSION} DIST_SUBDIR= gnome PATCH_SITES= https://github.com/WebKit/WebKit/commit/ MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK 3 toolkit WWW= https://webkitgtk.org/ LICENSE= GPLv2 BSD2CLAUSE LICENSE_COMB= dual BROKEN_riscv64= error: Unknown Architecture BUILD_DEPENDS= rubygem-getoptlong>0:devel/rubygem-getoptlong LIB_DEPENDS= libavif.so:graphics/libavif \ libdrm.so:graphics/libdrm \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgcrypt.so:security/libgcrypt \ libgraphene-1.0.so:graphics/graphene \ libgpg-error.so:security/libgpg-error \ libharfbuzz-icu.so:print/harfbuzz-icu \ libharfbuzz.so:print/harfbuzz \ libhyphen.so:textproc/hyphen \ libicudata.so:devel/icu \ libjxl.so:graphics/libjxl \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libsysinfo.so:devel/libsysinfo \ libtasn1.so:security/libtasn1 \ libwebp.so:graphics/webp \ libwoff2dec.so:devel/woff2 PORTSCOUT= limitw:1,even FLAVORS= 60 41 40 FLAVOR?= ${FLAVORS:[1]} USES= bison cmake compiler:c++23-lang cpe gettext gl gnome gperf \ jpeg localbase:ldflags perl5 pkgconfig python:build \ ruby:build sqlite tar:xz xorg USE_GNOME= cairo gdkpixbuf introspection:build libxml2 libxslt USE_GL= egl gbm gl glesv2 USE_LDCONFIG= yes USE_PERL5= build USE_XORG= x11 CPE_VENDOR= webkitgtk CPE_PRODUCT= webkitgtk BINARY_ALIAS= python=${PYTHON_CMD} CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 \ -I${LOCALBASE}/include -lsysinfo CMAKE_ARGS= -DPORT=GTK CMAKE_OFF= ${CMAKE_OFF_${ARCH}:U} \ ENABLE_GAMEPAD \ ENABLE_JOURNALD_LOG \ USE_LIBBACKTRACE \ USE_SYSTEM_MALLOC \ USE_SYSPROF_CAPTURE \ USE_SYSTEM_SYSPROF_CAPTURE CMAKE_OFF_armv6= ENABLE_JIT CMAKE_OFF_armv7= ENABLE_JIT INSTALL_TARGET= install .if ${FLAVOR:M60} USE_GNOME+= gtk40 PLIST= ${.CURDIR}/pkg-plist_${FLAVOR} API_VERSION= 6.0 WEBKIT_LIBRARY_VERSION= 4 10 8 JAVASCRIPTCORE_LIBRARY_VERSION= 1 3 15 .else USE_GNOME+= gtk30 CMAKE_OFF+= USE_GTK4 .endif .if ${FLAVOR:M40} DEPRECATED= libsoup 2 support scheduled for removal in 2.52: https://webkitgtk.org/2025/10/07/webkitgtk-soup2-deprecation.html LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup CMAKE_ON+= USE_SOUP2 API_VERSION= 4.0 WEBKIT_LIBRARY_VERSION= 37 71 8 JAVASCRIPTCORE_LIBRARY_VERSION= 18 25 15 .else LIB_DEPENDS+= libsoup-3.0.so:devel/libsoup3 .endif .if ${FLAVOR:M41} API_VERSION= 4.1 WEBKIT_LIBRARY_VERSION= 0 16 8 JAVASCRIPTCORE_LIBRARY_VERSION= 0 6 15 .endif PLIST_SUB= API_VERSION=${API_VERSION} \ WEBKIT_LIBRARY_VERSION=${WEBKIT_LIBRARY_VERSION:ts.} \ WEBKIT_LIBRARY_VERSION_MAJOR=${WEBKIT_LIBRARY_VERSION:[1]} \ JAVASCRIPTCORE_LIBRARY_VERSION=${JAVASCRIPTCORE_LIBRARY_VERSION:ts.} \ JAVASCRIPTCORE_LIBRARY_VERSION_MAJOR=${JAVASCRIPTCORE_LIBRARY_VERSION:[1]} OPTIONS_DEFINE= DOCS GEOIP GSTREAMER WAYLAND OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND OPTIONS_SUB= yes DOCS_CMAKE_BOOL= ENABLE_DOCUMENTATION DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,gl GSTREAMER_CMAKE_BOOL= ENABLE_VIDEO ENABLE_WEB_AUDIO WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland .include .ifdef WITH_DEBUG DEBUG_FLAGS= -g1 # resulting package otherwise is huge .endif post-install: @${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \ ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-${API_VERSION} .include diff --git a/x11-toolkits/wlroots018/Makefile b/x11-toolkits/wlroots018/Makefile index 726bfd7b3f56..14cd4eb94b01 100644 --- a/x11-toolkits/wlroots018/Makefile +++ b/x11-toolkits/wlroots018/Makefile @@ -1,79 +1,80 @@ PORTNAME= wlroots DISTVERSION= 0.18.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 018 MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library (deprecated 0.18.* series) WWW= https://gitlab.freedesktop.org/wlroots/wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gl meson pkgconfig xorg USE_GITLAB= yes USE_GL= gbm USE_XORG= pixman USE_LDCONFIG= yes GL_SITE= https://gitlab.freedesktop.org MESON_FALSE= examples MESON_ARGS= -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:ts,} PLIST_SUB= SUFFIX=-${DISTVERSION:R} PORTSCOUT= limit:^0\.18\. OPTIONS_DEFINE= DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_DEFAULT=DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ hwdata>0:misc/hwdata DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput DRM_MESON_ENABLED= session DRM_VARS= BACKENDS+="drm libinput" LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= color-management LIBLIFTOFF_DESC= libliftoff DRM interface (see WLR_DRM_FORCE_LIBLIFTOFF) LIBLIFTOFF_LIB_DEPENDS= libliftoff.so:graphics/libliftoff LIBLIFTOFF_MESON_ENABLED= libliftoff LIBLIFTOFF_IMPLIES= DRM OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri OPENGL_USE= GL=egl,glesv2 OPENGL_VARS= RENDERERS+=gles2 VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri \ vulkan-headers>0:graphics/vulkan-headers VULKAN_VARS= RENDERERS+=vulkan X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm X11_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ Xwayland:x11-servers/xwayland X11_RUN_DEPENDS= Xwayland:x11-servers/xwayland X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland X11_VARS= BACKENDS+=x11 post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} "/STR/s/meson.project_version()/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/include/wlr/meson.build .include diff --git a/x11-toolkits/wlroots019/Makefile b/x11-toolkits/wlroots019/Makefile index 939f33ddfefb..780c0a68999e 100644 --- a/x11-toolkits/wlroots019/Makefile +++ b/x11-toolkits/wlroots019/Makefile @@ -1,80 +1,81 @@ PORTNAME= wlroots DISTVERSION= 0.19.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 019 MAINTAINER= jbeich@FreeBSD.org COMMENT= Modular Wayland compositor library (current 0.19.* series) WWW= https://gitlab.freedesktop.org/wlroots/wlroots LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>=1.41:graphics/wayland-protocols LIB_DEPENDS= libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c11 gl meson pkgconfig xorg USE_GITLAB= yes USE_GL= gbm USE_XORG= pixman USE_LDCONFIG= yes GL_SITE= https://gitlab.freedesktop.org MESON_FALSE= examples MESON_ARGS= -Dallocators=gbm \ -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:ts,} PLIST_SUB= SUFFIX=-${DISTVERSION:R} PORTSCOUT= limit:^0\.19\. OPTIONS_DEFINE= DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_DEFAULT=DRM LCMS2 LIBLIFTOFF OPENGL VULKAN X11 OPTIONS_SUB= yes DRM_DESC= KMS console support DRM_BUILD_DEPENDS= hwdata>0:misc/hwdata DRM_LIB_DEPENDS= libudev.so:devel/libudev-devd \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput DRM_MESON_ENABLED= session DRM_VARS= BACKENDS+="drm libinput" LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= color-management LIBLIFTOFF_DESC= libliftoff DRM interface (see WLR_DRM_FORCE_LIBLIFTOFF) LIBLIFTOFF_LIB_DEPENDS= libliftoff.so:graphics/libliftoff LIBLIFTOFF_MESON_ENABLED= libliftoff LIBLIFTOFF_IMPLIES= DRM OPENGL_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri OPENGL_USE= GL=egl,glesv2 OPENGL_VARS= RENDERERS+=gles2 VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri \ vulkan-headers>0:graphics/vulkan-headers VULKAN_VARS= RENDERERS+=vulkan X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-icccm.so:x11/xcb-util-wm X11_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ Xwayland:x11-servers/xwayland X11_RUN_DEPENDS= Xwayland:x11-servers/xwayland X11_USE= XORG=xcb X11_MESON_ENABLED= xwayland X11_VARS= BACKENDS+=x11 post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} "/STR/s/meson.project_version()/'${DISTVERSIONFULL}'/" \ ${WRKSRC}/include/wlr/meson.build .include diff --git a/x11-wm/magpie/Makefile b/x11-wm/magpie/Makefile index b32d6fbd094d..70c9770fc650 100644 --- a/x11-wm/magpie/Makefile +++ b/x11-wm/magpie/Makefile @@ -1,52 +1,53 @@ PORTNAME= magpie DISTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= x11-wm budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= X11 window manager and compositor library for Budgie desktop WWW= https://github.com/BuddiesOfBudgie/magpie LICENSE= GPLv2+ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libgudev-1.0.so:devel/libgudev \ libdrm.so:graphics/libdrm \ libinput.so:x11/libinput \ libgbm.so:graphics/mesa-libs \ libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libgraphene-1.0.so:graphics/graphene \ libjson-glib-1.0.so:devel/json-glib \ libstartup-notification-1.so:x11/startup-notification \ libupower-glib.so:sysutils/upower \ libxkbcommon.so:x11/libxkbcommon \ liblcms2.so:graphics/lcms2 \ libdbus-1.so:devel/dbus \ libcolord.so:graphics/colord RUN_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config USES= budgie compiler:c++0x gettext-tools gl gnome localbase meson \ pkgconfig python:build shebangfix tar:xz xorg USE_GL= egl gbm USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 introspection:build USE_LDCONFIG= yes USE_XORG= ice sm x11 xau xcb xcomposite xcursor xdamage xext xfixes xi \ xinerama xkbfile xrandr xrender xtst MESON_ARGS= -Dsystemd=false \ -Dnative_backend=false \ -Dremote_desktop=false \ -Dlibwacom=false \ -Dprofiler=false CFLAGS+= -Wno-format-nonliteral CPPFLAGS+= -fno-omit-frame-pointer SHEBANG_FILES= tools/get-state.py .include diff --git a/x11-wm/mutter/Makefile b/x11-wm/mutter/Makefile index f20c6fe427a2..b3f4f339c43f 100644 --- a/x11-wm/mutter/Makefile +++ b/x11-wm/mutter/Makefile @@ -1,75 +1,76 @@ PORTNAME= mutter PORTVERSION= 47.10 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Window and compositing manager based on Clutter WWW= https://gnome.pages.gitlab.gnome.org/mutter/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config \ dbus>0:devel/dbus LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libgudev-1.0.so:devel/libgudev \ libdrm.so:graphics/libdrm \ libinput.so:x11/libinput \ libfribidi.so:converters/fribidi \ libgraphene-1.0.so:graphics/graphene \ libpipewire-0.3.so:multimedia/pipewire \ libstartup-notification-1.so:x11/startup-notification \ libxkbcommon.so:x11/libxkbcommon \ liblcms2.so:graphics/lcms2 \ libcolord.so:graphics/colord \ libharfbuzz.so:print/harfbuzz \ libei.so:x11/libei \ libdisplay-info.so:sysutils/libdisplay-info RUN_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ xkeyboard-config>0:x11/xkeyboard-config USES= compiler:c++0x gettext-tools gl gnome localbase meson \ pkgconfig tar:xz xorg USE_GL= egl gbm USE_GNOME= atk cairo gdkpixbuf gnomedesktop4 gtk40 introspection:build USE_XORG= ice pixman sm x11 xcb xcomposite xcursor xdamage xext \ xfixes xi xinerama xkbfile xrandr xrender xtst USE_LDCONFIG= yes PORTSCOUT= limit:^47\. CFLAGS+= -Wno-unknown-warning-option -Wno-format-nonliteral CPPFLAGS+= -fno-omit-frame-pointer MESON_ARGS= -Dlibdisplay_info=enabled \ -Dlibwacom=false \ -Dnative_backend=false \ -Dprofiler=false \ -Dsystemd=false \ -Dtests=disabled \ -Dcogl_tests=false \ -Dclutter_tests=false \ -Dmutter_tests=false \ -Dinstalled_tests=false GLIB_SCHEMAS= org.gnome.mutter.gschema.xml \ org.gnome.mutter.wayland.gschema.xml OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT= WAYLAND OPTIONS_SUB= yes WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ xwayland>0:x11-servers/xwayland WAYLAND_LIB_DEPENDS= libwayland-server.so:graphics/wayland WAYLAND_RUN_DEPENDS= xwayland>0:x11-servers/xwayland WAYLAND_USE= XORG=xau WAYLAND_MESON_TRUE= wayland \ xwayland .include diff --git a/x11-wm/plasma6-kwin-x11/Makefile b/x11-wm/plasma6-kwin-x11/Makefile index 121e35e210a9..65a0379a40bf 100644 --- a/x11-wm/plasma6-kwin-x11/Makefile +++ b/x11-wm/plasma6-kwin-x11/Makefile @@ -1,44 +1,45 @@ PORTNAME= kwin-x11 DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde kde-plasma COMMENT= Easy to use, but flexible, X Window Manager MAINTAINER= kde@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ hwdata>0:misc/hwdata \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ liblcms2.so:graphics/lcms2 \ libpipewire-0.3.so:multimedia/pipewire \ libqaccessibilityclient-qt6.so:accessibility/libqaccessibilityclient@qt6 \ libudev.so:devel/libudev-devd \ libwayland-client.so:graphics/wayland \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= hwdata>0:misc/hwdata USES= cmake gettext gl kde:6 pkgconfig python qt:6 shebangfix tar:xz \ xorg USE_GL= egl gbm gl opengl USE_KDE= auth breeze colorscheme config \ configwidgets coreaddons crash dbusaddons decoration \ globalaccel globalacceld guiaddons i18n idletime kcmutils \ kdeclarative knighttime kscreenlocker libplasma newstuff \ notifications package runner service svg widgetsaddons \ windowsystem xmlgui \ ecm:build plasma-wayland-protocols:build \ aurorae:run breeze:run USE_QT= base declarative sensors tools wayland USE_XORG= ice sm x11 xcb xext xi BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= src/plugins/strip-effect-metadata.py .include diff --git a/x11-wm/plasma6-kwin/Makefile b/x11-wm/plasma6-kwin/Makefile index 3eab26731272..76c72b30ce55 100644 --- a/x11-wm/plasma6-kwin/Makefile +++ b/x11-wm/plasma6-kwin/Makefile @@ -1,60 +1,60 @@ PORTNAME= kwin DISTVERSION= ${KDE_PLASMA_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm kde kde-plasma PATCH_SITES= https://invent.kde.org/plasma/kwin/-/commit/ PATCHFILES= f79af348ed9f18bc30417df4bfe539383fd9fa77.patch:-p1 COMMENT= Easy to use, but flexible, Wayland Compositor MAINTAINER= kde@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ hwdata>0:misc/hwdata \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libinput.so:x11/libinput \ liblcms2.so:graphics/lcms2 \ libpipewire-0.3.so:multimedia/pipewire \ libqaccessibilityclient-qt6.so:accessibility/libqaccessibilityclient@qt6 \ libudev.so:devel/libudev-devd \ libwayland-client.so:graphics/wayland \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcvt.so:x11/libxcvt \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= hwdata>0:misc/hwdata \ Xwayland:x11-servers/xwayland USES= cmake gettext gl kde:6 pkgconfig python qt:6 shebangfix tar:xz \ xorg USE_GL= egl gbm gl opengl USE_KDE= auth colorscheme config \ coreaddons crash dbusaddons decoration \ globalaccel globalacceld guiaddons holidays i18n idletime kcmutils \ kdeclarative knighttime kpipewire kscreenlocker libplasma newstuff \ notifications package runner service svg wayland widgetsaddons \ windowsystem xmlgui \ ecm:build plasma-wayland-protocols:build \ aurorae:run breeze:run USE_QT= base declarative multimedia sensors tools wayland USE_XORG= ice sm x11 xcb xext xi DATADIR= ${PREFIX}/share/kwin-wayland BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= src/plugins/strip-effect-metadata.py CONFLICTS_INSTALL= theseus-ship # bin/kwin_wayland OPTIONS_DEFINE= EI OPTIONS_DEFAULT= EI OPTIONS_SUB= yes EI_DESC= Emulated input for Wayland EI_LIB_DEPENDS= libei.so:x11/libei EI_CMAKE_BOOL= KWIN_BUILD_EIS .include diff --git a/x11/babl/Makefile b/x11/babl/Makefile index 610327294046..871d178ce63e 100644 --- a/x11/babl/Makefile +++ b/x11/babl/Makefile @@ -1,70 +1,71 @@ PORTNAME= babl PORTVERSION= 0.1.122 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= GIMP MAINTAINER= gnome@FreeBSD.org COMMENT= Dynamic pixel format conversion library WWW= https://www.gegl.org/babl/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 USES= compiler:c11 gnome meson pathfix pkgconfig tar:xz vala:build USE_GNOME= introspection:build USE_LDCONFIG= yes # relocatable does not mean ELF relocation MESON_ARGS= -Dgi-docgen=disabled -Dwith-docs=false -Drelocatable=disabled BABL_SHLIB= 0.221.1 BABL_VER= 0.1 PLIST_SUB+= BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER} OPTIONS_DEFINE_amd64= AVX2 F16C MMX SSE2 SSE41 SSE OPTIONS_DEFINE_i386= AVX2 F16C MMX SSE2 SSE41 SSE OPTIONS_DEFAULT_amd64= MMX SSE2 SSE AVX2_DESC= Use AVX2 optimized routines F16C_DESC= Use F16C optimized routines SSE2_DESC= Use SSE2 optimized routines SSE41_DESC= Use SSE4.1 optimized routines AVX2_IMPLIES= SSE41 AVX2_MESON_ON= -Denable-avx2=true AVX2_MESON_OFF= -Denable-avx2=false F16C_IMPLIES= MMX F16C_MESON_ON= -Denable-f16c=true F16C_MESON_OFF= -Denable-f16c=false MMX_MESON_ON= -Denable-mmx=true MMX_MESON_OFF= -Denable-mmx=false SSE2_IMPLIES= SSE SSE2_MESON_ON= -Denable-sse2=true SSE2_MESON_OFF= -Denable-sse2=false SSE41_IMPLIES= SSE2 SSE41_MESON_ON= -Denable-sse4_1=true SSE41_MESON_OFF= -Denable-sse4_1=false SSE_IMPLIES= MMX SSE_MESON_ON= -Denable-sse=true SSE_MESON_OFF= -Denable-sse=false .include .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" ARM="@comment " .elif ${ARCH} == "armv6" || ${ARCH} == "armv7" PLIST_SUB+= AMD64="@comment " ARM="" .else PLIST_SUB+= AMD64="@comment " ARM="@comment " .endif .include diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index de43805f33dc..09b50ab28a77 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,156 +1,156 @@ PORTNAME= kitty DISTVERSIONPREFIX= v DISTVERSION= 0.45.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 wayland MAINTAINER= nivit@FreeBSD.org COMMENT= Cross-platform, fast, featureful, GPU-based terminal emulator WWW= https://sw.kovidgoyal.net/kitty/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-autobuild>=2025.8.25:textproc/py-sphinx-autobuild@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-inline-tabs>0:textproc/py-sphinx-inline-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxext-opengraph>0:textproc/py-sphinxext-opengraph@${PY_FLAVOR} \ nerd-fonts>=3.1.1:x11-fonts/nerd-fonts \ roboto-fonts-ttf>=2.134:x11-fonts/roboto-fonts-ttf \ simde>=0.7.6:devel/simde \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ urw-base35-fonts>=20200910:x11-fonts/urw-base35-fonts \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libcairo.so:graphics/cairo \ libcanberra.so:audio/libcanberra \ libdbus-1.so:devel/dbus \ libepoll-shim-interpose.so:devel/libepoll-shim \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ librsync.so:net/librsync \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxxhash.so:devel/xxhash USES= compiler:c11 cpe desktop-file-utils gettext-runtime gl gmake \ go:modules magick pkgconfig python shebangfix ssl tar:xz \ terminfo xorg CPE_VENDOR= kitty_project USE_GL= gl USE_XORG= x11 xcb xcursor xi xinerama xrandr SHEBANG_FILES= build-terminfo count-lines-of-code update-on-ox SHEBANG_GLOB= *.py GO_MODULE= github.com/kovidgoyal/kitty MAKE_ENV= PYTHONDONTWRITEBYTECODE=1 TEST_ENV= PATH="${STAGEDIR}${PREFIX}/bin:${PATH}" TEST_TARGET= test CPPFLAGS+= `pkg-config --cflags epoll-shim-interpose` LDFLAGS+= `pkg-config --libs epoll-shim-interpose` PIE_UNSAFE= yes BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD} BUILD_DIR= ${WRKSRC}/${OPSYS:tl}-package INSTALL_WRKSRC= ${WRKSRC}/linux-package _STRIP_TARGETS= kitty/fast_data_types.so kitty/glfw-x11.so \ kitty/glfw-wayland.so kittens/transfer/rsync.so _EMPTY_DIRS= kittens/choose kittens/diff kittens/unicode_input kittens kitty OPTIONS_DEFINE= DOCS DOCS_MAKE_ENV= BUILD_DOCS=yes .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=invalid-utf8 -Winvalid-utf8 .endif .if ${ARCH:Mriscv64*} MAKE_ENV+= KITTY_NO_LTO=1 .endif # ncursesw and tinfo >= 6.1 seem to be neededd .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035 USES+= ncurses:port .else USES+= ncurses .endif # PR291485 # Temporarily disable build/installation of docs and man pages on FreeBSD >= 15.0 # See: # https://pkg-status.freebsd.org/beefy23/data/150amd64-default/e05e2042985b/logs/kitty-0.44.0_1.log # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291485 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000 MAKE_ENV+= BUILD_MANPAGES=yes PLIST_SUB+= PORTMANPAGES="" .else DOCS_MAKE_ENV= BUILD_DOCS=no MAKE_ENV+= BUILD_MANPAGES=no PLIST_SUB:= ${PLIST_SUB:S/PORTDOCS=""//1} PLIST_SUB+= PORTDOCS="@comment " \ PORTMANPAGES="@comment " .endif post-patch: ${REINPLACE_CMD} -E \ -e "s:'go':'${GO_CMD}':1" \ -e "s:(dirs_exist_ok=True):\1, ignore=shutil.ignore_patterns('*.orig', '*.bak'):1" \ ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:1" \ ${WRKSRC}/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish # For librsync, we need to set header and library path do-build: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -OO setup.py \ --extra-include-dirs ${LOCALBASE}/include \ --extra-library-dirs ${LOCALBASE}/lib \ --libdir-name share \ --prefix ${BUILD_DIR:T} \ --update-check-interval 0 \ linux-package) do-install: cd ${BUILD_DIR} && \ ${INSTALL_PROGRAM} bin/kitty bin/kitten ${STAGEDIR}${PREFIX}/bin && \ ${INSTALL_DATA} share/applications/* ${STAGEDIR}${DESKTOPDIR} && \ cd ${BUILD_DIR}/share/icons/hicolor && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icons/hicolor cd ${BUILD_DIR}/share/kitty && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/terminfo/kitty.terminfo \ ${STAGEDIR}${PREFIX}/share/misc/ ${STRIP_CMD} ${_STRIP_TARGETS:S|^|${STAGEDIR}${DATADIR}/|} # PR291485: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291485 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000 ${INSTALL_MAN} ${BUILD_DIR}/share/man/man1/kitty.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${BUILD_DIR}/share/man/man5/kitty.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5 .endif do-install-DOCS-on: # PR291485: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291485 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500000 cd ${BUILD_DIR}/share/doc/kitty/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "-not ( -name .buildinfo -or -name .nojekyll )" .else @${DO_NADA} .endif .include