DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
fi
fi
-if test "x$enable_dbus_type" != "xp2p" ; then
- if test "x$enable_distcheck" = "xyes" ; then
- DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
- else
- DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
- fi
+if test "x$enable_distcheck" = "xyes" ; then
+ DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
+else
+ DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
fi
AC_ARG_ENABLE(keychain,
%{_libdir}/lib%{name}-*.so
%{_libdir}/lib%{name}-*.la
%{_libdir}/pkgconfig/%{name}.pc
-%if %{dbus_type} != "p2p"
%{_datadir}/dbus-1/interfaces/*SSO*.xml
-%endif
%files doc
%{_includedir}/%{name}/*.h
%{_libdir}/lib%{name}-*.so
%{_libdir}/pkgconfig/%{name}.pc
-%if %{dbus_type} != "p2p"
%{_datadir}/dbus-1/interfaces/*SSO*.xml
-%endif
%files doc
dbusinterfaces_DATA = \
$(INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.AuthService.xml \
$(INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.AuthSession.xml \
- $(INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.Identity.xml
+ $(INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.Identity.xml \
+ $(INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.UI.xml \
+ $(INTERFACES_DIR)/com.google.code.AccountsSSO.gSingleSignOn.UI.Dialog.xml \
+ $(NULL)
EXTRA_DIST = interfaces
--- /dev/null
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="com.google.code.AccountsSSO.gSingleSignOn.UI.Dialog">
+ <method name="queryDialog">
+ <arg type="a{sv}" direction="out"/>
+ <arg name="parameters" type="a{sv}" direction="in"/>
+ </method>
+ <method name="refreshDialog">
+ <arg name="parameters" type="a{sv}" direction="in"/>
+ </method>
+ <method name="cancelUiRequest">
+ <arg name="requestId" type="s" direction="in"/>
+ </method>
+ <signal name="refresh">
+ <arg name="requestId" type="s" direction="out"/>
+ </signal>
+ </interface>
+</node>
--- /dev/null
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="com.google.code.AccountsSSO.gSingleSignOn.UI">
+ <method name="getBusAddress">
+ <arg type="s" direction="out"/>
+ </method>
+ </interface>
+</node>