Commit 8a571fbf authored by Alexandre Franke's avatar Alexandre Franke

Replace pygtk-codegen with pygobject-codegen

parent 046a28bc
......@@ -196,9 +196,9 @@ if test "x$enable_python" != "xno"; then
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= $PYGTK_REQUIRED, have_python=yes, have_python=no)
fi
if test "x$have_python" = "xyes"; then
AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
if test "x$PYGTK_CODEGEN" = xno; then
AC_MSG_ERROR(could not find pygtk-codegen-2.0 script)
AC_PATH_PROG(PYGOBJECT_CODEGEN, pygobject-codegen-2.0, no)
if test "x$PYGOBJECT_CODEGEN" = xno; then
AC_MSG_ERROR(could not find pygobject-codegen-2.0 script)
have_python=no
fi
fi
......
......@@ -35,7 +35,7 @@ EXTRA_DIST = \
plannerui-types.defs
planner.c: planner.defs planner-types.defs planner.override
( cd $(srcdir) && $(PYGTK_CODEGEN) \
( cd $(srcdir) && $(PYGOBJECT_CODEGEN) \
--override $*.override \
--load-types planner-arg-types.py \
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
......@@ -44,7 +44,7 @@ planner.c: planner.defs planner-types.defs planner.override
&& rm -f gen-$*.c
plannerui.c: plannerui.defs plannerui-types.defs plannerui.override
( cd $(srcdir) && $(PYGTK_CODEGEN) \
( cd $(srcdir) && $(PYGOBJECT_CODEGEN) \
--override $*.override \
--load-types planner-arg-types.py \
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment