gir-repository r191 - in trunk: . gir
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: gir-repository r191 - in trunk: . gir
- Date: Sat, 1 Nov 2008 23:03:39 +0000 (UTC)
Author: otaylor
Date: Sat Nov 1 23:03:39 2008
New Revision: 191
URL: http://svn.gnome.org/viewvc/gir-repository?rev=191&view=rev
Log:
2008-11-01 Owen Taylor <otaylor redhat com>
Bug 558849 - extend X stubbing
* gir/xlib-2.0.gir: Add XWindowAttributes.
* configure.ac gir/Makefile.am gir/xfixes-4.0.gir:
Add a xfixes.gir to handle XserverRegion.
Added:
trunk/gir/xfixes-4.0.gir
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/gir/Makefile.am
trunk/gir/xlib-2.0.gir
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Sat Nov 1 23:03:39 2008
@@ -47,6 +47,11 @@
have_xft=true, have_xft=false)
AM_CONDITIONAL(BUILD_XFT, $have_xft)
+dnl xft/xlib
+PKG_CHECK_MODULES(XFIXES, xfixes,
+ have_xfixes=true, have_xfixes=false)
+AM_CONDITIONAL(BUILD_XFIXES, $have_xfixes)
+
dnl GL
AC_CHECK_LIB(GL, glInitNames,
have_gl=true, have_gl=false)
Modified: trunk/gir/Makefile.am
==============================================================================
--- trunk/gir/Makefile.am (original)
+++ trunk/gir/Makefile.am Sat Nov 1 23:03:39 2008
@@ -31,6 +31,10 @@
CUSTOM_GIRSOURCES += xft-2.0.gir xlib-2.0.gir
endif
+if BUILD_XFIXES
+CUSTOM_GIRSOURCES += xfixes-4.0.gir xfixes-4.0.gir
+endif
+
if BUILD_GCONF
GCONF_INCLUDEDIR=`pkg-config --variable=includedir gconf-2.0`/gconf/2
GCONF_LIBDIR=`pkg-config --variable=libdir gconf-2.0`
Added: trunk/gir/xfixes-4.0.gir
==============================================================================
--- (empty file)
+++ trunk/gir/xfixes-4.0.gir Sat Nov 1 23:03:39 2008
@@ -0,0 +1,8 @@
+<?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">
+ <namespace name="xfixes" version="4.0" shared-library="Xfixes">
+ <record name="XserverRegion" c:type="XserverRegion"/>
+ </namespace>
+</repository>
Modified: trunk/gir/xlib-2.0.gir
==============================================================================
--- trunk/gir/xlib-2.0.gir (original)
+++ trunk/gir/xlib-2.0.gir Sat Nov 1 23:03:39 2008
@@ -16,6 +16,7 @@
<record name="XImage" c:type="XImage"/>
<record name="XFontStruct" c:type="XFontStruct"/>
<record name="XVisualInfo" c:type="XVisualInfo"/>
+ <record name="XWindowAttributes" c:type="XWindowAttributes"/>
<function name="open_display" c:identifier="XOpenDisplay">
<return-value transfer-ownership="none">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]