[waffle] [PULL] Remove libgbm/libGL linktime dependency

Emil Velikov emil.l.velikov at gmail.com
Wed Nov 12 16:15:22 PST 2014


On 12/11/14 06:07, Chad Versace wrote:
> Emil, please collect my reviewed-bys onto your branch and look over the
> changes in my v2 of patch 4. If all looks good to you, let me know and
> I'll merge branch.
> 

Hi Chad,

As mentioned, here is the annotated (plus patch 4 v2) of the series
which removes waffle's the link dependency of libgbm and libEGL.

Note: GBM will fail to load the dri drivers due to a mesa bug. Please
grab Frank's patch temporary until we cook something better.

The following changes since commit 35ff8cef1c0e0f7b667606bc24aa96a993b6a5ec:

  Merge branch 'evelikov/drop-egl-linking' (2014-11-09 21:49:17 -0800)

are available in the git repository at:

  https://github.com/evelikov/waffle.git
for-chad/remove-libgbm-libgl-libdeps-v2

for you to fetch changes up to 91605807cede960924c54b6972f0e03c126d048e:

  glx: drop explicit linking against libGL.so (2014-11-13 00:04:08 +0000)

----------------------------------------------------------------
Emil Velikov (7):
      pkg/archlinux: use configure autodetection
      pkg/archlinux: waffle does not link against libegl
      gbm: fetch the libgbm function pointers at wgbm_platform_init
      gbm: drop explicit linking against libgbm.so (v2)
      pkg/archlinux: demote libgbm to (make|opt)depend
      glx: fetch the libGL function pointers at glx_platform_create
      glx: drop explicit linking against libGL.so

 .../Modules/WafflePrintConfigurationSummary.cmake  |  2 -
 pkg/archlinux/waffle-1.4.1/PKGBUILD                |  6 +--
 pkg/archlinux/waffle-git/PKGBUILD                  | 12 ++---
 src/waffle/CMakeLists.txt                          |  6 ---
 src/waffle/gbm/wgbm_display.c                      | 11 +++--
 src/waffle/gbm/wgbm_platform.c                     | 43 +++++++++++++++-
 src/waffle/gbm/wgbm_platform.h                     | 17 +++++++
 src/waffle/gbm/wgbm_window.c                       | 23 +++++----
 src/waffle/gbm/wgbm_window.h                       |  1 +
 src/waffle/glx/glx_config.c                        |  7 +--
 src/waffle/glx/glx_context.c                       |  7 ++-
 src/waffle/glx/glx_display.c                       |  5 +-
 src/waffle/glx/glx_platform.c                      | 57
++++++++++++++++++++--
 src/waffle/glx/glx_platform.h                      | 25 ++++++++--
 src/waffle/glx/glx_window.c                        |  4 +-
 src/waffle/glx/glx_window.h                        |  2 -
 src/waffle/glx/glx_wrappers.h                      | 50 +++++++++++--------
 17 files changed, 205 insertions(+), 73 deletions(-)



More information about the waffle mailing list