pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Rebuilding firefore



On Fri, Apr 04, 2025 at 10:41:30AM -0400, Todd Gruhn wrote:
> The error is  below. The meson prob showed up again.
> How do I fix it?
> Whack  /usr/pkg and rebuild all? HMMMMMM...
> 
> 
> Run-time dependency xcomposite found: YES 0.4.6
> Run-time dependency fontconfig found: YES 2.15.0
> Run-time dependency atk-bridge-2.0 found: NO (tried pkgconfig)
> 
> meson.build:570:19: ERROR: Dependency "atk-bridge-2.0" not found,
> tried pkgconfig
> 
> A full log can be found at
> /usr/pkgsrc/x11/gtk3/work/gtk+-3.24.43/output/meson-logs/meson-log.txt
> *** Error code 1

You need to enable the dbus option for at-spi2-core.

Perhaps we should add a patch like the attached one, since this keeps
coming up (untested).
 Thomas
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/gtk3/Makefile,v
retrieving revision 1.211
diff -u -r1.211 Makefile
--- Makefile	25 Jan 2025 10:15:24 -0000	1.211
+++ Makefile	4 Apr 2025 11:06:53 -0000
@@ -97,18 +97,22 @@
 _BUILDING_GTK3=	yes
 .include "modules.mk"
 
+.include "options.mk"
+
 .include "../../converters/fribidi/buildlink3.mk"
 .include "../../databases/shared-mime-info/buildlink3.mk"
 BUILDLINK_API_DEPENDS.at-spi2-core+=	at-spi2-core>=2.54
 .include "../../devel/at-spi2-core/buildlink3.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.gtk3:Mgtk3-atk-bridge) && empty(PKG_BUILD_OPTIONS.at-spi2-core:Mdbus)
+BROKEN=		"gtk3 with the gtk3-atk-bridge enabled needs at-spi2-core built with the dbus option."
+.endif
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.57.2
 .include "../../devel/glib2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gdk-pixbuf2+=	gdk-pixbuf2>=2.30.0
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
-
-.include "options.mk"
-
 .include "../../devel/glib2/schemas.mk"
 .include "../../devel/meson/build.mk"
 BUILDLINK_API_DEPENDS.pango+=	pango>=1.41


Home | Main Index | Thread Index | Old Index