summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-07-25 15:42:47 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-07-25 15:42:47 +0000
commit5941aee2d970e409d096881f867caf21df4ae322 (patch)
treee8699f0a4d25908832c51fbd088640643b97d43f /www-client
parentStable on alpha, bug #324485 (diff)
downloadgentoo-2-5941aee2d970e409d096881f867caf21df4ae322.tar.gz
gentoo-2-5941aee2d970e409d096881f867caf21df4ae322.tar.bz2
gentoo-2-5941aee2d970e409d096881f867caf21df4ae322.zip
Added the fixes from firefox-3.6.8 to icecat-3.6.7.
(Portage version: 2.2_rc67/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/icecat/ChangeLog10
-rw-r--r--www-client/icecat/files/mozilla-1.9.2.8.diff46
-rw-r--r--www-client/icecat/icecat-3.6.7-r1.ebuild (renamed from www-client/icecat/icecat-3.6.7.ebuild)8
3 files changed, 61 insertions, 3 deletions
diff --git a/www-client/icecat/ChangeLog b/www-client/icecat/ChangeLog
index fb964f411a28..210e6910985f 100644
--- a/www-client/icecat/ChangeLog
+++ b/www-client/icecat/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-client/icecat
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/icecat/ChangeLog,v 1.31 2010/07/25 13:46:35 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/icecat/ChangeLog,v 1.32 2010/07/25 15:42:46 polynomial-c Exp $
+
+*icecat-3.6.7-r1 (25 Jul 2010)
+
+ 25 Jul 2010; Lars Wendler <polynomial-c@gentoo.org>
+ +files/mozilla-1.9.2.8.diff, -icecat-3.6.7.ebuild,
+ +icecat-3.6.7-r1.ebuild:
+ Added the fixes from firefox-3.6.8 to icecat-3.6.7. It's now technically
+ icecat-3.6.8 which still wasn't released at the time of this change.
25 Jul 2010; Jeroen Roovers <jer@gentoo.org> icecat-3.6.7.ebuild:
Stable for PPC (bug #329279).
diff --git a/www-client/icecat/files/mozilla-1.9.2.8.diff b/www-client/icecat/files/mozilla-1.9.2.8.diff
new file mode 100644
index 000000000000..e3afbe50941d
--- /dev/null
+++ b/www-client/icecat/files/mozilla-1.9.2.8.diff
@@ -0,0 +1,46 @@
+--- mozilla-1.9.2.7/browser/config/version.txt 2010-07-13 21:10:45.000000000 +0200
++++ mozilla-1.9.2.8/browser/config/version.txt 2010-07-22 23:55:27.000000000 +0200
+@@ -1 +1 @@
+-3.6.7
++3.6.8
+--- mozilla-1.9.2.7/config/milestone.txt 2010-07-13 21:10:45.000000000 +0200
++++ mozilla-1.9.2.8/config/milestone.txt 2010-07-22 23:55:27.000000000 +0200
+@@ -10,4 +10,4 @@
+ # hardcoded milestones in the tree from these two files.
+ #--------------------------------------------------------
+
+-1.9.2.7
++1.9.2.8
+--- mozilla-1.9.2.7/js/src/config/milestone.txt 2010-07-13 21:10:45.000000000 +0200
++++ mozilla-1.9.2.8/js/src/config/milestone.txt 2010-07-22 23:55:27.000000000 +0200
+@@ -10,4 +10,4 @@
+ # hardcoded milestones in the tree from these two files.
+ #--------------------------------------------------------
+
+-1.9.2.7
++1.9.2.8
+--- mozilla-1.9.2.7/layout/generic/nsObjectFrame.cpp 2010-07-13 21:10:22.000000000 +0200
++++ mozilla-1.9.2.8/layout/generic/nsObjectFrame.cpp 2010-07-22 23:55:01.000000000 +0200
+@@ -3588,9 +3588,10 @@
+ // to the bottom of the array if there isn't already a "src" specified.
+ PRUint16 numRealAttrs = mNumCachedAttrs;
+ nsAutoString data;
+- if (mContent->Tag() == nsGkAtoms::object
+- && !mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::src)
+- && mContent->GetAttr(kNameSpaceID_None, nsGkAtoms::data, data)) {
++ if (mContent->Tag() == nsGkAtoms::object &&
++ !mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::src) &&
++ mContent->GetAttr(kNameSpaceID_None, nsGkAtoms::data, data) &&
++ !data.IsEmpty()) {
+ mNumCachedAttrs++;
+ }
+
+@@ -3648,7 +3649,7 @@
+ }
+
+ // if the conditions above were met, copy the "data" attribute to a "src" array entry
+- if (data.Length()) {
++ if (!data.IsEmpty()) {
+ mCachedAttrParamNames [nextAttrParamIndex] = ToNewUTF8String(NS_LITERAL_STRING("SRC"));
+ mCachedAttrParamValues[nextAttrParamIndex] = ToNewUTF8String(data);
+ nextAttrParamIndex++;
diff --git a/www-client/icecat/icecat-3.6.7.ebuild b/www-client/icecat/icecat-3.6.7-r1.ebuild
index c0257fa7ffcd..7898ee6ca412 100644
--- a/www-client/icecat/icecat-3.6.7.ebuild
+++ b/www-client/icecat/icecat-3.6.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/icecat/icecat-3.6.7.ebuild,v 1.3 2010/07/25 13:46:35 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/icecat/icecat-3.6.7-r1.ebuild,v 1.1 2010/07/25 15:42:46 polynomial-c Exp $
EAPI="2"
WANT_AUTOCONF="2.1"
@@ -18,7 +18,8 @@ MAJ_XUL_PV="1.9.2"
MAJ_PV="${PV/_*/}" # Without the _rc and _beta stuff
DESKTOP_PV="3.6"
MY_PV="${PV/_rc/rc}" # Handle beta for SRC_URI
-XUL_PV="${MAJ_XUL_PV}${MAJ_PV/${DESKTOP_PV}/}" # Major + Minor version no.s
+#XUL_PV="${MAJ_XUL_PV}${MAJ_PV/${DESKTOP_PV}/}" # Major + Minor version no.s
+XUL_PV="${MAJ_XUL_PV}.8"
FIREFOX_PN="mozilla-firefox"
FIREFOX_P="${FIREFOX_PN}-${PV}"
PATCH="${FIREFOX_PN}-3.6-patches-0.6"
@@ -135,6 +136,9 @@ src_prepare() {
# Enable tracemonkey for amd64 (bug #315997)
epatch "${FILESDIR}/801-enable-x86_64-tracemonkey.patch"
+ # Convert 3.6.7 into 3.6.8
+ epatch "${FILESDIR}/mozilla-1.9.2.8.diff"
+
# Fix rebranding
sed -i 's|\$(DIST)/bin/firefox|\$(DIST)/bin/icecat|' browser/app/Makefile.in