ports/151556: Update port: www/gnome-web-photo to 0.9

KATO Tsuguru tkato432 at yahoo.com
Mon Oct 18 18:10:13 UTC 2010


>Number:         151556
>Category:       ports
>Synopsis:       Update port: www/gnome-web-photo to 0.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 18 18:10:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9

New file:
files/patch-src__Writer.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/www/gnome-web-photo/Makefile www/gnome-web-photo/Makefile
--- /usr/ports/www/gnome-web-photo/Makefile	2010-07-26 21:37:40.000000000 +0900
+++ www/gnome-web-photo/Makefile	2010-10-05 05:54:47.000000000 +0900
@@ -8,8 +8,7 @@
 #
 
 PORTNAME=	gnome-web-photo
-PORTVERSION=	0.2
-PORTREVISION=	9
+PORTVERSION=	0.9
 CATEGORIES=	www
 MASTER_SITES=	GNOME
 
@@ -17,16 +16,19 @@
 COMMENT=	Tool to generate full-size image files and thumbnails
 
 USE_BZIP2=	yes
-USE_GECKO=	seamonkey
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-gecko=${GECKO}
+USE_GNOME=	gconf2 gnomehack gnomeprefix
+USE_GECKO=	libxul
+USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomevfs2 gnomehack gnomeprefix
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 GCONF_SCHEMAS=	thumbnailer.schemas
 
-.include <bsd.port.pre.mk>
+CFLAGS+=	`pkg-config --cflags-only-I libxul`
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|libpng|libpng14|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|libxul-unstable||g' ${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/www/gnome-web-photo/distinfo www/gnome-web-photo/distinfo
--- /usr/ports/www/gnome-web-photo/distinfo	2006-02-16 13:51:17.000000000 +0900
+++ www/gnome-web-photo/distinfo	2010-10-05 05:34:07.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (gnome-web-photo-0.2.tar.bz2) = 177641fa35cc66771bfa574e17768605
-SHA256 (gnome-web-photo-0.2.tar.bz2) = c8e441cfa96a62e37d6a031ca15abc7782318a834362879bb8c311aadd475ee6
-SIZE (gnome-web-photo-0.2.tar.bz2) = 298503
+MD5 (gnome-web-photo-0.9.tar.bz2) = 62952330a62b463df5fef315f4a7cb93
+SHA256 (gnome-web-photo-0.9.tar.bz2) = b959fa061bd4d839bb13b9ec132ebdec50c908de6ea0c1667c065b41be8830e4
+SIZE (gnome-web-photo-0.9.tar.bz2) = 317068
diff -urN /usr/ports/www/gnome-web-photo/files/patch-src__Writer.cpp www/gnome-web-photo/files/patch-src__Writer.cpp
--- /usr/ports/www/gnome-web-photo/files/patch-src__Writer.cpp	1970-01-01 09:00:00.000000000 +0900
+++ www/gnome-web-photo/files/patch-src__Writer.cpp	2010-10-05 05:53:33.000000000 +0900
@@ -0,0 +1,12 @@
+--- src/Writer.cpp.orig	2009-04-21 00:43:33.000000000 +0900
++++ src/Writer.cpp	2010-10-05 00:43:15.000000000 +0900
+@@ -197,7 +197,8 @@
+       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));
diff -urN /usr/ports/www/gnome-web-photo/pkg-plist www/gnome-web-photo/pkg-plist
--- /usr/ports/www/gnome-web-photo/pkg-plist	2007-10-25 13:53:08.000000000 +0900
+++ www/gnome-web-photo/pkg-plist	2010-10-05 05:48:39.000000000 +0900
@@ -1,6 +1,9 @@
 bin/gnome-web-photo
 bin/gnome-web-print
 bin/gnome-web-thumbnail
-share/gnome-web-photo/prefs.js
-share/gnome-web-photo/style.css
- at dirrm share/gnome-web-photo
+%%DATADIR%%/prefs.js
+%%DATADIR%%/style.css
+share/locale/ja/LC_MESSAGES/gnome-web-photo.mo
+share/locale/oc/LC_MESSAGES/gnome-web-photo.mo
+share/locale/sv/LC_MESSAGES/gnome-web-photo.mo
+ at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list