Commit Graph

51 Commits

Author SHA1 Message Date
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
Robert Noland
e772ca6669 Update to 2.4.12
PR:		136806
Submitted by:	Anonymous <swell.k@gmail.com>
2009-08-01 17:39:21 +00:00
Robert Noland
0f966cccec Update to 2.4.11 2009-05-16 00:35:42 +00:00
Robert Noland
01824de4de Update to 2.4.9 2009-04-22 05:10:56 +00:00
Robert Noland
9e12d1d1ae Update to 2.4.7
Based mostly on a patch from Anonymous <swell.k@gmail.com> for the 2.4.6
update.

PR:		133454
2009-04-09 20:03:54 +00:00
Robert Noland
35c4d0238d Update to 2.4.5
PR:		132037
Submitted by:	Anonymous <swell.k@gmail.com>
2009-02-26 07:05:43 +00:00
Robert Noland
ea1d13b9a7 Update to 2.4.4
Approved by:	garga (mentor, implicit)
2009-01-24 17:23:47 +00:00
Florent Thoumie
340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00
Robert Noland
250cb7585a update to 2.3.1
PR:		126521
Approved by:	flz, garga (mentor)
2008-08-26 12:19:50 +00:00
Florent Thoumie
d0378afc80 Use bzip2 distfile.
PR:		ports/122214
Submitted by:	"Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
2008-05-29 14:17:03 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Eric Anholt
d423519fdb Update to 2.0.2, which includes new R200 VP commands. 2006-06-29 13:55:57 +00:00
Edwin Groothuis
ff21f59f9f Remove USE_REINPLACE for categories starting with a G 2006-05-07 23:46:33 +00:00
Eric Anholt
c8f831ab66 Update to 2.0.1, adding new hardware interfaces. 2006-04-08 09:32:36 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Dejan Lesjak
9bc071671d Remove ONLY_FOR_ARCHS. libdrm seems to build fine on at least sparc64
and ia64.
2006-01-08 02:35:17 +00:00
Dejan Lesjak
e3e3bfc9b8 Fix CATEGORIES.
Spotted by:	chkversion
Pointy hat to:	lesi
2006-01-03 11:08:03 +00:00