This package contains the OpenGL library, which can perform rendering over GLX
or using the Direct Rendering Infrastructure.
WWW: http://www.freedesktop.org/Software/xorg
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
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
Update to 13.0.6
- Allow use of newer LLVM, i.e. llvm40, via MESA_LLVM_VER in make.conf [1]
- Disable use of LLVM on platforms where it's known not to be available [2]
PR: [1] 217016, [2] 216944
Reported by: [1] greenreaper@hotmail.com, [2] linimon
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10183
Add one sed command, courtesy of madpilot, to replicate a section of changes
that were over-eagerly trimmed from patch-configure in the last commit.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9555
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
Now that all supported FreeBSD versions support libmap.conf files installed
from ports, remove the symlink dance with libGL/libEGL/libgles and the
nvidia-driver ports.
* Revert libGL/libEGL/libglesv2 ports to normal.
* Rename the conflicting libraries from the nvidia-driver ports with a
-NVIDIA prefix and install a libmap.conf file to map to these versions.
* Remove the special case from Mk/Scripts/qa.sh for libGL and libEGL.
* Sadly the symlink dance between nvidia-driver and xorg-server for glx.so
need to stay, due to xorg-server opening that file with dlopen(3).
Approved by: portmgr@ (mat@ (prio version))
Differential Revision: https://reviews.freebsd.org/D7848
Update Mesa to 11.2.2.
Future mesa version will drop the glx-tls configure switch. This is by
default disabled on !linux and when the configure switch is dropped
glx-tls will be enabled always. Add a blob explaining why, we can't
enable this on FreeBSD yet. We might need to backport some patches
until we can.
Obtained from: graphics team development repo.
Exclude libclc (and thus OpenCL) on 10.1 i386.
There is a wierd issue with base clang and llvm37 which stops libclc to
build on 10.1 i386. So disable it so we don't block 1500+ ports.
Submitted by: pkg-fallout via antoine@
Update mesa to 11.0.8.
* Depend on libelf on DragonFly
* Rework the vdpau support code and enable vdpau for DragonFly, FreeBSD
doesn't support it just yet.
* Revert commit that removed support for non-render nodes. Neither
FreeBSD nor DragonFly supports render nodes at this time.
* Fix LDFLAGS to work with GCC5, which DragonFly uses by default.
* Update Makefile.targets: ffast-math isn't used since 8.0.3, don't
replace x86_64 with amd64 on Dragonfly. Drop obsolete python disable
replace.
Fix the build on powerpc*
The gallium driver is called radeonsi not radeon.
Submitted by: jmmv@, andreast@
Differential Revision: https://reviews.freebsd.org/D3966
* Don't hardcode the Gallium drivers instead set the wanted drivers per
arch, like is done for the dri drivers. This fixes Mesa build on arm. [1]
* Explicitly disable libva support. This resolves a build issue if libva
is installed. [2]
* remove the gallium-intel configure flag, it is gone.
PR: 197548 [2]
Reported by: sbruno@ [1]
Reported by: rozhuk.im@gmail.com [2]
Tested by: sbruno@ on arm [1]
Update Mesa to 10.6.9.
* Unbreak build on powerpc and other !x86 archs by moving the
--with-dri-drivers logic from dri/Makefile to the
libGL/Makefile.common file. So the settings are applied to all mesa ports,
this was missed in the 10.6.6 update. [1]
* Don't try to enable OpenCL support on anything other then i386 and amd64. [1]
* Move the texture-float and vdpau logic to Makefile.common even if the latter
isn't supported yet. Keep OPTIONS_DEFINE/DEFAULT in dri/Makefile since they
need to defined before bsd.port.options.mk is included, and they only affect
the dri modules.
* Sed on 11 and 10 supports \< and \> however sed on 9.x and dragonfly do not,
replace the sed keywords with some magic to get the intended results. [2]
Submitted by: marino@ [2]
Reported and tested by: arved@ (on ppc32)[1]
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,
(Only the first 15 lines of the commit message are shown above )
Update Mesa to 10.4.4.
Switch to llvm 3.5 for the Mesa 10.x series to be inline with the current
OpenCL work. There are regressions in llvm 3.4.x regarding OpenCL.
Obtained from: graphics team devel repo
Update Mesa to 10.4.3.
Move LLVM version selection to bsd.mesalib.mk so the clover port can use it.
Clover isn't included yet because it is a work in progress and doesn't work
yet.
Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The
first contains runtime libraries such as libintl and the latter contains
developer tools such as msgfmt. Ports that use gettext will usually need
a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools.
USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on
devel/gettext-runtime and USES=gettext-tools can be used to set a
BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same
as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on
devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools.
Update gettext to 0.19.3.
Remove :oldver from converters/libiconv and devel/gettext-runtime. Leave
symlinks with the old library versions to avoid the need to bump
PORTREVISION on a large number of dependent ports. When most of the
dependent ports have had normal version updates, PORTREVISION can be
bumped on the remaining ones (low number) and the links can be removed.
Fix some ports that installed files in lib/locale instead of share/locale.
PR: 194038
Reviewed by: bapt
Exp-run: antoine
Approved by: portmgr (antoine)
Update to 10.3.4.
Enable TEXTURE option in dri by default [1]. This allows for OpenGL higher
then 2.1 to be supported.
Make sure we depend on llvm at run time when gallium is enabled.
The gallium based modules link to the llvm shared libraries. [2]
PR: followup on 194655 [2]
Approved by: core@ [1]
Obtained from: xorg-dev repo
Fix libEGL and libGLESv2 conflict between libEGL/libglesv2 and the
nvidia-driver port in the same fashion it was done as the conflict
with the libGL port.
Mesa ports:
Add pkg-[de]install scripts to handle the symlinks in the libEGL
and libglesv2 port.
Move pkg-[de]install scripts of libGL out of files/
Put the real mesa libraries into lib/.mesa so we don't have each
port create a directory for it own use.
Nvidia-driver:
Only apply the libEGL.so and libGLESv2.so alternative install
directory if nvidia-driver actually ships them. Copied from
PR submitter, since it was much cleaner then my initial attempt.
(Only the first 15 lines of the commit message are shown above )
Update mesa to 10.3.3.
graphics/dri:
Move gettext:build to bsd.mesalib.mk so it present for all mesa ports. [1]
VDPAU needs GALLIUM so check for that, since it a Gallium state tracker. [1][2]
Rework llvm33/llvm34 selection so we can use the llvm version later on.
VDPAU links against the llvm libraries so we need to depend on the llvm port
as a run dependency .[1]
After discussion remove the VDPAU option for now. Radeon kernel drivers
currently
don't support hardware-assisted video decoding. And Gallium/VDPAU doesn't
support
the intel driver.
PR: 194655 [1]
PR: 194580 [2]
Update the "new" Mesa to 10.3.2.
Add code to select the correct MASTER_SITE.
Mesa version 10.3.0 -> distdir 10.3
Mesa version 10.3.2 -> distdir 10.3.2
Obtained from: xorg-dev repo
Update Mesa ports to new default of 9.1.7 and more recent version to 10.3.0.
The port will switch to the newer version if hw context is available in the
i915kms driver.
- Get ride of WITH_NEW_XORG.
- Use @comment in plist to ignore unwanted files in the stagedir, instead of
trying to remove them in post-install.
- Bump portrevision of 9.1.7 due to dependency changes.
- Drop :keepla from USES=libtool.
- Drop @dirrm[try] from plists
- Give dri propper options, with pkg-help for additional information.
- Make separate plist for dri for the different versions, the combined plist
was headache inducing.
- Add "workaround" patches to allow clang to build the dri port on i386 [1].
USE_GCC is now only needed for 8.x.
- Add gbm port and USE_GL switch for it.
PR: 192286 [1]
Submitted by: Carlos Jacobo Puga Medina [1]
Approved by: portmgr (bapt@)
In collaberation with: dumbbell@
Obtained from: xorg-dev
Fix the PORTREVISION bump for the lang/gcc update that went badly for
ports (x11-drivers plus graphics/libGL plus x11-servers/xorg-server)
that handle PORTREVISION in a creative manner hardly lending itself
to any form of automated bumping.
PR: 192025
Reported by: Scott Allendorf <scott-allendorf@uiowa.edu>
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
Move the ARCH = i386 check to bsd.mesalib.mk so it applies to all
Mesa ports. This will unbreak libglapi/libGL/libglesv2 on i386.
This was probably exposed by when the libglapi port was added.
graphics/libGL: Improve gallium patches to unbreak DragonFly
Some dependent ports are now building Gallium by default. This never
build on DragonFly before so the ports broke. Add DragonFly macro
to existing patches and add one new patch to restore DF builds.
Approved by: portmgr (bapt)
N-i-c-o on #freebsd-fr reported that dri.pc doesn't exist in the stage
directory on ARM. Thus, calling rm(1) on this non-existing file fails.
Passing "-f" to rm(1) fixes the problem.
Move the same commands which are executed in both branches of the "if
(WITH_NEW_XORG)" block, move them outside of it.
Obtained from: xorg-dev repo
Enable shared libglapi library and make a port for it. It is used by libGL
and libglesv2. This fixes undefined symbol issues in libglesv2.
Clean up stagedir of unwanted files/directories, so check-plist passes.
Switch logic and always build gallium support in graphics/dri on i386 and
amd64. Gallium is used for Radeon HD 5000+ support.
Use USES=tar:bzip2
Under WITH_NEW_XORG:
Add patch to remove some dependencies for aclocal.m4 which are absent.
This allows the removal of USE_AUTOTOOLS, REAPPLY_PATCHES and pre-configure
target.
Add INSTALL_TARGET=install-strip to strip libraries.
USES=libtool:keepla
Fix a /use typo with /usr in post-patch.
Bump PORTREVISION for the libtool and libglapi changes.
Submitted by: tijl@ (libtool and autotools changes)
Obtained from: xorg-dev repo (libglapi and gallium changes)
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr
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
(Only the first 15 lines of the commit message are shown above )
Update to 9.1.7.
Stagify, abuse stage dir and plist to only install files we want to install.
So we don't have to do complex do-install anymore, yay.
For the WITH_GALLIUM option we don't need llvm at run-time.
Obtained from: xorg-dev repo
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)
(Only the first 15 lines of the commit message are shown above )
Fix security issues in xorg client libraries.
Most libraries were updated to newer versions, in some cases patches
were backported instead.
Most notably, x11/libX11 was updated to 1.6.0
Security: CVE-2013-1981
CVE-2013-1982
CVE-2013-1983
CVE-2013-1984
CVE-2013-1985
CVE-2013-1986
CVE-2013-1987
CVE-2013-1988
CVE-2013-1989
(Only the first 15 lines of the commit message are shown above )
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
(Only the first 15 lines of the commit message are shown above )
- Fix logic error which caused the gallium-intel driver to be always disabled
[1]
- Make it possible to choose which DRI drivers will be built [2]
PR: ports/174725 [1]
PR: ports/154651 [2]
Submitted by: John Marino <draco@marino.st> [1]
Submitted by: bf [2]
Reviewed by: kwm [2]
Solve libGL.so and libglx.so conflict situation between libGL, xorg-server and
the nvidia-driver. Install the libraries in port specific directories.
Use pkg-install and pkg-deinstall scripts to update the hardlinks to the
default locations of these files.
While here clean up some @dirrmtry lines in xorg-server plist for directories
that aren.t created by xorg-server.
Motivator: pkgng
Inspiration: irc, freebsd-x11@ mailinglist discussion (sorry can't find it
anymore to give credit the people)
Reviewed by: danfe@ (for nvidia parts), bapt@
Approved by: danfe@ (for nvidia parts)
With hat: x11@
Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.
Bump all ports that directly depend on libglut because of the shlib version
change.
There are some extra items in this patch.
*) Because freeglut doesn't have the same dependancies as libglut, some ports
need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
remains now.
*) While here fix a png related build issue games/vegastrike.
Thanks to miwi for running the exp-run.
Approved by: portmgr (miwi)
Collaboration with: zeising@
Obtained from: xorg-dev staging area.
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
- 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@.
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Please welcome Xorg 7.5.1
The X-Server has been patched to the latest 1.7.X series, drivers
and fonts have been updated to the latest versions. This update includes
some components from Xorg 7.6 with a lot of improvements, and it seems
that the performance is much better than the old version. Also this
Update fix build issues with clang and binutils 2.17.50 in current,
remove 6.X gruft and de-author pkg-descr.
I would like to thank:
Beat Gaetzi
Dima Panov
Koop Mast
Eitan Adler
and all Testers.
PR: ports/147646ports/148035ports/148744ports/150223ports/152889ports/154457
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.