Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0
@ 2023-09-03 12:28 Julien Olivain
  2023-09-03 12:28 ` [Buildroot] [PATCH next 2/2] package/libgpgme: bump to version 1.22.0 Julien Olivain
  2023-09-10 19:07 ` [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0 Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Julien Olivain @ 2023-09-03 12:28 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

For change log, see [1] and [2].

This commit also drops the package patch, as an alternate upstream
commit is included in release. See [3]. The option "--disable-cpp-test"
is removed from _CONF_OPTS since it no longer needed.

The file .checkpackageignore is also updated to reflect the patch
removal.

[1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=log;h=gpgme-1.21.0
[2] https://dev.gnupg.org/T6585
[3] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commitdiff;h=e2103be390764f62b21a4e5d4fa90a7b78326787

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
 .checkpackageignore                           |  1 -
 .../0001-Fix-build-without-threads.patch      | 59 -------------------
 package/libgpgme/libgpgme.hash                |  4 +-
 package/libgpgme/libgpgme.mk                  |  3 +-
 4 files changed, 3 insertions(+), 64 deletions(-)
 delete mode 100644 package/libgpgme/0001-Fix-build-without-threads.patch

diff --git a/.checkpackageignore b/.checkpackageignore
index fea8530518..d51cb15995 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -689,7 +689,6 @@ package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch Upstrea
 package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch Upstream
 package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch Upstream
 package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch Upstream
-package/libgpgme/0001-Fix-build-without-threads.patch Upstream
 package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch Upstream
 package/libgsm/0001-misc-fixes-from-archlinux.patch Upstream
 package/libgtk2/0001-reduce-dependencies.patch Upstream
diff --git a/package/libgpgme/0001-Fix-build-without-threads.patch b/package/libgpgme/0001-Fix-build-without-threads.patch
deleted file mode 100644
index caa4ed7d78..0000000000
--- a/package/libgpgme/0001-Fix-build-without-threads.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From fc1b821c80c78f4ae635639c7fce5bad754edda7 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Sat, 27 Aug 2022 23:24:44 +0200
-Subject: [PATCH] Fix build without threads
-
-Allow the user to disable cpp tests to avoid the following build failure
-without threads raised since version 1.17.1 and
-https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=f3177d3ee0a1d30e15f33ff226b5e4c96b7610db
-
-run-wkdlookup.cpp: In function 'int main(int, char**)':
-run-wkdlookup.cpp:130:18: error: 'std::this_thread' has not been declared
-  130 |             std::this_thread::sleep_for(std::chrono::milliseconds{250 * cnt});
-      |                  ^~~~~~~~~~~
-
-Fixes:
- - http://autobuild.buildroot.org/results/2915f6105bae595274fabaa12de7cc53926d22d0
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: https://dev.gnupg.org/T6165]
----
- configure.ac         | 5 +++++
- lang/cpp/Makefile.am | 6 +++++-
- 2 files changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index e7fe04a7..d1c87486 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -553,6 +553,11 @@ AC_ARG_ENABLE(g13-test,
-          run_g13_test=$enableval)
- AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes")
- 
-+run_cpp_test="yes"
-+AC_ARG_ENABLE(cpp-test,
-+  AS_HELP_STRING([--disable-cpp-test],[disable CPP regression test]),
-+         run_cpp_test=$enableval)
-+AM_CONDITIONAL(RUN_CPP_TESTS, test "$run_cpp_test" = "yes")
- 
- # Checks for header files.
- AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h stdint.h
-diff --git a/lang/cpp/Makefile.am b/lang/cpp/Makefile.am
-index 724da6ca..243c463d 100644
---- a/lang/cpp/Makefile.am
-+++ b/lang/cpp/Makefile.am
-@@ -18,6 +18,10 @@
- # License along with this program; if not, see <https://gnu.org/licenses/>.
- # SPDX-License-Identifier: LGPL-2.1-or-later
- 
--SUBDIRS = src tests
-+SUBDIRS = src
-+
-+if RUN_CPP_TESTS
-+SUBDIRS += tests
-+endif
- 
- EXTRA_DIST = README
--- 
-2.35.1
-
diff --git a/package/libgpgme/libgpgme.hash b/package/libgpgme/libgpgme.hash
index a71cec1e38..556f1d3b42 100644
--- a/package/libgpgme/libgpgme.hash
+++ b/package/libgpgme/libgpgme.hash
@@ -1,5 +1,5 @@
 # From https://www.gnupg.org/download/integrity_check.html
-sha1  369deeec95f1bb77fafc0b6c8fa65995ba82fd1e  gpgme-1.20.0.tar.bz2
-sha256  25a5785a5da356689001440926b94e967d02e13c49eb7743e35ef0cf22e42750  gpgme-1.20.0.tar.bz2
+sha1  abe7db72760c0bb3e9c429b72dcc3c60bed023de  gpgme-1.21.0.tar.bz2
+sha256  416e174e165734d84806253f8c96bda2993fd07f258c3aad5f053a6efd463e88  gpgme-1.21.0.tar.bz2
 # Locally calculated
 sha256  ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532  COPYING.LESSER
diff --git a/package/libgpgme/libgpgme.mk b/package/libgpgme/libgpgme.mk
index 21a0b30d3b..be4e8ff23b 100644
--- a/package/libgpgme/libgpgme.mk
+++ b/package/libgpgme/libgpgme.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBGPGME_VERSION = 1.20.0
+LIBGPGME_VERSION = 1.21.0
 LIBGPGME_SITE = https://gnupg.org/ftp/gcrypt/gpgme
 LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2
 LIBGPGME_LICENSE = LGPL-2.1+
@@ -30,7 +30,6 @@ LIBGPGME_CONF_OPTS = \
 	--disable-gpgconf-test \
 	--disable-g13-test \
 	--disable-gpg-test \
-	--disable-cpp-test \
 	--enable-languages=$(subst $(space),$(comma),$(LIBGPGME_LANGUAGE_BINDINGS))
 
 # Handle argp-standalone or it errors out during build
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH next 2/2] package/libgpgme: bump to version 1.22.0
  2023-09-03 12:28 [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0 Julien Olivain
@ 2023-09-03 12:28 ` Julien Olivain
  2023-09-10 19:07   ` Thomas Petazzoni via buildroot
  2023-09-10 19:07 ` [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0 Thomas Petazzoni via buildroot
  1 sibling, 1 reply; 4+ messages in thread
From: Julien Olivain @ 2023-09-03 12:28 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

For change log, see [1] and [2].

[1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=log;h=gpgme-1.22.0
[2] https://dev.gnupg.org/T6668

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Series tested on branch next at commit 3fa1ae0 with commands,
in Docker image:

    make check-package
    ...
    0 warnings generated

    utils/test-pkg -p libgpgme
    ...
    6 builds, 1 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed

Note: this package in branch next is subject to issues described in
[1]. The issue will be resolved when the branch next will be merged
into master.

[1] https://git.buildroot.org/buildroot/commit/?id=bf7926230c7d47dd809e59646a6ff4f7fe35b833
---
 package/libgpgme/libgpgme.hash | 4 ++--
 package/libgpgme/libgpgme.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libgpgme/libgpgme.hash b/package/libgpgme/libgpgme.hash
index 556f1d3b42..5c47db76d5 100644
--- a/package/libgpgme/libgpgme.hash
+++ b/package/libgpgme/libgpgme.hash
@@ -1,5 +1,5 @@
 # From https://www.gnupg.org/download/integrity_check.html
-sha1  abe7db72760c0bb3e9c429b72dcc3c60bed023de  gpgme-1.21.0.tar.bz2
-sha256  416e174e165734d84806253f8c96bda2993fd07f258c3aad5f053a6efd463e88  gpgme-1.21.0.tar.bz2
+sha1  12f4c98ffa75bdbfc4934d38757f57ba718b5aa0  gpgme-1.22.0.tar.bz2
+sha256  9551e37081ad3bde81018a0d24f245c3f8206990549598fb31a97a68380a7b71  gpgme-1.22.0.tar.bz2
 # Locally calculated
 sha256  ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532  COPYING.LESSER
diff --git a/package/libgpgme/libgpgme.mk b/package/libgpgme/libgpgme.mk
index be4e8ff23b..2a567a17a7 100644
--- a/package/libgpgme/libgpgme.mk
+++ b/package/libgpgme/libgpgme.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBGPGME_VERSION = 1.21.0
+LIBGPGME_VERSION = 1.22.0
 LIBGPGME_SITE = https://gnupg.org/ftp/gcrypt/gpgme
 LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2
 LIBGPGME_LICENSE = LGPL-2.1+
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0
  2023-09-03 12:28 [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0 Julien Olivain
  2023-09-03 12:28 ` [Buildroot] [PATCH next 2/2] package/libgpgme: bump to version 1.22.0 Julien Olivain
@ 2023-09-10 19:07 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-09-10 19:07 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Sun,  3 Sep 2023 14:28:30 +0200
Julien Olivain <ju.o@free.fr> wrote:

> For change log, see [1] and [2].
> 
> This commit also drops the package patch, as an alternate upstream
> commit is included in release. See [3]. The option "--disable-cpp-test"
> is removed from _CONF_OPTS since it no longer needed.
> 
> The file .checkpackageignore is also updated to reflect the patch
> removal.
> 
> [1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=log;h=gpgme-1.21.0
> [2] https://dev.gnupg.org/T6585
> [3] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commitdiff;h=e2103be390764f62b21a4e5d4fa90a7b78326787
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
>  .checkpackageignore                           |  1 -
>  .../0001-Fix-build-without-threads.patch      | 59 -------------------
>  package/libgpgme/libgpgme.hash                |  4 +-
>  package/libgpgme/libgpgme.mk                  |  3 +-
>  4 files changed, 3 insertions(+), 64 deletions(-)
>  delete mode 100644 package/libgpgme/0001-Fix-build-without-threads.patch

You forgot to drop AUTORECONF = YES as part of this, as we're no longer
patching configure.ac. I fixed that up when applying. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH next 2/2] package/libgpgme: bump to version 1.22.0
  2023-09-03 12:28 ` [Buildroot] [PATCH next 2/2] package/libgpgme: bump to version 1.22.0 Julien Olivain
@ 2023-09-10 19:07   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-09-10 19:07 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Sun,  3 Sep 2023 14:28:31 +0200
Julien Olivain <ju.o@free.fr> wrote:

> For change log, see [1] and [2].
> 
> [1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=log;h=gpgme-1.22.0
> [2] https://dev.gnupg.org/T6668
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Series tested on branch next at commit 3fa1ae0 with commands,
> in Docker image:

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-10 19:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-03 12:28 [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0 Julien Olivain
2023-09-03 12:28 ` [Buildroot] [PATCH next 2/2] package/libgpgme: bump to version 1.22.0 Julien Olivain
2023-09-10 19:07   ` Thomas Petazzoni via buildroot
2023-09-10 19:07 ` [Buildroot] [PATCH next 1/2] package/libgpgme: bump to version 1.21.0 Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox