gnome-settings-daemon/gnome-settings-daemon.spec

424 lines
14 KiB
RPMSpec
Raw Normal View History

2008-01-17 18:38:42 +00:00
Name: gnome-settings-daemon
2008-12-18 18:00:04 +00:00
Version: 2.25.3
Release: 4%{?dist}
2008-01-17 18:38:42 +00:00
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons
License: GPLv2+
URL: http://ftp.gnome.org/pub/gnome/sources/%{name}
2008-11-13 03:29:33 +00:00
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.25/%{name}-%{version}.tar.bz2
2008-01-17 18:38:42 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(pre): GConf2 >= 2.14
Requires(preun): GConf2 >= 2.14
Requires(post): GConf2 >= 2.14
BuildRequires: dbus-glib-devel
2008-02-29 22:26:07 +00:00
BuildRequires: GConf2-devel
2008-01-17 18:38:42 +00:00
BuildRequires: gtk2-devel
BuildRequires: gnome-vfs2-devel
2008-09-04 04:02:11 +00:00
BuildRequires: gnome-desktop-devel >= 2.23.91-3
2008-01-17 18:38:42 +00:00
BuildRequires: libglade2-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgnome-devel
BuildRequires: xorg-x11-proto-devel
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
BuildRequires: pulseaudio-libs-devel
2008-01-17 18:38:42 +00:00
BuildRequires: libgnomekbd-devel
2008-08-28 18:30:17 +00:00
BuildRequires: libnotify-devel
2008-01-17 18:38:42 +00:00
BuildRequires: gettext
BuildRequires: perl(XML::Parser)
2008-08-23 02:50:27 +00:00
BuildRequires: autoconf, automake, libtool, intltool
BuildRequires: fontconfig-devel
2008-01-17 18:38:42 +00:00
2008-11-13 04:23:19 +00:00
# http://bugzilla.gnome.org/show_bug.cgi?id=545386
Patch6: gnome-settings-daemon-2.25.1-drop-sample-cache.patch
2008-09-19 13:25:20 +00:00
# http://bugzilla.gnome.org/show_bug.cgi?id=552857
Patch8: gnome-settings-daemon-2.25.2-fade.patch
2008-02-12 19:57:10 +00:00
# http://bugzilla.redhat.com/474758
Patch10: gnome-settings-daemon-2.24.0-catch-deviceadded.patch
# http://bugzilla.redhat.com/324721
2008-12-18 19:22:35 +00:00
#Patch11: gnome-settings-daemon-2.24.0-fix-touchpad.patch
2008-01-17 18:38:42 +00:00
%description
2008-02-29 22:26:07 +00:00
A daemon to share settings from GNOME to other applications. It also
2008-01-17 18:38:42 +00:00
handles global keybindings, as well as a number of desktop-wide settings.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: dbus-glib-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%patch6 -p1 -b .drop-sample-cache
%patch8 -p1 -b .fade
%patch10 -p1 -b .catch-deviceadded
2008-12-18 18:12:04 +00:00
# This one is buggy, stop using for now
#%patch11 -p1 -b .fix-touchpad
2008-02-12 19:57:10 +00:00
2008-01-17 18:38:42 +00:00
%build
aclocal
automake
2008-11-13 18:01:34 +00:00
libtoolize --force --copy
autoconf
%configure --enable-static=no --enable-profiling --disable-esd
2008-01-17 18:38:42 +00:00
make %{?_smp_mflags}
2008-10-15 05:11:15 +00:00
# strip unneeded translations from .mo files
# ideally intltool (ha!) would do that for us
# http://bugzilla.gnome.org/show_bug.cgi?id=474987
cd po
2008-10-15 05:11:15 +00:00
grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$\|.*[.]schemas[.]in$" POTFILES.in > POTFILES.keep
mv POTFILES.keep POTFILES.in
intltool-update --pot
for p in *.po; do
2008-10-15 05:11:15 +00:00
msgmerge $p %{name}.pot > $p.out
msgfmt -o `basename $p .po`.gmo $p.out
done
2008-10-15 05:11:15 +00:00
2008-01-17 18:38:42 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/libsound.so
rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-2.0/sound.gnome-settings-plugin
2008-01-17 18:38:42 +00:00
%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
>& /dev/null || :
touch %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
2008-01-17 18:38:42 +00:00
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \
>& /dev/null || :
fi
2008-01-17 18:38:42 +00:00
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
>& /dev/null || :
fi
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \
>& /dev/null || :
fi
2008-01-17 18:38:42 +00:00
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \
%{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \
%{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \
%{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \
>& /dev/null || :
fi
%postun
touch %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
2008-01-17 18:38:42 +00:00
%files -f %{name}.lang
%defattr(-,root,root,-)
2008-02-29 22:26:07 +00:00
%doc AUTHORS COPYING NEWS
2008-01-17 18:38:42 +00:00
%{_sysconfdir}/gconf/schemas/*
2008-02-12 00:23:59 +00:00
%{_libdir}/gnome-settings-daemon-2.0
2008-01-17 18:38:42 +00:00
%{_libexecdir}/gnome-settings-daemon
%{_datadir}/gnome-settings-daemon/
%{_datadir}/dbus-1/services/org.gnome.SettingsDaemon.service
2008-04-26 22:57:00 +00:00
%{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop
%{_datadir}/icons/hicolor/*/apps/gsd-xrandr.*
2008-01-17 18:38:42 +00:00
%files devel
%defattr(-,root,root,-)
%{_includedir}/gnome-settings-daemon-2.0
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
%changelog
* Mon Jan 19 2009 - Ray Strode <rstrode@redhat.com> - 2.25.3-4
- Update fade patch for new gnome-desktop release
2008-12-18 19:22:35 +00:00
* Thu Dec 18 2008 - Bastien Nocera <bnocera@redhat.com> - 2.25.3-3
- Rebuild
2008-12-18 18:12:04 +00:00
* Thu Dec 18 2008 - Ray Strode <rstrode@redhat.com> - 2.25.3-2
- Drop touchpad patch for now
2008-12-18 18:00:04 +00:00
* Thu Dec 18 2008 - Bastien Nocera <bnocera@redhat.com> - 2.25.3-1
- Update to 2.25.3
2008-12-18 16:56:53 +00:00
* Thu Dec 18 2008 - Bastien Nocera <bnocera@redhat.com> - 2.25.2-11
- Fix touchpad patches
2008-12-18 03:35:55 +00:00
* Wed Dec 17 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.2-10
- Rebuild against new gnome-desktop
* Wed Dec 10 2008 Ray Strode <rstrode@redhat.com> - 2.25.2-9
- Don't call SetPointerMapping when using Xinput since
it duplicates effort but gets touchpads wrong (bug 324721)
* Wed Dec 10 2008 Ray Strode <rstrode@redhat.com> - 2.25.2-8
- Shutdown cleanly when bus goes away (bug 445898 again)
* Wed Dec 10 2008 Ray Strode <rstrode@redhat.com> - 2.25.2-7
- Don't map touch pad tap to right-click for left-handed
users (bug 324721)
* Wed Dec 10 2008 Ray Strode <rstrode@redhat.com> - 2.25.2-6
- Listen for DeviceAdded signals when configuring mouse
(in addition to DeviceEnabled). This may help with
bug 474758.
* Tue Dec 9 2008 Ray Strode <rstrode@redhat.com> - 2.25.2-5
- Shutdown cleanly on TERM signal (bug 445898)
* Sun Dec 7 2008 Behdad Esfahbod <besfahbo@redhat.com> - 2.25.2-4
- Add gnome-settings-daemon-2.24.1-umask.patch
* Thu Dec 4 2008 Ray Strode <rstrode@redhat.com> - 2.25.2-2
- Rebase fade patch to apply with Behdad's updates to
g-s-d
2008-12-03 23:42:58 +00:00
* Wed Dec 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.2-1
- Ypdate to 2.25.2
2008-11-13 18:01:34 +00:00
* Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.1-4
2008-11-13 17:47:43 +00:00
- Rebuild
2008-11-13 04:23:19 +00:00
* Wed Nov 12 2008 Matthias Clasen <mclasen@redhat.com> - 2.25.1-2
2008-11-13 03:29:33 +00:00
- Update to 2.25.1
* Fri Oct 24 2008 Ray Strode <rstrode@redhat.com> - 2.24.0-14
- At fontconfig-devel buildrequires (bug 468304)
2008-10-15 05:11:15 +00:00
* Wed Oct 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-13
- Save some space
* Tue Oct 14 2008 Ray Strode <rstrode@redhat.com> - 2.24.0-12
- Hold off on settings-daemon fade if nautilus is going to do
it anyway.
2008-10-14 18:38:23 +00:00
* Tue Oct 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-11
- Show the shutdown dialog when the power button is pressed
2008-10-14 13:42:27 +00:00
* Tue Oct 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-9
2008-10-14 13:31:31 +00:00
- Drop a patch that is no longer needed with the evdev ruleset
in xkeyboard-config
2008-10-12 19:29:45 +00:00
* Sun Oct 12 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-7
- Try harder not to override peoples configured keyboard layouts
* Sun Oct 12 2008 Ray Strode <rstrode@redhat.com> - 2.24.0-6
- Update fade patch to skip crossfade when changing frames in
slideshow background.
2008-10-11 02:40:10 +00:00
* Fri Oct 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-5
2008-10-11 02:38:01 +00:00
- Fix the picking up of the gdm keyboard layout even more
2008-10-01 03:32:08 +00:00
* Tue Sep 30 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-3
- Fix the picking up of the gdm keyboard layout
* Wed Sep 28 2008 Ray Strode <rstrode@redhat.com> - 2.24.0-2
- Don't draw background twice at startup
2008-09-23 15:53:50 +00:00
* Tue Sep 23 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.0-1
- Update to 2.24.0
* Thu Sep 18 2008 Ray Strode <rstrode@redhat.com> - 2.23.92-3
- When switching desktop backgrounds fade between them
* Thu Sep 11 2008 Soren Sandmann <sandmann@redhat.com> - 2.23.92-2
2008-09-11 07:57:39 +00:00
- Fix various bugs in the fn-F7 support
2008-09-08 16:34:05 +00:00
* Mon Sep 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1
- Update to 2.23.92
* Fri Sep 5 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-5
- Try harder to use the keyboard layout that gdm tells us
2008-09-04 19:36:21 +00:00
* Tue Sep 04 2008 Soren Sandmann <sandmann@redhat.com> - 2.23.91-4
- Use the fn-F7 key, not the F7 key.
2008-09-04 03:47:24 +00:00
* Wed Sep 03 2008 Soren Sandmann <sandmann@redhat.com> - 2.23.91-3
- Bump gnome-desktop requirement
2008-09-04 03:39:34 +00:00
* Wed Sep 03 2008 Soren Sandmann <sandmann@redhat.com> - 2.23.91-2
- Add patch to do fn-f7 cycling
2008-09-01 14:53:45 +00:00
* Mon Sep 01 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.91-1
- Update to 2.23.91
2008-08-28 18:30:17 +00:00
* Thu Aug 28 2008 Jon McCann <jmccann@redhat.com> - 2.23.91-0.2008.08.28.2
- BuildRequires libnotify-devel
2008-08-28 13:34:23 +00:00
* Thu Aug 28 2008 Jon McCann <jmccann@redhat.com> - 2.23.91-0.2008.08.28.1
- Update to snapshot
2008-08-23 02:35:24 +00:00
* Fri Aug 22 2008 Matthias Clasen <mclasne@redhat.com> - 2.23.90-1
- Update to 2.23.90
* Thu Aug 14 2008 Lennart Poettering <lpoetter@redhat.com> - 2.23.6-3
- Rerun autotools after patching configure.ac
* Thu Aug 14 2008 Lennart Poettering <lpoetter@redhat.com> - 2.23.6-2
- Apply patch from gnome bug 545386. This hasn't been accepted in this form yet
by upstream, will however very likely be merged in a similar form.
- Disable esd/sounds module since we don't need it to start PA anymore
2008-08-05 04:20:07 +00:00
* Tue Aug 5 2008 Matthias Clasen <mclasne@redhat.com> - 2.23.6-1
- Update to 2.23.6
2008-07-25 17:47:11 +00:00
* Fri Jul 25 2008 Matthias Clasen <mclasne@redhat.com> - 2.23.5-3
- Use standard icon names in the volume OSD
* Fri Jul 25 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.5-2
- Fix build, call gtk-update-icon-cache as required
2008-07-24 20:03:39 +00:00
* Thu Jul 24 2008 Soren Sandmann <sandmann@redhat.com> - 2.23.5-1
- Update to 2.23.5
2008-06-18 17:39:41 +00:00
* Wed Jun 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.4-1
- Update to 2.23.4
* Tue Jun 17 2008 Colin Walters <walters@redhat.com> - 2.23.3-2
- Add (now upstreamed) patch to legacy ESD preference; see
http://bugzilla.gnome.org/show_bug.cgi?id=533198
https://bugzilla.redhat.com/show_bug.cgi?id=430624
2008-06-04 18:33:44 +00:00
* Wed Jun 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3-1
- Update to 2.23.3
2008-05-15 01:53:07 +00:00
* Wed May 14 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.2-0.2008.05.14.2
- Fix BuildRequires
2008-05-14 23:36:06 +00:00
* Wed May 14 2008 Jon McCann <jmccann@redhat.com> - 2.23.2-0.2008.05.14.1
- Build snapshot
2008-05-13 13:49:12 +00:00
* Tue May 13 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1-5
- Rebuild
* Mon May 5 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1-4
- Pick up the keyboard layout from the login screen
* Mon May 5 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1-3
- Fix background drawing without nautilus
* Tue Apr 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.1.1-2
- Add patch from upstream to avoid the Stop button triggering an Eject (#346201)
2008-04-25 19:56:45 +00:00
* Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1.1-1
- Update to 2.23.1.1
2008-04-22 17:54:20 +00:00
* Tue Apr 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.1-2008.03.26.6
- Make the xrandr plugin survive the absence of Xrandr
2008-04-05 16:49:35 +00:00
* Sat Apr 5 2008 - Soren Sandmann <sandmann@redhat.com> - 2.22.1-2008.03.26.5
- Update randr plugin
* Mon Mar 31 2008 - Ray Strode <rstrode@redhat.com> - 2.22.1-0.2008.03.26.4
- Over the releases we've accumulated default.png, default-wide.png default-5_4.png
and default.jpg. We haven't been able to drop them because it would leave some
users with white backgrounds on upgrade. This patch just falls back to the
default image if the user's background doesn't exist.
* Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.1-0.2008.03.26.3
- Add patch for the mouse plugin not to eat multimedia key events (#438942)
2008-03-26 15:50:20 +00:00
* Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.2
- Rebuild
* Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.1
- Update to snapshot
- Enable profiling
* Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.0-3
- apps_gnome_settings_daemon_default_editor.schemas is obsolete (#438937)
* Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-2
- Fix interaction between "Locate Pointer" and volume keys
2008-03-10 22:08:50 +00:00
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
- Update to 2.22.0
* Sun Mar 9 2008 Ray Strode <rstrode@redhat.com> - 2.21.92-3
- Don't set keyboard model on startup from gconf if evdev is being used.
Evdev needs to use its own keyboard model to work right.
2008-03-02 22:21:35 +00:00
* Sun Mar 2 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.92-2
- Update randr patch to handle video key
2008-02-29 22:26:07 +00:00
* Fri Feb 29 2008 Jon McCann <jmccann@redhat.com> - 2.21.92-1
- Update to 2.21.92
2008-02-12 19:57:10 +00:00
* Tue Feb 12 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.91-3
- Add patch to make the xrandr plugin listen for client messages from
the control panel and reread the configuration file.
* Mon Feb 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.91-2
- Remove obsolete control-center translations
* Mon Feb 11 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.91-1
- Update to 2.21.91
- Remove obsolete patches
2008-02-08 03:54:28 +00:00
* Thu Feb 7 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90.1-3
- Load xkb settings initially
* Thu Jan 31 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-2
- Fix the path for g-s-d, from upstream patch
2008-01-29 17:41:38 +00:00
* Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-1
- Update to 2.21.90.1
2008-01-29 15:05:43 +00:00
* Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90-1
- Update to 2.21.90
2008-01-17 18:38:42 +00:00
* Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-2
- Incorporate review feedback (#428833)
* Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-1
- Update to 2.21.5.2
* Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.1-1
- Update to 2.21.5.1
- Fix up BuildRequires
* Thu Dec 06 2007 - Bastien Nocera <bnocera@redhat.com> - 2.21.5-1
- First package