firefox.spec revision 17811
10430N/A# Copyright (c) Sun Microsystems, Inc. 10430N/A##################################### 18030N/A## Package Information Section ## 10430N/A##################################### 10430N/A# owner:hawklu date:2007-11-28 type:branding 17340N/A# change preference to support multi-language 17406N/A# owner:davelam date:2006-02-24 type:branding 17406N/A# enable firefox preload mechanism 18030N/A# owner:fujiwara date:2008-04-10 type:bug 18030N/A# bugster:6686579 bugzilla:285267 10430N/A# owner:ginnchen date:2008-08-19 type:bug 10430N/A# bugster:6724471 bugzilla:451007 15354N/A# owner:alfred date:2008-10-10 type:bug bugster:6750518 bugzilla:456719 10430N/A# owner:ginnchen date:2008-10-15 type:feature 10430N/A# owner:ginnchen date:2008-11-27 type:bug bugzilla:464443 10430N/A# owner:ginnchen date:2009-05-21 type:branding 10430N/A# owner:ginnchen date:2009-03-04 type:feature bugzilla:478390 bugster:6805829 10430N/A# owner:ginnchen date:2009-09-18 type:feature bugster:6839690 18030N/A# owner:ginnchen date:2009-11-25 type:feature bugster:6892315 18030N/A# owner:hawklu date:2008-12-16 type:branding 10430N/A# owner:hawklu date:2008-04-20 type:branding 10430N/A# owner:alfred date:2009-03-02 type:branding 10430N/A# owner:hawklu date:2009-05-22 type:bug doo:9112 16772N/A# owner:ginnchen date:2009-11-25 type:branding 15354N/A# owner:ginnchen date:2009-11-25 type:bug bugzilla:530484 15354N/A# owner:ginnchen date:2009-11-25 type:bug 15354N/A# owner:ginnchen date:2009-11-25 type:bug bugzilla:529764 10430N/A##################################### 10430N/A##################################### 10430N/A##################################### 10430N/A## Package Requirements Section ## 10430N/A##################################### 15386N/A##################################### 15386N/A## Package Description Section ## 15354N/A##################################### 12090N/A##################################### 11853N/A## Package Preparation Section ## 11853N/A##################################### ##################################### ## Package Build Section ## ##################################### #Build in a separated directory # Fix *.h *.idl attribute issue # install preloaded library list that would be picked up by gdmprefetch /
usr/
bin/
sed -e
's,NSS_NSPR_DIR,%{nss_nspr_dir},g' \
-e
's,FIREFOX_LIB_DIR,%{_ffdir},g' %{
SOURCE3} > \
-e
"s,LIBDIR,%{_libdir},g" \
-e
"s,DATADIR,%{_datadir},g"\
-e
"s,IDLDIR,%{_datadir}/idl/%{name},g"\
-e
"s,INCLUDEDIR,%{_includedir},g" \
-e
"s,REQUIRES_NSPR,Requires: nspr >= 4.8,g" \
-e
"s,REQUIRES_NSPR,,g" \
-e
"s,NSPR_LIB,-lnspr4,g" \
-e
"s,NSPR_INCLUDE,-I\$\{includedir\}/nspr,g" \
-e
"s,LIBDIR,%{_libdir},g" \
-e
"s,DATADIR,%{_datadir},g"\
-e
"s,INCLUDEDIR,%{_includedir},g" \
-e
"s,LIBDIR,%{_libdir},g" \
-e
"s,DATADIR,%{_datadir},g"\
-e
"s,INCLUDEDIR,%{_includedir},g" \
-e
"s,REQUIRES_NSPR,Requires: nspr >= 4.8,g" \
-e
"s,REQUIRES_NSPR,,g" \
-e
"s,NSPR_LIB,-lnspr4,g" \
-e
"s,NSPR_INCLUDE,-I\$\{includedir\}/nspr,g" \
# get out of the tmp dir before remove it # remove local dictionary and share the one that delivered # move the default bookmarks file to a separated package: SUNWfirefox-bookmark ######################################### ## Package Post[Un] Install Section ## ######################################### # run ldconfig before regxpcom ##################################### ## Package Files Section ## ##################################### - Add a workaround in nspr-nss-config. instead. * Sat Sep 26 2009 - dave.lin@sun.com * Fri Sep 18 2009 - ginn.chen@sun.com * Tue Aug 04 2009 - brian.lu@sun.com - Use new apoc adapter source tarball which uses mozilla public string APIs * Tue Aug 04 2009 - ginn.chen@sun.com * Wed Jul 29 2009 - ginn.chen@sun.com * Sun Jul 19 2009 - christian.kelly@sun.com - Add patch to fix gtk includes. * Thu Jul 16 2009 - ginn.chen@sun.com * Thu Jul 16 2009 - leon.sha@sun.com * Mon Jul 13 2009 - brian.lu@sun.com * Tue Jul 07 2009 - ginn.chen@sun.com * Wed Jul 01 2009 - ginn.chen@sun.com * Thu Jun 25 2009 - ginn.chen@sun.com - Bump to Firefox 3.5 rc3. Add fix for bugzilla 499660. * Sat Jun 20 2009 - ginn.chen@sun.com - Bump to Firefox 3.5 rc2. * Thu Jun 18 2009 - brian.lu@sun.com * Wed Jun 17 2009 - ginn.chen@sun.com - Bump to Firefox 3.5 rc1. * Tue Jun 16 2009 - christian.kelly@sun.com - Re-enable use of system sqlite, build systems have the newer version * Sun Jun 14 2009 - christian.kelly@sun.com - Disable use of system sqlite. * Thu Jun 11 2009 - brian.lu@sun.com * Fri Jun 05 2009 - ginn.chen@sun.com - Use system nspr in firefox-*.pc. * Fri Jun 05 2009 - ginn.chen@sun.com * Wed Jun 03 2009 - brian.lu@sun.com - Change bugzilla:9112 to doo:9112 and bugzilla:8471 to doo:8471 * Mon May 25 2009 - ginn.chen@sun.com - Use system NSS NSPR libraries by default Add source nspr-nss-config * Mon May 25 2009 - ginn.chen@sun.com * Tue May 22 2009 - brian.lu@sun.com * Tue May 18 2009 - brian.lu@sun.com * Tue Apr 28 2009 - ginn.chen@sun.com * Tue Mar 31 2009 - alfred.peng@sun.com fixes released in Firefox 3.0.8. * Mon Mar 30 2009 - ginn.chen@sun.com * Fri Mar 20 2009 - ginn.chen@sun.com * Thu Mar 05 2009 - ginn.chen@sun.com * Wed Mar 04 2009 - ginn.chen@sun.com - Bump to 3.1b3 pre. Update patches accordingly. * Mon Mar 02 2009 - alfred.peng@sun.com - Add patch for OpenSolaris getting started page. * Thu Feb 19 2009 - brian.lu@sun.com - Fix the issue caused by pango upgrade * Tue Feb 10 2009 - dave.lin@sun.com - Enable apoc adapter as default. * Web Feb 04 2009 - brian.lu@sun.com - Enable APOC adapter when build with --with-apoc-apdater * Mon Feb 02 2009 - alfred.peng@sun.com * Wed Jan 07 2009 - dave.lin@sun.com - Change version number from 3.1b2 to 3.1 since svr4 pkg requires digit only. * Thu Dec 18 2008 - ginn.chen@sun.com * Wed Dec 17 2008 - ginn.chen@sun.com - clean up and update some patches * Wed Dec 17 2008 - alfred.peng@sun.com - correct the name typo of patch36. * Tue Dec 16 2008 - brian.lu@sun.com * Mon Dec 15 2008 - dave.lin@sun.com * Mon Dec 15 2008 - brian.lu@sun.com * Fri Dec 12 2008 - brian.lu@sun.com Remove following patches (upstreamed): Update follwoing patches: * Wed Dec 03 2008 - alfred.peng@sun.com - Move the default bookmarks file to a separated package, CR6777386. * Thu Nov 27 2008 - ginn.chen@sun.com * Mon Nov 17 2008 - brian.lu@sun.com * Wed Oct 15 2008 - ginn.chen@sun.com * Fri Oct 10 2008 - alfred.peng@sun.com * Fri Oct 10 2008 - alfred.peng@sun.com bookmarks and toolbar entries on OpenSolaris 2008.11. * Fri Oct 10 2008 - ginn.chen@sun.com - enable system cairo: fix for #3586 * Sat Sep 27 2008 - ginn.chen@sun.com - Add enable-libxul for debug version. * Fri Sep 19 2008 - ginn.chen@sun.com * Wed Sep 17 2008 - ginn.chen@sun.com - Put timestamp into .autoreg as a workaround for IPS for now. * Tue Sep 09 2008 - ginn.chen@sun.com - Do not remove nss/nspr header files for now. * Wed Sep 03 2008 - ginn.chen@sun.com * Tue Sep 02 2008 - brian.lu@sun.com - Add %if option_with_sun_branding around patch22 * Wed Aug 27 2008 - ginn.chen@sun.com * Fri Aug 22 2008 - dave.lin@sun.com * Wed Aug 20 2008 - dave.lin@sun.com * Tue Aug 19 2008 - ginn.chen@sun.com * Mon Aug 18 2008 - dave.lin@sun.com * Mon Aug 18 2008 - dave.lin@sun.com - Enable debug mode when --with-debug specified * Mon Jul 21 2008 - dave.lin@sun.com - Fixed another "-type f" issue of find command, which is similar as below * Mon Jul 21 2008 - damien.carbery@sun.com - Add another "-type f" to /usr/bin/find command because Solaris find needs it on both sides of -o to only find files. * Mon Jul 21 2008 - ginn.chen@sun.com * Sat Jul 19 2008 - dave.lin@sun.com - Fixed *.h *.idl 755 attribute issue. * Thu Jul 17 2008 - brian.lu@sun.com * Thu Jul 17 2008 - dave.lin@sun.com - Change the patch firefox3-03-plugins as branding patch * Fri Jul 11 2008 - brian.lu@sun.com * Thu Jun 26 2008 - brian.lu@sun.com * Fri Jun 20 2008 - dave.lin@sun.com - Bump to Firefox 3.0 official release * Thu Jun 12 2008 - ginn.chen@sun.com - Bump to Firefox 3.0 RC3 - Add with-system-jpeg (bugzilla 437041) when X Render is not available. - Remove patch10, patch14 * Thu May 29 2008 - damien.carbery@sun.com - Disable developer guide patch to fix 6700877 as the developer guide is not needed for OpenSolaris or SXCE. * Thu May 22 2008 - dave.lin@sun.com - change to build as default browser * Mon Apr 21 2008 - brian.lu@sun.com - new firefox3 devel package remove unnecessary comment * Mon Apr 14 2008 - brian.lu@sun.com remove patch14 which has been fixed in cario trunk (to be fixed in firefox3 final release) but not in firefox3 beta 5 * Thu Apr 10 2008 - takao.fujiwara@sun.com * Thu Feb 28 2008 - brian.lu@sun.com which causes a regression CR6668422 * Mon Feb 25 2008 - brian.lu@sun.com - Fix the bug CR6656460 firefox crash in 8 bit mode * Wed Feb 20 2008 - dave.lin@sun.com * Wed Jan 24 2008 - brian.lu@sun.com - patch fixing the bug CR6646478 status:upstream * Wed Jan 09 2008 - dave.lin@sun.com - renamed FF 3 spec to *firefox3 to let FF 3 coexist with FF 2 * Wed Jan 09 2008 - brian.lu@sun.com * Sat Dec 29 2007 - dave.lin@sun.com - changed to use "make" instead of "make export" and "make libs" * Thu Dec 27 2007 - dave.lin@sun.com - set not building apoc adapter as default * Mon Dec 03 2007 - dave.lin@sun.com - bump to 2.0.0.11 for several regressions in 2.0.0.10 * Fir Nov 28 2007 - evan.yan@sun.com of supporting multi-language * Thu Nov 27 2007 - dave.lin@sun.com - bump to 2.0.0.10 for several security bug fixes * Fri Nov 11 2007 - brian.lu@sun.com * Fri Nov 02 2007 - dave.lin@sun.com - bump to 2.0.0.9 to fix several regressions in previous release * Mon Oct 22 2007 - dave.lin@sun.com * Sat Oct 20 2007 - laca@sun.com - add indiana branding patch * Fri Sep 28 2007 - laca@sun.com - do not add developer guide bookmark when sun branding is not requested * Wed Sep 19 2007 - dave.lin@sun.com * Fri Aug 03 2007 - dave.lin@sun.com * Mon Jul 23 2007 - dave.lin@sun.com has been upstreamed in that release * Thu Jun 21 2007 - damien.carbery@sun.com * Thu May 31 2007 - dave.lin@sun.com * Fri May 18 2007 - brian.lu@sun.com - Firefox dumps core due to infinite recursion * Mon Apr 30 2007 - dave.lin@sun.com - remove local dictionary and use the one delivered by myspell-dictionary(CR6218511) * Thu Apr 27 2007 - brian.lu@sun.com - add patch to grey out "Check for Updates" in Firefox menu since it's
not supported on Solaris so far(CR#6542910) * Wed Apri 10 2007 - brian.lu@sun.com - change the comments of Patch15 from type:upstream to type:bug state:upstream * Wed Apri 04 2007 - brian.lu@sun.com - # bugster: CR6331694 partly fixed, the patch has been upstreamed * Wed Mar 21 2007 - dave.lin@sun.com * Tue Mar 20 2007 - dave.lin@sun.com * Sat Mar 03 2007 - dave.lin@sun.com * Mon Feb 26 2007 - dave.lin@sun.com - bump version to 2.0.0.2 * Mon Feb 12 2007 - damien.carbery@sun.com * Mon Feb 05 2007 - brian.lu@sun.com - fix bug CR6519241:bookmark drag and drop crash firefox - bugzilla id 367203. The patch has been put into upstream * Fri Jan 26 2007 - dave.lin@sun.com - enable xinerama support to fix bug CR6507236 * Thu Jan 18 2007 - damien.carbery@sun.com - Fix 'patch7 -
p0' - change to -p1 and change patch file too. * Wed Jan 17 2007 - damien.carbery@sun.com * Fri Jan 05 2007 - dave.lin@sun.com - remove firefox-rebuild-databases and %preun since it's
unnecessary for since it's unnecessary to deliver them with the bundled version - change the version 2.0bx to 2.0 to comply WOS integration rules - re-organize the patch list * Mon Sep 04 2006 - dave.lin@sun.com - bump version to 2.0 beta 2 * Mon Aug 28 2006 - dave.lin@sun.com * Tue Aug 08 2006 - dave.lin@sun.com * Tue Aug 08 2006 - dave.lin@sun.com - fixed the preload list problem * Thu Jul 27 2006 - damien.carbery@sun.com - Remove 'aclocal' dir from %files as it is now empty. * Wed Jul 26 2006 - matt.keenan@sun.com the rest of the firefox-* patches to be in sequence. * Fri Jul 07 2006 - dave.lin@sun.com * Tue Jun 13 2006 - dave.lin@sun.com - remove all nss, nspr header files in development package * Mon Jun 12 2006 - dave.lin@sun.com * Fri Jun 02 2006 - dave.lin@sun.com - bump src version to 1.5.0.4 * Mon May 08 2006 - dave.lin@sun.com - bump src version to 1.5.0.3 * Fri Apr 28 2006 - dave.lin@sun.com strip instead, setting PKG_SKIP_STRIP=1 * Fri Apr 21 2006 - dave.lin@sun.com strategy to register chrome entries, so this file is useless * Thu Apr 13 2006 - davelin@sun.com * Tue Apr 04 2006 - dave.lin@sun.com - Bump version to 2.0 alpha1 - Remove Patch3,4,11 which have been upstreamed into this version * Fri Mar 31 2006 - dave.lin@sun.com pick up locale setting from user environment and start up in * Fri Feb 24 2006 - dave.lin@sun.com - Remove useless file firefox-rebuild-databases since it's only * Thu Nov 1 2005 - laca@sun.com - change version to numeric and introduce %tarball_version * Fri Oct 21 2005 - dave.lin@sun.com - Update version from 1.5b1 to 1.5b2 and add patch 307041 from bugzilla - Change configure option per Leo Sha from developer team - Add nss header file in development package * Mon Sep 26 2005 - <halton.huo@sun.com> - Move dir mozilla to firefox after tarball unpacking. * Mon Sep 12 2005 - <laca@sun.com> - get rid of %builddir as it would be different on Solaris * Thu Sep 08 2005 - damien.carbery@sun.com - Change BuildPrereq to BuildRequires, a format that build-gnome2 understands. * Mon Sep 05 2005 - Dave Lin <dave.lin@sun.com> - Add patches to remove the specific gtar options - Set MOZ_PKG_FORMAT=BZ2 to keep consistent of tarball format between linux and solaris * Fri Sep 01 2005 - damien.carbery@sun.com - Change gtar to tar; add two necessary mkdir's.