gnome-scan r601 - in trunk: . bindings bindings/gi bindings/vapi
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-scan r601 - in trunk: . bindings bindings/gi bindings/vapi
- Date: Thu, 8 May 2008 13:05:53 +0100 (BST)
Author: bersace
Date: Thu May 8 12:05:53 2008
New Revision: 601
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=601&view=rev
Log:
Generate gobject-introspection and vapi for internal use.
Added:
trunk/bindings/
trunk/bindings/gi/
trunk/bindings/gi/Makefile.am
trunk/bindings/gi/gnome-scan.files
trunk/bindings/gi/gnome-scan.gi
trunk/bindings/gi/gnome-scan.namespace
trunk/bindings/vapi/
trunk/bindings/vapi/Makefile.am
trunk/bindings/vapi/gnome-scan.deps
trunk/bindings/vapi/gnome-scan.metadata
trunk/bindings/vapi/gnome-scan.vapi
Modified:
trunk/ChangeLog
trunk/Makefile.am
trunk/configure.ac
Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am (original)
+++ trunk/Makefile.am Thu May 8 12:05:53 2008
@@ -6,6 +6,7 @@
lib \
modules \
src \
+ bindings \
po \
doc \
data
Added: trunk/bindings/gi/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/bindings/gi/Makefile.am Thu May 8 12:05:53 2008
@@ -0,0 +1,4 @@
+dist_noinst_DATA = gnome-scan.gi
+
+gnome-scan.gi: gnome-scan.files
+ vala-gen-introspect gnome-scan .
Added: trunk/bindings/gi/gnome-scan.files
==============================================================================
--- (empty file)
+++ trunk/bindings/gi/gnome-scan.files Thu May 8 12:05:53 2008
@@ -0,0 +1,2 @@
+include/gnome-scan-1.0/gnome-scan-settings.h
+lib/libgnomescan.so
Added: trunk/bindings/gi/gnome-scan.gi
==============================================================================
--- (empty file)
+++ trunk/bindings/gi/gnome-scan.gi Thu May 8 12:05:53 2008
@@ -0,0 +1,177 @@
+<?xml version="1.0"?>
+<api version="1.0">
+ <namespace name="Gnome.Scan">
+ <object name="GnomeScanSettings" parent="GObject" type-name="GnomeScanSettings" get-type="gnome_scan_settings_get_type">
+ <method name="get" symbol="gnome_scan_settings_get">
+ <return-type type="GValue*"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_all" symbol="gnome_scan_settings_get_all">
+ <return-type type="GHashTable*"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ </parameters>
+ </method>
+ <method name="get_boolean" symbol="gnome_scan_settings_get_boolean">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_boxed" symbol="gnome_scan_settings_get_boxed">
+ <return-type type="gpointer"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="type" type="GType"/>
+ </parameters>
+ </method>
+ <method name="get_double" symbol="gnome_scan_settings_get_double">
+ <return-type type="gdouble"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_enum" symbol="gnome_scan_settings_get_enum">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="type" type="GType"/>
+ </parameters>
+ </method>
+ <method name="get_int" symbol="gnome_scan_settings_get_int">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_object" symbol="gnome_scan_settings_get_object">
+ <return-type type="GObject*"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_pointer" symbol="gnome_scan_settings_get_pointer">
+ <return-type type="gpointer"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_string" symbol="gnome_scan_settings_get_string">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="get_transformed" symbol="gnome_scan_settings_get_transformed">
+ <return-type type="GValue*"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="type" type="GType"/>
+ </parameters>
+ </method>
+ <method name="init_value" symbol="gnome_scan_settings_init_value">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="pspec" type="GParamSpec*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="gnome_scan_settings_new">
+ <return-type type="GnomeScanSettings*"/>
+ </constructor>
+ <method name="set" symbol="gnome_scan_settings_set">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="value" type="GValue*"/>
+ </parameters>
+ </method>
+ <method name="set_boolean" symbol="gnome_scan_settings_set_boolean">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="value" type="gboolean"/>
+ </parameters>
+ </method>
+ <method name="set_boxed" symbol="gnome_scan_settings_set_boxed">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="type" type="GType"/>
+ <parameter name="value" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="set_double" symbol="gnome_scan_settings_set_double">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="value" type="gdouble"/>
+ </parameters>
+ </method>
+ <method name="set_enum" symbol="gnome_scan_settings_set_enum">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="type" type="GType"/>
+ <parameter name="value" type="gint"/>
+ </parameters>
+ </method>
+ <method name="set_int" symbol="gnome_scan_settings_set_int">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="value" type="gint"/>
+ </parameters>
+ </method>
+ <method name="set_object" symbol="gnome_scan_settings_set_object">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="value" type="GObject*"/>
+ </parameters>
+ </method>
+ <method name="set_pointer" symbol="gnome_scan_settings_set_pointer">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="value" type="gpointer"/>
+ </parameters>
+ </method>
+ <method name="set_transform" symbol="gnome_scan_settings_set_transform">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ <parameter name="value" type="GValue*"/>
+ </parameters>
+ </method>
+ <signal name="changed" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GnomeScanSettings*"/>
+ <parameter name="key" type="char*"/>
+ </parameters>
+ </signal>
+ </object>
+ </namespace>
+</api>
Added: trunk/bindings/gi/gnome-scan.namespace
==============================================================================
--- (empty file)
+++ trunk/bindings/gi/gnome-scan.namespace Thu May 8 12:05:53 2008
@@ -0,0 +1 @@
+Gnome.Scan
Added: trunk/bindings/vapi/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/bindings/vapi/Makefile.am Thu May 8 12:05:53 2008
@@ -0,0 +1,12 @@
+gnome-scan.vapi: $(top_srcdir)/bindings/gi/gnome-scan*
+ vapigen --library=gnome-scan \
+ --pkg=gegl \
+ --pkg=glib-2.0 \
+ --pkg=gtk+-2.0 \
+ --pkg=gdk-2.0 \
+ $^
+
+#vapidir=$(DESTDIR)@vapidir@
+dist_noinst_DATA = \
+ gnome-scan.vapi \
+ gnome-scan.deps
\ No newline at end of file
Added: trunk/bindings/vapi/gnome-scan.deps
==============================================================================
--- (empty file)
+++ trunk/bindings/vapi/gnome-scan.deps Thu May 8 12:05:53 2008
@@ -0,0 +1,8 @@
+glib-2.0
+gdk-2.0
+gdk-pixbuf-2.0
+cairo
+pango
+atk
+gtk+-2.0
+gegl
Added: trunk/bindings/vapi/gnome-scan.metadata
==============================================================================
--- (empty file)
+++ trunk/bindings/vapi/gnome-scan.metadata Thu May 8 12:05:53 2008
@@ -0,0 +1 @@
+
Added: trunk/bindings/vapi/gnome-scan.vapi
==============================================================================
--- (empty file)
+++ trunk/bindings/vapi/gnome-scan.vapi Thu May 8 12:05:53 2008
@@ -0,0 +1,2 @@
+/* gnome-scan.vapi generated by vapigen, do not modify. */
+
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu May 8 12:05:53 2008
@@ -149,6 +149,11 @@
AC_SUBST(GIMP_LIBDIR)
+dnl VAPI
+vapidir=$(pkg-config --variable vapidir vala-1.0)
+AC_SUBST(vapidir)
+
+
AC_OUTPUT([
gnome-scan.pc
Makefile
@@ -160,4 +165,7 @@
doc/ref/Makefile
doc/ref/version.xml
data/Makefile
+ bindings/Makefile
+ bindings/gi/Makefile
+ bindings/vapi/Makefile
])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]