git: a71877d273bd - main - x11/linux-rl9-xcb-util: add new port

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 07 Nov 2024 09:56:22 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a71877d273bd81665ddcb2cdf7ef57766901a8ae

commit a71877d273bd81665ddcb2cdf7ef57766901a8ae
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-07 09:54:27 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-07 09:56:11 +0000

    x11/linux-rl9-xcb-util: add new port
    
    libxcb/libX11 extension/replacement libraries from Rocky Linux 9
    
    Sponsored by:   Future Crew, LLC
---
 Mk/Uses/linux.mk                         |  2 +-
 emulators/linux-rl9/Makefile             |  3 ++-
 x11/Makefile                             |  1 +
 x11/linux-rl9-xcb-util/Makefile          | 34 ++++++++++++++++++++++++++++++++
 x11/linux-rl9-xcb-util/distinfo          | 31 +++++++++++++++++++++++++++++
 x11/linux-rl9-xcb-util/pkg-plist.aarch64 | 24 ++++++++++++++++++++++
 x11/linux-rl9-xcb-util/pkg-plist.amd64   | 24 ++++++++++++++++++++++
 7 files changed, 117 insertions(+), 2 deletions(-)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index 9254bceb6ca6..61b5c48ac797 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -198,7 +198,7 @@ _linux_rl9_vulkan=			linux-rl9-vulkan-loader>0:graphics/linux-rl9-vulkan
 _linux_${linux_ARGS}_wayland=		linux-${linux_ARGS}-wayland>0:graphics/linux-${linux_ARGS}-wayland
 _linux_rl9_webp=			linux-rl9-libwebp>0:graphics/linux-rl9-webp
 _linux_rl9_wget=			linux-rl9-wget>0:ftp/linux-rl9-wget
-_linux_c7_xcb-util=			linux-c7-xcb-util>0:x11/linux-c7-xcb-util
+_linux_${linux_ARGS}_xcb-util=		linux-${linux_ARGS}-xcb-util>0:x11/linux-${linux_ARGS}-xcb-util
 _linux_${linux_ARGS}_xorglibs=		linux-${linux_ARGS}-xorg-libs>=7.7:x11/linux-${linux_ARGS}-xorg-libs
 _linux_c7_zlib-devel=			linux-c7-zlib-devel>0:devel/linux-c7-zlib-devel
 # special node for linux_libusb
diff --git a/emulators/linux-rl9/Makefile b/emulators/linux-rl9/Makefile
index be4d34128d0c..09706c6880a8 100644
--- a/emulators/linux-rl9/Makefile
+++ b/emulators/linux-rl9/Makefile
@@ -29,7 +29,8 @@ USE_LINUX=	alsalib alsa-lib-devel alsa-plugins-oss alsa-plugins-pulseaudio \
 		qtbase qtconnectivity qtdeclarative qtgraphicaleffects qtimageformats \
 		qtquickcontrols qtscript qtsensors qtserialbus qtserialport qtsvg \
 		qttools qtwayland qtwebchannel qtwebsockets qtx11extras qtxmlpatterns \
-		sqlite3 strace systemd-libs tcp_wrappers-libs tiff vulkan wayland webp xorglibs
+		sqlite3 strace systemd-libs tcp_wrappers-libs tiff vulkan wayland webp \
+		xcb-util xorglibs
 
 .include <bsd.port.options.mk>
 
diff --git a/x11/Makefile b/x11/Makefile
index efcda99676f8..aa6405480270 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -241,6 +241,7 @@
     SUBDIR += linux-rl9-libxkbcommon
     SUBDIR += linux-rl9-pixman
     SUBDIR += linux-rl9-qt5-qtx11extras
+    SUBDIR += linux-rl9-xcb-util
     SUBDIR += linux-rl9-xorg-libs
     SUBDIR += listres
     SUBDIR += lsw
