metacity-vl.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. %define gettext_package metacity
  2. Summary: Metacity window manager
  3. Summary(ja): Metacity ウインドウマネージャ
  4. Name: metacity
  5. Version: 2.34.3
  6. Release: 1%{?_dist_release}
  7. URL: http://ftp.gnome.org/pub/gnome/sources/metacity/
  8. License: GPL
  9. Group: User Interface/Desktops
  10. Source0: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.34/%{name}-%{version}.tar.xz
  11. Source10: metacity-theme-vine-6.tar.bz2
  12. # update ja.po from git
  13. # http://git.gnome.org/browse/metacity/commit/?id=8c407025fb3c83262c17bbb28fe175a416fb29ab
  14. Source20: metacity-2.34.0-ja.po
  15. # change default theme to Vine
  16. Patch0: metacity-2.34.0-default-theme.patch
  17. # ctrl-alt-del call logout session
  18. Patch1: metacity-2.26.0-ctrlaltdel.patch
  19. # change default number of workspace
  20. # Patch2: metacity-2.26.0-num_workspace.patch
  21. # http://bugzilla.gnome.org/show_bug.cgi?id=558723
  22. Patch4: stop-spamming-xsession-errors.patch
  23. # enable compositing_manager
  24. Patch10: metacity-2.30.3-enable-compositing-manager.patch
  25. # change deafult (revert to 2.30 default)
  26. Patch11: metacity-2.34.0-revert-default-setting.patch
  27. # revert patch to work with compiz
  28. # http://git.gnome.org/browse/metacity/commit/?id=6a52883c2b670ad645257373515d1e704408b93d
  29. Patch20: metacity-2.34.0-revert-6a5288.patch
  30. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  31. BuildRequires: gtk2-devel >= 2.20
  32. BuildRequires: pango-devel >= 1.28.0
  33. BuildRequires: desktop-file-utils >= 0.3
  34. BuildRequires: intltool >= 0.22
  35. BuildRequires: startup-notification-devel >= 0.7
  36. BuildRequires: libtool, automake, autoconf
  37. BuildRequires: xorg-x11-proto-devel
  38. BuildRequires: libSM-devel, libICE-devel, libX11-devel
  39. BuildRequires: libXext-devel, libXinerama-devel, libXrandr-devel
  40. BuildRequires: libXcursor-devel, libXrender-devel
  41. BuildRequires: libXcomposite-devel, libXdamage-devel
  42. BuildRequires: zenity
  43. BuildRequires: libcanberra-devel
  44. BuildRequires: libgtop2-devel
  45. BuildRequires: gsettings-desktop-schemas-devel >= 3.3.0
  46. BuildRequires: gnome-doc-utils
  47. Vendor: Project Vine
  48. Distribution: Vine Linux
  49. Packager: daisuke
  50. %description
  51. Metacity is a simple window manager that integrates nicely with
  52. the GNOME desktop.
  53. %package devel
  54. Summary: Development files for metacity
  55. Group: Development/Libraries
  56. Requires: gtk2-devel, libX11-devel
  57. Requires: pkgconfig
  58. Requires: %{name} = %{version}-%{release}
  59. %description devel
  60. This package contains the files needed for compiling programs using
  61. the metacity-private library. Note that you are not supposed to write
  62. programs using the metacity-private library, since it is a private
  63. API. This package exists purely for technical reasons.
  64. %prep
  65. %setup -q
  66. # %patch0 -p1 -b .default-theme
  67. # %patch1 -p1 -b .ctrlaltdel
  68. # patch2 -p1 -b .num_workspace
  69. %patch4 -p1 -b .stop-spamming-xsession-errors
  70. # %patch10 -p1 -b .enable-compositing-manager
  71. # %patch11 -p1 -b .revert-default-settings
  72. %patch20 -p1 -b .revert-6a5288
  73. cp -a %{SOURCE20} po/ja.po
  74. %build
  75. intltoolize --copy --force
  76. libtoolize --copy --force
  77. autoreconf
  78. %configure
  79. %__make %{?_smp_mflags} INTLTOOL_MERGE=/usr/bin/intltool-merge
  80. %install
  81. rm -rf $RPM_BUILD_ROOT
  82. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  83. make install DESTDIR=$RPM_BUILD_ROOT
  84. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  85. /bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  86. /bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  87. # install Vine Theme (default theme)
  88. tar xzvf %{SOURCE10} -C $RPM_BUILD_ROOT%{_datadir}/themes
  89. %find_lang %{gettext_package}
  90. %clean
  91. rm -rf $RPM_BUILD_ROOT
  92. %postun
  93. if [ $1 -eq 0 ]; then
  94. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  95. fi
  96. %posttrans
  97. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  98. %files -f %{gettext_package}.lang
  99. %defattr(-,root,root)
  100. %doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt doc/metacity-theme.dtd
  101. %{_bindir}/metacity
  102. %{_bindir}/metacity-message
  103. #{_libexecdir}/*
  104. %{_datadir}/metacity
  105. %{_datadir}/themes
  106. %{_libdir}/lib*.so.*
  107. %{_mandir}/man1/metacity.1.gz
  108. %{_mandir}/man1/metacity-message.1.gz
  109. %{_datadir}/GConf/gsettings/metacity-schemas.convert
  110. %{_datadir}/glib-2.0/schemas/org.gnome.metacity.gschema.xml
  111. %{_datadir}/gnome-control-center/keybindings/*
  112. %{_datadir}/applications/metacity.desktop
  113. %{_datadir}/gnome/wm-properties/metacity-wm.desktop
  114. %{_datadir}/gnome/help/creating-metacity-themes
  115. %files devel
  116. %defattr(-,root,root)
  117. %{_bindir}/metacity-theme-viewer
  118. %{_bindir}/metacity-window-demo
  119. %{_includedir}/*
  120. %{_libdir}/lib*.so
  121. %{_libdir}/pkgconfig/*
  122. %{_mandir}/man1/metacity-theme-viewer.1.gz
  123. %{_mandir}/man1/metacity-window-demo.1.gz
  124. %changelog
  125. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.3-1
  126. - new upstream release
  127. - drop Patch0,1,10,11
  128. - remove BuildRequires: GConf2-devel
  129. - remove Requires: GConf2
  130. - BuildRequires: gsettings-desktop-schemas-devel
  131. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.34.1-1
  132. - new upstream release
  133. * Tue Aug 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-5
  134. - fix Vine theme to use fixed size window buttons.
  135. - some fonts breaks window title design..
  136. * Wed Jun 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-4
  137. - update metacity theme
  138. * Sun Jun 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-3
  139. - add patch20 (revert patch)
  140. - this commit breaks compiz window decoration.
  141. * Sun Jun 12 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-2
  142. - update ja.po from git
  143. * Sat Jun 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.34.0-1
  144. - update to 2.34.0
  145. - add patch11 to revert default settings
  146. - default title font to Sans Bold 10
  147. - add icon menu on titlebar
  148. - disable patch2 to change workspace num to 4 (factory default).
  149. * Sat Jun 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.3-3
  150. - update metacity theme
  151. * Wed Jun 01 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.3-2
  152. - update metacity theme
  153. - drop old old theme
  154. - add patch10 to enable compositing_manager by default
  155. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  156. - new upstream release
  157. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-2
  158. - rebuild with rpm-4.8.1 for pkg-config file
  159. - add BuildRequires: gnome-doc-utils
  160. * Fri Apr 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-1
  161. - updated metacity to 2.30.1
  162. - fixed crash when right-clicking on window frame
  163. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  164. - new upstream release
  165. * Mon Nov 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.28.0-2
  166. - add BR: libgtop2-devel
  167. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  168. - new upstream release
  169. - dropped Patch5, 6 and 7 (merged into upstream)
  170. - removed BR: libglade2-devel
  171. * Thu Apr 30 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-4
  172. - added BuildRequires: zenity, libcanberra-devel
  173. * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-3
  174. - Patch4: don't spam .xsession-errors so hard
  175. - Patch5: use libcanberra to play the alert sound
  176. - Patch6: don't force bell
  177. - Patch7: fix interaction with autohide panels
  178. * Wed Mar 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
  179. - update Patch0,1,2
  180. - apply patches to ".in.in" insread of ".in"
  181. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  182. - new upstream release
  183. - split development file to -devel subpackage
  184. - remove static libs
  185. * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  186. - new upstream release
  187. * Fri May 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.0-2
  188. - rebuild to fix strange color problem.
  189. * Tue Mar 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  190. - new upstream release
  191. * Wed Dec 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1-0vl1
  192. - new upstream release
  193. - added Requires(post): GConf2
  194. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl1
  195. - new upstream release
  196. * Thu Jul 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.13-0vl1
  197. - new upstream release
  198. * Mon Jun 05 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.5-0vl1
  199. - new upstream release
  200. * Sun Apr 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
  201. - new upstream release
  202. - remove Patch20 which is merged in upstream
  203. - include ClearVine theme as default theme.
  204. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  205. - new upstream release
  206. * Fri Apr 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl2
  207. - add Patch20 to make configurable new window focus (bug 326159)
  208. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  209. - new upstream release
  210. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.144-0vl1
  211. - new upstream release
  212. * Wed Nov 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.2-0vl1
  213. - new upstream release
  214. * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  215. - new upstream release
  216. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  217. - new upstream release
  218. * Sun Aug 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.2-0vl1
  219. - new upstream release
  220. * Fri Aug 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
  221. - new upstream release
  222. * Sun Jul 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.3-0vl1
  223. - new upstream release
  224. * Sun Mar 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  225. - new upstream version
  226. - include Vine metacity theme as default theme.
  227. - update Patch0 to change deafult theme.
  228. * Wed Nov 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl2
  229. - update NeoVine metacity theme.
  230. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl1
  231. - new upstream release
  232. * Wed Nov 03 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.5-0vl1
  233. - new upstream release
  234. * Sun Jun 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  235. - new upstream release
  236. - add BuildRequires: libtoo,automake14, autoconf
  237. * Wed Dec 24 2003 Tomoya TAKA <taka@vinelinux.org> 2.6.3-0vl1
  238. - new upstream release
  239. - build with new toolchain
  240. * Sat Oct 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1
  241. - new upstream release
  242. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
  243. - new upstream release
  244. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-0vl2
  245. - fixed missing locale files
  246. * Wed Sep 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.0-0vl1
  247. - new upstream release
  248. * Mon Sep 08 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl2
  249. - add patch10 to increase workspaces (4->6).
  250. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.5-0vl1
  251. - new upstream release
  252. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.3-0vl1
  253. - new upstream release
  254. * Mon Jun 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.2-0vl2
  255. - update ja.po
  256. - update NeoVine theme
  257. * Sat May 31 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.2-0vl1
  258. - new upstream release
  259. * Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.34-0vl1
  260. - fixed typo
  261. - NeoVine Metatheme moved to gnome-themes package.
  262. * Sat Feb 15 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.34-0vl1
  263. - new upstream release
  264. - add patch2 from rawhide.
  265. - drop patch1, merged in upstream.
  266. * Fri Jan 31 2003 Tomoya TAKA <taka@vinelinux.org> 2.4.21-0vl2
  267. - add Patch1 to fix hang on all 64-bit platforms
  268. * Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.21-0vl1
  269. - new upstream release
  270. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl3
  271. - update NeoVine metatheme (use gnome default icons)
  272. * Sun Jan 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl2
  273. - update neovine theme
  274. * Sat Jan 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.13-0vl1
  275. - new upstream release
  276. * Sat Dec 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl6
  277. - drop patch0 to use system fonts.
  278. * Sat Dec 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl6
  279. - update ja.po
  280. * Fri Dec 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl5
  281. - fixed NeoVine theme
  282. * Wed Dec 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl4
  283. - add NeoVine theme ported from sawfish.
  284. - use neoVine as default theme. (Patch0)
  285. * Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl3
  286. - change URL
  287. - add BuildRequires
  288. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl2
  289. - add include files
  290. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.8-0vl1
  291. - build for Vine Linux
  292. - new upstream release from gnome-2.1.4
  293. * Tue Oct 29 2002 Havoc Pennington <hp@redhat.com>
  294. - 2.4.3
  295. - remove patches that have gone upstream
  296. * Tue Aug 27 2002 Havoc Pennington <hp@redhat.com>
  297. - fix shaded window decorations in Bluecurve theme
  298. * Sat Aug 24 2002 Havoc Pennington <hp@redhat.com>
  299. - fix the mplayer-disappears-on-de-fullscreen bug
  300. * Sat Aug 24 2002 Havoc Pennington <hp@redhat.com>
  301. - add some fixes from CVS for #71163 #72379 #72478 #72513
  302. * Thu Aug 22 2002 Havoc Pennington <hp@redhat.com>
  303. - patch .schemas.in instead of .schemas so we get right default theme/fonts
  304. * Tue Aug 20 2002 Havoc Pennington <hp@redhat.com>
  305. - grow size of top resize, and display proper cursor on enter notify
  306. - require latest intltool to try and fix metacity.schemas by
  307. regenerating it in non-UTF-8 locale
  308. * Thu Aug 15 2002 Havoc Pennington <hp@redhat.com>
  309. - default to Sans Bold font, fixes #70920 and matches graphic design spec
  310. * Thu Aug 15 2002 Havoc Pennington <hp@redhat.com>
  311. - 2.4.0.91 with raise/lower keybindings for msf, fixes to fullscreen
  312. - more apps that probably intend to be, fix for changing number of
  313. workspaces, fix for moving windows in multihead
  314. * Tue Aug 13 2002 Havoc Pennington <hp@redhat.com>
  315. - update build requires
  316. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  317. - upgrade to cvs snap 2.4.0.90 with pile of bugfixes from
  318. this weekend
  319. - change default theme to bluecurve and require new redhat-artwork
  320. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  321. - 2.4.0
  322. - themes are moved, require appropriate redhat-artwork
  323. * Thu Aug 1 2002 Havoc Pennington <hp@redhat.com>
  324. - munge the desktop file to be in toplevel menus and
  325. not show in KDE
  326. * Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
  327. - don't use system font by default as metacity's
  328. font is now in the system font dialog
  329. * Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
  330. - 2.3.987.92 cvs snap
  331. * Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
  332. - 2.3.987.91 cvs snap
  333. * Mon Jun 24 2002 Havoc Pennington <hp@redhat.com>
  334. - 2.3.987.90 cvs snap
  335. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  336. - automated rebuild
  337. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  338. - rebuild for new libraries
  339. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  340. - rebuild in different environment
  341. * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
  342. - 2.3.987
  343. - default to redhat theme
  344. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  345. - rebuild in different environment
  346. * Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
  347. - 2.3.610.90 cvs snap
  348. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  349. - automated rebuild
  350. * Mon May 20 2002 Havoc Pennington <hp@redhat.com>
  351. - rebuild in different environment
  352. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  353. - 2.3.377
  354. * Thu May 2 2002 Havoc Pennington <hp@redhat.com>
  355. - 2.3.233
  356. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  357. - rebuild in different environment
  358. - add gconf schemas boilerplate
  359. * Mon Apr 15 2002 Havoc Pennington <hp@pobox.com>
  360. - 2.3.89
  361. * Tue Oct 30 2001 Havoc Pennington <hp@redhat.com>
  362. - 2.3.34
  363. * Fri Oct 13 2001 Havoc Pennington <hp@redhat.com>
  364. - 2.3.21
  365. * Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
  366. - 2.3.8
  367. - 2.3.13
  368. * Wed Sep 5 2001 Havoc Pennington <hp@redhat.com>
  369. - Initial build.