[521] | 1 | Summary: The daemon sharing settings from GNOME to GTK+/KDE applications |
---|
| 2 | Summary(ja): GNOME から GTK+/KDE のアプリケーションで設定を共有するためのデーモン |
---|
| 3 | |
---|
| 4 | Name: gnome-settings-daemon |
---|
[2219] | 5 | Version: 2.32.1 |
---|
[2041] | 6 | Release: 1%{?_dist_release} |
---|
[521] | 7 | |
---|
| 8 | Group: System Environment/Daemons |
---|
| 9 | License: GPLv2+ |
---|
| 10 | URL: http://ftp.gnome.org/pub/gnome/sources/%{name} |
---|
[2041] | 11 | Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.32/%{name}-%{version}.tar.bz2 |
---|
[521] | 12 | |
---|
| 13 | # from fedora |
---|
| 14 | # https://bugzilla.gnome.org/show_bug.cgi?id=596136 |
---|
| 15 | Patch0: 0002-Use-a-rounded-instead-of-curved-rectangle.patch |
---|
| 16 | Patch1: 0003-Improve-the-media-keys-overlay-design.patch |
---|
| 17 | # https://bugzilla.gnome.org/show_bug.cgi?id=567249 |
---|
| 18 | Patch4: 0001-Fix-bluriness-in-level-bar-and-popup.patch |
---|
| 19 | |
---|
| 20 | # https://bugzilla.redhat.com/show_bug.cgi?id=498249 |
---|
| 21 | Patch2: left-handed-touchpad.patch |
---|
| 22 | |
---|
| 23 | # change font rendering |
---|
| 24 | Patch3: slight-hinting.patch |
---|
| 25 | |
---|
| 26 | # vine |
---|
| 27 | Patch100: gnome-settings-daemon-2.28.1-default-font-setting.patch |
---|
| 28 | |
---|
| 29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 30 | |
---|
| 31 | Requires(pre): GConf2 >= 2.14 |
---|
| 32 | Requires(preun): GConf2 >= 2.14 |
---|
| 33 | Requires(post): GConf2 >= 2.14 |
---|
| 34 | |
---|
| 35 | BuildRequires: dbus-glib-devel |
---|
| 36 | BuildRequires: GConf2-devel |
---|
| 37 | BuildRequires: gtk2-devel |
---|
[2041] | 38 | BuildRequires: gnome-desktop-devel >= 2.32.0 |
---|
[521] | 39 | BuildRequires: libgnome-devel |
---|
| 40 | BuildRequires: xorg-x11-proto-devel |
---|
| 41 | BuildRequires: libXrandr-devel |
---|
| 42 | BuildRequires: fontconfig-devel |
---|
| 43 | BuildRequires: gstreamer-devel |
---|
| 44 | BuildRequires: gstreamer-plugins-base-devel |
---|
| 45 | BuildRequires: pulseaudio-libs-devel |
---|
[2041] | 46 | BuildRequires: libgnomekbd-devel >= 2.32.0 |
---|
[805] | 47 | BuildRequires: libxklavier-devel >= 5.0 |
---|
[521] | 48 | BuildRequires: libnotify-devel >= 0.4.3 |
---|
| 49 | BuildRequires: gettext |
---|
| 50 | BuildRequires: perl-XML-Parser |
---|
[805] | 51 | BuildRequires: libSM-devel |
---|
[521] | 52 | |
---|
| 53 | %description |
---|
| 54 | A daemon to share settings from GNOME to other applications. It also |
---|
| 55 | handles global keybindings, as well as a number of desktop-wide settings. |
---|
| 56 | |
---|
| 57 | %package devel |
---|
| 58 | Summary: Development files for %{name} |
---|
| 59 | Group: Development/Libraries |
---|
| 60 | Requires: %{name} = %{version}-%{release} |
---|
| 61 | Requires: pkgconfig |
---|
| 62 | Requires: dbus-glib-devel |
---|
| 63 | |
---|
| 64 | %description devel |
---|
| 65 | The %{name}-devel package contains libraries and header files for |
---|
| 66 | developing applications that use %{name}. |
---|
| 67 | |
---|
| 68 | %prep |
---|
| 69 | %setup -q |
---|
[623] | 70 | ## %patch4 -p1 -b .blurry |
---|
[805] | 71 | ## %patch0 -p1 -b .osd-rounded-rectangle |
---|
| 72 | ## %patch1 -p1 -b .osd-visual-refresh |
---|
[623] | 73 | ## %patch2 -p1 -b .left-handed-touchpad |
---|
[521] | 74 | %patch3 -p1 -b .slight-hinting |
---|
| 75 | |
---|
| 76 | %patch100 -p1 -b .defaults |
---|
| 77 | |
---|
| 78 | %build |
---|
| 79 | %configure --enable-static=no --enable-profiling --disable-esd |
---|
| 80 | make %{?_smp_mflags} |
---|
| 81 | |
---|
| 82 | # strip unneeded translations from .mo files |
---|
| 83 | # ideally intltool (ha!) would do that for us |
---|
| 84 | # http://bugzilla.gnome.org/show_bug.cgi?id=474987 |
---|
| 85 | cd po |
---|
| 86 | grep -v ".*[.]desktop[.]in[.]in$\|.*[.]server[.]in[.]in$" POTFILES.in > POTFILES.keep |
---|
| 87 | mv POTFILES.keep POTFILES.in |
---|
| 88 | intltool-update --pot |
---|
| 89 | for p in *.po; do |
---|
| 90 | msgmerge $p %{name}.pot > $p.out |
---|
| 91 | msgfmt -o `basename $p .po`.gmo $p.out |
---|
| 92 | done |
---|
| 93 | |
---|
| 94 | %install |
---|
| 95 | rm -rf $RPM_BUILD_ROOT |
---|
| 96 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 97 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 98 | |
---|
| 99 | %find_lang %{name} --with-gnome |
---|
| 100 | |
---|
| 101 | %clean |
---|
| 102 | rm -rf $RPM_BUILD_ROOT |
---|
| 103 | |
---|
| 104 | %post |
---|
| 105 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 106 | gconftool-2 --makefile-install-rule \ |
---|
| 107 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \ |
---|
| 108 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \ |
---|
| 109 | %{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \ |
---|
| 110 | %{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \ |
---|
| 111 | %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_touchpad.schemas \ |
---|
| 112 | >& /dev/null || : |
---|
| 113 | touch %{_datadir}/icons/hicolor |
---|
| 114 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 115 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 116 | fi |
---|
| 117 | |
---|
| 118 | %pre |
---|
| 119 | if [ "$1" -gt 1 ]; then |
---|
| 120 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 121 | if [ -f %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_touchpad.schemas ] ; then |
---|
| 122 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 123 | %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_touchpad.schemas \ |
---|
| 124 | >& /dev/null || : |
---|
| 125 | fi |
---|
| 126 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 127 | if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then |
---|
| 128 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 129 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \ |
---|
| 130 | >& /dev/null || : |
---|
| 131 | fi |
---|
| 132 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 133 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \ |
---|
| 134 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \ |
---|
| 135 | %{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \ |
---|
| 136 | %{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \ |
---|
| 137 | >& /dev/null || : |
---|
| 138 | fi |
---|
| 139 | |
---|
| 140 | %preun |
---|
| 141 | if [ "$1" -eq 0 ]; then |
---|
| 142 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 143 | if [ -f %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_touchpad.schemas ] ; then |
---|
| 144 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 145 | %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_touchpad.schemas \ |
---|
| 146 | >& /dev/null || : |
---|
| 147 | fi |
---|
| 148 | if [ -f %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas ] ; then |
---|
| 149 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 150 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_default_editor.schemas \ |
---|
| 151 | >& /dev/null || : |
---|
| 152 | fi |
---|
| 153 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 154 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_keybindings.schemas \ |
---|
| 155 | %{_sysconfdir}/gconf/schemas/apps_gnome_settings_daemon_screensaver.schemas \ |
---|
| 156 | %{_sysconfdir}/gconf/schemas/desktop_gnome_font_rendering.schemas \ |
---|
| 157 | %{_sysconfdir}/gconf/schemas/gnome-settings-daemon.schemas \ |
---|
| 158 | >& /dev/null || : |
---|
| 159 | fi |
---|
| 160 | |
---|
| 161 | %postun |
---|
| 162 | touch %{_datadir}/icons/hicolor |
---|
| 163 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 164 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 165 | fi |
---|
| 166 | |
---|
| 167 | %files -f %{name}.lang |
---|
| 168 | %defattr(-,root,root,-) |
---|
| 169 | %doc AUTHORS COPYING NEWS |
---|
| 170 | %{_sysconfdir}/gconf/schemas/* |
---|
| 171 | %{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop |
---|
| 172 | %{_libdir}/gnome-settings-daemon-2.0 |
---|
| 173 | %{_libexecdir}/gnome-settings-daemon |
---|
| 174 | %{_libexecdir}/gsd-locate-pointer |
---|
| 175 | %{_datadir}/gnome-settings-daemon/ |
---|
| 176 | %{_datadir}/dbus-1/services/org.gnome.SettingsDaemon.service |
---|
| 177 | %{_datadir}/icons/hicolor/*/apps/gsd-xrandr.* |
---|
[805] | 178 | %{_datadir}/icons/hicolor/*/actions/touchpad* |
---|
[521] | 179 | %{_datadir}/gnome-control-center/keybindings/*.xml |
---|
| 180 | |
---|
| 181 | %files devel |
---|
| 182 | %defattr(-,root,root,-) |
---|
| 183 | %{_includedir}/gnome-settings-daemon-2.0 |
---|
| 184 | %{_libdir}/pkgconfig/gnome-settings-daemon.pc |
---|
| 185 | |
---|
| 186 | %changelog |
---|
[2219] | 187 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1 |
---|
| 188 | - new upstream release |
---|
| 189 | |
---|
[2041] | 190 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
[1897] | 193 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
| 194 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 195 | |
---|
[1251] | 196 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 197 | - new upstream release |
---|
| 198 | |
---|
[926] | 199 | * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 200 | - new upstream release |
---|
| 201 | |
---|
[805] | 202 | * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 203 | - new upstream release |
---|
| 204 | - add BuildRequires: libSM-devel |
---|
| 205 | - drop Patch0, Patch1 |
---|
| 206 | |
---|
[623] | 207 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
| 208 | - new upstream release |
---|
| 209 | - drop Patch2, Patch4 |
---|
| 210 | |
---|
[521] | 211 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1 |
---|
| 212 | - new upstream release |
---|
| 213 | - updated Patch100 |
---|
| 214 | |
---|
| 215 | * Sat Jun 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-2 |
---|
| 216 | - import patches from fedora |
---|
| 217 | - Patch10: listen for DeviceAdded |
---|
| 218 | - Patch11,12: add support touchpads |
---|
| 219 | - Patch13: Make custom keybindings work better |
---|
| 220 | - Patch14: Don't rely on _BACKUP property for xkb initialization |
---|
| 221 | |
---|
| 222 | * Wed Apr 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.1-1 |
---|
| 223 | - new upstream release |
---|
| 224 | |
---|
| 225 | * Sun Mar 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3 |
---|
| 226 | - update Patch10 |
---|
| 227 | - change hinting type to "none" instead of "medium" |
---|
| 228 | |
---|
| 229 | * Wed Mar 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2 |
---|
| 230 | - add Patch10 to set default dpi |
---|
| 231 | |
---|
| 232 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 233 | - new upstream release |
---|
| 234 | |
---|
| 235 | * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1 |
---|
| 236 | - new upstream release |
---|
| 237 | |
---|
| 238 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 239 | - new upstream release |
---|
| 240 | |
---|
| 241 | * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.2.1-2 |
---|
| 242 | - build with pulseaudio |
---|
| 243 | - add patch6 to ignore the legacy ESD GConf preference if compiled |
---|
| 244 | to use Pulseaudio |
---|
| 245 | |
---|
| 246 | * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.22.2.1-1 |
---|
| 247 | - new upstream release |
---|
| 248 | |
---|
| 249 | * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.22.1-1vl5 |
---|
| 250 | - new upstream release |
---|
| 251 | |
---|
| 252 | * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.22.0-1vl5 |
---|
| 253 | - Initial build for Vine Linux |
---|
| 254 | |
---|
| 255 | * Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.1-0.2008.03.26.3 |
---|
| 256 | - Add patch for the mouse plugin not to eat multimedia key events (#438942) |
---|
| 257 | |
---|
| 258 | * Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.2 |
---|
| 259 | - Rebuild |
---|
| 260 | |
---|
| 261 | * Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.1 |
---|
| 262 | - Update to snapshot |
---|
| 263 | - Enable profiling |
---|
| 264 | |
---|
| 265 | * Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.0-3 |
---|
| 266 | - apps_gnome_settings_daemon_default_editor.schemas is obsolete (#438937) |
---|
| 267 | |
---|
| 268 | * Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-2 |
---|
| 269 | - Fix interaction between "Locate Pointer" and volume keys |
---|
| 270 | |
---|
| 271 | * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1 |
---|
| 272 | - Update to 2.22.0 |
---|
| 273 | |
---|
| 274 | * Sun Mar 9 2008 Ray Strode <rstrode@redhat.com> - 2.21.92-3 |
---|
| 275 | - Don't set keyboard model on startup from gconf if evdev is being used. |
---|
| 276 | Evdev needs to use its own keyboard model to work right. |
---|
| 277 | |
---|
| 278 | * Sun Mar 2 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.92-2 |
---|
| 279 | - Update randr patch to handle video key |
---|
| 280 | |
---|
| 281 | * Fri Feb 29 2008 Jon McCann <jmccann@redhat.com> - 2.21.92-1 |
---|
| 282 | - Update to 2.21.92 |
---|
| 283 | |
---|
| 284 | * Tue Feb 12 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.91-3 |
---|
| 285 | - Add patch to make the xrandr plugin listen for client messages from |
---|
| 286 | the control panel and reread the configuration file. |
---|
| 287 | |
---|
| 288 | * Mon Feb 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.91-2 |
---|
| 289 | - Remove obsolete control-center translations |
---|
| 290 | |
---|
| 291 | * Mon Feb 11 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.91-1 |
---|
| 292 | - Update to 2.21.91 |
---|
| 293 | - Remove obsolete patches |
---|
| 294 | |
---|
| 295 | * Thu Feb 7 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90.1-3 |
---|
| 296 | - Load xkb settings initially |
---|
| 297 | |
---|
| 298 | * Thu Jan 31 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-2 |
---|
| 299 | - Fix the path for g-s-d, from upstream patch |
---|
| 300 | |
---|
| 301 | * Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-1 |
---|
| 302 | - Update to 2.21.90.1 |
---|
| 303 | |
---|
| 304 | * Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90-1 |
---|
| 305 | - Update to 2.21.90 |
---|
| 306 | |
---|
| 307 | * Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-2 |
---|
| 308 | - Incorporate review feedback (#428833) |
---|
| 309 | |
---|
| 310 | * Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-1 |
---|
| 311 | - Update to 2.21.5.2 |
---|
| 312 | |
---|
| 313 | * Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.1-1 |
---|
| 314 | - Update to 2.21.5.1 |
---|
| 315 | - Fix up BuildRequires |
---|
| 316 | |
---|
| 317 | * Thu Dec 06 2007 - Bastien Nocera <bnocera@redhat.com> - 2.21.5-1 |
---|
| 318 | - First package |
---|
| 319 | |
---|