~mozillateam/firefox/firefox-beta.raring

« back to all changes in this revision

Viewing changes to debian/patches/mozilla-kde.patch

  • Committer: Chris Coulson
  • Date: 2011-09-24 18:13:00 UTC
  • mto: This revision was merged to the branch mainline in revision 879.
  • Revision ID: chris.coulson@canonical.com-20110924181300-3r9id02mgap6gop9
* Provide a useful error message when trying to build the source package
  with an out of date control file
  - update debian/rules
* Provide a way to prevent the source package from being built if the list
  of shipped locales changed upstream. Note that this is disabled on
  nightly and aurora
  - update debian/rules
  - add debian/extract-file.py
* Move custom scripts to debian/build
  - move debian/get-xpi-id.py to debian/build/get-xpi-id.py
  - move debian/refresh-supported-locales.pl to
     debian/build/refresh-supported-locales.pl
  - move debian/extract-file.py to debian/build/extract-file.py
  - update debian/rules
* Dropped patches fixed upstream:
  - remove debian/patches/build-fix-for-no-ENABLE_YARR_JIT.patch
  - remove debian/patches/compile-pldhash-as-C++.patch
  - update debian/patches/series
* Refresh patches:
  - update debian/patches/firefox-kde.patch
  - update debian/patches/mozilla-kde.patch
  - update debian/patches/ubuntu-codes-google.patch
* Update support for doing PGO builds:
  - Add "mk_add_options MOZ_PGO=1" to mozconfig when doing a PGO build,
    rather than changing the make target to "profiledbuild"
    - update debian/mozconfig.in
    - update debian/rules
  - Run the profiling 10 times
    - update debian/mozconfig.in
  - Don't turn off the crash reporter or force unofficial branding for PGO
    builds
    - update debian/rules
  - Don't force the compiler to gcc-4.5 when doing PGO builds. Instead,
    we will just rely on the default compiler and not enable PGO on
    Ubuntu versions which don't have a new enough toolchain
    - update debian/rules
* Shrink the default mozconfig right down, by using defaults rather than
  forcing things like --disable-system-cairo and friends. We still retain
  the ability to override the defaults though by setting MOZ_OVERRIDE_SHLIBS
  to either "tree" or "system", but we use upstream defaults now. We also
  drop the pkg-config checks in debian/rules which allowed a fallback build
  configuration when dependencies aren't satisfied. Really, the build should
  just fail here rather than continuing in some undesirable fallback mode
  - update debian/firefox-dev.install.in
  - update debian/firefox-dev.links.in 
  - update debian/mozconfig.in
  - update debian/pkgconfig/libxul.pc.in
  - update debian/control.in
  - update debian/rules
* Refresh build-depends, as this hasn't been done for a while:
  - Drop patchutils, libxft-dev, libxinerama-dev, libgnome2-dev and bzip2.
    These don't appear to be needed
  - Drop liborbit2-dev - only appears to be required if there is no libidl
  - Add libglib2.0-dev, libext-dev, libfontconfig1-dev and libpango1.0-dev,
    as the configure script checks for these directly
  - Add minimum versions to libgconf2-dev, libgnomevfs2-dev, yasm and
    libgnomeui-dev
  - Specify minimum versions for libnspr4-dev, libcairo2-dev, libsqlite3-dev
    and libnss3-dev when using system versions of those libs
* Disable gconf support on >= 11.10
  - update debian/rules
  - update debian/mozconfig.in
* Refresh binary dependencies:
  - Change ubufox recommends to xul-ext-ubufox
  - Drop psmisc and fontconfig depends. We don't appear to use any binaries
    from either of these packages
  - Drop debianutils dependency. This is an essential package
* Disable printing of a lot of makefile commands to reduce noise. Also
  add some headers in various places
  - update debian/rules
* Introduce a branch-specific config file (debian/config/branch.mk) which
  will hold settings that are tied to a specific branch, and which shouldn't
  be merged between branches when merging new Firefox versions (eg, whether
  the crash reporter should be enabled on a branch). The idea is to confine
  these types of settings to a single file
  - add debian/config/branch.mk
  - update debian/rules
* Move debian/locales.* to debian/config
  - move debian/locales.shipped => debian/config/locales.shipped
  - move debian/locales.unavail => debian/config/locales.unavail
  - move debian/locales.blacklist => debian/config/locales.blacklist
  - update debian/rules
  - update debian/build/refresh-supported-locales.pl
* Move debian/testsuite.mk to debian/build
* Don't open about:blank from the New Window quicklist entry
  - update debian/firefox.desktop.in
* We need to keep the complete list of language packs (shipped and
  transitional) in sync between branches. However, this was proving to be
  difficult because the list was split across 2 files (locales.shipped
  and locales.unavailable). Rework this so that we have a locales.all
  (containing the list of current and past language packs), and a
  locales.shipped. The locales.all can be easily kept in sync between
  branches now, so we end up with the correct transitional language packs
  on branches which have some languages disabled. This also makes it
  more complicated to add the language packs to debian/control though, so
  we offload this to a new perl script now rather than trying to do it all
  in bash
  - add debian/build/dump-langpack-control-entries.pl
  - update debian/build/refresh-supported-locales.pl
  - add debian/config/locales.all
  - update debian/config/locales.shipped
  - remove debian/config/locales.unavailable
  - update debian/control
  - update debian/rules
