diff options
Diffstat (limited to 'graphics/py-clutter')
-rw-r--r-- | graphics/py-clutter/files/patch-clutter_cogl-base-types.defs | 33 | ||||
-rw-r--r-- | graphics/py-clutter/files/patch-clutter_cogl.c | 10 |
2 files changed, 33 insertions, 10 deletions
diff --git a/graphics/py-clutter/files/patch-clutter_cogl-base-types.defs b/graphics/py-clutter/files/patch-clutter_cogl-base-types.defs new file mode 100644 index 000000000..f30d20b02 --- /dev/null +++ b/graphics/py-clutter/files/patch-clutter_cogl-base-types.defs @@ -0,0 +1,33 @@ +--- clutter/cogl-base-types.defs.orig 2010-08-28 21:20:41.000000000 -0400 ++++ clutter/cogl-base-types.defs 2010-08-28 21:21:02.000000000 -0400 +@@ -7,30 +7,6 @@ + (gtype-id "COGL_PANGO_TYPE_FONT_MAP") + ) + +-(define-flags DebugFlags +- (in-module "Cogl") +- (c-name "CoglDebugFlags") +- (gtype-id "COGL_TYPE_DEBUG_FLAGS") +- (values +- '("misc" "COGL_DEBUG_MISC") +- '("texture" "COGL_DEBUG_TEXTURE") +- '("material" "COGL_DEBUG_MATERIAL") +- '("shader" "COGL_DEBUG_SHADER") +- '("offscreen" "COGL_DEBUG_OFFSCREEN") +- '("draw" "COGL_DEBUG_DRAW") +- '("pango" "COGL_DEBUG_PANGO") +- '("rectangles" "COGL_DEBUG_RECTANGLES") +- '("handle" "COGL_DEBUG_HANDLE") +- '("blend-strings" "COGL_DEBUG_BLEND_STRINGS") +- '("disable-batching" "COGL_DEBUG_DISABLE_BATCHING") +- '("force-client-side-matrices" "COGL_DEBUG_FORCE_CLIENT_SIDE_MATRICES") +- '("disable-vbos" "COGL_DEBUG_DISABLE_VBOS") +- '("journal" "COGL_DEBUG_JOURNAL") +- '("batching" "COGL_DEBUG_BATCHING") +- '("disable-software-transform" "COGL_DEBUG_DISABLE_SOFTWARE_TRANSFORM") +- ) +-) +- + (define-flags BufferBit + (in-module "Cogl") + (c-name "CoglBufferBit") diff --git a/graphics/py-clutter/files/patch-clutter_cogl.c b/graphics/py-clutter/files/patch-clutter_cogl.c deleted file mode 100644 index 5a7cedd0f..000000000 --- a/graphics/py-clutter/files/patch-clutter_cogl.c +++ /dev/null @@ -1,10 +0,0 @@ ---- clutter/cogl.c.orig 2010-08-26 14:30:51.000000000 -0400 -+++ clutter/cogl.c 2010-08-26 14:31:06.000000000 -0400 -@@ -3799,7 +3799,6 @@ pycogl_add_constants(PyObject *module, c - #ifdef VERSION - PyModule_AddStringConstant(module, "__version__", VERSION); - #endif -- pyg_flags_add(module, "DebugFlags", strip_prefix, COGL_TYPE_DEBUG_FLAGS); - pyg_flags_add(module, "BufferBit", strip_prefix, COGL_TYPE_BUFFER_BIT); - pyg_enum_add(module, "ShaderType", strip_prefix, COGL_TYPE_SHADER_TYPE); - pyg_enum_add(module, "PixelFormat", strip_prefix, COGL_TYPE_PIXEL_FORMAT); |