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

Collapse All | Expand All

(-)b/graphics/libdrm/Makefile (-1 / +2 lines)
Lines 1-74 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
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
26
26
.if defined(PACKAGE_BUILDING)
27
.if defined(PACKAGE_BUILDING)
27
OPTIONS_DEFAULT+=	MANPAGES
28
OPTIONS_DEFAULT+=	MANPAGES
28
.endif
29
.endif
29
30
30
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
31
MANPAGES_USE=		GNOME=libxslt:build
32
MANPAGES_USE=		GNOME=libxslt:build
32
MANPAGES_MESON_TRUE=	man-pages
33
MANPAGES_MESON_TRUE=	man-pages
33
34
34
TESTS_MESON_TRUE=	install-test-programs
35
TESTS_MESON_TRUE=	install-test-programs
35
36
36
# 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)
37
CONFIGURE_ARGS+=	-Dcairo-tests=false
38
CONFIGURE_ARGS+=	-Dcairo-tests=false
38
39
39
.include <bsd.port.options.mk>
40
.include <bsd.port.options.mk>
40
41
41
.if ${ARCH} == amd64 || ${ARCH} == i386
42
.if ${ARCH} == amd64 || ${ARCH} == i386
42
PLIST_SUB+=	ARM_DRIVERS="@comment "
43
PLIST_SUB+=	ARM_DRIVERS="@comment "
43
PLIST_SUB+=	INTEL_DRIVER=""
44
PLIST_SUB+=	INTEL_DRIVER=""
44
PLIST_SUB+=	NOUVEAU_DRIVER=""
45
PLIST_SUB+=	NOUVEAU_DRIVER=""
45
PLIST_SUB+=	RADEON_DRIVERS=""
46
PLIST_SUB+=	RADEON_DRIVERS=""
46
.elif ${ARCH:Mpowerpc*}
47
.elif ${ARCH:Mpowerpc*}
47
PLIST_SUB+=	ARM_DRIVERS="@comment "
48
PLIST_SUB+=	ARM_DRIVERS="@comment "
48
PLIST_SUB+=	INTEL_DRIVER="@comment "
49
PLIST_SUB+=	INTEL_DRIVER="@comment "
49
PLIST_SUB+=	NOUVEAU_DRIVER=""
50
PLIST_SUB+=	NOUVEAU_DRIVER=""
50
PLIST_SUB+=	RADEON_DRIVERS=""
51
PLIST_SUB+=	RADEON_DRIVERS=""
51
.elif ${ARCH} == aarch64
52
.elif ${ARCH} == aarch64
52
PLIST_SUB+=	ARM_DRIVERS=""
53
PLIST_SUB+=	ARM_DRIVERS=""
53
PLIST_SUB+=	INTEL_DRIVER="@comment "
54
PLIST_SUB+=	INTEL_DRIVER="@comment "
54
PLIST_SUB+=	NOUVEAU_DRIVER=""
55
PLIST_SUB+=	NOUVEAU_DRIVER=""
55
PLIST_SUB+=	RADEON_DRIVERS=""
56
PLIST_SUB+=	RADEON_DRIVERS=""
56
.elif ${ARCH:Marm*}
57
.elif ${ARCH:Marm*}
57
PLIST_SUB+=	ARM_DRIVERS=""
58
PLIST_SUB+=	ARM_DRIVERS=""
58
PLIST_SUB+=	INTEL_DRIVER="@comment "
59
PLIST_SUB+=	INTEL_DRIVER="@comment "
59
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
60
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
60
PLIST_SUB+=	RADEON_DRIVERS="@comment "
61
PLIST_SUB+=	RADEON_DRIVERS="@comment "
61
.else
62
.else
62
PLIST_SUB+=	ARM_DRIVERS="@comment "
63
PLIST_SUB+=	ARM_DRIVERS="@comment "
63
PLIST_SUB+=	INTEL_DRIVER="@comment "
64
PLIST_SUB+=	INTEL_DRIVER="@comment "
64
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
65
PLIST_SUB+=	NOUVEAU_DRIVER="@comment "
65
PLIST_SUB+=	RADEON_DRIVERS="@comment "
66
PLIST_SUB+=	RADEON_DRIVERS="@comment "
66
.endif
67
.endif
67
68
68
# This variable is not for users. So use a non-default name, intended for
69
# This variable is not for users. So use a non-default name, intended for
69
# people working on DRM kernel module development.
70
# people working on DRM kernel module development.
70
.if ${OPSYS} == FreeBSD && !defined(LIBDRM_SKIP_RETURN_PATCH)
71
.if ${OPSYS} == FreeBSD && !defined(LIBDRM_SKIP_RETURN_PATCH)
71
EXTRA_PATCHES+=	${FILESDIR}/extra-xf86drm.c
72
EXTRA_PATCHES+=	${FILESDIR}/extra-xf86drm.c
72
.endif
73
.endif
73
74
74
.include <bsd.port.mk>
75
.include <bsd.port.mk>
(-)b/graphics/libdrm/pkg-plist (-9 / +8 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
include/libdrm/mach64_drm.h
20
%%LEGACY%%include/libdrm/mach64_drm.h
21
include/libdrm/mga_drm.h
21
%%LEGACY%%include/libdrm/mga_drm.h
22
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
include/libdrm/qxl_drm.h
32
%%LEGACY%%include/libdrm/qxl_drm.h
33
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
include/libdrm/savage_drm.h
43
%%LEGACY%%include/libdrm/savage_drm.h
44
include/libdrm/sis_drm.h
44
%%LEGACY%%include/libdrm/sis_drm.h
45
include/libdrm/tegra_drm.h
45
include/libdrm/tegra_drm.h
46
include/libdrm/vc4_drm.h
46
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
include/libdrm/via_drm.h
49
%%LEGACY%%include/libdrm/via_drm.h
50
include/libdrm/virtgpu_drm.h
50
include/libdrm/virtgpu_drm.h
51
include/libdrm/vmwgfx_drm.h
51
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