merge from default ff-standalone
authorWolfgang Rosenauer <wr@rosenauer.org>
Wed, 29 Sep 2010 21:10:52 +0200
branchff-standalone
changeset 165 8999a1897364
parent 163 8211d170d1e4 (current diff)
parent 164 995e803e8198 (diff)
child 166 3049ea671f71
merge from default
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/firefox-credits.patch
MozillaFirefox/firefox-tabview.patch
firefox-credits.patch
firefox-tabview.patch
--- a/MozillaFirefox/MozillaFirefox.spec	Wed Sep 29 20:56:25 2010 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec	Wed Sep 29 21:10:52 2010 +0200
@@ -77,7 +77,6 @@
 Patch12:        mozilla-language.patch
 # Firefox/browser
 Patch30:        firefox-libxul-sdk.patch
-Patch31:        firefox-credits.patch
 Patch32:        firefox-linkorder.patch
 Patch33:        firefox-browser-css.patch
 Patch34:        firefox-cross-desktop.patch
@@ -87,7 +86,6 @@
 Patch38:        firefox-no-sync-l10n.patch
 Patch39:        firefox-sync-system-nss.patch
 Patch40:        firefox-sync-build.patch
-Patch41:        firefox-tabview.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires(post):   coreutils shared-mime-info desktop-file-utils
 Requires(postun): shared-mime-info desktop-file-utils
@@ -209,7 +207,6 @@
 %patch12 -p1
 # Firefox/browser
 %patch30 -p1
-%patch31 -p1
 %patch32 -p1
 %patch33 -p1
 %patch34 -p1
@@ -223,7 +220,6 @@
 %patch38 -p1
 %patch39 -p1
 %patch40 -p1
-%patch41 -p1
 
 %build
 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
--- a/MozillaFirefox/firefox-credits.patch	Wed Sep 29 20:56:25 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../firefox-credits.patch
\ No newline at end of file
--- a/MozillaFirefox/firefox-tabview.patch	Wed Sep 29 20:56:25 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../firefox-tabview.patch
\ No newline at end of file
--- a/firefox-credits.patch	Wed Sep 29 20:56:25 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-diff --git a/browser/base/content/credits.xhtml b/browser/base/content/credits.xhtml
---- a/browser/base/content/credits.xhtml
-+++ b/browser/base/content/credits.xhtml
-@@ -581,16 +581,19 @@
-             <li>Kohei Yoshino</li>
-             <li>Shigeru Yoshitake</li>
-             <li>Tanner M. Young</li>
-             <li>Boris Zbarsky</li>
-             <li>Marco Zehe</li>
-             <li>Matthew Zeier</li>
-           </ul>
- 
-+          <h3>openSUSE RPM packaging</h3>
-+	  <ul><li>Wolfgang Rosenauer</li></ul>
-+
-           <div dir="&locale.dir;">
-             &credit.translation;
-           </div>
-         </div>
- 
-         <!-- organizational supporters -->
-         <div class="creditsGroup">
-           <h3 dir="&locale.dir;">&credit.thanks;</h3>
--- a/firefox-kde.patch	Wed Sep 29 20:56:25 2010 +0200
+++ b/firefox-kde.patch	Wed Sep 29 21:10:52 2010 +0200
@@ -1121,20 +1121,20 @@
 diff --git a/browser/base/jar.mn b/browser/base/jar.mn
 --- a/browser/base/jar.mn
 +++ b/browser/base/jar.mn
-@@ -22,16 +22,18 @@ browser.jar:
+@@ -20,16 +20,18 @@ browser.jar:
+ *       content/browser/aboutHome.xhtml               (content/aboutHome.xhtml)
+ *       content/browser/aboutHome.js                  (content/aboutHome.js)
  *       content/browser/aboutHome.css                 (content/aboutHome.css)
          content/browser/aboutRobots-icon.png          (content/aboutRobots-icon.png)
-         content/browser/aboutRobots-icon-rtl.png      (content/aboutRobots-icon-rtl.png)
          content/browser/aboutRobots-widget-left.png   (content/aboutRobots-widget-left.png)
-         content/browser/aboutRobots-widget-right.png  (content/aboutRobots-widget-right.png)
  *       content/browser/browser.css                   (content/browser.css)
  *       content/browser/browser.js                    (content/browser.js)
  *       content/browser/browser.xul                   (content/browser.xul)
 +*       content/browser/browser-kde.xul               (content/browser-kde.xul)
 +%       override chrome://browser/content/browser.xul chrome://browser/content/browser-kde.xul desktop=kde
  *       content/browser/browser-tabPreviews.xml       (content/browser-tabPreviews.xml)
- *       content/browser/credits.xhtml                 (content/credits.xhtml)
  *       content/browser/fullscreen-video.xhtml        (content/fullscreen-video.xhtml)
