diff --git a/packages/libgmime/Makefile.in.patch b/packages/libgmime/Makefile.in.patch new file mode 100644 index 000000000..b764620b7 --- /dev/null +++ b/packages/libgmime/Makefile.in.patch @@ -0,0 +1,21 @@ +diff -u -r ../gmime-2.6.23/Makefile.in ./Makefile.in +--- ../gmime-2.6.23/Makefile.in 2017-01-21 23:27:33.000000000 +0100 ++++ ./Makefile.in 2017-04-06 18:58:31.616613454 +0200 +@@ -194,7 +194,7 @@ + ETAGS = etags + CTAGS = ctags + CSCOPE = cscope +-DIST_SUBDIRS = m4 build util gmime mono tests docs examples tools . ++DIST_SUBDIRS = m4 build util gmime mono docs examples tools . + am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(srcdir)/gmime.pc.in $(srcdir)/gmime.spec.in AUTHORS COPYING \ + ChangeLog NEWS README TODO compile config.guess config.rpath \ +@@ -433,7 +433,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = m4 build util gmime $(am__append_1) tests docs \ ++SUBDIRS = m4 build util gmime $(am__append_1) docs \ + $(am__append_2) tools . + + # build documentation when doing distcheck diff --git a/packages/libgmime/build.sh b/packages/libgmime/build.sh new file mode 100644 index 000000000..7c493ee40 --- /dev/null +++ b/packages/libgmime/build.sh @@ -0,0 +1,11 @@ +TERMUX_PKG_HOMEPAGE=http://spruce.sourceforge.net/gmime/ +TERMUX_PKG_DESCRIPTION="MIME message parser and creator" +local _MAJOR_VERSION=2.6 +TERMUX_PKG_VERSION=${_MAJOR_VERSION}.23 +TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gmime/$_MAJOR_VERSION/gmime-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=7149686a71ca42a1390869b6074815106b061aaeaaa8f2ef8c12c191d9a79f6a +TERMUX_PKG_DEPENDS="glib" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +ac_cv_have_iconv_detect_h=yes +--disable-glibtest +" diff --git a/packages/libgmime/iconv-detect.h.patch b/packages/libgmime/iconv-detect.h.patch new file mode 100644 index 000000000..b5e4e671d --- /dev/null +++ b/packages/libgmime/iconv-detect.h.patch @@ -0,0 +1,9 @@ +diff -N -a -u -r ../gmime-2.6.23/iconv-detect.h ./iconv-detect.h +--- ../gmime-2.6.23/iconv-detect.h 1970-01-01 01:00:00.000000000 +0100 ++++ ./iconv-detect.h 2017-04-06 18:24:52.423896227 +0200 +@@ -0,0 +1,5 @@ ++/* This is an auto-generated header, DO NOT EDIT! */ ++ ++#define ICONV_ISO_INT_FORMAT "iso-%u-%u" ++#define ICONV_ISO_STR_FORMAT "iso-%u-%s" ++#define ICONV_10646 "UCS-4BE"