From 0e9fd6672a7a3212506159f5eda455087ebfd187 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 05:26:24 +0000 Subject: import mesa-18.3.1-2.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1322f5d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mesa-18.3.1.tar.xz diff --git a/.mesa.metadata b/.mesa.metadata new file mode 100644 index 0000000..822da05 --- /dev/null +++ b/.mesa.metadata @@ -0,0 +1 @@ +f82a1f168abe2a02c26325a8501a174d9fcc7c50 SOURCES/mesa-18.3.1.tar.xz diff --git a/SOURCES/0001-llvm-SONAME-without-version.patch b/SOURCES/0001-llvm-SONAME-without-version.patch new file mode 100644 index 0000000..cb91094 --- /dev/null +++ b/SOURCES/0001-llvm-SONAME-without-version.patch @@ -0,0 +1,26 @@ +From c2b4d93a5e4796ca53361c61d7e31edc24241932 Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +Date: Sun, 20 Mar 2016 13:26:25 +0100 +Subject: [PATCH 1/4] llvm SONAME without version + +Signed-off-by: Igor Gnatenko +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 5f75c60..d77f907 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2645,7 +2645,7 @@ + dnl ourselves. + dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823) + dnl We can't use $LLVM_VERSION because it has 'svn' stripped out, +- LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version` ++ LLVM_SO_NAME=LLVM + AS_IF([test -f "$LLVM_LIBDIR/lib$LLVM_SO_NAME.$IMP_LIB_EXT"], [llvm_have_one_so=yes]) + + if test "x$llvm_have_one_so" = xyes; then +-- +2.7.4 + diff --git a/SOURCES/0003-evergreen-big-endian.patch b/SOURCES/0003-evergreen-big-endian.patch new file mode 100644 index 0000000..ccf1717 --- /dev/null +++ b/SOURCES/0003-evergreen-big-endian.patch @@ -0,0 +1,26 @@ +From 0ec3bdb2264b491fd3f5dc4e638b4c12611ef219 Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +Date: Sun, 20 Mar 2016 13:27:45 +0100 +Subject: [PATCH 3/4] evergreen big endian + +Signed-off-by: Igor Gnatenko +--- + src/gallium/drivers/r600/r600_state_common.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c +index cac240e..4b620a1 100644 +--- a/src/gallium/drivers/r600/r600_state_common.c ++++ b/src/gallium/drivers/r600/r600_state_common.c +@@ -2716,7 +2716,7 @@ uint32_t r600_translate_colorformat(enum chip_class chip, enum pipe_format forma + + uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap) + { +- if (R600_BIG_ENDIAN) { ++ if (0 && R600_BIG_ENDIAN) { + switch(colorformat) { + /* 8-bit buffers. */ + case V_0280A0_COLOR_4_4: +-- +2.7.4 + diff --git a/SOURCES/Makefile b/SOURCES/Makefile new file mode 100644 index 0000000..a2d9817 --- /dev/null +++ b/SOURCES/Makefile @@ -0,0 +1,23 @@ +VERSION ?= 18.3.1 +SANITIZE ?= 1 + +DIRNAME = mesa-${VERSION} + +all: archive + +clean: + rm -rf $(DIRNAME)/ + rm -f mesa-${VERSION}.tar.xz + +clone: clean + curl -O https://mesa.freedesktop.org/archive/mesa-${VERSION}.tar.xz + tar xf mesa-${VERSION}.tar.xz + +sanitize: clone vl_mpeg12_decoder.c vl_decoder.c +ifdef SANITIZE + cat < vl_mpeg12_decoder.c > $(DIRNAME)/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c + cat < vl_decoder.c > $(DIRNAME)/src/gallium/auxiliary/vl/vl_decoder.c +endif + +archive: clone sanitize + tar caf ${DIRNAME}.tar.xz ${DIRNAME} diff --git a/SOURCES/Mesa-MLAA-License-Clarification-Email.txt b/SOURCES/Mesa-MLAA-License-Clarification-Email.txt new file mode 100644 index 0000000..30bdf2e --- /dev/null +++ b/SOURCES/Mesa-MLAA-License-Clarification-Email.txt @@ -0,0 +1,117 @@ + +Subject: RE: Question about Mesa MLAA license +From: Jorge Jimenez +Date: 01/08/2013 12:50 PM +To: Tom Callaway +CC: "jorge@iryoku.com" + +Yes to both questions. + +Thanks, +Jorge + +From: Tom Callaway +Sent: January 8, 2013 6:49 PM +To: Jorge Jimenez +CC: jorge@iryoku.com +Subject: Re: Question about Mesa MLAA license + +On 01/08/2013 12:39 PM, Jorge Jimenez wrote: +> Hi Tom, +> +> What we meant with that is that we made an exception for clause 2. +> Instead of clause 2, in the case of the Mesa project, you have to name +> the technique Jimenez's MLAA in the config options of Mesa. We did that +> just to allow them to solve license issues. This exception should be for +> the Mesa project, and any project using Mesa, like Fedora. +> +> We want to widespread usage of our MLAA, so we want to avoid any kind of +> license complications. Hope current one is good for Fedora, if not +> please tell, and we'll see what we can do! + +Okay, a few more questions: + +* If Fedora decides to simply reproduce the quoted statement: +"Uses Jimenez's MLAA. Copyright (C) 2010 by Jorge Jimenez, Belen Masia, +Jose I. Echevarria, Fernando Navarro and Diego Gutierrez." + +Specifically, if this is done as part of documentation included with +Mesa, is that sufficient to meet clause 2 even if the Mesa config option +is not set as described in your exception? + +* Currently, the Mesa config option for MLAA says: "Morphological +anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default +quality". Is this in compliance with your exception? + +Thanks again, + +~tom + +== +Fedora Project + +Subject: RE: Question about Mesa MLAA license +From: Jorge Jimenez +Date: 01/08/2013 12:39 PM +To: "jorge@iryoku.com" , Tom Callaway + +Hi Tom, + +What we meant with that is that we made an exception for clause 2. +Instead of clause 2, in the case of the Mesa project, you have to name +the technique Jimenez's MLAA in the config options of Mesa. We did that +just to allow them to solve license issues. This exception should be for +the Mesa project, and any project using Mesa, like Fedora. + +We want to widespread usage of our MLAA, so we want to avoid any kind of +license complications. Hope current one is good for Fedora, if not +please tell, and we'll see what we can do! + +Cheers, +Jorge + +From: Tom Callaway +Sent: January 8, 2013 6:30 PM +To: jorge@iryoku.com +Subject: Question about Mesa MLAA license + +Jorge, + +Thanks for all of your fantastic graphics work! I have been auditing +Fedora (a popular distribution of Linux) for license compliance and I +came across your MLAA code in Mesa. + +The license says: + + * 2. Redistributions in binary form must reproduce the following +statement: + * + * "Uses Jimenez's MLAA. Copyright (C) 2010 by Jorge Jimenez, Belen Masia, + * Jose I. Echevarria, Fernando Navarro and Diego Gutierrez." + * + * Only for use in the Mesa project, this point 2 is filled by naming the + * technique Jimenez's MLAA in the Mesa config options. + +That wording is unclear. When you say "Only for use in the Mesa +project...", it seems like you could either be saying: + +- This code may only be used as part of Mesa. + +OR + +- In Mesa, you can comply with clause 2 by simply selecting "Jimenez's +MLAA" in the Mesa config options. + +***** + +If the first item is true, then we may have to remove the MLAA code from +Fedora's copy of Mesa. However, looking at the license on your SMAA +code, I do not believe it to be the case. Please let me know either way! + +Thanks in advance, + +Tom Callaway +Fedora Legal + +== +Fedora Project diff --git a/SOURCES/glvnd-fix-gl-dot-pc.patch b/SOURCES/glvnd-fix-gl-dot-pc.patch new file mode 100644 index 0000000..b723734 --- /dev/null +++ b/SOURCES/glvnd-fix-gl-dot-pc.patch @@ -0,0 +1,12 @@ +diff -up mesa-12.0.3/src/mesa/gl.pc.in.jx mesa-12.0.3/src/mesa/gl.pc.in +--- mesa-12.0.3/src/mesa/gl.pc.in.jx 2016-01-18 02:39:26.000000000 -0500 ++++ mesa-12.0.3/src/mesa/gl.pc.in 2016-10-25 13:06:44.013159358 -0400 +@@ -7,7 +7,7 @@ Name: gl + Description: Mesa OpenGL library + Requires.private: @GL_PC_REQ_PRIV@ + Version: @PACKAGE_VERSION@ +-Libs: -L${libdir} -l@GL_PKGCONF_LIB@ ++Libs: -L${libdir} -lGL + Libs.private: @GL_PC_LIB_PRIV@ + Cflags: -I${includedir} @GL_PC_CFLAGS@ + glx_tls: @GLX_TLS@ diff --git a/SOURCES/mesa-18.0.2-gallium-osmesa.patch b/SOURCES/mesa-18.0.2-gallium-osmesa.patch new file mode 100644 index 0000000..f29043b --- /dev/null +++ b/SOURCES/mesa-18.0.2-gallium-osmesa.patch @@ -0,0 +1,12 @@ +diff -up mesa-18.0.2/src/gallium/auxiliary/Makefile.am.jx mesa-18.0.2/src/gallium/auxiliary/Makefile.am +--- mesa-18.0.2/src/gallium/auxiliary/Makefile.am.jx 2018-04-28 12:25:16.000000000 -0400 ++++ mesa-18.0.2/src/gallium/auxiliary/Makefile.am 2018-05-29 11:41:23.429180991 -0400 +@@ -29,6 +29,8 @@ AM_CFLAGS += \ + libgallium_la_SOURCES += \ + $(RENDERONLY_SOURCES) + ++libgallium_la_LIBADD = $(LIBDRM_LIBS) ++ + endif + + if HAVE_GALLIUM_LLVM diff --git a/SOURCES/shmfix.patch b/SOURCES/shmfix.patch new file mode 100644 index 0000000..cec7f06 --- /dev/null +++ b/SOURCES/shmfix.patch @@ -0,0 +1,220 @@ +diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h +index 6f9c2c8b8cf..c1c15013a58 100644 +--- a/include/GL/internal/dri_interface.h ++++ b/include/GL/internal/dri_interface.h +@@ -589,7 +589,7 @@ struct __DRIdamageExtensionRec { + * SWRast Loader extension. + */ + #define __DRI_SWRAST_LOADER "DRI_SWRastLoader" +-#define __DRI_SWRAST_LOADER_VERSION 4 ++#define __DRI_SWRAST_LOADER_VERSION 5 + struct __DRIswrastLoaderExtensionRec { + __DRIextension base; + +@@ -649,6 +649,23 @@ struct __DRIswrastLoaderExtensionRec { + void (*getImageShm)(__DRIdrawable *readable, + int x, int y, int width, int height, + int shmid, void *loaderPrivate); ++ ++ /** ++ * Put shm image to drawable (v2) ++ * ++ * The original version fixes srcx/y to 0, and expected ++ * the offset to be adjusted. This version allows src x,y ++ * to not be included in the offset. This is needed to ++ * avoid certain overflow checks in the X server, that ++ * result in lost rendering. ++ * ++ * \since 5 ++ */ ++ void (*putImageShm2)(__DRIdrawable *drawable, int op, ++ int x, int y, ++ int width, int height, int stride, ++ int shmid, char *shmaddr, unsigned offset, ++ void *loaderPrivate); + }; + + /** +diff --git a/src/gallium/include/state_tracker/drisw_api.h b/src/gallium/include/state_tracker/drisw_api.h +index e365ab81f18..4b5d36c1797 100644 +--- a/src/gallium/include/state_tracker/drisw_api.h ++++ b/src/gallium/include/state_tracker/drisw_api.h +@@ -20,7 +20,7 @@ struct drisw_loader_funcs + void (*put_image2) (struct dri_drawable *dri_drawable, + void *data, int x, int y, unsigned width, unsigned height, unsigned stride); + void (*put_image_shm) (struct dri_drawable *dri_drawable, +- int shmid, char *shmaddr, unsigned offset, ++ int shmid, char *shmaddr, unsigned offset, unsigned offset_x, + int x, int y, unsigned width, unsigned height, unsigned stride); + }; + +diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c +index 5a0d2e1354d..927ac39ce65 100644 +--- a/src/gallium/state_trackers/dri/drisw.c ++++ b/src/gallium/state_trackers/dri/drisw.c +@@ -79,15 +79,21 @@ put_image2(__DRIdrawable *dPriv, void *data, int x, int y, + + static inline void + put_image_shm(__DRIdrawable *dPriv, int shmid, char *shmaddr, +- unsigned offset, int x, int y, ++ unsigned offset, unsigned offset_x, int x, int y, + unsigned width, unsigned height, unsigned stride) + { + __DRIscreen *sPriv = dPriv->driScreenPriv; + const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; + +- loader->putImageShm(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, +- x, y, width, height, stride, +- shmid, shmaddr, offset, dPriv->loaderPrivate); ++ /* if we have the newer interface, don't have to add the offset_x here. */ ++ if (loader->base.version > 4 && loader->putImageShm2) ++ loader->putImageShm2(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, ++ x, y, width, height, stride, ++ shmid, shmaddr, offset, dPriv->loaderPrivate); ++ else ++ loader->putImageShm(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, ++ x, y, width, height, stride, ++ shmid, shmaddr, offset + offset_x, dPriv->loaderPrivate); + } + + static inline void +@@ -179,12 +185,13 @@ drisw_put_image2(struct dri_drawable *drawable, + static inline void + drisw_put_image_shm(struct dri_drawable *drawable, + int shmid, char *shmaddr, unsigned offset, ++ unsigned offset_x, + int x, int y, unsigned width, unsigned height, + unsigned stride) + { + __DRIdrawable *dPriv = drawable->dPriv; + +- put_image_shm(dPriv, shmid, shmaddr, offset, x, y, width, height, stride); ++ put_image_shm(dPriv, shmid, shmaddr, offset, offset_x, x, y, width, height, stride); + } + + static inline void +diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c b/src/gallium/winsys/sw/dri/dri_sw_winsys.c +index cd44b036c6f..c0200f939b6 100644 +--- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c ++++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c +@@ -244,15 +244,20 @@ dri_sw_displaytarget_display(struct sw_winsys *ws, + unsigned width, height, x = 0, y = 0; + unsigned blsize = util_format_get_blocksize(dri_sw_dt->format); + unsigned offset = 0; ++ unsigned offset_x = 0; + char *data = dri_sw_dt->data; +- ++ bool is_shm = dri_sw_dt->shmid != -1; + /* Set the width to 'stride / cpp'. + * + * PutImage correctly clips to the width of the dst drawable. + */ + if (box) { +- offset = (dri_sw_dt->stride * box->y) + box->x * blsize; ++ offset = dri_sw_dt->stride * box->y; ++ offset_x = box->x * blsize; + data += offset; ++ /* don't add x offset for shm, the put_image_shm will deal with it */ ++ if (!is_shm) ++ data += offset_x; + x = box->x; + y = box->y; + width = box->width; +@@ -262,8 +267,8 @@ dri_sw_displaytarget_display(struct sw_winsys *ws, + height = dri_sw_dt->height; + } + +- if (dri_sw_dt->shmid != -1) { +- dri_sw_ws->lf->put_image_shm(dri_drawable, dri_sw_dt->shmid, dri_sw_dt->data, offset, ++ if (is_shm) { ++ dri_sw_ws->lf->put_image_shm(dri_drawable, dri_sw_dt->shmid, dri_sw_dt->data, offset, offset_x, + x, y, width, height, dri_sw_dt->stride); + return; + } +diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c +index a2777100a32..fa0f0d7bf6f 100644 +--- a/src/glx/drisw_glx.c ++++ b/src/glx/drisw_glx.c +@@ -201,7 +201,8 @@ bytes_per_line(unsigned pitch_bits, unsigned mul) + + static void + swrastXPutImage(__DRIdrawable * draw, int op, +- int x, int y, int w, int h, int stride, ++ int srcx, int srcy, int x, int y, ++ int w, int h, int stride, + int shmid, char *data, void *loaderPrivate) + { + struct drisw_drawable *pdp = loaderPrivate; +@@ -235,12 +236,12 @@ swrastXPutImage(__DRIdrawable * draw, int op, + if (pdp->shminfo.shmid >= 0) { + ximage->width = ximage->bytes_per_line / ((ximage->bits_per_pixel + 7)/ 8); + ximage->height = h; +- XShmPutImage(dpy, drawable, gc, ximage, 0, 0, x, y, w, h, False); ++ XShmPutImage(dpy, drawable, gc, ximage, srcx, srcy, x, y, w, h, False); + XSync(dpy, False); + } else { + ximage->width = w; + ximage->height = h; +- XPutImage(dpy, drawable, gc, ximage, 0, 0, x, y, w, h); ++ XPutImage(dpy, drawable, gc, ximage, srcx, srcy, x, y, w, h); + } + ximage->data = NULL; + } +@@ -254,7 +255,21 @@ swrastPutImageShm(__DRIdrawable * draw, int op, + struct drisw_drawable *pdp = loaderPrivate; + + pdp->shminfo.shmaddr = shmaddr; +- swrastXPutImage(draw, op, x, y, w, h, stride, shmid, ++ swrastXPutImage(draw, op, 0, 0, x, y, w, h, stride, shmid, ++ shmaddr + offset, loaderPrivate); ++} ++ ++static void ++swrastPutImageShm2(__DRIdrawable * draw, int op, ++ int x, int y, ++ int w, int h, int stride, ++ int shmid, char *shmaddr, unsigned offset, ++ void *loaderPrivate) ++{ ++ struct drisw_drawable *pdp = loaderPrivate; ++ ++ pdp->shminfo.shmaddr = shmaddr; ++ swrastXPutImage(draw, op, x, 0, x, y, w, h, stride, shmid, + shmaddr + offset, loaderPrivate); + } + +@@ -263,7 +278,7 @@ swrastPutImage2(__DRIdrawable * draw, int op, + int x, int y, int w, int h, int stride, + char *data, void *loaderPrivate) + { +- swrastXPutImage(draw, op, x, y, w, h, stride, -1, ++ swrastXPutImage(draw, op, 0, 0, x, y, w, h, stride, -1, + data, loaderPrivate); + } + +@@ -272,7 +287,7 @@ swrastPutImage(__DRIdrawable * draw, int op, + int x, int y, int w, int h, + char *data, void *loaderPrivate) + { +- swrastXPutImage(draw, op, x, y, w, h, 0, -1, ++ swrastXPutImage(draw, op, 0, 0, x, y, w, h, 0, -1, + data, loaderPrivate); + } + +@@ -340,7 +355,7 @@ swrastGetImageShm(__DRIdrawable * read, + } + + static const __DRIswrastLoaderExtension swrastLoaderExtension_shm = { +- .base = {__DRI_SWRAST_LOADER, 4 }, ++ .base = {__DRI_SWRAST_LOADER, 5 }, + + .getDrawableInfo = swrastGetDrawableInfo, + .putImage = swrastPutImage, +@@ -349,6 +364,7 @@ static const __DRIswrastLoaderExtension swrastLoaderExtension_shm = { + .getImage2 = swrastGetImage2, + .putImageShm = swrastPutImageShm, + .getImageShm = swrastGetImageShm, ++ .putImageShm2 = swrastPutImageShm2, + }; + + static const __DRIextension *loader_extensions_shm[] = { diff --git a/SOURCES/vl_decoder.c b/SOURCES/vl_decoder.c new file mode 100644 index 0000000..1e715b6 --- /dev/null +++ b/SOURCES/vl_decoder.c @@ -0,0 +1,20 @@ +#include "vl_decoder.h" +bool +vl_profile_supported(struct pipe_screen *screen, enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint) +{ + return false; +} + +int +vl_level_supported(struct pipe_screen *screen, enum pipe_video_profile profile) +{ + return 0; +} + +struct pipe_video_codec * +vl_create_decoder(struct pipe_context *pipe, + const struct pipe_video_codec *templat) +{ + return NULL; +} diff --git a/SOURCES/vl_mpeg12_decoder.c b/SOURCES/vl_mpeg12_decoder.c new file mode 100644 index 0000000..85ac2c9 --- /dev/null +++ b/SOURCES/vl_mpeg12_decoder.c @@ -0,0 +1,7 @@ +#include "vl_mpeg12_decoder.h" +struct pipe_video_codec * +vl_create_mpeg12_decoder(struct pipe_context *context, + const struct pipe_video_codec *templat) +{ + return NULL; +} diff --git a/SPECS/mesa.spec b/SPECS/mesa.spec new file mode 100644 index 0000000..15863f5 --- /dev/null +++ b/SPECS/mesa.spec @@ -0,0 +1,1312 @@ +%global llvm_toolset %{nil} +%global llvm_pkg_prefix %{nil} + +%ifarch s390x +%define with_hardware 0 +%define base_drivers swrast +%else +%define with_hardware 1 +%define with_vdpau 1 +# XXX maybe wrong... +%define with_vaapi 0 +%define with_nine 0 +%define base_drivers swrast +%endif + +%ifarch %{ix86} x86_64 +%define platform_drivers ,i965 +%define with_vmware 1 +%define with_xa 1 +%define with_omx 0 +%endif + +%ifarch %{ix86} x86_64 +%define with_vulkan 1 +%else +%define with_vulkan 0 +%endif + +%ifarch aarch64 %{ix86} x86_64 +%define with_opencl 0 +%endif + +%ifarch %{arm} aarch64 +#define with_etnaviv 0 +#define with_freedreno 0 +%define with_omx 0 +#define with_vc4 0 +%define with_xa 1 +%endif + +%define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers} + +%if 0%{?with_vulkan} +%define vulkan_drivers --with-vulkan-drivers=intel,radeon +%endif + +%global sanitize 0 + +#global rctag rc2 + +Name: mesa +Summary: Mesa graphics libraries +Version: 18.3.1 +Release: 2%{?rctag:.%{rctag}}%{?dist} + +License: MIT +URL: http://www.mesa3d.org +#Source0: https://mesa.freedesktop.org/archive/%{name}-%{version}%{?rctag:-%{rctag}}.tar.xz +Source0: %{name}-%{version}%{?rctag:-%{rctag}}.tar.xz +Source1: vl_decoder.c +Source2: vl_mpeg12_decoder.c +Source3: Makefile +# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license. +# Source4 contains email correspondence clarifying the license terms. +# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD. +Source4: Mesa-MLAA-License-Clarification-Email.txt + +Patch1: 0001-llvm-SONAME-without-version.patch +Patch3: 0003-evergreen-big-endian.patch +Patch10: glvnd-fix-gl-dot-pc.patch +Patch21: mesa-18.0.2-gallium-osmesa.patch +Patch30: shmfix.patch + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: libtool + +%if %{with_hardware} +BuildRequires: kernel-headers +%endif +BuildRequires: libdrm-devel >= 2.4.42 +BuildRequires: libXxf86vm-devel +BuildRequires: expat-devel +BuildRequires: xorg-x11-proto-devel +BuildRequires: libselinux-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXdamage-devel +BuildRequires: libXi-devel +BuildRequires: libXrandr-devel +BuildRequires: libXmu-devel +BuildRequires: libxshmfence-devel +BuildRequires: elfutils +BuildRequires: python3-devel +BuildRequires: gettext +BuildRequires: %{llvm_pkg_prefix}llvm-devel >= 3.4-7 +%if 0%{?with_opencl} +BuildRequires: %{llvm_pkg_prefix}clang-devel >= 3.0 +%endif +BuildRequires: elfutils-libelf-devel +BuildRequires: libudev-devel +BuildRequires: bison flex +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wayland-protocols) +%if 0%{?with_vdpau} +BuildRequires: libvdpau-devel +%endif +%if 0%{?with_vaapi} +BuildRequires: libva-devel +%endif +BuildRequires: pkgconfig(zlib) +%if 0%{?with_omx} +BuildRequires: libomxil-bellagio-devel +%endif +%if 0%{?with_opencl} +BuildRequires: libclc-devel opencl-filesystem +%endif +%if 0%{?with_vulkan} +BuildRequires: vulkan-devel +%endif +BuildRequires: python3-mako +%ifarch %{valgrind_arches} +BuildRequires: pkgconfig(valgrind) +%endif +BuildRequires: pkgconfig(libglvnd) >= 0.2.0 + +%if 0%{?rhel} == 7 +BuildRequires: llvm-toolset-7-runtime +%enable_llvmtoolset7 +%endif + + +%description +%{summary}. + +%package filesystem +Summary: Mesa driver filesystem +Provides: mesa-dri-filesystem = %{?epoch:%{epoch}}%{version}-%{release} +Obsoletes: mesa-dri-filesystem < %{?epoch:%{epoch}}%{version}-%{release} + +%description filesystem +%{summary}. + +%package khr-devel +Summary: Mesa Khronos development headers + +%description khr-devel +%{summary}. + +%package libGL +Summary: Mesa libGL runtime libraries +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Requires: libglvnd-glx%{?_isa} >= 1:1.0.1-0.8 + +%description libGL +%{summary}. + +%package libGL-devel +Summary: Mesa libGL development package +Requires: %{name}-libGL%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Requires: libglvnd-devel%{?_isa} +Requires: %{name}-khr-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libGL-devel +Provides: libGL-devel%{?_isa} + +%description libGL-devel +%{summary}. + +%package libEGL +Summary: Mesa libEGL runtime libraries +Requires: libglvnd-egl%{?_isa} + +%description libEGL +%{summary}. + +%package libEGL-devel +Summary: Mesa libEGL development package +Requires: %{name}-libEGL%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Requires: libglvnd-devel%{?_isa} +Requires: %{name}-khr-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libEGL-devel +Provides: libEGL-devel%{?_isa} + +%description libEGL-devel +%{summary}. + +%package libGLES +Summary: Mesa libGLES runtime libraries +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Requires: libglvnd-gles%{?_isa} + +%description libGLES +%{summary}. + +%package libGLES-devel +Summary: Mesa libGLES development package +Requires: %{name}-libGLES%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Requires: libglvnd-devel%{?_isa} +Requires: %{name}-khr-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libGLES-devel +Provides: libGLES-devel%{?_isa} + +%description libGLES-devel +%{summary}. + +%package dri-drivers +Summary: Mesa-based DRI drivers +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} + +%description dri-drivers +%{summary}. + +%if 0%{?with_omx} +%package omx-drivers +Summary: Mesa-based OMX drivers +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} + +%description omx-drivers +%{summary}. +%endif + +%if 0%{?with_vdpau} +%package vdpau-drivers +Summary: Mesa-based VDPAU drivers +Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} + +%description vdpau-drivers +%{summary}. +%endif + +%package libOSMesa +Summary: Mesa offscreen rendering libraries +Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Provides: libOSMesa +Provides: libOSMesa%{?_isa} + +%description libOSMesa +%{summary}. + +%package libOSMesa-devel +Summary: Mesa offscreen rendering development package +Requires: %{name}-libOSMesa%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} + +%description libOSMesa-devel +%{summary}. + +%package libgbm +Summary: Mesa gbm runtime library +Provides: libgbm +Provides: libgbm%{?_isa} + +%description libgbm +%{summary}. + +%package libgbm-devel +Summary: Mesa libgbm development package +Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Provides: libgbm-devel +Provides: libgbm-devel%{?_isa} + +%description libgbm-devel +%{summary}. + +%if 0%{?with_xa} +%package libxatracker +Summary: Mesa XA state tracker +Provides: libxatracker +Provides: libxatracker%{?_isa} + +%description libxatracker +%{summary}. + +%package libxatracker-devel +Summary: Mesa XA state tracker development package +Requires: %{name}-libxatracker%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libxatracker-devel +Provides: libxatracker-devel%{?_isa} + +%description libxatracker-devel +%{summary}. +%endif + +%package libglapi +Summary: Mesa shared glapi +Provides: libglapi +Provides: libglapi%{?_isa} + +%description libglapi +%{summary}. + +%if 0%{?with_opencl} +%package libOpenCL +Summary: Mesa OpenCL runtime library +Requires: ocl-icd%{?_isa} +Requires: libclc%{?_isa} +Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Requires: opencl-filesystem + +%description libOpenCL +%{summary}. + +%package libOpenCL-devel +Summary: Mesa OpenCL development package +Requires: %{name}-libOpenCL%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} + +%description libOpenCL-devel +%{summary}. +%endif + +%if 0%{?with_nine} +%package libd3d +Summary: Mesa Direct3D9 state tracker + +%description libd3d +%{summary}. + +%package libd3d-devel +Summary: Mesa Direct3D9 state tracker development package +Requires: %{name}-libd3d%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} + +%description libd3d-devel +%{summary}. +%endif + +%if 0%{?with_vulkan} +%package vulkan-drivers +Summary: Mesa Vulkan drivers +Requires: vulkan%{_isa} + +%description vulkan-drivers +The drivers with support for the Vulkan API. + +%package vulkan-devel +Summary: Mesa Vulkan development files +Requires: %{name}-vulkan-drivers%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} +Requires: vulkan-devel + +%description vulkan-devel +Headers for development with the Vulkan API. +%endif + +%prep +%if 0%{sanitize} +%setup -q -n %{name}-%{version}%{?rctag:-%{rctag}} + cp -f %{SOURCE1} src/gallium/auxiliary/vl/vl_decoder.c + cp -f %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c + exit +%else +%autosetup -n %{name}-%{version}%{?rctag:-%{rctag}} -p1 + cmp %{SOURCE1} src/gallium/auxiliary/vl/vl_decoder.c + cmp %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c +%endif + +cp %{SOURCE4} docs/ + +pathfix.py -i %{__python3} -pn bin/*.py src/egl/generate/*.py \ + src/gallium/tools/trace/*.py \ + src/compiler/glsl/tests/*.py \ + src/compiler/glsl/glcpp/tests/*.py + +%build +autoreconf -vfi + +%ifarch %{ix86} +%global asm_flags --disable-asm +%endif +export ASFLAGS="--generate-missing-build-notes=yes" +%configure \ + %{?asm_flags} \ + --enable-libglvnd \ + --enable-selinux \ + --enable-gallium-osmesa \ + --with-dri-driverdir=%{_libdir}/dri \ + --enable-egl \ + --disable-gles1 \ + --enable-gles2 \ + --disable-xvmc \ + %{?with_vdpau:--enable-vdpau} \ + --disable-va \ + --with-platforms=x11,drm,surfaceless,wayland \ + --enable-shared-glapi \ + --enable-gbm \ + --disable-omx-bellagio \ + --disable-opencl \ + --enable-glx-tls \ + --enable-texture-float=yes \ +%if %{with_vulkan} + %{?vulkan_drivers} \ +%endif + --enable-llvm \ + --enable-llvm-shared-libs \ + --enable-dri \ +%if %{with_hardware} + %{?with_xa:--enable-xa} \ + --disable-nine \ + --with-gallium-drivers=%{?with_vmware:svga,}radeonsi,swrast,r600,%{?with_freedreno:freedreno,}%{?with_etnaviv:etnaviv,imx,}%{?with_vc4:vc4,}virgl,nouveau \ +%else + --with-gallium-drivers=swrast,virgl \ +%endif + %{?dri_drivers} + +%make_build MKDEP=/bin/true V=1 + +%install +%make_install + +# libvdpau opens the versioned name, don't bother including the unversioned +rm -f %{buildroot}%{_libdir}/vdpau/*.so +# likewise glvnd +rm -f %{buildroot}%{_libdir}/libGLX_mesa.so +rm -f %{buildroot}%{_libdir}/libEGL_mesa.so +# XXX can we just not build this +rm -f %{buildroot}%{_libdir}/libGLES* + +# glvnd needs a default provider for indirect rendering where it cannot +# determine the vendor +ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0 + +# strip out useless headers +rm -f %{buildroot}%{_includedir}/GL/w*.h + +# these are shipped already in vulkan-devel +rm -f %{buildroot}/%{_includedir}/vulkan/vk_platform.h +rm -f %{buildroot}/%{_includedir}/vulkan/vulkan.h + +# remove .la files +find %{buildroot} -name '*.la' -delete + +# this keeps breaking, check it early. note that the exit from eu-ftr is odd. +pushd %{buildroot}%{_libdir} +for i in libOSMesa*.so libGL.so ; do + eu-findtextrel $i && exit 1 +done + +%files filesystem +%doc docs/Mesa-MLAA-License-Clarification-Email.txt +%dir %{_libdir}/dri +%if %{with_hardware} +%if 0%{?with_vdpau} +%dir %{_libdir}/vdpau +%endif +%endif + +%files khr-devel +%dir %{_includedir}/KHR +%{_includedir}/KHR/khrplatform.h + +%files libGL +%{_libdir}/libGLX_mesa.so.0* +%{_libdir}/libGLX_system.so.0* +%files libGL-devel +%{_includedir}/GL/gl.h +%{_includedir}/GL/gl_mangle.h +%{_includedir}/GL/glext.h +%{_includedir}/GL/glx.h +%{_includedir}/GL/glx_mangle.h +%{_includedir}/GL/glxext.h +%{_includedir}/GL/glcorearb.h +%dir %{_includedir}/GL/internal +%{_includedir}/GL/internal/dri_interface.h +%{_libdir}/pkgconfig/dri.pc +%{_libdir}/libglapi.so +%{_libdir}/pkgconfig/gl.pc + +%files libEGL +%{_datadir}/glvnd/egl_vendor.d/50_mesa.json +%{_libdir}/libEGL_mesa.so.0* +%files libEGL-devel +%dir %{_includedir}/EGL +%{_includedir}/EGL/eglext.h +%{_includedir}/EGL/egl.h +%{_includedir}/EGL/eglmesaext.h +%{_includedir}/EGL/eglplatform.h +%{_includedir}/EGL/eglextchromium.h +%{_libdir}/pkgconfig/egl.pc + +%files libGLES +# No files, all provided by libglvnd +%files libGLES-devel +%dir %{_includedir}/GLES2 +%{_includedir}/GLES2/gl2platform.h +%{_includedir}/GLES2/gl2.h +%{_includedir}/GLES2/gl2ext.h +%dir %{_includedir}/GLES3 +%{_includedir}/GLES3/gl3platform.h +%{_includedir}/GLES3/gl3.h +%{_includedir}/GLES3/gl3ext.h +%{_includedir}/GLES3/gl31.h +%{_includedir}/GLES3/gl32.h +%{_libdir}/pkgconfig/glesv2.pc + +%post libglapi -p /sbin/ldconfig +%postun libglapi -p /sbin/ldconfig +%files libglapi +%{_libdir}/libglapi.so.0 +%{_libdir}/libglapi.so.0.* + +%post libOSMesa -p /sbin/ldconfig +%postun libOSMesa -p /sbin/ldconfig +%files libOSMesa +%{_libdir}/libOSMesa.so.8* +%files libOSMesa-devel +%dir %{_includedir}/GL +%{_includedir}/GL/osmesa.h +%{_libdir}/libOSMesa.so +%{_libdir}/pkgconfig/osmesa.pc + +%post libgbm -p /sbin/ldconfig +%postun libgbm -p /sbin/ldconfig +%files libgbm +%{_libdir}/libgbm.so.1 +%{_libdir}/libgbm.so.1.* +%files libgbm-devel +%{_libdir}/libgbm.so +%{_includedir}/gbm.h +%{_libdir}/pkgconfig/gbm.pc + +%if 0%{?with_xa} +%post libxatracker -p /sbin/ldconfig +%postun libxatracker -p /sbin/ldconfig +%files libxatracker +%if %{with_hardware} +%{_libdir}/libxatracker.so.2 +%{_libdir}/libxatracker.so.2.* +%endif + +%files libxatracker-devel +%if %{with_hardware} +%{_libdir}/libxatracker.so +%{_includedir}/xa_tracker.h +%{_includedir}/xa_composite.h +%{_includedir}/xa_context.h +%{_libdir}/pkgconfig/xatracker.pc +%endif +%endif + +%if 0%{?with_opencl} +%post libOpenCL -p /sbin/ldconfig +%postun libOpenCL -p /sbin/ldconfig +%files libOpenCL +%{_libdir}/libMesaOpenCL.so.* +%{_sysconfdir}/OpenCL/vendors/mesa.icd +%files libOpenCL-devel +%{_libdir}/libMesaOpenCL.so +%endif + +%if 0%{?with_nine} +%files libd3d +%dir %{_libdir}/d3d/ +%{_libdir}/d3d/*.so.* + +%files libd3d-devel +%{_libdir}/pkgconfig/d3d.pc +%{_includedir}/d3dadapter/ +%{_libdir}/d3d/*.so +%endif + +%files dri-drivers +%dir %{_datadir}/drirc.d +%{_datadir}/drirc.d/00-mesa-defaults.conf +%if %{with_hardware} +%{_libdir}/dri/r600_dri.so +%{_libdir}/dri/radeonsi_dri.so +%ifarch %{ix86} x86_64 +%{_libdir}/dri/i965_dri.so +%endif +%if 0%{?with_vc4} +%{_libdir}/dri/vc4_dri.so +%endif +%if 0%{?with_freedreno} +%{_libdir}/dri/kgsl_dri.so +%{_libdir}/dri/msm_dri.so +%endif +%if 0%{?with_etnaviv} +%{_libdir}/dri/etnaviv_dri.so +%{_libdir}/dri/imx-drm_dri.so +%endif +%{_libdir}/dri/nouveau_dri.so +%if 0%{?with_vmware} +%{_libdir}/dri/vmwgfx_dri.so +%endif +#{_libdir}/dri/nouveau_drv_video.so +#{_libdir}/dri/r600_drv_video.so +#{_libdir}/dri/radeonsi_drv_video.so +%endif +%{_libdir}/dri/kms_swrast_dri.so +%{_libdir}/dri/swrast_dri.so +%{_libdir}/dri/virtio_gpu_dri.so + +%if %{with_hardware} +%if 0%{?with_omx} +%files omx-drivers +%{_libdir}/bellagio/libomx_mesa.so +%endif +%if 0%{?with_vdpau} +%files vdpau-drivers +%{_libdir}/vdpau/libvdpau_nouveau.so.1* +%{_libdir}/vdpau/libvdpau_r600.so.1* +%{_libdir}/vdpau/libvdpau_radeonsi.so.1* +%endif +%endif + +%if 0%{?with_vulkan} +%files vulkan-drivers +%{_libdir}/libvulkan_intel.so +%{_libdir}/libvulkan_radeon.so +%ifarch x86_64 +%{_datadir}/vulkan/icd.d/intel_icd.x86_64.json +%{_datadir}/vulkan/icd.d/radeon_icd.x86_64.json +%else +%{_datadir}/vulkan/icd.d/intel_icd.i686.json +%{_datadir}/vulkan/icd.d/radeon_icd.i686.json +%endif + +%files vulkan-devel +%{_includedir}/vulkan/ +%endif + +%changelog +* Tue Jan 29 2019 Dave Airlie - 18.3.1-2 +- fix shm swrast + +* Thu Dec 13 2018 Dave Airlie - 18.3.1-1 +- Mesa 18.3.1 - move to release + +* Wed Dec 12 2018 Tom Stellard +- Rebuild for LLVM 7.0.1 + +* Tue Nov 20 2018 Adam Jackson - 18.3.0-0.2 +- Mesa 18.3.0 RC2 +- Drop python3 build system backport +- Drop no-longer-necessary big-endian build fix +- Re-enable 10bpc fbconfigs + +* Wed Oct 10 2018 Adam Jackson - 18.2.2-1 +- Mesa 18.2.2 + +* Fri Sep 28 2018 Adam Jackson - 18.2.1-1 +- Mesa 18.2.1 +- Fix "HW cursor for format" error message flood with swrast + +* Fri Sep 28 2018 Adam Jackson - 18.2.0-2 +- Drop unneeded BuildRequires: makedepend + +* Tue Sep 11 2018 Dave Airlie - 18.2.0-1 +- mesa 18.2.0 + +* Thu Aug 16 2018 Ray Strode - 18.1.3-4 +- Fix crash on screen resolution change + Resolves: #1616390 + +* Thu Aug 02 2018 Tom Stellard - 18.1.3-3 +- Rebuild for LLVM 6.0 + +* Tue Jul 24 2018 Dave Airlie - 18.1.3-2 +- rename fallback for glvnd + +* Fri Jul 06 2018 Adam Jackson - 18.1.3-1 +- Mesa 18.1.3 + +* Wed Jun 20 2018 Adam Jackson - 18.1.2-2 +- Disable arm-specific drivers +- Use alternate glvnd indirect library name + +* Wed Jun 20 2018 Adam Jackson - 18.1.2-1 +- Mesa 18.1.2 + +* Mon Jun 18 2018 Adam Jackson - 18.0.5-1 +- Mesa 18.0.5 + +* Tue May 29 2018 Adam Jackson - 18.0.3-1 +- Mesa 18.0.3 +- Disable old drivers: radeon, r200, r300, i915, vieux + +* Fri May 04 2018 Dave Airlie - 18.0.2-2 +- Disable omx/opencl/nine + +* Tue May 01 2018 Adam Jackson - 18.0.2-1 +- Mesa 18.0.2 + +* Thu Mar 08 2018 Tom Stellard - 17.3.6-2 +- Use llvm-toolset + +* Tue Feb 27 2018 Adam Jackson - 17.3.6-1 +- Update to 17.3.6 + +* Mon Feb 26 2018 Igor Gnatenko - 17.3.5-2 +- Backport patch to fix video corruption + +* Tue Feb 20 2018 Igor Gnatenko - 17.3.5-1 +- Update to 17.3.5 + +* Thu Feb 15 2018 Igor Gnatenko - 17.3.4-1 +- Update to 17.3.4 + +* Mon Jan 22 2018 Peter Robinson 17.3.3-1 +- Update to 17.3.3 + +* Mon Jan 01 2018 Igor Gnatenko - 17.3.1-1 +- Update to 17.3.1 + +* Fri Nov 10 2017 Igor Gnatenko - 17.3.0-0.4.rc3 +- Sanitize tarball + +* Wed Nov 8 2017 Peter Robinson 17.3.0-0.3.rc3 +- Update to 17.3.0-rc3 + +* Tue Oct 31 2017 Peter Robinson 17.3.0-0.1.rc2 +- Update to 17.3.0-rc2 + +* Tue Oct 31 2017 Peter Robinson 17.2.4-1 +- Update to 17.2.4 GA + +* Mon Oct 23 2017 Tom Stellard - 17.2.3-2 +- Rebuild for LLVM 5.0.0 + +* Thu Oct 19 2017 Gwyn Ciesla - 17.2.3-1 +- 17.2.3, bugfix release. + +* Wed Oct 11 2017 Peter Robinson - 17.2.2-4 +- Fix for vc4/Raspberry Pi + +* Mon Oct 09 2017 Dave Airlie - 17.2.2-3 +- enable vulkan on 32-bit x86 + +* Tue Oct 03 2017 Adam Jackson - 17.2.2-2 +- Backport S3TC support from master + +* Tue Oct 3 2017 Peter Robinson 17.2.2-1 +- Update to 17.2.2 GA + +* Wed Sep 20 2017 Peter Robinson 17.2.1-1 +- Update to 17.2.1 GA + +* Mon Sep 11 2017 Peter Robinson 17.2.0-2 +- Add upstream patch for glibc xlocale.h change (fdo bz 102454) + +* Tue Sep 5 2017 Peter Robinson 17.2.0-1 +- Update to 17.2.0 GA + +* Thu Aug 31 2017 Peter Robinson 17.2.0-0.3.rc6 +- Update to 17.2.0-rc6 + +* Tue Aug 22 2017 Peter Robinson 17.2.0-0.2.rc5 +- Update to 17.2.0-rc5 + +* Sun Aug 13 2017 Peter Robinson 17.2.0-0.1.rc4 +- Update to 17.2.0-rc4 + +* Thu Aug 03 2017 Fedora Release Engineering - 17.1.5-1.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 17.1.5-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 17 2017 Peter Robinson 7.1.5-1 +- Update to 17.1.5 + +* Thu Jul 13 2017 Adam Jackson +- Stop replacing eglext.h, we're up to date again + +* Sat Jul 1 2017 Peter Robinson 7.1.4-1 +- Update to 17.1.4 + +* Mon Jun 19 2017 Peter Robinson 7.1.3-2 +- Fixes and perf improvements for vc4 + +* Mon Jun 19 2017 Peter Robinson 7.1.3-1 +- Update to 17.1.3 + +* Wed Jun 14 2017 Peter Robinson 7.1.2-2 +- Some etnaviv fixes + +* Mon Jun 5 2017 Peter Robinson 7.1.2-1 +- Update to 17.1.2 + +* Mon Jun 05 2017 Adam Jackson - 17.1.1-2 +- Disable BGRA8 images on Fermi + +* Thu May 25 2017 Peter Robinson 17.1.1-1 +- Update to 17.1.1 + +* Thu May 11 2017 Dave Airlie - 17.1.0-1 +- Update to 17.1.0 + +* Tue May 9 2017 Peter Robinson 17.1.0-0.4.rc4 +- Update to 17.1.0-rc4 + +* Fri Apr 28 2017 Peter Robinson 17.1.0-0.3.rc2 +- Enable renderonly support for i.MX SoC (rhbz #1424714) + +* Mon Apr 24 2017 Peter Robinson 17.1.0-0.2.rc2 +- Update to 17.1.0-rc2 + +* Tue Apr 18 2017 Igor Gnatenko - 17.1.0-0.1.rc1 +- Update to 17.1.0-rc1 + +* Sun Apr 02 2017 Igor Gnatenko - 17.0.3-1 +- Update to 17.0.3 + +* Fri Mar 24 2017 Igor Gnatenko - 17.0.2-2 +- Rebuild for LLVM4 + +* Mon Mar 20 2017 Peter Robinson 17.0.2-1 +- Update to 17.0.2 + +* Mon Mar 20 2017 Hans de Goede - 17.0.1-3 +- Fix glXGetDriverConfig not working with glvnd (rhbz#1429894) +- Fix indirect rendering, add libGLX_indirect.so.0 symlink (rhbz#1427174) + +* Tue Mar 14 2017 Peter Robinson 17.0.1-2 +- Rebuild for aarch64 llvmpipe fix (rhbz 1429050) + +* Sun Mar 05 2017 Igor Gnatenko - 17.0.1-1 +- Update to 17.0.1 + +* Mon Feb 13 2017 Peter Robinson 17.0.0-1 +- 17.0.0 GA + +* Mon Feb 6 2017 Peter Robinson 17.0.0-0.6.rc3 +- Update to 17.0.0-rc3 + +* Mon Feb 6 2017 Hans de Goede - 17.0.0-0.5.rc2 +- Fix GLX_SGIX_fbconfig extension dispatching with glvnd, this fixes games such + as "The Binding of Isaac: Rebirth" and "Crypt of the NecroDancer" from Steam + +* Thu Feb 2 2017 Hans de Goede - 17.0.0-0.4.rc2 +- Update eglext.h to 20161230 version this brings in some new defines needed + by some apps / libraries + +* Sat Jan 28 2017 Peter Robinson 17.0.0-0.3.rc2 +- Update to 17.0.0-rc2 + +* Sat Jan 21 2017 Peter Robinson 17.0.0-0.2.rc1 +- Enable etnaviv gallium driver + +* Fri Jan 20 2017 Igor Gnatenko - 17.0.0-0.rc1 +- Update to 17.0.0-rc1 + +* Tue Jan 17 2017 Hans de Goede - 13.0.3-3 +- Enable libglvnd support (rhbz#1413579) + +* Thu Jan 12 2017 Igor Gnatenko - 13.0.3-2 +- Add valgrind BuildRequires to have valgrind support + +* Fri Jan 6 2017 Peter Robinson 13.0.3-1 +- 13.0.3 GA + +* Mon Dec 12 2016 Igor Gnatenko - 13.0.2-2 +- Use nettle for sha1 + +* Tue Nov 29 2016 Peter Robinson 13.0.2-1 +- 13.0.2 GA + +* Tue Nov 15 2016 Peter Robinson 13.0.1-1 +- 13.0.1 GA + +* Wed Nov 2 2016 Peter Robinson 13.0.0-3 +- Don't ship duplicate vulkan devel headers + +* Wed Nov 2 2016 Peter Robinson 13.0.0-2 +- Add options for enabling vulkan components +- Enable intel/radeon vulkan drivers + +* Wed Nov 2 2016 Peter Robinson 13.0.0-1 +- 13.0.0 GA + +* Tue Nov 01 2016 Dave Airlie - 13.0.0-0.3.rc2 +- rebuild for llvm 3.9 + +* Mon Oct 24 2016 Peter Robinson 13.0.0-0.2.rc2 +- 13.0.0-rc2 + +* Thu Oct 20 2016 Igor Gnatenko - 13.0.0-0.1.rc1 +- 13.0.0-rc1 + +* Tue Oct 11 2016 Hans de Goede - 12.0.3-2 +- Add 2 patches from upstream to fix DRI3 vaapi crashes (rhbz1309446, fdo71759) + +* Sun Sep 18 2016 Peter Robinson 12.0.3-1 +- 12.0.3 + +* Mon Sep 5 2016 Peter Robinson 12.0.2-1 +- 12.0.2 + +* Mon Sep 5 2016 Hans de Goede - 12.0.1-7 +- Fix PRIME fd leak + +* Tue Aug 23 2016 Adam Jackson - 12.0.1-6 +- Remove BuildRequires: xorg-x11-server-devel + +* Mon Aug 15 2016 Igor Gnatenko - 12.0.1-5 +- Fix broken deps with OpenCL + +* Sun Aug 14 2016 Igor Gnatenko - 12.0.1-4 +- Fix broken deps + +* Sun Aug 14 2016 Igor Gnatenko - 12.0.1-3 +- Slightly refactor spec +- Drop virtual provides for OCL + +* Tue Jul 19 2016 Orion Poplawski - 12.0.1-2 +- Add missing %%{?_isa} to requires in some devel sub-packages (bug #1138463) + +* Sun Jul 10 2016 Igor Gnatenko - 12.0.1-1 +- 12.0.1 + +* Fri Jul 08 2016 Igor Gnatenko - 12.0.0-1 +- 12.0.0 + +* Wed Jun 22 2016 Igor Gnatenko - 12.0.0-0.3.rc4 +- 12.0.0-rc4 + +* Mon Jun 20 2016 Adam Jackson - 12.0.0-0.3.rc3 +- Fix packaging error on s390* + +* Mon Jun 20 2016 Igor Gnatenko - 12.0.0-0.2.rc3 +- 12.0.0-rc3 + +* Tue Jun 14 2016 Dominik Mierzejewski - 12.0.0-0.2.rc2 +- add missing dependency for /etc/OpenCL/vendors ownership (RHBZ #1265948) + +* Tue Jun 14 2016 Igor Gnatenko - 12.0.0-0.1.rc2 +- 12.0.0-rc2 + +* Wed Jun 01 2016 Igor Gnatenko - 12.0.0-0.1.rc1 +- 12.0.0-rc1 + +* Sun May 01 2016 Igor Gnatenko - 11.3.0-0.4.gitcbcd7b6 +- cbcd7b6 + +* Thu Apr 14 2016 Igor Gnatenko - 11.3.0-0.3.git171a570 +- 171a570 + +* Fri Apr 08 2016 Björn Esser - 11.3.0-0.2.gitea2bff1 +- add virtual Provides for ocl-icd (RHBZ #1317602) + +* Sun Mar 20 2016 Igor Gnatenko - 11.3.0-0.1.gitea2bff1 +- 11.3.0 (gitea2bff1) +- Add SWR state-tracker (but disable because build is broken) +- Use gallium-osmesa instead of classic osmesa (RHBZ #1305588) +- Remove very old changelogs + +* Sun Mar 20 2016 Igor Gnatenko - 11.2.0-0.1.rc3.20160320 +- Update to 11.2.0-rc3 + +* Fri Feb 19 2016 Dave Airlie 11.2.0-0.devel.11 +- rebuild against llvm 3.8.0 + +* Fri Feb 12 2016 Dave Airlie 11.2.0-0.devel.10 +- rebuild against new llvm packages + +* Thu Feb 11 2016 Adam Jackson 11.2.0-0.devel.9 +- Fix OpenCL-enabled FTBFS by not forcing clang search path to /usr/lib + +* Thu Feb 04 2016 Fedora Release Engineering - 11.2.0-0.devel.8.24ea81a.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 27 2016 Adam Jackson 11.2.0-0.devel.8 +- Rebuild for llvm 3.7.1 library split + +* Sun Jan 24 2016 Igor Gnatenko - 11.2.0-0.devel.7.24ea81a +- 24ea81a + +* Thu Jan 21 2016 Peter Robinson 11.2.0-0.devel.6.5e3edd4 +- OpenCL now supported on aarch64 + +* Sun Jan 10 2016 Igor Gnatenko - 11.2.0-0.devel.5.5e3edd4 +- 5e3edd4 + +* Thu Jan 07 2016 Adam Jackson +- Mangle libtool even harder to get -static-libstdc++ to work + +* Tue Dec 29 2015 Igor Gnatenko - 11.2.0-0.devel.3.70d8dbc +- 70d8dbc + +* Wed Dec 02 2015 Igor Gnatenko - 11.2.0-0.devel.2.56aff6b +- 56aff6b + +* Sun Nov 22 2015 Igor Gnatenko - 11.2.0-0.devel.1.86fc97d +- 86fc97d + +* Thu Nov 05 2015 Igor Gnatenko - 11.1.0-0.devel.13.5ae37ae +- 5ae37ae + +* Thu Nov 05 2015 Adam Jackson 11.1.0-0.devel.12.3994ef5 +- Link with -static-libstdc++ to work around Steam bundling its own copy + +* Fri Oct 23 2015 Igor Gnatenko - 11.1.0-0.devel.11.3994ef5 +- 3994ef5 +- Enable VirGL driver + +* Thu Oct 22 2015 Igor Gnatenko - 11.1.0-0.devel.10.7182498 +- 7182498 +- Disable SWR rasterizer + +* Wed Oct 21 2015 Igor Gnatenko - 11.1.0-0.devel.9.4a168ad +- Enable experimental SWR rasterizer + +* Wed Oct 14 2015 Igor Gnatenko - 11.1.0-0.devel.8.4a168ad +- 4a168ad + +* Wed Oct 07 2015 Igor Gnatenko - 11.1.0-0.devel.7.47d1199 +- 47d1199 + +* Sat Sep 26 2015 Igor Gnatenko - 11.1.0-0.devel.6.9932142 +- 9932142 + +* Wed Sep 16 2015 Igor Gnatenko - 11.1.0-0.devel.5.47e18a5 +- 47e18a5 +- Rebuild against llvm 3.7 + +* Sun Sep 13 2015 Igor Gnatenko - 11.1.0-0.devel.4.d6fbcf6 +- d6fbcf6 + +* Thu Sep 10 2015 Rex Dieter - 11.1.0-0.devel.3.60aea30 +- Add brw_meta_fast_clear crash workaround patch (#1259443, fdo#86281) + +* Wed Sep 02 2015 Igor Gnatenko - 11.1.0-0.devel.2.60aea30 +- 60aea30 + +* Mon Aug 24 2015 Igor Gnatenko - 11.1.0-0.devel.1.4e5752e +- 4e5752e + +* Sun Aug 09 2015 Igor Gnatenko - 11.0.0-0.devel.2.21ccdbd +- 21ccdbd +- add surfaceless EGL platform (RHBZ #1251747) + +* Sat Aug 01 2015 Igor Gnatenko - 11.0.0-0.devel.1.6f2d889 +- Update to 11.0.0 + +* Tue Jul 14 2015 Peter Robinson 10.7.0-0.devel.4.ea633db +- Use %%license +- Minor spec cleanups + +* Tue Jul 14 2015 Igor Gnatenko - 10.7.0-0.devel.3.ea633db +- ea633db + +* Tue Jul 07 2015 Igor Gnatenko - 10.7.0-0.devel.2.8787141 +- Drop unecessary make for s390 + +* Mon Jun 22 2015 Igor Gnatenko - 10.7.0-0.devel.1.8787141 +- 8787141 + +* Wed Jun 17 2015 Fedora Release Engineering - 10.6.0-0.devel.7.5a55f68.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon May 18 2015 Igor Gnatenko - 10.6.0-0.devel.7.5a55f68 +- add git to BR everywhere + +* Sun May 17 2015 Igor Gnatenko - 10.6.0-0.devel.6.5a55f68 +- 5a55f68 + +* Thu May 07 2015 Igor Gnatenko - 10.6.0-0.devel.5.51e3453 +- 51e3453 + +* Mon Apr 20 2015 Igor Gnatenko - 10.6.0-0.devel.4.c1485f4 +- c1485f4 + +* Thu Apr 09 2015 Adam Jackson 10.6.0-0.devel.3 +- F23 rebuild against llvm 3.6.0 + +* Fri Feb 27 2015 Rob Clark - 10.6.0-0.devel.1.f80af89 +- f80af89 + +* Wed Feb 18 2015 Igor Gnatenko - 10.5.0-1.20150218 +- 10.5.0 + +* Fri Jan 02 2015 Igor Gnatenko - 10.5.0-0.devel.32.6171131 +- 6171131 + +* Fri Jan 02 2015 Igor Gnatenko - 10.5.0-0.devel.31.c3260f8 +- c3260f8 + +* Fri Jan 02 2015 Igor Gnatenko - 10.5.0-0.devel.30.290553b +- 290553b + +* Thu Jan 01 2015 Igor Gnatenko - 10.5.0-0.devel.28.b77eaaf +- b77eaaf + +* Thu Jan 01 2015 Igor Gnatenko - 10.5.0-0.devel.26.c633528 +- c633528 + +* Thu Jan 01 2015 Igor Gnatenko - 10.5.0-0.devel.25.a6f6d61 +- a6f6d61 + +* Wed Dec 31 2014 Igor Gnatenko - 10.5.0-0.devel.23.be0311c +- be0311c + +* Wed Dec 31 2014 Igor Gnatenko - 10.5.0-0.devel.21.609c3e5 +- 609c3e5 + +* Wed Dec 31 2014 Igor Gnatenko - 10.5.0-0.devel.19.3ba57ba +- 3ba57ba + +* Tue Dec 30 2014 Igor Gnatenko - 10.5.0-0.devel.17.64dcb2b +- 64dcb2b + +* Mon Dec 29 2014 Igor Gnatenko - 10.5.0-0.devel.15.6c18279 +- 6c18279 + +* Sat Dec 27 2014 Igor Gnatenko - 10.5.0-0.devel.13.0c7f895 +- 0c7f895 + +* Fri Dec 26 2014 Igor Gnatenko - 10.5.0-0.devel.11.cb5a372 +- cb5a372 + +* Sun Dec 21 2014 Igor Gnatenko - 10.5.0-0.devel.10.git0d7f4c8 +- enable ilo gallium driver + +* Fri Dec 19 2014 Dan Horák 10.5.0-0.devel.9 +- Sync with_{vaapi,vdpau,nine} settings with F21 + +* Thu Dec 18 2014 Adam Jackson 10.5.0-0.devel.8 +- Sync ppc build config with F21 + +* Wed Dec 17 2014 Igor Gnatenko - 10.5.0-0.devel.7.git0d7f4c8 +- fix requirements for d3d + +* Sun Dec 14 2014 Igor Gnatenko - 10.5.0-0.devel.6.git0d7f4c8 +- 0d7f4c8 + +* Sun Dec 14 2014 Igor Gnatenko - 10.5.0-0.devel.5.git29c7cf2 +- Enable VA state-tracker +- Enable Nine state-tracker (Direct3D9 API) + +* Thu Dec 11 2014 Adam Jackson 10.5.0-0.devel.4 +- Restore hardware drivers on ppc64{,le} + +* Tue Dec 02 2014 Igor Gnatenko - 10.5.0-0.devel.3.git29c7cf2 +- 29c7cf2 + +* Sat Nov 22 2014 Igor Gnatenko - 10.5.0-0.devel.2.git3d9c1a9 +- 3d9c1a9 + +* Wed Nov 19 2014 Igor Gnatenko - 10.5.0-0.devel.1.git9460cd3 +- 9460cd3 + +* Mon Nov 10 2014 Igor Gnatenko - 10.4-0.devel.8.gitf3b709c +- f3b709c + +* Tue Oct 28 2014 10.4-0.devel.7.git1a17098 +- rebuild for llvm + +* Mon Oct 27 2014 Igor Gnatenko - 10.4-0.devel.6.git1a17098 +- 1a17098 + +* Sat Sep 27 2014 Igor Gnatenko - 10.4-0.devel.5.gitc3f17bb +- c3f17bb18f597d7f606805ae94363dae7fd51582 + +* Sat Sep 06 2014 Igor Gnatenko - 10.4-0.devel.4.git1f184bc +- apply patch for bigendian from karsten +- fix ppc filelist from karsten + +* Sat Sep 06 2014 Igor Gnatenko - 10.4-0.devel.3.git1f184bc +- 1f184bc114143acbcea373184260da777b6c6be1 commit + +* Thu Aug 28 2014 Igor Gnatenko - 10.4-0.devel.2.1.80771e47b6c1e47ab55f17311e1d4e227a9eb3d8 +- add swrast to dri driver list + +* Wed Aug 27 2014 Igor Gnatenko - 10.4-0.devel.2.80771e47b6c1e47ab55f17311e1d4e227a9eb3d8 +- 80771e47b6c1e47ab55f17311e1d4e227a9eb3d8 commit + +* Sat Aug 23 2014 Igor Gnatenko - 10.4-0.devel.1.c2867f5b3626157379ef0d4d5bcaf5180ca0ec1f +- 10.4 c2867f5b3626157379ef0d4d5bcaf5180ca0ec1f + +* Fri Aug 22 2014 Igor Gnatenko - 10.3-0.rc1.1.e7f2f2dea5acdbd1a12ed88914e64a38a97432f0 +- e7f2f2dea5acdbd1a12ed88914e64a38a97432f0 commit + +* Sun Aug 17 2014 Fedora Release Engineering - 10.3-0.devel.2.c40d7d6d948912a4d51cbf8f0854cf2ebe916636.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Wed Aug 06 2014 Igor Gnatenko - 10.3-0.devel.2.c40d7d6d948912a4d51cbf8f0854cf2ebe916636 +- c40d7d6d948912a4d51cbf8f0854cf2ebe916636 commit + +* Fri Jul 11 2014 Igor Gnatenko - 10.3-0.devel.1.f381c27c548aa28b003c8e188f5d627ab4105f76 +- Rebase to 'master' branch (f381c27c548aa28b003c8e188f5d627ab4105f76 commit) + +* Fri Jul 11 2014 Igor Gnatenko - 10.2.3-1.20140711 +- 10.2.3 upstream release + +* Mon Jul 7 2014 Peter Robinson 10.2.2-4.20140625 +- Build aarch64 options the same as ARMv7 +- Fix PPC conditionals + +* Fri Jul 04 2014 Igor Gnatenko - 10.2.2-3.20140625 +- Fix up intelInitScreen2 for DRI3 (RHBZ #1115323) (patch from drago01) + +* Fri Jun 27 2014 Dave Airlie 10.2.2-2.20140625 +- add dri3 gnome-shell startup fix from Jasper. + +* Wed Jun 25 2014 Igor Gnatenko - 10.2.2-1.20140625 +- 10.2.2 upstream release + +* Wed Jun 11 2014 Igor Gnatenko - 10.2.1-2.20140608 +- drop radeonsi llvm hack + +* Sun Jun 08 2014 Igor Gnatenko - 10.2.1-1.20140608 +- 10.2.1 upstream release + +* Sat Jun 07 2014 Fedora Release Engineering - 10.2-0.11.rc5.20140531 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Jun 04 2014 Dan Horák - 10.2-0.10.rc5.20140531 +- fix build without hardware drivers + +* Sat May 31 2014 Igor Gnatenko - 10.2-0.9.rc5.20140531 +- 10.2-rc5 upstream release + +* Wed May 28 2014 Brent Baude - 10.2-0.8.rc4.20140524 +- Removing ppc64le arch from with_llvm + +* Wed May 28 2014 Igor Gnatenko - 10.2-0.7.rc4.20140524 +- i915: add a missing NULL pointer check (RHBZ #1100967) + +* Sat May 24 2014 Igor Gnatenko - 10.2-0.6.rc4.20140524 +- 10.2-rc4 upstream release +- add back updated radeonsi hack for LLVM + +* Sat May 17 2014 Igor Gnatenko - 10.2-0.5.rc3.20140517 +- 10.2-rc3 upstream release + +* Sat May 10 2014 Igor Gnatenko - 10.2-0.4.rc2.20140510 +- 10.2-rc2 upstream release +- drop radeonsi hack for LLVM + +* Tue May 06 2014 Igor Gnatenko - 10.2-0.3.rc1.20140505 +- Move gallium-pipe to the correct sub-package (RHBZ #1094588) (kwizart) +- Move egl_gallium.so to the correct location (RHBZ #1094588) (kwizart) +- Switch from with to enable for llvm shared libs (kwizart) + +* Mon May 05 2014 Igor Gnatenko - 10.2-0.2.rc1.20140505 +- Enable gallium-egl (needed by freedreeno) (RHBZ #1094199) (kwizart) + +* Mon May 05 2014 Igor Gnatenko - 10.2-0.1.rc1.20140505 +- Enable omx on x86 and arm (RHBZ #1094199) (kwizart) +- Split _with_xa from _with_vmware (RHBZ #1094199) (kwizart) +- Add _with_xa when arch is arm and _with_freedreeno (RHBZ #1094199) (kwizart) + +* Mon May 05 2014 Igor Gnatenko - 10.2-0.rc1.20140505 +- 10.2-rc1 upstream release + +* Wed Apr 30 2014 Igor Gnatenko - 10.1.1-3.20140430 +- Update to today snapshot +- apply as downstream patches for reporting GPU max frequency on r600 (FD.o #73511) + +* Sat Apr 19 2014 Igor Gnatenko - 10.1.1-2.20140419 +- fix buildrequires llvm 3.4-5 to 3.4-6, because 3.4-5 is not available for F20 + +* Sat Apr 19 2014 Igor Gnatenko - 10.1.1-1.20140419 +- 10.1.1 upstream release + +* Tue Apr 15 2014 Adam Jackson 10.1-6.20140305 +- Disable DRI3 in F20, it requires libxcb bits we haven't backported. + +* Wed Mar 26 2014 Adam Jackson 10.1-5.20140305 +- Initial ppc64le enablement (no hardware drivers or vdpau yet) + +* Fri Mar 21 2014 Adam Jackson 10.1-4.20140305 +- mesa: Don't optimize out glClear if drawbuffer size is 0x0 (fdo #75797) + +* Wed Mar 19 2014 Dave Airlie 10.1-3.20140305 +- rebuild against backported llvm 3.4-5 for radeonsi GL 3.3 support. + +* Wed Mar 12 2014 Dave Airlie 10.1-2.20140305 +- disable r600 llvm compiler (upstream advice) + +* Wed Mar 05 2014 Igor Gnatenko - 10.1-1.20140305 +- mesa: Bump version to 10.1 (final) (Ian Romanick) +- glx/dri2: fix build failure on HURD (Julien Cristau) +- i965: Validate (and resolve) all the bound textures. (Chris Forbes) +- i965: Widen sampler key bitfields for 32 samplers (Chris Forbes) + +* Sat Mar 01 2014 Igor Gnatenko - 10.1-0.rc3.20140301 +- 10.1-rc3 + +* Tue Feb 25 2014 Igor Gnatenko - 10.1-0.rc2.20140225 +- really 10.1-rc2 + +* Sat Feb 22 2014 Igor Gnatenko - 10.1-0.rc2.20140222 +- 10.1-rc2 + +* Sat Feb 08 2014 Adel Gadllah - 10.1-0.rc1.20140208 +- 10.1rc1 +- Drop upstreamed patches + +* Thu Feb 06 2014 Igor Gnatenko - 10.0.3-1.20140206 +- 10.0.3 upstream release + +* Tue Feb 04 2014 Kyle McMartin - 10.0.2-6.20140118 +- Fix accidentally inverted logic that meant radeonsi_dri.so went missing + on all architectures instead of just ppc and s390. Sorry! + +* Sun Feb 02 2014 Kyle McMartin - 10.0.2-5.20140118 +- Fix a thinko in previous commit wrt libdrm_nouveau2. + +* Sun Feb 02 2014 Kyle McMartin - 10.0.2-4.20140118 +- Fix up building drivers on AArch64, enable LLVM there. +- Eliminate some F17 cruft from the spec, since we don't support it anymore. +- Conditionalize with_radeonsi on with_llvm instead of ppc,s390 && >F-17. +- Conditionalize libvdpau_radeonsi.so.1* on with_radeonsi instead of simply + with_llvm to fix a build failure on AArch64. + +* Sun Jan 19 2014 Igor Gnatenko - 10.0.2-3.20140118 +- Enable OpenCL (RHBZ #887628) +- Enable r600 llvm compiler (RHBZ #1055098)