1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

60 Commits

Author SHA1 Message Date
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
fa5b6aa0f4 graphics/mesa-dri: fix rendering glitches on AMD GPUs after r512440
PR:		240722
Reported by:	rozhuk.im@gmail.com, freebsdbugs@urisc.net
Tested by:	rozhuk.im@gmail.com, freebsdbugs@urisc.net
Obtained from:	upstream
Approved by:	portmgr blanket
2019-09-22 10:21:09 +00:00
Jan Beich
3f1915711d Switch default devel/llvm* to 90
PR:		239682
Reviewed by:	tobik
Differential Revision:	https://reviews.freebsd.org/D21172
2019-09-20 19:58:36 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +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
Jan Beich
d015ea6054 Don't reference obsolete drm-*-kmod ports 2019-01-17 16:19:39 +00:00
Jan Beich
cd740e600a graphics/mesa-{libs,dri}: update to 18.3.2
Changes:	https://www.mesa3d.org/relnotes/18.3.0.html
Changes:	https://www.mesa3d.org/relnotes/18.3.1.html
Changes:	https://www.mesa3d.org/relnotes/18.3.2.html
PR:		233034
Tested by:	Kevin Oberman
Approved by:	maintainer timeout (2 weeks after 2019Q1)
Differential Revision:	https://reviews.freebsd.org/D17872
2019-01-17 15:34:55 +00:00
Jan Beich
435f466d59 graphics/mesa-{libs,dri}: update to 18.2.8
- TEXTURE option is always enabled per
  https://cgit.freedesktop.org/mesa/mesa/commit/?id=66673bef941a

Changes:	https://www.mesa3d.org/relnotes/18.2.0.html
Changes:	https://www.mesa3d.org/relnotes/18.2.1.html
Changes:	https://www.mesa3d.org/relnotes/18.2.2.html
Changes:	https://www.mesa3d.org/relnotes/18.2.3.html
Changes:	https://www.mesa3d.org/relnotes/18.2.4.html
Changes:	https://www.mesa3d.org/relnotes/18.2.5.html
Changes:	https://www.mesa3d.org/relnotes/18.2.6.html
Changes:	https://www.mesa3d.org/relnotes/18.2.7.html
Changes:	https://www.mesa3d.org/relnotes/18.2.8.html
PR:		230298
Tested by:	Samy Mahmoudi, Kevin Oberman
Approved by:	maintainer timeout (2 weeks after 2019Q1)
Differential Revision:	https://reviews.freebsd.org/D16571
2019-01-17 15:34:37 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Jan Beich
f14586159d graphics/mesa-libs: enable WAYLAND by default here and in consumers
PR:		227509
Requested by:	Johannes Lundberg, Greg V
Reviewed by:	tobik (earlier version)
Approved by:	madpilot, x11 (zeising), maintainer timeout (2 weeks)
Exp-run by:	antoine
2018-11-11 23:54:06 +00:00
Rene Ladan
b7499ae64d Followup on r483807.
jbeich commented on some ports in D17724 but I forgot to add them to the list.

Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
2018-11-02 13:40:24 +00:00
Jan Beich
c198520374 graphics/mesa-dri: unbreak GCC build after r438198
configure: error: --enable-llvm is required when building r300

PR:		231329
Approved by:	maintainer timeout (1 month)
2018-10-28 05:04:41 +00:00
Jan Beich
d6bdbcf80d graphics/mesa-dri: don't forbid WAYLAND on non-x86
At least aarch64, armv6, armv7 couldn't set OPTIONS_SET+=WAYLAND via make.conf
(see also bug 227509) despite Wayland itself not having such a limitation.

=>> Ignoring graphics/mesa-dri: option WAYLAND is only valid on platforms with Vulkan

