Bug 242892 - graphics/waffle: update to 1.6.0, build with meson, add xdg-shell support
Summary: graphics/waffle: update to 1.6.0, build with meson, add xdg-shell support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on: 242893
Blocks: 242792
  Show dependency treegraph
 
Reported: 2019-12-26 13:42 UTC by Greg V
Modified: 2020-01-23 12:44 UTC (History)
0 users

See Also:
tobik: maintainer-feedback-


Attachments
waffle.patch (12.75 KB, patch)
2019-12-26 13:42 UTC, Greg V
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg V 2019-12-26 13:42:46 UTC
Created attachment 210233 [details]
waffle.patch

- Waffle moved to freedesktop gitlab
- Now supports building with Meson, which allows us to remove all the CMake patches from the port
- New version generates CMake config with 'Waffle' named variables (which devel/apitrace expects) instead of 'WAFFLE'
- (git rev instead of just 1.6.0 is used because CMake config generation was added to Meson build)
- Extra xdg-shell patch https://gitlab.freedesktop.org/mesa/waffle/merge_requests/60 to make devel/apitrace 'eglretrace' work on modern Wayland compositors (wlroots has removed the old wl-shell protocol, so this is required to make apitrace's debug trace replays work on sway/wayfire/…)
- All backends are now options (on by default)
- Manpages are now built
- The only in-tree consumer for now (piglit) builds fine, at least with a small patch that adds a missing EGL_NO_CONFIG_MESA define. IDK if that's related to Waffle, it's probably actually because I have the current dev version of mesa. I'll post that piglit patch separately.
Comment 1 Greg V 2019-12-26 13:58:51 UTC
(piglit is Bug 242893, apitrace is Bug 242792)
Comment 2 commit-hook freebsd_committer 2020-01-23 12:43:19 UTC
A commit references this bug:

Author: tobik
Date: Thu Jan 23 12:42:56 UTC 2020
New revision: 523925
URL: https://svnweb.freebsd.org/changeset/ports/523925

Log:
  graphics/waffle: Update to 1.6.0-7

  - Waffle moved to freedesktop gitlab
  - Now supports building with Meson, which allows us to remove all
    the CMake patches from the port.  The Meson build however still
    expects that cmake is available in the build environment.
  - New version generates CMake config with 'Waffle' named variables
    (which devel/apitrace expects) instead of 'WAFFLE'
  - Extra xdg-shell patch to make devel/apitrace 'eglretrace' work
    on modern Wayland compositors (wlroots has removed the old wl-shell
    protocol, so this is required to make apitrace's debug trace
    replays work on sway/wayfire/...)
  - All backends are now options (on by default)
  - Manpages are now built
  - graphics/piglit needs a small patch to build

  PR:		242892, 242893
  Submitted by:	Greg V <greg@unrelenting.technology> (based on)
  Approved by:	x11 (maintainer timeout, 27 days)

Changes:
  head/graphics/piglit/files/patch-tests_egl_egl-context-priority.c
  head/graphics/waffle/Makefile
  head/graphics/waffle/distinfo
  head/graphics/waffle/files/
  head/graphics/waffle/pkg-plist