packages: mozilla-firefox/mozilla-firefox-prefs.patch, mozilla-firefox/mozi...

qboosh qboosh at pld-linux.org
Tue May 29 15:32:30 CEST 2012


Author: qboosh                       Date: Tue May 29 13:32:30 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 12.0

---- Files affected:
packages/mozilla-firefox:
   mozilla-firefox-prefs.patch (1.6 -> 1.7) , mozilla-firefox.spec (1.279 -> 1.280) , mozilla-firefox-bug-722975-workaround.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mozilla-firefox/mozilla-firefox-prefs.patch
diff -u packages/mozilla-firefox/mozilla-firefox-prefs.patch:1.6 packages/mozilla-firefox/mozilla-firefox-prefs.patch:1.7
--- packages/mozilla-firefox/mozilla-firefox-prefs.patch:1.6	Fri Aug 19 20:02:02 2011
+++ packages/mozilla-firefox/mozilla-firefox-prefs.patch	Tue May 29 15:32:24 2012
@@ -16,10 +16,10 @@
  
  // Defines how the Application Update Service notifies the user about updates:
  //
-@@ -186,7 +186,7 @@
+@@ -249,7 +249,7 @@
+ #endif
  
- // Whether or not the application should check at startup each time if it 
- // is the default browser.
+ // At startup, check if we're the default browser and prompt user if not.
 -pref("browser.shell.checkDefaultBrowser", true);
 +pref("browser.shell.checkDefaultBrowser", false);
  

================================================================
Index: packages/mozilla-firefox/mozilla-firefox.spec
diff -u packages/mozilla-firefox/mozilla-firefox.spec:1.279 packages/mozilla-firefox/mozilla-firefox.spec:1.280
--- packages/mozilla-firefox/mozilla-firefox.spec:1.279	Sat Mar 24 19:47:40 2012
+++ packages/mozilla-firefox/mozilla-firefox.spec	Tue May 29 15:32:24 2012
@@ -25,23 +25,24 @@
 Summary:	Firefox Community Edition web browser
 Summary(pl.UTF-8):	Firefox Community Edition - przeglądarka WWW
 Name:		mozilla-firefox
-Version:	11.0
+Version:	12.0
 Release:	1
 License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
 Group:		X11/Applications/Networking
 Source0:	http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2
-# Source0-md5:	4b07acf47857aff72776d805409cdd1b
+# Source0-md5:	80c3e5927274de7f181fb5f931ac5fd4
 Source1:	%{name}.desktop
 Source2:	%{name}.sh
-Patch0:		%{name}-install.patch
-Patch1:		%{name}-gcc3.patch
-Patch2:		%{name}-agent.patch
-Patch3:		%{name}-agent-ac.patch
-Patch4:		%{name}-ti-agent.patch
-Patch5:		%{name}-branding.patch
-Patch6:		%{name}-prefs.patch
-Patch7:		%{name}-nss_cflags.patch
-Patch8:		%{name}-no-subshell.patch
+Patch0:		%{name}-branding.patch
+Patch1:		%{name}-install.patch
+Patch2:		%{name}-gcc3.patch
+Patch3:		%{name}-agent.patch
+Patch4:		%{name}-agent-ac.patch
+Patch5:		%{name}-ti-agent.patch
+Patch6:		%{name}-nss_cflags.patch
+Patch7:		%{name}-prefs.patch
+Patch9:		%{name}-no-subshell.patch
+Patch10:	%{name}-bug-722975-workaround.patch
 URL:		http://www.mozilla.org/projects/firefox/
 BuildRequires:	GConf2-devel >= 1.2.1
 BuildRequires:	OpenGL-devel
@@ -76,7 +77,7 @@
 BuildRequires:	python-modules
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpmbuild(macros) >= 1.601
-BuildRequires:	sqlite3-devel >= 3.7.7.1
+BuildRequires:	sqlite3-devel >= 3.7.10
 BuildRequires:	startup-notification-devel >= 0.8
 BuildRequires:	xorg-lib-libXScrnSaver-devel
 BuildRequires:	xorg-lib-libXext-devel
@@ -114,8 +115,10 @@
 
 # don't satisfy other packages (don't use %{name} here)
 %define		_noautoprovfiles	%{_libdir}/mozilla-firefox
+%if %{without xulrunner}
 # and as we don't provide them, don't require either
-%define		_noautoreq	libmozjs.so libxpcom.so libxul.so %{!?with_xulrunner:libmozalloc.so}
+%define		_noautoreq	libmozjs.so libxpcom.so libxul.so libmozalloc.so
+%endif
 
 %if "%{cc_version}" >= "3.4"
 %define		specflags	-fno-strict-aliasing -fno-tree-vrp -fno-stack-protector
@@ -137,31 +140,30 @@
 mv -f mozilla-release mozilla
 cd mozilla
 
-# libvpx fix
-grep -q VPX_CODEC_USE_INPUT_PARTITION configure.in && sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure || exit 1
-
 %patch0 -p1
+%patch1 -p1
 
 %if "%{cc_version}" < "3.4"
-%patch1 -p2
+%patch2 -p2
 %endif
 
 %if "%{pld_release}" == "th"
-%patch2 -p1
+%patch3 -p1
 %endif
 
 %if "%{pld_release}" == "ac"
