Bug 95455 - [new port] mail/sylpheed-claws-maildir
Summary: [new port] mail/sylpheed-claws-maildir
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 04:00 UTC by Pawel Pekala
Modified: 2006-04-30 14:08 UTC (History)
0 users

See Also:


Attachments
maildir.shar (3.09 KB, text/plain)
2006-04-07 04:00 UTC, Pawel Pekala
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pekala 2006-04-07 04:00:34 UTC

maildir++ mailbox support plugin for mail/sylpheed-claws
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-04-07 04:04:12 UTC
Class Changed
From-To: sw-bug->change-request

Fix category (new ports should be change-requests)
Comment 2 Pawel Pekala 2006-04-09 15:22:06 UTC
 Updated to newer version (0.19 -> 0.20)

--- maildir.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:
#
#	sylpheed-claws-maildir/
#	sylpheed-claws-maildir/Makefile
#	sylpheed-claws-maildir/distinfo
#	sylpheed-claws-maildir/pkg-descr
#	sylpheed-claws-maildir/files
#	sylpheed-claws-maildir/files/patch-configure.ac
#
echo c - sylpheed-claws-maildir/
mkdir -p sylpheed-claws-maildir/ > /dev/null 2>&1
echo x - sylpheed-claws-maildir/Makefile
sed 's/^X//' >sylpheed-claws-maildir/Makefile << 'END-of-sylpheed-claws-maildir/Makefile'
X# New ports collection makefile for:	sylpheed-claws-maildir
X# Date created:	3 April 2006
X# Whom:	Pawel Pekala <c0rn@o2.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	maildir
XPORTVERSION=	0.20
XCATEGORIES=	mail
XMASTER_SITES=	http://claws.sylpheed.org/downloads/plugins/
XPKGNAMEPREFIX=	sylpheed-claws-
X
XMAINTAINER=	c0rn@o2.pl
XCOMMENT=	Maildir++ plugin for sylpheed-claws
X
XBUILD_DEPENDS=	sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws
XRUN_DEPENDS=	sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_AUTOTOOLS=	autoconf:259
XUSE_BDB=	yes
X
XCONFIGURE_ENV=	CFLAGS="-I${BDB_INCLUDE_DIR}" \
X	LDFLAGS="-l${BDB_LIB_NAME} -L${BDB_LIB_DIR}"
X
XPLIST_FILES=	lib/sylpheed-claws/plugins/maildir.a \
X	lib/sylpheed-claws/plugins/maildir.la \
X	lib/sylpheed-claws/plugins/maildir.so
X
X.include <bsd.port.mk>
END-of-sylpheed-claws-maildir/Makefile
echo x - sylpheed-claws-maildir/distinfo
sed 's/^X//' >sylpheed-claws-maildir/distinfo << 'END-of-sylpheed-claws-maildir/distinfo'
XMD5 (maildir-0.20.tar.gz) = 14678362400c69f5ea2cb19ca45fba3b
XSHA256 (maildir-0.20.tar.gz) = f12e54a80ad4291de7800787fe9ad43096f13ac98a862295cb6ff3856eec2987
XSIZE (maildir-0.20.tar.gz) = 337961
END-of-sylpheed-claws-maildir/distinfo
echo x - sylpheed-claws-maildir/pkg-descr
sed 's/^X//' >sylpheed-claws-maildir/pkg-descr << 'END-of-sylpheed-claws-maildir/pkg-descr'
XThis plugin provides direct support for Maildir++ mailboxes.
XWith this plugin you can share your Maildir++ mailbox with other 
Xmailers or IMAP servers.
END-of-sylpheed-claws-maildir/pkg-descr
echo c - sylpheed-claws-maildir/files
mkdir -p sylpheed-claws-maildir/files > /dev/null 2>&1
echo x - sylpheed-claws-maildir/files/patch-configure.ac
sed 's/^X//' >sylpheed-claws-maildir/files/patch-configure.ac << 'END-of-sylpheed-claws-maildir/files/patch-configure.ac'
X--- configure.ac.orig Wed Apr  5 20:25:22 2006
X+++ configure.ac Wed Apr  5 20:26:19 2006
X@@ -28,7 +28,11 @@
X # Check for sylpheed-claws
X #
X PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 1.9.100.160)
X-SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+if test -z $prefix ; then
X+  SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+else
X+  SYLPHEED_CLAWS_PLUGINDIR=$prefix/lib/sylpheed-claws/plugins
X+fi
X AC_SUBST(SYLPHEED_CLAWS_CFLAGS)
X AC_SUBST(SYLPHEED_CLAWS_LIBS)
X AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR)
END-of-sylpheed-claws-maildir/files/patch-configure.ac
exit

--- maildir.shar ends here ---
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2006-04-29 15:51:21 UTC
State Changed
From-To: open->feedback

Does not configure, looks like missed dependency to me: 

