[Bug 286132] print/xreader fix build without wayland

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Apr 2025 07:56:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286132

            Bug ID: 286132
           Summary: print/xreader fix build without wayland
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: sko@rostwald.de
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

Created attachment 259605
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259605&action=edit
fix build without wayland

Building xreader fails on systems where WAYLAND build options are disabled, due
the assumption that wayland headers are always available.

This diff adds an option "WAYLAND" which makes the inclusion of
'gdk/gdkwayland.h' in 'libdocument/ev-document-misc.h' conditional.

Tested on 14.2-RELEASE build host with latest ports tree.

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