81 Commits

Author SHA1 Message Date
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
John Marino
3b60d2119d graphics/libdrm: Unbreak hardware acceleration on DragonFly
This is a no-op change for FreeBSD, it just adds a macro check for DF.
2014-08-02 08:52:32 +00:00
Baptiste Daroussin
1afadfc060 Revert switching to a single libdrm it breaks for ati users using old xorg 2014-07-21 20:22:35 +00:00
Baptiste Daroussin
a67b599004 Update to 2.4.54 for both new and old xorg
Also build libkms on architecture supporting it by default it will only be used
by drivers needing libkms hence not by old xorg

With hat:	x11
2014-07-20 22:22:10 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Koop Mast
174be0ddfc On ia64 [2] and powerpc [1] only the radeon bits are build. Fix the plist
for this, while here add powerpc64 too [1].

PR:		ports/184957 [1]
		ports/184967 [2]
Submitted by:	Andreas Tobler <andreast@FreeBSD.org> [1]
		Anton Shterenlikht <mexas@bris.ac.uk> [2]
2014-01-31 21:01:57 +00:00
Niclas Zeising
47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00
Niclas Zeising
5a4c543c2b The FreeBSD graphics/x11 team proudly presents
a kwm, zeising production:

MESA 9.1.6

Starring:
Mesa 9.1.6, including libGL, libGLU and dri (new xorg only)
Addition of libEGL and libglesv2
KMS support for ATI graphics cards in 10-current (new xorg only)
Improved sparc64 support for new xorg. [1]
pixman 0.30.2, including shlib bump and portrevision bumps
libX11 1.6.2
Make absolute pointing devices work with x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-ati 7.2.0 for 10-current (KMS aware ati driver)

Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
When updating MESA related ports (libGL, dri) you need to remove old versions
first.  See UPDATING for details.

PR:		ports/181962 [2]
Submitted by:	marius [1]
		zeising [2]
Exp-run by:	bdrewery
Approved by:	portmgr (bdrewery)

Thanks to all who helped testing!
2013-09-29 17:01:41 +00:00
Baptiste Daroussin
f45d0a8198 Fix NO_STAGE attribution 2013-09-22 18:05:04 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Baptiste Daroussin
efeb4f1aa7 Add an explicit dependency on pkgconfig 2013-09-02 06:39:37 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Koop Mast
ac4c97083c Update to 2.4.46.
Obtained from:	xorg-dev repo
2013-07-23 10:20:02 +00:00
Niclas Zeising
080b79d284 Rebump portrevisions to avoid versions going backwards, this was
accidentally removed in the xorg mega-commit.

Spotted by:	Herbert J. Skuhra <h.skuhra@gmail.com>
2013-05-25 18:16:44 +00:00