gnome-settings-daemon-vl.spec 11 KB

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