[Bug 291597] x11/slim: Add support for xlibre

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Dec 2025 03:46:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291597

            Bug ID: 291597
           Summary: x11/slim: Add support for xlibre
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jsm@FreeBSD.org
          Reporter: acm@FreeBSD.org
             Flags: maintainer-feedback?(jsm@FreeBSD.org)
          Assignee: jsm@FreeBSD.org

Hello, could you approve the following patch?

--- /usr/ports/x11/slim/Makefile        2025-03-14 15:57:07.490080000 -0700
+++ ./Makefile  2025-12-11 14:29:11.771155000 -0800
@@ -11,6 +11,9 @@

 LICENSE=       GPLv2

+FLAVORS=       xlibre xorg
+FLAVOR?=       ${FLAVORS:[1]}
+
 LIB_DEPENDS=   libpng.so:graphics/png \
                libfreetype.so:print/freetype2 \
                libfontconfig.so:x11-fonts/fontconfig
@@ -18,8 +21,17 @@

 USES=          cmake compiler:c++11-lang cpe jpeg pkgconfig xorg
 CPE_VENDOR=    berlios
-USE_XORG=      ice sm x11 xau xcb xdmcp xext xft xmu xorg-server xrandr \
-               xrender xt
+USE_XORG=      ice sm x11 xau xcb xdmcp xext xft xmu xrandr xrender xt
+
+.if ${FLAVOR} == xlibre
+PKGNAMEPREFIX= xlibre-
+USES+=         xlibre
+USE_XLIBRE+=   xlibre-server
+.else
+USE_XORG+=     xorg-server
+CONFLICTS_BUILD+=      xlibre-server
+.endif
+
 USE_RC_SUBR=   slim
 USE_LDCONFIG=  yes

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