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