Commit graph

82 commits

Author SHA1 Message Date
Niclas Zeising
0824125a0c graphics/mesa: Add -D_GNU_SOURCE to compile flags
Add -D_GNU_SOURCE to compile flags when building on FreeBSD.  This is needed
to have mesa work with various locales, that for instance use , instead of .
as a decmal separator.

Bump portrevision on all mesa related ports.

PR:		241506
Reported by:	Jesper Schmitz Mouridsen
MFH:		2019Q4
2019-10-30 19:07:32 +00:00
Jan Beich
13f6aa2bdd graphics/mesa-dri: revert r512573 and limit to llvm80 after r512440
Mesa 18.3 doesn't support LLVM 9. While some fixes were backported
there're probably more issues. Apparently, Gnome shows black screen.
As the port is unlikely to be ready for future LLVM_DEFAULT bumps
without a version update just limit to previously tested value.

PR:		239682
Requested by:	imp
2019-10-04 20:08:27 +00:00
Jan Beich
6d80816e6f graphics/libosmesa: force rebuild after r512440
Reported by:	ajtiM (on x11@ list)
2019-09-22 10:21:01 +00:00
Niclas Zeising
6db0d126a4 Switch mesa and related ports to llvm80
Switch mesa over to use llvm80 instead of llvm60.  Make it use the
global LLVM_DEFAULT instead of deciding for ourself which llvm version
to use. [1]

Fix build of lang/beginet [1]

Add patch from upstream to fix build of devel/libclc.  The patch is taken
from the git mirror of devel/libclc rather than the SVN repo, for
convenience.

Add a patch from mesa upstream preventing certain error messages when using
amdgpu [2]

Add a notice to bsd.default-versions.mk asking that the graphics team be
informed before the llvm version is changed.

Enable llvm and gallium on MIPS.  As far as I can tell, this used to
be the default before this change.

Bump portrevisions since dependencies changed.

PR:		230789 [1], [2]
Submitted by:	jbeich [1], tobik [2]
Obtained from:	FreeBSD Graphics Team development repo
		https://github.com/FreeBSDDesktop/freebsd-ports/commits/feature/mesa-llvm80
Sponsored by:	B3 Init (zeising)
2019-06-30 14:56:12 +00:00
Jan Beich
9e43432b2f graphics/mesa-dri: back out r494579
Landed by mistake. x11@ is immune to maintainer timeout nowadays.

PR:		230789
2019-03-04 10:56:12 +00:00
Jan Beich
24a1731ddf graphics/mesa-dri: switch to llvm70
PR:		230789
Approved by:	maintainer timeout (2 weeks)
2019-03-04 10:42:22 +00:00
Niclas Zeising
93b5f880f0 graphics/mesa: Update to 18.1.9 2018-09-29 18:52:32 +00:00
Ed Maste
5b7798fc9e graphics/libosmesa: add -znotext to LDFLAGS on i386, for lld
This port links some non-PIC code, which fails with lld as it defaults
to disallowing relocations against read-only segments.  For i386 we can
just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
existing default.

PR:		214864
Approved by:	portmgr (lld blanket)
Sponsored by:	The FreeBSD Foundation
2018-09-20 19:07:00 +00:00
Niclas Zeising
0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Niclas Zeising
0e196f86c0 graphics/mesa: Update to 18.1.5
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mesa-18.1
MFC after:	2018Q3
2018-08-03 19:24:44 +00:00
Niclas Zeising
15dac70c75 Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto.  This update
tracks that change.

* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
  bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
  instead depend on xorgproto.  Bump portrevision.
* Delete the old *proto packages, update MOVED.

PR:		230023
Submitted by:	zeising
Approved by:	portmgr (antoine)
exp-run by:	antoine
2018-07-31 18:41:30 +00:00
Jan Beich
ae0f65577e graphics/libosmesa: drop -pthread workaround after r456530 2018-06-16 00:44:11 +00:00
Matthew Rezny
f4b4c28f25 Update the Mesa ports to 17.1.2
- patch the Intel driver to re-enable hardware acceleration on 10.x [1]

Reported by:	cpm [1]
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D11148
2017-06-18 14:02:35 +00:00
Matthew Rezny
943c52c8cc Update the Mesa ports to 17.1.0
* restrict use of LLVM for Gallium to platforms with LLVM in base to fix
  runtime errors when Gallium is built with a mix of GCC and LLVM
* make LLVM only a BUILD_DEPEND for mesa-libs, which needs it to build EGL
* add pkg-plist entries for freedreno and vc4 drivers [1]
* remove extraneous SHEBANG_FILES entry to fix build of freedreno [2,3]
* correct typo in libosmesa, which may have affected the Gallium build [4]

