[gnome-color-manager] Do not use the deprecated /usr/share/gnome/autostart location
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Do not use the deprecated /usr/share/gnome/autostart location
- Date: Wed, 4 Nov 2009 14:38:53 +0000 (UTC)
commit a8d0a1f29700bafc76d8ee6d50fd0022c44565ba
Author: Richard Hughes <richard hughsie com>
Date: Wed Nov 4 14:01:06 2009 +0000
Do not use the deprecated /usr/share/gnome/autostart location
contrib/gnome-color-manager.spec.in | 4 ----
data/Makefile.am | 2 +-
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index 26bbb2d..4816b53 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -60,10 +60,6 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
-desktop-file-install --delete-original \
- --dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ \
- $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/gcm-apply.desktop
-
for i in gcm-prefs gcm-import ; do
desktop-file-install --delete-original \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
diff --git a/data/Makefile.am b/data/Makefile.am
index e36a1c2..8a240f7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,7 +16,7 @@ desktop_in_files = \
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
-autostartdir = $(datadir)/gnome/autostart
+autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = gcm-apply.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]