Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2023 09:38:29 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b0fbae59664e - main - graphics/gdk-pixbuf2-xlib: remove useless trigger
Message-ID:  <202304040938.3349cTb2021847@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b0fbae59664e3f22ace952da2f229654d51e1861

commit b0fbae59664e3f22ace952da2f229654d51e1861
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-04-04 09:34:36 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-04-04 09:38:27 +0000

    graphics/gdk-pixbuf2-xlib: remove useless trigger
    
    The trigger provided by gdk-pixbuf-xlib is the same as the one
    provided by gdk-pixbuf2 itself, gtk-pixbuf-xlib actually depends on
    gdk-pixbuf2 so it will anyway trigger the trigger.
    
    Having 2 triggers do make the same commandes being executed twice
    when only once is enough
    
    The only difference between the 2 is the fact the cleanup version
    in xlib one to prevent stepping on the toes of the gdk-pixbuf2.
---
 graphics/gdk-pixbuf2-xlib/Makefile                      |  5 ++---
 .../files/gdk-pixbuf-query-loaders-xlib.ucl.in          | 17 -----------------
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/graphics/gdk-pixbuf2-xlib/Makefile b/graphics/gdk-pixbuf2-xlib/Makefile
index c7b1d41d0d21..e2617f1e1d40 100644
--- a/graphics/gdk-pixbuf2-xlib/Makefile
+++ b/graphics/gdk-pixbuf2-xlib/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gdk-pixbuf-xlib
 PORTVERSION=	2.40.2
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -14,13 +15,11 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	docbook-xsl>0:textproc/docbook-xsl
 
 USES=		cpe gettext gnome localbase:ldflags meson pkgconfig \
-		python:3.7+,build shared-mime-info tar:xz trigger xorg
+		python:3.7+,build shared-mime-info tar:xz xorg
 CPE_VENDOR=	gnome
 USE_GNOME=	glib20 introspection:build libxslt:build gdkpixbuf2
 USE_XORG=	x11
 USE_LDCONFIG=	yes
-TRIGGERS=	gdk-pixbuf-query-loaders-xlib
-SUB_LIST=	GTK2_VERSION=${GTK2_VERSION}
 
 BINARY_ALIAS=	python3=${PYTHON_VERSION}
 
diff --git a/graphics/gdk-pixbuf2-xlib/files/gdk-pixbuf-query-loaders-xlib.ucl.in b/graphics/gdk-pixbuf2-xlib/files/gdk-pixbuf-query-loaders-xlib.ucl.in
deleted file mode 100644
index 9dc3cf170cc4..000000000000
--- a/graphics/gdk-pixbuf2-xlib/files/gdk-pixbuf-query-loaders-xlib.ucl.in
+++ /dev/null
@@ -1,17 +0,0 @@
-path: "%%PREFIX%%/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders"
-cleanup: {
-	type: lua
-	sandbox: false
-	script: <<EOS
-print("Regenerate gdk-pixbuf cache directory")
-pkg.exec({"%%PREFIX%%/bin/gdk-pixbuf-query-loaders", "--update-cache"})
-EOS
-}
-trigger: {
-	type: lua
-	sandbox: false
-	script: <<EOS
-print("Generating gdk-pixbuf modules cache")
-pkg.exec({"%%PREFIX%%/bin/gdk-pixbuf-query-loaders", "--update-cache"})
-EOS
-}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304040938.3349cTb2021847>