* Touch debian/control.in during clean to force a refresh of debian/control,
  so we can check if it is out-of-date and fail if it is
  - update debian/rules
* Ensure that we get the correct package relationships depending on the
  target distro version
  - update debian/control.in
  - update debian/rules
  - refresh debian/control
* Drop the mozilla-devscripts dependency. We were only using this for creating
  tarballs anyway. Instead, implement our own get-orig-source target, which
  also fixes some problems we were having
  - update debian/control.in
  - remove debian/moz-rev.sh
  - update debian/rules
  - remove debian/mozclient/firefox.mk
  - remove debian/mozclient/firefox.conf
  - update debian/config/branch.mk
  - add debian/build/create-source
  - add debian/build/get-orig-source.mk
* Drop the 'nobinonly' suffix from the version number. All this really does
  is make the version number longer without adding any useful information,
  because:
  - We don't strip all binary files as there are a lot remaining which are
    used by the test-suite (eg, images, fonts, videos, sqlite dbs, extensions)
  - Stripping binary files from the source tarball isn't the only change we
    make to it. We also merge in the upstream l10n data, but we don't
    indicate that in the version number
* Keep a copy of shipped-locales outside of the embedded tar.bz2. This
  makes it faster to verify the list of shipped locales when creating
  source packages
  - update debian/build/create-tarball.py
  - update debian/build/extract-file.py
  - update debian/rules
* When calling refresh-supported-locales, automatically refresh
  debian/control too
  - update debian/rules
* Fix LP: #758111 - update ubuntulinux.org bookmark - thanks to Jonathan
  Rothwell for the patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1052
1052
       return gnomeInfo;
1053
1053
--- a/widget/src/gtk2/Makefile.in
1054
1054
+++ b/widget/src/gtk2/Makefile.in
1055
 
@@ -139,6 +139,9 @@ INCLUDES    += \
1056
 
                -I$(srcdir)/../shared \
 
1055
@@ -140,6 +140,9 @@ INCLUDES    += \
 
1056
                -I$(topsrcdir)/layout/xul/base/src \
1057
1057
                -I$(topsrcdir)/other-licenses/atk-1.0 \
1058
1058
                $(NULL)
1059
1059
+
1072
1072
 
1073
1073
 #include "nsIFileURL.h"
1074
1074
 #include "nsIURI.h"
1075
 
@@ -55,6 +56,7 @@
 
1075
@@ -54,6 +55,7 @@
 
1076
 #include "prlink.h"
1076
1077
 
1077
1078
 #include "nsFilePicker.h"
1078
 
 #include "nsAccessibilityHelper.h"
1079
1079
+#include "nsKDEUtils.h"
1080
1080
 
1081
1081
 #if (MOZ_PLATFORM_MAEMO == 5)
1082
1082
 #include <hildon-fm-2/hildon/hildon-file-chooser-dialog.h>
1083
 
@@ -287,7 +289,9 @@ nsFilePicker::AppendFilter(const nsAStri
 
1083
@@ -286,7 +288,9 @@ nsFilePicker::AppendFilter(const nsAStri
1084
1084
 {
1085
1085
   if (aFilter.EqualsLiteral("..apps")) {
1086
1086
     // No platform specific thing we can do here, really....
1091
1091
   }
1092
1092
 
1093
1093
   nsCAutoString filter, name;
1094
 
@@ -435,6 +439,9 @@ confirm_overwrite_file(GtkWidget *parent
 
1094
@@ -434,6 +438,9 @@ confirm_overwrite_file(GtkWidget *parent
1095
1095
 NS_IMETHODIMP
1096
1096
 nsFilePicker::Show(PRInt16 *aReturn)
1097
1097
 {
1101
1101
   NS_ENSURE_ARG_POINTER(aReturn);
1102
1102
 
1103
1103
   nsXPIDLCString title;
1104
 
@@ -585,3 +592,229 @@ nsFilePicker::Show(PRInt16 *aReturn)
 
1104
@@ -584,3 +591,229 @@ nsFilePicker::Show(PRInt16 *aReturn)
1105
1105
 
1106
1106
   return NS_OK;
1107
1107
 }
1483
1483
 #if defined(XP_WIN) || defined(XP_MACOSX) || defined(ANDROID)
1484
1484
--- a/toolkit/components/downloads/Makefile.in
1485
1485
+++ b/toolkit/components/downloads/Makefile.in
1486
 
@@ -82,3 +82,5 @@ DIRS += test
 
1486
@@ -80,3 +80,5 @@ DIRS += test
1487
1487
 endif
1488
1488
 
1489
1489
 include $(topsrcdir)/config/rules.mk