From nobody Mon Oct 11 07:17:49 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 8DBC617E2F21; Mon, 11 Oct 2021 07:17:49 +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 4HSVW13bYzz4snQ; Mon, 11 Oct 2021 07:17:49 +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 57B751CC41; Mon, 11 Oct 2021 07:17:49 +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 19B7HneM050286; Mon, 11 Oct 2021 07:17:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19B7HnQB050285; Mon, 11 Oct 2021 07:17:49 GMT (envelope-from git) Date: Mon, 11 Oct 2021 07:17:49 GMT Message-Id: <202110110717.19B7HnQB050285@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: 39ca450a594c - main - x11-themes/papirus-icon-theme: let the trigger handle the icon cache 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: 39ca450a594c565d54891e44df03396505cd23d2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=39ca450a594c565d54891e44df03396505cd23d2 commit 39ca450a594c565d54891e44df03396505cd23d2 Author: Baptiste Daroussin AuthorDate: 2021-10-11 07:09:37 +0000 Commit: Baptiste Daroussin CommitDate: 2021-10-11 07:09:37 +0000 x11-themes/papirus-icon-theme: let the trigger handle the icon cache gtk-update-icon-cache is now handled by a trigger, let it deal with the cache --- x11-themes/papirus-icon-theme/Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/x11-themes/papirus-icon-theme/Makefile b/x11-themes/papirus-icon-theme/Makefile index 21c1f6b54506..a7c5e9021b12 100644 --- a/x11-themes/papirus-icon-theme/Makefile +++ b/x11-themes/papirus-icon-theme/Makefile @@ -8,8 +8,7 @@ COMMENT= Papirus icon theme LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake gnome -USE_GNOME= gtk-update-icon-cache +USES= gmake USE_GITHUB= yes GH_ACCOUNT= PapirusDevelopmentTeam @@ -17,7 +16,6 @@ GH_ACCOUNT= PapirusDevelopmentTeam NO_ARCH= yes NO_BUILD= yes -POST_PLIST= add-plist-icon-cache PORTDOCS= AUTHORS README.md OPTIONS_DEFINE= DOCS @@ -30,15 +28,4 @@ post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -add-plist-icon-cache: -# taken from Mk/Uses/gnome.mk gnome-post-icons - for dir in `${GREP} "^share/icons/.*/" ${TMPPLIST} | \ - ${CUT} -d / -f 1-3 | ${SORT} -u`; do \ - ${ECHO_CMD} "@rmtry $${dir}/icon-theme.cache" >> ${TMPPLIST}; \ - ${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache \ - -q -f %D/$${dir} 2>/dev/null || /usr/bin/true" >> ${TMPPLIST}; \ - ${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache \ - -q -f %D/$${dir} 2>/dev/null || /usr/bin/true" >> ${TMPPLIST}; \ - done - .include