gir-repository r87 - in trunk: . gir



Author: walters
Date: Tue Sep  9 17:34:25 2008
New Revision: 87
URL: http://svn.gnome.org/viewvc/gir-repository?rev=87&view=rev

Log:
Partial attempt to expose bottom of Telepathy stack


Added:
   trunk/gir/DBusGLib.gir
   trunk/gir/LibTelepathy.gir
   trunk/gir/TelepathyGLib.gir
Modified:
   trunk/configure.ac
   trunk/gir/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Sep  9 17:34:25 2008
@@ -52,7 +52,7 @@
 AM_CONDITIONAL(BUILD_GCONF, $have_gconf)
 
 dnl soup
-PKG_CHECK_MODULES(GCONF, libsoup-2.4,
+PKG_CHECK_MODULES(SOUP, libsoup-2.4,
                   have_soup=true, have_soup=false)
 AM_CONDITIONAL(BUILD_SOUP, $have_soup)
 
@@ -96,6 +96,11 @@
                   have_goocanvas=true, have_goocanvas=false)
 AM_CONDITIONAL(BUILD_GOOCANVAS, $have_goocanvas)
 
+dnl mission-control
+PKG_CHECK_MODULES(MISSIONCONTROL, libmissioncontrol,
+                  have_missioncontrol=true, have_missioncontrol=false)
+AM_CONDITIONAL(BUILD_MISSIONCONTROL, $have_missioncontrol)
+
 AC_CONFIG_FILES([Makefile
                  gir/Makefile
                  gir-repository-1.0.pc])

Added: trunk/gir/DBusGLib.gir
==============================================================================
--- (empty file)
+++ trunk/gir/DBusGLib.gir	Tue Sep  9 17:34:25 2008
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<repository version="1.0"
+            xmlns="http://www.gtk.org/introspection/core/1.0";
+            xmlns:c="http://www.gtk.org/introspection/c/1.0";
+	    xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
+  <include name="GObject"/>
+  <namespace name="DBusGLib" shared-library="dbus-glib-1">
+    <record name="Connection" c:type="DBusGConnection"/>
+    <record name="MethodInvocation" c:type="DBusGMethodInvocation"/>
+    <class name="Proxy" c:type="DBusGProxy" parent="GObject.Object"
+      glib:type-name="DBusGProxy" glib:get-type="dbus_g_proxy_get_type">
+    </class>
+    <record name="ProxyClass" c:type="DBusGProxyClass"/>
+
+    <function name="connection_open" c:identifier="dbus_g_connection_open">
+      <return-value>
+        <type name="Connection" c:type="DBusGConnection*"/>
+      </return-value>
+      <parameters>
+        <parameter name="address">
+	  <type name="utf8" c:type="char*"/>
+	</parameter>
+        <parameter name="error">
+	  <type name="GLib.Error" c:type="GError**"/>
+	</parameter>
+      </parameters>
+    </function>
+  </namespace>
+</repository>

Added: trunk/gir/LibTelepathy.gir
==============================================================================
--- (empty file)
+++ trunk/gir/LibTelepathy.gir	Tue Sep  9 17:34:25 2008
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<repository version="1.0"
+            xmlns="http://www.gtk.org/introspection/core/1.0";
+            xmlns:c="http://www.gtk.org/introspection/c/1.0";
+	    xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
+  <include name="TelepathyGLib"/>
+  <namespace name="LibTelepathy" shared-library="telepathy">
+    <record name="DBusDaemon" c:type="TpDBusDaemon"/>
+    <record name="ProxySignalConnection" c:type="TpProxySignalConnection"/>
+    <record name="ProxyPendingCall" c:type="TpProxyPendingCall"/>
+    <class name="Conn" c:type="TpConn" parent="DBusGLib.Proxy"
+      glib:type-name="TpConn" glib:get-type="tp_conn_get_type">
+    </class>
+    <record name="ConnClass" c:type="TpConnClass"/>
+
+    <function name="connmgr_list_cms" c:identifier="tp_connmgr_list_cms">
+      <return-value>
+        <type name="GLib.SList" c:type="GSList*"/>
+      </return-value>
+    </function>
+  </namespace>
+</repository>

Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am	(original)
+++ trunk/gir/Makefile.am	Tue Sep  9 17:34:25 2008
@@ -8,6 +8,9 @@
 	libxml2.gir	\
 	xft.gir		\
 	xlib.gir	\
