SUNWxscreensaver.spec revision 19059
18372N/A# spec file for xscreensaver packages 16799N/A# includes module(s): xscreensaver, rss-glx 18793N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 16799N/A# This file and all modifications and additions to the pristine 16799N/A# packages are under the same license as the packages themselves. 19033N/A# Publisher name used in .p5i files to install hack packages 19033N/A# .p5i files are used to offer links to install the hack packages in 19033N/A# the xscreensaver-demo program when they're not installed (which they're 19033N/A# not after a LiveCD install, since they don't fit) - bugzilla:10681 18778N/A# date:2008-12-15 owner:alanc type:bug bugster:6785377 16799N/A# date:2006-05-10 owner:alanc type:branding bugster:6526791 19033N/A# bugster:4871833,6368607,6652454 18812N/A# date:2006-05-10 owner:alanc type:branding 19033N/A# date:2006-05-10 owner:alanc type:branding bugster:6770336 bugzilla:10681 16799N/A# date:2006-05-10 owner:alanc type:feature 16799N/A# bugster:6735203,6673036,6484604,6673036,6670025,6611183,6478362,6417168 16799N/A# bugster:6346056,6308859,6269444,6182506,6237901,5039878,6178584,5039876 16799N/A# bugster:5077993,5077989,5079870,4931584,5039876,5059445,4782515,4783832 18778N/A# bugster:6845751,5083155,6176524,6541240,6839026,6825374,6769901,6857559 19033N/A# bugster:6475285,6670659,6461887,6395649,6520014,6736157,6573182,6203951 16799N/A# date:2006-05-10 owner:ma54148 type:feature bugster:4849641 18778N/A# date:2006-05-10 owner:alanc type:feature bugster:5077981,6176524 16799N/A# date:2006-05-10 owner:alanc type:feature 16799N/A# date:2006-05-10 owner:johnfisc type:feature 18778N/A# bugster:6673036,6451477,6698996,6845488,6845488 16799N/A# date:2006-06-07 owner:ma54148 type:feature 16799N/A# bugster:5015296,6417168,6654320 16799N/A# date:2006-08-09 owner:alanc type:branding 16799N/A# date:2006-08-09 owner:alanc type:branding 16799N/A# date:2006-08-09 owner:alanc type:branding 16799N/A# date:2008-01-03 owner:samlau type:bug bugster:6610282 16799N/A# date:2008-02-11 owner:uejio type:bug bugster:6583181 16799N/A# date:2008-02-27 owner:ma54148 type:bug bugster:6585644 16799N/A# date:2008-06-03 owner:uejio type:bug bugster:6583247 16799N/A# date:2009-02-05 owner:alanc type:bug bugster:4802301 16943N/A# date:2009-07-31 owner:bp230705 type:bug bugster:6859039 18940N/A# date:2010-06-30 owner:arvind type:bug bugster:6964562 16799N/A# date:2008-03-07 owner:alanc type:branding 16799N/A# date:2008-03-07 owner:alanc type:branding 16799N/A# Adjust man pages to Solaris standards: 16799N/A# - add attributes section to end with package info & stability 18372N/A -a
'{Availability, %{pkg5_name_base}}' \
16799N/A -a
'{Interface Stability, Volatile}' \
18372N/A -a
'{Availability, %{pkg5_name_base}}' \
16799N/A -a
'{Interface Stability, Private}' \
18372N/A -a
'{Availability, %{pkg5_name_hacks}}' \
16799N/A -a
'{Interface Stability, Private}' \
18372N/A -a
'{Availability, %{pkg5_name_hacks_gl}}' \
16799N/A -a
'{Interface Stability, Private}' \
18372N/A -a
'{Availability, %{pkg5_name_hacks_rss}}' \
16799N/A -a
'{Interface Stability, Private}' \
16799N/A# Clear pictures we don't want in build 16799N/A# Mapfile flags copied from X - these are generically good for all libraries 16799N/A# See the comments in each mapfile for a description of what it does. 16799N/A# so that it's harder for attackers to exploit buffer overflows 16799N/A# SPARC architecture requires PLT section in .data be executable, so 16799N/A# we can only make .bss, not all of .data no-exec on SPARC 19027N/A# The mapfiles that cause extra .bss sections to be generated have 19027N/A# been temporarily disabled due to linker bug 6988300 - see X bug 6988507. 16799N/A# Flags useful for libraries, shared objects, and programs 17996N/A# Force building with mesa headers & libraries to make sure we build the 17996N/A# same on all systems, whether or not proprietary GL from Sun or nVidia is 17996N/A# also installed and don't end up accidentally depending on those. 17996N/A# Unfortunately, xscreensaver is hardcoded to use <GL/gl.h> style paths, 17996N/A# so we create local install path to work around that. 16799N/A# Additional optimization flags, to make the hacks show off the hardware 16799N/A# better and because for just a screensaver display we can get away with 16799N/A# using optimizations that may change strict correctness of floating point ops. 18837N/Aexport CFLAGS=
"%c_warning_flags %optflags %extra_opt_flags %mesa_includes" 18837N/Aexport CXXFLAGS=
"%cxx_warning_flags %cxx_optflags %extra_opt_flags %mesa_includes" 17996N/Aexport LDFLAGS=
"%mesa_libpath %_ldflags %mapfiles_for_all %mapfiles_for_progs" 18778N/A# FIXME: hack, add "-o Makefile" to avoid looping. 18778N/A# FIXME: hack: stop the build from looping 16799N/A# Remove hacks we've chosen not to ship at all for various reasons 16799N/A# Don't need to ship static libraries in the package 16799N/A# Run script to add rss-glx hacks to XScreenSaver app-defaults, then delete it 17382N/A# Make compatibility links for SUNWxscreensaver 16799N/A# This function prints a list of things that get installed. 16799N/A# It does this by parsing the output of a dummy run of "make install". 17382N/A echo '%%dir %%attr(0755, root, bin) %%{xss_libdir}' 16799N/A echo '%%dir %%attr(0755, root, bin) %%{xss_libdir}/hacks' 17382N/A echo '%%dir %%attr(0755, root, sys) %%{_datadir}' 17382N/A echo '%%dir %%attr(0755, root, bin) %%{_mandir}' 16799N/A echo '%%dir %%attr(0755, root, bin) %%{_mandir}/man6' 16799N/A -e 's@/man1/\(.*\)\.1$@/man6/\1.6@' \ 16799N/A -e 's@\(.*/man/.*\)@%%doc \1@' \ 17996N/A# Make sure that there were at least some files found 16799N/A# Make lists of which hacks go into which addon package 16799N/A# xscreensaver must be setuid root in order to do PAM authentication 18940N/A* Wed Jun 30 2010 - arvind.umrao@sun.com 18914N/A* Tue Jun 22 2010 - alan.coopersmith@oracle.com 18914N/A metadata to xscreensaver-demo (preferences app) to fix CR 6199780 & 6232612. 18911N/A* Tue Jun 22 2010 -arvind.umrao@sun.com 18889N/A* Thu Jun 17 2010 - arvind.umrao@sun.com 18875N/A* Tue Jun 15 2010 - alan.coopersmith@oracle.com 18875N/A default to upstream value of true to preserve existing behavior. 18875N/A- Capture keystrokes that arrive before the unlock dialog opens and replay 18875N/A them into the dialog once it appears. 18875N/A- Remove some more unnecessary differences from upstream code. 18859N/A* Wed Jun 9 2010 - alan.coopersmith@oracle.com 18859N/A- Fix 16207 xscreensaver cores when a correct or incorrect password is entered 18859N/A by removing incorrect addition of free(msg) from patch 6, since msg 18858N/A* Thu Jun 10 2010 - arvind.umrao@sun.com 18828N/A* Fri Jun 4 2010 - alan.coopersmith@oracle.com 18859N/A- Fix issues handling LoginHelper settings for accessibility 18859N/A applications that need special handling. 18838N/A- Fix startup of unlock countdown timer animation to be more reliable. 18837N/A- Set correct warning flags for Sun cc vs. gcc 18828N/A don't get XErrors when we process them and try to restack a destroyed window. 18828N/A- Pass through some additional messages from the upstream code, like the 18828N/A "(Caps Lock?)" when authentication fails & Caps Lock was on and the counts 18815N/A* Wed Jun 2 2010 - alan.coopersmith@oracle.com 18815N/A- Use gnome-help to display man pages instead of running "man" in a terminal 18812N/A* Tue Jun 1 2010 - alan.coopersmith@oracle.com 18812N/A- Fix XErrors from XRestackWindow calls by major overhaul of accessibility 18812N/A- Merge patch 18 into patch 6, renumber patches 19-25 to fill the hole 18812N/A- Remove some unnecessary changes from patches 18796N/A* Thu May 27 2010 - brian.cameron@oracle.com 18796N/A- Fixed prompting for new password when a users password is expired. 18796N/A- Improve appearance of unlock dialog 18793N/A* Wed May 26 2010 - alan.coopersmith@oracle.com 18793N/A- Move %descriptions to SUNW_Desc in spec file 18793N/A making formatting & indentation consistent. 18793N/A- Fix some copyright dates based on history from X gate 18793N/A- Change a few more #ifdef sun to #ifdef __sun for consistency. 18778N/A* Tue May 25 2010 - brian.cameron@oracle.com 18778N/A- Bump to 5.11. Remove upstream patches. Merge several patches so that 18778N/A patches do not apply on top of other patches so much. Cleanup. 18446N/A* Fri Mar 12 2010 - alan.coopersmith@sun.com 18446N/A are not needed on IPS-installed machines) 18372N/A* Mon Mar 1 2010 - alan.coopersmith@sun.com 18372N/A- Use new IPS package names in man page attributes setting in .spec file 18302N/A* Mon Feb 15 2010 - arvind.umrao@sun.com 18252N/A* Thu Feb 04 2010 - harry.fu@sun.com 18183N/A* Tue Jan 26 2010 - dave.lin@sun.com 18183N/A- Mark SUNWxwsvr as Nevada only package. 18009N/A* Thu Dec 31 2009 - naveen.gundlagutta@sun.com 17996N/A* Wed Dec 23 2009 - alan.coopersmith@sun.com 17996N/A SUNWxorg-mesa is delivered on SPARC in snv_130 17996N/A- Report error if none of the GL hacks were built instead of quietly 17996N/A building empty packages for them 17981N/A* Tue Dec 22 2009 - alan.coopersmith@sun.com