8697319
Name:		gnome-settings-daemon
0e41c5d
Version:	2.23.5
b02256f
Release:	1%{?dist}
8697319
Summary:	The daemon sharing settings from GNOME to GTK+/KDE applications
8697319
8697319
Group:		System Environment/Daemons
8697319
License:	GPLv2+
8697319
URL:		http://ftp.gnome.org/pub/gnome/sources/%{name}
9191d90
Source0:	http://ftp.gnome.org/pub/gnome/sources/%{name}/2.23/%{name}-%{version}.tar.bz2
8697319
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8697319
8697319
Requires(pre): GConf2 >= 2.14
8697319
Requires(preun): GConf2 >= 2.14
8697319
Requires(post): GConf2 >= 2.14
8697319
8697319
BuildRequires:	dbus-glib-devel
William Jon McCann 08ee654
BuildRequires:	GConf2-devel
8697319
BuildRequires:	gtk2-devel
8697319
BuildRequires:	gnome-vfs2-devel
0e41c5d
BuildRequires:	gnome-desktop-devel >= 2.23.5
8697319
BuildRequires:	libglade2-devel
8697319
BuildRequires:	libgnomeui-devel
8697319
BuildRequires:	libgnome-devel
8697319
BuildRequires:	xorg-x11-proto-devel
8697319
BuildRequires:	gstreamer-devel
8697319
BuildRequires:	gstreamer-plugins-base-devel
5f4a086
BuildRequires:  pulseaudio-libs-devel
8697319
BuildRequires:	libgnomekbd-devel
8697319
BuildRequires:	gettext
8697319
BuildRequires:	perl(XML::Parser)
6fb0d99
BuildRequires:  intltool
8697319
1d484ea
Patch2:         gnome-settings-daemon-2.21.91-ignore-model-if-evdev.patch
00595c1
# survive xrandr being absent (such as on Xnest in sabayon)
00595c1
Patch5:		xrandr-missingok.patch
a7325d2
8697319
%description
William Jon McCann 08ee654
A daemon to share settings from GNOME to other applications. It also
8697319
handles global keybindings, as well as a number of desktop-wide settings.
8697319
8697319
%package	devel
8697319
Summary:	Development files for %{name}
8697319
Group:		Development/Libraries
8697319
Requires:	%{name} = %{version}-%{release}
8697319
Requires:	pkgconfig
8697319
Requires:	dbus-glib-devel
8697319
8697319
%description	devel
8697319
The %{name}-devel package contains libraries and header files for
8697319
developing applications that use %{name}.
8697319
8697319
%prep
8697319
%setup -q
8697319
1d484ea
%patch2 -p1 -b .ignore-layout-if-using-evdev
00595c1
%patch5 -p1 -b .xrandr-missingok
a7325d2
8697319
%build
William Jon McCann 6c32b09
%configure --enable-static=no --enable-profiling
8697319
make %{?_smp_mflags}
8697319
8fd7d65
cd po
8fd7d65
# clean up .po files
8fd7d65
make %{name}.pot
8fd7d65
for p in *.po; do
8fd7d65
  msgmerge -U $p %{name}.pot
8fd7d65
done
8fd7d65
# regenerate .gmo files
8fd7d65
make
William Jon McCann 08ee654
cd ..
8697319
8697319
%install
8697319
rm -rf $RPM_BUILD_ROOT
8697319
make install DESTDIR=$RPM_BUILD_ROOT
8697319
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
8697319
8697319
%find_lang %{name} --with-gnome
8697319
8697319
%clean
8697319
rm -rf $RPM_BUILD_ROOT
8697319
8697319
%post
8697319
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
8697319
gconftool-2 --makefile-install-rule \
8697319
	%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
8697319
	%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
8697319
	%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
8697319
	%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
8697319
	>& /dev/null || :
8697319
8697319
%pre
8697319
if [ "$1" -gt 1 ]; then
8697319
	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
9642533
	if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then
9642533
		gconftool-2 --makefile-uninstall-rule \
9642533
			%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \
9642533
			>& /dev/null || :
9642533
	fi
8697319
	gconftool-2 --makefile-uninstall-rule \
8697319
		%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
8697319
		%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
8697319
		%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
8697319
		%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
8697319
		>& /dev/null || :
8697319
fi
8697319
8697319
%preun
8697319
if [ "$1" -eq 0 ]; then
8697319
	export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
9642533
	if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then
9642533
		gconftool-2 --makefile-uninstall-rule \
9642533
			%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \
9642533
			>& /dev/null || :
9642533
	fi
8697319
	gconftool-2 --makefile-uninstall-rule \
8697319
		%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
8697319
		%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
8697319
		%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
8697319
		%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
8697319
		>& /dev/null || :
