Review Request: Add support for building libplasma with GLES2

Jammy Zhou jammy.zhou at
Fri Feb 25 03:29:36 GMT 2011

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 25, 2011, 3:29 a.m.)

Review request for kdelibs and Plasma.


Update the patch to remove direct OpenGL dependency for libplasma. The OpenGL usage in libplasma should better go through libQtOpenGL,which can be enabled for desktop OpenGL or OpenGL ES2.0


After build kwin with GLES2 code path, the kwin binary still has dependency on, which is introduced by Then we also need to add GLES2 support to libplasma, so that kwin/plasma only has dependency on in this case. 

The new option "BUILD_PLASMA_WITH_OPENGLES" added in attached patch is disabled by default, and distributions can turn it on when do packaging for OpenGL ES2.0 support.

Diffs (updated)

  CMakeLists.txt b8d53de 
  includes/CMakeLists.txt 9954c37 
  plasma/CMakeLists.txt 8e6b0d7 
  plasma/glapplet.cpp 00d7caf 



After turn the "BUILD_PLASMA_WITH_OPENGLES" option on, kwin-gles has no dependency on now. And by default, libplasma still depends on when run ldd.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
Plasma-devel mailing list
Plasma-devel at

More information about the kde-core-devel mailing list