[blfs] 08/09: Added wlroots.

git Owner ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit 2735459883a37051752b22e885bcd85a95e74cfd
Author: zeckma-tech <[email protected]>
AuthorDate: Mon Jun 22 15:28:35 2026 -0600

    Added wlroots.
    
    Needed by Wayfire and most Wayland compositors.
    
    This uses 0.19.3 instead of 0.20.1. I'm still waiting until compositors
    catch up, and libraries that rely upon wlroos like SceneFX.
---
 introduction/welcome/changelog.xml |   3 +
 packages.ent                       |   2 +
 x/lib/lib.xml                      |   1 +
 x/lib/wlroots.xml                  | 228 +++++++++++++++++++++++++++++++++++++
 4 files changed, 234 insertions(+)

diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 62fdfaf3af..663d6cf38d 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -42,6 +42,9 @@
     <listitem>
       <para>June 22nd, 2026</para>
       <itemizedlist>
+        <listitem>
+          <para>[zeckma] - Added wlroots.</para>
+        </listitem>
         <listitem>
           <para>[zeckma] - Added seatd.</para>
         </listitem>
diff --git a/packages.ent b/packages.ent
index 9ce8dc9f31..9935a7fb9e 100644
--- a/packages.ent
+++ b/packages.ent
@@ -955,6 +955,8 @@
 <!ENTITY vulkan-headers-version       "1.4.350.1">
 <!ENTITY vulkan-loader-version        "1.4.350.1">
 <!ENTITY webkitgtk-version            "2.52.4">    <!-- Even minors only -->
+<!ENTITY wlroots-minor                "0.19">
+<!ENTITY wlroots-version              "&wlroots-minor;.3">
 <!ENTITY xdg-desktop-portal-version   "1.22.1">
 <!ENTITY xdg-desktop-portal-gtk-version "1.15.3">
 
diff --git a/x/lib/lib.xml b/x/lib/lib.xml
index 6cfcb22da6..9537047375 100644
--- a/x/lib/lib.xml
+++ b/x/lib/lib.xml
@@ -86,6 +86,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vulkan-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vulkan-loader.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="webkitgtk.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wlroots.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xdg-desktop-portal.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xdg-desktop-portal-gtk.xml"/>
 
diff --git a/x/lib/wlroots.xml b/x/lib/wlroots.xml
new file mode 100644
index 0000000000..5f59884538
--- /dev/null
+++ b/x/lib/wlroots.xml
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY wlroots-root
+    "https://gitlab.freedesktop.org/wlroots/wlroots/-/archive">
+  <!ENTITY wlroots-download-http
+    "&wlroots-root;/&wlroots-version;/wlroots-&wlroots-version;.tar.bz2">
+  <!ENTITY wlroots-md5sum        "601d92e41b9d1383a1e4c23a2e040aec">
+  <!ENTITY wlroots-size          "492 KB">
+  <!ENTITY wlroots-buildsize     "18 MB">
+  <!ENTITY wlroots-time          "0.2 SBU">
+]>
+
+<sect1 id="wlroots" xreflabel="wlroots-&wlroots-version;">
+  <?dbhtml filename="wlroots.html"?>
+
+  <title>wlroots-&wlroots-version;</title>
+
+  <indexterm zone="wlroots">
+    <primary sortas="a-wlroots">wlroots</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to wlroots</title>
+
+    <para>
+      wlroots is a Wayland compositor library, the backbone of most Wayland
+      compositors. Compositors that use a different base may have used this
+      package in the beginning of the compositor's history for providing most
+      of the work.
+    </para>
+
+    &lfs130_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&wlroots-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &wlroots-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &wlroots-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &wlroots-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &wlroots-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+<!--
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch:
+          <ulink url="&dl-root;/wlroots/wlroots-&wlroots-version;-const_strchr-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+-->
+
+    <bridgehead renderas="sect3">wlroots Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="libdrm"/>,
+      <xref linkend="libxkbcommon"/>,
+      <xref linkend="pixman"/>,
+      <xref linkend="wayland"/>, and
+      <xref linkend="wayland-protocols"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <itemizedlist spacing="compact">
+        <listitem>
+          <para>
+            <xref linkend="mesa"/>: For GBM allocation and the OpenGL renderer.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <xref linkend="hwdata"/>,
+            <xref linkend="libdisplay-info"/>, and
+            <xref linkend="libliftoff"/>:
+            For the DRM backend; can be used to generically choose a renderer
+            instead of being implicit.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <xref linkend="libinput"/>: For the libinput backend.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <xref linkend="lcms2"/>:
+            For color management.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <xref linkend="seatd"/>: For session handling.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <xref linkend="vulkan-loader"/> and <xref linkend="glslang"/>:
+            For the Vulkan renderer.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            <xref linkend="xcb-utilities"/>,
+            <xref linkend="xorg7-lib"/>, and
+            <xref linkend="xwayland"/>:
+            For Xorg application/library support.
+          </para>
+        </listitem>
+      </itemizedlist>
+    </para>
+
+    <important><para>
+      Skipping any of the recommended dependencies can lead to configuration,
+      build, or runtime failures in various compositors. An example is GLESv2:
+      if it is not found, OpenGL rendering as a whole will be disabled. OpenGL
+      rendering is the primary, and in most often cases, the only available
+      renderer a given compositor can use if it does not rely on the
+      recommended DRM backend to choose a renderer for the compositor. Consider
+      most of the dependencies listed above required besides what is required
+      for the Vulkan renderer and Xorg support.
+    </para></important>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="cairo"/> (for examples)
+    </para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of wlroots</title>
+
+    <para>
+      Install wlroots by running the following commands:
+    </para>
+
+<screen><userinput>mkdir build &amp;&amp;
+cd    build &amp;&amp;
+
+meson setup --prefix=/usr          \
+            --buildtype=release    \
+            --wrap-mode=nofallback \
+            .. &amp;&amp;
+ninja</userinput></screen>
+
+    <para>
+      This package does not have a test suite.
+    </para>
+
+    <para>
+      Now, as the &root; user:
+    </para>
+
+<screen role="root"><userinput>ninja install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          None
+        </seg>
+        <seg>
+          libwlroots-&wlroots-minor;.so
+        </seg>
+        <seg>
+          /usr/include/wlroots-&wlroots-minor;
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="libwlroots">
+        <term><filename class="libraryfile">libwlroots-&wlroots-minor;.so</filename></term>
+        <listitem>
+          <para>
+            provides functions for Wayland compositors
+          </para>
+          <indexterm zone="wlroots libwlroots">
+            <primary sortas="b-libwlroots">libwlroots-&wlroots-minor;.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.