1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- Update to 0.10

PR:		155839
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2011-03-25 11:49:32 +00:00
parent eaf7075a97
commit 6541cf841c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271694
4 changed files with 25 additions and 20 deletions

View File

@ -8,27 +8,32 @@
#
PORTNAME= gnome-web-photo
PORTVERSION= 0.9
PORTVERSION= 0.10
CATEGORIES= www
MASTER_SITES= GNOME
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to generate full-size image files and thumbnails
LIB_DEPENDS= webkit-1.0.13:${PORTSDIR}/www/webkit-gtk2
LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
USE_BZIP2= yes
USE_GNOME= gconf2 gnomehack gnomeprefix
USE_GECKO= libxul
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-gtk=2.0
GCONF_SCHEMAS= thumbnailer.schemas
CFLAGS+= `pkg-config --cflags-only-I libxul`
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|libxul-unstable||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gnome-web-photo-0.9.tar.bz2) = b959fa061bd4d839bb13b9ec132ebdec50c908de6ea0c1667c065b41be8830e4
SIZE (gnome-web-photo-0.9.tar.bz2) = 317068
SHA256 (gnome-web-photo-0.10.tar.bz2) = 6421e460421f54e8a1b90df311726c6927032fe8c84fa86e39f5f4f8872363ea
SIZE (gnome-web-photo-0.10.tar.bz2) = 301458

View File

@ -1,12 +0,0 @@
--- 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));

View File

@ -1,9 +1,21 @@
bin/gnome-web-photo
bin/gnome-web-print
bin/gnome-web-thumbnail
%%DATADIR%%/prefs.js
%%DATADIR%%/style.css
share/locale/cs/LC_MESSAGES/gnome-web-photo.mo
share/locale/da/LC_MESSAGES/gnome-web-photo.mo
share/locale/de/LC_MESSAGES/gnome-web-photo.mo
share/locale/es/LC_MESSAGES/gnome-web-photo.mo
share/locale/fr/LC_MESSAGES/gnome-web-photo.mo
share/locale/gl/LC_MESSAGES/gnome-web-photo.mo
share/locale/he/LC_MESSAGES/gnome-web-photo.mo
share/locale/ja/LC_MESSAGES/gnome-web-photo.mo
share/locale/nb/LC_MESSAGES/gnome-web-photo.mo
share/locale/oc/LC_MESSAGES/gnome-web-photo.mo
share/locale/pa/LC_MESSAGES/gnome-web-photo.mo
share/locale/pl/LC_MESSAGES/gnome-web-photo.mo
share/locale/pt_BR/LC_MESSAGES/gnome-web-photo.mo
share/locale/sl/LC_MESSAGES/gnome-web-photo.mo
share/locale/sv/LC_MESSAGES/gnome-web-photo.mo
share/locale/zh_CN/LC_MESSAGES/gnome-web-photo.mo
@dirrm %%DATADIR%%