PR:		221540
Pointy hat to:	jbeich (regressed by r482192)
2018-10-20 21:39:20 +00:00
Jan Beich
096409bd09 graphics/mesa-dri: add WAYLAND option for Vulkan drivers
PR:		221540
Submitted by:	Greg V
Approved by:	maintainer timeout (9 months timeout), zeising (earlier version)
2018-10-16 00:00:20 +00:00
Niclas Zeising
93b5f880f0 graphics/mesa: Update to 18.1.9 2018-09-29 18:52:32 +00:00
Ed Maste
e40327df31 graphics/mesa-drivers: 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 18:49:51 +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
d009c5a848 graphics/mesa: Update to 18.1.8
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mesa-18.1
2018-09-10 05:36:10 +00:00
Jan Beich
b8dd068a7a lang/clover: unbreak with llvm70
llvm/codegen/native.cpp:135:49: error: too few arguments to function call, expected at least 4, have 3
         if (tm->addPassesToEmitFile(pm, fos, ft))
             ~~~~~~~~~~~~~~~~~~~~~~~            ^
/usr/local/llvm70/include/llvm/Target/TargetMachine.h:260:3: note: 'addPassesToEmitFile' declared here
  virtual bool addPassesToEmitFile(PassManagerBase &, raw_pwrite_stream &,
  ^

Obtained from:	upstream
Approved by:	portmgr blanket
2018-08-20 23:38:06 +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
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Niclas Zeising
0ca9f50bd4 graphics/mesa: Update to 18.1.4
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mesa-18.1
MFH:		2018Q3
X-MFH-with:	r474016
2018-07-23 17:27:12 +00:00
Niclas Zeising
1e59c050df graphics/mesa: update to 18.1.3
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mesa-18.1
2018-07-06 16:06:35 +00:00
Niclas Zeising
e4b93a0dd6 Add a patch to fix build with BSD grep
Since this is not the default, no need to bump portrevision.

PR:		228673
Submitted by:	Stefan Esser
2018-06-22 09:35:05 +00:00
Jan Beich
ae0f65577e graphics/libosmesa: drop -pthread workaround after r456530 2018-06-16 00:44:11 +00:00
Jan Beich
755238ff67 graphics/mesa-dri: drop llvm-config workaround after r458680 2018-06-16 00:43:56 +00:00
Jan Beich
4dd21d5211 graphics/mesa-{libs,dri}: update to 18.1.2
Changes:	https://www.mesa3d.org/relnotes/18.1.2.html
PR:		227685
2018-06-16 00:43:37 +00:00
Niclas Zeising
89889f5b9d graphics/mesa: Update to 18.1.1
Thanks to jbeich for help with testing.

Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/mesa-18.1
2018-06-07 18:42:08 +00:00
Niclas Zeising
ff52187624 graphics/mesa-libs, graphics/mesa-dri: Update to 18.1.0
Update mesa ports to 18.1

Changes:	https://www.mesa3d.org/relnotes/18.1.0.html

PR:		227685
Submitted by:	jbeich
Tested by:	Greg V, Carlos J. Puga Medina
2018-05-30 19:18:01 +00:00
Jan Beich
6560f40dcd graphics/mesa-{libs,dri}: update to 18.0.4
Changes:	https://www.mesa3d.org/relnotes/18.0.4.html
PR:		225415
2018-05-18 08:59:41 +00:00
Jan Beich
ef2f73fdf0 graphics/mesa-{libs,dri}: update to 18.0.3
Changes:	https://www.mesa3d.org/relnotes/18.0.3.html
PR:		225415
2018-05-08 00:34:28 +00:00
Jan Beich
8346fbad8b graphics/mesa-{libs,dri}: update to 18.0.2
Changes:	https://www.mesa3d.org/relnotes/18.0.2.html
PR:		225415
2018-04-28 20:56:05 +00:00
Jan Beich
dab52a12cd graphics/mesa-dri: switch to llvm60
PR:		227682
2018-04-27 23:09:59 +00:00
Jan Beich
954b34dc98 graphics/mesa-{libs,dri}: update to 18.0.1
Changes:	https://www.mesa3d.org/relnotes/18.0.1.html
PR:		225415
2018-04-18 17:48:29 +00:00
Jan Beich
89ca0fa3f1 graphics/mesa-{libs,dri}: update to 18.0.0
Changes:	https://www.mesa3d.org/relnotes/18.0.0.html
PR:		225415
Tested by:	Greg V, cpm, Kevin Oberman, Juan Ramón Molina Menor
Reviewed by:	Greg V (Wayland, Vulkan), jkim (umtx)
Approved by:	maintainer timeout (2 weeks)
2018-04-10 00:15:05 +00:00
Jan Beich
8892ec72d2 graphics/mesa-{libs,dri}: update to 17.3.8
Changes:	https://www.mesa3d.org/relnotes/17.3.2.html
Changes:	https://www.mesa3d.org/relnotes/17.3.3.html
Changes:	https://www.mesa3d.org/relnotes/17.3.4.html
Changes:	https://www.mesa3d.org/relnotes/17.3.5.html
Changes:	https://www.mesa3d.org/relnotes/17.3.6.html
Changes:	https://www.mesa3d.org/relnotes/17.3.7.html
Changes:	https://www.mesa3d.org/relnotes/17.3.8.html
PR:		225035
Tested by:	Oleh Hushchenkov, Kevin Oberman
Approved by:	maintainer timeout (3 months, cookie licking)
MFH:		2018Q2 (mostly regression fixes)
2018-04-10 00:14:41 +00:00
Jan Beich
f6cdd911fa graphics/mesa-dri: fix device name detection for Wayland/EGL
PR:		223030
Submitted by:	Greg V
Obtained from:	upstream (Mesa 18.0.0)
Approved by:	maintainer timeout (4 months)
2018-04-10 00:14:22 +00:00
Jan Beich
0696a89603 graphics/mesa-dri: always lower kernel version check
Sandybridge on FreeBSD 11.* is also affected:

$ glxgears
[intel_init_bufmgr: 1685] Kernel 3.9 required.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
5373 frames in 5.0 seconds = 1074.496 FPS

Reported by:	Kevin Oberman
PR:		225035 225415
2018-04-10 00:14:03 +00:00
Jan Beich
17c106b5b3 gecko, mesa-dri: shave unnecessary quoting for absolute path to LLD
Left side already unquoted and Mk/bsd.port.mk didn't quote.
2018-01-01 20:25:54 +00:00
Jan Beich
7db0c5970e graphics/mesa-dri: unbreak on powerpc* + clang after r457430
python2.7 ./radv_entrypoints_gen.py \
        --xml ../../../src/vulkan/registry/vk.xml --outdir .
Traceback (most recent call last):
  File "./radv_entrypoints_gen.py", line 30, in <module>
    from mako.template import Template
ImportError: No module named mako.template

PR:		221540
Reported by:	Mark Millard (via ports@ list)
Approved by:	portmgr blanket
2017-12-30 08:51:33 +00:00
Jan Beich
1545b3f4ce graphics/mesa-dri: enable Vulkan drivers
PR:		221540
Tested by:	Greg V
Approved by:	x11 (zeising)
2017-12-27 22:53:47 +00:00
Matthew Rezny
410afd0d3b Update the Mesa ports to 17.3.1 and switch to LLVM5 by default
Correct dependencies: remove the cruft added to mesa-dri in the previous
commit (those are mesa-libs deps), add a RUN_DEPENDS for libclc to clover

Clean up patches, remove one stale patch
2017-12-25 23:30:54 +00:00
Niclas Zeising
1290fbe8bc Update mesa ports to 17.3.0
Add missing dependencies on xcb and xxf86vm.

Changelog for mesa: https://www.mesa3d.org/relnotes/17.3.0.html

PR:		223195
Submitted by:	jbeich
Tested by:	Greg V, cpm
2017-12-17 13:07:37 +00:00
Guido Falsi
c26152ae1a - Update libva to 2.0.0
- Update libva-intel-driver to 2.0.0
- Update libva-utils to 2.0.0
- Bump dependent ports due to shlib bump
- Import upstream patch to fix multimedia/mpv [1]
- Import upstream patch to fix multimedia/gstreamer1-vaapi [2]

Approved by:	cpm [1], multimedia (timeout) [2]
Obtained from:	2ecf240b1c [1]
		https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/commit/gst-libs/gst/vaapi/gstvaapiutils.c?id=777bba473e3ed1c7b8b7f7f0322892851c70dfd9 [2]
Differential Revision:	https://reviews.freebsd.org/D12761
2017-12-12 21:29:57 +00:00
Matthew Rezny
9861320223 Update the Mesa ports to 17.2.4 2017-11-09 06:32:10 +00:00
Matthew Rezny
6269b36b10 Update the Mesa ports to 17.2.3 2017-10-24 01:36:03 +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