[Xfce4-commits] <thunarx-python:master> Added gio and unix types, which gives the codegen the ability to wrap methods that return GIO type objects

Adam Plumb noreply at xfce.org
Thu May 27 18:12:35 CEST 2010


Updating branch refs/heads/master
         to 0f10c6d507bed985068aa44ee4033fbd8546dd27 (commit)
       from ea5b45a0a7e2e0a7519e4a121ef510c0aad41294 (commit)

commit 0f10c6d507bed985068aa44ee4033fbd8546dd27
Author: Adam Plumb <adamplumb at gmail.com>
Date:   Wed Jan 13 10:32:16 2010 -0500

    Added gio and unix types, which gives the codegen the ability to wrap methods that return GIO type objects

 configure.ac.in |    5 +++++
 src/Makefile.am |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index d19e673..ae21ef7 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -107,6 +107,11 @@ PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
 AC_SUBST(PYGTK_DEFSDIR)
 AC_MSG_RESULT($PYGTK_DEFSDIR)
 
+AC_MSG_CHECKING(for pygobject defs)
+PYGOBJECT_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygobject-2.0`
+AC_SUBST(PYGOBJECT_DEFSDIR)
+AC_MSG_RESULT($PYGOBJECT_DEFSDIR)
+
 AC_MSG_CHECKING(for pygtk codegen)
 PYGTK_CODEGEN="/usr/bin/python `$PKG_CONFIG --variable=codegendir pygobject-2.0`/codegen.py"
 AC_SUBST(PYGTK_CODEGEN)
diff --git a/src/Makefile.am b/src/Makefile.am
index 5254ee6..a794397 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -70,6 +70,8 @@ EXTRA_DIST = thunarx.override thunarx.defs
 	    --register $(PYGTK_DEFSDIR)/pango-types.defs \
             --register $(PYGTK_DEFSDIR)/gdk-types.defs \
             --register $(PYGTK_DEFSDIR)/gtk-types.defs \
+            --register $(PYGOBJECT_DEFSDIR)/gio-types.defs \
+            --register $(PYGOBJECT_DEFSDIR)/unix-types.defs \
             --override $*.override \
             --prefix py$* $*.defs) > gen-$*.c \
         && cp gen-$*.c $*.c \



More information about the Xfce4-commits mailing list