Commit graph

84 commits

Author SHA1 Message Date
Koop Mast
5155b7896e Update mesa ports to 10.4.6. 2015-03-08 21:42:51 +00:00
Koop Mast
507a1eba6a Update the mesa ports to 10.4.5. 2015-03-05 22:34:46 +00:00
Koop Mast
c272e35fb5 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
2015-02-09 14:47:19 +00:00
Koop Mast
b7b8559409 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.
2015-01-30 01:03:22 +00:00
Jung-uk Kim
2069641268 Fix plist. 2014-12-22 19:38:24 +00:00
Koop Mast
bc0438d6b1 Update mesa based ports to 10.4.0. 2014-12-22 19:00:01 +00:00
Tijl Coosemans
edb7229dd4 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)
2014-11-29 18:22:32 +00:00
Koop Mast
920e79368a 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
2014-11-27 14:48:48 +00:00
Koop Mast
5c3b6d77f9 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.
Make pkg-install script check if the nvidia-driver port installed
  the libEGL/libglesv2 libraries and only then make the symlinks.
  This should allow the script to work with the slave ports which
  don't install these libraries.
Make the pkg-deinstall script check if the mesa version of
 the libEGL/libGLESv2 libraries are installed before trying to
 recreate the symlinks of those ports.

PR:		194924
Submitted by:	Gerard Seibert <gerard_seibert@outlook.com>
Approved by:	portmgr (angrybapt)
2014-11-27 13:14:04 +00:00
Koop Mast
7d98db9cb2 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]
2014-11-21 11:34:04 +00:00
Koop Mast
a462744240 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
2014-10-27 20:39:00 +00:00
John Marino
801d8368e2 graphics/libGL: Fix Gallium drivers on DragonFly (No-Op for FreeBSD) 2014-10-23 11:27:42 +00:00
Koop Mast
17ee344a16 Enable the new Mesa if the DragonFly version is new enough.
Submitted by:	Francois Tigeot
2014-10-18 09:13:49 +00:00
Koop Mast
1d803f71bb 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
2014-10-17 09:53:13 +00:00
Gerald Pfeifer
0abc164359 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>
2014-09-12 00:01:23 +00:00
Gerald Pfeifer
15945f8122 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)
2014-09-10 20:50:31 +00:00
Jung-uk Kim
0d9b4dfe8a Catch up with recent MASTERSITE changes. 2014-06-17 17:23:07 +00:00
Koop Mast
ea02e52634 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.
2014-05-31 14:15:47 +00:00
John Marino
b94e6e8224 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)
2014-05-26 17:33:29 +00:00
Koop Mast
4b54cb2fb6 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
2014-05-22 10:20:03 +00:00
Koop Mast
c951967af7 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)
2014-05-17 09:56:00 +00:00
Baptiste Daroussin
4a4ec28d37 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
2014-05-05 09:45:36 +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
Martin Wilke
b971453ec8 - Fix build with stagedir support by removing leftovers
Discussed/Reviewed by:	bdrewery/antoine
2014-03-08 00:08:21 +00:00
Baptiste Daroussin
7ffe121c35 Add a mirror to avoid failing on clusters 2014-01-04 17:35:53 +00:00
Koop Mast
641a557daa make, make -V MAINTAINER output the correct value again. 2013-12-17 10:55:26 +00:00
Koop Mast
448c1bfd6a Fix graphics/dri on ia64.
Please note that WITH_NEW_XORG isn't tested due to other issues.

Submitted by:	marcel@
2013-12-13 12:21:17 +00:00
Koop Mast
c65c74a5b5 Unbreak build with global unset NLS. 2013-11-26 21:42:18 +00:00
Koop Mast
da3e448eb9 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
2013-11-26 20:58:53 +00:00
Koop Mast
2c977f1b91 Unbreak WITH_NEW_XORG patch stage. 2013-11-26 20:11:39 +00:00
Marcus von Appen
864818635f - Fix the usage of 'python' to get rid of the implicit lang/python
dependency in the mesa ports

Approved by:	x11@ (via kwm@)
2013-11-25 20:30:54 +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
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
46c3da032b Do not overwrite any existing USES that breaks graphics/dri defining USES=pkgconfig 2013-09-02 14:39:52 +00:00
Marcus von Appen
d1dd91e9ee - Fix Mesa builds by adding lang/python, since it does not support
setting an explicit Python version as build dependency
2013-08-17 22:31:07 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Eitan Adler
e8809ccea1 Add a maintainer
Obtained from:	xorg development repo
2013-07-03 19:02:01 +00:00
Niclas Zeising
d516c8b663 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
		CVE-2013-1990
		CVE-2013-1991
		CVE-2013-1992
		CVE-2013-1993
		CVE-2013-1994
		CVE-2013-1995
		CVE-2013-1996
		CVE-2013-1997
		CVE-2013-1998
		CVE-2013-1999
		CVE-2013-2000
		CVE-2013-2001
		CVE-2013-2002
		CVE-2013-2003
		CVE-2013-2004
		CVE-2013-2005
		CVE-2013-2062
		CVE-2013-2063
		CVE-2013-2064
		CVE-2013-2066
2013-06-04 19:31:29 +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
Baptiste Daroussin
f40f5bf278 Make sure bmake respect :U and :L as it used to work in make(1) 2013-05-03 13:11:44 +00:00
Baptiste Daroussin
737bed6923 Convert g* to USES=pkgconfig 2013-04-23 10:47:02 +00:00
Niclas Zeising
3a4b5c7dce Unbreak: Switch to USES=bison to pick up dependency on bison.
Obtained from:	xorg development repo
2013-03-08 12:55:43 +00:00
Steve Wills
7b55291c59 - 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]
2013-03-02 21:32:51 +00:00
Doug Barton
b5608e4d05 Without a build dep on pkgconf, configure fails 2012-10-01 07:01:04 +00:00
Steve Wills
1bd3aeaf94 - Use PTHREAD_LIBS instead of -lpthread
PR:		ports/170506
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com>
2012-09-13 18:07:55 +00:00
Eitan Adler
c2209e56c7 After a report of an error, mark graphics/libGL as not MAKE_JOBS_SAFE
PR:		ports/162412
Submitted by:	4720@hushmail.com
Reviewed by:	zeising
2012-09-03 19:04:31 +00:00
Koop Mast
04a589dee4 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@
2012-08-31 15:44:41 +00:00
Koop Mast
5aa7246575 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.
2012-08-04 22:52:02 +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
Martin Wilke
b72aa3dce3 - Unbreak build with clang
PR:		168902
Submitted by:	dim@
Tested by:	O. Hartmann" <ohartman@zedat.fu-berlin.de>
2012-06-10 05:47:43 +00:00