+ *       content/browser/inspector.html                (content/inspector.html)
  *       content/browser/pageinfo/pageInfo.xul         (content/pageinfo/pageInfo.xul)
  *       content/browser/pageinfo/pageInfo.js          (content/pageinfo/pageInfo.js)
  *       content/browser/pageinfo/pageInfo.css         (content/pageinfo/pageInfo.css)
@@ -1595,7 +1595,7 @@
 diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
 --- a/browser/installer/package-manifest.in
 +++ b/browser/installer/package-manifest.in
-@@ -429,16 +429,17 @@
+@@ -431,16 +431,17 @@
  #endif
  #endif
  
--- a/firefox-tabview.patch	Wed Sep 29 20:56:25 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-# HG changeset patch
-# Parent d4d706483e1378477430197d3366a6e4d6dbb9cd
-tabview is part of Firefox and not GRE
-
-diff --git a/browser/base/content/tabview/tabview.js b/browser/base/content/tabview/tabview.js
---- a/browser/base/content/tabview/tabview.js
-+++ b/browser/base/content/tabview/tabview.js
-@@ -1,15 +1,15 @@
- const Cc = Components.classes;
- const Ci = Components.interfaces;
- const Cu = Components.utils;
- 
--Cu.import("resource://gre/modules/tabview/AllTabs.jsm");
--Cu.import("resource://gre/modules/tabview/groups.jsm");
--Cu.import("resource://gre/modules/tabview/utils.jsm");
-+Cu.import("resource:///modules/tabview/AllTabs.jsm");
-+Cu.import("resource:///modules/tabview/groups.jsm");
-+Cu.import("resource:///modules/tabview/utils.jsm");
- Cu.import("resource://gre/modules/Services.jsm");
- Cu.import("resource://gre/modules/XPCOMUtils.jsm");
- 
- XPCOMUtils.defineLazyGetter(this, "gWindow", function() {
-   return window.QueryInterface(Ci.nsIInterfaceRequestor).
-     getInterface(Ci.nsIWebNavigation).
-     QueryInterface(Ci.nsIDocShell).
-     chromeEventHandler.ownerDocument.defaultView;
--- a/mozilla-kde.patch	Wed Sep 29 20:56:25 2010 +0200
+++ b/mozilla-kde.patch	Wed Sep 29 21:10:52 2010 +0200
@@ -21,9 +21,9 @@
 diff --git a/modules/libpref/src/nsPrefService.cpp b/modules/libpref/src/nsPrefService.cpp
 --- a/modules/libpref/src/nsPrefService.cpp
 +++ b/modules/libpref/src/nsPrefService.cpp
-@@ -51,16 +51,17 @@
- #include "nsILocalFile.h"
- #include "nsIObserverService.h"
+@@ -55,16 +55,17 @@
+ #include "nsIStringEnumerator.h"
+ #include "nsIZipReader.h"
  #include "nsPrefBranch.h"
  #include "nsXPIDLString.h"
  #include "nsCRT.h"
@@ -39,7 +39,7 @@
  #include "prefapi.h"
  #include "prefread.h"
  #include "prefapi_private_data.h"
-@@ -718,28 +719,40 @@ static nsresult pref_InitDefaults()
+@@ -837,28 +838,40 @@ static nsresult pref_InitDefaults()
    /* these pref file names should not be used: we process them after all other application pref files for backwards compatibility */
    static const char* specialFiles[] = {
  #if defined(XP_MAC) || defined(XP_MACOSX)
@@ -2088,7 +2088,7 @@
 diff --git a/toolkit/xre/Makefile.in b/toolkit/xre/Makefile.in
 --- a/toolkit/xre/Makefile.in
 +++ b/toolkit/xre/Makefile.in
-@@ -95,17 +95,18 @@ CMMSRCS = nsNativeAppSupportCocoa.mm
+@@ -97,17 +97,18 @@ CMMSRCS = nsNativeAppSupportCocoa.mm
  else
  ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
  CPPSRCS += nsNativeAppSupportOS2.cpp
@@ -3104,7 +3104,7 @@
 diff --git a/widget/src/gtk2/Makefile.in b/widget/src/gtk2/Makefile.in
 --- a/widget/src/gtk2/Makefile.in
 +++ b/widget/src/gtk2/Makefile.in
-@@ -155,11 +155,14 @@ endif
+@@ -157,11 +157,14 @@ endif
  
  DEFINES		+= -DCAIRO_GFX
  
@@ -3458,7 +3458,7 @@
 diff --git a/xpcom/components/Makefile.in b/xpcom/components/Makefile.in
 --- a/xpcom/components/Makefile.in
 +++ b/xpcom/components/Makefile.in
-@@ -98,10 +98,11 @@ FORCE_STATIC_LIB = 1
+@@ -94,10 +94,11 @@ FORCE_STATIC_LIB = 1
  
  # Force use of PIC
  FORCE_USE_PIC	= 1
--- a/mozilla-pkgconfig.patch	Wed Sep 29 20:56:25 2010 +0200
+++ b/mozilla-pkgconfig.patch	Wed Sep 29 21:10:52 2010 +0200
@@ -24,7 +24,7 @@
  # to register xulrunner per-user, override this with $HOME/.gre.d
  regdir = /etc/gre.d
  
-@@ -109,16 +112,17 @@ pkg_config_files += mozilla-nss.pc
+@@ -116,16 +119,17 @@ pkg_config_files += mozilla-nss.pc
  endif
  
  %.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS)
@@ -40,8 +40,8 @@
  	-e "s|%FULL_NSPR_LIBS%|$(FULL_NSPR_LIBS)|" \
  	-e "s|%FULL_NSPR_CFLAGS%|$(FULL_NSPR_CFLAGS)|" \
  	-e "s|%NSPR_NAME%|$(NSPR_NAME)|" \
- 	-e "s|%NSPR_VERSION%|$(NSPR_VERSION)|" > $@
- 	chmod 644 $@
+ 	-e "s|%NSPR_VERSION%|$(NSPR_VERSION)|" \
+ 	-e "s|%MOZ_XUL_LINK%|$(MOZ_XUL_LINK)|" \
 diff --git a/xulrunner/installer/libxul-embedding.pc.in b/xulrunner/installer/libxul-embedding.pc.in
 --- a/xulrunner/installer/libxul-embedding.pc.in
 +++ b/xulrunner/installer/libxul-embedding.pc.in
@@ -72,7 +72,7 @@
  Description: The Mozilla Runtime and Embedding Engine
  Version: %MOZILLA_VERSION%
  Requires: %NSPR_NAME% >= %NSPR_VERSION%
- Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom
+ Libs: -L${sdkdir}/lib %MOZ_XUL_LINK%
 diff --git a/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in b/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
 --- a/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
 +++ b/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
@@ -112,6 +112,6 @@
  Description: The Mozilla JavaScript Library
  Version: %MOZILLA_VERSION%
  Requires: %NSPR_NAME% >= %NSPR_VERSION%
--Libs: -L${sdkdir}/lib -lmozjs
-+Libs: -Wl,-rpath,${libdir} -L${sdkdir}/lib -lmozjs
+-Libs: -L${sdkdir}/lib %MOZ_JS_LINK%
++Libs: -Wl,-rpath,${libdir} -L${sdkdir}/lib %MOZ_JS_LINK%
  Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
--- a/mozilla-shared-nss-db.patch	Wed Sep 29 20:56:25 2010 +0200
+++ b/mozilla-shared-nss-db.patch	Wed Sep 29 21:10:52 2010 +0200
@@ -7,7 +7,7 @@
 diff --git a/config/autoconf.mk.in b/config/autoconf.mk.in
 --- a/config/autoconf.mk.in
 +++ b/config/autoconf.mk.in
-@@ -560,16 +560,20 @@ MOZ_ALSA_LIBS           = @MOZ_ALSA_LIBS
+@@ -564,16 +564,20 @@ MOZ_ALSA_LIBS           = @MOZ_ALSA_LIBS
  
  GLIB_CFLAGS	= @GLIB_CFLAGS@
  GLIB_LIBS	= @GLIB_LIBS@
@@ -22,16 +22,16 @@
 +
  MOZ_NATIVE_MAKEDEPEND	= @SYSTEM_MAKEDEPEND@
  
+ export CL_INCLUDES_PREFIX = @CL_INCLUDES_PREFIX@
+ 
  MOZ_AUTO_DEPS	= @MOZ_AUTO_DEPS@
  COMPILER_DEPEND = @COMPILER_DEPEND@
  MDDEPDIR        := @MDDEPDIR@
  CC_WRAPPER = @CC_WRAPPER@
- CXX_WRAPPER = @CXX_WRAPPER@
- 
 diff --git a/configure.in b/configure.in
 --- a/configure.in
 +++ b/configure.in
-@@ -8452,16 +8452,31 @@ AC_SUBST(QCMS_LIBS)
+@@ -8550,16 +8550,31 @@ AC_SUBST(QCMS_LIBS)
  
  dnl ========================================================
  dnl HarfBuzz
--- a/series	Wed Sep 29 20:56:25 2010 +0200
+++ b/series	Wed Sep 29 21:10:52 2010 +0200
@@ -16,7 +16,6 @@
 
 # Firefox patches
 firefox-libxul-sdk.patch
-firefox-credits.patch
 firefox-linkorder.patch
 firefox-browser-css.patch
 firefox-cross-desktop.patch
@@ -26,4 +25,3 @@
 firefox-no-sync-l10n.patch
 firefox-sync-system-nss.patch
 firefox-sync-build.patch
-firefox-tabview.patch