From nobody Sun Oct 10 17:47:47 2021 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 7946917E4C63; Sun, 10 Oct 2021 17:47:48 +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 4HS8XN264Hz3jRG; Sun, 10 Oct 2021 17:47:48 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 04BE4120DC; Sun, 10 Oct 2021 17:47:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19AHllPv070785; Sun, 10 Oct 2021 17:47:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19AHllj2070784; Sun, 10 Oct 2021 17:47:47 GMT (envelope-from git) Date: Sun, 10 Oct 2021 17:47:47 GMT Message-Id: <202110101747.19AHllj2070784@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 46bcb098c82f - main - graphics/gtk-update-icon-cache: use triggers 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 46bcb098c82f7a18c7667fc99f6a7824b2b6eeef Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=46bcb098c82f7a18c7667fc99f6a7824b2b6eeef commit 46bcb098c82f7a18c7667fc99f6a7824b2b6eeef Author: Baptiste Daroussin AuthorDate: 2021-09-14 15:24:59 +0000 Commit: Baptiste Daroussin CommitDate: 2021-10-10 17:46:46 +0000 graphics/gtk-update-icon-cache: use triggers Use triggers instead of enforcing the INSTALL_ICONS which enforces gtk-update-icon-cache dependency on every ports installing icons. The bonus: - factorize gtk-update-icon-cache update at the end of the build - stop adding a gratuicious dependency on gtk-update-icon-cache on packages which do not need it - works on packages where INSTALLS_ICONS were forgotten PR: 258502 Exp-run: antoine Reviewed by: tcberner Differential Revision: https://reviews.freebsd.org/D31960 --- graphics/gtk-update-icon-cache/Makefile | 3 ++- .../files/gtk-update-icon-cache.ucl.in | 30 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/graphics/gtk-update-icon-cache/Makefile b/graphics/gtk-update-icon-cache/Makefile index 495ea3ae2ca2..9f36054ee9a7 100644 --- a/graphics/gtk-update-icon-cache/Makefile +++ b/graphics/gtk-update-icon-cache/Makefile @@ -2,6 +2,7 @@ PORTNAME= gtk-update-icon-cache PORTVERSION= 3.24.26 +PORTREVISION= 1 CATEGORIES= graphics DIST_SUBDIR= gnome @@ -11,7 +12,7 @@ COMMENT= Gtk-update-icon-cache utility from the Gtk+ toolkit LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gettext gnome meson pkgconfig +USES= gettext gnome meson pkgconfig trigger USE_GNOME= gdkpixbuf2 USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org diff --git a/graphics/gtk-update-icon-cache/files/gtk-update-icon-cache.ucl.in b/graphics/gtk-update-icon-cache/files/gtk-update-icon-cache.ucl.in new file mode 100644 index 000000000000..faa02503c7f4 --- /dev/null +++ b/graphics/gtk-update-icon-cache/files/gtk-update-icon-cache.ucl.in @@ -0,0 +1,30 @@ +path_glob: "*/share/icons/*" +trigger: { + type: lua + sandbox: false + script: <