PR:		219247 [1], 219406 [3]
Submitted by:	jbeich [1] (2 patches, pkg-plist fix), strejda (vc4 CFLAGS)
Reported by:	strejda [2], andrew [3], linimon [4]
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10842
2017-05-21 19:30:54 +00:00
Matthew Rezny
e6acde078c Consolidate the Mesa ports, update to 17.0.4, and add Wayland option
* libGL, libEGL, libglesv2, libglapi, and gbm have been moved into mesa-libs,
  graphics/dri has been renamed to mesa-dri, and USE_GL has been adjusted
* mesa-libs has a new WAYLAND option that enables platform support in libEGL
* mesa-dri now depends on graphics/s2tc for compressed texture support [1]
* re-remove obsolete dependency on makedepends [2]
* correct sed fix backported from 17.1 [3]

PR:		218799 (exp-run), 212762 [1], 218552 [2], 218562 [3]
Submitted by:	dbn [1], jbeich [2,3]
Reported by:	afiskon@devzen.ru [1]
Reviewed by:	kwm, johalun0@gmail.com
Approved by:	portmgr, swills (mentor)
Differential Revision:  https://reviews.freebsd.org/D10448
2017-05-12 18:46:53 +00:00
Matthew Rezny
ef2181dc7a Update Mesa to 17.0.3
* OpenGL 4.5 support for RadeonSI and recent Intel
* Use LLVM 4.0 by default, building with 3.9 is possible via MESA_LLVM_VER
* DRI3 remains enabled at compile time, but is now disabled at runtime for
  stock FreeBSD.  Set LIBGL_DRI3_ENABLE in the environment to enable DRI3.
  This extra check is added when compiling on stock FreeBSD, not DRM-next.
  This change was made to work around a problem in libEGL, which fails to
  fall back to using DRI2 when run on a system without DRI3 support.

Reviewed by:	jmd, mat
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10250
2017-04-10 19:14:48 +00:00
Matthew Rezny
cffc145aad Update to 13.0.5
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9781
2017-02-25 14:55:21 +00:00
Matthew Rezny
ce75c06578 Update Mesa to 13.0.4
* Use LLVM 3.9
* OpenGL 4.4 support for recent Intel and ReadeonSI

PR:	214581
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9438
2017-02-11 13:31:59 +00:00
John Marino
1d2525df43 Add USES+=ssl to 3 of 8 graphics/libGL/Makefile.common consumers
Despite having a configure argument of --with-sha1=libcrypto, only three
of the eight users of graphics/libGL/Makefile.common actually link to
SSL libraries.  Individually add USES=ssl to these three ports rather
than have all 8 having this requirement.

Approved by:	SSL blanket
2016-09-15 16:16:22 +00:00
Dmitry Marakasov
4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +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
05360ec71e Update Mesa port to 10.6.6 and add Clover.
Add beignet 1.1.0.
Add clinfo, clblas, clfft and clrng.

The major change is that all Mesa ports are now configured the same way.
This fixes several problems and enables new features.  The details
are described in this blog post:
http://blogs.freebsdish.org/graphics/2015/03/18/unifying-mesa-ports-configure/

The second important change is the OpenCL support.  Mesa's
implementation, Clover, is enabled as well as Beignet.  Clover
targets all Gallium drivers, only Radeon GPUs in our case.  Beignet
is for Intel GPUs starting with Ivy Bridge.  Thanks to Johannes
Dieterich, O. Hartman, and Koop Mast for their work on OpenCL!  As a
bonus, there are several OpenCL-based math ports added (clblas,
clfft and clrng). For more information and known issues, please see
https://wiki.freebsd.org/Graphics/OpenCL

The third change is the removal of Mesa 9.1.7 which was installed on
FreeBSD 9.3-RELEASE.  There is now only one version of Mesa in the Ports
tree (10.6.6) for all supported versions of FreeBSD.

Other, smaller changes:

* Include libosmesa into the Mesa framework; this changes libOSMesa
  shlib version.

* bsd.mesalib.mk was renamed and split up in two files namely
  Makefile.common and Makefile.targets.  So ports can overwrite variables
  set by Makefile.common and are used by Makefile.targets.

* Some text in the pkg-descr files was wrong, clean it up.  While here,
  update the WWW to the main mesa3d.org upstream page.

* devel/clinfo was added, a glxinfo like program but for OpenCL.

Non-x86 hardware reports are very welcome since we changed the framework
quite a bit.

Obtained from:	Graphics team development repo.
2015-09-17 18:07:25 +00:00
Koop Mast
89e3f88888 Mark libosmesa broken on 11-i386 for now. This should stop
the fallout mail. We have a fix for the build
issue but the fix depends on other changes to the mesa ports.
This mesa update will be commit after 8.4-R has gone EOL.
2015-06-04 11:04:27 +00:00
Koop Mast
fa1bbae01b Grab maintainer, we maintain the other Mesa based ports already. 2014-12-10 23:00:28 +00:00
Pietro Cerutti
c020107379 - Reset maintainership of my ports 2014-12-10 22:29:14 +00:00
Baptiste Daroussin
a76a739bfe Cleanup plist 2014-10-20 17:04:20 +00:00
Pietro Cerutti
57a28960a2 - Use flex and bison from ports
- Bump PORTREVISION

