Bug 214708 - graphics/mesa-demos: Enable the EGL and GLESv2 demos
Summary: graphics/mesa-demos: Enable the EGL and GLESv2 demos
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-21 16:05 UTC by Matthew Rezny
Modified: 2017-01-22 22:01 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
build more Mesa demos (7.50 KB, patch)
2016-11-21 16:05 UTC, Matthew Rezny
no flags Details | Diff
build more Mesa demos (13.78 KB, patch)
2017-01-15 18:38 UTC, Matthew Rezny
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Rezny freebsd_committer freebsd_triage 2016-11-21 16:05:19 UTC
Created attachment 177236 [details]
build more Mesa demos

The EGL and GLESv2 demos are useful diagnostic tools and the additional dependencies are relatively small parts of Mesa (libEGL and libglesv2). A patch was added to allow the GLESv2 demos to compile and another patch added to install the EGL demos since those are not installed by default but include useful demos that run outside X. While here, also patch an uninitialized variable and comment all the patch files.

QA: stage-qa and check-orphans are clean, additional demos were tested on an 11-STABLE amd64 system with Radeon GPU and current Mesa
Comment 1 Matthew Rezny freebsd_committer freebsd_triage 2017-01-15 18:38:16 UTC
Created attachment 178930 [details]
build more Mesa demos

Reviewing outstanding PRs I noticed there was a patch missing from this one which would cause the build to try using automake. The attached patch has been updated to include the patch of Makefile.in.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-01-22 21:44:51 UTC
A commit references this bug:

Author: bapt
Date: Sun Jan 22 21:44:37 UTC 2017
New revision: 432164
URL: https://svnweb.freebsd.org/changeset/ports/432164

Log:
  Enable the EGL and GLESv2 demos

  PR:		214708
  Submitted by:	matthew@reztek.cz

Changes:
  head/graphics/mesa-demos/Makefile
  head/graphics/mesa-demos/files/patch-src-glsl-Makefile.am
  head/graphics/mesa-demos/files/patch-src-glsl-Makefile.in
  head/graphics/mesa-demos/files/patch-src_egl_opengl_Makefile.am
  head/graphics/mesa-demos/files/patch-src_egl_opengl_Makefile.in
  head/graphics/mesa-demos/files/patch-src_egl_opengl_eglkms.c
  head/graphics/mesa-demos/files/patch-src_egl_opengles2_es2gears.c
  head/graphics/mesa-demos/pkg-plist