git: 20c4de7d4e - main - Add section about automatic runtime directories handling since FreeBSD 14.1

From: Benedict Reuschling <bcr_at_FreeBSD.org>
Date: Thu, 01 Aug 2024 05:46:36 UTC
The branch main has been updated by bcr:

URL: https://cgit.FreeBSD.org/doc/commit/?id=20c4de7d4e91b59bc31dde643d209c755237992e

commit 20c4de7d4e91b59bc31dde643d209c755237992e
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2024-08-01 05:38:32 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2024-08-01 05:38:32 +0000

    Add section about automatic runtime directories handling since FreeBSD 14.1
    
    FreeBSD 14.1 added functionality to automatically create XDG runtime
    directories needed for Wayland to run. Add a section describing this
    and how to handle it in pre-14.1 releases.
    I changed the resulting diff to use active voice in the last sentence.
    
    Reported by:            concussious.bugzilla_runbox.com
    Approved by:            manu, lwhsu,x11
    Differential Revision:  https://reviews.freebsd.org/D45953
---
 documentation/content/en/books/handbook/wayland/_index.adoc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/documentation/content/en/books/handbook/wayland/_index.adoc b/documentation/content/en/books/handbook/wayland/_index.adoc
index ce5b1aa0f3..6554f80ed4 100644
--- a/documentation/content/en/books/handbook/wayland/_index.adoc
+++ b/documentation/content/en/books/handbook/wayland/_index.adoc
@@ -125,7 +125,9 @@ Begin by installing the following packages:
 
 Once the protocol and supporting packages have been installed, a compositor must create the user interface.
 Several compositors will be covered in the following sections.
-All compositors using Wayland will need a runtime directory defined in the environment, which can be achieved with the following command in the bourne shell:
+All compositors using Wayland will need a runtime directory defined in the environment.
+Since FreeBSD 14.1, this is created and defined automatically.
+For previous versions, this is achieved with the following command in the bourne shell:
 
 [source,shell]
 ----