packages: gnome-web-photo/gnome-web-photo-libxul.patch, gnome-web-photo/gno...

megabajt megabajt at pld-linux.org
Fri Jan 22 21:13:35 CET 2010


Author: megabajt                     Date: Fri Jan 22 20:13:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- changes required to build with xulrunner 1.9.2.3.6

---- Files affected:
packages/gnome-web-photo:
   gnome-web-photo-libxul.patch (1.2 -> 1.3) , gnome-web-photo-xul_api_change.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gnome-web-photo/gnome-web-photo-libxul.patch
diff -u packages/gnome-web-photo/gnome-web-photo-libxul.patch:1.2 packages/gnome-web-photo/gnome-web-photo-libxul.patch:1.3
--- packages/gnome-web-photo/gnome-web-photo-libxul.patch:1.2	Sun Aug  9 23:01:24 2009
+++ packages/gnome-web-photo/gnome-web-photo-libxul.patch	Fri Jan 22 21:13:30 2010
@@ -20,3 +20,14 @@
  	-DSHARE_DIR=\"$(pkgdatadir)\"   	\
  	-DLOCALEDIR=\"$(datadir)/locale\"	\
  	-DGECKO_HOME=\"$(GECKO_HOME)\"	\
+--- gnome-web-photo-0.9/m4/libxul.m4	2009-04-20 17:43:33.000000000 +0200
++++ gnome-web-photo-0.9/m4/libxul.m4.new	2010-01-22 21:07:15.164217015 +0100
+@@ -59,7 +59,7 @@
+ # I can figure this out, do it like this:
+ libxul_cv_libdir="$($PKG_CONFIG --variable=sdkdir $libxul_cv_libxul_pkg)/bin"
+ 
+-libxul_cv_includes="$($PKG_CONFIG --cflags-only-I libxul-unstable libxul)"
++libxul_cv_includes="$($PKG_CONFIG --cflags-only-I libxul)"
+ 
+ AC_DEFINE([HAVE_LIBXUL],[1],[Define for libxul])
+ 

================================================================
Index: packages/gnome-web-photo/gnome-web-photo-xul_api_change.patch
diff -u /dev/null packages/gnome-web-photo/gnome-web-photo-xul_api_change.patch:1.1
--- /dev/null	Fri Jan 22 21:13:35 2010
+++ packages/gnome-web-photo/gnome-web-photo-xul_api_change.patch	Fri Jan 22 21:13:30 2010
@@ -0,0 +1,11 @@
+--- gnome-web-photo-0.9/src/Writer.cpp	2009-04-20 17:43:33.000000000 +0200
++++ gnome-web-photo-0.9/src/Writer.cpp.new	2010-01-22 20:44:49.054351295 +0100
+@@ -197,7 +197,7 @@
+       width = NSAppUnitsToIntPixels(cutout.width, p2a);
+       height = NSAppUnitsToIntPixels(cutout.height, p2a);
+ 
+-      rv = presShell->RenderDocument(cutout, PR_FALSE, PR_TRUE,
++      rv = presShell->RenderDocument(cutout, nsIPresShell::RENDER_IGNORE_VIEWPORT_SCROLLING,
+                                      NS_RGB(255, 255, 255), context);
+       if (NS_SUCCEEDED(rv)) {
+         imgContext->DrawSurface(surface, gfxSize(width, height));
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-web-photo/gnome-web-photo-libxul.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list