WIP add gtkpanel.xml for gtk3 ui
authorPeng Huang <shawn.p.huang@gmail.com>
Wed, 4 Jan 2012 22:08:03 +0000 (17:08 -0500)
committerPeng Huang <shawn.p.huang@gmail.com>
Tue, 21 Feb 2012 16:51:52 +0000 (11:51 -0500)
configure.ac
ui/gtk3/Makefile.am
ui/gtk3/gtkpanel.xml.in [new file with mode: 0644]
ui/gtk3/gtkpanel.xml.in.in [new file with mode: 0644]

index f625dbc..3f5c7ba 100644 (file)
@@ -483,6 +483,7 @@ ui/gtk2/Makefile
 ui/gtk2/ibus-ui-gtk
 ui/gtk2/gtkpanel.xml.in
 ui/gtk3/Makefile
+ui/gtk3/gtkpanel.xml.in
 setup/Makefile
 setup/ibus-setup
 bindings/Makefile
index 85b389d..0fb9d3c 100644 (file)
@@ -24,6 +24,19 @@ NULL =
 
 libibus = $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la
 
+component_DATA = \
+       gtkpanel.xml \
+       $(NULL)
+componentdir = $(pkgdatadir)/component
+
+gtkpanel.xml: gtkpanel.xml.in
+       $(AM_V_GEN) \
+       ( \
+               libexecdir=${libexecdir}; \
+               s=`cat $<`; \
+               eval "echo \"$${s}\""; \
+       ) > $@
+
 INCLUDES = \
        -I$(top_srcdir)/src \
        -I$(top_builddir)/src \
@@ -88,4 +101,13 @@ ibus_ui_gtk3_LDADD = \
        $(AM_LDADD) \
        $(NULL)
 
+CLEANFILES = \
+       gtkpanel.xml \
+       $(NULL)
+
+EXTRA_DIST = \
+       gtkpanel.xml.in.in \
+       $(NULL)
+
+
 -include $(top_srcdir)/git.mk
diff --git a/ui/gtk3/gtkpanel.xml.in b/ui/gtk3/gtkpanel.xml.in
new file mode 100644 (file)
index 0000000..e721846
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- filename: gtkpanel.xml -->
+<component>
+       <name>org.freedesktop.IBus.Panel</name>
+       <description>Gtk Panel Component</description>
+       <exec>${libexecdir}/ibus-ui-gtk3</exec>
+       <version>1.4.99.20120104</version>
+       <author>Peng Huang &lt;shawn.p.huang@gmail.com&gt;</author>
+       <license>GPL</license>
+       <homepage>http://code.google.com/p/ibus</homepage>
+       <textdomain>ibus</textdomain>
+</component>
diff --git a/ui/gtk3/gtkpanel.xml.in.in b/ui/gtk3/gtkpanel.xml.in.in
new file mode 100644 (file)
index 0000000..c480bcd
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- filename: gtkpanel.xml -->
+<component>
+       <name>org.freedesktop.IBus.Panel</name>
+       <description>Gtk Panel Component</description>
+       <exec>${libexecdir}/ibus-ui-gtk3</exec>
+       <version>@VERSION@</version>
+       <author>Peng Huang &lt;shawn.p.huang@gmail.com&gt;</author>
+       <license>GPL</license>
+       <homepage>http://code.google.com/p/ibus</homepage>
+       <textdomain>ibus</textdomain>
+</component>