firefox.spec revision 18593
#
# Copyright (c) Sun Microsystems, Inc.
#
# bugdb: bugzilla.mozilla.org
#
#####################################
## Package Information Section ##
#####################################
Release: 1
Source: http://ftp.mozilla.org/pub/mozilla.org/%{name}/releases/%{tarball_version}/source/%{name}-%{tarball_version}.source.tar.bz2
#Source8: firefox36-profile-sparc-ss12u1.tar.bz2
%else
#Source8: firefox36-profile-x86-ss12u1.tar.bz2
# owner:hawklu date:2007-11-28 type:branding
# change preference to support multi-language
# owner:davelam date:2006-02-24 type:branding
# enable firefox preload mechanism
# owner:fujiwara date:2008-04-10 type:bug
# bugster:6686579 bugzilla:285267
# owner:ginnchen date:2008-08-19 type:bug
# bugster:6724471 bugzilla:451007
# owner:alfred date:2008-10-10 type:bug bugster:6750518 bugzilla:456719
# status:upstream
# owner:ginnchen date:2008-10-15 type:feature
# bugzilla:457196
# owner:ginnchen date:2008-11-27 type:bug bugzilla:464443
# owner:ginnchen date:2009-05-21 type:branding
# owner:ginnchen date:2009-03-04 type:feature bugzilla:478390 bugster:6805829
# status:upstream
# owner:ginnchen date:2009-09-18 type:feature bugster:6839690
# status:upstream
# owner:ginnchen date:2009-11-25 type:feature bugster:6892315
# owner:hawklu date:2008-12-16 type:branding
# owner:hawklu date:2008-04-20 type:branding
# owner:alfred date:2009-03-02 type:branding
# owner:hawklu date:2009-05-22 type:branding
# owner:ginnchen date:2009-11-25 type:branding
# owner:ginnchen date:2009-11-25 type:bug bugzilla:530484
# owner:ginnchen date:2009-11-25 type:bug
# owner:ginnchen date:2009-12-08 type:feature
# owner:ginnchen date:2009-12-15 type:bug bugzilla:416053 bugzilla:534845
# status:upstream
# owner:ginnchen date:2010-01-06 type:bug bugzilla:533688
# status upstream
# owner:ginnchen date:2010-01-25 type:bug bugzilla:539188
# owner:ginnchen date:2010-02-04 type:bug bugzilla:492326
# status:upstream
# owner:ginnchen date:2010-03-04 type:branding
# owner:ginnchen date:2010-03-04 type:bug bugzilla:537076
# status:upstream
# owner:ginnchen date:2010-03-04 type:bug bugzilla:550154
# owner:ginnchen date:2010-03-04 type:bug bugzilla:522684
# status:upstream
#####################################
## Package Defines Section ##
#####################################
%else
#####################################
## Package Description Section ##
#####################################
#####################################
## Package Preparation Section ##
#####################################
%prep
#####################################
## Package Build Section ##
#####################################
CPUS=1
fi
%if %option_with_debug
#Build in a separated directory
cd ../obj
# PGO build
# to generate PGO profile
# export MOZ_PROFILE_GENERATE=1
# to use PGO profile
export MOZ_PROFILE_USE=1
cd firefox*
# Fix *.h *.idl attribute issue
# install preloaded library list that would be picked up by gdmprefetch
-e 's,FIREFOX_LIB_DIR,%{_ffdir},g' %{SOURCE3} > \
# install firefox-xpcom.pc
-e "s,LIBDIR,%{_libdir},g" \
-e "s,DATADIR,%{_datadir},g"\
-e "s,IDLDIR,%{_datadir}/idl/%{name},g"\
-e "s,INCLUDEDIR,%{_includedir},g" \
-e "s,NAME,%{name},g" \
-e "s,REQUIRES_NSPR,Requires: nspr >= 4.8,g" \
-e "s,NSPR_LIB,,g" \
-e "s,NSPR_INCLUDE,,g" \
%else
-e "s,REQUIRES_NSPR,,g" \
-e "s,NSPR_RUNPATH,,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,NAME,%{name},g" \
-e "s,LIBDIR,%{_libdir},g" \
-e "s,DATADIR,%{_datadir},g"\
-e "s,INCLUDEDIR,%{_includedir},g" \
-e "s,NAME,%{name},g" \
-e "s,REQUIRES_NSPR,Requires: nspr >= 4.8,g" \
-e "s,NSPR_LIB,,g" \
-e "s,NSPR_INCLUDE,,g" \
%else
-e "s,REQUIRES_NSPR,,g" \
-e "s,NSPR_RUNPATH,,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
# by myspell-dictionary
# move the default bookmarks file to a separated package: SUNWfirefox-bookmark
# remove this one
- Add a workaround in nspr-nss-config. instead.
* Sat Sep 26 2009 - dave.lin@sun.com
- Add patch 35-check-nspr-ver.diff to check nspr version correctly.
* Fri Sep 18 2009 - ginn.chen@sun.com
- Bump to Firefox 3.5.3.
- Remove patch firefox3-35-downloadable-font.diff.
- Add patch firefox3-15-compiler-workaround-2.diff.
* Tue Aug 04 2009 - brian.lu@sun.com
- Use new apoc adapter source tarball
which uses mozilla public string APIs
- Remove patch firefox3-33-apoc-failed-to-shutdown.diff
* Tue Aug 04 2009 - ginn.chen@sun.com
- Bump to Firefox 3.5.2.
- Remove patch firefox3-12-bug492720.diff firefox3-26-bug504043.diff
* Wed Jul 29 2009 - ginn.chen@sun.com
- Add patch firefox3-35-downloadable-font.diff
* Sun Jul 19 2009 - christian.kelly@sun.com
- Add patch to fix gtk includes.
* Thu Jul 16 2009 - ginn.chen@sun.com
- Bump to Firefox 3.5.1.
- Remove patch firefox3-25-bug502584.diff
* Thu Jul 16 2009 - leon.sha@sun.com
- Add patch firefox3-26-bug504043.diff
* Mon Jul 13 2009 - brian.lu@sun.com
- Fix the bug doo 10012
* Tue Jul 07 2009 - ginn.chen@sun.com
- Add patch firefox3-25-bug502584.diff
* Wed Jul 01 2009 - ginn.chen@sun.com
- Bump to Firefox 3.5.
* 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
- The patch firefox3-31-sunaudio-sparc.diff is upstream
* 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
installed now.
* Sun Jun 14 2009 - christian.kelly@sun.com
- Disable use of system sqlite.
* Thu Jun 11 2009 - brian.lu@sun.com
- Use system libsqlite3.so
* Fri Jun 05 2009 - ginn.chen@sun.com
- Use system nspr in firefox-*.pc.
* Fri Jun 05 2009 - ginn.chen@sun.com
- Add patch firefox3-12-bug492720.diff to fix build issue of libgjs.
* 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 patch firefox3-11-system-nss-nspr.diff
Add source nspr-nss-config
* Mon May 25 2009 - ginn.chen@sun.com
- Update patch firefox3-32-use-system-theora.diff to use libogg, libvobis.
* Tue May 22 2009 - brian.lu@sun.com
- Add patch firefox3-32-use-system-theora.diff for d.o.o 9112
* Tue May 18 2009 - brian.lu@sun.com
- Add patch firefox3-31-sunaudio-sparc.diff for d.o.o 8471
* Tue Apr 28 2009 - ginn.chen@sun.com
- Bump to 3.5 beta 4, add patch firefox3-04-oggplay.diff
firefox3-30-timer-execution.diff for d.o.o. 8450.
* Tue Mar 31 2009 - alfred.peng@sun.com
- Add patch firefox3-22-308-security-fixes.diff to include the security
fixes released in Firefox 3.0.8.
* Mon Mar 30 2009 - ginn.chen@sun.com
- Add patch firefox3-27-bug484932.diff. Fix d.o.o. 7638.
- Add patch firefox3-28-ss-privacy-level.diff. Workaround for d.o.o. 7634.
* Fri Mar 20 2009 - ginn.chen@sun.com
- Add patch firefox3-26-bug468727.diff.
* Thu Mar 05 2009 - ginn.chen@sun.com
- Bump to 3.1b3 build 1.
* 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
- fit and finish: add default-to-downloads.diff for bugster CR#6735323.
* 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
- Removed upstreamed patch -24-moz-fix-link-path.diff.
* Mon Dec 15 2008 - brian.lu@sun.com
update patch
- patches/firefox3-31-js-dtrace.diff: add patch
- patches/firefox3-32-alloca.diff: add patch
* Fri Dec 12 2008 - brian.lu@sun.com
- Bump to firefox 3.1b2
Remove following patches (upstreamed):
Add following patches:
Update follwoing patches:
* Wed Dec 03 2008 - alfred.peng@sun.com
- Move the default bookmarks file to a separated package, CR6777386.
Remove patches: firefox3-11-getting-started-bookmark.diff and
* Thu Nov 27 2008 - ginn.chen@sun.com
* Mon Nov 17 2008 - brian.lu@sun.com
- bump to 3.0.4
* Wed Oct 15 2008 - ginn.chen@sun.com
* Fri Oct 10 2008 - alfred.peng@sun.com
- Add %option_with_indiana_branding for firefox3-25-ksh.diff.
* Fri Oct 10 2008 - alfred.peng@sun.com
- Add firefox3-25-ksh.diff for indiana only to fix bugster CR6750518.
Add firefox3-26-know-your-rights.diff for the EULA pop-up bugster CR6757178.
Update firefox3-11-getting-started-bookmark.diff for the default
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
- Bump to 3.0.3.
- Add enable-libxul for debug version.
* Fri Sep 19 2008 - ginn.chen@sun.com
* Wed Sep 17 2008 - ginn.chen@sun.com
- Remove firefox3-01-change-install-dir.diff
- Remove firefox3-03-plugins.diff
- Remove firefox3-04-common-tar-option.diff
- Remove firefox3-06-find-opt.diff
- Put timestamp into .autoreg as a workaround for IPS for now.
* Tue Sep 09 2008 - ginn.chen@sun.com
* Wed Sep 03 2008 - ginn.chen@sun.com
- Fix firefox-preload.list.in and some small tweaks for specfile.
* Tue Sep 02 2008 - brian.lu@sun.com
- Add %if option_with_sun_branding around patch22
* Wed Aug 27 2008 - ginn.chen@sun.com
- Update patch firefox3-20-remap-pixman-functions.diff
* Fri Aug 22 2008 - dave.lin@sun.com
- add patch firefox3-22-bug-report-bookmark.diff
* Wed Aug 20 2008 - dave.lin@sun.com
- Rename firefox3-preload.list.in to firefox-preload.list.in.
* Tue Aug 19 2008 - ginn.chen@sun.com
- Remove firefox3-16-crash-in-8-bit-mode.diff
- Remove firefox3-07-no-ldlibpath.diff
* Mon Aug 18 2008 - dave.lin@sun.com
- Rename firefox3.spec to firefox.spec since FF2 has been replaced by FF3 in Nevada and OS for several builds
* 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
on both sides of -o to only find files.
* Mon Jul 21 2008 - ginn.chen@sun.com
- Add bugdb info.
* Sat Jul 19 2008 - dave.lin@sun.com
- Fixed *.h *.idl 755 attribute issue.
* Thu Jul 17 2008 - brian.lu@sun.com
- bump to 3.0.1
* 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
- Add bugId for the patch firefox3-09-remove-core-file-check.diff
- Remove patch firefox3-16-crash-in-8-bit-mode.diff: upstreamed
- Add bugId for firefox3-18-gen-devel-files.diff
* Thu Jun 26 2008 - brian.lu@sun.com
- Add patch
* 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)
- Add firefox3-19-no-xrender-perf.diff to improve Firefox rendering performance
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
- bump to beta 5
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
- Add firefox3-17-g11n-nav-lang.diff to assign locales in
general.useragent.locale so that JavaScript navigator.language works.
* Thu Feb 28 2008 - brian.lu@sun.com
- Remove the patch firefox3-10-cario-perf.diff
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
- Bump to beta3, and removed upstreamed patche firefox3-15-printing-failed.diff
* 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
- the patch is from bugzilla.freedesktop.org (bug 4945) Fixing CR6646456
* 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
- move to 3.0 beta2
- 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
- replace firefox-06-locale.diff with mozilla-09-locale.diff, to correct our way
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
- Add firefox-15-remove-core-file-check.diff patch to remove core file checking
code in run-mozilla.sh. Fixes CR6589754.
* 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
- bump to 2.0.0.8
* 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
- bump to 2.0.0.7
* Fri Aug 03 2007 - dave.lin@sun.com
- bump to 2.0.0.6
* Mon Jul 23 2007 - dave.lin@sun.com
- bump to 2.0.0.5 and remove patch firefox-15-infinite-recursion.diff which
has been upstreamed in that release
* Thu Jun 21 2007 - damien.carbery@sun.com
- Add patch, mozilla-08-cairo-update.diff, to update the private copy of
cairo.h used in the build.
* Thu May 31 2007 - dave.lin@sun.com
- bump to 2.0.0.4
* 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
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
- bump to 2.0.0.3
* Tue Mar 20 2007 - dave.lin@sun.com
- fix bug CR#6521792
part1: add file ".autoreg" and add postinstall/postremove scripts in
SUNWfirefox-apoc-adapter
part2: add patch firefox-12-regenerate-compreg-file.diff
* Sat Mar 03 2007 - dave.lin@sun.com
- removed patch firefox-12-bookmark-drag-and-drop.diff which has been
upstreamed in 2.0.0.2
* 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
* Wed Jan 17 2007 - damien.carbery@sun.com
- Remove unneeded patch, firefox-02-font_Xft.diff.
* Fri Jan 05 2007 - dave.lin@sun.com
- remove firefox-rebuild-databases and %preun since it's unnecessary for
Firefox 2.0
- 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
- create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
to fix bug CR#6459752
* Tue Aug 08 2006 - dave.lin@sun.com
- bump version to 2.0b1
- remove the patch mozilla-03-s11s-smkfl.diff, mozilla-04-s11x-smkfl.diff,
firefox-03-yelp-hang.diff which have been fixed in 2.0b1
* Tue Aug 08 2006 - dave.lin@sun.com
- fixed the preload list problem
* Thu Jul 27 2006 - damien.carbery@sun.com
* Wed Jul 26 2006 - matt.keenan@sun.com
- Remove firefox-10-gecko.m4.diff : yelp uses local copy now, and re-shuffled
the rest of the firefox-* patches to be in sequence.
* Fri Jul 07 2006 - dave.lin@sun.com
- add patch mozilla-07-no-ldlibpath.diff to remove the LD_LIBRARY_PATH in
the startup script
* Tue Jun 13 2006 - dave.lin@sun.com
- add patch firefox-15-no-nss-nspr.diff to let firefox use nss, nspr in
- remove all nss, nspr header files in development package
* Mon Jun 12 2006 - dave.lin@sun.com
- add patch firefox-14-plugins.diff to add Mozilla plugins direcotry
* 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
- remove patch mozilla-06-skip-strip.diff, use another simple way to skip
strip instead, setting PKG_SKIP_STRIP=1
* Fri Apr 21 2006 - dave.lin@sun.com
- removed firefox-chrome-lang.txt per l10n team's request, firefox uses new
strategy to register chrome entries, so this file is useless
* Thu Apr 13 2006 - davelin@sun.com
on Solaris
* 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
- Add patch mozilla-06-skip-strip.diff to make no stripped libraries
* Fri Mar 31 2006 - dave.lin@sun.com
- Add patch firefox-13-locale.diff to make firefox automatically
pick up locale setting from user environment and start up in
that locale
* Fri Feb 24 2006 - dave.lin@sun.com
- Add patch firefox-11-new-tab.diff to fix CR6368789
- Add patch firefox-12-preload.diff and extra source file
firefox-preload.list.in to enable firefox preload mechanism
- Remove useless file firefox-rebuild-databases since it's only
for Linux
* Fri Dec 02 2005 - damien.carbery@sun.com
* Fri Nov 11 2005 - halton.huo@sun.com
already
* 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>
- Bump to 1.5b1.
- 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.