From 1eed63ef8997cb1bda6897cb55f850ca0d5d8473 Mon Sep 17 00:00:00 2001 From: "mark%moxienet.com" Date: Thu, 1 Dec 2005 22:24:58 +0000 Subject: [PATCH] Bug 317232, enable SVG in Camino. Camino-only, npotdb. r=pink --- camino/Camino.xcode/project.pbxproj | 69 ++++++++++++++++++++++++++ camino/config/mozconfig | 1 + embedding/config/basebrowser-mac-macho | 4 ++ 3 files changed, 74 insertions(+) diff --git a/camino/Camino.xcode/project.pbxproj b/camino/Camino.xcode/project.pbxproj index 801a16d8639..3536670f303 100644 --- a/camino/Camino.xcode/project.pbxproj +++ b/camino/Camino.xcode/project.pbxproj @@ -1508,6 +1508,7 @@ F6BD639B01B3131201A962F7, F6BD639C01B3131201A962F7, F6BD639D01B3131201A962F7, + F6BD639D01B3131201A963F7, F6BD639E01B3131201A962F7, F6BD639F01B3131201A962F7, F6BD63A001B3131201A962F7, @@ -1515,6 +1516,7 @@ F6BD63A101B3131201A962F7, F6BD644D01B315FA01A962F7, F6BD63A401B3131201A962F7, + F6BD63A401B3131201A963F7, F6BD644E01B315FA01A962F7, 0FCCE56707D6D7DA006DD3D1, F6BD63DA01B313EE01A962F7, @@ -5260,12 +5262,14 @@ 3F44ACDE05BDFB9F00CB4B08, 3F44ACDF05BDFB9F00CB4B08, 3F44ACE005BDFB9F00CB4B08, + 3F44ACE005BDFB9F00CB4C08, 3F44ACE105BDFB9F00CB4B08, 3F44ACE205BDFB9F00CB4B08, 3F44ACE305BDFB9F00CB4B08, 3F44ACE405BDFB9F00CB4B08, 3F44ACE505BDFB9F00CB4B08, 3F44ACE605BDFB9F00CB4B08, + 3F44ACE605BDFB9F00CB4C08, 3F44ACF005BDFB9F00CB4B08, 3F44ACF105BDFB9F00CB4B08, 3F44ACF205BDFB9F00CB4B08, @@ -5400,6 +5404,12 @@ settings = { }; }; + 3F44ACE005BDFB9F00CB4C08 = { + fileRef = F6BD639D01B3131201A963F7; + isa = PBXBuildFile; + settings = { + }; + }; 3F44ACE105BDFB9F00CB4B08 = { fileRef = F6BD639E01B3131201A962F7; isa = PBXBuildFile; @@ -5436,6 +5446,12 @@ settings = { }; }; + 3F44ACE605BDFB9F00CB4C08 = { + fileRef = F6BD63A401B3131201A963F7; + isa = PBXBuildFile; + settings = { + }; + }; 3F44ACE705BDFB9F00CB4B08 = { fileRef = F6BD63A601B3131201A962F7; isa = PBXBuildFile; @@ -5830,6 +5846,7 @@ 3F44AD3505BDFB9F00CB4B08, 3F44AD3705BDFB9F00CB4B08, 3F44AD3805BDFB9F00CB4B08, + 3F44AD3805BDFB9F00CB4C08, 3F44AD3905BDFB9F00CB4B08, 3F44AD3A05BDFB9F00CB4B08, ); @@ -5896,6 +5913,12 @@ settings = { }; }; + 3F44AD3805BDFB9F00CB4C08 = { + fileRef = F6BD64DF01B3172601A963F7; + isa = PBXBuildFile; + settings = { + }; + }; 3F44AD3905BDFB9F00CB4B08 = { fileRef = F6BD64E001B3172601A962F7; isa = PBXBuildFile; @@ -9161,12 +9184,14 @@ 3F44AF1405BDFBA000CB4B08, 3F44AF1505BDFBA000CB4B08, 3F44AF1605BDFBA000CB4B08, + 3F44AF1605BDFBA000CB4C08, 3F44AF1705BDFBA000CB4B08, 3F44AF1805BDFBA000CB4B08, 3F44AF1905BDFBA000CB4B08, 3F44AF1A05BDFBA000CB4B08, 3F44AF1B05BDFBA000CB4B08, 3F44AF1C05BDFBA000CB4B08, + 3F44AF1C05BDFBA000CB4C08, 3F44AF1D05BDFBA000CB4B08, 3F44AF1E05BDFBA000CB4B08, 3F44AF1F05BDFBA000CB4B08, @@ -9273,6 +9298,12 @@ settings = { }; }; + 3F44AF1605BDFBA000CB4C08 = { + fileRef = F6BD639D01B3131201A963F7; + isa = PBXBuildFile; + settings = { + }; + }; 3F44AF1705BDFBA000CB4B08 = { fileRef = F6BD639E01B3131201A962F7; isa = PBXBuildFile; @@ -9309,6 +9340,12 @@ settings = { }; }; + 3F44AF1C05BDFBA000CB4C08 = { + fileRef = F6BD63A401B3131201A963F7; + isa = PBXBuildFile; + settings = { + }; + }; 3F44AF1D05BDFBA000CB4B08 = { fileRef = F6BD63B201B3131201A962F7; isa = PBXBuildFile; @@ -9578,6 +9615,7 @@ 3F44AF5005BDFBA000CB4B08, 3F44AF5205BDFBA000CB4B08, 3F44AF5305BDFBA000CB4B08, + 3F44AF5305BDFBA000CB4C08, 3F44AF5405BDFBA000CB4B08, 3F44AF5505BDFBA000CB4B08, ); @@ -9644,6 +9682,12 @@ settings = { }; }; + 3F44AF5305BDFBA000CB4C08 = { + fileRef = F6BD64DF01B3172601A963F7; + isa = PBXBuildFile; + settings = { + }; + }; 3F44AF5405BDFBA000CB4B08 = { fileRef = F6BD64E001B3172601A962F7; isa = PBXBuildFile; @@ -17104,6 +17148,14 @@ refType = 2; sourceTree = SOURCE_ROOT; }; + F6BD639D01B3131201A963F7 = { + isa = PBXFileReference; + lastKnownFileType = file; + name = dom_svg.xpt; + path = ../dist/Embed/components/dom_svg.xpt; + refType = 2; + sourceTree = SOURCE_ROOT; + }; F6BD639E01B3131201A962F7 = { isa = PBXFileReference; lastKnownFileType = file; @@ -17152,6 +17204,14 @@ refType = 2; sourceTree = SOURCE_ROOT; }; + F6BD63A401B3131201A963F7 = { + isa = PBXFileReference; + lastKnownFileType = file; + name = gksvgrenderer.xpt; + path = ../dist/Embed/components/gksvgrenderer.xpt; + refType = 2; + sourceTree = SOURCE_ROOT; + }; F6BD63A601B3131201A962F7 = { isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.bundle"; @@ -17590,6 +17650,7 @@ F5A70906036DB46201202892, F6BD64DE01B3172601A962F7, F6BD64DF01B3172601A962F7, + F6BD64DF01B3172601A963F7, F6BD64E001B3172601A962F7, F6BD64E101B3172601A962F7, ); @@ -17727,6 +17788,14 @@ refType = 2; sourceTree = SOURCE_ROOT; }; + F6BD64DF01B3172601A963F7 = { + isa = PBXFileReference; + lastKnownFileType = text; + name = svg.css; + path = ../dist/Embed/res/svg.css; + refType = 2; + sourceTree = SOURCE_ROOT; + }; F6BD64E001B3172601A962F7 = { isa = PBXFileReference; lastKnownFileType = text; diff --git a/camino/config/mozconfig b/camino/config/mozconfig index 87884f99373..c11585a3937 100644 --- a/camino/config/mozconfig +++ b/camino/config/mozconfig @@ -7,6 +7,7 @@ ac_add_options --disable-jsd ac_add_options --disable-mathml ac_add_options --enable-single-profile ac_add_options --enable-canvas +ac_add_options --enable-svg # Pick the right SDK depending on the CPU. This doesn't even pretend to be # cross-friendly, but neither do other parts of the Camino build, and it's diff --git a/embedding/config/basebrowser-mac-macho b/embedding/config/basebrowser-mac-macho index 4a4e6ed96a4..c58cd99abe2 100644 --- a/embedding/config/basebrowser-mac-macho +++ b/embedding/config/basebrowser-mac-macho @@ -266,3 +266,7 @@ res/fonts/fontEncoding.properties components/libp3p.dylib components/p3p.xpt +; svg +components/dom_svg.xpt +components/gksvgrenderer.xpt +res/svg.css