author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 19076 | 7477542dea31 |
child 8679 | 3e6a66828a04 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package gnome-session |
|
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 |
# |
|
8564 | 8 |
# Owner: niall |
9 |
# |
|
57 | 10 |
Name: gnome-session |
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
19076 | 13 |
Version: 2.17.2 |
8179 | 14 |
Release: 6 |
5518 | 15 |
Distribution: Java Desktop System |
575 | 16 |
Vendor: Sun Microsystems, Inc. |
207 | 17 |
Summary: Session Manager for the GNOME Desktop |
19076 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.17/%{name}-%{version}.tar.bz2 |
4636
904020d75d2d
reverse order of %ifos'd sources/patches because the linux version
laca
parents:
4635
diff
changeset
|
19 |
Source1: gnome-splash.png |
5895 | 20 |
Source2: gnome-session-remove.1.gz |
1439 | 21 |
Source3: gnome-session.1.gz |
22 |
Source4: gnome-session-save.1.gz |
|
23 |
Source5: gnome-session-properties.1.gz |
|
24 |
Source6: gnome-smproxy.1.gz |
|
25 |
Source7: gnome-wm.1.gz |
|
26 |
Source8: default.session.5.gz |
|
5518 | 27 |
Patch1: gnome-session-01-busy-cursor.diff |
8396 | 28 |
Patch2: gnome-session-02-solaris-branding.diff |
5518 | 29 |
Patch3: gnome-session-03-gnome-atom.diff |
30 |
Patch4: gnome-session-04-logout-effect.diff |
|
8396 | 31 |
Patch5: gnome-session-05-gnome-about.diff |
32 |
Patch6: gnome-session-06-reduce-purge-warn-delay.diff |
|
33 |
Patch7: gnome-session-07-wait-for-postrun.diff |
|
34 |
Patch8: gnome-session-08-lXau.diff |
|
8494 | 35 |
#owner:gheet date:2006-11-03 type:feature bugster:6393728 |
36 |
Patch9: gnome-session-09-trusted-extensions.diff |
|
8446 | 37 |
Patch10: gnome-session-10-gnome-volcheck-default-session.diff |
57 | 38 |
URL: http://www.gnome.org |
39 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
40 |
Docdir: %{_defaultdocdir}/%{name} |
|
167 | 41 |
Autoreqprov: on |
5518 | 42 |
Prereq: GConf |
57 | 43 |
|
172 | 44 |
%define libgnomeui_version 2.2.0 |
45 |
%define libwnck_version 2.2.1 |
|
46 |
||
47 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
48 |
BuildRequires: libwnck-devel >= %{libwnck_version} |
|
49 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
50 |
Requires: libwnck >= %{libwnck_version} |
|
51 |
||
57 | 52 |
%description |
207 | 53 |
This package provides the basic session manager and tools for the GNOME Desktop. |
57 | 54 |
|
55 |
%prep |
|
56 |
%setup -q |
|
1227 | 57 |
%patch1 -p1 |
5518 | 58 |
%patch2 -p1 |
5928 | 59 |
%patch3 -p1 |
1917 | 60 |
%patch4 -p1 |
5928 | 61 |
%patch5 -p1 |
62 |
%patch6 -p1 |
|
63 |
%patch7 -p1 |
|
4237 | 64 |
%patch8 -p1 |
8494 | 65 |
%patch9 -p1 |
8446 | 66 |
%patch10 -p1 |
5928 | 67 |
|
4635 | 68 |
cp %SOURCE1 gnome-session/gnome-splash.png |
4455 | 69 |
|
57 | 70 |
%build |
3263 | 71 |
%ifos linux |
72 |
if [ -x /usr/bin/getconf ]; then |
|
73 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
74 |
fi |
|
75 |
%else |
|
3846 | 76 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 77 |
%endif |
78 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
79 |
CPUS=1 |
|
80 |
fi |
|
1522 | 81 |
|
82 |
%ifos solaris |
|
83 |
%define poweroff /usr/sbin/poweroff |
|
84 |
%define reboot /usr/sbin/reboot |
|
85 |
%else |
|
86 |
%define poweroff /usr/bin/poweroff |
|
87 |
%define reboot /usr/bin/reboot |
|
88 |
%endif |
|
89 |
||
339 | 90 |
libtoolize --force |
8450 | 91 |
intltoolize -c -f --automake |
5518 | 92 |
aclocal $ACLOCAL_FLAGS -I . |
341 | 93 |
autoheader |
339 | 94 |
automake -a -c -f |
95 |
autoconf |
|
3897 | 96 |
CFLAGS="$RPM_OPT_FLAGS" \ |
692 | 97 |
./configure --prefix=%{_prefix} \ |
98 |
--sysconfdir=%{_sysconfdir} \ |
|
99 |
--mandir=%{_mandir} \ |
|
1522 | 100 |
--with-halt-command=%poweroff \ |
101 |
--with-reboot-command=%reboot |
|
3263 | 102 |
make -j $CPUS |
57 | 103 |
|
104 |
%install |
|
105 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
207 | 106 |
make DESTDIR=$RPM_BUILD_ROOT install |
57 | 107 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 108 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
109 |
install -d $RPM_BUILD_ROOT%{_mandir}/man5 |
|
5518 | 110 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 111 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
112 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
113 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
114 |
install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
115 |
install --mode=0644 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
116 |
install --mode=0644 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/man5 |
|
57 | 117 |
|
413 | 118 |
%clean |
119 |
rm -rf $RPM_BUILD_ROOT |
|
120 |
||
57 | 121 |
%post |
122 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
123 |
SCHEMAS="gnome-session.schemas" |
|
124 |
for S in $SCHEMAS; do |
|
125 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
126 |
done |
|
127 |
||
128 |
%files |
|
129 |
%defattr(-,root,root) |
|
207 | 130 |
%{_bindir}/* |
131 |
%{_datadir}/pixmaps/* |
|
1439 | 132 |
%{_mandir}/man1/gnome-session-properties.1.gz |
133 |
%{_mandir}/man1/gnome-session-save.1.gz |
|
4369 | 134 |
%{_mandir}/man1/gnome-session-remove.1.gz |
1439 | 135 |
%{_mandir}/man1/gnome-session.1.gz |
136 |
%{_mandir}/man1/gnome-smproxy.1.gz |
|
137 |
%{_mandir}/man1/gnome-wm.1.gz |
|
3628 | 138 |
%{_mandir}/man1/session-properties.1.gz |
1439 | 139 |
%{_mandir}/man5/default.session.5.gz |
207 | 140 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
141 |
%{_datadir}/gnome/default.session |
|
142 |
%{_datadir}/gnome/default.wm |
|
5518 | 143 |
%{_datadir}/applications/ |
57 | 144 |
%{_sysconfdir}/gconf/schemas/* |
145 |
||
146 |
%changelog |
|
19076 | 147 |
* Wed Nov 22 2006 - [email protected] |
148 |
- Bump to 2.17.2. |
|
149 |
||
8494 | 150 |
* Fri Nov 03 2006 - [email protected] |
151 |
- Fixed up gnome-session-09-trusted-extensions.diff for 2.16 |
|
152 |
||
8450 | 153 |
* Tue Oct 31 2006 - [email protected] |
154 |
- Added intltoolize to read LINGAS file. Fixes 6488189. |
|
155 |
||
8446 | 156 |
* Mon Oct 30 2006 - [email protected] |
157 |
- add patch gnome-session-10-gnome-volcheck-default-session.diff |
|
158 |
which is orignally |
|
159 |
Solaris/patches/gnome-session-01-gnome-volcheck-default-session.diff |
|
160 |
||
8396 | 161 |
* Mon Oct 23 2006 - [email protected] |
162 |
- Fix up fuzziness of the gnome-session patches. Merge the logout |
|
163 |
effect patches together, remove the non-existant a11y patch, and |
|
164 |
comment out the broken trusted extensions patch. |
|
165 |
||
8248 | 166 |
* Tue Oct 03 2006 - [email protected] |
167 |
- Bump to 2.16.1. |
|
168 |
||
8061 | 169 |
* Mon Sep 04 2006 - [email protected] |
170 |
- Bump to 2.16.0. |
|
171 |
||
7982 | 172 |
* Fri Aug 25 2006 - [email protected] |
173 |
- Add patch, 12-lXau, to link libXau in. |
|
174 |
||
7950 | 175 |
* Tue Aug 22 2006 - [email protected] |
176 |
- Bump to 2.15.92. |
|
177 |
- Remove upstream patch, 10-fixcrash, renumber remainder. |
|
178 |
||
7875 | 179 |
* Tue Aug 08 2006 - [email protected] |
180 |
- Bump to 2.15.91. |
|
181 |
||
7827 | 182 |
* Fri Jul 28 2006 - [email protected] |
183 |
- Move gnome-session-07-gnome-volcheck-default-session.diff to |
|
184 |
Solaris/patches so we can only apply this if HAL package is |
|
185 |
installed. |
|
186 |
||
7817 | 187 |
* Fri Jul 28 2006 - [email protected] |
188 |
- Fix minor typo. |
|
189 |
||
7743 | 190 |
* Mon Jul 24 2006 - [email protected] |
191 |
- Bump to 2.15.90. |
|
192 |
||
7737 | 193 |
* Mon Jul 24 2006 - [email protected] |
194 |
- Bump to 2.15.4. |
|
195 |
||
7510 | 196 |
* Fri Jun 23 2006 - [email protected] |
197 |
- Bump to 2.14.2. |
|
198 |
||
7223 | 199 |
* Fri May 05 2006 - [email protected] |
200 |
- Add patch to fix crash when HAL is enabled, caused by printing of a NULL |
|
201 |
string. |
|
202 |
||
7031 | 203 |
* Fri Apr 10 2006 - [email protected] |
204 |
- Bump to 2.14.1. |
|
205 |
||
6929 | 206 |
* Tue Mar 14 2006 - [email protected] |
207 |
- Bump to 2.14.0. |
|
208 |
||
6895 | 209 |
* Thu Mar 9 2006 - [email protected] |
210 |
- Add patch, 10-G_DEBUG-off, to not set G_DEBUG=fatal_criticals as it exposes |
|
211 |
a lot of crashes in Evolution. |
|
212 |
||
6865 | 213 |
* Tue Feb 28 2006 - [email protected] |
214 |
- Bump to 2.13.92. |
|
215 |
||
6750 | 216 |
* Tue Feb 14 2006 - [email protected] |
217 |
- Bump to 2.13.91. |
|
6764 | 218 |
- Remove unneeded glib-gettextize and intltoolize calls. |
6750 | 219 |
|
6684 | 220 |
* Sun Jan 29 2006 - [email protected] |
221 |
- Bump to 2.13.90 |
|
222 |
||
6644 | 223 |
* Sun Jan 22 2006 - [email protected] |
224 |
- Call intltoolize and glib-gettextize to avoid infinite loop. |
|
225 |
||
226 |
* Fri Jan 20 2006 - [email protected] |
|
6628 | 227 |
- Bump to 2.13.5. |
228 |
||
5895 | 229 |
* Sat Sep 17 2005 - [email protected] |
230 |
- Bump to 2.12.0 |
|
231 |
||
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
232 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
233 |
- Bump to 2.11.91. |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
234 |
|
5518 | 235 |
* Fri Aug 05 2005 - [email protected] |
236 |
- Merge the 2 splashes into one. Remove the linux splash branding patch |
|
237 |
to focus on one for the moment - we can bring it back later if need |
|
238 |
be. |
|
239 |
||
240 |
* Tue Jun 14 2005 - [email protected] |
|
241 |
- Set GNOME_DISABLE_CRASH_DIALOG to '1', not 'true', for |
|
242 |
bug #6273175. (Previous patch set it to 'true', which failed to work). |
|
243 |
||
244 |
* Fri May 20 2005 - [email protected] |
|
245 |
- Edit gnome-session-09-load-a11y-modules.diff to set |
|
246 |
GNOME_DISABLE_CRASH_DIALOG when a11y is on, fix for bug #6273175. |
|
247 |
||
248 |
* Wed May 11 2005 - [email protected] |
|
249 |
- Bump to 2.10.0 |
|
250 |
||
5272 | 251 |
* Wed Jan 23 2005 - [email protected] |
252 |
- Edit patch gnome-session-09-load-a11y-modules.diff to set |
|
253 |
the GTK_MODULES env before gnome_program_init (). This way |
|
254 |
b-a-s will get this env and will pass it on to all the factories |
|
255 |
that it would spawn. |
|
256 |
||
4910
51bd94c6f474
Added fix for 6202413 to patch gnome-session-09-load-a11y-modules.diff.
wh70179
parents:
4867
diff
changeset
|
257 |
* Fri Jan 21 2005 - [email protected] |
51bd94c6f474
Added fix for 6202413 to patch gnome-session-09-load-a11y-modules.diff.
wh70179
parents:
4867
diff
changeset
|
258 |
- Edited patch gnome-session-09-load-a11y-modules.diff to fix bug |
51bd94c6f474
Added fix for 6202413 to patch gnome-session-09-load-a11y-modules.diff.
wh70179
parents:
4867
diff
changeset
|
259 |
6202413. We now putenv("NO_J2D_DGA=true") when a11y is enabled, |
51bd94c6f474
Added fix for 6202413 to patch gnome-session-09-load-a11y-modules.diff.
wh70179
parents:
4867
diff
changeset
|
260 |
and the env variable isnt already set. |
51bd94c6f474
Added fix for 6202413 to patch gnome-session-09-load-a11y-modules.diff.
wh70179
parents:
4867
diff
changeset
|
261 |
|
4845 | 262 |
* Thu Jan 14 2005 - [email protected] |
263 |
- Reduce the purge_delay and warn_delay to 30seconds which essentially |
|
264 |
revert back the bugzilla#94754. This patch is to partially fix bq2 |
|
265 |
#4978659. The Mozilla team has fixed the mozilla side of the problem by |
|
266 |
5068301, however, reducing this timeouts will benefit other badly broken |
|
267 |
session apps. |
|
4810 | 268 |
|
269 |
* Mon Jan 10 2005 - [email protected] |
|
270 |
- changing date on previous changelog entry - was causing rpmbuild |
|
271 |
to fail with "%changelog not in descending chronological order" :-) |
|
272 |
||
273 |
* Mon Jan 03 2005 - [email protected] |
|
4797 | 274 |
- Now that gnome-settings-daemon starts per display, the |
275 |
patch gnome-session-07-sunray-screensaver.diff should not |
|
276 |
be required. Corresponding g-s-d patch is |
|
277 |
control-center-27-settings-daemon-per-display.diff |
|
278 |
||
4540 | 279 |
* Thu Nov 12 2004 - [email protected] |
280 |
- Added patch #12. It fixes #5099423 |
|
281 |
||
4506 | 282 |
* Thu Nov 10 2004 - [email protected] |
283 |
- Source header fixed. |
|
284 |
||
4493 | 285 |
* Wed Nov 10 2004 - [email protected] |
286 |
- Added patch gnome-session-11-gnome-volcheck-default-session.diff |
|
287 |
to start gnome-volcheck for Solaris. |
|
288 |
||
4444 | 289 |
* Thu Nov 04 2004 - [email protected] |
290 |
- Added patch 10 so that gnome-about launches on first-time login. |
|
291 |
||
4369 | 292 |
* Fri Oct 29 2004 - [email protected] |
293 |
- Add gnome-session-remove.1 man page to %files |
|
294 |
||
4357 | 295 |
* Thu Oct 28 2004 - [email protected] |
296 |
- Add gnome-session-remove.1 man page |
|
297 |
||
4356 | 298 |
* Thu Oct 28 2004 - [email protected] |
299 |
- Load the a11y libraries by setting the GTK_MODULES env variable. |
|
300 |
Fixes issues addressed in bug #5097456. |
|
301 |
||
3897 | 302 |
* Sat Sep 11 2004 - [email protected] |
303 |
- Move Solaris specific LDFLAGS to the Solaris spec file |
|
304 |
||
3895
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
305 |
* Fri Sep 10 2004 - [email protected] |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
306 |
- Set LDFLAGS so Xrandr and Xrender can be found. |
caf5571f7b66
* control-center.spec, gtk2.spec, gnome-session.spec, metacity.spec,
dc144907
parents:
3858
diff
changeset
|
307 |
|
3559 | 308 |
* Fri Aug 13 2004 - [email protected] |
309 |
- Forward ported sun-patches/gnome-session/560-4780014-s.diff |
|
310 |
as gnome-session-07-sunray-screensaver.diff. This is a security fix but |
|
311 |
really only affects Sunray. |
|
312 |
||
3529 | 313 |
* Tue Aug 10 2004 - [email protected] |
314 |
- Bug:5084286, forward ported patch from mercury for logout effect. |
|
315 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
316 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
317 |
- Updated l10n content to gnome-session-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
318 |
|
3628 | 319 |
* Wed Jul 07 2004 - [email protected] |
320 |
- ported to rpm4 |
|
321 |
||
3263 | 322 |
* Wed Jul 07 2004 - [email protected] |
323 |
- added "-j $CPUS" to make to speed up builds |
|
324 |
||
3072 | 325 |
* Wed Jun 09 2004 - [email protected] |
326 |
- do not compile patch1 on Solaris as it is a linux only patch. |
|
327 |
so use ifos linux to compile in |
|
328 |
gnome-session-01-magicdev-default-session.diff |
|
329 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2683
diff
changeset
|
330 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2683
diff
changeset
|
331 |
- Updated l10n content to gnome-session-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2683
diff
changeset
|
332 |
|
2683 | 333 |
* Fri May 07 2004 - <[email protected]> |
334 |
- Bump to 2.6.1. |
|
335 |
||
2403 | 336 |
* Tue Apr 06 2004 - [email protected] |
337 |
- Add patch to create an atom for legacy X apps to determine |
|
338 |
if they are running currently under GNOME |
|
339 |
||
2350 | 340 |
* Mon Mar 29 2004 - [email protected] |
341 |
- Updated l10n content to gnome-session-l10n-po-1.0.tar.bz2 |
|
342 |
||
2290 | 343 |
* Tue Mar 24 2004 - <[email protected]> |
344 |
- Bump to 2.6.0. Remove man page and logout effect. Seems like |
|
345 |
a not hugely useful branding patch that it might be good to |
|
346 |
remove. |
|
347 |
||
1917 | 348 |
* Tue Feb 24 2004 - <[email protected]> |
349 |
- Bump to 2.5.90 |
|
350 |
||
1439 | 351 |
* Fri Dec 15 2003 - <[email protected]> |
352 |
- Bump to 2.5.2 |
|
353 |
||
988 | 354 |
* Wed Aug 06 2003 - <[email protected]> |
355 |
- Remove splash icons for non-important apps |
|
356 |
||
854 | 357 |
* Wed Jul 30 2003 - <[email protected]> |
358 |
- Add magicdev correctly |
|
359 |
||
692 | 360 |
* Mon Jul 21 2003 - <[email protected]> |
361 |
- Make it use the consolehelper versions of reboot and poweroff. |
|
362 |
||
541 | 363 |
* Fri Jul 11 2003 - <[email protected]> |
364 |
- Add patch for logout effect |
|
365 |
||
516 | 366 |
* Thu Jul 10 2003 - <[email protected]> |
518 | 367 |
- Add an icon to the splash widget. |
368 |
||
369 |
* Thu Jul 10 2003 - <[email protected]> |
|
516 | 370 |
- Add magicdev to the default session. |
371 |
||
510 | 372 |
* Wed Jul 09 2003 - <[email protected]> |
373 |
- add in sun po files |
|
374 |
||
854 | 375 |
* Mon Jun 30 2003 - <[email protected]> |
341 | 376 |
- run autoheader so config.h contains gets HAVE_RANDR |
377 |
||
854 | 378 |
* Mon Jun 30 2003 - <[email protected]> |
339 | 379 |
- add display properties restoration patch |
380 |
- copy the splash screen into the build tree in |
|
381 |
%prep rather than manually installing it in %install |
|
382 |
||
854 | 383 |
* Tue May 13 2003 - <[email protected]> |
57 | 384 |
- Created new spec file for gnome-session |