Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions pygtk/pygtk-c99.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/pango.override b/pango.override
index afe43ab..0bb5209 100644
--- a/pango.override
+++ b/pango.override
@@ -27,6 +27,10 @@ headers
#include <pygobject.h>
#include <pango/pango.h>

+/* Fix problem with accessing private interface */
+PANGO_AVAILABLE_IN_ALL PangoFontMetrics *pango_font_metrics_new (void);
+PANGO_AVAILABLE_IN_ALL const char *pango_font_map_get_shape_engine_type (PangoFontMap *fontmap);
+
typedef struct {
PyObject *func, *data;
} PyGtkCustomNotify;
12 changes: 11 additions & 1 deletion pygtk/pygtk.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
},
{
"type": "patch",
"path": "pygtk.patch"
"paths": [
"pygtk.patch",
"pygtk-c99.patch"
]
},
{
"type": "shell",
Expand All @@ -30,6 +33,8 @@
"/share/pygtk"
],
"modules": [
"../python2.7/python-2.7.json",
"../gtk2/gtk2.json",
{
"name": "python2-pycairo",
"buildsystem": "meson",
Expand Down Expand Up @@ -73,6 +78,11 @@
{
"name": "libglade",
"rm-configure": true,
"build-options": {
"env": {
"GTKDOCIZE": "true"
}
},
"cleanup": [
"/bin",
"/include/libglade-2.0",
Expand Down
Loading