ports/66226: [NEW PORT] mail/gnubiff: A mail notification program for Gnome

Tim Bishop tim at bishnet.net
Mon May 3 21:50:35 UTC 2004


>Number:         66226
>Category:       ports
>Synopsis:       [NEW PORT] mail/gnubiff: A mail notification program for Gnome
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 03 14:50:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tim Bishop
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Fri Apr 30 17:57:19 BST 2004
>Description:
gnubiff is a mail notification program that checks for mail, displays
headers when new mail has arrived and allow to read first lines of
new mails.

It relies on the GNOME and GTK libraries but can be compiled and
used with or without GNOME support. Supported protocols are pop3,
apop, imap4, mh, qmail and mailfile.

Furthermore, gnubiff is fully configurable with a lot of options
like polltime, poptime, sounds, mail reader, mailbox names, etc.
and can also filter spam.

WWW: http://gnubiff.sourceforge.net/

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- gnubiff-1.2.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gnubiff
#	gnubiff/Makefile
#	gnubiff/distinfo
#	gnubiff/pkg-descr
#	gnubiff/pkg-plist
#	gnubiff/files
#	gnubiff/files/patch-configure
#	gnubiff/files/patch-src::Applet.cc
#	gnubiff/files/patch-src::Setup.cc
#
echo c - gnubiff
mkdir -p gnubiff > /dev/null 2>&1
echo x - gnubiff/Makefile
sed 's/^X//' >gnubiff/Makefile << 'END-of-gnubiff/Makefile'
X# New ports collection makefile for:	gnubiff
X# Date created:		3 May 2004
X# Whom:			Tim Bishop <tim at bishnet.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnubiff
XPORTVERSION=	1.2.0
XCATEGORIES=	mail
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	tim at bishnet.net
XCOMMENT=	A mail notification program for Gnome
X
XLIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
X
XUSE_X_PREFIX=	yes
XUSE_GNOME=	libglade2 esound
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
XMAN1=		gnubiff.1
XINFO=		gnubiff
X
X.if defined(WITH_GNUBIFF_PASSWORD)
XCONFIGURE_ARGS+=	--with-password
X.endif
X
X.if defined(WITH_GNUBIFF_GNOME)
XCONFIGURE_ARGS+=	--with-gnome
XUSE_GNOME+=		gnomepanel gconf2 gnomeprefix gnomehack
XPLIST_SUB+=		WITH_GNUBIFF_GNOME=""
XPLIST_SUB+=		SHAREDIR="share/gnome"
X.else
XPLIST_SUB+=		WITH_GNUBIFF_GNOME="@comment "
XPLIST_SUB+=		SHAREDIR="share"
X.endif
X
X.include <bsd.port.mk>
END-of-gnubiff/Makefile
echo x - gnubiff/distinfo
sed 's/^X//' >gnubiff/distinfo << 'END-of-gnubiff/distinfo'
XMD5 (gnubiff-1.2.0.tar.gz) = 63910d7656916b59f4ab18a33a92ff78
XSIZE (gnubiff-1.2.0.tar.gz) = 519590
END-of-gnubiff/distinfo
echo x - gnubiff/pkg-descr
sed 's/^X//' >gnubiff/pkg-descr << 'END-of-gnubiff/pkg-descr'
Xgnubiff is a mail notification program that checks for mail, displays
Xheaders when new mail has arrived and allow to read first lines of
Xnew mails.
X
XIt relies on the GNOME and GTK libraries but can be compiled and
Xused with or without GNOME support. Supported protocols are pop3,
Xapop, imap4, mh, qmail and mailfile.
X
XFurthermore, gnubiff is fully configurable with a lot of options
Xlike polltime, poptime, sounds, mail reader, mailbox names, etc.
Xand can also filter spam.
X
XWWW: http://gnubiff.sourceforge.net/
END-of-gnubiff/pkg-descr
echo x - gnubiff/pkg-plist
sed 's/^X//' >gnubiff/pkg-plist << 'END-of-gnubiff/pkg-plist'
Xbin/gnubiff
Xshare/locale/fr/LC_MESSAGES/gnubiff.mo
Xshare/locale/de/LC_MESSAGES/gnubiff.mo
Xshare/locale/nl/LC_MESSAGES/gnubiff.mo
Xshare/locale/ro/LC_MESSAGES/gnubiff.mo
Xshare/locale/es/LC_MESSAGES/gnubiff.mo
Xshare/locale/sv/LC_MESSAGES/gnubiff.mo
X%%SHAREDIR%%/gnubiff/Setup.glade2
X%%SHAREDIR%%/gnubiff/AppletGTK.glade2
X%%SHAREDIR%%/gnubiff/AppletGNOME.glade2
X%%SHAREDIR%%/gnubiff/Popup.glade2
X%%SHAREDIR%%/gnubiff/BiffCredits.png
X%%SHAREDIR%%/gnubiff/BiffFont.png
X%%SHAREDIR%%/gnubiff/BiffGeometry.png
X%%SHAREDIR%%/gnubiff/BiffLayout.png
X%%SHAREDIR%%/gnubiff/BiffMailbox.png
X%%SHAREDIR%%/gnubiff/BiffOptions.png
X%%SHAREDIR%%/gnubiff/entry-list.png
X%%SHAREDIR%%/gnubiff/gnome-mail.png
X%%SHAREDIR%%/gnubiff/gnome-nomail.png
X%%SHAREDIR%%/gnubiff/gnubiff.png
X%%SHAREDIR%%/gnubiff/gnubiff_icon.png
X%%SHAREDIR%%/gnubiff/gtk-mail.png
X%%SHAREDIR%%/gnubiff/gtk-nomail.png
X%%SHAREDIR%%/gnubiff/logo.png
X%%SHAREDIR%%/gnubiff/menu-mode-RGB-alt.png
X%%SHAREDIR%%/gnubiff/menu_about.png
X%%SHAREDIR%%/gnubiff/menu_mail_read.png
X%%SHAREDIR%%/gnubiff/menu_mail_start.png
X%%SHAREDIR%%/gnubiff/stock-adress.png
X%%SHAREDIR%%/gnubiff/stock-alarm.png
X%%SHAREDIR%%/gnubiff/stock-biff.png
X%%SHAREDIR%%/gnubiff/stock-clock.png
X%%SHAREDIR%%/gnubiff/stock-file.png
X%%SHAREDIR%%/gnubiff/stock-mailbox.png
X%%SHAREDIR%%/gnubiff/stock-network.png
X%%SHAREDIR%%/gnubiff/stock-nossl.png
X%%SHAREDIR%%/gnubiff/stock-panel.png
X%%SHAREDIR%%/gnubiff/stock-password.png
X%%SHAREDIR%%/gnubiff/stock-popup.png
X%%SHAREDIR%%/gnubiff/stock-sound.png
X%%SHAREDIR%%/gnubiff/stock-soundfile.png
X%%SHAREDIR%%/gnubiff/stock-ssl-file-small.png
X%%SHAREDIR%%/gnubiff/stock-ssl-file.png
X%%SHAREDIR%%/gnubiff/stock-ssl.png
X%%SHAREDIR%%/gnubiff/stock-timer-stopped.png
X%%SHAREDIR%%/gnubiff/stock-timer.png
X%%SHAREDIR%%/gnubiff/stock-users.png
X%%SHAREDIR%%/gnubiff/stock-volume.png
X%%SHAREDIR%%/gnubiff/stock_left.png
X%%SHAREDIR%%/gnubiff/stock_right.png
X%%SHAREDIR%%/gnubiff/gnome-mail.gif
X%%SHAREDIR%%/gnubiff/gtk-mail.gif
X%%SHAREDIR%%/pixmaps/gnubiff_icon.png
X%%SHAREDIR%%/sounds/gnubiff/mail.wav
X%%SHAREDIR%%/sounds/gnubiff/coin.wav
X%%WITH_GNUBIFF_GNOME%%libdata/bonobo/servers/GNOME_gnubiffApplet.server
X%%WITH_GNUBIFF_GNOME%%%%SHAREDIR%%/gnome-2.0/ui/GNOME_gnubiffApplet.xml
X at dirrm %%SHAREDIR%%/gnubiff
X at dirrm %%SHAREDIR%%/sounds/gnubiff
END-of-gnubiff/pkg-plist
echo c - gnubiff/files
mkdir -p gnubiff/files > /dev/null 2>&1
echo x - gnubiff/files/patch-configure
sed 's/^X//' >gnubiff/files/patch-configure << 'END-of-gnubiff/files/patch-configure'
X--- configure.bak	Mon May  3 19:00:27 2004
X+++ configure	Mon May  3 19:01:08 2004
X@@ -3868,7 +3868,7 @@
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X   ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lssl  $LIBS"
X+LIBS="-lssl -lcrypto  $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h.  */
X _ACEOF
X@@ -3931,7 +3931,7 @@
X #define HAVE_LIBSSL 1
X _ACEOF
X 
X-  LIBS="-lssl $LIBS"
X+  LIBS="-lssl -lcrypto $LIBS"
X 
X fi
X 
END-of-gnubiff/files/patch-configure
echo x - gnubiff/files/patch-src::Applet.cc
sed 's/^X//' >gnubiff/files/patch-src::Applet.cc << 'END-of-gnubiff/files/patch-src::Applet.cc'
X--- src/Applet.cc.bak	Mon May  3 22:05:00 2004
X+++ src/Applet.cc	Mon May  3 22:05:19 2004
X@@ -108,9 +108,7 @@
X 		else if (_owner->_sound_type == SOUND_FILE) {
X 			std::stringstream s;
X 			s << _owner->_sound_volume/100.0;
X-			std::string command = "play \"" + _owner->_sound_file + std::string ("\" -v ");
X-			command += s.str();
X-			command += " &";
X+			std::string command = "esdplay \"" + _owner->_sound_file + std::string ("\" &");
X 			system (command.c_str());
X 		}
X 	}
END-of-gnubiff/files/patch-src::Applet.cc
echo x - gnubiff/files/patch-src::Setup.cc
sed 's/^X//' >gnubiff/files/patch-src::Setup.cc << 'END-of-gnubiff/files/patch-src::Setup.cc'
X--- src/Setup.cc.bak	Mon May  3 22:05:03 2004
X+++ src/Setup.cc	Mon May  3 22:05:14 2004
X@@ -765,9 +765,7 @@
X 		gchar *data = (gchar *) g_object_get_data (G_OBJECT(get("soundfile")), "_file_");
X 		std::stringstream s;
X 		s << gfloat(gtk_range_get_value (GTK_RANGE (get ("volume"))))/100.0;
X-		std::string command = "play \"" + std::string (data) + std::string ("\" -v ");
X-		command += s.str();
X-		command += " &";
X+		std::string command = "esdplay \"" + std::string (data) + std::string ("\" &");
X 		system (command.c_str());
X 	}
X }
END-of-gnubiff/files/patch-src::Setup.cc
exit
--- gnubiff-1.2.0.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list