From: "Philippe Mathieu-Daudé" <philippe.mathieu.daude@gmail.com>
To: Kshitij Suri <kshitij.suri@nutanix.com>, qemu-devel@nongnu.org
Cc: soham.ghosh@nutanix.com, prerna.saxena@nutanix.com,
armbru@redhat.com, dgilbert@redhat.com, kraxel@redhat.com,
thuth@redhat.com, prachatos.mitra@nutanix.com, eblake@redhat.com
Subject: Re: [PATCH v2 1/2] Replacing CONFIG_VNC_PNG with CONFIG_PNG
Date: Mon, 28 Feb 2022 13:52:35 +0100 [thread overview]
Message-ID: <ba726361-b9f5-b182-c79d-7d95fab840e6@gmail.com> (raw)
In-Reply-To: <20220228052222.138890-1-kshitij.suri@nutanix.com>
On 28/2/22 06:22, Kshitij Suri wrote:
> Libpng is only detected if VNC is enabled currently. This patch adds a
> generalised png option in the meson build which is aimed to replace use of
> CONFIG_VNC_PNG with CONFIG_PNG.
>
> Signed-off-by: Kshitij Suri <kshitij.suri@nutanix.com>
> ---
> meson.build | 10 +++++-----
> meson_options.txt | 4 ++--
> ui/vnc-enc-tight.c | 18 +++++++++---------
> ui/vnc.c | 4 ++--
> ui/vnc.h | 2 +-
> 5 files changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index 8df40bfac4..3638957fc5 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -1112,14 +1112,14 @@ if gtkx11.found()
> x11 = dependency('x11', method: 'pkg-config', required: gtkx11.found(),
> kwargs: static_kwargs)
> endif
> -vnc = not_found
> png = not_found
^ dead code, otherwise:
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> +png = dependency('libpng', required: get_option('png'),
> + method: 'pkg-config', kwargs: static_kwargs)
> +vnc = not_found
next prev parent reply other threads:[~2022-02-28 12:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 5:22 [PATCH v2 1/2] Replacing CONFIG_VNC_PNG with CONFIG_PNG Kshitij Suri
2022-02-28 5:22 ` [PATCH v2 2/2] Added parameter to take screenshot with screendump as PNG Kshitij Suri
2022-02-28 12:52 ` Philippe Mathieu-Daudé [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-01 6:44 [PATCH v2 1/2] Replacing CONFIG_VNC_PNG with CONFIG_PNG Kshitij Suri
2022-03-07 16:40 ` Kshitij Suri
2022-03-15 4:47 Kshitij Suri
2022-03-15 9:17 ` Paolo Bonzini
2022-03-22 8:18 Kshitij Suri
2022-03-22 9:42 ` Daniel P. Berrangé
2022-03-22 9:52 ` Kshitij Suri
2022-03-22 10:49 Kshitij Suri
2022-03-28 9:49 ` Kshitij Suri
2022-03-28 16:54 Kshitij Suri
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=ba726361-b9f5-b182-c79d-7d95fab840e6@gmail.com \
--to=philippe.mathieu.daude@gmail.com \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=kraxel@redhat.com \
--cc=kshitij.suri@nutanix.com \
--cc=prachatos.mitra@nutanix.com \
--cc=prerna.saxena@nutanix.com \
--cc=qemu-devel@nongnu.org \
--cc=soham.ghosh@nutanix.com \
--cc=thuth@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).