gnome-settings-daemon-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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.30.2
  5. Release: 2%{?_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.26/%{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.30.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.30.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 Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  162. - rebuild with rpm-4.8.1 for pkg-config file
  163. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  164. - new upstream release
  165. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  166. - new upstream release
  167. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  168. - new upstream release
  169. - add BuildRequires: libSM-devel
  170. - drop Patch0, Patch1
  171. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  172. - new upstream release
  173. - drop Patch2, Patch4
  174. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  175. - new upstream release
  176. - updated Patch100
  177. * Sat Jun 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-2
  178. - import patches from fedora
  179. - Patch10: listen for DeviceAdded
  180. - Patch11,12: add support touchpads
  181. - Patch13: Make custom keybindings work better
  182. - Patch14: Don't rely on _BACKUP property for xkb initialization
  183. * Wed Apr 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.1-1
  184. - new upstream release
  185. * Sun Mar 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
  186. - update Patch10
  187. - change hinting type to "none" instead of "medium"
  188. * Wed Mar 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
  189. - add Patch10 to set default dpi
  190. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  191. - new upstream release
  192. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  193. - new upstream release
  194. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  195. - new upstream release
  196. * Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.2.1-2
  197. - build with pulseaudio
  198. - add patch6 to ignore the legacy ESD GConf preference if compiled
  199. to use Pulseaudio
  200. * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.22.2.1-1
  201. - new upstream release
  202. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.22.1-1vl5
  203. - new upstream release
  204. * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.22.0-1vl5
  205. - Initial build for Vine Linux
  206. * Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.1-0.2008.03.26.3
  207. - Add patch for the mouse plugin not to eat multimedia key events (#438942)
  208. * Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.2
  209. - Rebuild
  210. * Wed Mar 26 2008 Jon McCann <jmccann@redhat.com> - 2.22.1-0.2008.03.26.1
  211. - Update to snapshot
  212. - Enable profiling
  213. * Wed Mar 26 2008 - Bastien Nocera <bnocera@redhat.com> - 2.22.0-3
  214. - apps_gnome_settings_daemon_default_editor.schemas is obsolete (#438937)
  215. * Thu Mar 20 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-2
  216. - Fix interaction between "Locate Pointer" and volume keys
  217. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
  218. - Update to 2.22.0
  219. * Sun Mar 9 2008 Ray Strode <rstrode@redhat.com> - 2.21.92-3
  220. - Don't set keyboard model on startup from gconf if evdev is being used.
  221. Evdev needs to use its own keyboard model to work right.
  222. * Sun Mar 2 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.92-2
  223. - Update randr patch to handle video key
  224. * Fri Feb 29 2008 Jon McCann <jmccann@redhat.com> - 2.21.92-1
  225. - Update to 2.21.92
  226. * Tue Feb 12 2008 Soren Sandmann <sandmann@redhat.com> - 2.21.91-3
  227. - Add patch to make the xrandr plugin listen for client messages from
  228. the control panel and reread the configuration file.
  229. * Mon Feb 11 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.91-2
  230. - Remove obsolete control-center translations
  231. * Mon Feb 11 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.91-1
  232. - Update to 2.21.91
  233. - Remove obsolete patches
  234. * Thu Feb 7 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.90.1-3
  235. - Load xkb settings initially
  236. * Thu Jan 31 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-2
  237. - Fix the path for g-s-d, from upstream patch
  238. * Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90.1-1
  239. - Update to 2.21.90.1
  240. * Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 2.21.90-1
  241. - Update to 2.21.90
  242. * Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-2
  243. - Incorporate review feedback (#428833)
  244. * Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.2-1
  245. - Update to 2.21.5.2
  246. * Tue Jan 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.21.5.1-1
  247. - Update to 2.21.5.1
  248. - Fix up BuildRequires
  249. * Thu Dec 06 2007 - Bastien Nocera <bnocera@redhat.com> - 2.21.5-1
  250. - First package