diff --git a/x11/linux-rl9-xcb-util/Makefile b/x11/linux-rl9-xcb-util/Makefile
new file mode 100644
index 000000000000..51bffeea3506
--- /dev/null
+++ b/x11/linux-rl9-xcb-util/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	xcb-util
+PORTVERSION=	0.4.0
+DISTVERSIONSUFFIX=	-19.el9
+CATEGORIES=	x11 linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	libxcb/libX11 extension/replacement libraries (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://xcb.freedesktop.org/
+
+USES=		linux:rl9
+USE_LDCONFIG=	yes
+USE_LINUX=	xorglibs
+USE_LINUX_RPM=	yes
+
+BIN_DISTNAMES=	${PORTNAME}-${DISTVERSIONFULL} \
+		${PORTNAME}-cursor-0.1.4-3.el9 \
+		${PORTNAME}-image-0.4.0-19.el9.0.1 \
+		${PORTNAME}-keysyms-0.4.0-17.el9 \
+		${PORTNAME}-renderutil-0.3.9-20.el9.0.1
+
+SRC_DISTFILES=	${PORTNAME}-${DISTVERSIONFULL}${SRC_SUFX}:SOURCE \
+		${PORTNAME}-cursor-0.1.4-3.el9${SRC_SUFX}:SOURCE \
+		${PORTNAME}-image-0.4.0-19.el9.0.1${SRC_SUFX}:SOURCE \
+		${PORTNAME}-keysyms-0.4.0-17.el9${SRC_SUFX}:SOURCE \
+		${PORTNAME}-renderutil-0.3.9-20.el9.0.1${SRC_SUFX}:SOURCE
+
+CONFLICTS=	linux-c7-${PORTNAME}
+DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
+DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE=	DOCS
+OPTIONS_SUB=	yes
+
+.include <bsd.port.mk>
diff --git a/x11/linux-rl9-xcb-util/distinfo b/x11/linux-rl9-xcb-util/distinfo
new file mode 100644
index 000000000000..8f610c6018aa
--- /dev/null
+++ b/x11/linux-rl9-xcb-util/distinfo
@@ -0,0 +1,31 @@
+TIMESTAMP = 1730972909
+SHA256 (rocky/x/xcb-util-0.4.0-19.el9.aarch64.rpm) = 9bceb6213ce22d7ebf55152f6b1bfc2c5c98bf4d6b7eca86db3229f0d72ce75e
+SIZE (rocky/x/xcb-util-0.4.0-19.el9.aarch64.rpm) = 18698
+SHA256 (rocky/x/xcb-util-0.4.0-19.el9.x86_64.rpm) = 7cb6a5c9d331f25440d75472451659ce8c7193c0a46d083679076a939c80efaa
+SIZE (rocky/x/xcb-util-0.4.0-19.el9.x86_64.rpm) = 18800
+SHA256 (rocky/x/xcb-util-cursor-0.1.4-3.el9.aarch64.rpm) = 9a01871531417cd22ce73bd0c2ac2dc640a456730807b3c7c88fe64edb537994
+SIZE (rocky/x/xcb-util-cursor-0.1.4-3.el9.aarch64.rpm) = 19193
+SHA256 (rocky/x/xcb-util-cursor-0.1.4-3.el9.x86_64.rpm) = c48d4f5cff29ade91a6478b44e8b06ac9309e9455ee18ab99fb708f94e966e18
+SIZE (rocky/x/xcb-util-cursor-0.1.4-3.el9.x86_64.rpm) = 19416
+SHA256 (rocky/x/xcb-util-image-0.4.0-19.el9.0.1.aarch64.rpm) = a25d5bd1e1516f59978b1eb675cd8071a8c5dfd0137a7c4366e838bccff0345d
+SIZE (rocky/x/xcb-util-image-0.4.0-19.el9.0.1.aarch64.rpm) = 17888
+SHA256 (rocky/x/xcb-util-image-0.4.0-19.el9.0.1.x86_64.rpm) = e0fcc014b96786a8368c5f1b27d92bb795858ff0630d382e8bbf47ef7dd225d5
+SIZE (rocky/x/xcb-util-image-0.4.0-19.el9.0.1.x86_64.rpm) = 18334
+SHA256 (rocky/x/xcb-util-keysyms-0.4.0-17.el9.aarch64.rpm) = 19534c67405a9184149874b30cdc11aef4ddaf27503559b94164793ef7f053b0
+SIZE (rocky/x/xcb-util-keysyms-0.4.0-17.el9.aarch64.rpm) = 13909
+SHA256 (rocky/x/xcb-util-keysyms-0.4.0-17.el9.x86_64.rpm) = 9a4e1d6c677d70eb0200d444c410ee0599208cfa506a32f7ddb8c7d22190c7e3
+SIZE (rocky/x/xcb-util-keysyms-0.4.0-17.el9.x86_64.rpm) = 14134
+SHA256 (rocky/x/xcb-util-renderutil-0.3.9-20.el9.0.1.aarch64.rpm) = cf0be2cb0749d46c5e9412974c91071ef1cefa35807660e7d6c14d4613f93f0c
+SIZE (rocky/x/xcb-util-renderutil-0.3.9-20.el9.0.1.aarch64.rpm) = 16480
+SHA256 (rocky/x/xcb-util-renderutil-0.3.9-20.el9.0.1.x86_64.rpm) = 36f68d5d3019d4b6e89ebd7861170b9a74a2c60ef690a04919413cce4b67d3d0
+SIZE (rocky/x/xcb-util-renderutil-0.3.9-20.el9.0.1.x86_64.rpm) = 16560
+SHA256 (rocky/x/xcb-util-0.4.0-19.el9.src.rpm) = d8775c3a5077f7553de797f87399fceaac28ea9f97568bd3a96582b6306e9afb
+SIZE (rocky/x/xcb-util-0.4.0-19.el9.src.rpm) = 307668
+SHA256 (rocky/x/xcb-util-cursor-0.1.4-3.el9.src.rpm) = e8ca577f36ae11886c95cba46097e8d11d5224187f7b59d5970073b302c0ec02
+SIZE (rocky/x/xcb-util-cursor-0.1.4-3.el9.src.rpm) = 274537
+SHA256 (rocky/x/xcb-util-image-0.4.0-19.el9.0.1.src.rpm) = 367dd0f452671295782003c679798c198dd2dc437d65e6c1443f5ae3714a46da
+SIZE (rocky/x/xcb-util-image-0.4.0-19.el9.0.1.src.rpm) = 336307
+SHA256 (rocky/x/xcb-util-keysyms-0.4.0-17.el9.src.rpm) = a8f341d50c22962f62335108f28fa47f4177cccbcc7ef77542ccc750c34958f9
+SIZE (rocky/x/xcb-util-keysyms-0.4.0-17.el9.src.rpm) = 299187
+SHA256 (rocky/x/xcb-util-renderutil-0.3.9-20.el9.0.1.src.rpm) = 8207b50c1a2fa182845322138c30beb137f16c00f2cd32da8f9b780892667eda
+SIZE (rocky/x/xcb-util-renderutil-0.3.9-20.el9.0.1.src.rpm) = 301507
diff --git a/x11/linux-rl9-xcb-util/pkg-plist.aarch64 b/x11/linux-rl9-xcb-util/pkg-plist.aarch64
new file mode 100644
index 000000000000..dde255f084d7
--- /dev/null
+++ b/x11/linux-rl9-xcb-util/pkg-plist.aarch64
@@ -0,0 +1,24 @@
+usr/lib/.build-id/dd/8a12f2faad47a24bf1d850a6c2710a73545ba9
+usr/lib/.build-id/51/86daffe73652cff49232b774bc4e307a785120
+usr/lib/.build-id/5a/251bbee2ef05beb207453e38bddd6cb4015cea
+usr/lib/.build-id/e4/377376f4bf3e40115f50c7c650652dc725e6b3
+usr/lib/.build-id/60/17d64c3a3c150c525f761fd679e584b1e09c4b
+usr/lib64/libxcb-cursor.so.0
+usr/lib64/libxcb-cursor.so.0.0.0
+usr/lib64/libxcb-image.so.0
+usr/lib64/libxcb-image.so.0.0.0
+usr/lib64/libxcb-keysyms.so.1
+usr/lib64/libxcb-keysyms.so.1.0.0
+usr/lib64/libxcb-render-util.so.0
+usr/lib64/libxcb-render-util.so.0.0.0
+usr/lib64/libxcb-util.so.1
+usr/lib64/libxcb-util.so.1.0.0
+%%PORTDOCS%%%%DOCSDIR%%-cursor/README.md
+%%PORTDOCS%%%%DOCSDIR%%-image/README
+%%PORTDOCS%%%%DOCSDIR%%-keysyms/README
+%%PORTDOCS%%%%DOCSDIR%%-renderutil/README
+%%PORTDOCS%%%%DOCSDIR%%/README
+usr/share/licenses/xcb-util-cursor/COPYING
+usr/share/licenses/xcb-util-image/COPYING
+usr/share/licenses/xcb-util-renderutil/COPYING
+usr/share/licenses/xcb-util/COPYING
diff --git a/x11/linux-rl9-xcb-util/pkg-plist.amd64 b/x11/linux-rl9-xcb-util/pkg-plist.amd64
new file mode 100644
index 000000000000..1fcf7cf586b2
--- /dev/null
+++ b/x11/linux-rl9-xcb-util/pkg-plist.amd64
@@ -0,0 +1,24 @@
+usr/lib/.build-id/3d/789433efefb9b425a01dfa32455e5b99deb1c8
+usr/lib/.build-id/41/f52d274dc8db73b0d81700e0689d4088f7e641
+usr/lib/.build-id/a7/0196d13177a6d959293b43f993297ec58f367a
+usr/lib/.build-id/b4/4739616fcc30caff108c681173ed6e95a73516
+usr/lib/.build-id/d7/3b87e9f00df6b826e84e755bf1a1943996308a
+usr/lib64/libxcb-cursor.so.0
+usr/lib64/libxcb-cursor.so.0.0.0
+usr/lib64/libxcb-image.so.0
+usr/lib64/libxcb-image.so.0.0.0
+usr/lib64/libxcb-keysyms.so.1
+usr/lib64/libxcb-keysyms.so.1.0.0
+usr/lib64/libxcb-render-util.so.0
+usr/lib64/libxcb-render-util.so.0.0.0
+usr/lib64/libxcb-util.so.1
+usr/lib64/libxcb-util.so.1.0.0
+%%PORTDOCS%%%%DOCSDIR%%-cursor/README.md
+%%PORTDOCS%%%%DOCSDIR%%-image/README
+%%PORTDOCS%%%%DOCSDIR%%-keysyms/README
+%%PORTDOCS%%%%DOCSDIR%%-renderutil/README
+%%PORTDOCS%%%%DOCSDIR%%/README
+usr/share/licenses/xcb-util-cursor/COPYING
+usr/share/licenses/xcb-util-image/COPYING
+usr/share/licenses/xcb-util-renderutil/COPYING
+usr/share/licenses/xcb-util/COPYING