pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "gimp" build fails in configure phase.
> On Sep 24, 2026, at 3:54 AM, John D. Baker <jdbaker%consolidated.net@localhost> wrote:
>
> On Wed, 23 Sep 2026, John D. Baker wrote:
>
>> On Wed, 23 Sep 2026, Rhialto wrote:
>>
>>> I will try to remove ", wayland-client >= 1.15" from there forcefully
>>
>> Since I've updated all my other packages already, only 'gimp' remains.
>> I've removed that item as well and 'gimp' completes configuration and
>> is currently building. Should be done soon.
>
> With that change, gimp builds, installs, and runs, although I haven't
> done anything more than just go as far as it's initial window.
>
> Thanks for the heads-up on the appstream.pc file. Perhaps that needs
> a patch, subst block, or option to control?
Appstream has an option to disable wayland. Here is a patch
against pkgsrc/devel/appstream/Makefile and the contents of a
new file pkgsrc/devel/appstream/options.mk that adds a package
option to use the appstream option.
Does this fix your problem?
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/appstream/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- Makefile 2 Sep 2026 19:01:21 -0000 1.35
+++ Makefile 6 Oct 2026 13:59:57 -0000
@@ -39,10 +39,7 @@
SUBST_FILES.paths= meson.build
SUBST_SED.paths= -e 's,/usr/include,${PREFIX}/include,g'
-.include "../../devel/wayland/platform.mk"
-.if !empty(PLATFORM_SUPPORTS_WAYLAND:Myes)
-.include "../../devel/wayland/buildlink3.mk"
-.endif
+.include "options.mk"
.include "../../archivers/zstd/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
---
# $NetBSD$
PKG_OPTIONS_VAR= PKG_OPTIONS.appstream
PKG_SUPPORTED_OPTIONS= wayland
PKG_SUGGESTED_OPTIONS=
.include "../../devel/wayland/platform.mk"
.if !empty(PLATFORM_SUPPORTS_WAYLAND:Myes)
PKG_SUGGESTED_OPTIONS+= wayland
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mwayland) && !empty(PLATFORM_SUPPORTS_WAYLAND:Myes)
MESON_ARGS+= -Ddisplay-detection=wayland
. include "../../devel/wayland/buildlink3.mk"
.else
MESON_ARGS+= -Ddisplay-detection=none
.endif
Home |
Main Index |
Thread Index |
Old Index