[Commits] [SCM] claws-win32-installer branch, gtk2, updated. 3.19.0-1-28-g5d7fe7b

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


The branch, gtk2 has been updated
       via  5d7fe7b3ff39552c0c71f84e0f6f100fca156e57 (commit)
      from  de9fb39e06fb9be1cbcc1841d67fe2de1ab852a1 (commit)

Summary of changes:
 packages/packages.current                          |  2 +-
 patches/gpgme/01-gpg-error-m4.patch                | 54 ++++++++++++++++++++++
 .../{ytnef/99-autotools.sh => gpgme/99-autogen.sh} |  2 +-
 src/Makefile.am                                    |  2 +-
 4 files changed, 57 insertions(+), 3 deletions(-)
 create mode 100644 patches/gpgme/01-gpg-error-m4.patch
 copy patches/{ytnef/99-autotools.sh => gpgme/99-autogen.sh} (56%)


- Log -----------------------------------------------------------------
commit 5d7fe7b3ff39552c0c71f84e0f6f100fca156e57
Author: Jonathan Boeing <jonathan at claws-mail.org>
Date:   Sat Aug 20 20:48:31 2022 -0700

    Update to gpgme-1.18.0

diff --git a/packages/packages.current b/packages/packages.current
index 2fd52bd..3cae642 100644
--- a/packages/packages.current
+++ b/packages/packages.current
@@ -20,7 +20,7 @@ glib,2.66.8,file,https://download.gnome.org/sources/glib/2.66/glib-2.66.8.tar.xz
 glib_networking,2.66.0,file,https://download.gnome.org/sources/glib-networking/2.66/glib-networking-2.66.0.tar.xz,c5d7be2437fdd196eebfb70c4517b96d3ba7ec13bd496318b8f02dea383e0099,,
 gmp,6.2.1,file,https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz,fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2,,
 gnutls,3.7.7,file,https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.7.tar.xz,be9143d0d58eab64dba9b77114aaafac529b6c0d7e81de6bdf1c9b59027d2106,,
-gpgme,1.17.1,file,https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.17.1.tar.bz2,711eabf5dd661b9b04be9edc9ace2a7bc031f6bd9d37a768d02d0efdef108f5f,,
+gpgme,1.18.0,file,https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.18.0.tar.bz2,361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e,,
 gtk,2.24.33,file,https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.33.tar.xz,ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da,,
 gumbo_parser,0.10.1,file,https://github.com/google/gumbo-parser/archive/v0.10.1.tar.gz,28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad,,
 harfbuzz,4.4.1,file,https://github.com/harfbuzz/harfbuzz/releases/download/4.4.1/harfbuzz-4.4.1.tar.xz,c5bc33ac099b2e52f01d27cde21cee4281b9d5bfec7684135e268512478bc9ee,,
diff --git a/patches/gpgme/01-gpg-error-m4.patch b/patches/gpgme/01-gpg-error-m4.patch
new file mode 100644
index 0000000..3663b79
--- /dev/null
+++ b/patches/gpgme/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/gpgme/99-autogen.sh b/patches/gpgme/99-autogen.sh
new file mode 100755
index 0000000..a430a4e
--- /dev/null
+++ b/patches/gpgme/99-autogen.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+./autogen.sh
diff --git a/src/Makefile.am b/src/Makefile.am
index d57f5b8..284408e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -188,7 +188,7 @@ cm_pkg_gpgme_configure = \
 	--disable-gpg-test \
 	--disable-gpgsm-test \
 	--disable-g13-test \
-	--with-libassuan-prefix=$(idir) \
+	GPGRT_CONFIG=$(SYSROOT)/bin/gpgrt-config \
 	LDFLAGS=-L$(idir)/lib
 
 # We can't use pkcs11 due to too much additional dependencies.

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


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


More information about the Commits mailing list