Commit graph

70 commits

Author SHA1 Message Date
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
Koop Mast
ac5450c31d Fix Malformed conditional
Submitted by:	portsnap index builder
2014-05-22 11:31:59 +00:00
Koop Mast
b8824f38b6 Tweak OSVERSION check to also include newer 9.x versions, since gcc from
base is not good enough.
For i386 depend on gcc form ports. This is due to a clang assertion [1],
which has been reported in the clang bugtracker.

Reported by:	many [1]
2014-05-22 10:25:39 +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
Koop Mast
a627b0690f Fix typo
Submitted by:	John Hein <jhein@symmetricom.com>
2014-01-31 22:21:43 +00:00
Koop Mast
61ba5e6249 Add powerpc64 to the checks for powerpc.
PR:		ports/184957
Submitted by:	Andreas Tobler <andreast@FreeBSD.org>
2014-01-31 21:05:15 +00:00
Koop Mast
01b2ec9de9 Make sure DIR_DRIVERS is always defined. This is needed because arm/mips
don't have any drivers defined which results in make errors.

PR:		ports/182875 [1]
Submitted by:	Anton Shterenlikht <mexas@bris.ac.uk> [1], mat@
2014-01-31 20:49:18 +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
Mathieu Arnold
d77405fd6d - Wrap up cd && foo in parenthesis, it'd break with bmake -j
- Replace some FIND ... CPIO with COPYTREE_SHARE.
2013-11-24 17:40:44 +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
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
737bed6923 Convert g* to USES=pkgconfig 2013-04-23 10:47:02 +00:00
Jung-uk Kim
d12657d8b5 Fix packaging and simplify. 2013-03-08 01:01:11 +00:00
Steve Wills
5012f81252 - Remove reference to nouveau driver which isn't built 2013-03-03 15:29:34 +00:00
Steve Wills
b0ade7ca8d - Fix plist on amd64 2013-03-03 15:02:54 +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
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
Doug Barton
ec407ff47c Add USE_PKGCONFIG= build, otherwise configure fails 2012-07-30 17:47:53 +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
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
d594ccc94f - 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/147646
		ports/148035
		ports/148744
		ports/150223
		ports/152889
		ports/154457
2011-02-25 16:52:50 +00:00
Marius Strobl
bb8871ec1b Unbreak the Mesa3D 7.4.4 build for powerpc and sparc64 after the 7.6.1
integration.

Approved by:	rnoland
2010-03-25 23:11:22 +00:00
Mark Linimon
8220511e41 Mark as broken on ia64 and sparc64: fails to install.
Hat:		portmgr
2010-03-22 05:05:06 +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
39a300fe40 Update to 7.4.4 2009-06-24 01:15:07 +00:00
Robert Noland
c9950828f2 Update to 7.4.3
This is a bug fix release.
2009-06-20 16:05:16 +00:00
Robert Noland
d57a06cfe9 Update to Mesa release 7.4.2 2009-05-15 13:15:28 +00:00
Robert Noland
903b864f33 Update to 7.4.1 2009-05-07 19:37:07 +00:00
Pav Lucistnik
933103fe7f - Mark MAKE_JOBS_UNSAFE
Approved by:	portmgr (implicit)
2009-04-15 14:14:31 +00:00
Marius Strobl
315a9a0bee Re-enable DRI on powerpc and sparc64, mainly in order to fix
packaging.

Approved by:	rnoland
2009-04-10 18:00:49 +00:00
Robert Noland
9f6b997847 Update the Mesa ports to 7.4
PR:		133167
Submitted by:	Anonymous <swell.k@gmail.com>
2009-04-04 04:16:10 +00:00
Robert Noland
134a22e2e7 Add dependency on dri2proto
Reported by: Herbert J. Skuhra

Approved by:	garga (mentor, implicit)
2009-01-24 21:07:32 +00:00
Robert Noland
afd1cca72a Update mesa related ports to 7.3
Approved by:	garga (mentor, implicit)
2009-01-24 18:13:01 +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
Martin Wilke
7272521fde - Add amd64 support for intel 965 chips 2008-05-01 14:10:48 +00:00
Martin Wilke
5ba04f729d - Add amd64 support for intel 965 chips
- Remove unneeded USE_GCC line
- Remove Xfree from the CONFLICT linie
- Bump PORTREVISION

PR:		123292
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de>
Reviewed by:	flz
Approved by:	flz (x11 maintainer)
2008-05-01 14:08:46 +00:00
Florent Thoumie
0b786009e1 Update Mesa libraries (GL, GLU and GLw) and dri to 7.0.3. 2008-04-29 15:05:42 +00:00
Florent Thoumie
836aebde5b Remove support for XFree8-4.
From now on, X_WINDOW_SYSTEM != "xorg" is not supported anymore.

PR:		ports/119418
Submitted by:	flz
Approved by:	portmgr (pav)
2008-03-07 21:47:50 +00:00
Edwin Groothuis
42b9878de0 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 01:14:50 +00:00
Florent Thoumie
971be6f225 - Refactor MesaLib ports.
- Update graphics/libGLw to 7.0.1.
2007-08-29 10:33:10 +00:00
Jung-uk Kim
1718081f81 Update to 7.0.1.
Approved by:	anholt (maintainer)
2007-08-15 16:55:15 +00:00
Jung-uk Kim
57819b4bd5 Fix accidental removal of PORTEPOCH in the previous commit.
Pointed out by:	kib
2007-07-02 19:31:54 +00:00
Jung-uk Kim
7a839ffa81 - Update to 7.0 (to sync with other Mesa libraries).
- Do not remove HAVE_POSIX_MEMALIGN from configuration files
where posix_memalign(3) is actually available.
- Use amd64-specific configuration file for amd64 build.  It gives
slightly better performance because it uses amd64 assembly code
in some places.

Approved by:	anholt (maintainer time out)
2007-07-02 17:10:08 +00:00
Florent Thoumie
92fd818e82 Depend explicitely on textproc/expat2.
Reported by:	des
Approved by:	portmgr (blanket)
2007-05-21 14:59:09 +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