Commit graph

67 commits

Author SHA1 Message Date
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
Niclas Zeising
92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00
Koop Mast
c3c2e7cbff Convert x11@ owned ports to OptionsNG. Thanks go to bapt@ for review and help
rendered with deciphering the monster that is xorg-drivers.

With hat:	x11@
2013-01-05 22:57:40 +00:00
Steve Wills
5c57a67c6e - Fix typo in @comment which fixes build on arm, mips and sparc
Reported by:	flo
Pointyhat to:	swills
2012-09-22 02:10:48 +00:00
Steve Wills
d9787e66af - Fix build on PowerPC
PR:		ports/171301
Submitted by:	linimon
2012-09-17 03:23:03 +00:00
Mark Linimon
3a764317c4 Attempt to fix build of dri, libGL, and libdrm on tier-2 archs.
PR:		ports/169874
Submitted by:	marius, linimon
Tested on:	amd64, arm, i386, powerpc, sparc
Thanks to:	bz, andyt
2012-07-30 04:36:31 +00:00
Mark Linimon
01cdfc8a61 Fix build on powerpc and sparc64.
PR:			ports/167489
No objection from:	x11@
2012-06-24 17:30:00 +00:00
Koop Mast
7e5f2220c6 Restore PORTREVISION for the 2.4.17 version.
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2012-04-22 15:04:07 +00:00
Martin Wilke
29e347e197 - Please welcome Xorg 7.5.2
The Xorg Team is pleased to announce the next round of Xorg updates.
       The team created a new flag called WITH_NEW_XORG that users can include
       in /etc/make.conf. This was created for the intel KMS work being done
       althouthough It probably works for other chips. Unfortunately, the intel
       KMS driver will only work on FreeBSD 9(RELENG|STABLE) or 10/HEAD users.
       Older version of FreeBSD will not be supported. Intel users will need
       to patch their source manually with Konstantin?s KMS kernel patch to get
       the newer chips to work. Please carefully read UPDATING entry.

Changes:

        - libdrm 2.4.31 (including KMS support)
        - mesa 7.11.2
        - xorg-server 1.10.6
        - a lot of new Graphic Drivers.

    I would like to thank:

         Koop Mast
         Eitan Adler
         Niclas Zeising
         and all helpers and testers from x11@.
2012-04-21 17:03:32 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Martin Wilke
6fab8b8200 - Fix build on FreeBSD 10
Approved by:	kwm implicit
2011-10-28 18:21:28 +00:00
Olli Hauer
30f9161773 -remove MD5 2011-07-03 14:12:22 +00:00
Norikatsu Shigemura
a3f940658f Fix pkg-plist WITHOUT_NOUVEAU. 2010-05-15 03:33:40 +00:00
Norikatsu Shigemura
f03dfff6e8 To set variable, enclose in bsd.port.pre.mk - bsd.port.post.mk. 2010-03-15 12:28:30 +00:00
Norikatsu Shigemura
f18d011411 Limited Update to Mesa3D 7.6.1 and libdrm 2.4.17.
[MEMO]
In this commit, no version changed.  But if you put
'WITHOUT_NOUVEAU' on /etc/make.conf, you can use
new version of Mesa3D and libdrm.

Discussed with:	rnoland on freebsd-ports/freebsd-x11.
2010-02-07 11:51:08 +00:00