9397
|
1 |
#
|
|
2 |
# spec file for package metacity
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: erwannc
|
|
9 |
#
|
|
10 |
%include l10n.inc
|
|
11 |
Name: metacity
|
|
12 |
License: GPL
|
|
13 |
Group: System/GUI/GNOME
|
10112
|
14 |
Version: 2.19.8
|
9397
|
15 |
Release: 4
|
|
16 |
Distribution: Java Desktop System
|
|
17 |
Vendor: Sun Microsystems, Inc.
|
|
18 |
Summary: GNOME Window Manager
|
9992
|
19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/metacity/2.19/metacity-%{version}.tar.bz2
|
9400
|
20 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2
|
9397
|
21 |
#owner:erwannc date:2000-00-00 type:branding
|
|
22 |
Patch1: metacity-01-default-theme.diff
|
|
23 |
#owner:gheet date:2003-07-17 type:branding
|
|
24 |
Patch2: metacity-02-ctrl-esc-mod4-r.diff
|
|
25 |
#owner:gman date:2003-11-20 type:branding
|
|
26 |
Patch3: metacity-03-ctrl-alt-del.diff
|
|
27 |
#owner:erwannc date:2004-04-30 type:branding
|
|
28 |
Patch4: metacity-04-sunpowerswitch-key.diff
|
|
29 |
#owner:erwannc date:2004-07-23 type:feature
|
|
30 |
Patch5: metacity-05-raise-on-frame-click.diff
|
|
31 |
#owner:erwannc date:2004-10-06 type:bug bugster:5101706
|
|
32 |
Patch6: metacity-06-logout-shortcut.diff
|
|
33 |
#owner:erwannc date:2006-05-12 type:branding
|
|
34 |
Patch7: metacity-07-branding-hack.diff
|
|
35 |
#owner:erwannc date:2006-11-02 type:feature bugster:6393724
|
|
36 |
Patch8: metacity-08-trusted-extensions.diff
|
|
37 |
#owner:erwannc date:2006-09-27 type:feature
|
10070
|
38 |
Patch9: metacity-09-composite.diff
|
9397
|
39 |
#owner:erwannc date:2004-10-08 type:feature bugster:5103120
|
10070
|
40 |
Patch10: metacity-10-enable-Sun-keys-Open-Front.diff
|
10112
|
41 |
# Patch 11 is only for 2.19.8. Remove when 2.19.21 build issue resolved.
|
|
42 |
#owner:dcarbery date:2006-07-26 type:bug bugzilla:397296
|
|
43 |
Patch11: metacity-XX-empty-struct.diff
|
9678
|
44 |
|
9397
|
45 |
URL: http://www.gnome.org
|
|
46 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
47 |
Docdir: %{_defaultdocdir}/doc
|
|
48 |
Autoreqprov: on
|
|
49 |
Prereq: /sbin/ldconfig
|
|
50 |
|
|
51 |
%define intltool_version 0.30
|
|
52 |
%define GConf_version 2.6.1
|
|
53 |
%define pkgconfig_version 0.15.0
|
|
54 |
%define libglade_version 2.3.6
|
|
55 |
|
|
56 |
Requires: GConf >= %{GConf_version}
|
|
57 |
Requires: libglade >= %{libglade_version}
|
|
58 |
BuildRequires: intltool >= %{intltool_version}
|
|
59 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
|
60 |
BuildRequires: GConf >= %{GConf_version}
|
|
61 |
BuildRequires: libglade >= %{libglade_version}
|
|
62 |
|
|
63 |
%description
|
|
64 |
Metacity is the window manager for the GNOME Desktop.
|
|
65 |
|
|
66 |
%prep
|
|
67 |
%setup -q
|
|
68 |
%if %build_l10n
|
9400
|
69 |
bzcat %SOURCE1 | tar xf -
|
9397
|
70 |
cd po-sun; make; cd ..
|
|
71 |
%endif
|
|
72 |
%patch1 -p1
|
|
73 |
%patch2 -p1
|
|
74 |
%patch3 -p1
|
|
75 |
%patch4 -p1
|
|
76 |
%patch5 -p1
|
|
77 |
%patch6 -p1
|
|
78 |
%patch7 -p1
|
|
79 |
%patch8 -p1
|
|
80 |
%patch9 -p1
|
|
81 |
%patch10 -p1
|
10112
|
82 |
%patch11 -p1
|
9397
|
83 |
|
|
84 |
%build
|
|
85 |
%ifos linux
|
|
86 |
if [ -x /usr/bin/getconf ]; then
|
|
87 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
88 |
fi
|
|
89 |
%else
|
|
90 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
91 |
%endif
|
|
92 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
93 |
CPUS=1
|
|
94 |
fi
|
|
95 |
|
|
96 |
libtoolize --force
|
|
97 |
intltoolize --force --copy
|
|
98 |
aclocal $ACLOCAL_FLAGS
|
|
99 |
autoheader
|
|
100 |
automake -a -c -f
|
|
101 |
autoconf
|
|
102 |
# Note, you need to install SFElibcm (from spec-files-extra) and
|
|
103 |
# add --enable-compositor to the configure call to use metacity
|
|
104 |
# with compositing mode. Note SFElibcm requires Xorg 7.1
|
|
105 |
# Xcomposite library.
|
|
106 |
#
|
|
107 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
108 |
./configure --prefix=%{_prefix} \
|
|
109 |
--mandir=%{_mandir} \
|
|
110 |
--libexecdir=%{_libexecdir} \
|
|
111 |
--sysconfdir=%{_sysconfdir}
|
|
112 |
make -j $CPUS
|
|
113 |
|
|
114 |
%install
|
|
115 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
116 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
117 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
118 |
#Copy zh_HK from zh_TW
|
|
119 |
#Fixes bug 4930405
|
|
120 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
121 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
122 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
123 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
124 |
|
|
125 |
%post
|
|
126 |
/sbin/ldconfig
|
|
127 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
128 |
SCHEMAS="metacity.schemas"
|
|
129 |
for S in $SCHEMAS; do
|
|
130 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
|
|
131 |
done
|
|
132 |
|
|
133 |
%postun
|
|
134 |
/sbin/ldconfig
|
|
135 |
|
|
136 |
%clean
|
|
137 |
rm -rf $RPM_BUILD_ROOT
|
|
138 |
|
|
139 |
%files
|
|
140 |
%defattr (-, root, root)
|
|
141 |
%{_bindir}/*
|
|
142 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
143 |
%{_sysconfdir}/gconf/schemas/metacity.schemas
|
|
144 |
%{_libexecdir}/*
|
|
145 |
%{_libdir}/*.so*
|
|
146 |
%{_libdir}/pkgconfig/*.pc
|
|
147 |
%{_includedir}/metacity-1/metacity-private
|
|
148 |
%{_datadir}/gnome/wm-properties/metacity.desktop
|
|
149 |
%{_datadir}/metacity
|
|
150 |
%{_datadir}/themes/*/metacity-1/*
|
9891
|
151 |
%{_datadir}/control-center/keybindings/*
|
9397
|
152 |
%{_mandir}/man1/*
|
|
153 |
|
|
154 |
%changelog
|
10112
|
155 |
* Fri Jun 22 2007 - [email protected]
|
|
156 |
- Unbump to 2.19.8 because .13 and .21 tarballs have linker error. Readd patch
|
|
157 |
XX-empty-struct (fixes 397296).
|
|
158 |
|
|
159 |
# Patch 11 is only for 2.19.8. Remove when 2.19.21 build issue resolved.
|
|
160 |
Patch11: metacity-XX-empty-struct.diff
|
10070
|
161 |
* Mon Jun 18 2007 - [email protected]
|
|
162 |
- Bump to 2.19.21. Remove upstream patches, 09-empty-struct and
|
|
163 |
11-func-declaration-mismatch.
|
|
164 |
|
10040
|
165 |
* Mon Jun 11 2007 - [email protected]
|
10041
|
166 |
- Bump to 2.19.13. Add patch, 12-func-declaration-mismatch, to fix bugzilla
|
|
167 |
446535.
|
10040
|
168 |
|
9891
|
169 |
* Mon May 14 2007 - [email protected]
|
|
170 |
- Bump to 2.19.5
|
|
171 |
- removed a patch
|
|
172 |
- added dir in %files
|
|
173 |
|
9684
|
174 |
* Thu Apr 05 2007 - [email protected]
|
|
175 |
- Bump to 2.18.1.
|
|
176 |
|
9543
|
177 |
* Tue Mar 13 2007 - [email protected]
|
|
178 |
- Bump to 2.18.0.
|
|
179 |
|
9437
|
180 |
* Mon Mar 05 2007 - [email protected]
|
|
181 |
- Bump to 2.17.8.
|
|
182 |
|
9397
|
183 |
* Thu Jan 25 2007 - [email protected]
|
|
184 |
- Added l10n tarball for metacity-xx-trusted-extensions.diff.
|
|
185 |
|
|
186 |
* Wed Jan 17 2007 - [email protected]
|
|
187 |
- Bump to 2.17.5.
|
|
188 |
|
|
189 |
* Fri Dec 22 2006 - [email protected]
|
|
190 |
- Updated metacity-10-trusted-extensions.diff. Fixes 6468212.
|
|
191 |
|
|
192 |
* Mon Dec 11 2006 - [email protected]
|
|
193 |
- Bump to 2.17.3.
|
|
194 |
|
|
195 |
* Thu Nov 23 2006 - [email protected]
|
|
196 |
- Bump to 2.17.2. Remove upstream patch, 13-terminal-strict-focus. Comment out
|
|
197 |
patch 9 as it needs rework.
|
|
198 |
|
|
199 |
* Sat 28 Oct 2006 - [email protected]
|
|
200 |
- Commit patch to preserve strict focus mode with terminals
|
|
201 |
and keep a few kernel hackers on our side. Bugzilla #361054.
|
|
202 |
|
|
203 |
* Tue Oct 03 2006 - [email protected]
|
|
204 |
- Bump to 2.16.3.
|
|
205 |
|
|
206 |
* Wed Sep 27 2006 - [email protected]
|
|
207 |
- Add patch metacity-12-composite.diff so that if pkg-config
|
|
208 |
finds cm.pc on the system, that it will build with
|
|
209 |
composite support.
|
|
210 |
|
|
211 |
* Tue Sep 26 2006 - [email protected]
|
|
212 |
- Bump to 2.16.2.
|
|
213 |
|
|
214 |
* Mon Sep 04 2006 - [email protected]
|
|
215 |
- Bump to 2.16.0.
|
|
216 |
|
|
217 |
* Tue Aug 08 2006 - [email protected]
|
|
218 |
- Bump to 2.15.21.
|
|
219 |
|
|
220 |
* Mon Jul 24 2006 - [email protected]
|
|
221 |
- Bump to 2.15.13.
|
|
222 |
|
|
223 |
* Fri Jun 23 2006 - [email protected]
|
|
224 |
- Bump to 2.14.5.
|
|
225 |
|
|
226 |
* Tue Apr 18 2006 - [email protected]
|
|
227 |
- Bump to 2.14.3.
|
|
228 |
|
|
229 |
* Tue Apr 11 2006 - [email protected]
|
|
230 |
- Bump to 2.14.2.
|
|
231 |
|
|
232 |
* Tue Mar 14 2006 - [email protected]
|
|
233 |
- Bump to 2.14.1.
|
|
234 |
|
|
235 |
* Tue Feb 28 2006 - [email protected]
|
|
236 |
- Bump to 2.13.144.
|
|
237 |
|
|
238 |
* Tue Feb 14 2006 - [email protected]
|
|
239 |
- Bump to 2.13.89.
|
|
240 |
|
|
241 |
* Tue Jan 31 2006 - [email protected]
|
|
242 |
- Bump to 2.13.55.
|
|
243 |
|
|
244 |
* Sat Jan 21 2006 - [email protected]
|
|
245 |
- Bump to 2.13.34
|
|
246 |
|
|
247 |
* Tue Jan 17 2006 - [email protected]
|
|
248 |
- Bump to 2.13.21
|
|
249 |
|
|
250 |
* Sun Jan 15 2006 - [email protected]
|
|
251 |
- Bump to 2.13.13
|
|
252 |
|
|
253 |
* Mon Jan 09 2006 - [email protected]
|
|
254 |
- Add patch, pretty-function, to use a Gnome define instead of a pragma not
|
|
255 |
available in forte. Bugzilla 326281.
|
|
256 |
- Call intltoolize to process intltool-update/merge.
|
|
257 |
|
|
258 |
* Wed Jan 04 2006 - [email protected]
|
|
259 |
- Remove obsolete patch, 08-constrain-window.
|
|
260 |
|
|
261 |
* Tue Dec 20 2005 - [email protected]
|
|
262 |
- Bump to 2.13.5
|
|
263 |
|
|
264 |
* Tue Nov 29 2005 - [email protected]
|
|
265 |
- Bump to 2.12.2.
|
|
266 |
|
|
267 |
* Tue Oct 11 2005 - [email protected]
|
|
268 |
- Bump to 2.12.1
|
|
269 |
|
|
270 |
* Sat Sep 17 2005 - [email protected]
|
|
271 |
- Bump to 2.12.0
|
|
272 |
|
|
273 |
* Mon Sep 05 2005 - [email protected]
|
|
274 |
- Bump to 2.11.3.
|
|
275 |
|
|
276 |
* Tue Aug 16 2005 - [email protected]
|
|
277 |
- Bump to 2.11.2.
|
|
278 |
|
|
279 |
* Wed Aug 03 2005 - [email protected]
|
|
280 |
- remove upstream patch splash-layer.diff
|
|
281 |
|
|
282 |
* Fri Jul 01 2005 - [email protected]
|
|
283 |
- Add patch -09-pkgconfig.diff to add needed libs
|
|
284 |
|
|
285 |
* Thu May 19 2005 - [email protected]
|
|
286 |
- Fix patch so it uses -p1 instead of -p0 since Solaris is less
|
|
287 |
forgiving than Linux. Remove patch 4 since it breaks the build.
|
|
288 |
|
|
289 |
* Tue May 17 2005 - [email protected]
|
|
290 |
- Adding patch to fix splash screens not to be
|
|
291 |
on top of all windows all the time Fixes #6268588
|
|
292 |
|
|
293 |
* Wed Feb 16 2005 - [email protected]
|
|
294 |
- Added metacity-11-constrain-window.diff to constrain windows within
|
|
295 |
the strut area when shown for the first time. Fixes bug #6182510.
|
|
296 |
|
|
297 |
* Fri Feb 11 2005 - [email protected]
|
|
298 |
- Added metacity-10-window-title.diff to enable user to edit
|
|
299 |
window title using font capplet. Fixes bug #6227065.
|
|
300 |
|
|
301 |
* Thu Jan 20 2005 - [email protected]
|
|
302 |
- Added metacity-09-wireframe-double-click.diff to restore window on
|
|
303 |
double-clicking the title-bar to unmaximize. Fixes bug 6204338.
|
|
304 |
|
|
305 |
* Tue Jan 11 2005 - [email protected]
|
|
306 |
- Modified metacity-02-ctrl-esc-mod4-r.diff to map 'show desktop' to <mod4>+d
|
|
307 |
Fixes bug #5028221.
|
|
308 |
|
|
309 |
* Mon Jan 03 2005 - [email protected]
|
|
310 |
- Add patch to disable wireframe feature when
|
|
311 |
accessiblity is on.
|
|
312 |
|
|
313 |
* Wed Nov 24 2004 - [email protected]
|
|
314 |
- Updated metacity-04-sunpowerswitch-key.diff to fix stopper bug #5104104.
|
|
315 |
|
|
316 |
* Thu Oct 28 2004 - [email protected]
|
|
317 |
- Add metacity-message.1, metacity-window-demo.1 man pages
|
|
318 |
|
|
319 |
* Mon Oct 11 2004 - [email protected]
|
|
320 |
- Updated metacity-04-sunpowerswitch-key.diff to check if Xserver is local
|
|
321 |
for GDM also. Fixes bug #5107206.
|
|
322 |
|
|
323 |
* Wed Oct 06 2004 - [email protected]
|
|
324 |
- Added metacity-07-logout-shortcut.diff Patch to implement an
|
|
325 |
"apps/metacity/global_keybindings/logout" gconf key and
|
|
326 |
its functionality. Fixes bug #5101706.
|
|
327 |
|
|
328 |
* Fri Oct 01 2004 - [email protected]
|
|
329 |
- Add the window_raise_on_frame_only key under sun-extenstions
|
|
330 |
|
|
331 |
* Sat Sep 11 2004 - [email protected]
|
|
332 |
- Move Solaris specific LDFLAGS to the Solaris spec file
|
|
333 |
|
|
334 |
* Fri Sep 10 2004 - [email protected]
|
|
335 |
- Set LDFLAGS so Xrandr and Xrender can be found.
|
|
336 |
|
|
337 |
* Mon Aug 16 2004 - [email protected]
|
|
338 |
- Added patch metacity-05-bigstruts.diff for bugzilla #144126.
|
|
339 |
|
|
340 |
* Thu Jul 08 2004 - [email protected]
|
|
341 |
- Updated l10n content to metacity-l10n-po-1.2.tar.bz2
|
|
342 |
|
|
343 |
* Wed Jul 07 2004 - [email protected]
|
|
344 |
- ported to rpm4
|
|
345 |
|
|
346 |
* Wed Jul 07 2004 - [email protected]
|
|
347 |
- added "-j $CPUS" to make to speed up builds
|
|
348 |
|
|
349 |
* Wed May 12 2004 - [email protected]
|
|
350 |
- Updated l10n content to metacity-l10n-po-1.1.tar.bz2
|
|
351 |
|
|
352 |
* Wed May 12 2004 - [email protected]
|
|
353 |
- Do aclocal, autoheader, autoconf and automake before doing a configure.
|
|
354 |
|
|
355 |
* Fri Apr 30 2004 - [email protected]
|
|
356 |
- Added patch metacity-04-sunpowerswitch-key.diff to bind SunPowerSwitch
|
|
357 |
key to gnome-sys-suspend for Solaris.
|
|
358 |
|
|
359 |
* Wed Apr 07 2004 - [email protected]
|
|
360 |
- Updated to 2.8.0
|
|
361 |
|
|
362 |
* Mon Mar 29 2004 - [email protected]
|
|
363 |
- Updated l10n content to metacity-l10n-po-1.0.tar.bz2
|
|
364 |
|
|
365 |
* Tue Feb 24 2004 - <[email protected]> 2.7.0-1
|
|
366 |
- Update to 2.7.0
|
|
367 |
|
|
368 |
* Thu Feb 12 2004 - <[email protected]>
|
|
369 |
- add "-p0" strip argument to patch commands
|
|
370 |
|
|
371 |
* Tue Dec 16 2003 - <[email protected]> 2.6.3-1
|
|
372 |
- Update to 2.6.3
|
|
373 |
|
|
374 |
* Thu Oct 16 2003 - <[email protected]> 2.6.2-1
|
|
375 |
- Update to 2.6.2
|
|
376 |
|
|
377 |
* Thu Oct 09 2003 - <[email protected]> 2.6.1-1
|
|
378 |
- Update to 2.6.1
|
|
379 |
- Remove panel keybindings patches - they're in 2.6.x
|
|
380 |
|
|
381 |
* Fri Aug 01 2003 - <[email protected]> 2.4.55-1
|
|
382 |
- Update to 2.4.55
|
|
383 |
|
|
384 |
* Thu Jul 31 2003 - <[email protected]> 2.4.34-11
|
|
385 |
- Add patch to fix workspace names not retained after
|
|
386 |
logging out.
|
|
387 |
|
|
388 |
* Thu Jul 17 2003 - <[email protected]>
|
|
389 |
- Combined the esc-ctrl patch with Mod4 (window) R key
|
|
390 |
patch.
|
|
391 |
|
|
392 |
* Thu Jul 10 2003 - <[email protected]>
|
|
393 |
- Added .po tarball
|
|
394 |
|
|
395 |
* Thu Jul 03 2003 - <[email protected]>
|
|
396 |
- redo default window border theme patch
|
|
397 |
|
|
398 |
* Wed Jul 02 2003 - <[email protected]>
|
|
399 |
- add metacity-04-ctrl-escape.diff
|
|
400 |
|
|
401 |
* Wed Jul 02 2003 - <[email protected]>
|
|
402 |
- new version of metacity-01-panel-keybindings.diff
|
|
403 |
|
|
404 |
* Fri May 30 2003 - <[email protected]>
|
|
405 |
- Backport panel keybindings patches.
|
|
406 |
|
|
407 |
* Tue May 13 2003 - <[email protected]>
|
|
408 |
- initial release
|