+	DBusGLib.gir	\
+	TelepathyGLib.gir	\
+	LibTelepathy.gir	\
 	GL.gir
 BUILT_GIRSOURCES =
 
@@ -430,6 +433,23 @@
 BUILT_GIRSOURCES += Gst.gir
 endif BUILD_GSTREAMER
 
+if BUILD_MISSIONCONTROL
+MISSIONCONTROL_INCLUDEDIR=`pkg-config --variable=includedir libmissioncontrol`
+MISSIONCONTROL_LIBDIR=`pkg-config --variable=libdir libmissioncontrol`
+MissionControl.gir: $(G_IR_SCANNER) 
+	$(G_IR_SCANNER) -v --namespace MissionControl \
+	     --strip-prefix=mc \
+             --include=$(srcdir)/LibTelepathy.gir \
+	     --library=missioncontrol-client \
+	     $(NOCLOSURE) \
+             --pkg libmissioncontrol \
+             --output $@ \
+	     -I$(MISSIONCONTROL_INCLUDEDIR) \
+             $(MISSIONCONTROL_INCLUDEDIR)/libmissioncontrol/_gen/*.h \
+             $(MISSIONCONTROL_INCLUDEDIR)/libmissioncontrol/*.h
+BUILT_GIRSOURCES += MissionControl.gir
+endif BUILD_MISSIONCONTROL
+
 girdir = $(datadir)/gir
 dist_gir_DATA = $(CUSTOM_GIRSOURCES) $(BUILT_GIRSOURCES)
 

Added: trunk/gir/TelepathyGLib.gir
==============================================================================
--- (empty file)
+++ trunk/gir/TelepathyGLib.gir	Tue Sep  9 17:34:25 2008
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<repository version="1.0"
+            xmlns="http://www.gtk.org/introspection/core/1.0";
+            xmlns:c="http://www.gtk.org/introspection/c/1.0";
+	    xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
+  <include name="DBusGLib"/>
+  <namespace name="TelepathyGLib" shared-library="telepathy-glib">
+    <record name="DBusDaemon" c:type="TpDBusDaemon"/>
+    <record name="Connection" c:type="TpConnection"/>
+    <record name="ProxySignalConnection" c:type="TpProxySignalConnection"/>
+    <record name="ProxyPendingCall" c:type="TpProxyPendingCall"/>
+    <class name="Proxy" c:type="TpProxy" parent="GObject.Object"
+      glib:type-name="TpProxy" glib:get-type="tp_proxy_get_type">
+    </class>
+    <record name="ProxyClass" c:type="TpProxyClass"/>
+    <enumeration name="HandleType" c:type="TpHandleType">
+      <member name="none" value="0" c:identifier="TP_HANDLE_TYPE_NONE"/>
+    </enumeration>
+    <class name="Channel" c:type="TpChannel" parent="Proxy"
+      glib:type-name="TpChannel" glib:get-type="tp_channel_get_type">
+    </class>
+    <record name="ChannelClass" c:type="TpChannelClass"/>
+    <enumeration name="ChannelTextMessageType" c:type="TpChannelTextMessageType">
+      <member name="normal" value="0" c:identifier="TP_CHANNEL_TEXT_MESSAGE_TYPE_NORMAL"/>
+    </enumeration>
+
+    <function name="dbus_daemon_new" c:identifier="tp_dbus_daemon_new">
+      <return-value>
+        <type name="DBusDaemon" c:type="TpDBusDaemon*"/>
+      </return-value>
+      <parameters>
+        <parameter name="connection">
+	  <type name="DBusGLib.Connection" c:type="DBusGConnection*"/>
+	</parameter>
+      </parameters>
+    </function>
+  </namespace>
+</repository>



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