Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2004 00:06:27 +0900 (JST)
From:      UMENO Takashi <umeno@rr.iij4u.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66472: Maintainer Update: graphics/zphoto to 1.0
Message-ID:  <200405101506.i4AF6RBT099604@belldandy.unnumbered.net>
Resent-Message-ID: <200405101510.i4AFA7WR075740@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66472
>Category:       ports
>Synopsis:       Maintainer Update: graphics/zphoto to 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 10 08:10:07 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     UMENO Takashi
>Release:        FreeBSD 4.10-BETA i386
>Organization:
individual
>Environment:
System: FreeBSD belldandy.unnumbered.net 4.10-BETA FreeBSD 4.10-BETA #0: Wed Apr 21 07:49:51 JST 2004 umeno@belldandy.unnumbered.net:/usr/obj/usr/src/sys/SAKUYA22 i386


	
>Description:
Maintainer Update: graphics/zphoto to 1.0

New file:
pkg-plist.wxzphoto

Remove file:
files/patch-zphoto.c

>How-To-Repeat:
N/A
>Fix:

diff -urN zphoto.orig/Makefile zphoto/Makefile
--- zphoto.orig/Makefile	Mon Apr 12 22:30:26 2004
+++ zphoto/Makefile	Mon May 10 23:56:10 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zphoto
-PORTVERSION=	0.9
+PORTVERSION=	1.0
 CATEGORIES=	graphics www
 MASTER_SITES=	http://namazu.org/~satoru/zphoto/
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -18,6 +18,11 @@
 		Imlib2.2:${PORTSDIR}/graphics/imlib2 \
 		popt.0:${PORTSDIR}/devel/popt \
 		aviplay.0:${PORTSDIR}/multimedia/avifile
+.if defined (WITH_WXGTK)
+LIB_DEPENDS+=	wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
+.elif defined (WITH_WXGTK2)
+LIB_DEPENDS+=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
+.endif
 RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
 
 USE_REINPLACE=	yes
@@ -25,10 +30,19 @@
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
 	       	CPPFLAGS="-I${LOCALBASE}/include \
 		${PTHREAD_CFLAGS}"
+.if defined (WITH_WXGTK) || (WITH_WXGTK2)
+PLIST+=		${PKGDIR}/pkg-plist.wxzphoto
+.else
+CONFIGURE_ARGS=	--disable-wx
+.endif
 USE_GMAKE=	yes
 USE_XLIB=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure
-
+.if defined (WITH_WXGTK)
+	@${REINPLACE_CMD} -e 's|wxgtk2-config||g' -e 's|wxgtk2-2.5-config||g' -e 's|wxgtk2-2.4-config||g' ${WRKSRC}/configure
+.elif defined (WITH_WXGTK2)
+	@${REINPLACE_CMD} -e 's|wx-config||g' -e 's|wxgtk-config||g' ${WRKSRC}/configure
+.endif
 .include <bsd.port.mk>
diff -urN zphoto.orig/distinfo zphoto/distinfo
--- zphoto.orig/distinfo	Mon Apr 12 22:30:26 2004
+++ zphoto/distinfo	Sun May  9 03:14:07 2004
@@ -1,2 +1,2 @@
-MD5 (zphoto-0.9.tar.gz) = 49831fc49878c25397f635458ea45a93
-SIZE (zphoto-0.9.tar.gz) = 150821
+MD5 (zphoto-1.0.tar.gz) = 7cba659b913468124b664bcde52efece
+SIZE (zphoto-1.0.tar.gz) = 419086
diff -urN zphoto.orig/files/patch-configure zphoto/files/patch-configure
--- zphoto.orig/files/patch-configure	Tue Mar  2 18:48:23 2004
+++ zphoto/files/patch-configure	Wed May  5 16:44:51 2004
@@ -1,6 +1,6 @@
---- configure.orig	Thu Feb 26 19:09:36 2004
-+++ configure	Tue Mar  2 10:21:20 2004
-@@ -3725,7 +3725,7 @@
+--- configure.orig	Wed May  5 16:27:51 2004
++++ configure	Wed May  5 16:44:18 2004
+@@ -4131,7 +4131,7 @@
      SWFMovie_save(movie, "foo"); /* 0.2a API */
  }
  EOF
