Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2026 15:15:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 295353] ports-mgmt/pkg: does not show a dependency for a package, but removing it wants to remove many others; autoremove trying to remove a manually installed package
Message-ID:  <bug-295353-32340-3ob9FH5xSt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295353-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295353

--- Comment #9 from Martin Birgmeier <d8zNeCFG@aon.at> ---
(In reply to Mark Millard from comment #7)

In comment #5 I explained why in my build, gtk4 becomes a shlib dependency of
libinput.

I have since patched libinput's meson.build to only look for gtk3, as that is
referenced in the ports Makefile of libinput:

--- ./meson.build.ORIG  2026-04-02 03:04:12.000000000 +0200
+++ ./meson.build       2026-05-17 13:35:47.764416000 +0200
@@ -674,14 +674,9 @@

 if get_option('debug-gui')
        config_h.set('HAVE_DEBUG_GUI', 1)
-       dep_gtk = dependency('gtk4', version : '>= 4.0', required : false)
+       dep_gtk = dependency('gtk+-3.0', version : '>= 3.20')
        if dep_gtk.found()
-               config_h.set('HAVE_GTK4', 1)
-       else
-               dep_gtk = dependency('gtk+-3.0', version : '>= 3.20')
-               if dep_gtk.found()
-                       config_h.set('HAVE_GTK3', 1)
-               endif
+               config_h.set('HAVE_GTK3', 1)
        endif

        gtk_targets = dep_gtk.get_variable('targets')

This is of course not necessary for poudriere builds.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295353-32340-3ob9FH5xSt>