From nobody Sat Jun 01 23:24:24 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VsGKP07m7z5LXP0; Sat, 01 Jun 2024 23:24:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VsGKN5CFVz41d8; Sat, 1 Jun 2024 23:24:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717284264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5dQsIuQ636niHo/sXbLI8JEMr4MHV2hMbRLVx21CM18=; b=QWvqhnyl5T+jHpL1WDn+rXAlgld9Q/clAlFhnT8c/ZGjdEbRX0vNogxw5DhtILMspCYUGf vs3ojSx41sMkHgWEdLcDFK7GF2yDtMgcOMWujcXzqF3uRhFw9g9CYadJZ3UZCTxmM0DfCF 7T7EYCEp3GBIP/bp7+TMGf135WdE8YYJD6Bn2GZst+3snCrGznarYEo4WtfYw8wKawN/VQ l8iSHR11wgIIDeq+fit3g+vOLLOyMDiDceB5iPmAgK+w9wEA8NBYZZSE1OcHoKjLQW2KsJ reSy+/kW6fnKGzg+UKA+NKX3hvzKqk43uDif1kxoC5HGViAXY01thog3EgfovA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717284264; a=rsa-sha256; cv=none; b=UiiLjQNM5vq9lHZIU3ltPDcWydoxYwH65IZviD59UlNyoJzy3A5mh95nOqUBTnodGAASbY y7y/Wr5Iv5ov/P3pIuMhH8iD/rKCKzx0VYcuW8Fih8uYKYipkWlveRk2oHqGNaftY+VZhN TmpaIKqiCh58UOdRyvr2b6g9eS1RC7MXYiCXWZsDPTPACMiWU2qxNLOJd4OqdEZqrd2eV0 iuN+bsFP78S87m9Zw33SFSjOeMnCXi1qmR4d3dZYgCqxab8J8/T29ddPFHuLfsFt5AhN8C MMDcsjPwBSHJR54YONsSBiCFx3xYIMCKAXavFgkWM/78UsQgdfQmHUqyiRO7kA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717284264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5dQsIuQ636niHo/sXbLI8JEMr4MHV2hMbRLVx21CM18=; b=A+1phXiqDerefoplAq272d2x26KNSb9vJgouAQIZdptGpsj7d51XZqbfEEbWrxbHfPWJ5f BIWjxacXGZsQMFBuvYSZIy1//D1iM/8Vc9WS0VyikzCRBp4GUCSHc0dh1y3UPg0oEEDoGc RMDytJnKj+JyPEPeS9XZ4q4LJMOjk0ImKt+WgmdCkSYBXCSI0GSTyCo9pCyiChTr9c4ytE 7rEBdPvVTFvMrnYYun6EMqUabVXQBiiGxDV0hN4NFfEl1OOQZXPX53hck7w+owPywMEPj7 zB/0MAJDxAlLWSkRPgMVLZlnLP5vW/YVFESrXVgOjeIcwS+ViJfd6liHWLnZCA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VsGKN4YtDzSJd; Sat, 1 Jun 2024 23:24:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 451NOOhc088532; Sat, 1 Jun 2024 23:24:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 451NOOlO088529; Sat, 1 Jun 2024 23:24:24 GMT (envelope-from git) Date: Sat, 1 Jun 2024 23:24:24 GMT Message-Id: <202406012324.451NOOlO088529@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 1d1d7ac81d64 - main - graphics/gegl: sort out Makefile and pet portclippy List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1d1d7ac81d64a108829f66e0f93f53fe46fc57c4 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d1d7ac81d64a108829f66e0f93f53fe46fc57c4 commit 1d1d7ac81d64a108829f66e0f93f53fe46fc57c4 Author: Vladimir Druzenko AuthorDate: 2024-06-01 20:24:38 +0000 Commit: Vladimir Druzenko CommitDate: 2024-06-01 23:16:57 +0000 graphics/gegl: sort out Makefile and pet portclippy Also: - remove unnecessary dependency from fribidi; - LIBRSVG2, PANGO and POPPLER used only if CAIRO is ON; - resurect option UMFPACK; - remove patch for powerpc* with altivec. PR: 279280 Tested by: pkubaj (build on powerpc*) Approved by: fluffy (gnome, maintainer) --- graphics/gegl/Makefile | 114 ++++++++++++++++++++++-------------------------- graphics/gegl/pkg-plist | 7 +-- 2 files changed, 57 insertions(+), 64 deletions(-) diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 3375c0063b1b..adfdd91f051f 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,5 +1,6 @@ PORTNAME= gegl -PORTVERSION= 0.4.48 +DISTVERSION= 0.4.48 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GIMP @@ -15,19 +16,21 @@ LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libbabl-0.1.so:x11/babl \ libjson-glib-1.0.so:devel/json-glib \ - libfribidi.so:converters/fribidi \ libnsgif.so:graphics/libnsgif \ libpng.so:graphics/png -USES= cpe gettext gnome jpeg localbase meson pkgconfig shebangfix \ +USES= cpe gettext gnome jpeg localbase:ldflags meson pkgconfig shebangfix \ uniquefiles tar:xz -.if !exists(/usr/include/omp.h) -USES+= compiler:gcc-c++11-lib -.else +.if exists(/usr/include/omp.h) USES+= compiler:c++14-lang +.else +USES+= compiler:gcc-c++11-lib .endif USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes + +SHEBANG_FILES= tools/xml_insert.sh + MESON_ARGS= -Ddocs=false \ -Dgi-docgen=disabled \ -Dworkshop=false \ @@ -47,34 +50,33 @@ GEGL_SHLIB= 0.447.1 GEGL_VER= 0.4 PLIST_SUB+= GEGL_SHLIB=${GEGL_SHLIB} GEGL_VER=${GEGL_VER} -SHEBANG_FILES= tools/xml_insert.sh +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 -OPTIONS_SUB= yes -OPTIONS_DEFINE= CAIRO ENSCRIPT FFMPEG PIXBUF GRAPHVIZ JASPER LCMS2 \ - OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L \ - WEBP TIFF GEXIV2 VAPI -OPTIONS_DEFAULT=CAIRO ENSCRIPT GEXIV2 PIXBUF GRAPHVIZ JASPER LCMS2 \ - OPENEXR RAW PANGO POPPLER LIBRSVG2 SDL SPIRO V4L WEBP TIFF VAPI - -PIXBUF_USE= GNOME=gdkpixbuf2 -PIXBUF_MESON_ENABLED= gdk-pixbuf +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_USE= GNOME=cairo CAIRO_MESON_ENABLED= cairo -PANGO_USE= GNOME=pango -PANGO_MESON_ENABLED= pango - -POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib -POPPLER_MESON_ENABLED= poppler - -ENSCRIPT_DESC= Enscript support ENSCRIPT_BUILD_DEPENDS= enscript:print/enscript-a4 FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_MESON_ENABLED= libav -GRAPHVIZ_LIB_DEPENDS= libcgraph.so:graphics/graphviz +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 @@ -83,58 +85,53 @@ JASPER_MESON_ENABLED= jasper LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms +LIBRSVG2_IMPLIES= CAIRO +LIBRSVG2_USE= GNOME=librsvg2 +LIBRSVG2_MESON_ENABLED= librsvg + OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_MESON_ENABLED= openexr +PANGO_IMPLIES= CAIRO +PANGO_USE= GNOME=pango +PANGO_MESON_ENABLED= pango pangocairo + +PIXBUF_USE= GNOME=gdkpixbuf2 +PIXBUF_MESON_ENABLED= gdk-pixbuf + +POPPLER_IMPLIES= CAIRO +POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib +POPPLER_MESON_ENABLED= poppler + RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_MESON_ENABLED= libraw -LIBRSVG2_USE= GNOME=librsvg2 -LIBRSVG2_MESON_ENABLED= librsvg - -SDL_USE= SDL=sdl2 SDL_USES= sdl +SDL_USE= SDL=sdl2 SDL_MESON_ENABLED= sdl2 -SPIRO_DESC= Spiro support 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= v4l_compat>=0:multimedia/v4l_compat -V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l +V4L_RUN_DEPENDS= libv4l>0:multimedia/libv4l V4L_MESON_ENABLED= libv4l libv4l2 V4L_VARS= LICENSE+=LGPL20+ -WEBP_LIB_DEPENDS= libwebp.so:graphics/webp -WEBP_MESON_ENABLED= webp - -# UMFPACK has two "problems" -# 1) it build with port gcc 2) needed libs aren't recorded in the libraries. -#UMFPACK_DESC= UMFpack support -#UMFPACK_LIB_DEPENDS= libumfpack.so:math/suitesparse -#UMFPACK_MESON_ENABLED= umfpack -MESON_ARGS+= -Dumfpack=disabled - -GEXIV2_DESC= EXIF and IPTC metadata support via gexiv2 -GEXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 -GEXIV2_MESON_ENABLED= gexiv2 - -TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff -TIFF_MESON_ENABLED= libtiff - VAPI_USES= vala:build VAPI_MESON_ENABLED= vapigen -.include +WEBP_LIB_DEPENDS= libwebp.so:graphics/webp +WEBP_MESON_ENABLED= webp -.if ${PORT_OPTIONS:MPANGO} && ${PORT_OPTIONS:MCAIRO} -PLIST_SUB+= PANGOCAIRO="" -MESON_ARGS+= -Dpangocairo=enabled -.else -MESON_ARGS+= -Dpangocairo=disabled -PLIST_SUB+= PANGOCAIRO="@comment " -.endif +.include .if defined(WITH_DEBUG) LDFLAGS+= -lexecinfo @@ -148,9 +145,4 @@ PLIST_SUB+= AMD64="@comment " ARM="" PLIST_SUB+= AMD64="@comment " ARM="@comment " .endif -post-patch: -.if ${CHOSEN_COMPILER_TYPE} == clang - ${REINPLACE_CMD} -e '/altivec.h/d' ${WRKSRC}/gegl/opencl/cl_platform.h -.endif - .include diff --git a/graphics/gegl/pkg-plist b/graphics/gegl/pkg-plist index 572b9285a6f1..d4499d3cf4ca 100644 --- a/graphics/gegl/pkg-plist +++ b/graphics/gegl/pkg-plist @@ -115,10 +115,11 @@ lib/gegl-%%GEGL_VER%%/grey2.json lib/gegl-%%GEGL_VER%%/jpg-load.so lib/gegl-%%GEGL_VER%%/jpg-save.so %%LCMS2%%lib/gegl-%%GEGL_VER%%/lcms-from-profile.so +%%UMFPACK%%lib/gegl-%%GEGL_VER%%/matting-levin.so %%CAIRO%%lib/gegl-%%GEGL_VER%%/npd.so lib/gegl-%%GEGL_VER%%/npy-save.so %%CAIRO%%lib/gegl-%%GEGL_VER%%/path.so -%%POPPLER%%lib/gegl-%%GEGL_VER%%/pdf-load.so +%%CAIRO%%%%POPPLER%%lib/gegl-%%GEGL_VER%%/pdf-load.so %%PIXBUF%%lib/gegl-%%GEGL_VER%%/pixbuf-load.so %%PIXBUF%%lib/gegl-%%GEGL_VER%%/pixbuf-save.so lib/gegl-%%GEGL_VER%%/png-load.so @@ -131,8 +132,8 @@ lib/gegl-%%GEGL_VER%%/rgbe-save.so %%SDL%%lib/gegl-%%GEGL_VER%%/sdl2-display.so lib/gegl-%%GEGL_VER%%/seamless-clone-compose.so lib/gegl-%%GEGL_VER%%/seamless-clone.so -%%LIBRSVG2%%lib/gegl-%%GEGL_VER%%/svg-load.so -%%PANGOCAIRO%%lib/gegl-%%GEGL_VER%%/text.so +%%CAIRO%%%%LIBRSVG2%%lib/gegl-%%GEGL_VER%%/svg-load.so +%%CAIRO%%%%PANGO%%lib/gegl-%%GEGL_VER%%/text.so %%TIFF%%lib/gegl-%%GEGL_VER%%/tiff-load.so %%TIFF%%lib/gegl-%%GEGL_VER%%/tiff-save.so lib/gegl-%%GEGL_VER%%/transformops.so