Commit Graph

94 Commits

Author SHA1 Message Date
Antoine Brodin cfe2794c82 Unbreak 2021-01-12 12:44:15 +00:00
Emmanuel Vadot b3e09c1b0e graphics/libdrm: Fix manpages generation
manpages are now in rst format.
2021-01-12 12:41:05 +00:00
Emmanuel Vadot eefc27a0d9 graphics/libdrm: Update to 2.4.104
Release notes:
https://lists.freedesktop.org/archives/dri-devel/2021-January/293654.html
2021-01-12 10:43:21 +00:00
Emmanuel Vadot 9d07d1e604 graphics/libdrm: Update to 2.4.103
- Sync i915 pci ids with latest upstream kernel
 - Add some amdgpu related tests programs

While here remove nouveau as we don't have it and won't for a while.
It causes mesa (and probably others) to detect it and adds compilation time
when build directly from upstream for development purpose.

Approved by:	x11 (zeising@ implicit)
2020-11-04 18:17:14 +00:00
Dmitry Marakasov 13aa06ad74 - Update WWW
Approved by:	portmgr blanket
2020-09-27 09:36:57 +00:00
Emmanuel Vadot daa3c3ed67 libdrm: Fix build on GCC based arch
PR:		246969
Reported by:	pkubaj
2020-06-04 09:36:38 +00:00
Emmanuel Vadot 1e262765fb libdrm: Update to 2.4.102
This update libdrm to the latest version which have all (-2) FreeBSD patches
upstream. I'd like to keep it that way so please refrain from adding patches
here.
2.4.101 release notes:
https://lists.freedesktop.org/archives/dri-devel/2020-April/261067.html
2.4.102 release notes:
https://lists.freedesktop.org/archives/dri-devel/2020-May/267255.html

No timeline in https://abi-laboratory.pro/index.php?view=timeline&l=libdrm
but should be ok based on what I saw

Reviewed by:	x11 (zeising)
Differential Revision:	https://reviews.freebsd.org/D25023
2020-06-02 09:42:05 +00:00
Niclas Zeising c682a4d53d graphics/libdrm: Update to 2.4.99
Update graphics/libdrm to 2.4.99

Changelog:
https://lists.x.org/archives/xorg-announce/2019-July/003001.html

PR:		239205
Reported by:	Shankar Giri
Obtained from:	FreeBSD Graphics Team development repo
		https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorglibs
Sponsored by:	B3 Init
2019-08-18 15:34:01 +00:00
Niclas Zeising 6a9eef6379 Switch a couple of x11 ports to https
Switch over a couple of x11 ports, that doesn't use the common xorg master
sites, to use https instead of http.

PR:		239094
Submitted by:	Miyashita Touka
2019-08-06 14:14:57 +00:00
Niclas Zeising 24814e320f graphics/libdrm: Fix check for arm and powerpc
Fix the theck for arm and powerpc in graphics/libdrm Makefile.  Instead of
checking for specific powerpc or arm versions, just use a pattern check for
powerpc* and arm* respectively.

This is part of a bigger sweep to consolodate this throughout the ports
tree.

PR:		239162
Submitted by:	linimon
2019-07-12 21:01:50 +00:00
Niclas Zeising 1cd1c6ec46 graphics/libdrm: Enable more drivers on aarch64
Enable noveau and radeon libdrm drivers on aarch64.  There is work in
progress to get at least the radeon and amdgpu drm kmods working on aarch64,
and this will aid that effort.

PR:		238948
Submitted by:	Greg V
2019-07-03 16:48:42 +00:00
Niclas Zeising eecc23f036 graphics/libdrm: fix drmGetNodeTypeFromFd
Fix drmGetNodeTypeFromFd, this should have been part of r505441

PR:		236933
Submitted by:	jbeich
Reviewed by:	manu
2019-06-30 17:39:05 +00:00
Niclas Zeising ebdf3d40d7 graphics/libdrm: Update to 2.4.98
Update graphics/libdrm to 2.4.98 [1]
Change to use the meson build system instead of autotools. [2]

PR:		235430 [1], 237411 [2]
Submitted by:	Greg V [1], jbiech [2]
2019-06-30 17:31:49 +00:00
Niclas Zeising 77cc191ffe graphics/libdrm: Update to 2.4.96
Rework local patches a bit because of upstream changes.

Changelog:
https://lists.freedesktop.org/archives/dri-devel/2018-August/187286.html
https://lists.x.org/archives/xorg-announce/2018-October/002920.html
https://lists.x.org/archives/xorg-announce/2018-October/002925.html

