View | Details | Raw Unified | Return to bug 243488 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/libdrm/Makefile (+2 lines)
Lines 1-75 Link Here
1
# Created by: lesi@FreeBSD.org
1
# Created by: lesi@FreeBSD.org
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libdrm
4
PORTNAME=	libdrm
5
PORTVERSION=	2.4.99
5
PORTVERSION=	2.4.99
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	graphics x11
7
CATEGORIES=	graphics x11
8
MASTER_SITES=	https://dri.freedesktop.org/libdrm/
8
MASTER_SITES=	https://dri.freedesktop.org/libdrm/
9
9
10
MAINTAINER=	x11@FreeBSD.org
10
MAINTAINER=	x11@FreeBSD.org
11
COMMENT=	Userspace interface to kernel Direct Rendering Module services
11
COMMENT=	Userspace interface to kernel Direct Rendering Module services
12
12
13
LICENSE=	MIT
13
LICENSE=	MIT
14
14
15
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
15
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
16
LIB_DEPENDS=	libpciaccess.so:devel/libpciaccess
16
LIB_DEPENDS=	libpciaccess.so:devel/libpciaccess
17
17
18
USES=		gnome meson pkgconfig tar:bzip2
18
USES=		gnome meson pkgconfig tar:bzip2
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
20
21
OPTIONS_DEFINE=	MANPAGES TESTS LEGACY
21
OPTIONS_DEFINE=	MANPAGES TESTS LEGACY
22
OPTIONS_SUB=	yes
22
OPTIONS_SUB=	yes
23
23
24
TESTS_DESC=	Install test programs (which are always built)
24
TESTS_DESC=	Install test programs (which are always built)
25
LEGACY_DESC=	Install legacy drivers headers
25
LEGACY_DESC=	Install legacy drivers headers
26
26
27
.if defined(PACKAGE_BUILDING)
27
.if defined(PACKAGE_BUILDING)
28
OPTIONS_DEFAULT+=	MANPAGES
28
OPTIONS_DEFAULT+=	MANPAGES
29
.endif
29
.endif
30
30
31
MANPAGES_BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
31
MANPAGES_BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
32
MANPAGES_USE=		GNOME=libxslt:build
32
MANPAGES_USE=		GNOME=libxslt:build
33
MANPAGES_MESON_TRUE=	man-pages
33
MANPAGES_MESON_TRUE=	man-pages
34
34
35
TESTS_MESON_TRUE=	install-test-programs
35
TESTS_MESON_TRUE=	install-test-programs
36
36
37
# avoid circular dependency in case cairo supports OpenGL (cairo->mesa-libs->libdrm->cairo)
37
# avoid circular dependency in case cairo supports OpenGL (cairo->mesa-libs->libdrm->cairo)
38
CONFIGURE_ARGS+=	-Dcairo-tests=false
38
CONFIGURE_ARGS+=	-Dcairo-tests=false
39
39
40
.include <bsd.port.options.mk>
40
.include <bsd.port.options.mk>
41
41
42
.if ${ARCH} == amd64 || ${ARCH} == i386
42
.if ${ARCH} == amd64 || ${ARCH} == i386
43
PLIST_SUB+=	ARM_DRIVERS="@comment "
43
PLIST_SUB+=	ARM_DRIVERS="@comment "
44
PLIST_SUB+=	INTEL_DRIVER=""
44
PLIST_SUB+=	INTEL_DRIVER=""
45
PLIST_SUB+=	NOUVEAU_DRIVER=""
45
PLIST_SUB+=	NOUVEAU_DRIVER=""
46
PLIST_SUB+=	RADEON_DRIVERS=""
46
PLIST_SUB+=	RADEON_DRIVERS=""
47
PLIST_SUB+=	VIRTGPU_DRIVER=""
48
PLIST_SUB+=	VMWGFX_DRIVER=""
47
.elif ${ARCH:Mpowerpc*}
49
.elif ${ARCH:Mpowerpc*}
48
PLIST_SUB+=	ARM_DRIVERS="@comment "
50
PLIST_SUB+=	ARM_DRIVERS="@comment "
49
PLIST_SUB+=	INTEL_DRIVER="@comment "
51
PLIST_SUB+=	INTEL_DRIVER="@comment "
50
PLIST_SUB+=	NOUVEAU_DRIVER=""
52
PLIST_SUB+=	NOUVEAU_DRIVER=""
51
PLIST_SUB+=	RADEON_DRIVERS=""
53
PLIST_SUB+=	RADEON_DRIVERS=""
52
.elif ${ARCH} == aarch64
54
.elif ${ARCH} == aarch64
53
PLIST_SUB+=	ARM_DRIVERS=""
55
PLIST_SUB+=	ARM_DRIVERS=""
54
PLIST_SUB+=	INTEL_DRIVER="@comment "
56
PLIST_SUB+=	INTEL_DRIVER="@comment "
55
PLIST_SUB+=	NOUVEAU_DRIVER=""
57
PLIST_SUB+=	NOUVEAU_DRIVER=""
56
PLIST_SUB+=	RADEON_DRIVERS=""
58
PLIST_SUB+=	RADEON_DRIVERS=""
57
.elif ${ARCH:Marm*}
59
.elif ${ARCH:Marm*}
58
PLIST_SUB+=	ARM_DRIVERS=""
60
PLIST_SUB+=	ARM_DRIVERS=""
59
PLIST_SUB+=	INTEL_DRIVER="@comment "
61
PLIST_SUB+=	INTEL_DRIVER="@comment "
60
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
62
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
61
PLIST_SUB+=	RADEON_DRIVERS="@comment "
63
PLIST_SUB+=	RADEON_DRIVERS="@comment "
62
.else
64
.else
63
PLIST_SUB+=	ARM_DRIVERS="@comment "
65
PLIST_SUB+=	ARM_DRIVERS="@comment "
64
PLIST_SUB+=	INTEL_DRIVER="@comment "
66
PLIST_SUB+=	INTEL_DRIVER="@comment "
65
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
67
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
66
PLIST_SUB+=	RADEON_DRIVERS="@comment "
68
PLIST_SUB+=	RADEON_DRIVERS="@comment "
67
.endif
69
.endif
68
70
69
# This variable is not for users. So use a non-default name, intended for
71
# This variable is not for users. So use a non-default name, intended for
70
# people working on DRM kernel module development.
72
# people working on DRM kernel module development.
71
.if ${OPSYS} == FreeBSD && !defined(LIBDRM_SKIP_RETURN_PATCH)
73
.if ${OPSYS} == FreeBSD && !defined(LIBDRM_SKIP_RETURN_PATCH)
72
EXTRA_PATCHES+=	${FILESDIR}/extra-xf86drm.c
74
EXTRA_PATCHES+=	${FILESDIR}/extra-xf86drm.c
73
.endif
75
.endif
74
76
75
.include <bsd.port.mk>
77
.include <bsd.port.mk>
(-)b/graphics/libdrm/pkg-plist (-3 / +2 lines)
Lines 1-94 Link Here
1
%%TESTS%%bin/kms-steal-crtc
1
%%TESTS%%bin/kms-steal-crtc
2
%%TESTS%%bin/kms-universal-planes
2
%%TESTS%%bin/kms-universal-planes
3
%%TESTS%%bin/kmstest
3
%%TESTS%%bin/kmstest
4
%%TESTS%%bin/modeprint
4
%%TESTS%%bin/modeprint
5
%%TESTS%%bin/modetest
5
%%TESTS%%bin/modetest
6
%%TESTS%%bin/proptest
6
%%TESTS%%bin/proptest
7
%%TESTS%%bin/vbltest
7
%%TESTS%%bin/vbltest
8
%%ARM_DRIVERS%%include/freedreno/freedreno_drmif.h
8
%%ARM_DRIVERS%%include/freedreno/freedreno_drmif.h
9
%%ARM_DRIVERS%%include/freedreno/freedreno_ringbuffer.h
9
%%ARM_DRIVERS%%include/freedreno/freedreno_ringbuffer.h
10
%%RADEON_DRIVERS%%include/libdrm/amdgpu.h
10
%%RADEON_DRIVERS%%include/libdrm/amdgpu.h
11
%%RADEON_DRIVERS%%include/libdrm/amdgpu_drm.h
11
%%RADEON_DRIVERS%%include/libdrm/amdgpu_drm.h
12
include/libdrm/drm.h
12
include/libdrm/drm.h
13
include/libdrm/drm_fourcc.h
13
include/libdrm/drm_fourcc.h
14
include/libdrm/drm_mode.h
14
include/libdrm/drm_mode.h
15
include/libdrm/drm_sarea.h
15
include/libdrm/drm_sarea.h
16
%%INTEL_DRIVER%%include/libdrm/i915_drm.h
16
%%INTEL_DRIVER%%include/libdrm/i915_drm.h
17
%%INTEL_DRIVER%%include/libdrm/intel_aub.h
17
%%INTEL_DRIVER%%include/libdrm/intel_aub.h
18
%%INTEL_DRIVER%%include/libdrm/intel_bufmgr.h
18
%%INTEL_DRIVER%%include/libdrm/intel_bufmgr.h
19
%%INTEL_DRIVER%%include/libdrm/intel_debug.h
19
%%INTEL_DRIVER%%include/libdrm/intel_debug.h
20
%%LEGACY%%include/libdrm/mach64_drm.h
20
%%LEGACY%%include/libdrm/mach64_drm.h
21
%%LEGACY%%include/libdrm/mga_drm.h
21
%%LEGACY%%include/libdrm/mga_drm.h
22
%%LEGACY%%include/libdrm/msm_drm.h
22
%%LEGACY%%include/libdrm/msm_drm.h
23
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nouveau.h
23
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nouveau.h
24
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/cl0080.h
24
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/cl0080.h
25
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/cl9097.h
25
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/cl9097.h
26
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/class.h
26
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/class.h
27
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/if0002.h
27
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/if0002.h
28
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/if0003.h
28
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/if0003.h
29
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/ioctl.h
29
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/ioctl.h
30
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/unpack.h
30
%%NOUVEAU_DRIVER%%include/libdrm/nouveau/nvif/unpack.h
31
%%NOUVEAU_DRIVER%%include/libdrm/nouveau_drm.h
31
%%NOUVEAU_DRIVER%%include/libdrm/nouveau_drm.h
32
%%LEGACY%%include/libdrm/qxl_drm.h
32
%%LEGACY%%include/libdrm/qxl_drm.h
33
%%LEGACY%%include/libdrm/r128_drm.h
33
%%LEGACY%%include/libdrm/r128_drm.h
34
%%RADEON_DRIVERS%%include/libdrm/r600_pci_ids.h
34
%%RADEON_DRIVERS%%include/libdrm/r600_pci_ids.h
35
%%RADEON_DRIVERS%%include/libdrm/radeon_bo.h
35
%%RADEON_DRIVERS%%include/libdrm/radeon_bo.h
36
%%RADEON_DRIVERS%%include/libdrm/radeon_bo_gem.h
36
%%RADEON_DRIVERS%%include/libdrm/radeon_bo_gem.h
37
%%RADEON_DRIVERS%%include/libdrm/radeon_bo_int.h
37
%%RADEON_DRIVERS%%include/libdrm/radeon_bo_int.h
38
%%RADEON_DRIVERS%%include/libdrm/radeon_cs.h
38
%%RADEON_DRIVERS%%include/libdrm/radeon_cs.h
39
%%RADEON_DRIVERS%%include/libdrm/radeon_cs_gem.h
39
%%RADEON_DRIVERS%%include/libdrm/radeon_cs_gem.h
40
%%RADEON_DRIVERS%%include/libdrm/radeon_cs_int.h
40
%%RADEON_DRIVERS%%include/libdrm/radeon_cs_int.h
41
%%RADEON_DRIVERS%%include/libdrm/radeon_drm.h
41
%%RADEON_DRIVERS%%include/libdrm/radeon_drm.h
42
%%RADEON_DRIVERS%%include/libdrm/radeon_surface.h
42
%%RADEON_DRIVERS%%include/libdrm/radeon_surface.h
43
%%LEGACY%%include/libdrm/savage_drm.h
43
%%LEGACY%%include/libdrm/savage_drm.h
44
%%LEGACY%%include/libdrm/sis_drm.h
44
%%LEGACY%%include/libdrm/sis_drm.h
45
%%ARM_DRIVERS%%include/libdrm/tegra_drm.h
45
%%ARM_DRIVERS%%include/libdrm/tegra_drm.h
46
%%ARM_DRIVERS%%include/libdrm/vc4_drm.h
46
%%ARM_DRIVERS%%include/libdrm/vc4_drm.h
47
%%ARM_DRIVERS%%include/libdrm/vc4_packet.h
47
%%ARM_DRIVERS%%include/libdrm/vc4_packet.h
48
%%ARM_DRIVERS%%include/libdrm/vc4_qpu_defines.h
48
%%ARM_DRIVERS%%include/libdrm/vc4_qpu_defines.h
49
%%LEGACY%%include/libdrm/via_drm.h
49
%%LEGACY%%include/libdrm/via_drm.h
50
include/libdrm/virtgpu_drm.h
50
%%VIRTGPU_DRIVER%%include/libdrm/virtgpu_drm.h
51
include/libdrm/vmwgfx_drm.h
51
%%VMWGFX_DRIVER%%include/libdrm/vmwgfx_drm.h
52
include/libkms/libkms.h
52
include/libkms/libkms.h
53
include/libsync.h
53
include/libsync.h
54
include/xf86drm.h
54
include/xf86drm.h
55
include/xf86drmMode.h
55
include/xf86drmMode.h
56
lib/libdrm.so
56
lib/libdrm.so
57
lib/libdrm.so.2
57
lib/libdrm.so.2
58
lib/libdrm.so.2.4.0
58
lib/libdrm.so.2.4.0
59
%%RADEON_DRIVERS%%lib/libdrm_amdgpu.so
59
%%RADEON_DRIVERS%%lib/libdrm_amdgpu.so
60
%%RADEON_DRIVERS%%lib/libdrm_amdgpu.so.1
60
%%RADEON_DRIVERS%%lib/libdrm_amdgpu.so.1
61
%%RADEON_DRIVERS%%lib/libdrm_amdgpu.so.1.0.0
61
%%RADEON_DRIVERS%%lib/libdrm_amdgpu.so.1.0.0
62
%%ARM_DRIVERS%%lib/libdrm_freedreno.so
62
%%ARM_DRIVERS%%lib/libdrm_freedreno.so
63
%%ARM_DRIVERS%%lib/libdrm_freedreno.so.1
63
%%ARM_DRIVERS%%lib/libdrm_freedreno.so.1
64
%%ARM_DRIVERS%%lib/libdrm_freedreno.so.1.0.0
64
%%ARM_DRIVERS%%lib/libdrm_freedreno.so.1.0.0
65
%%INTEL_DRIVER%%lib/libdrm_intel.so
65
%%INTEL_DRIVER%%lib/libdrm_intel.so
66
%%INTEL_DRIVER%%lib/libdrm_intel.so.1
66
%%INTEL_DRIVER%%lib/libdrm_intel.so.1
67
%%INTEL_DRIVER%%lib/libdrm_intel.so.1.0.0
67
%%INTEL_DRIVER%%lib/libdrm_intel.so.1.0.0
68
%%NOUVEAU_DRIVER%%lib/libdrm_nouveau.so
68
%%NOUVEAU_DRIVER%%lib/libdrm_nouveau.so
69
%%NOUVEAU_DRIVER%%lib/libdrm_nouveau.so.2
69
%%NOUVEAU_DRIVER%%lib/libdrm_nouveau.so.2
70
%%NOUVEAU_DRIVER%%lib/libdrm_nouveau.so.2.0.0
70
%%NOUVEAU_DRIVER%%lib/libdrm_nouveau.so.2.0.0
71
%%RADEON_DRIVERS%%lib/libdrm_radeon.so
71
%%RADEON_DRIVERS%%lib/libdrm_radeon.so
72
%%RADEON_DRIVERS%%lib/libdrm_radeon.so.1
72
%%RADEON_DRIVERS%%lib/libdrm_radeon.so.1
73
%%RADEON_DRIVERS%%lib/libdrm_radeon.so.1.0.1
73
%%RADEON_DRIVERS%%lib/libdrm_radeon.so.1.0.1
74
lib/libkms.so
74
lib/libkms.so
75
lib/libkms.so.1
75
lib/libkms.so.1
76
lib/libkms.so.1.0.0
76
lib/libkms.so.1.0.0
77
libdata/pkgconfig/libdrm.pc
77
libdata/pkgconfig/libdrm.pc
78
%%RADEON_DRIVERS%%libdata/pkgconfig/libdrm_amdgpu.pc
78
%%RADEON_DRIVERS%%libdata/pkgconfig/libdrm_amdgpu.pc
79
%%ARM_DRIVERS%%libdata/pkgconfig/libdrm_freedreno.pc
79
%%ARM_DRIVERS%%libdata/pkgconfig/libdrm_freedreno.pc
80
%%INTEL_DRIVER%%libdata/pkgconfig/libdrm_intel.pc
80
%%INTEL_DRIVER%%libdata/pkgconfig/libdrm_intel.pc
81
%%NOUVEAU_DRIVER%%libdata/pkgconfig/libdrm_nouveau.pc
81
%%NOUVEAU_DRIVER%%libdata/pkgconfig/libdrm_nouveau.pc
82
%%RADEON_DRIVERS%%libdata/pkgconfig/libdrm_radeon.pc
82
%%RADEON_DRIVERS%%libdata/pkgconfig/libdrm_radeon.pc
83
%%ARM_DRIVERS%%libdata/pkgconfig/libdrm_vc4.pc
83
%%ARM_DRIVERS%%libdata/pkgconfig/libdrm_vc4.pc
84
libdata/pkgconfig/libkms.pc
84
libdata/pkgconfig/libkms.pc
85
%%MANPAGES%%man/man3/drmAvailable.3.gz
85
%%MANPAGES%%man/man3/drmAvailable.3.gz
86
%%MANPAGES%%man/man3/drmHandleEvent.3.gz
86
%%MANPAGES%%man/man3/drmHandleEvent.3.gz
87
%%MANPAGES%%man/man3/drmModeGetResources.3.gz
87
%%MANPAGES%%man/man3/drmModeGetResources.3.gz
88
%%MANPAGES%%man/man7/drm-gem.7.gz
88
%%MANPAGES%%man/man7/drm-gem.7.gz
89
%%MANPAGES%%man/man7/drm-kms.7.gz
89
%%MANPAGES%%man/man7/drm-kms.7.gz
90
%%MANPAGES%%man/man7/drm-memory.7.gz
90
%%MANPAGES%%man/man7/drm-memory.7.gz
91
%%MANPAGES%%man/man7/drm-mm.7.gz
91
%%MANPAGES%%man/man7/drm-mm.7.gz
92
%%MANPAGES%%man/man7/drm-ttm.7.gz
92
%%MANPAGES%%man/man7/drm-ttm.7.gz
93
%%MANPAGES%%man/man7/drm.7.gz
93
%%MANPAGES%%man/man7/drm.7.gz
94
%%RADEON_DRIVERS%%%%DATADIR%%/amdgpu.ids
94
%%RADEON_DRIVERS%%%%DATADIR%%/amdgpu.ids
95
- 

Return to bug 243488