Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2015 08:25:48 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402912 - in head/graphics: libEGL libGL libGL/files
Message-ID:  <201512040825.tB48PmH2036685@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Fri Dec  4 08:25:48 2015
New Revision: 402912
URL: https://svnweb.freebsd.org/changeset/ports/402912

Log:
  Update Mesa ports to 11.0.6.
  
  Obtained from:	x11 team development repo.

Modified:
  head/graphics/libEGL/Makefile
  head/graphics/libGL/Makefile.common
  head/graphics/libGL/distinfo
  head/graphics/libGL/files/patch-src__loader__Makefile.in
  head/graphics/libGL/files/patch-src__loader__loader.c

Modified: head/graphics/libEGL/Makefile
==============================================================================
--- head/graphics/libEGL/Makefile	Fri Dec  4 06:29:33 2015	(r402911)
+++ head/graphics/libEGL/Makefile	Fri Dec  4 08:25:48 2015	(r402912)
@@ -23,8 +23,8 @@ USE_XORG+=	glproto dri2proto xext xdamag
 .include <bsd.port.options.mk>
 .include "${.CURDIR}/../../graphics/libGL/Makefile.common"
 
-MESA_BUILD_WRKSRC=	src/mapi src/gbm src/egl/drivers/dri2 src/egl/main
-MESA_INSTALL_WRKSRC=	src/egl/drivers/dri2 src/egl/main
+MESA_BUILD_WRKSRC=	src/mapi src/gbm src/egl/
+MESA_INSTALL_WRKSRC=	src/egl
 
 .include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
 

Modified: head/graphics/libGL/Makefile.common
==============================================================================
--- head/graphics/libGL/Makefile.common	Fri Dec  4 06:29:33 2015	(r402911)
+++ head/graphics/libGL/Makefile.common	Fri Dec  4 08:25:48 2015	(r402912)
@@ -18,7 +18,7 @@
 MESAVERSION=	${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/}
 MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/}
 
-MESABASEVERSION=	10.6.9
+MESABASEVERSION=	11.0.6
 # if there is a subversion, don't include the '-' between 7.11-rc2.
 MESASUBVERSION=
 
@@ -78,6 +78,9 @@ CONFIGURE_ARGS+=	--enable-gbm
 # the third option in --with-egl-platforms is wayland.
 CONFIGURE_ARGS+=	--enable-egl --with-egl-platforms=x11,drm
 
+# we don't care about GLes v1
+CONFIGURE_ARGS+=	--disable-gles1
+
 CONFIGURE_ARGS+=	--enable-gles2
 
 # Clover (OpenCL).

Modified: head/graphics/libGL/distinfo
==============================================================================
--- head/graphics/libGL/distinfo	Fri Dec  4 06:29:33 2015	(r402911)
+++ head/graphics/libGL/distinfo	Fri Dec  4 08:25:48 2015	(r402912)
@@ -1,2 +1,2 @@
-SHA256 (mesa-10.6.9.tar.xz) = b04c4de6280b863babc2929573da17218d92e9e4ba6272d548d135415723e8c3
-SIZE (mesa-10.6.9.tar.xz) = 7041588
+SHA256 (mesa-11.0.6.tar.xz) = 8340e64cdc91999840404c211496f3de38e7b4cb38db34e2f72f1642c5134760
+SIZE (mesa-11.0.6.tar.xz) = 7272972

Modified: head/graphics/libGL/files/patch-src__loader__Makefile.in
==============================================================================
--- head/graphics/libGL/files/patch-src__loader__Makefile.in	Fri Dec  4 06:29:33 2015	(r402911)
+++ head/graphics/libGL/files/patch-src__loader__Makefile.in	Fri Dec  4 08:25:48 2015	(r402912)
@@ -1,12 +1,11 @@
---- src/loader/Makefile.in.orig	2015-06-16 04:57:13.615972000 -0400
-+++ src/loader/Makefile.in	2015-06-16 04:59:22.244911000 -0400
-@@ -514,7 +514,8 @@
+--- src/loader/Makefile.in.orig	2015-08-24 10:41:51.309456000 +0200
++++ src/loader/Makefile.in	2015-08-24 10:42:39.452059000 +0200
+@@ -505,7 +505,7 @@
  noinst_LTLIBRARIES = libloader.la
  libloader_la_CPPFLAGS = $(DEFINES) -I$(top_srcdir)/include \
  	-I$(top_srcdir)/src $(VISIBILITY_CFLAGS) $(LIBUDEV_CFLAGS) \
--	$(am__append_1) $(am__append_3) $(am__append_4)
-+	$(LIBDEVQ_CFLAGS) $(am__append_1) $(am__append_3) \
-+	$(am__append_4)
+-	$(am__append_1) $(am__append_3)
++	$(LIBDEVQ_CFLAGS) $(am__append_1) $(am__append_3)
  libloader_la_SOURCES = $(LOADER_C_FILES)
- libloader_la_LIBADD = $(am__append_2) $(am__append_5)
+ libloader_la_LIBADD = $(am__append_2) $(am__append_4)
  all: all-am

Modified: head/graphics/libGL/files/patch-src__loader__loader.c
==============================================================================
--- head/graphics/libGL/files/patch-src__loader__loader.c	Fri Dec  4 06:29:33 2015	(r402911)
+++ head/graphics/libGL/files/patch-src__loader__loader.c	Fri Dec  4 08:25:48 2015	(r402912)
@@ -1,6 +1,6 @@
---- src/loader/loader.c.orig	2014-08-21 01:27:47.000000000 +0200
-+++ src/loader/loader.c	2014-09-04 19:57:56.384142575 +0200
-@@ -67,7 +67,7 @@
+--- src/loader/loader.c.orig	2015-08-22 12:01:00.000000000 +0200
++++ src/loader/loader.c	2015-08-24 10:50:05.251081000 +0200
+@@ -70,7 +70,7 @@
  #include <stdarg.h>
  #include <stdio.h>
  #include <string.h>
@@ -8,8 +8,8 @@
 +#if defined(HAVE_LIBUDEV) || defined(HAVE_LIBDEVQ)
  #include <assert.h>
  #include <dlfcn.h>
- #include <fcntl.h>
-@@ -488,6 +488,53 @@
+ #include <unistd.h>
+@@ -505,6 +505,54 @@ sysfs_get_pci_id_for_fd(int fd, int *ven
  }
  #endif
  
@@ -60,10 +60,11 @@
 +
 +#endif
 +
- #if !defined(__NOT_HAVE_DRM_H)
++
+ #if defined(HAVE_LIBDRM)
  /* for i915 */
  #include <i915_drm.h>
-@@ -571,6 +618,10 @@
+@@ -588,6 +636,10 @@ loader_get_pci_id_for_fd(int fd, int *ve
     if (sysfs_get_pci_id_for_fd(fd, vendor_id, chip_id))
        return 1;
  #endif
@@ -71,10 +72,10 @@
 +   if (devq_get_pci_id_from_fd(fd, vendor_id, chip_id))
 +      return 1;
 +#endif
- #if !defined(__NOT_HAVE_DRM_H)
+ #if HAVE_LIBDRM
     if (drm_get_pci_id_for_fd(fd, vendor_id, chip_id))
        return 1;
-@@ -665,6 +716,13 @@
+@@ -685,6 +737,13 @@ loader_get_device_name_for_fd(int fd)
     if ((result = sysfs_get_device_name_for_fd(fd)))
        return result;
  #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512040825.tB48PmH2036685>