aboutsummaryrefslogtreecommitdiff
path: root/www/gnome-web-photo
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-03-25 11:49:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-03-25 11:49:32 +0000
commit6541cf841c8dd6ae7328000d47e8a2223305f48e (patch)
tree540715f9f0cb45b4041d403a1539232928658ab5 /www/gnome-web-photo
parenteaf7075a977d877a007537a4ec2e1f48f8bd018a (diff)
downloadports-6541cf841c8dd6ae7328000d47e8a2223305f48e.tar.gz
ports-6541cf841c8dd6ae7328000d47e8a2223305f48e.zip
Notes
Diffstat (limited to 'www/gnome-web-photo')
-rw-r--r--www/gnome-web-photo/Makefile15
-rw-r--r--www/gnome-web-photo/distinfo4
-rw-r--r--www/gnome-web-photo/files/patch-src__Writer.cpp12
-rw-r--r--www/gnome-web-photo/pkg-plist14
4 files changed, 25 insertions, 20 deletions
diff --git a/www/gnome-web-photo/Makefile b/www/gnome-web-photo/Makefile
index 41f208b0762d..c5d56376f428 100644
--- a/www/gnome-web-photo/Makefile
+++ b/www/gnome-web-photo/Makefile
@@ -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>
diff --git a/www/gnome-web-photo/distinfo b/www/gnome-web-photo/distinfo
index 2dcd87a6b522..4aeb01a98a91 100644
--- a/www/gnome-web-photo/distinfo
+++ b/www/gnome-web-photo/distinfo
@@ -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
diff --git a/www/gnome-web-photo/files/patch-src__Writer.cpp b/www/gnome-web-photo/files/patch-src__Writer.cpp
deleted file mode 100644
index 2fcc3279f0e6..000000000000
--- a/www/gnome-web-photo/files/patch-src__Writer.cpp
+++ /dev/null
@@ -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));
diff --git a/www/gnome-web-photo/pkg-plist b/www/gnome-web-photo/pkg-plist
index 4f9fb271f694..f2dc18820054 100644
--- a/www/gnome-web-photo/pkg-plist
+++ b/www/gnome-web-photo/pkg-plist
@@ -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%%