summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2005-07-12 18:51:17 +0000
committerAron Griffis <agriffis@gentoo.org>2005-07-12 18:51:17 +0000
commit339ef427842bdcc4bb561f8479825fad17f5ef23 (patch)
tree055d2532c56a732ac2139e680812dbaf6a2acde6 /www-client
parentadding lm-sensors in init script. closes #95514 (diff)
downloadhistorical-339ef427842bdcc4bb561f8479825fad17f5ef23.tar.gz
historical-339ef427842bdcc4bb561f8479825fad17f5ef23.tar.bz2
historical-339ef427842bdcc4bb561f8479825fad17f5ef23.zip
Move mozilla-firefox-1.0-4ft2.patch to mirrors. Put patches in
d.g.o/~agriffis/dist as a secondary source Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'www-client')
-rw-r--r--www-client/mozilla-firefox/ChangeLog10
-rw-r--r--www-client/mozilla-firefox/Manifest33
-rw-r--r--www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.21
-rw-r--r--www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2-r11
-rw-r--r--www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.31
-rw-r--r--www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3-r11
-rw-r--r--www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.42
-rw-r--r--www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4-r11
-rw-r--r--www-client/mozilla-firefox/files/mozilla-firefox-1.0-4ft2.patch654
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.0.2-r1.ebuild8
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.0.2.ebuild8
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.0.3-r1.ebuild9
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild8
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.0.4-r1.ebuild10
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.0.4.ebuild11
15 files changed, 68 insertions, 690 deletions
diff --git a/www-client/mozilla-firefox/ChangeLog b/www-client/mozilla-firefox/ChangeLog
index e5f8439fdc63..88e86f29be74 100644
--- a/www-client/mozilla-firefox/ChangeLog
+++ b/www-client/mozilla-firefox/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-client/mozilla-firefox
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.38 2005/07/11 21:00:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.39 2005/07/12 18:51:17 agriffis Exp $
+
+ 12 Jul 2005; Aron Griffis <agriffis@gentoo.org>
+ -files/mozilla-firefox-1.0-4ft2.patch, mozilla-firefox-1.0.2.ebuild,
+ mozilla-firefox-1.0.2-r1.ebuild, mozilla-firefox-1.0.3.ebuild,
+ mozilla-firefox-1.0.3-r1.ebuild, mozilla-firefox-1.0.4.ebuild,
+ mozilla-firefox-1.0.4-r1.ebuild:
+ Move mozilla-firefox-1.0-4ft2.patch to mirrors. Put patches in
+ d.g.o/~agriffis/dist as a secondary source
*mozilla-firefox-1.0.4-r1 (11 Jul 2005)
diff --git a/www-client/mozilla-firefox/Manifest b/www-client/mozilla-firefox/Manifest
index 7a795e615c94..34385900f380 100644
--- a/www-client/mozilla-firefox/Manifest
+++ b/www-client/mozilla-firefox/Manifest
@@ -1,35 +1,34 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 e832104385994f90bbafe2bf4a82d791 mozilla-firefox-1.0.4.ebuild 8406
-MD5 3baf9f64ec7da4da77b290d1f59d5152 mozilla-firefox-1.0.2-r1.ebuild 7822
+MD5 ff92e4004d14a30090204a60eb56972a mozilla-firefox-1.0.4.ebuild 8724
+MD5 1381725e1ec5d4c2bd632c7025e7d426 mozilla-firefox-1.0.2-r1.ebuild 7950
MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
-MD5 28e01e1ef096bcb8de829216b38400a4 ChangeLog 23350
-MD5 e6177f7aca52fb5c71c02d00af78b005 mozilla-firefox-1.0.3.ebuild 7830
-MD5 ff4f729781b6e83275b352e688f7e4ad mozilla-firefox-1.0.4-r1.ebuild 8539
-MD5 0e1d0d985eb5cc1b7b2b49c0bd2a9f44 mozilla-firefox-1.0.3-r1.ebuild 8218
-MD5 dc120bae04a358fc78081993202b8837 mozilla-firefox-1.0.2.ebuild 6630
+MD5 154aa416692a4df3cef74e94f882deee ChangeLog 23747
+MD5 d4bcec8332c3374b32f10f1a2448f01f mozilla-firefox-1.0.3.ebuild 7958
+MD5 086c4743961c07450512ffec32d653b4 mozilla-firefox-1.0.4-r1.ebuild 8810
+MD5 6571beadc32beea35e52e47be732e384 mozilla-firefox-1.0.3-r1.ebuild 8421
+MD5 c7f6a0943a53243be7681bb32d2e37c9 mozilla-firefox-1.0.2.ebuild 6758
MD5 0aa74349ef4f69637967343f43540733 files/mozilla-firefox-1.0.3-prefs.patch 3406
MD5 8f8d70da6eb8cf07acbbb85fb0f08636 files/mozilla-hppa.patch 7863
-MD5 c1b444abfc62f5c642c44f44e2436308 files/digest-mozilla-firefox-1.0.3 75
+MD5 0abbcd1a3af79d6969e14e600ffd6004 files/digest-mozilla-firefox-1.0.3 152
MD5 a3ab6ae2213780c0e20c5b9aa8f018e9 files/mozilla-firefox-1.0.4-gcc4.patch 1818
-MD5 7870df97e6382caede680d440af594c1 files/digest-mozilla-firefox-1.0.2-r1 75
+MD5 bb49e8ba9d2443dc026ba1908bbaf195 files/digest-mozilla-firefox-1.0.2-r1 152
MD5 f48be110754a5106f06cd313c22c4337 files/svg-cairo-0.3.0-fix.patch 1063
MD5 48baf2f328e6478812c24e59037ff99c files/firefox-0.9-init.tar.bz2 3322
MD5 3961b39c763ff8f98b56098ac0cdbecc files/mozilla-firefox-1.0-kp_separator.patch 444
MD5 23d1fbd03cc6dd346a4e4ce8f2d88ebf files/mozilla-1.3-alpha-stubs.patch 4646
-MD5 7870df97e6382caede680d440af594c1 files/digest-mozilla-firefox-1.0.2 75
-MD5 6fade3151e26f920729f963aa5437167 files/digest-mozilla-firefox-1.0.4 154
-MD5 b16efe0e4066720b718d67348aeee757 files/mozilla-firefox-1.0-4ft2.patch 22294
-MD5 8661502c43d5ad43a7e325daef52c933 files/digest-mozilla-firefox-1.0.3-r1 154
-MD5 67dd00c3edb3369b2619c19c98303e16 files/digest-mozilla-firefox-1.0.4-r1 225
+MD5 bb49e8ba9d2443dc026ba1908bbaf195 files/digest-mozilla-firefox-1.0.2 152
+MD5 87cb7da5c73dfd3b1850a90fdb241476 files/digest-mozilla-firefox-1.0.4 302
+MD5 8a591e0c9549592c1aa4a9a71eab365d files/digest-mozilla-firefox-1.0.3-r1 231
+MD5 87cb7da5c73dfd3b1850a90fdb241476 files/digest-mozilla-firefox-1.0.4-r1 302
MD5 606e82226379fd5ae6cd1d0d1faff7ff files/10MozillaFirefox 31
MD5 2cdd03eb2752bc01ba07ad837e926f39 files/icon/mozillafirefox.desktop 168
MD5 bff260036c5dcca45da3218517fb33d8 files/icon/firefox-icon.png 3979
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFC0t3tBXaUFmZvwyMRAvdAAKCDGRztj8Zb0SEcf6wZDOXlHa+fpQCffOY/
-YrzK94I//FtB1D4XpEvLWyI=
-=t5i5
+iD8DBQFC1BFJBXaUFmZvwyMRAkvZAJ9YQkgZ5nK0UP3TlSi1QD8/UJU7rgCgnfTu
+C7A+SpZSbHdoBTyTLF+7hf8=
+=TNSC
-----END PGP SIGNATURE-----
diff --git a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2 b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2
index c3da6684282b..3ee3c64df0aa 100644
--- a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2
+++ b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2
@@ -1 +1,2 @@
MD5 fd1a0dec3e763e93eb45c0c34b399712 firefox-1.0.2-source.tar.bz2 32760074
+MD5 1d6205bf7449fcdcae08cc1db524760d mozilla-firefox-1.0-4ft2.patch.bz2 5601
diff --git a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2-r1 b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2-r1
index c3da6684282b..3ee3c64df0aa 100644
--- a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2-r1
+++ b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.2-r1
@@ -1 +1,2 @@
MD5 fd1a0dec3e763e93eb45c0c34b399712 firefox-1.0.2-source.tar.bz2 32760074
+MD5 1d6205bf7449fcdcae08cc1db524760d mozilla-firefox-1.0-4ft2.patch.bz2 5601
diff --git a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3 b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3
index 207e32c81b1f..81f4ac19c0b1 100644
--- a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3
+++ b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3
@@ -1 +1,2 @@
MD5 f1a9a8da0547564a0f8a249f9d56bdf4 firefox-1.0.3-source.tar.bz2 32784300
+MD5 1d6205bf7449fcdcae08cc1db524760d mozilla-firefox-1.0-4ft2.patch.bz2 5601
diff --git a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3-r1 b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3-r1
index f0a9dc481364..47673246ad59 100644
--- a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3-r1
+++ b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.3-r1
@@ -1,2 +1,3 @@
MD5 f1a9a8da0547564a0f8a249f9d56bdf4 firefox-1.0.3-source.tar.bz2 32784300
+MD5 1d6205bf7449fcdcae08cc1db524760d mozilla-firefox-1.0-4ft2.patch.bz2 5601
MD5 39c7b08477b68fe0cb3fba75970c8125 mozilla-firefox-1.0.3-ia64.patch.bz2 2531
diff --git a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4 b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4
index d1773736d006..8b1c891cb864 100644
--- a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4
+++ b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4
@@ -1,2 +1,4 @@
MD5 0f5d0586750fde79ba98ecf3ee4425a7 firefox-1.0.4-source.tar.bz2 32756592
+MD5 1d6205bf7449fcdcae08cc1db524760d mozilla-firefox-1.0-4ft2.patch.bz2 5601
MD5 39c7b08477b68fe0cb3fba75970c8125 mozilla-firefox-1.0.3-ia64.patch.bz2 2531
+MD5 7960994910bda4c14a52bc119f9ceefc mozilla-jslibmath-alpha.patch 625
diff --git a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4-r1 b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4-r1
index 8878810c8c3c..8b1c891cb864 100644
--- a/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4-r1
+++ b/www-client/mozilla-firefox/files/digest-mozilla-firefox-1.0.4-r1
@@ -1,3 +1,4 @@
MD5 0f5d0586750fde79ba98ecf3ee4425a7 firefox-1.0.4-source.tar.bz2 32756592
+MD5 1d6205bf7449fcdcae08cc1db524760d mozilla-firefox-1.0-4ft2.patch.bz2 5601
MD5 39c7b08477b68fe0cb3fba75970c8125 mozilla-firefox-1.0.3-ia64.patch.bz2 2531
MD5 7960994910bda4c14a52bc119f9ceefc mozilla-jslibmath-alpha.patch 625
diff --git a/www-client/mozilla-firefox/files/mozilla-firefox-1.0-4ft2.patch b/www-client/mozilla-firefox/files/mozilla-firefox-1.0-4ft2.patch
deleted file mode 100644
index 11028aba71cc..000000000000
--- a/www-client/mozilla-firefox/files/mozilla-firefox-1.0-4ft2.patch
+++ /dev/null
@@ -1,654 +0,0 @@
-This patch is from
-https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65 to enable
-linking against freetype-2.1.8+. It disables the experimental
-freetype caching. I modified this patch slightly to apply to 1.0;
-some things had moved around in the files since the original patch.
-
-15 Nov 2004 agriffis
-
---- gfx/idl/nsIFreeType2.idl.agriffis 2004-04-15 21:09:33.000000000 -0400
-+++ gfx/idl/nsIFreeType2.idl 2004-11-15 13:29:05.120343408 -0500
-@@ -98,8 +98,6 @@
- {
-
- readonly attribute FT_Library library;
-- readonly attribute FTC_Manager FTCacheManager;
-- readonly attribute FTC_Image_Cache ImageCache;
-
- void doneFace(in FT_Face face);
- void doneFreeType(in FT_Library lib);
-@@ -114,17 +112,8 @@
- in FT_Long face_num, out FT_Face face);
- void outlineDecompose(in FT_Outline_p outline,
- in const_FT_Outline_Funcs_p funcs, in voidPtr p);
-+ void setPixelSizes(in FT_Face face, in FT_UInt width, in FT_UInt height);
- void setCharmap(in FT_Face face, in FT_CharMap charmap);
-- void imageCacheLookup(in FTC_Image_Cache cache, in FTC_Image_Desc_p desc,
-- in FT_UInt gindex, out FT_Glyph glyph);
-- void managerLookupSize(in FTC_Manager manager, in FTC_Font font,
-- out FT_Face face, out FT_Size size);
-- void managerDone(in FTC_Manager manager);
-- void managerNew(in FT_Library lib, in FT_UInt max_faces,
-- in FT_UInt max_sizes, in FT_ULong max_bytes,
-- in FTC_Face_Requester requester, in FT_Pointer req_data,
-- out FTC_Manager manager);
-- void imageCacheNew(in FTC_Manager manager, out FTC_Image_Cache cache);
- /* #ifdef MOZ_SVG */
- void glyphTransform(in FT_Glyph glyph, in FT_Matrix_p matrix,
- in FT_Vector_p delta);
---- gfx/src/ps/nsFontMetricsPS.h.agriffis 2003-04-22 12:25:09.000000000 -0400
-+++ gfx/src/ps/nsFontMetricsPS.h 2004-11-15 13:37:58.431267824 -0500
-@@ -320,7 +320,8 @@
- nsCOMPtr<nsITrueTypeFontCatalogEntry> mFaceID;
- nsCOMPtr<nsIFreeType2> mFt2;
- PRUint16 mPixelSize;
-- FTC_Image_Desc mImageDesc;
-+ FT_Face mFace;
-+ FT_Library mFreeTypeLibrary;
-
-
- static PRBool AddUserPref(nsIAtom *aLang, const nsFont& aFont,
-@@ -363,7 +364,8 @@
- protected:
- nsCOMPtr<nsITrueTypeFontCatalogEntry> mEntry;
- nsCOMPtr<nsIFreeType2> mFt2;
-- FTC_Image_Desc mImageDesc;
-+ FT_Face mFace;
-+ FT_Library mFreeTypeLibrary;
- };
- #endif
-
---- gfx/src/ps/nsFontMetricsPS.cpp.agriffis 2004-02-04 20:57:05.000000000 -0500
-+++ gfx/src/ps/nsFontMetricsPS.cpp 2004-11-15 13:29:05.123342952 -0500
-@@ -1141,21 +1141,26 @@
-
- mPixelSize = NSToIntRound(app2dev * mFont->size);
-
-- mImageDesc.font.face_id = (void*)mEntry;
-- mImageDesc.font.pix_width = mPixelSize;
-- mImageDesc.font.pix_height = mPixelSize;
-- mImageDesc.image_type = 0;
--
- nsresult rv;
- mFt2 = do_GetService(NS_FREETYPE2_CONTRACTID, &rv);
- if (NS_FAILED(rv)) {
-+ NS_ERROR("failed to get ft2 service");
-+ return NS_ERROR_FAILURE;
-+ }
-+
-+ if (NS_FAILED(mFt2->GetLibrary(&mFreeTypeLibrary))) {
-+ NS_ERROR("failed to get ft2 library");
- return NS_ERROR_FAILURE;
- }
-+
-+ mFace = nsnull;
- return NS_OK;
- }
-
- nsFontPSFreeType::~nsFontPSFreeType()
- {
-+ if (mFace)
-+ mFt2->DoneFace(mFace);
- mEntry = nsnull;
- }
-
-@@ -1180,32 +1185,26 @@
- nscoord
- nsFontPSFreeType::GetWidth(const PRUnichar* aString, PRUint32 aLength)
- {
-- FT_UInt glyph_index;
-- FT_Glyph glyph;
-- double origin_x = 0;
--
- // get the face/size from the FreeType cache
- FT_Face face = getFTFace();
- NS_ASSERTION(face, "failed to get face/size");
- if (!face)
- return 0;
-
-- FTC_Image_Cache iCache;
-- nsresult rv = mFt2->GetImageCache(&iCache);
-- if (NS_FAILED(rv)) {
-- NS_ERROR("Failed to get Image Cache");
-- return 0;
-- }
-+ FT_UInt glyph_index;
-+ FT_Glyph glyph;
-+ double origin_x = 0;
-
-+ // XXX : we might need some caching here
- for (PRUint32 i=0; i<aLength; i++) {
-- mFt2->GetCharIndex((FT_Face)face, aString[i], &glyph_index);
-- nsresult rv = mFt2->ImageCacheLookup(iCache, &mImageDesc,
-- glyph_index, &glyph);
-- if (NS_FAILED(rv)) {
-+ mFt2->GetCharIndex(face, aString[i], &glyph_index);
-+ if (NS_FAILED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) ||
-+ NS_FAILED(mFt2->GetGlyph(face->glyph, &glyph))) {
- origin_x += FT_REG_TO_16_16(face->size->metrics.x_ppem/2 + 2);
- continue;
- }
- origin_x += glyph->advance.x;
-+ mFt2->DoneGlyph(glyph);
- }
-
- NS_ENSURE_TRUE(mFontMetrics, 0);
-@@ -1224,16 +1223,26 @@
- FT_Face
- nsFontPSFreeType::getFTFace()
- {
-- FT_Face face = nsnull;
--
-- FTC_Manager cManager;
-- mFt2->GetFTCacheManager(&cManager);
-- nsresult rv = mFt2->ManagerLookupSize(cManager, &mImageDesc.font,
-- &face, nsnull);
-+ if (mFace) return mFace;
-+
-+ nsCAutoString fileName;
-+ PRInt16 faceIndex;
-+ mEntry->GetFileName(fileName);
-+ mEntry->GetFaceIndex(&faceIndex);
-+
-+ nsresult rv =
-+ mFt2->NewFace(mFreeTypeLibrary, fileName.get(), faceIndex, &mFace);
-+
- NS_ASSERTION(rv==0, "failed to get face/size");
-- if (rv)
-- return nsnull;
-- return face;
-+ if (NS_FAILED(rv)) {
-+ return nsnull;
-+ }
-+
-+ if (NS_FAILED(mFt2->SetPixelSizes(mFace, mPixelSize, 0))) {
-+ return nsnull;
-+ }
-+
-+ return mFace;
- }
-
- nscoord
-@@ -1618,26 +1627,23 @@
-
- void nsFT2Type8Generator::GeneratePSFont(FILE* aFile)
- {
-- nsCAutoString fontName, styleName;
-- mEntry->GetFamilyName(fontName);
-- mEntry->GetStyleName(styleName);
--
-- mImageDesc.font.face_id = (void*)mEntry;
-- // TT glyph has no relation to size
-- mImageDesc.font.pix_width = 16;
-- mImageDesc.font.pix_height = 16;
-- mImageDesc.image_type = 0;
-- FT_Face face = nsnull;
-- FTC_Manager cManager;
-- mFt2->GetFTCacheManager(&cManager);
-- nsresult rv = mFt2->ManagerLookupSize(cManager, &mImageDesc.font,
-- &face, nsnull);
-- if (NS_FAILED(rv))
-- return;
-+ if (mFace == nsnull) {
-+ nsCAutoString fileName;
-+ PRInt16 faceIndex;
-+
-+ mEntry->GetFileName(fileName);
-+ mEntry->GetFaceIndex(&faceIndex);
-+ if (NS_FAILED(mFt2->
-+ NewFace(mFreeTypeLibrary, fileName.get(), faceIndex, &mFace))) {
-+ return;
-+ }
-+ NS_ASSERTION(mFace != nsnull, "mFace is null");
-+ }
-+
-
- int wmode = 0;
- if (!mSubset.IsEmpty())
-- FT2SubsetToType8(face, mSubset.get(), mSubset.Length(), wmode, aFile);
-+ FT2SubsetToType8(mFace, mSubset.get(), mSubset.Length(), wmode, aFile);
- }
- #endif //MOZ_ENABLE_FREETYPE2
-
---- gfx/src/x11shared/nsFontFreeType.cpp.agriffis 2003-12-25 03:24:52.000000000 -0500
-+++ gfx/src/x11shared/nsFontFreeType.cpp 2004-11-15 13:29:05.125342648 -0500
-@@ -173,15 +173,22 @@
- FT_Face
- nsFreeTypeFont::getFTFace()
- {
-- FT_Face face = nsnull;
-- FTC_Manager mgr;
-+ if (mFace) return mFace;
-+
-+ nsCAutoString fileName;
-+ PRInt16 faceIndex;
-+ mFaceID->GetFileName(fileName);
-+ mFaceID->GetFaceIndex(&faceIndex);
-+
- nsresult rv;
-- mFt2->GetFTCacheManager(&mgr);
-- rv = mFt2->ManagerLookupSize(mgr, &mImageDesc.font, &face, nsnull);
-+ rv = mFt2->NewFace(mFreeTypeLibrary, fileName.get(), faceIndex, &mFace);
- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get face/size");
- if (NS_FAILED(rv))
- return nsnull;
-- return face;
-+ rv = mFt2->SetPixelSizes(mFace, mPixelSize, 0);
-+ if (NS_FAILED(rv))
-+ return nsnull;
-+ return mFace;
- }
-
- nsFreeTypeFont::nsFreeTypeFont(nsITrueTypeFontCatalogEntry *aFaceID,
-@@ -191,21 +198,20 @@
- PRBool embedded_bimap = PR_FALSE;
- mFaceID = aFaceID;
- mPixelSize = aPixelSize;
-- mImageDesc.font.face_id = (void*)mFaceID;
-- mImageDesc.font.pix_width = aPixelSize;
-- mImageDesc.font.pix_height = aPixelSize;
-- mImageDesc.image_type = 0;
-+//mLoadFlag = FT_LOAD_RENDER;
-+ mLoadFlag = 0;
-+ mFace = nsnull;
-
- if (aPixelSize < nsFreeType2::gAntiAliasMinimum) {
-- mImageDesc.image_type |= ftc_image_mono;
-+ mLoadFlag |= FT_LOAD_MONOCHROME;
- anti_alias = PR_FALSE;
- }
-
- if (nsFreeType2::gFreeType2Autohinted)
-- mImageDesc.image_type |= ftc_image_flag_autohinted;
-+ mLoadFlag |= FT_LOAD_FORCE_AUTOHINT;
-
- if (nsFreeType2::gFreeType2Unhinted)
-- mImageDesc.image_type |= ftc_image_flag_unhinted;
-+ mLoadFlag |= FT_LOAD_NO_HINTING;
-
- PRUint32 num_embedded_bitmaps, i;
- PRInt32* embedded_bitmapheights;
-@@ -218,7 +224,7 @@
- if (embedded_bitmapheights[i] == aPixelSize) {
- embedded_bimap = PR_TRUE;
- // unhinted must be set for embedded bitmaps to be used
-- mImageDesc.image_type |= ftc_image_flag_unhinted;
-+ mLoadFlag |= FT_LOAD_NO_HINTING;
- break;
- }
- }
-@@ -230,6 +236,11 @@
- mFt2 = do_GetService(NS_FREETYPE2_CONTRACTID, &rv);
- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to find FreeType routines");
-
-+ if (mFt2) {
-+ rv = mFt2->GetLibrary(&mFreeTypeLibrary);
-+ NS_ASSERTION(NS_SUCCEEDED(rv), "failed to find FreeType library");
-+ }
-+
- FREETYPE_FONT_PRINTF(("anti_alias=%d, embedded_bitmap=%d, "
- "AutoHinted=%d, gFreeType2Unhinted = %d, "
- "size=%dpx, \"%s\"",
-@@ -288,8 +299,6 @@
- PRInt32* aDescent,
- PRInt32* aWidth)
- {
-- nsresult rv;
--
- *aLeftBearing = 0;
- *aRightBearing = 0;
- *aAscent = 0;
-@@ -312,11 +321,6 @@
- if (!face)
- return NS_ERROR_FAILURE;
-
-- FTC_Image_Cache icache;
-- mFt2->GetImageCache(&icache);
-- if (!icache)
-- return NS_ERROR_FAILURE;
--
- // get the text size
- PRUint32 i, extraSurrogateLength;
- for (i=0; i<aLength; i+=1+extraSurrogateLength) {
-@@ -337,16 +341,17 @@
- }
- mFt2->GetCharIndex(face, code_point, &glyph_index);
-
-- //NS_ASSERTION(glyph_index,"failed to get glyph");
-- if (glyph_index) {
-- rv = mFt2->ImageCacheLookup(icache, &mImageDesc, glyph_index, &glyph);
-- NS_ASSERTION(NS_SUCCEEDED(rv),"error loading glyph");
-- }
-- if ((glyph_index) && (NS_SUCCEEDED(rv))) {
-+ // XXX : we need some caching here
-+ if (glyph_index &&
-+ NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, mLoadFlag)) &&
-+// NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) &&
-+ NS_SUCCEEDED(mFt2->GetGlyph(face->glyph, &glyph))) {
- mFt2->GlyphGetCBox(glyph, ft_glyph_bbox_pixels, &glyph_bbox);
- advance = FT_16_16_TO_REG(glyph->advance.x);
-+ mFt2->DoneGlyph(glyph);
- }
- else {
-+ NS_ERROR("failed to get or load glyph");
- // allocate space to draw an empty box in
- GetFallbackGlyphMetrics(&glyph_bbox, face);
- advance = glyph_bbox.xMax + 1;
-@@ -401,11 +406,6 @@
- if (!face)
- return 0;
-
-- FTC_Image_Cache icache;
-- mFt2->GetImageCache(&icache);
-- if (!icache)
-- return 0;
--
- PRUint32 i, extraSurrogateLength;
- for (i=0; i<aLength; i+=1+extraSurrogateLength) {
- extraSurrogateLength=0;
-@@ -418,15 +418,18 @@
- // skip aString[i+1], it is already used as low surrogate
- extraSurrogateLength = 1;
- }
-+
-+ // XXX : we need some caching here
- mFt2->GetCharIndex((FT_Face)face, code_point, &glyph_index);
-- nsresult rv;
-- rv = mFt2->ImageCacheLookup(icache, &mImageDesc, glyph_index, &glyph);
-- NS_ASSERTION(NS_SUCCEEDED(rv),"error loading glyph");
-- if (NS_FAILED(rv)) {
-+ if (NS_FAILED(mFt2->LoadGlyph(face, glyph_index, mLoadFlag)) ||
-+// if (NS_FAILED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) ||
-+ NS_FAILED(mFt2->GetGlyph(face->glyph, &glyph))) {
-+ NS_ERROR("error loading glyph");
- origin_x += face->size->metrics.x_ppem/2 + 2;
- continue;
- }
- origin_x += FT_16_16_TO_REG(glyph->advance.x);
-+ mFt2->DoneGlyph(glyph);
- }
-
- return origin_x;
-@@ -723,11 +726,6 @@
- if (y%4==0) (*blendPixelFunc)(sub_image, y, ascent-1, black, 255/2);
- #endif
-
-- FTC_Image_Cache icache;
-- mFt2->GetImageCache(&icache);
-- if (!icache)
-- return 0;
--
- //
- // Get aa glyphs and blend with background
- //
-@@ -736,7 +734,6 @@
- for (i=0; i<aLength; i+=1+extraSurrogateLength) {
- FT_UInt glyph_index;
- FT_Glyph glyph;
-- nsresult rv;
- FT_BBox glyph_bbox;
- FT_ULong code_point = aString[i];
- extraSurrogateLength = 0;
-@@ -750,11 +747,12 @@
- extraSurrogateLength = 1;
- }
-
-+ // XXX : we need some caching here
- mFt2->GetCharIndex(face, code_point, &glyph_index);
-- if (glyph_index) {
-- rv = mFt2->ImageCacheLookup(icache, &mImageDesc, glyph_index, &glyph);
-- }
-- if ((glyph_index) && (NS_SUCCEEDED(rv))) {
-+ if (glyph_index &&
-+ NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, mLoadFlag)) &&
-+// NS_SUCCEEDED(mFt2->LoadGlyph(face, glyph_index, FT_LOAD_DEFAULT)) &&
-+ NS_SUCCEEDED(mFt2->GetGlyph(face->glyph, &glyph))) {
- mFt2->GlyphGetCBox(glyph, ft_glyph_bbox_pixels, &glyph_bbox);
- }
- else {
-@@ -775,13 +773,26 @@
- continue;
- }
-
-- FT_BitmapGlyph slot = (FT_BitmapGlyph)glyph;
-+ FT_BitmapGlyph slot;
-+
-+ if (glyph->format != FT_GLYPH_FORMAT_BITMAP)
-+ {
-+ if (mFt2->GlyphToBitmap(&glyph, FT_RENDER_MODE_NORMAL, 0, 1)) {
-+ NS_ERROR("failed to convert outline to bitmap ");
-+ XDestroyImage(sub_image);
-+ mFt2->DoneGlyph(glyph);
-+ return 0;
-+ }
-+ }
-+
-+ slot = (FT_BitmapGlyph)glyph;
- nsAntiAliasedGlyph aaglyph(glyph_bbox.xMax-glyph_bbox.xMin,
- glyph_bbox.yMax-glyph_bbox.yMin, 0);
- PRUint8 buf[IMAGE_BUFFER_SIZE]; // try to use the stack for data
- if (!aaglyph.WrapFreeType(&glyph_bbox, slot, buf, IMAGE_BUFFER_SIZE)) {
- NS_ERROR("failed to wrap freetype image");
- XDestroyImage(sub_image);
-+ mFt2->DoneGlyph(glyph);
- return 0;
- }
-
-@@ -815,6 +826,7 @@
- x_pos + aaglyph.GetLBearing(), ascent-glyph_bbox.yMax);
-
- x_pos += aaglyph.GetAdvance();
-+ mFt2->DoneGlyph(glyph);
- }
-
- //
---- gfx/src/x11shared/nsFontFreeType.h.agriffis 2003-04-22 12:25:13.000000000 -0400
-+++ gfx/src/x11shared/nsFontFreeType.h 2004-11-15 13:29:05.125342648 -0500
-@@ -110,8 +110,10 @@
- XImage *GetXImage(PRUint32 width, PRUint32 height);
- nsITrueTypeFontCatalogEntry *mFaceID;
- PRUint16 mPixelSize;
-- FTC_Image_Desc mImageDesc;
- nsCOMPtr<nsIFreeType2> mFt2;
-+ FT_Face mFace;
-+ FT_Int32 mLoadFlag;
-+ FT_Library mFreeTypeLibrary;
- };
-
- void WeightTableInitCorrection(PRUint8*, PRUint8, double);
---- gfx/src/freetype/nsFreeType.cpp.agriffis 2004-02-07 10:22:30.000000000 -0500
-+++ gfx/src/freetype/nsFreeType.cpp 2004-11-15 13:29:05.121343256 -0500
-@@ -109,12 +109,8 @@
- {"FT_Load_Glyph", NS_FT2_OFFSET(nsFT_Load_Glyph), PR_TRUE},
- {"FT_New_Face", NS_FT2_OFFSET(nsFT_New_Face), PR_TRUE},
- {"FT_Outline_Decompose", NS_FT2_OFFSET(nsFT_Outline_Decompose), PR_TRUE},
-+ {"FT_Set_Pixel_Sizes", NS_FT2_OFFSET(nsFT_Set_Pixel_Sizes), PR_TRUE},
- {"FT_Set_Charmap", NS_FT2_OFFSET(nsFT_Set_Charmap), PR_TRUE},
-- {"FTC_Image_Cache_Lookup", NS_FT2_OFFSET(nsFTC_Image_Cache_Lookup), PR_TRUE},
-- {"FTC_Manager_Lookup_Size", NS_FT2_OFFSET(nsFTC_Manager_Lookup_Size), PR_TRUE},
-- {"FTC_Manager_Done", NS_FT2_OFFSET(nsFTC_Manager_Done), PR_TRUE},
-- {"FTC_Manager_New", NS_FT2_OFFSET(nsFTC_Manager_New), PR_TRUE},
-- {"FTC_Image_Cache_New", NS_FT2_OFFSET(nsFTC_Image_Cache_New), PR_TRUE},
- // #ifdef MOZ_SVG
- {"FT_Glyph_Transform", NS_FT2_OFFSET(nsFT_Glyph_Transform), PR_TRUE},
- {"FT_Get_Kerning", NS_FT2_OFFSET(nsFT_Get_Kerning), PR_TRUE},
-@@ -274,59 +270,21 @@
- }
-
- NS_IMETHODIMP
--nsFreeType2::SetCharmap(FT_Face face, FT_CharMap charmap)
--{
-- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFT_Set_Charmap(face, charmap);
-- return error ? NS_ERROR_FAILURE : NS_OK;
--}
--
--NS_IMETHODIMP
--nsFreeType2::ImageCacheLookup(FTC_Image_Cache cache, FTC_Image_Desc *desc,
-- FT_UInt glyphID, FT_Glyph *glyph)
--{
-- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Image_Cache_Lookup(cache, desc, glyphID, glyph);
-- return error ? NS_ERROR_FAILURE : NS_OK;
--}
--
--NS_IMETHODIMP
--nsFreeType2::ManagerLookupSize(FTC_Manager manager, FTC_Font font,
-- FT_Face *face, FT_Size *size)
-+nsFreeType2::SetPixelSizes(FT_Face face, FT_UInt width, FT_UInt height)
- {
- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Manager_Lookup_Size(manager, font, face, size);
-+ FT_Error error = nsFT_Set_Pixel_Sizes(face, width, height);
- return error ? NS_ERROR_FAILURE : NS_OK;
- }
--
--NS_IMETHODIMP
--nsFreeType2::ManagerDone(FTC_Manager manager)
--{
-- // call the FreeType2 function via the function pointer
-- nsFTC_Manager_Done(manager);
-- return NS_OK;
--}
--
-+
- NS_IMETHODIMP
--nsFreeType2::ManagerNew(FT_Library library, FT_UInt max_faces,
-- FT_UInt max_sizes, FT_ULong max_bytes,
-- FTC_Face_Requester requester, FT_Pointer req_data,
-- FTC_Manager *manager)
-+nsFreeType2::SetCharmap(FT_Face face, FT_CharMap charmap)
- {
- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Manager_New(library, max_faces, max_sizes, max_bytes,
-- requester, req_data, manager);
-+ FT_Error error = nsFT_Set_Charmap(face, charmap);
- return error ? NS_ERROR_FAILURE : NS_OK;
- }
-
--NS_IMETHODIMP
--nsFreeType2::ImageCacheNew(FTC_Manager manager, FTC_Image_Cache *cache)
--{
-- // call the FreeType2 function via the function pointer
-- FT_Error error = nsFTC_Image_Cache_New(manager, cache);
-- return error ? NS_ERROR_FAILURE : NS_OK;
--}
--
- // #ifdef MOZ_SVG
- NS_IMETHODIMP
- nsFreeType2::GlyphTransform(FT_Glyph glyph, FT_Matrix * matrix, FT_Vector * delta)
-@@ -389,20 +347,6 @@
- }
-
- NS_IMETHODIMP
--nsFreeType2::GetImageCache(FTC_Image_Cache *aCache)
--{
-- *aCache = mImageCache;
-- return NS_OK;
--}
--
--NS_IMETHODIMP
--nsFreeType2::GetFTCacheManager(FTC_Manager *aManager)
--{
-- *aManager = mFTCacheManager;
-- return NS_OK;
--}
--
--NS_IMETHODIMP
- nsFreeType2::GetLibrary(FT_Library *aLibrary)
- {
- *aLibrary = mFreeTypeLibrary;
-@@ -425,8 +369,6 @@
- {
- mSharedLib = nsnull;
- mFreeTypeLibrary = nsnull;
-- mFTCacheManager = nsnull;
-- mImageCache = nsnull;
- }
-
- // I would like to make this a static member function but the compilier
-@@ -456,12 +398,6 @@
- delete gFreeTypeFaces;
- gFreeTypeFaces = nsnull;
- }
-- // mImageCache released by cache manager
-- if (mFTCacheManager) {
-- // use "this->" to make sure it is obivious we are calling the member func
-- this->ManagerDone(mFTCacheManager);
-- mFTCacheManager = nsnull;
-- }
- if (mFreeTypeLibrary) {
- // use "this->" to make sure it is obivious we are calling the member func
- this->DoneFreeType(mFreeTypeLibrary);
-@@ -658,17 +594,6 @@
- mFreeTypeLibrary = nsnull;
- goto cleanup_and_return;
- }
-- // use "this->" to make sure it is obivious we are calling the member func
-- rv = this->ManagerNew(mFreeTypeLibrary, 0, 0, 0, nsFreeTypeFaceRequester,
-- this, &mFTCacheManager);
-- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to create FreeType Cache manager");
-- if (NS_FAILED(rv))
-- goto cleanup_and_return;
-- // use "this->" to make sure it is obivious we are calling the member func
-- rv = this->ImageCacheNew(mFTCacheManager, &mImageCache);
-- NS_ASSERTION(NS_SUCCEEDED(rv), "failed to create FreeType image cache");
-- if (NS_FAILED(rv))
-- goto cleanup_and_return;
- return PR_TRUE;
-
- cleanup_and_return:
---- gfx/src/freetype/nsFreeType.h.agriffis 2004-04-16 17:31:42.000000000 -0400
-+++ gfx/src/freetype/nsFreeType.h 2004-11-15 13:29:05.122343104 -0500
-@@ -102,15 +102,8 @@
- typedef FT_Error (*FT_Outline_Decompose_t)
- (FT_Outline*, const FT_Outline_Funcs*, void*);
- typedef FT_Error (*FT_New_Face_t)(FT_Library, const char*, FT_Long, FT_Face*);
-+typedef FT_Error (*FT_Set_Pixel_Sizes_t)(FT_Face face, FT_UInt, FT_UInt);
- typedef FT_Error (*FT_Set_Charmap_t)(FT_Face face, FT_CharMap charmap);
--typedef FT_Error (*FTC_Image_Cache_Lookup_t)
-- (FTC_Image_Cache, FTC_Image_Desc*, FT_UInt, FT_Glyph*);
--typedef FT_Error (*FTC_Manager_Lookup_Size_t)
-- (FTC_Manager, FTC_Font, FT_Face*, FT_Size*);
--typedef FT_Error (*FTC_Manager_Done_t)(FTC_Manager);
--typedef FT_Error (*FTC_Manager_New_t)(FT_Library, FT_UInt, FT_UInt, FT_ULong,
-- FTC_Face_Requester, FT_Pointer, FTC_Manager*);
--typedef FT_Error (*FTC_Image_Cache_New_t)(FTC_Manager, FTC_Image_Cache*);
- // #ifdef MOZ_SVG
- typedef FT_Error (*FT_Glyph_Transform_t)(FT_Glyph, FT_Matrix*, FT_Vector*);
- typedef FT_Error (*FT_Get_Kerning_t)
-@@ -163,12 +156,8 @@
- FT_Load_Glyph_t nsFT_Load_Glyph;
- FT_New_Face_t nsFT_New_Face;
- FT_Outline_Decompose_t nsFT_Outline_Decompose;
-+ FT_Set_Pixel_Sizes_t nsFT_Set_Pixel_Sizes;
- FT_Set_Charmap_t nsFT_Set_Charmap;
-- FTC_Image_Cache_Lookup_t nsFTC_Image_Cache_Lookup;
-- FTC_Manager_Lookup_Size_t nsFTC_Manager_Lookup_Size;
-- FTC_Manager_Done_t nsFTC_Manager_Done;
-- FTC_Manager_New_t nsFTC_Manager_New;
-- FTC_Image_Cache_New_t nsFTC_Image_Cache_New;
- // #ifdef MOZ_SVG
- FT_Glyph_Transform_t nsFT_Glyph_Transform;
- FT_Get_Kerning_t nsFT_Get_Kerning;
-@@ -181,9 +170,9 @@
- // this array needs to be big enough to hold all the function pointers
- // plus one extra for the null at the end
- // #ifdef MOZ_SVG
-- static FtFuncList FtFuncs[24];
-+ static FtFuncList FtFuncs[20];
- // #else
--// static FtFuncList FtFuncs[20];
-+// static FtFuncList FtFuncs[17];
- // #endif
-
- protected:
-@@ -212,8 +201,6 @@
-
- PRLibrary *mSharedLib;
- FT_Library mFreeTypeLibrary;
-- FTC_Manager mFTCacheManager;
-- FTC_Image_Cache mImageCache;
-
- static nsHashtable *sFontFamilies;
- static nsHashtable *sRange1CharSetNames;
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.0.2-r1.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.0.2-r1.ebuild
index 41e6562323ab..3b2144f361f2 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.0.2-r1.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.0.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.2-r1.ebuild,v 1.6 2005/07/06 19:01:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.2-r1.ebuild,v 1.7 2005/07/12 18:51:17 agriffis Exp $
inherit makeedit flag-o-matic nsplugins eutils mozconfig mozilla-launcher multilib
@@ -9,7 +9,9 @@ S=${WORKDIR}/mozilla
DESCRIPTION="The Mozilla Firefox Web Browser"
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
MY_PV=${PV/_rc/rc}
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2
+ mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0-4ft2.patch.bz2"
LICENSE="MPL-1.1 NPL-1.1"
SLOT="0"
@@ -49,7 +51,7 @@ src_unpack() {
# patch out ft caching code since the API changed between releases of
# freetype; this enables freetype-2.1.8+ compat.
# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-firefox-1.0-4ft2.patch
+ epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
# patch to fix separate character on euro keyboards, bug 68995
epatch ${FILESDIR}/mozilla-firefox-1.0-kp_separator.patch
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.0.2.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.0.2.ebuild
index a5b99b1345c2..739674ad8d43 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.0.2.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.2.ebuild,v 1.11 2005/07/06 19:01:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.2.ebuild,v 1.12 2005/07/12 18:51:17 agriffis Exp $
inherit makeedit flag-o-matic nsplugins eutils mozconfig mozilla-launcher multilib
@@ -9,7 +9,9 @@ S=${WORKDIR}/mozilla
DESCRIPTION="The Mozilla Firefox Web Browser"
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
MY_PV=${PV/_rc/rc}
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2
+ mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0-4ft2.patch.bz2"
LICENSE="MPL-1.1 NPL-1.1"
SLOT="0"
@@ -49,7 +51,7 @@ src_unpack() {
# patch out ft caching code since the API changed between releases of
# freetype; this enables freetype-2.1.8+ compat.
# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-firefox-1.0-4ft2.patch
+ epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
# patch to fix separate character on euro keyboards, bug 68995
epatch ${FILESDIR}/mozilla-firefox-1.0-kp_separator.patch
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.0.3-r1.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.0.3-r1.ebuild
index 1969db2c92ba..b142d2e50b29 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.0.3-r1.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.3-r1.ebuild,v 1.4 2005/07/11 21:00:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.3-r1.ebuild,v 1.5 2005/07/12 18:51:17 agriffis Exp $
inherit makeedit flag-o-matic toolchain-funcs nsplugins eutils mozconfig mozilla-launcher multilib
@@ -10,7 +10,10 @@ DESCRIPTION="The Mozilla Firefox Web Browser"
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
MY_PV=${PV/_rc/rc}
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2
- mirror://gentoo/mozilla-firefox-1.0.3-ia64.patch.bz2"
+ mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
+ mirror://gentoo/mozilla-firefox-1.0.3-ia64.patch.bz2
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0-4ft2.patch.bz2
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0.3-ia64.patch.bz2"
LICENSE="MPL-1.1 NPL-1.1"
SLOT="0"
@@ -50,7 +53,7 @@ src_unpack() {
# patch out ft caching code since the API changed between releases of
# freetype; this enables freetype-2.1.8+ compat.
# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-firefox-1.0-4ft2.patch
+ epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
# patch to fix separate character on euro keyboards, bug 68995
epatch ${FILESDIR}/mozilla-firefox-1.0-kp_separator.patch
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild
index 527c6b47bc07..3db4047b0e03 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild,v 1.10 2005/07/06 19:01:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.3.ebuild,v 1.11 2005/07/12 18:51:17 agriffis Exp $
inherit makeedit flag-o-matic toolchain-funcs nsplugins eutils mozconfig mozilla-launcher multilib
@@ -9,7 +9,9 @@ S=${WORKDIR}/mozilla
DESCRIPTION="The Mozilla Firefox Web Browser"
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
MY_PV=${PV/_rc/rc}
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2
+ mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0-4ft2.patch.bz2"
LICENSE="MPL-1.1 NPL-1.1"
SLOT="0"
@@ -49,7 +51,7 @@ src_unpack() {
# patch out ft caching code since the API changed between releases of
# freetype; this enables freetype-2.1.8+ compat.
# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-firefox-1.0-4ft2.patch
+ epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
# patch to fix separate character on euro keyboards, bug 68995
epatch ${FILESDIR}/mozilla-firefox-1.0-kp_separator.patch
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.0.4-r1.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.0.4-r1.ebuild
index e1dac00daac7..be624595d74a 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.0.4-r1.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.4-r1.ebuild,v 1.1 2005/07/11 21:00:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.4-r1.ebuild,v 1.2 2005/07/12 18:51:17 agriffis Exp $
inherit makeedit flag-o-matic nsplugins eutils mozconfig mozilla-launcher multilib
@@ -10,8 +10,12 @@ DESCRIPTION="The Mozilla Firefox Web Browser"
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
MY_PV=${PV/_rc/rc}
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2
+ mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
mirror://gentoo/mozilla-firefox-1.0.3-ia64.patch.bz2
- mirror://gentoo/mozilla-jslibmath-alpha.patch"
+ mirror://gentoo/mozilla-jslibmath-alpha.patch
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0.3-ia64.patch.bz2
+ http://dev.gentoo.org/~agriffis/dist/mozilla-jslibmath-alpha.patch
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0-4ft2.patch.bz2"
LICENSE="MPL-1.1 NPL-1.1"
SLOT="0"
@@ -51,7 +55,7 @@ src_unpack() {
# patch out ft caching code since the API changed between releases of
# freetype; this enables freetype-2.1.8+ compat.
# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-firefox-1.0-4ft2.patch
+ epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
# patch to fix separate character on euro keyboards, bug 68995
epatch ${FILESDIR}/mozilla-firefox-1.0-kp_separator.patch
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.0.4.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.0.4.ebuild
index 68a4be82a2f0..dc73e712132e 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.0.4.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.4.ebuild,v 1.16 2005/07/11 21:00:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.0.4.ebuild,v 1.17 2005/07/12 18:51:17 agriffis Exp $
inherit makeedit flag-o-matic nsplugins eutils mozconfig mozilla-launcher multilib
@@ -10,7 +10,12 @@ DESCRIPTION="The Mozilla Firefox Web Browser"
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
MY_PV=${PV/_rc/rc}
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/source/firefox-${MY_PV}-source.tar.bz2
- mirror://gentoo/mozilla-firefox-1.0.3-ia64.patch.bz2"
+ mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
+ mirror://gentoo/mozilla-firefox-1.0.3-ia64.patch.bz2
+ mirror://gentoo/mozilla-jslibmath-alpha.patch
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0.3-ia64.patch.bz2
+ http://dev.gentoo.org/~agriffis/dist/mozilla-jslibmath-alpha.patch
+ http://dev.gentoo.org/~agriffis/dist/mozilla-firefox-1.0-4ft2.patch.bz2"
LICENSE="MPL-1.1 NPL-1.1"
SLOT="0"
@@ -50,7 +55,7 @@ src_unpack() {
# patch out ft caching code since the API changed between releases of
# freetype; this enables freetype-2.1.8+ compat.
# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
- epatch ${FILESDIR}/mozilla-firefox-1.0-4ft2.patch
+ epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
# patch to fix separate character on euro keyboards, bug 68995
epatch ${FILESDIR}/mozilla-firefox-1.0-kp_separator.patch