checking version of Berkeley DB... version 3.x or above 
checking for db_create() in -ldb-4.2... not found 
checking for db_create() in -ldb-4.1... not found 
checking for db_create() in -ldb-4.0... not found 
checking for db_create() in -ldb-4... not found 
checking for db_create() in -ldb4... not found 
checking for db_create() in -ldb-3.2... not found 
checking for db_create() in -ldb-3... not found 
checking for db_create() in -ldb3... not found 
checking for db_create() in -ldb... not found 
configure: error: libdb missing. 


Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2006-04-29 15:51:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 5 Pawel Pekala 2006-04-29 23:54:46 UTC
 Now compiles with db4[1234]

--- maildir.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:
#
#	sylpheed-claws-maildir/
#	sylpheed-claws-maildir/Makefile
#	sylpheed-claws-maildir/distinfo
#	sylpheed-claws-maildir/pkg-descr
#	sylpheed-claws-maildir/files
#	sylpheed-claws-maildir/files/patch-configure.ac
#
echo c - sylpheed-claws-maildir/
mkdir -p sylpheed-claws-maildir/ > /dev/null 2>&1
echo x - sylpheed-claws-maildir/Makefile
sed 's/^X//' >sylpheed-claws-maildir/Makefile << 'END-of-sylpheed-claws-maildir/Makefile'
X# New ports collection makefile for:	sylpheed-claws-maildir
X# Date created:	3 April 2006
X# Whom:	Pawel Pekala <c0rn@o2.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	maildir
XPORTVERSION=	0.20
XCATEGORIES=	mail
XMASTER_SITES=	http://claws.sylpheed.org/downloads/plugins/
XPKGNAMEPREFIX=	sylpheed-claws-
X
XMAINTAINER=	c0rn@o2.pl
XCOMMENT=	Maildir++ plugin for sylpheed-claws
X
XBUILD_DEPENDS=	sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws
XRUN_DEPENDS=	sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_AUTOTOOLS=	autoconf:259
XUSE_BDB=	yes
X
XCONFIGURE_ENV=	CFLAGS="-I${BDB_INCLUDE_DIR}" \
X	LDFLAGS="-l${BDB_LIB_NAME} -L${BDB_LIB_DIR}"
X
XPLIST_FILES=	lib/sylpheed-claws/plugins/maildir.a \
X	lib/sylpheed-claws/plugins/maildir.la \
X	lib/sylpheed-claws/plugins/maildir.so
X
X.include <bsd.port.mk>
END-of-sylpheed-claws-maildir/Makefile
echo x - sylpheed-claws-maildir/distinfo
sed 's/^X//' >sylpheed-claws-maildir/distinfo << 'END-of-sylpheed-claws-maildir/distinfo'
XMD5 (maildir-0.20.tar.gz) = 14678362400c69f5ea2cb19ca45fba3b
XSHA256 (maildir-0.20.tar.gz) = f12e54a80ad4291de7800787fe9ad43096f13ac98a862295cb6ff3856eec2987
XSIZE (maildir-0.20.tar.gz) = 337961
END-of-sylpheed-claws-maildir/distinfo
echo x - sylpheed-claws-maildir/pkg-descr
sed 's/^X//' >sylpheed-claws-maildir/pkg-descr << 'END-of-sylpheed-claws-maildir/pkg-descr'
XThis plugin provides direct support for Maildir++ mailboxes.
XWith this plugin you can share your Maildir++ mailbox with other 
Xmailers or IMAP servers.
END-of-sylpheed-claws-maildir/pkg-descr
echo c - sylpheed-claws-maildir/files
mkdir -p sylpheed-claws-maildir/files > /dev/null 2>&1
echo x - sylpheed-claws-maildir/files/patch-configure.ac
sed 's/^X//' >sylpheed-claws-maildir/files/patch-configure.ac << 'END-of-sylpheed-claws-maildir/files/patch-configure.ac'
X--- configure.ac.orig	Mon Feb 13 09:04:05 2006
X+++ configure.ac	Sun Apr 30 00:25:32 2006
X@@ -28,7 +28,11 @@
X # Check for sylpheed-claws
X #
X PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 1.9.100.160)
X-SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+if test -z $prefix ; then
X+  SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+else
X+  SYLPHEED_CLAWS_PLUGINDIR=$prefix/lib/sylpheed-claws/plugins
X+fi
X AC_SUBST(SYLPHEED_CLAWS_CFLAGS)
X AC_SUBST(SYLPHEED_CLAWS_LIBS)
X AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR)
X@@ -88,7 +92,7 @@
X   case "$DBVERS" in
X     3)
X     AC_MSG_RESULT([version 3.x or above])
X-    for lib in db-4.2 db-4.1 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
X+    for lib in db-4.4 db-4.3 db-4.2 db41 db-4.0 db-4 db4 db-3.2 db-3 db3 db; do
X       if test "x$DBLINKED" = "x0"; then
X dnl        AC_CHECK_LIB($lib, db_create, [DBLIB="-l$lib"; DBLINKED=1], [])
X dnl installations of libdb4 function names are defined in db.h
END-of-sylpheed-claws-maildir/files/patch-configure.ac
exit

--- maildir.shar ends here ---
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2006-04-30 14:08:30 UTC
State Changed
From-To: feedback->closed

New port added, thank you!