pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/inputmethod/ibus
Module Name: pkgsrc
Committed By: tsutsui
Date: Wed Aug 19 16:18:16 UTC 2026
Modified Files:
pkgsrc/inputmethod/ibus: Makefile
Log Message:
ibus: regenerate tools Vala sources before build
The generated tools/main.c in the distfile may contain Wayland code
even when ibus is configured with --disable-wayland, causing the build
to fail due to missing wayland headers or libraries.
Clean the generated sources before build so they are regenerated
with the current configure options, as already done for ui/gtk3.
This should fix workaround for PR pkg/60476 on pkgsrc-2026Q2.
To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 pkgsrc/inputmethod/ibus/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/inputmethod/ibus/Makefile
diff -u pkgsrc/inputmethod/ibus/Makefile:1.125 pkgsrc/inputmethod/ibus/Makefile:1.126
--- pkgsrc/inputmethod/ibus/Makefile:1.125 Wed Aug 19 15:17:52 2026
+++ pkgsrc/inputmethod/ibus/Makefile Wed Aug 19 16:18:16 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2026/08/19 15:17:52 tsutsui Exp $
+# $NetBSD: Makefile,v 1.126 2026/08/19 16:18:16 tsutsui Exp $
DISTNAME= ibus-1.5.34
PKGNAME= ${DISTNAME:S/-rc/rc/:S/-beta/beta/}
@@ -85,14 +85,16 @@ PLIST.wayland= yes
CONFIGURE_ARGS+= --disable-wayland
.endif
-# Explicitly clean .c files generated from .vala sources that contain
-# "#if USE_GDK_WAYLAND" preprocessing directives since we
-# might be on a platform where gtk3 is not built with Wayland.
+# Explicitly regenerate .c sources from .vala where the generated sources
+# depend on configure result. Generated sources in the distfile may have
+# been created with different options.
# See also https://github.com/ibus/ibus/issues/2767
+#
# Also make sure to regenerate portal/ibus-portal-dbus.[ch] to
# sync with system glib2 version.
pre-build:
(cd ${WRKSRC} && ${MAKE_PROGRAM} -C ui/gtk3 maintainer-clean-generic)
+ (cd ${WRKSRC} && ${MAKE_PROGRAM} -C tools maintainer-clean-generic)
(cd ${WRKSRC} && ${MAKE_PROGRAM} -C portal maintainer-clean-generic)
.include "../../devel/glib2/schemas.mk"
Home |
Main Index |
Thread Index |
Old Index