PR:		231607
Submitted by:	voidanix (original version)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/libdrm
2018-11-27 21:25:21 +00:00
Niclas Zeising a6412cb97c graphics/libdrm: Update to 2.4.93
Rebase local patches.

Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/commits/feature/libdrm
Sponsored by:	Essen Hackathon
2018-08-11 09:12:55 +00:00
Mark Linimon 52a39feebd Attempt to fix build on mips64. This is currently blocking 5,391 packages.
(I will accept the explanation that many of these are not useful for mips64,
but there are some in archivers, comms, databases, ...)

Tested on: amd64; mips64 xbuild.

Approved by:	portmgr (tier-2 blanket)
2018-06-11 01:20:56 +00:00
Niclas Zeising d36c859681 graphics/libdrm: Update to 2.4.92
Regenerate and update patches so they apply cleanly.

Changelog: https://cgit.freedesktop.org/mesa/drm/log/?id=libdrm-2.4.92

Tested by:	Pete Wright
2018-05-16 15:33:08 +00:00
Jan Beich 6112153985 graphics/libdrm: update to 2.4.91
Changes:	https://cgit.freedesktop.org/mesa/drm/log/?id=libdrm-2.4.91
ABI:		https://abi-laboratory.pro/tracker/timeline/libdrm/
PR:		227678
Approved by:	?
2018-05-04 19:48:23 +00:00
Matthew Rezny afafdd6be4 Update to 2.4.89 2017-12-25 23:20:14 +00:00
Niclas Zeising 21735a1156 Remove file. This is never used and never applied during patching. It
probably snuck in by mistake.
2017-12-09 21:10:21 +00:00
Matthew Rezny a2bce9c620 Update to 2.4.88 2017-11-09 06:30:53 +00:00
Matthew Rezny 507eda6dfb Update to 2.4.84 2017-10-24 01:30:16 +00:00
Mark Linimon 3ef3461740 For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
2017-10-10 21:31:30 +00:00
Matthew Rezny 3b37d6ab69 Update to 2.4.83 2017-08-27 18:33:02 +00:00
Matthew Rezny f4045b3392 Update to 2.4.82 2017-07-27 05:56:08 +00:00
Matthew Rezny b5613de09d Update to 2.4.81
Reviewed by:	kwm
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D11065
2017-06-05 21:25:52 +00:00
Matthew Rezny fad88a07e7 Assorted fixes and improvements to libdrm
* define ETIME in libsync.h to fix build of freedreno in Mesa [1]
* disable cairo tests to avoid circular dependency when cairo uses libGL [2]
* add TESTS option to install test programs which are always built
* build libkms on all platforms, it need not be limited to x86
* cease disabling vmwgfx, which needed patching to build

PR:		219420 [2]
Reported by:	strejda [1], maficccc@gmail.com [2]
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10841
2017-05-21 18:53:30 +00:00
Matthew Rezny dcbdd7e7a0 Update to 2.4.80
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10437
2017-04-20 18:56:46 +00:00
Matthew Rezny b29ddf3ae3 Update to 2.4.78 and remove the dependency on libdevq
The functionality previously provided by libdevq is now implemented directly
in libdrm. This direct implementation should be more robust than the prior
integration. Initial testing has shown improvements in some scenarios while
remaining on-par elsewhere. The ultimate goal of this effort is to have our
platform support integrated upstream, which will be easier without the extra
dependency. With that in mind, please quickly report any regressions found.

Reviewed by:	dumbbell (x11), bapt (x11)
Approved by:	swills (mentor), dumbbell (x11)
Differential Revision:	https://reviews.freebsd.org/D10184
2017-04-08 15:49:25 +00:00
Joseph Mingrone 5c9039bfb5 graphics/gbm graphics/libEGL graphics/libdrm graphics/libglapi:
Bump PORTREVISION on ports that had dependency changes after r437182

