Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 08:03:28 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33058: Update port: mail/gbiff to 3.0
Message-ID:  <200112211603.fBLG3SI93666@freefall.freebsd.org>

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

>Number:         33058
>Category:       ports
>Synopsis:       Update port: mail/gbiff to 3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 08:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.0

Remove file:
files/patch-aa
files/patch-ab
files/patch-ac

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/mail/gbiff/Makefile mail/gbiff/Makefile
--- /usr/ports/mail/gbiff/Makefile	Sun Apr 15 09:59:08 2001
+++ mail/gbiff/Makefile	Thu Dec 20 06:12:33 2001
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	gbiff
-PORTVERSION=	2.4a
-PORTREVISION=	1
+PORTVERSION=	3.0
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,15 +14,19 @@
 MAINTAINER=	nakai@FreeBSD.org
 
 USE_X_PREFIX=	yes
-USE_GMAKE=	yes
 USE_GNOME=	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib"
 
 pre-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+	@${PERL} -pi -e 's|DATADIRNAME=lib|DATADIRNAME=share|g ; \
+		 s|`gtk-config --cflags`|`\$$GTK_CONFIG --cflags`|g ; \
+		 s|`gtk-config --libs`|`\$$GTK_CONFIG --libs`|g ; \
+		 s|<iconv.h>|<giconv.h>|g ; \
+		 s|-liconv|-lgiconv|g ; \
+		 s|DATADIRNAME}"|DATADIRNAME}/gnome"|g' ${WRKSRC}/configure
 	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
 		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
 		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
diff -urN /usr/ports/mail/gbiff/distinfo mail/gbiff/distinfo
--- /usr/ports/mail/gbiff/distinfo	Sat Mar 31 22:47:12 2001
+++ mail/gbiff/distinfo	Thu Dec 20 03:47:10 2001
@@ -1 +1 @@
-MD5 (gbiff-2.4a.tar.gz) = 9aefbca00c70bfc5538075e05269436c
+MD5 (gbiff-3.0.tar.gz) = 2b712902ce0c4a29fd35f4be80b3180d
diff -urN /usr/ports/mail/gbiff/files/patch-aa mail/gbiff/files/patch-aa
--- /usr/ports/mail/gbiff/files/patch-aa	Sat Mar 31 22:47:14 2001
+++ mail/gbiff/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- src/protocol.c.orig	Sat Mar 31 22:01:07 2001
-+++ src/protocol.c	Sat Mar 31 22:01:39 2001
-@@ -392,7 +392,7 @@
-   sup_bound = 0;
-   range_end = 0;
-   while (fgets (line, 4095, file)) {
--    if strstr (line, "unseen:") {
-+    if(strstr (line, "unseen:")){
-       buffer = line + strlen ("unseen: ");
- 
-       while (*buffer != '\n') {
-@@ -550,7 +550,7 @@
-   sup_bound = 0;
-   range_end = 0;
-   while (fgets (line, 4095, file)) {
--    if strstr (line, "unseen:") {
-+    if(strstr (line, "unseen:")){
-       buffer = line + strlen ("unseen: ");
-       while (*buffer != '\n') {
- 	/*
diff -urN /usr/ports/mail/gbiff/files/patch-ab mail/gbiff/files/patch-ab
--- /usr/ports/mail/gbiff/files/patch-ab	Sat Mar 31 22:47:14 2001
+++ mail/gbiff/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,17 +0,0 @@
---- configure.orig	Sat Mar 31 22:26:45 2001
-+++ configure	Sat Mar 31 22:27:00 2001
-@@ -3834,12 +3834,12 @@
- 
- if test "x${prefix}" = "xNONE"; then
-   cat >> confdefs.h <<EOF
--#define PACKAGE_DATA_DIR "${ac_default_prefix}/${DATADIRNAME}"
-+#define PACKAGE_DATA_DIR "${ac_default_prefix}/${DATADIRNAME}/gnome"
- EOF
- 
- else
-   cat >> confdefs.h <<EOF
--#define PACKAGE_DATA_DIR "${prefix}/${DATADIRNAME}"
-+#define PACKAGE_DATA_DIR "${prefix}/${DATADIRNAME}/gnome"
- EOF
- 
- fi
diff -urN /usr/ports/mail/gbiff/files/patch-ac mail/gbiff/files/patch-ac
--- /usr/ports/mail/gbiff/files/patch-ac	Sun Apr 15 09:59:10 2001
+++ mail/gbiff/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,15 +0,0 @@
---- src/gbiff.c.orig	Fri Mar 23 05:47:18 2001
-+++ src/gbiff.c	Thu Apr 12 03:17:41 2001
-@@ -25,12 +25,10 @@
- #  include <gnome.h>
- #  include <applet-widget.h>
- #endif
--#include <popt.h>
- #include <gtk/gtk.h>
- #include <string.h>
- #include <stdlib.h>
- #include <stdio.h>
--#include <popt.h>
- 
- #include "protocol.h"
- #include "callbacks.h"
diff -urN /usr/ports/mail/gbiff/pkg-plist mail/gbiff/pkg-plist
--- /usr/ports/mail/gbiff/pkg-plist	Sat Mar 31 22:47:12 2001
+++ mail/gbiff/pkg-plist	Thu Dec 20 05:48:08 2001
@@ -1,10 +1,14 @@
 bin/gbiff
 etc/CORBA/servers/gbiff.gnorba
 share/gnome/applets/Network/gbiff.desktop
+share/gnome/locale/fr/LC_MESSAGES/gbiff.mo
+share/gnome/pixmaps/gbiff/gbiff.png
 share/gnome/pixmaps/gbiff/gnome-mail.xpm
 share/gnome/pixmaps/gbiff/gnome-nomail.xpm
 share/gnome/pixmaps/gbiff/gtk-mail.xpm
 share/gnome/pixmaps/gbiff/gtk-nomail.xpm
+share/gnome/pixmaps/gbiff/logo.xpm
+share/gnome/pixmaps/gbiff/play.xpm
 share/gnome/sounds/gbiff/mail.wav
-@dirrm share/gnome/pixmaps/gbiff
 @dirrm share/gnome/sounds/gbiff
+@dirrm share/gnome/pixmaps/gbiff

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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