All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: Thomas Ruschival <thomas@ruschival.de>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] package/pistache: bump version & switch to meson build
Date: Thu, 24 Mar 2022 21:12:52 +0100	[thread overview]
Message-ID: <b4af61e1-671f-153a-b45c-2c263e5a1bd7@mind.be> (raw)
In-Reply-To: <20220314181347.190747-2-thomas@ruschival.de>



On 14/03/2022 19:13, Thomas Ruschival wrote:
> While upstream pistache has not yet released a stable 'tag'

  I don't think they ever will :-)

> a lot has changed since June 2020:
> 
> * project has moved to meson build system, cmake builds
>    do not install headers.
> * patches in buildroot are no longer required
> * project-implemented Pistache::Optional was replaced by
>    use of std::optional. This is only available in C++17
> * dependency to rapidjson has been introduced
> 
> Signed-off-by: Thomas Ruschival <thomas@ruschival.de>
> ---
>   ...-add-C-language-to-project-statement.patch | 70 --------------
>   ...eLists.txt-respect-BUILD_SHARED_LIBS.patch | 95 -------------------
>   ...de-pistache-typeid.h-include-cstddef.patch | 38 --------
>   package/pistache/Config.in                    |  9 +-
>   package/pistache/pistache.hash                |  2 +-
>   package/pistache/pistache.mk                  | 10 +-
>   6 files changed, 12 insertions(+), 212 deletions(-)
>   delete mode 100644 package/pistache/0001-CMakeLists.txt-add-C-language-to-project-statement.patch
>   delete mode 100644 package/pistache/0002-CMakeLists.txt-respect-BUILD_SHARED_LIBS.patch
>   delete mode 100644 package/pistache/0003-include-pistache-typeid.h-include-cstddef.patch
> 

[snip]
> diff --git a/package/pistache/pistache.mk b/package/pistache/pistache.mk
> index 4d6bd283ea..65d9b2412c 100644
> --- a/package/pistache/pistache.mk
> +++ b/package/pistache/pistache.mk
> @@ -4,18 +4,20 @@
>   #
>   ################################################################################
>   
> -PISTACHE_VERSION = f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d
> +PISTACHE_VERSION = 3ec9d7c4f8b828fdd391550fff81b01e72dd6269
>   PISTACHE_SITE = $(call github,oktal,pistache,$(PISTACHE_VERSION))
>   PISTACHE_LICENSE = Apache-2.0
>   PISTACHE_LICENSE_FILES = LICENSE
>   
>   PISTACHE_INSTALL_STAGING = YES
> +PISTACHE_DEPENDENCIES += rapidjson
>   
>   ifeq ($(BR2_PACKAGE_OPENSSL),y)
>   PISTACHE_DEPENDENCIES += openssl
> -PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=ON
> +PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=true
> +PISTACHE_CONF_OPTS += -DPISTACHE_ENABLE_NETWORK_TESTS=false

  I've applied to master as is, but this sounds like we would always want to 
disable it (we don't build tests if we can avoid it). Follow-up patch to move it 
out of the condition (if that's the right thing to do) welcome!

  Regards,
  Arnout

>   else
> -PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=OFF
> +PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=false
>   endif
>   
> -$(eval $(cmake-package))
> +$(eval $(meson-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-03-24 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-12 10:44 [Buildroot] [PATCH 0/1] Bump pistache, switch to meson build (test-pkg fails) Thomas Ruschival
2022-03-12 10:44 ` [Buildroot] [PATCH 1/1] package/pistache: bump version & switch to meson build Thomas Ruschival
2022-03-12 12:24   ` Nicolas Cavallari
2022-03-12 17:00   ` Yann E. MORIN
2022-03-14 17:21     ` Thomas Ruschival
2022-03-14 18:13   ` [Buildroot] [PATCH v2 0/1] Bump pistache, switch to meson build (test-pkg o.k.) Thomas Ruschival
2022-03-14 18:13     ` [Buildroot] [PATCH v2 1/1] package/pistache: bump version & switch to meson build Thomas Ruschival
2022-03-24 20:12       ` Arnout Vandecappelle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4af61e1-671f-153a-b45c-2c263e5a1bd7@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=thomas@ruschival.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.