krb5-auth-dialog r137 - in trunk: . src



Author: guidog
Date: Sat Mar 28 13:20:36 2009
New Revision: 137
URL: http://svn.gnome.org/viewvc/krb5-auth-dialog?rev=137&view=rev

Log:
add dbus service file

Added:
   trunk/src/org.gnome.KrbAuthDialog.service.in
Modified:
   trunk/ChangeLog
   trunk/src/Makefile.am

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Sat Mar 28 13:20:36 2009
@@ -12,11 +12,18 @@
 
 schemadir = $(sysconfdir)/gconf/schemas
 schema_in_files = $(PACKAGE).schemas.in
-schema_DATA = $(PACKAGE).schemas
+schema_DATA = $(schema_in_files:.schemas.in=.schemas)
 
 %.schemas: $(srcdir)/%.schemas.in
 	sed -e "s,::PACKAGE::,$(PACKAGE)," < $< > $@
 
+servicedir       = $(datadir)/dbus-1/services
+service_in_files = org.gnome.KrbAuthDialog.service.in
+service_DATA     = $(service_in_files:.service.in=.service)
+
+$(service_DATA): $(service_in_files) Makefile
+	sed -e "s|\ BINDIR\@|$(bindir)|" $< > $@
+
 krb5_auth_dialog_SOURCES =	\
 	krb5-auth-dialog.c      \
 	krb5-auth-dialog.h      \
@@ -60,9 +67,10 @@
 	$(pkgdata_DATA)   \
 	$(schema_in_files) \
 	$(autostart_in_files) \
+	$(service_in_files) \
 	krb5-auth-dialog.1.in
 
-CLEANFILES = $(schema_DATA)
+CLEANFILES = $(schema_DATA) $(service_DATA)
 DISTCLEANFILES = \
 	krb5-auth-dialog.desktop 	\
 	krb5-auth-applet-dbus-glue.h

Added: trunk/src/org.gnome.KrbAuthDialog.service.in
==============================================================================
--- (empty file)
+++ trunk/src/org.gnome.KrbAuthDialog.service.in	Sat Mar 28 13:20:36 2009
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.KrbAuthDialog
+Exec= BINDIR@/krb5-auth-dialog -A



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