Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  5 May 2001 03:26:33 +0400 (MSD)
From:      osa@FreeBSD.org.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27085: mail/stuphead update to 0.5.2 (by maintainer)
Message-ID:  <20010504232633.9D4AB245@freebsd.org.ru>

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

>Number:         27085
>Category:       ports
>Synopsis:       mail/stuphead update to 0.5.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 04 16:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Russian FreeBSD Team
>Environment:
System: FreeBSD hole.etrust.ru 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu Apr 26 18:59:10 MSD 2001 root@hole.etrust.ru:/usr/obj/usr/src/sys/SWEET i386


>Description:
		mail/stuphead update to 0.5.2
>How-To-Repeat:
	
>Fix:

diff -ruN stuphead.old/Makefile stuphead/Makefile
--- stuphead.old/Makefile	Sat May  5 03:20:14 2001
+++ stuphead/Makefile	Sat May  5 03:25:16 2001
@@ -6,13 +6,16 @@
 #
 
 PORTNAME=	stuphead
-PORTVERSION=	0.4.9
+PORTVERSION=	0.5.2
 CATEGORIES=	mail
 MASTER_SITES=	http://stuphead.antex.ru/
 
+PATCH_SITES=	${MASTER_SITES}
+PATCHFILES=	${PORTNAME}-${PORTVERSION}.patch
+
 MAINTAINER=	ozz@FreeBSD.org.ru
 
-LIB_DEPENDS=	gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+LIB_DEPENDS=	iconv.2:${PORTSDIR}/converters/iconv
 
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
@@ -21,9 +24,38 @@
 USE_LIBTOOL=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS=	--enable-threads \
+		--prefix=${PREFIX}
+
+.if defined (WITH_PIXBUF)
+LIB_DEPENDS+=	gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+.else
+CONFIGURE_ARGS+=	--disable-gdk-pixbuf \
+			--disable-gdk_pixbuftest
+.endif
+
+.if defined (WITH_GNOME)
+USE_GNOME=	yes
+CONFIGURE_ARGS+=	--enable-gnome
+.else
+CONFIGURE_ARGS+=	--disable-imlib \
+			--disable-imlibtest
+.endif
+
+.if defined (WITH_MOZILLA)
+CONFIGURE_ARGS+=	--enable-mozilla
+BUILD_DEPENDS+=	${PREFIX}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers
+RUN_DEPENDS+=	${PREFIX}/bin/mozilla:${PORTSDIR}/www/mozilla
+.endif
+
+.if defined (WITH_ISPELL)
+RUN_DEPENDS+=	${PREFIX}/bin/ispell-ru:${PORTSDIR}/russian/rus-ispell
+.endif
 
 pre-patch:
 	@${PERL} -pi -e 's#DATADIRNAME=lib#DATADIRNAME=share#g' \
