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