[pygobject] Install pygobject.h again.



commit d0a96a0a75f2bc969522abce2d326ef440cf143a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Aug 15 13:12:49 2011 +0200

    Install pygobject.h again.
    
    This is needed by libpeas.

 gi/_gobject/Makefile.am         |    5 ++++-
 pygobject-3.0-uninstalled.pc.in |    4 ++--
 pygobject-3.0.pc.in             |    6 +++---
 3 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/gi/_gobject/Makefile.am b/gi/_gobject/Makefile.am
index 7e15d4c..a31085f 100644
--- a/gi/_gobject/Makefile.am
+++ b/gi/_gobject/Makefile.am
@@ -1,5 +1,8 @@
 AUTOMAKE_OPTIONS = 1.7
-PLATFORM_VERSION = 2.0
+PLATFORM_VERSION = 3.0
+
+pkgincludedir = $(includedir)/pygobject-$(PLATFORM_VERSION)
+pkginclude_HEADERS = pygobject.h
 
 pkgpyexecdir = $(pyexecdir)
 
diff --git a/pygobject-3.0-uninstalled.pc.in b/pygobject-3.0-uninstalled.pc.in
index 8dd5f38..5d96925 100644
--- a/pygobject-3.0-uninstalled.pc.in
+++ b/pygobject-3.0-uninstalled.pc.in
@@ -5,10 +5,10 @@ Requires.private: @LIBFFI_PC@
 Version: @VERSION@
 Cflags: -I${pc_top_builddir}/${pcfiledir}/gobject
 
-# you can use the --variable=pygtkincludedir argument to
+# you can use the --variable=pygobjectincludedir argument to
 # pkg-config to get this value.  You might want to use this to
 # install additional headers.
-pygtkincludedir=${pc_top_builddir}/${pcfiledir}/gobject
+pygobjectincludedir=${pc_top_builddir}/${pcfiledir}/gobject
 xslfiles=${pc_top_builddir}/${pcfiledir}/docs/xsl
 
 # same here.  Useful when calling the code generator in addon packages.
diff --git a/pygobject-3.0.pc.in b/pygobject-3.0.pc.in
index 2ae8ebf..15672de 100644
--- a/pygobject-3.0.pc.in
+++ b/pygobject-3.0.pc.in
@@ -5,10 +5,10 @@ datarootdir= datarootdir@
 datadir= datadir@
 libdir= libdir@
 
-# you can use the --variable=pygtkincludedir argument to
+# you can use the --variable=pygobjectincludedir argument to
 # pkg-config to get this value.  You might want to use this to
 # install additional headers.
-pygtkincludedir=${includedir}/pygtk-2.0
+pygobjectincludedir=${includedir}/pygobject-3.0
 fixxref=${datadir}/pygobject/xsl/fixxref.py
 pygdocs=${datadir}/gtk-doc/html/pygobject
 defsdir=${datadir}/pygobject/2.0/defs
@@ -19,4 +19,4 @@ Description: Python bindings for GObject
 Requires: gobject-2.0
 Requires.private: @LIBFFI_PC@
 Version: @VERSION@
-Cflags: -I${pygtkincludedir}
+Cflags: -I${pygobjectincludedir}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]