summaryrefslogtreecommitdiff
path: root/mail-client/claws-mail/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client/claws-mail/files')
-rw-r--r--mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch97
-rw-r--r--mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch46
2 files changed, 0 insertions, 143 deletions
diff --git a/mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch b/mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch
deleted file mode 100644
index 572380d..0000000
--- a/mail-client/claws-mail/files/claws-mail-3.17.4-libetpan_pkgconfig.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 412a3f014..6a80c2a92 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -908,38 +908,62 @@ fi
- dnl Libetpan
- AC_MSG_CHECKING([whether to use libetpan])
- if test x"$enable_libetpan" = xyes; then
-- AC_MSG_RESULT(yes)
-- libetpan_result=no
-- AC_PATH_PROG(libetpanconfig, [libetpan-config])
-- if test "x$libetpanconfig" != "x"; then
-- CPPFLAGS="$CPPFLAGS `$libetpanconfig --cflags 2>/dev/null`"
-- AC_CHECK_HEADER(libetpan/libetpan.h, [libetpan_result=yes])
-- if test "x$libetpan_result" = "xyes"; then
-- AC_MSG_CHECKING([whether libetpan-config hints compiles and links fine])
-- LIBS="$LIBS `$libetpanconfig --libs 2>/dev/null`"
-- AC_TRY_LINK([#include <libetpan/dbstorage.h>], [db_mailstorage_init(NULL, NULL);], [libetpan_result=yes], [libetpan_result=no])
-- AC_MSG_RESULT([$libetpan_result])
-- fi
-- fi
-- if test "x$libetpan_result" = "xyes"; then
-- LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`"
-- LIBETPAN_LIBS="`$libetpanconfig --libs`"
-- LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 100) + $2}'`
-- if test "$LIBETPAN_VERSION" -lt "57"; then
-- AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/])
-- AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
-+ AC_MSG_RESULT(yes)
-+
-+ libetpan_config=no
-+ libetpan_result=no
-+ libetpan_versiontype=0
-+
-+ # since 1.9.4, libetpan uses pkg-config
-+ PKG_CHECK_MODULES([LIBETPAN], [libetpan >= 1.9.4],
-+ [
-+ LIBETPAN_VERSION=`pkg-config --modversion | $AWK -F. '{printf "%d", ($1 * 10000) + ($2 * 100) + $3}'`
-+ libetpan_config=yes
-+ ],
-+ [
-+ # before 1.9.4, libetpan uses its own libetpan-config script
-+ AC_PATH_PROG(libetpanconfig, [libetpan-config])
-+ if test "x$libetpanconfig" != "x"; then
-+ LIBETPAN_CPPFLAGS="`$libetpanconfig --cflags`"
-+ LIBETPAN_LIBS="`$libetpanconfig --libs`"
-+ # support libetpan version like x.x and x.x.x
-+ libetpan_versiontype=`$libetpanconfig --version | tr -dc . | wc -c`
-+ if test $libetpan_versiontype -eq 1; then
-+ LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 100) + $2}'`
-+ else
-+ LIBETPAN_VERSION=`$libetpanconfig --version | $AWK -F. '{printf "%d", ($1 * 10000) + ($2 * 100) + $3}'`
-+ fi
-+ libetpan_config=yes
-+ fi
-+ ])
-+ if test "x$libetpan_config" = "xyes"; then
-+ CPPFLAGS="$CPPFLAGS $LIBETPAN_FLAGS"
-+ AC_CHECK_HEADER(libetpan/libetpan.h, [libetpan_result=yes])
-+ if test "x$libetpan_result" = "xyes"; then
-+ AC_MSG_CHECKING([whether libetpan-config hints compiles and links fine])
-+ LIBS="$LIBS $LIBETPAN_LIBS"
-+ AC_TRY_LINK([#include <libetpan/dbstorage.h>], [db_mailstorage_init(NULL, NULL);], [libetpan_result=yes], [libetpan_result=no])
-+ AC_MSG_RESULT([$libetpan_result])
-+ fi
-+ fi
-+ if test "x$libetpan_result" = "xyes"; then
-+ if test $libetpan_versiontype -eq 1; then
-+ if test "$LIBETPAN_VERSION" -lt "57"; then
-+ AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/])
-+ AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
- AC_MSG_ERROR([libetpan 0.57 not found])
-- fi
-- AC_SUBST(LIBETPAN_FLAGS)
-- AC_SUBST(LIBETPAN_LIBS)
-- AC_DEFINE(HAVE_LIBETPAN, 1, Define if you want IMAP and/or NNTP support.)
-- else
-- AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ ])
-- AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
-- AC_MSG_ERROR([libetpan 0.57 not found])
-- fi
-+ fi
-+ fi
-+ AC_SUBST(LIBETPAN_FLAGS)
-+ AC_SUBST(LIBETPAN_LIBS)
-+ AC_DEFINE(HAVE_LIBETPAN, 1, Define if you want IMAP and/or NNit TP support.)
-+ else
-+ AC_MSG_RESULT([*** Claws Mail requires libetpan 0.57 or newer. See http://www.etpan.org/ ])
-+ AC_MSG_RESULT([*** You can use --disable-libetpan if you don't need IMAP4 and/or NNTP support.])
-+ AC_MSG_ERROR([libetpan 0.57 not found])
-+ fi
- else
-- AC_MSG_RESULT(no)
-+ AC_MSG_RESULT(no)
- fi
- AM_CONDITIONAL(CLAWS_LIBETPAN, test "x$libetpan_result" = "xyes")
-
diff --git a/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch b/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch
deleted file mode 100644
index c9c9bd4..0000000
--- a/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 826770e2dae8646a613dbe07685be68b4dc83b62 Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Mon, 9 Mar 2020 15:21:55 +0100
-Subject: [PATCH] Only check for enchant-2
-
-Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
----
- configure.ac | 18 +++++-------------
- 1 file changed, 5 insertions(+), 13 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 8ab413657..e1159d45e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -591,23 +591,15 @@ dnl enchant is used for spell checking
- AC_MSG_CHECKING([whether to use enchant])
- AC_MSG_RESULT($enable_enchant)
- if test $enable_enchant = yes; then
-- PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0,
-+ PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 2.0.0,
- [
-- AC_DEFINE(USE_ENCHANT, 1, enchant)
-- echo "Building with enchant"
-+ AC_DEFINE(USE_ENCHANT, 1, enchant-2)
-+ echo "Building with enchant-2"
- enable_enchant=yes
- ],
- [
-- PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 2.0.0,
-- [
-- AC_DEFINE(USE_ENCHANT, 1, enchant-2)
-- echo "Building with enchant-2"
-- enable_enchant=yes
-- ],
-- [
-- echo "Building without enchant-notification"
-- enable_enchant=no
-- ])
-+ echo "Building without enchant-notification"
-+ enable_enchant=no
- ])
- AC_SUBST(ENCHANT_CFLAGS)
- AC_SUBST(ENCHANT_LIBS)
---
-2.25.1
-