Hi,
Not necessarly for immediate commit, but in combinaison with the gtk3
patches from Landry/Ajacoutot, this new pgtk emacs flavor runins
natively under Wayland.
Thanks to jca@ for the clue about pgtk.
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 878dd1cbb78..0842e4f57c2 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -21,7 +21,7 @@ EXTRACT_SUFX= .tar.xz
DEBUG_PACKAGES = ${BUILD_PACKAGES}
-FLAVORS= athena gtk2 gtk3 no_x11
+FLAVORS= athena gtk2 gtk3 pgtk no_x11
FLAVOR?= gtk3
GCCARCH= ${MACHINE_ARCH}-unknown-openbsd
@@ -98,6 +98,14 @@ WANTLIB += fontconfig freetype gdk-3 gdk_pixbuf-2.0 gif
gio-2.0
WANTLIB += glib-2.0 gobject-2.0 gtk-3 harfbuzz intl jpeg lcms2
WANTLIB += m17n-core m17n-flt otf pango-1.0 pangocairo-1.0 png
WANTLIB += rsvg-2 sharpyuv tiff webp webpdemux xcb xcb-shape xcb-util
+. elif ${FLAVOR} == "pgtk"
+CONFIGURE_ARGS+= --with-x-toolkit=gtk3 --with-pgtk
+LIB_DEPENDS+= x11/gtk+3
+WANTLIB += atk-1.0 cairo cairo-gobject dbus-1
+WANTLIB += fontconfig freetype gdk-3 gdk_pixbuf-2.0 gif gio-2.0
+WANTLIB += glib-2.0 gobject-2.0 gtk-3 harfbuzz intl jpeg lcms2
+WANTLIB += otf pango-1.0 pangocairo-1.0 png
+WANTLIB += rsvg-2 tiff webpdemux webpdecoder
. else
ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}"
. endif
--
Matthieu Herrb