8697319
fi
8697319
8697319
%files -f %{name}.lang
8697319
%defattr(-,root,root,-)
William Jon McCann 08ee654
%doc AUTHORS COPYING NEWS
8697319
%{_sysconfdir}/gconf/schemas/*
e7456ae
%{_libdir}/gnome-settings-daemon-2.0
8697319
%{_libexecdir}/gnome-settings-daemon
8697319
%{_datadir}/gnome-settings-daemon/
8697319
%{_datadir}/dbus-1/services/org.gnome.SettingsDaemon.service
579bc11
%{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop
8697319
8697319
%files devel
8697319
%defattr(-,root,root,-)
8697319
%{_includedir}/gnome-settings-daemon-2.0
8697319
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
8697319
8697319
%changelog
0e41c5d
* Thu Jul 24 2008 Soren Sandmann <sandmann@redhat.com> - 2.23.5-1
0e41c5d
- Update to 2.23.5
0e41c5d
b02256f
* Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4-1
b02256f
- Update to 2.23.4
b02256f
5f4a086
* Tue Jun 17 2008 Colin Walters <walters@redhat.com> - 2.23.3-2
5f4a086
- Add (now upstreamed) patch to legacy ESD preference; see
5f4a086
  http://bugzilla.gnome.org/show_bug.cgi?id=533198
5f4a086
  https://bugzilla.redhat.com/show_bug.cgi?id=430624
5f4a086
d50b9cc
* Wed Jun  4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3-1
d50b9cc
- Update to 2.23.3
d50b9cc
6fb0d99
* Wed May 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-0.2008.05.14.2
6fb0d99
- Fix BuildRequires
6fb0d99
William Jon McCann 696b8d2
* Wed May 14 2008 Jon McCann <jmccann@redhat.com> - 2.23.2-0.2008.05.14.1
William Jon McCann 696b8d2
- Build snapshot
William Jon McCann 696b8d2
f280d95
* Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1-5
f280d95
- Rebuild
f280d95
0edf42b
* Mon May  5 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1-4
0edf42b
- Pick up the keyboard layout from the login screen
0edf42b
fc6d323
* Mon May  5 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1-3
fc6d323
- Fix background drawing without nautilus
fc6d323
fc6d323
* Tue Apr 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.1.1-2
5a7ad8d
- Add patch from upstream to avoid the Stop button triggering an Eject (#346201)
5a7ad8d
9191d90
* Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1.1-1
9191d90
- Update to 2.23.1.1
9191d90
00595c1
* Tue Apr 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.1-2008.03.26.6
00595c1
- Make the xrandr plugin survive the absence of Xrandr
00595c1
e24287c
* Sat Apr 5 2008 - Soren Sandmann <sandmann@redhat.com> - 2.22.1-2008.03.26.5
e24287c
- Update randr plugin
e24287c
d067464
* Mon Mar 31 2008 - Ray Strode <rstrode@redhat.com> - 2.22.1-0.2008.03.26.4
d067464
- Over the releases we've accumulated default.png, default-wide.png default-5_4.png
d067464
  and default.jpg.  We haven't been able to drop them because it would leave some
d067464
  users with white backgrounds on upgrade.  This patch just falls back to the
d067464
  default image if the user's background doesn't exist.
d067464
c4f3522
* Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.1-0.2008.03.26.3
c4f3522
- Add patch for the mouse plugin not to eat multimedia key events (#438942)
c4f3522
William Jon McCann d19dc72
* Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.2
William Jon McCann d19dc72
- Rebuild
William Jon McCann d19dc72
William Jon McCann 6c32b09
* Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.1
William Jon McCann 6c32b09
- Update to snapshot
William Jon McCann 6c32b09
- Enable profiling
William Jon McCann 6c32b09
9642533
* Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.0-3
9642533
- apps_gnome_settings_daemon_default_editor.schemas is obsolete (#438937)
9642533
d5dd68c
* Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-2
d5dd68c
- Fix interaction between "Locate Pointer" and volume keys
d5dd68c
54d55a7
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
54d55a7
- Update to 2.22.0
54d55a7
1d484ea
* Sun Mar  9 2008 Ray Strode <rstrode@redhat.com> - 2.21.92-3
1d484ea
- Don't set keyboard model on startup from gconf if evdev is being used.
1d484ea
  Evdev needs to use its own keyboard model to work right.
1d484ea
2946d2f
* Sun Mar  2 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.92-2
2946d2f
- Update randr patch to handle video key
2946d2f
William Jon McCann 08ee654
* Fri Feb 29 2008 Jon McCann <jmccann@redhat.com> - 2.21.92-1
William Jon McCann 08ee654
- Update to 2.21.92
William Jon McCann 08ee654
a7325d2
* Tue Feb 12 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.91-3
a7325d2
- Add patch to make the xrandr plugin listen for client messages from
a7325d2
  the control panel and reread the configuration file.
a7325d2
8fd7d65
* Mon Feb 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.91-2
8fd7d65
- Remove obsolete control-center translations
8fd7d65
8eadaec
* Mon Feb 11 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.91-1
8eadaec
- Update to 2.21.91
8eadaec
- Remove obsolete patches
8eadaec
d82376b
* Thu Feb  7 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90.1-3
d82376b
- Load xkb settings initially
d82376b
8431422
* Thu Jan 31 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-2
8431422
- Fix the path for g-s-d, from upstream patch
8431422
108fcb0
* Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-1
108fcb0
- Update to 2.21.90.1
108fcb0
8b0adfd
* Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90-1
8b0adfd
- Update to 2.21.90
8b0adfd
8697319
* Tue Jan 15 2008  Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-2
8697319
- Incorporate review feedback (#428833)
8697319
8697319
* Tue Jan 15 2008  Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-1
8697319
- Update to 2.21.5.2
8697319
8697319
* Tue Jan 15 2008  Matthias Clasen <mclasen@redhat.com> - 2.21.5.1-1
8697319
- Update to 2.21.5.1
8697319
- Fix up BuildRequires
8697319
8697319
* Thu Dec 06 2007 - Bastien Nocera <bnocera@redhat.com> - 2.21.5-1
8697319
- First package
8697319