+		${WRKSRC}/configure
+	@${PERL} -pi -e 's#/usr/bin/gnome-config#$(PREFIX)/bin/gnome-config#g' \
 		${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -ruN stuphead.old/distinfo stuphead/distinfo
--- stuphead.old/distinfo	Sat May  5 03:20:14 2001
+++ stuphead/distinfo	Fri May  4 19:37:22 2001
@@ -1 +1,2 @@
-MD5 (stuphead-0.4.9.tar.bz2) = e219e37acf90c462e3f1a0c63a1546f3
+MD5 (stuphead-0.5.2.tar.bz2) = 1e4024b142f10a73a08da0035867c03a
+MD5 (stuphead-0.5.2.patch) = aeb8d2ea39e7c00910ecdcb8fbc622b2
diff -ruN stuphead.old/files/patch-Makefile.in stuphead/files/patch-Makefile.in
--- stuphead.old/files/patch-Makefile.in	Thu Jan  1 03:00:00 1970
+++ stuphead/files/patch-Makefile.in	Fri May  4 19:57:29 2001
@@ -0,0 +1,17 @@
+--- Makefile.in.orig	Fri May  4 19:56:35 2001
++++ Makefile.in	Fri May  4 19:57:01 2001
+@@ -424,11 +424,11 @@
+ 	-rm -rf $(distdir)
+ 
+ install-data-local:
+-	@INSTALL@ -d -m755 $(GNOME_DATADIR)/gnome/apps/Internet
+-	@INSTALL@ -m644 stuphead.desktop $(GNOME_DATADIR)/gnome/apps/Internet
++	@INSTALL@ -d -m755 $(GNOME_DATADIR)/apps/Internet
++	@INSTALL@ -m644 stuphead.desktop $(GNOME_DATADIR)/apps/Internet
+ 
+ uninstall-local:
+-	rm -f $(GNOME_DATADIR)/gnome/apps/Internet/stuphead.desktop
++	rm -f $(GNOME_DATADIR)/apps/Internet/stuphead.desktop
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff -ruN stuphead.old/files/patch-src::main.h stuphead/files/patch-src::main.h
--- stuphead.old/files/patch-src::main.h	Thu Jan  1 03:00:00 1970
+++ stuphead/files/patch-src::main.h	Fri May  4 21:06:53 2001
@@ -0,0 +1,14 @@
+--- src/main.h.orig	Fri May  4 20:46:11 2001
++++ src/main.h	Fri May  4 20:46:57 2001
+@@ -71,9 +71,9 @@
+ #define DEFAULT_INC_PROGRAM	"inc"
+ /* #define DEFAULT_INC_PATH	"/usr/bin/imget" */
+ /* #define DEFAULT_INC_PROGRAM	"imget" */
+-#define DEFAULT_SPOOL_PATH	"/var/spool/mail"
++#define DEFAULT_SPOOL_PATH	"/var/mail"
+ 
+-#define DEFAULT_ISPELL_COMMAND	"ispell -d russian -a"
++#define DEFAULT_ISPELL_COMMAND	"ispell-ru -a"
+ 
+ #define BUFFSIZE			8192
+ #define MAXPATHLEN			4095
diff -ruN stuphead.old/files/patch-src::stuphead stuphead/files/patch-src::stuphead
--- stuphead.old/files/patch-src::stuphead	Thu Jan  1 03:00:00 1970
+++ stuphead/files/patch-src::stuphead	Fri May  4 19:14:52 2001
@@ -0,0 +1,11 @@
+--- src/stuphead.orig	Fri May  4 19:12:38 2001
++++ src/stuphead	Fri May  4 19:13:57 2001
+@@ -15,6 +15,8 @@
+ 	MOZILLA_HOME=/usr/local/lib/mozilla
+ elif [ -f ~/mozilla/libgtkembedmoz.so ]; then 
+ 	MOZILLA_HOME=~/mozilla
++elif [ -f /usr/X11R6/lib/mozilla/libgtkembedmoz.so ]; then 
++	MOZILLA_HOME=/usr/X11R6/lib/mozilla
+ fi
+ 
+ LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
diff -ruN stuphead.old/pkg-descr stuphead/pkg-descr
--- stuphead.old/pkg-descr	Sat May  5 03:20:14 2001
+++ stuphead/pkg-descr	Fri May  4 19:39:15 2001
@@ -1,4 +1,4 @@
-Russian mailer stuphead 0.4.9.
-Based on Sylpheed 0.4.1 Copyright(C) 1999,2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
+Russian mailer stuphead based on Sylpheed 0.4.1
+Copyright(C) 1999,2000 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
 
 WWW: http://stuphead.antex.ru/
diff -ruN stuphead.old/pkg-plist stuphead/pkg-plist
--- stuphead.old/pkg-plist	Sat May  5 03:20:14 2001
+++ stuphead/pkg-plist	Fri May  4 17:08:26 2001
@@ -1,3 +1,6 @@
 bin/stuphead
+bin/stupheadbin
 share/locale/fr/LC_MESSAGES/stuphead.mo
 share/locale/ru/LC_MESSAGES/stuphead.mo
+share/pixmaps/stuphead.xpm
+share/gnome/apps/Internet/stuphead.desktop
>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?20010504232633.9D4AB245>