Approved by:	mat, swills (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D10179
2017-03-29 13:11:47 +00:00
Ashish SHUKLA 9cba0ef67a - Update devel/libpthread-stubs to 0.4
- Chase libpthread-stubs update, and also switch to BUILD_DEPENDS
  from LIB_DEPENDS, as port is now only .pc file

PR:		218015
Submitted by:	rezny
2017-03-29 06:50:28 +00:00
Matthew Rezny 32057ee3a5 Don't check device major ID, it's not always zero. Fixes Mesa 13 on drm-next
Submitted by:	hselasky
Reported by:	sbruno, hselasky, xmj
Reviewed by:	hselasky
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10000
2017-03-14 14:46:10 +00:00
Baptiste Daroussin f1deabd6a0 Remove useless dependency on gnumake
Reported by:	Emil Velikov <emil.l.velikov@gmail.com> (upstream)
2017-02-22 12:15:13 +00:00
Matthew Rezny bfe6614c5c Add missing header to fix build on PPC
Submitted by:	andreast
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9666
2017-02-21 13:48:02 +00:00
Matthew Rezny fec5ccdc9b Remove a patch from libdrm that caused it to always claim kms is available.
This change allows xf86-video-intel to know it should try to load i915kms.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9624
2017-02-16 14:29:02 +00:00
Matthew Rezny acdcc605d9 Remove post-patch cruft accidentally introduced into patch-configure files
with the previous commit. Thanks to tijl for noticing what I overlooked.

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9544
2017-02-11 17:44:59 +00:00
Matthew Rezny fa8519d5a6 Update libdrm to 2.4.75
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9437
2017-02-11 13:16:52 +00:00
Jan Beich 445c39aaf4 graphics/libdrm: unbreak on armv6 + aarch64
PR:		216377
Submitted by:	mikael.urankar@gmail.com
Approved by:	portmgr blanket
2017-01-23 13:57:06 +00:00
Baptiste Daroussin 2cc0c64fa7 Add support to find directly the drm device via libdevq the same
way linux uses libudev

PR:		214580
Submitted by:	matthew@reztek.cz
2017-01-16 23:05:23 +00:00
Baptiste Daroussin d41f933bc5 Update to 2.4.74 2017-01-14 10:37:09 +00:00
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Koop Mast 3b4c5197da Unbreak libdrm on dragonfly.
Reported by:	marino@
Tested by:	marino@
2016-02-15 11:31:53 +00:00
Koop Mast f296c5a872 Update libdrm to 2.4.66. 2016-02-10 11:31:47 +00:00
Koop Mast 8606beb1b8 The intel kernel driver leaks error code "512" (ERESTARTSYS) to
userland. This error code should be converted to EINTR and/or EAGAIN.

Teach libdrm to handle this error code as a work around, and add a
override to not apply the patch. Which is done for people doing
DRM development.

PR:		204174
2015-11-02 13:12:13 +00:00
Koop Mast 3a6ca959c1 Unbreak libdrm on 9.3-R. 2015-10-20 15:44:29 +00:00
Koop Mast 8cede960fe Update libdrm to 2.4.65.
Obtained from:  Xorg devel repo
2015-10-20 13:31:58 +00:00
Koop Mast 1fc509c591 Misc X.org port updates:
Update gccmakedep to 1.0.3.
Update imake to 1.0.7.
Update libpciaccess to 0.13.3.
Update libdrm to 2.4.60.
Update bitmap to 1.0.8.
Update fstobdf to 1.0.6.
Update iceauth to 1.0.7.
Update libXdmcp to 1.1.2.
Update libXp to 1.0.3.
Update libXvMC to 1.0.9.
Update libXxf86vm to 1.1.4.
Update libxshmfence to 1.2.
Update randrproto to 1.4.1.
Update rgb to 1.0.6.
Update sessreg to 1.1.0.
Update xcb-util-cursor to 0.1.2.
Update xedit to 1.2.2.
Update xkbcomp to 1.3.0.
Update xkeyboard-config to 2.14.
Update xproto to 7.0.27.
Update xf86-input-mouse to 1.9.1.
Update xf86-input-synaptics to 1.8.2.
Update xf86-video-i710 to 1.3.5.
Update xf86-video-mga to 1.6.4.
Update xf86-video-tdfx to 1.4.6.
Update xf86-video-vmware to 13.1.0.
Update bdftopcf to 1.0.5.
Update font-util to 1.3.1.
Update fslsfonts to 1.0.5.
Update mkfontscale to 1.1.2.
Update showfont to 1.0.5.
Update xfs to 1.1.4.
Update xfsinfo to 1.0.5.

Remove :keepla from USES=libtool for X libraries in bsd.xorg.mk, and bump
  all affected ports.

PR:		199400
Obtained from:	Xorg-devel repo
2015-04-18 15:34:36 +00:00
Koop Mast ed2b9a6306 Disable checking for hw.dri.%d.modesetting.
This sysctl is only available if a KMS module is loaded. But the libdrm
check happens before X has a chance of loading a KMS module.

This went unnoticed because I preload my KMS modules at boot.

Submitted by:	tijl@
2014-10-18 13:17:26 +00:00
Koop Mast 655b821fe3 Update to 2.4.58.
Remove support for the old libdrm and WITH_NEW_XORG.

Obtained from:	xorg-dev
2014-10-17 09:45:18 +00:00
Tijl Coosemans f388ad6fda Add USES=libtool and INSTALL_TARGET=install-strip 2014-09-09 13:34:34 +00:00