1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to version 2.1.5

PR:		ports/75266
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-12-20 08:47:41 +00:00
parent 713870636f
commit bab4175717
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124563
4 changed files with 37 additions and 40 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= gphoto2
PORTVERSION= 2.1.4
PORTREVISION= 1
PORTVERSION= 2.1.5
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gphoto
@ -20,17 +19,26 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
jpeg.9:${PORTSDIR}/graphics/jpeg \
gphoto2.2:${PORTSDIR}/graphics/libgphoto2
USE_BZIP2= yes
USE_GNOME= gnometarget
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --without-cdk
MAN1= gphoto2.1
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREADS_LIBS:S/"//g}|g ; \
s|-g -Wall||g' ${WRKSRC}/configure

View File

@ -1,2 +1,2 @@
MD5 (gphoto2-2.1.4.tar.bz2) = 5bbee55d4e59b063d3cff0fbc9121006
SIZE (gphoto2-2.1.4.tar.bz2) = 350858
MD5 (gphoto2-2.1.5.tar.gz) = 9bd1a033389f9e4e6425dda4f6e603c9
SIZE (gphoto2-2.1.5.tar.gz) = 535490

View File

@ -1,17 +0,0 @@
--- gphoto2/actions.c.orig Thu Sep 30 13:04:05 2004
+++ gphoto2/actions.c Thu Sep 30 13:14:06 2004
@@ -346,12 +346,13 @@
{
ExifEntry *e;
unsigned int i;
+ char value[1024];
for (i = 0; i < content->count; i++) {
e = content->entries[i];
printf ("%-20.20s", exif_tag_get_name (e->tag));
printf ("|");
- printf ("%-59.59s", exif_entry_get_value (e));
+ printf ("%-59.59s", exif_entry_get_value (e, value, sizeof(value)));
printf ("\n");
}
}

View File

@ -2,20 +2,26 @@ bin/gphoto2
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
share/locale/cs/LC_MESSAGES/gphoto2.mo
share/locale/da/LC_MESSAGES/gphoto2.mo
share/locale/de/LC_MESSAGES/gphoto2.mo
share/locale/es/LC_MESSAGES/gphoto2.mo
share/locale/fr/LC_MESSAGES/gphoto2.mo
share/locale/it/LC_MESSAGES/gphoto2.mo
share/locale/ja/LC_MESSAGES/gphoto2.mo
share/locale/no/LC_MESSAGES/gphoto2.mo
share/locale/pt_BR/LC_MESSAGES/gphoto2.mo
share/locale/ro/LC_MESSAGES/gphoto2.mo
share/locale/ru/LC_MESSAGES/gphoto2.mo
share/locale/sk/LC_MESSAGES/gphoto2.mo
share/locale/sl/LC_MESSAGES/gphoto2.mo
share/locale/sv/LC_MESSAGES/gphoto2.mo
share/locale/uk/LC_MESSAGES/gphoto2.mo
share/locale/zh_CN/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/az/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/cs/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/da/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/de/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/es/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/fi/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/fr/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/hu/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/it/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/ja/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/nl/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/no/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/ro/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/ru/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/sk/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/sl/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/sr/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/sv/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/uk/LC_MESSAGES/gphoto2.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gphoto2.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%