[Commits] [SCM] claws-win32-installer branch, gtk2, updated. 3.19.0-1-49-g83c13d6

jonathan at claws-mail.org jonathan at claws-mail.org
Sun Nov 6 06:14:58 UTC 2022


The branch, gtk2 has been updated
       via  83c13d62825e46019b780ef82ba8d98fe8e18aaa (commit)
      from  82e39deb2bd82869f2b9f531f365db624232df40 (commit)

Summary of changes:
 packages/packages.current                          | 2 +-
 patches/{gpgme => libassuan}/01-gpg-error-m4.patch | 0
 patches/{gpgme => libassuan}/99-autogen.sh         | 0
 src/Makefile.am                                    | 4 +++-
 4 files changed, 4 insertions(+), 2 deletions(-)
 copy patches/{gpgme => libassuan}/01-gpg-error-m4.patch (100%)
 copy patches/{gpgme => libassuan}/99-autogen.sh (100%)


- Log -----------------------------------------------------------------
commit 83c13d62825e46019b780ef82ba8d98fe8e18aaa
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Sat Oct 8 20:59:29 2022 -0700

    Update to libassuan git head
    
    Pull in build changes to fix building with new libgpg-error

diff --git a/packages/packages.current b/packages/packages.current
index 83a3934..0e2265e 100644
--- a/packages/packages.current
+++ b/packages/packages.current
@@ -27,7 +27,7 @@ harfbuzz,5.3.0,file,https://github.com/harfbuzz/harfbuzz/releases/download/5.3.0
 hunspell,1.7.1,file,https://github.com/hunspell/hunspell/releases/download/v1.7.1/hunspell-1.7.1.tar.gz,b2d9c5369c2cc7f321cb5983fda2dbf007dce3d9e17519746840a6f0c4bf7444,,
 icu4c,58.3,file,https://github.com/unicode-org/icu/releases/download/release-58-3/icu4c-58_3-src.tgz,2680f3c547cd26cba1d7ebd819cd336ff92cf444a270e195fd3b10bfdf22276c,,
 jpeg,9e,file,https://ijg.org/files/jpegsrc.v9e.tar.gz,4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d,,
-libassuan,2.5.5,file,https://gnupg.org/ftp/gcrypt/libassuan/libassuan-2.5.5.tar.bz2,8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4,,
+libassuan,2.5.5-33-g6bc8a10,git,git://git.gnupg.org/libassuan.git,5196d771e32089b188ea76b3e6791d321ee13ecc436daf91d531fbf57a7f2ff0,master,6bc8a106c4bd6c1e3a4ad834331eb24431868beb
 libetpan,1.9.4,file,https://www.claws-mail.org/win32/libetpan-1.9.4.tar.gz,82ec8ea11d239c9967dbd1717cac09c8330a558e025b3e4dc6a7594e80d13bb1,,
 libffi,3.4.3,file,https://github.com/libffi/libffi/releases/download/v3.4.3/libffi-3.4.3.tar.gz,4416dd92b6ae8fcb5b10421e711c4d3cb31203d77521a77d85d0102311e6c3b8,,
 libgpg_error,1.46,file,https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.46.tar.bz2,b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d,,
diff --git a/patches/libassuan/01-gpg-error-m4.patch b/patches/libassuan/01-gpg-error-m4.patch
new file mode 100644
index 0000000..3663b79
--- /dev/null
+++ b/patches/libassuan/01-gpg-error-m4.patch
@@ -0,0 +1,54 @@
+From 628cb1a786bd5d420be17c2e9ffd407f4fbf517e Mon Sep 17 00:00:00 2001
+From: Damien Goutte-Gattat <dgouttegattat at incenp.org>
+Date: Tue, 20 Sep 2022 22:28:34 +0100
+Subject: [PATCH] m4: Fix detection of gpgrt's libdir.
+
+* src/gpg-error.m4 (GPGRT_CONFIG): Handle the case where none of the
+system lib directories contain a pkgconfig subdirectory.
+--
+
+When we look for gpgrt_libdir, there's a corner case if we had been able
+to obtain system libdirs (using `cc -print-search-dirs`) *but* none of
+those system libdirs happen to contain a valid pkgconfig subdirectory
+(which may be unlikely but can and does happen when cross-compiling).
+
+We do test for the case where we have not obtained any system libdir at
+all, in which case we fallback to `${gpgrt_prefix}/lib`
+(`possible_libdir1`), but we do not test if the list of libdir
+candidates is reduced to nothing after we have eliminated all the
+libdirs that do not contain a pkgconfig subdirectory.
+
+This patch adds a test for this precise case.
+
+Signed-off-by: Damien Goutte-Gattat <dgouttegattat at incenp.org>
+---
+ src/gpg-error.m4 | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
+index 4b5cd40..a975e53 100644
+--- a/m4/gpg-error.m4
++++ b/m4/gpg-error.m4
+@@ -10,7 +10,7 @@
+ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ #
+-# Last-changed: 2022-02-15
++# Last-changed: 2022-09-21
+ 
+ 
+ dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION,
+@@ -120,6 +120,10 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
+         fi
+         if test -n "$gpgrt_libdir"; then break; fi
+       done
++      if test -z "$libdir_candidates"; then
++        # No valid pkgconfig dir in any of the system directories, fallback
++        gpgrt_libdir=${possible_libdir1}
++      fi
+     else
+       # When we cannot determine system libdir-format, use this:
+       gpgrt_libdir=${possible_libdir1}
+-- 
+2.11.0
+
diff --git a/patches/libassuan/99-autogen.sh b/patches/libassuan/99-autogen.sh
new file mode 100755
index 0000000..a430a4e
--- /dev/null
+++ b/patches/libassuan/99-autogen.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+./autogen.sh
diff --git a/src/Makefile.am b/src/Makefile.am
index 284408e..5a57052 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -159,7 +159,9 @@ cm_pkg_libgpg_error_configure = \
 	LDFLAGS=-L$(idir)/lib
 
 cm_pkg_libassuan_configure = \
-	--enable-static
+	--enable-static \
+	--disable-doc \
+	GPGRT_CONFIG=$(SYSROOT)/bin/gpgrt-config
 
 cm_pkg_libpng_configure = \
 	CPPFLAGS=-I$(idir)/include \

-----------------------------------------------------------------------


hooks/post-receive
-- 
Installer sources for Claws Mail Windows port


More information about the Commits mailing list