[gdm/wip/initial-setup] Populate an autostart dir for the setup session



commit 570cb24360704d255b6ccd97b7eae9ca319a5155
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 17 14:28:38 2011 -0400

    Populate an autostart dir for the setup session
    
    This gets installed in $(datadir)/gdm/autostart/InitialSetup.

 configure.ac                                       |    1 +
 data/Makefile.am                                   |    1 +
 data/setup-autostart/Makefile.am                   |   45 ++++++++++++++++++++
 .../gdm-initial-setup.desktop.in.in                |   13 ++++++
 .../gnome-power-manager.desktop.in.in              |   14 ++++++
 .../gnome-session-check-accelerated.desktop.in.in  |    6 +++
 .../gnome-settings-daemon.desktop.in.in            |    9 ++++
 data/setup-autostart/metacity.desktop.in           |   19 ++++++++
 ...lkit-gnome-authentication-agent-1.desktop.in.in |    5 ++
 9 files changed, 113 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a46a6d4..8875c30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1416,6 +1416,7 @@ data/gdm.conf
 data/Makefile
 data/greeter-autostart/Makefile
 data/greeter-autostart/at-spi-registryd-wrapper.desktop.in
+data/setup-autostart/Makefile
 data/pixmaps/Makefile
 data/pixmaps/16x16/Makefile
 data/pixmaps/32x32/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 4b13387..5707a37 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,6 +2,7 @@ NULL =
 
 SUBDIRS =			\
 	greeter-autostart	\
+	setup-autostart	\
 	pixmaps			\
 	$(NULL)
 
diff --git a/data/setup-autostart/Makefile.am b/data/setup-autostart/Makefile.am
new file mode 100644
index 0000000..3431cd0
--- /dev/null
+++ b/data/setup-autostart/Makefile.am
@@ -0,0 +1,45 @@
+NULL =
+
+edit = sed \
+	-e 's|@SBINDIR[ ]|$(sbindir)|g' \
+	-e 's|@SYSCONFDIR[ ]|$(sysconfdir)|g' \
+	-e 's|@LIBDIR[ ]|$(libdir)|g' \
+	-e 's|@LIBEXECDIR[ ]|$(libexecdir)|g' \
+	-e 's|@LOCALSTATEDIR[ ]|$(localstatedir)|g'
+
+%.desktop.in: %.desktop.in.in Makefile
+	$(edit) $< >$@
+
+ INTLTOOL_DESKTOP_RULE@
+desktopdir = $(pkgdatadir)/autostart/InitialSetup
+desktop_in_files = 	\
+	gdm-initial-setup.desktop.in		\
+	gnome-power-manager.desktop.in		\
+	gnome-settings-daemon.desktop.in	\
+	metacity.desktop.in			\
+	polkit-gnome-authentication-agent-1.desktop.in	\
+	gnome-session-check-accelerated.desktop.in	\
+	$(NULL)
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+EXTRA_DIST = 			\
+	gdm-simple-greeter.desktop.in.in	\
+	gnome-power-manager.desktop.in.in	\
+	gnome-settings-daemon.desktop.in.in	\
+	polkit-gnome-authentication-agent-1.desktop.in.in \
+	gnome-session-check-accelerated.desktop.in.in	\
+	$(desktop_in_files)	\
+	$(NULL)
+
+DISTCLEANFILES =			\
+	*.desktop			\
+	gdm-initial-setup.desktop.in	\
+	gnome-power-manager.desktop.in	\
+	gnome-settings-daemon.desktop.in	\
+	polkit-gnome-authentication-agent-1.desktop.in \
+	gnome-session-check-accelerated.desktop.in	\
+	$(NULL)
+
+MAINTAINERCLEANFILES =                  \
+        *~                              \
+        Makefile.in
diff --git a/data/setup-autostart/gdm-initial-setup.desktop.in.in b/data/setup-autostart/gdm-initial-setup.desktop.in.in
new file mode 100644
index 0000000..61de309
--- /dev/null
+++ b/data/setup-autostart/gdm-initial-setup.desktop.in.in
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Initial Setup
+Icon=preferences-system
+Exec= LIBEXECDIR@/gdm-initial-setup
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=GNOME;GTK;System;
+OnlyShowIn=GNOME;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gdm
+X-GNOME-Bugzilla-Component=setup
+X-GNOME-Bugzilla-Version=unknown
diff --git a/data/setup-autostart/gnome-power-manager.desktop.in.in b/data/setup-autostart/gnome-power-manager.desktop.in.in
new file mode 100644
index 0000000..ee90130
--- /dev/null
+++ b/data/setup-autostart/gnome-power-manager.desktop.in.in
@@ -0,0 +1,14 @@
+[Desktop Entry]
+_Name=Power Manager
+_Comment=Power management daemon
+Icon=gnome-power-manager
+Exec=gnome-power-manager
+Terminal=false
+Type=Application
+Categories=
+OnlyShowIn=GNOME;XFCE;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-power-manager
+X-GNOME-Bugzilla-Component=gnome-power-manager
+X-GNOME-Bugzilla-Version= VERSION@
+X-GNOME-Bugzilla-ExtraInfoScript=gnome-power-bugreport.sh
diff --git a/data/setup-autostart/gnome-session-check-accelerated.desktop.in.in b/data/setup-autostart/gnome-session-check-accelerated.desktop.in.in
new file mode 100644
index 0000000..f4df5b6
--- /dev/null
+++ b/data/setup-autostart/gnome-session-check-accelerated.desktop.in.in
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+_Name=GNOME Session Acceleration Checker
+TryExec= LIBEXECDIR@/gnome-session-check-accelerated
+Exec= LIBEXECDIR@/gnome-session-check-accelerated
+X-GNOME-Autostart-Phase=Application
diff --git a/data/setup-autostart/gnome-settings-daemon.desktop.in.in b/data/setup-autostart/gnome-settings-daemon.desktop.in.in
new file mode 100644
index 0000000..324da22
--- /dev/null
+++ b/data/setup-autostart/gnome-settings-daemon.desktop.in.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+_Name=GNOME Settings Daemon
+TryExec= LIBEXECDIR@/gnome-settings-daemon
+Exec= LIBEXECDIR@/gnome-settings-daemon
+OnlyShowIn=GNOME;
+X-GNOME-Autostart-Phase=Initialization
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true
diff --git a/data/setup-autostart/metacity.desktop.in b/data/setup-autostart/metacity.desktop.in
new file mode 100644
index 0000000..c195d86
--- /dev/null
+++ b/data/setup-autostart/metacity.desktop.in
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Type=Application
+_Name=Metacity
+Exec=metacity
+# name of loadable control center module
+X-GNOME-WMSettingsModule=metacity
+# name we put on the WM spec check window
+X-GNOME-WMName=Metacity
+# back compat only 
+X-GnomeWMSettingsLibrary=metacity
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=metacity
+X-GNOME-Bugzilla-Component=general
+X-GNOME-Autostart-Phase=WindowManager
+X-GNOME-Provides=windowmanager
+X-GNOME-Autostart-Notify=true
+
+[Window Manager]
+SessionManaged=true
diff --git a/data/setup-autostart/polkit-gnome-authentication-agent-1.desktop.in.in b/data/setup-autostart/polkit-gnome-authentication-agent-1.desktop.in.in
new file mode 100644
index 0000000..e398cf6
--- /dev/null
+++ b/data/setup-autostart/polkit-gnome-authentication-agent-1.desktop.in.in
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Type=Application
+_Name=PolicyKit Authentication Agent
+Exec= LIBEXECDIR@/polkit-gnome-authentication-agent-1
+OnlyShowIn=GNOME;



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