You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zbar/zbar_prefer_pygobject2_code...

26 lines
1.0 KiB

commit 4e88270fdf42bd6dcbfeb4130bc9b4edc850211f
Author: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Date: Tue Aug 7 16:51:23 2018 -0300
configure.ac: prefer using pygobject-codegen-2.0
Get rid of this warning:
note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
diff --git a/configure.ac b/configure.ac
index 141a3c2ab9f3..67148815097a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -465,7 +465,8 @@ Install the development package for python-$am_cv_python_version, or configure
AS_IF([test "x$with_gtk" = "xyes"],
[PKG_CHECK_MODULES([PYGTK], [pygtk-2.0])
- AC_CHECK_PROGS([PYGTK_CODEGEN], [pygtk-codegen-2.0 pygtk-codegen], [:])
+ AC_CHECK_PROGS([PYGTK_CODEGEN], [pygobject-codegen-2.0 pygtk-codegen-2.0 pygtk-codegen], [:])
+
AS_IF([test "x$PYGTK_H2DEF" = "x"],
[PYGTK_H2DEF=`$PKG_CONFIG pygtk-2.0 --variable=codegendir`/h2def.py
AS_IF([test -f "$PYGTK_H2DEF"], [], [PYGTK_H2DEF=":"])])