diff options
Diffstat (limited to 'www/webkit-gtk2/files')
-rw-r--r-- | www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in | 8 | ||||
-rw-r--r-- | www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp | 10 | ||||
-rw-r--r-- | www/webkit-gtk2/files/patch-cairo | 31 |
3 files changed, 49 insertions, 0 deletions
diff --git a/www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in b/www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in new file mode 100644 index 000000000000..006b49709b38 --- /dev/null +++ b/www/webkit-gtk2/files/patch-WebKit_gtk_webkit.pc.in @@ -0,0 +1,8 @@ +--- WebKit/gtk/webkit.pc.in.orig 2008-04-01 14:46:09.251210738 -0400 ++++ WebKit/gtk/webkit.pc.in 2008-04-01 14:46:21.218068816 -0400 +@@ -8,4 +8,4 @@ + Version: @VERSION@ + Requires: gtk+-2.0 + Libs: -L${libdir} -lwebkit-1.0 +-Cflags: -I${includedir}/webkit-1.0 ++Cflags: -I${includedir}/webkit-1.0 -I${includedir}/webkit-1.0/webkit diff --git a/www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp b/www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp new file mode 100644 index 000000000000..ed0a5895fca9 --- /dev/null +++ b/www/webkit-gtk2/files/patch-Webcore_plugins_PluginDatabase.cpp @@ -0,0 +1,10 @@ +--- WebCore/plugins/PluginDatabase.cpp.orig 2008-05-26 01:03:07.236973838 -0700 ++++ WebCore/plugins/PluginDatabase.cpp 2008-05-26 01:03:52.356436787 -0700 +@@ -281,6 +281,7 @@ + userPluginPath.append(String("/.netscape/plugins")); + paths.append(userPluginPath); + ++ paths.append("%%BROWSER_PLUGINS%%"); + paths.append("/usr/lib/browser/plugins"); + paths.append("/usr/local/lib/mozilla/plugins"); + paths.append("/usr/lib/firefox/plugins"); diff --git a/www/webkit-gtk2/files/patch-cairo b/www/webkit-gtk2/files/patch-cairo new file mode 100644 index 000000000000..4bba0cc2a860 --- /dev/null +++ b/www/webkit-gtk2/files/patch-cairo @@ -0,0 +1,31 @@ +--- WebCore/platform/graphics/BitmapImage.cpp ++++ WebCore/platform/graphics/BitmapImage.cpp +@@ -203,7 +203,7 @@ float BitmapImage::frameDurationAtIndex(size_t index) + bool BitmapImage::frameHasAlphaAtIndex(size_t index) + { + if (index >= frameCount()) +- return 0; ++ return true; + + if (index >= m_frames.size() || !m_frames[index].m_frame) + cacheFrame(index); +--- WebCore/platform/graphics/cairo/ImageCairo.cpp ++++ WebCore/platform/graphics/cairo/ImageCairo.cpp +@@ -76,6 +76,7 @@ BitmapImage::BitmapImage(cairo_surface_t* surface, ImageObserver* observer) + + m_frames.grow(1); + m_frames[0].m_frame = surface; ++ m_frames[0].m_hasAlpha = cairo_surface_get_content(surface) != CAIRO_CONTENT_COLOR; + checkForSolidColor(); + } + +--- WebCore/platform/graphics/cg/ImageCG.cpp ++++ WebCore/platform/graphics/cg/ImageCG.cpp +@@ -87,6 +87,7 @@ BitmapImage::BitmapImage(CGImageRef cgImage, ImageObserver* observer) + + m_frames.grow(1); + m_frames[0].m_frame = cgImage; ++ m_frames[0].m_hasAlpha = true; + checkForSolidColor(); + } + |