summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-04-27 00:42:58 +0000
committerrh <rh@pkgsrc.org>2003-04-27 00:42:58 +0000
commitdd730a8ee627cb369af9c9fe8db05778b3b58b63 (patch)
tree81a2062576c9e7cb14bb571e76e4aee235456714
parent0b2b158f56f3af1aa40279c5a860785b3ed53ef4 (diff)
downloadpkgsrc-dd730a8ee627cb369af9c9fe8db05778b3b58b63.tar.gz
Initial import of balsa-2.0.10, a GNOME2 EMail client.
This is the pkgsrc-wip version with bugfixes from Juan RP.
-rw-r--r--mail/balsa2/DESCR8
-rw-r--r--mail/balsa2/Makefile61
-rw-r--r--mail/balsa2/PLIST84
-rw-r--r--mail/balsa2/distinfo8
-rw-r--r--mail/balsa2/patches/patch-aa13
-rw-r--r--mail/balsa2/patches/patch-ab14
-rw-r--r--mail/balsa2/patches/patch-ac13
-rw-r--r--mail/balsa2/patches/patch-ad13
8 files changed, 214 insertions, 0 deletions
diff --git a/mail/balsa2/DESCR b/mail/balsa2/DESCR
new file mode 100644
index 00000000000..0c8fcaaa3c3
--- /dev/null
+++ b/mail/balsa2/DESCR
@@ -0,0 +1,8 @@
+ Balsa is an e-mail reader. This client is part of the GNOME2 desktop
+environment. It supports local mailboxes, POP3 and IMAP. It supports:
+
+ * Local mailboxes (mbox, maildir, mh)
+ * POP3
+ * IMAP
+ * MIME (in progress)
+ * many other things that I can't think of right now! :-)
diff --git a/mail/balsa2/Makefile b/mail/balsa2/Makefile
new file mode 100644
index 00000000000..c2c65272684
--- /dev/null
+++ b/mail/balsa2/Makefile
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/27 00:42:58 rh Exp $
+#
+
+DISTNAME= balsa-2.0.10
+CATEGORIES= mail gnome
+MASTER_SITES= http://balsa.gnome.org/ \
+ ftp://ftp.newton.cx/pub/balsa/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://balsa.gnome.org/
+COMMENT= GNOME2 EMail client
+
+BUILD_USES_MSGFMT= yes
+
+USE_PERL5= build
+USE_PKGINSTALL= yes
+USE_BUILDLINK2= yes
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --enable-gpgme
+CONFIGURE_ARGS+= --disable-more-warnings
+CONFIGURE_ARGS+= --enable-threads
+CONFIGURE_ARGS+= --enable-pcre
+CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/balsa
+.for cnf in balsa.soundlist email.soundlist
+CONF_FILES+= ${EGDIR}/${cnf} ${PKG_SYSCONFDIR}/sound/events/${cnf}
+.endfor
+
+.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
+CONFIGURE_ARGS+= --enable-ldap
+.include "../../databases/openldap/buildlink2.mk"
+.endif
+
+.include "../../security/gpgme/buildlink2.mk"
+.include "../../devel/pcre/buildlink2.mk"
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../devel/libtool/buildlink2.mk"
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../sysutils/gnome-vfs2/buildlink2.mk"
+.include "../../print/libgnomeprintui/buildlink2.mk"
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../textproc/aspell/buildlink2.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
+.include "../../www/libgtkhtml/buildlink2.mk"
+.include "../../mail/libesmtp/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+
+.if defined(BUILDLINK_LIBICONV_LDADD) && !empty(BUILDLINK_LIBICONV_LDADD)
+CONFIGURE_ENV+= ac_cv_lib_iconv_iconv_open=yes
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/balsa2/PLIST b/mail/balsa2/PLIST
new file mode 100644
index 00000000000..610cf235084
--- /dev/null
+++ b/mail/balsa2/PLIST
@@ -0,0 +1,84 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/27 00:42:58 rh Exp $
+bin/balsa
+bin/balsa-ab
+man/man1/balsa.1
+share/applications/balsa.desktop
+share/balsa/pixmaps/attachment.png
+share/balsa/pixmaps/balsa-logo.png
+share/balsa/pixmaps/balsa-top.png
+share/balsa/pixmaps/balsa-watermark.png
+share/balsa/pixmaps/balsa_icon.png
+share/balsa/pixmaps/balsa_logo.png
+share/examples/balsa/balsa.soundlist
+share/examples/balsa/email.soundlist
+share/gnome/help/balsa/C/balsa.xml
+share/gnome/help/balsa/C/fdl-appendix.xml
+share/gnome/help/balsa/C/figures/address-book-ldap.png
+share/gnome/help/balsa/C/figures/address-book-modify.png
+share/gnome/help/balsa/C/figures/address-book-start.png
+share/gnome/help/balsa/C/figures/address-book-vcard.png
+share/gnome/help/balsa/C/figures/address-book.png
+share/gnome/help/balsa/C/figures/balsa_logo.png
+share/gnome/help/balsa/C/figures/druid-start.png
+share/gnome/help/balsa/C/figures/example-alias.png
+share/gnome/help/balsa/C/figures/figuresdobaaddress-book-modify.png
+share/gnome/help/balsa/C/figures/main-window-toolbar.png
+share/gnome/help/balsa/C/figures/main-window.png
+share/gnome/help/balsa/C/figures/newmsg-window-attachments.png
+share/gnome/help/balsa/C/figures/newmsg-window-toolbar.png
+share/gnome/help/balsa/C/figures/newmsg-window.png
+share/gnome/help/balsa/C/figures/preferences-window.png
+share/gnome/help/balsa/C/figures/spell-check.png
+${PKGLOCALEDIR}/locale/am/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/he/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/lv/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ml/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/nn/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/wa/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/balsa.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/balsa.mo
+share/omf/balsa/balsa-C.omf
+share/pixmaps/gnome-balsa2.png
+share/sounds/balsa/newmail.wav
+share/sounds/balsa/startup.wav
+@dirrm share/sounds/balsa
+@dirrm share/omf/balsa
+@dirrm share/gnome/help/balsa/C/figures
+@dirrm share/gnome/help/balsa/C
+@dirrm share/gnome/help/balsa
+@dirrm share/examples/balsa
+@dirrm share/balsa/pixmaps
+@dirrm share/balsa
diff --git a/mail/balsa2/distinfo b/mail/balsa2/distinfo
new file mode 100644
index 00000000000..c6a80e6eb89
--- /dev/null
+++ b/mail/balsa2/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/27 00:42:58 rh Exp $
+
+SHA1 (balsa-2.0.10.tar.bz2) = ec55d49c1797fdb52e46129b29e34191e103c24b
+Size (balsa-2.0.10.tar.bz2) = 2574787 bytes
+SHA1 (patch-aa) = 115368550ab0be9be35cafdab5e354139b8c5634
+SHA1 (patch-ab) = 47083f65d404e64ee238bc3e4f3e25008f5f82c8
+SHA1 (patch-ac) = 8a6eb00c8969040bec4aac63075563fcc586754d
+SHA1 (patch-ad) = 963c35de785ba3d37c4a2df396cf391ef1aa9082
diff --git a/mail/balsa2/patches/patch-aa b/mail/balsa2/patches/patch-aa
new file mode 100644
index 00000000000..29a3e6c17af
--- /dev/null
+++ b/mail/balsa2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/27 00:42:58 rh Exp $
+
+--- libmutt/configure.orig 2003-03-22 19:26:17.000000000 +1000
++++ libmutt/configure
+@@ -9873,7 +9873,7 @@ if test "${with_ssl+set}" = set; then
+ echo "$as_me: error: SSL support is only for IMAP, but IMAP is not enabled" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+- if pkg-config openssl >& /dev/null; then
++ if pkg-config openssl > /dev/null 2>&1 ; then
+ echo here
+ LDFLAGS="$LIBS `pkg-config --libs openssl`"
+ CPPFLAGS="`pkg-config --cflags-only-I openssl` $CPPFLAGS"
diff --git a/mail/balsa2/patches/patch-ab b/mail/balsa2/patches/patch-ab
new file mode 100644
index 00000000000..8d4cac881bc
--- /dev/null
+++ b/mail/balsa2/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/04/27 00:42:58 rh Exp $
+
+--- src/threads.h.orig 2003-01-25 23:04:31.000000000 +1000
++++ src/threads.h
+@@ -21,6 +21,9 @@
+
+ #ifndef __THREADS_H__
+ #define __THREADS_H__
++
++#include <pthread.h>
++
+ /* FIXME: mailbox_lock is really an internal libbalsa mutex. */
+ extern pthread_mutex_t mailbox_lock;
+
diff --git a/mail/balsa2/patches/patch-ac b/mail/balsa2/patches/patch-ac
new file mode 100644
index 00000000000..7bfd6faac5e
--- /dev/null
+++ b/mail/balsa2/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/04/27 00:42:58 rh Exp $
+
+--- sounds/Makefile.in.orig 2003-03-22 19:45:30.000000000 +1000
++++ sounds/Makefile.in
+@@ -126,7 +126,7 @@ EXTRA_DIST = $(balsa_SOUNDS) $(balsa_SOU
+ balsasoundsdir = $(datadir)/sounds/balsa
+ balsasounds_DATA = $(balsa_SOUNDS)
+
+-soundlistdir = $(sysconfdir)/sound/events
++soundlistdir = ${prefix}/share/examples/balsa
+ soundlist_DATA = $(balsa_SOUNDLISTS)
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
diff --git a/mail/balsa2/patches/patch-ad b/mail/balsa2/patches/patch-ad
new file mode 100644
index 00000000000..35845cf2d8d
--- /dev/null
+++ b/mail/balsa2/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/04/27 00:42:58 rh Exp $
+
+--- src/main.c.orig 2003-04-26 18:03:15.000000000 +0200
++++ src/main.c 2003-04-26 18:04:10.000000000 +0200
+@@ -355,7 +355,7 @@
+ /* FIXME: gnome_i18n_get_language seems to have gone away;
+ * is this a reasonable replacement? */
+ setlocale(LC_CTYPE,
+- (const char *) gnome_i18n_get_language_list(LC_CTYPE)->data);
++ (const char *) gnome_i18n_get_language_list("LC_CTYPE")->data);
+ #endif
+
+ #ifdef HAVE_GPGME