This file is indexed.

/usr/share/compiz/cmake/plugin_extensions/CompizOpenGLFixups.cmake is in compiz-dev 1:0.9.13.1+18.04.20180302-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# modify pkg-config libs for opengl based on if we found GLES or not
if (${COMPIZ_CURRENT_PLUGIN} STREQUAL "opengl")
    if (USE_GLES)
	set (PKGCONFIG_LIBS "-lGLESv2 -lEGL")
    else (USE_GLES)
	set (PKGCONFIG_LIBS "-lGL")
    endif (USE_GLES)
endif (${COMPIZ_CURRENT_PLUGIN} STREQUAL "opengl")

# if plugin is using opengl plugin check for GLES library and set correct define
if (NOT "${${_PLUGIN}_PLUGINDEPS}" STREQUAL "")
    string (REGEX MATCH "opengl" opengl_found ${${_PLUGIN}_PLUGINDEPS})

    if (opengl_found STREQUAL "opengl")
	if (USE_GLES)
	    set (${_PLUGIN}_CFLAGSADD ${${_PLUGIN}_CFLAGSADD} " -DUSE_GLES")
	    string (REPLACE ";" " " ${_PLUGIN}_CFLAGSADD ${${_PLUGIN}_CFLAGSADD})
	endif (USE_GLES)
    endif (opengl_found STREQUAL "opengl")
endif (NOT "${${_PLUGIN}_PLUGINDEPS}" STREQUAL "")