[PolicyKit-gnome] Bug 589150 – Install autostart desktop files in /etc/xdg/autostart
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Subject: [PolicyKit-gnome] Bug 589150 – Install autostart desktop files in /etc/xdg/autostart
- Date: Mon, 20 Jul 2009 23:31:44 +0000 (UTC)
commit 390c6fe3b208d76bbc381a65a46e8c295fb34037
Author: David Zeuthen <davidz redhat com>
Date: Mon Jul 20 19:25:17 2009 -0400
Bug 589150 â?? Install autostart desktop files in /etc/xdg/autostart
Also make it use translations.
po/POTFILES.in | 2 +-
src/Makefile.am | 14 ++++++++------
...kit-gnome-authentication-agent-1.desktop.in.in} | 0
3 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9e047ba..b415350 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,4 +4,4 @@
src/main.c
src/polkitgnomeauthenticationdialog.c
src/polkitgnomeauthenticator.c
-src/polkit-gnome-authentication-agent-1.desktop.in
+src/polkit-gnome-authentication-agent-1.desktop.in.in
diff --git a/src/Makefile.am b/src/Makefile.am
index 5ac89a7..1921f74 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,12 +1,14 @@
FULL_LIBEXECDIR=$(libexecdir)
-polkit-gnome-authentication-agent-1.desktop : polkit-gnome-authentication-agent-1.desktop.in
- cat polkit-gnome-authentication-agent-1.desktop.in | sed 's,@FULL_LIBEXECDIR@,$(FULL_LIBEXECDIR),' > $@
-
-desktopdir = $(datadir)/gnome/autostart
+desktopdir = $(sysconfdir)/xdg/autostart
desktop_DATA = polkit-gnome-authentication-agent-1.desktop
+ INTLTOOL_DESKTOP_RULE@
+
+polkit-gnome-authentication-agent-1.desktop.in : polkit-gnome-authentication-agent-1.desktop.in.in
+ cat polkit-gnome-authentication-agent-1.desktop.in.in | sed 's,@FULL_LIBEXECDIR@,$(FULL_LIBEXECDIR),' > $@
+
libexec_PROGRAMS = polkit-gnome-authentication-agent-1
polkit_gnome_authentication_agent_1_SOURCES = \
@@ -43,7 +45,7 @@ polkit_gnome_authentication_agent_1_LDADD = \
$(POLKIT_GOBJECT_LIBS) \
$(INTLLIBS)
-EXTRA_DIST = polkit-gnome-authentication-agent-1.desktop.in
+EXTRA_DIST = polkit-gnome-authentication-agent-1.desktop.in.in
clean-local :
- rm -f *~ polkit-gnome-authentication-agent-1.desktop
+ rm -f *~ polkit-gnome-authentication-agent-1.desktop polkit-gnome-authentication-agent-1.desktop.in
diff --git a/src/polkit-gnome-authentication-agent-1.desktop.in b/src/polkit-gnome-authentication-agent-1.desktop.in.in
similarity index 100%
rename from src/polkit-gnome-authentication-agent-1.desktop.in
rename to src/polkit-gnome-authentication-agent-1.desktop.in.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]