PR:		193654
Submitted by:	ohartman@zedat.fu-berlin.de
2014-09-16 10:19:40 +00:00
Adam Weinberger
6a1a9b6889 Fix build by depending on bison.
GEN      program/program_parse.tab.c
byacc: e - line 119 of "program/program_parse.y", syntax error
%locations
^
gmake[3]: *** [program/program_parse.tab.c] Error 1
2014-09-12 15:16:49 +00:00
Pietro Cerutti
856d8f5445 - Update to 10.2.7
Release notes: http://www.mesa3d.org/relnotes/10.2.7.html
2014-09-11 13:31:48 +00:00
Pietro Cerutti
15ba8a254f - Update to 10.2.6
Release notes: http://www.mesa3d.org/relnotes/10.2.6.html
2014-08-28 09:00:38 +00:00
Pietro Cerutti
2b7a222754 - Update to 10.2.5
Release notes: http://www.mesa3d.org/relnotes/10.2.5.html
2014-08-05 09:38:56 +00:00
Pietro Cerutti
ff02bb5f47 - Update to 10.2.4
Release notes: http://www.mesa3d.org/relnotes/10.2.4.html
2014-07-29 10:32:08 +00:00
Pietro Cerutti
0b8108d4bf - Update to 10.2.3
Release notes: http://www.mesa3d.org/relnotes/10.2.3.html
2014-07-11 09:41:03 +00:00
Pietro Cerutti
81d81de33f - Doesn't need XORG
- Bump PORTREVISION (deps changed)
2014-07-07 09:13:49 +00:00
Pietro Cerutti
2c4ba3c6d9 - Update to 10.2.2
Release notes: http://www.mesa3d.org/relnotes/10.2.2.html
2014-06-30 10:27:19 +00:00
Pietro Cerutti
47eee6e7f4 - Update to 10.2.1
Release notes:
  http://www.mesa3d.org/relnotes/10.2.html
  http://www.mesa3d.org/relnotes/10.2.1.html
2014-06-10 08:35:05 +00:00
Pietro Cerutti
7f0013425a - Update to 10.1.4
Release notes: http://www.mesa3d.org/relnotes/10.1.4.html
2014-05-26 14:46:54 +00:00
Tijl Coosemans
56bacff771 Avoid USE_AUTOTOOLS.
Approved by:	gahr (maintainer)
2014-05-15 16:44:18 +00:00
Pietro Cerutti
f6bea598ae - Update to 10.1.3
Release notes:
  http://www.mesa3d.org/relnotes/10.1.3.html
  http://www.mesa3d.org/relnotes/10.1.2.html
2014-05-15 12:11:21 +00:00
Pietro Cerutti
aa02cf5a17 - Update to 10.1.1
Release notes: http://www.mesa3d.org/relnotes/10.1.1.html
2014-04-22 08:47:39 +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
Pietro Cerutti
3a2dd80354 - Update to 10.1.0
Release notes: http://www.mesa3d.org/relnotes/10.1.html
- c++11 is not needed to build this version
2014-03-20 09:24:56 +00:00
Pietro Cerutti
f930105bea - Update to 10.0.3
Release notes: http://www.mesa3d.org/relnotes/10.0.3.html
2014-02-04 09:59:59 +00:00
Pietro Cerutti
ffae571445 - Update to 10.0.2
Release notes: http://www.mesa3d.org/relnotes/10.0.2.html
2014-01-22 14:20:41 +00:00
Pietro Cerutti
66a8ece8c8 - Depend on a C11 compiler
- Bump PORTREVISION

Reported by:	PILOT <pilot513@gmail.com>
2014-01-08 14:21:03 +00:00
Pietro Cerutti
478bcaf2be - Update to 10.0.1
Release notes:

  http://www.mesa3d.org/relnotes/9.2.4.html
  http://www.mesa3d.org/relnotes/10.0.html
  http://www.mesa3d.org/relnotes/10.0.1.html
2013-12-20 12:44:28 +00:00
Marcus von Appen
dbdf82a5c9 - Restrict the python version to be used to the proper value
Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
2013-12-15 14:04:57 +00:00
Pietro Cerutti
524f530151 - Update to 9.2.3
Release notes: http://www.mesa3d.org/relnotes/9.2.3.html
2013-11-14 10:49:12 +00:00
Pietro Cerutti
bbc864f00a - Update to 9.2.2
ChangeLogs:

  http://www.mesa3d.org/relnotes/9.2.1.html
  http://www.mesa3d.org/relnotes/9.2.2.html
2013-10-25 15:54:53 +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