-%patch3 -p1
+%patch4 -p1
 %endif
 
 %if "%{pld_release}" == "ti"
-%patch4 -p1
+%patch5 -p1
 %endif
 
-%patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p2
+
+%patch9 -p2
+%patch10 -p1
 
 # config/rules.mk is patched by us and js/src/config/rules.mk
 # is supposed to be exact copy
@@ -299,6 +301,8 @@
 %if %{without xulrunner}
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
 ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
+ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
 %endif
 
 sed 's, at LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
@@ -369,6 +373,7 @@
 
 %dir %{_libdir}/%{name}
 %if %{without xulrunner}
+%attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so
 %attr(755,root,root) %{_libdir}/%{name}/libmozjs.so
 %attr(755,root,root) %{_libdir}/%{name}/libxpcom.so
 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
@@ -391,6 +396,7 @@
 %{_libdir}/%{name}/components/ChromeProfileMigrator.js
 %{_libdir}/%{name}/components/FeedConverter.js
 %{_libdir}/%{name}/components/FeedWriter.js
+%{_libdir}/%{name}/components/FirefoxProfileMigrator.js
 %{_libdir}/%{name}/components/PlacesProtocolHandler.js
 %{_libdir}/%{name}/components/Weave.js
 %{_libdir}/%{name}/components/WebContentConverter.js
@@ -404,10 +410,14 @@
 %{_libdir}/%{name}/components/nsSessionStore.js
 %{_libdir}/%{name}/components/nsSetDefaultBrowser.js
 %{_libdir}/%{name}/components/nsSidebar.js
+%{_libdir}/%{name}/components/PageThumbsProtocol.js
+%{_libdir}/%{name}/components/ProfileMigrator.js
 
 %{_libdir}/%{name}/components/components.manifest
 %{_libdir}/%{name}/components/interfaces.manifest
 
+%{_libdir}/%{name}/update-settings.ini
+
 %if %{without xulrunner}
 %{_libdir}/%{name}/platform.ini
 %{_libdir}/%{name}/components/ConsoleAPI.js
@@ -447,7 +457,6 @@
 %{_libdir}/%{name}/components/nsSearchService.js
 %{_libdir}/%{name}/components/nsSearchSuggestions.js
 %{_libdir}/%{name}/components/nsTaggingService.js
-%{_libdir}/%{name}/components/nsTryToClose.js
 %{_libdir}/%{name}/components/nsURLFormatter.js
 %{_libdir}/%{name}/components/nsUpdateTimerManager.js
 %{_libdir}/%{name}/components/nsUrlClassifierHashCompleter.js
@@ -491,6 +500,7 @@
 %{_libdir}/%{name}/xulrunner
 %else
 %{_libdir}/%{name}/dictionaries
+%{_libdir}/%{name}/hyphenation
 %{_libdir}/%{name}/greprefs.js
 %{_libdir}/%{name}/res
 %endif
@@ -520,6 +530,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.280  2012/05/29 13:32:24  qboosh
+- updated to 12.0
+
 Revision 1.279  2012/03/24 18:47:40  qboosh
 - updated to 11.0
 

================================================================
Index: packages/mozilla-firefox/mozilla-firefox-bug-722975-workaround.patch
diff -u /dev/null packages/mozilla-firefox/mozilla-firefox-bug-722975-workaround.patch:1.1
--- /dev/null	Tue May 29 15:32:30 2012
+++ packages/mozilla-firefox/mozilla-firefox-bug-722975-workaround.patch	Tue May 29 15:32:24 2012
@@ -0,0 +1,34 @@
+--- firefox/gfx/thebes/gfxPlatform.cpp~	2012-02-07 11:59:39.717184907 +0000
++++ firefox/gfx/thebes/gfxPlatform.cpp	2012-02-07 13:06:01.084668445 +0000
+@@ -446,6 +446,7 @@
+   static_cast<SourceSurface*>(srcBuffer)->Release();
+ }
+ 
++#ifdef MOZ_TREE_CAIRO
+ void SourceSnapshotDetached(cairo_surface_t *nullSurf)
+ {
+   gfxImageSurface* origSurf =
+@@ -453,6 +454,7 @@
+ 
+   origSurf->SetData(&kSourceSurface, NULL, NULL);
+ }
++#endif
+ 
+ RefPtr<SourceSurface>
+ gfxPlatform::GetSourceSurfaceForSurface(DrawTarget *aTarget, gfxASurface *aSurface)
+@@ -522,6 +524,7 @@
+                                                      imgSurface->Stride(),
+                                                      format);
+ 
++    #ifdef MOZ_TREE_CAIRO
+     cairo_surface_t *nullSurf =
+ 	cairo_null_surface_create(CAIRO_CONTENT_COLOR_ALPHA);
+     cairo_surface_set_user_data(nullSurf,
+@@ -530,6 +533,7 @@
+ 				NULL);
+     cairo_surface_attach_snapshot(imgSurface->CairoSurface(), nullSurf, SourceSnapshotDetached);
+     cairo_surface_destroy(nullSurf);
++    #endif
+   }
+ 
+   srcBuffer->AddRef();
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/mozilla-firefox/mozilla-firefox-prefs.patch?r1=1.6&r2=1.7
    http://cvs.pld-linux.org/packages/mozilla-firefox/mozilla-firefox.spec?r1=1.279&r2=1.280



More information about the pld-cvs-commit mailing list