diff -urN zphoto.orig/files/patch-zphoto.c zphoto/files/patch-zphoto.c
--- zphoto.orig/files/patch-zphoto.c	Mon Apr 12 14:42:05 2004
+++ zphoto/files/patch-zphoto.c	Thu Jan  1 09:00:00 1970
@@ -1,12 +0,0 @@
---- zphoto.c.orig	Sat Apr 10 18:12:30 2004
-+++ zphoto.c	Mon Apr 12 09:48:26 2004
-@@ -1308,8 +1308,8 @@
-     fp = zphoto_efopen(file_name, "r");
- 
-     while (fgets(buf, BUFSIZ, fp)) {
--        buf[strcspn(buf, "\r\n")] = '\0'; /* chomp */
-         char *sep, *file_name, *caption;
-+        buf[strcspn(buf, "\r\n")] = '\0'; /* chomp */
-         if (buf[0] == '#')
-             continue;
-         if ((sep = strchr(buf, '\t'))) {
diff -urN zphoto.orig/pkg-plist zphoto/pkg-plist
--- zphoto.orig/pkg-plist	Fri Jan 31 09:47:43 2003
+++ zphoto/pkg-plist	Sat May  8 23:45:45 2004
@@ -1,24 +1,33 @@
 bin/zphoto
-share/zphoto/templates/en/.photo.html
-share/zphoto/templates/en/index.html
-share/zphoto/templates/en/noflash.html
-share/zphoto/templates/en/zphoto.css
-share/zphoto/templates/ja/.photo.html
-share/zphoto/templates/ja/index.html
-share/zphoto/templates/ja/noflash.html
-share/zphoto/templates/ja/zphoto.css
-share/zphoto/templates/all/.photo.html
-share/zphoto/templates/all/zphoto.css
-share/zphoto/templates/all/index.html.en
-share/zphoto/templates/all/index.html.ja
-share/zphoto/templates/all/noflash.html.en
-share/zphoto/templates/all/noflash.html.ja
+share/zphoto/templates/default/en/.photo.html
+share/zphoto/templates/default/en/index.html
+share/zphoto/templates/default/en/noflash.html
+share/zphoto/templates/default/en/zphoto.css
+share/zphoto/templates/default/en/flash-colors.txt
+share/zphoto/templates/default/en/css-colors.txt
+share/zphoto/templates/default/ja/.photo.html
+share/zphoto/templates/default/ja/index.html
+share/zphoto/templates/default/ja/noflash.html
+share/zphoto/templates/default/ja/zphoto.css
+share/zphoto/templates/default/ja/flash-colors.txt
+share/zphoto/templates/default/ja/css-colors.txt
+share/zphoto/templates/default/all/.photo.html
+share/zphoto/templates/default/all/zphoto.css
+share/zphoto/templates/default/all/index.html.en
+share/zphoto/templates/default/all/index.html.ja
+share/zphoto/templates/default/all/noflash.html.en
+share/zphoto/templates/default/all/noflash.html.ja
+share/zphoto/templates/default/all/flash-colors.txt
+share/zphoto/templates/default/all/css-colors.txt
 share/zphoto/doc/zphoto-ja.html
 share/zphoto/doc/zphoto.html
 share/zphoto/fonts/EfontSerifB.fdb
-@dirrm share/zphoto/templates/en
-@dirrm share/zphoto/templates/ja
-@dirrm share/zphoto/templates/all
+share/locale/ja/LC_MESSAGES/zphoto.mo
+share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo
+@dirrm share/zphoto/templates/default/en
+@dirrm share/zphoto/templates/default/ja
+@dirrm share/zphoto/templates/default/all
+@dirrm share/zphoto/templates/default
 @dirrm share/zphoto/templates
 @dirrm share/zphoto/fonts
 @dirrm share/zphoto/doc
diff -urN zphoto.orig/pkg-plist.wxzphoto zphoto/pkg-plist.wxzphoto
--- zphoto.orig/pkg-plist.wxzphoto	Thu Jan  1 09:00:00 1970
+++ zphoto/pkg-plist.wxzphoto	Sat May  8 23:45:42 2004
@@ -0,0 +1 @@
+bin/wxzphoto



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405101506.i4AF6RBT099604>