pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/libdrm



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Dec  6 07:56:43 UTC 2023

Modified Files:
        pkgsrc/x11/libdrm: Makefile PLIST

Log Message:
libdrm: install man pages

Requested by Thierry LARONDE in PR 57755.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 pkgsrc/x11/libdrm/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/x11/libdrm/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/libdrm/Makefile
diff -u pkgsrc/x11/libdrm/Makefile:1.111 pkgsrc/x11/libdrm/Makefile:1.112
--- pkgsrc/x11/libdrm/Makefile:1.111    Mon Nov 20 17:55:20 2023
+++ pkgsrc/x11/libdrm/Makefile  Wed Dec  6 07:56:42 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.111 2023/11/20 17:55:20 wiz Exp $
+# $NetBSD: Makefile,v 1.112 2023/12/06 07:56:42 wiz Exp $
 
 DISTNAME=              libdrm-2.4.118
+PKGREVISION=           1
 CATEGORIES=            x11 graphics
 MASTER_SITES=          https://dri.freedesktop.org/libdrm/
 EXTRACT_SUFX=          .tar.xz
@@ -10,6 +11,8 @@ HOMEPAGE=             https://dri.freedesktop.org/w
 COMMENT=               Userspace interface to kernel DRM services
 LICENSE=               mit
 
+TOOL_DEPENDS+=         ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+
 # Platforms with kernel support for DRM
 ONLY_FOR_PLATFORM=     NetBSD-*-* DragonFly-*-* FreeBSD-*-* OpenBSD-*-* \
                        Linux-*-* SunOS-*-*
@@ -76,13 +79,20 @@ MESON_ARGS+=        -Dtegra=disabled
 MESON_ARGS+=   -Dvc4=disabled
 .endif
 
-MESON_ARGS+=   -Dman-pages=disabled
+MESON_ARGS+=   -Dman-pages=enabled
 MESON_ARGS+=   -Dvalgrind=disabled
 
+SUBST_CLASSES+=                doc
+SUBST_MESSAGE.doc=     Fixing rst2man name due to python versioning.
+SUBST_STAGE.doc=       pre-configure
+SUBST_FILES.doc=       meson.build
+SUBST_SED.doc=         -e 's,rst2man.py,rst2man-${PYVERSSUFFIX},g'
+
 LDFLAGS.NetBSD+=       -lpci
 CPPFLAGS.SunOS+=       -D__EXTENSIONS__        # posix_memalign, ...
 
 X11_LIB_NAME?=         libdrm
 .include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"
 .include "../../devel/meson/build.mk"
+.include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/x11/libdrm/PLIST
diff -u pkgsrc/x11/libdrm/PLIST:1.24 pkgsrc/x11/libdrm/PLIST:1.25
--- pkgsrc/x11/libdrm/PLIST:1.24        Fri Jun  3 08:30:34 2022
+++ pkgsrc/x11/libdrm/PLIST     Wed Dec  6 07:56:42 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2022/06/03 08:30:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.25 2023/12/06 07:56:42 wiz Exp $
 ${PLIST.arm}include/exynos/exynos_drm.h
 ${PLIST.arm}include/exynos/exynos_fimg2d.h
 ${PLIST.arm}include/freedreno/freedreno_drmif.h
@@ -94,4 +94,10 @@ ${PLIST.arm}lib/pkgconfig/libdrm_omap.pc
 lib/pkgconfig/libdrm_radeon.pc
 ${PLIST.arm}lib/pkgconfig/libdrm_tegra.pc
 ${PLIST.arm}lib/pkgconfig/libdrm_vc4.pc
+man/man3/drmAvailable.3
+man/man3/drmHandleEvent.3
+man/man3/drmModeGetResources.3
+man/man7/drm-kms.7
+man/man7/drm-memory.7
+man/man7/drm.7
 share/libdrm/amdgpu.ids



Home | Main Index | Thread Index | Old Index