mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
cogl/path: Don't depend on GL/glu.h
It's not needed for anything, and we can get rid of the dependency we just added. Also remove the installation step from Dockerfile.
This commit is contained in:
parent
6c91683380
commit
c57ae7fc9c
@ -5,7 +5,7 @@ RUN dnf -y update && dnf -y upgrade && \
|
||||
dnf builddep -y mutter && \
|
||||
|
||||
# Until Fedora catches up with meson build-deps
|
||||
dnf install -y meson xorg-x11-server-Xorg gnome-settings-daemon-devel egl-wayland-devel xorg-x11-server-Xwayland mesa-libGLU-devel && \
|
||||
dnf install -y meson xorg-x11-server-Xorg gnome-settings-daemon-devel egl-wayland-devel xorg-x11-server-Xwayland && \
|
||||
|
||||
# For running unit tests
|
||||
dnf install -y xorg-x11-server-Xvfb mesa-dri-drivers dbus dbus-x11 && \
|
||||
|
@ -50,7 +50,6 @@ cogl_path_sources += libmutter_cogl_path_enum_types
|
||||
|
||||
cogl_path_c_args = [
|
||||
cogl_c_args,
|
||||
'-I@0@'.format(glu_dep.get_pkgconfig_variable('includedir')),
|
||||
]
|
||||
|
||||
libmutter_cogl_path = shared_library('mutter-cogl-path-' + libmutter_api_version,
|
||||
|
@ -35,7 +35,7 @@
|
||||
#ifndef __mesh_h_
|
||||
#define __mesh_h_
|
||||
|
||||
#include <GL/glu.h>
|
||||
#include <GL/gl.h>
|
||||
|
||||
typedef struct GLUmesh GLUmesh;
|
||||
|
||||
|
@ -36,6 +36,7 @@
|
||||
#define __normal_h_
|
||||
|
||||
#include "tess.h"
|
||||
#include "tesselator.h"
|
||||
|
||||
/* __gl_projectPolygon( tess ) determines the polygon normal
|
||||
* and project vertices onto the plane of the polygon.
|
||||
|
@ -36,6 +36,7 @@
|
||||
#define __render_h_
|
||||
|
||||
#include "mesh.h"
|
||||
#include "tesselator.h"
|
||||
|
||||
/* __gl_renderMesh( tess, mesh ) takes a mesh and breaks it into triangle
|
||||
* fans, strips, and separate triangles. A substantial effort is made
|
||||
|
@ -36,6 +36,7 @@
|
||||
#define __sweep_h_
|
||||
|
||||
#include "mesh.h"
|
||||
#include "tesselator.h"
|
||||
|
||||
/* __gl_computeInterior( tess ) computes the planar arrangement specified
|
||||
* by the given contours, and further subdivides this arrangement
|
||||
|
@ -35,7 +35,6 @@
|
||||
#ifndef __tess_h_
|
||||
#define __tess_h_
|
||||
|
||||
#include <GL/glu.h>
|
||||
#include <setjmp.h>
|
||||
#include "mesh.h"
|
||||
#include "dict.h"
|
||||
|
@ -120,7 +120,6 @@ xinerama_dep = dependency('xinerama')
|
||||
ice_dep = dependency('ice')
|
||||
atk_dep = dependency('atk', version: atk_req)
|
||||
libcanberra_dep = dependency('libcanberra', version: libcanberra_req)
|
||||
glu_dep = dependency('glu')
|
||||
|
||||
# For now always require X11 support
|
||||
have_x11 = true
|
||||
|
Loading…
Reference in New Issue
Block a user