diff --git a/.cvsignore b/.cvsignore index dd22e7f..035f11e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,2 @@ -firefox-3.6.2.source.tar.bz2 -firefox-langpacks-3.6.2-20100323.tar.bz2 +firefox-langpacks-3.6.4-20100622.tar.bz2 +firefox-3.6.4.source.tar.bz2 diff --git a/firefox-mozconfig b/firefox-mozconfig index faacdec..0f5d0f5 100755 --- a/firefox-mozconfig +++ b/firefox-mozconfig @@ -23,8 +23,8 @@ ac_add_options --enable-pango ac_add_options --enable-svg ac_add_options --enable-canvas ac_add_options --enable-startup-notification -ac_add_options --enable-libxul -ac_add_options --disable-crashreporter +#ac_add_options --enable-libxul +#ac_add_options --disable-crashreporter ac_add_options --enable-safe-browsing ac_add_options --enable-libnotify ac_add_options --disable-necko-wifi diff --git a/firefox-mozconfig-debuginfo b/firefox-mozconfig-debuginfo new file mode 100644 index 0000000..a0ef07a --- /dev/null +++ b/firefox-mozconfig-debuginfo @@ -0,0 +1,5 @@ +# For mozilla's debuginfo: +export CFLAGS="-gstabs+" +export CXXFLAGS="-gstabs+" +export MOZ_DEBUG_SYMBOLS=1 +ac_add_options --enable-crashreporter diff --git a/firefox.spec b/firefox.spec index 3dad4b8..c7a1b6d 100644 --- a/firefox.spec +++ b/firefox.spec @@ -7,13 +7,14 @@ # xulrunner_version matches the firefox package. # xulrunner_version_max is first next incompatible xulrunner version -%define xulrunner_version 1.9.2.3-1 -%define xulrunner_version_max 1.9.2.4 +%define xulrunner_version 1.9.2.4-1 +%define xulrunner_version_max 1.9.2.5 %define internal_version 3.6 %define official_branding 1 %define build_langpacks 1 +%define include_debuginfo 0 %if ! %{official_branding} %define cvsdate 20080327 @@ -23,19 +24,20 @@ Summary: Mozilla Firefox Web browser Name: firefox -Version: 3.6.3 -Release: 4%{?prever}%{?dist} +Version: 3.6.4 +Release: 1%{?prever}%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet # From ftp://ftp.mozilla.org/pub/firefox/releases/%{version}%{?pretag}/source Source0: firefox-%{version}%{?prever}.source.tar.bz2 %if %{build_langpacks} -Source2: firefox-langpacks-%{version}-20100403.tar.bz2 +Source2: firefox-langpacks-%{version}-20100622.tar.bz2 %endif Source10: firefox-mozconfig Source11: firefox-mozconfig-branded Source12: firefox-redhat-default-prefs.js +Source13: firefox-mozconfig-debuginfo Source20: firefox.desktop Source21: firefox.sh.in Source23: firefox.1 @@ -106,6 +108,9 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{internal_version}/' %{P:%%PATCH0} \ %if %{official_branding} %{__cat} %{SOURCE11} >> .mozconfig %endif +%if %{include_debuginfo} +%{__cat} %{SOURCE13} >> .mozconfig +%endif # Set up SDK path echo "ac_add_options --with-libxul-sdk=\ @@ -138,6 +143,12 @@ MOZ_APP_DIR=%{_libdir}/%{name}-${INTERNAL_GECKO} export LDFLAGS="-Wl,-rpath,${MOZ_APP_DIR}" make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS" +# create debuginfo for crash-stats.mozilla.com +%if %{include_debuginfo} +#cd %{moz_objdir} +make buildsymbols +%endif + #--------------------------------------------------------------------- %install @@ -272,6 +283,11 @@ touch $RPM_BUILD_ROOT/%{mozappdir}/components/xpti.dat # jemalloc shows up sometimes, but it's not needed here, it's in XR %{__rm} -f $RPM_BUILD_ROOT/%{mozappdir}/libjemalloc.so +# Enable crash reporter for Firefox application +%if %{include_debuginfo} +sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{mozappdir}/application.ini +%endif + #--------------------------------------------------------------------- %clean @@ -349,9 +365,19 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/32x32/apps/firefox.png %{_datadir}/icons/hicolor/48x48/apps/firefox.png +%if %{include_debuginfo} +#%{mozappdir}/crashreporter +%{mozappdir}/crashreporter-override.ini +#%{mozappdir}/Throbber-small.gif +#%{mozappdir}/plugin-container +%endif + #--------------------------------------------------------------------- %changelog +* Wed Jun 23 2010 Jan Horak -3.6.4-1 +- Update to 3.6.4 + * Tue Apr 13 2010 Martin Stransky - 3.6.3-4 - Fixed language packs (#559960) diff --git a/sources b/sources index cdf3c2c..7a76e1e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -5e4541ab23084b7b14ba228291ce2688 firefox-3.6.3.source.tar.bz2 -0079b49bfe9983fa6224d1a070b2ddbd firefox-langpacks-3.6.3-20100403.tar.bz2 +3ff1288057848aed123c4df6a50fb96e firefox-langpacks-3.6.4-20100622.tar.bz2 +66b1610362ed6009d66fe762645679a0 firefox-3.6.4.source.tar.bz2