Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Francois Perrad <francois.perrad@gadz.org>
Cc: buildroot@busybox.net
Subject: Re: [Buildroot] [PATCH] package/libgtk4: missing dependencies
Date: Thu, 15 Aug 2024 00:03:58 +0200	[thread overview]
Message-ID: <20240815000358.6887f1bf@windsurf> (raw)
In-Reply-To: <20240814063932.2630721-1-francois.perrad@gadz.org>

On Wed, 14 Aug 2024 08:39:31 +0200
Francois Perrad <francois.perrad@gadz.org> wrote:

> libgtk4 needs png & pdf support (like libgtk3)
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Could you provide a bit more details about the issues encountered?

First build issue I had is:

Found CMake: /home/thomas/buildroot/buildroot/output/host/bin/cmake (3.30.0)
Run-time dependency libpng found: NO (tried pkgconfig and cmake)
Run-time dependency png found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libpng

which gets solved by enabling LIBPNG (not PNG support in Cairo). That
being said, Cairo's header file complain with a warning when no PNG
support is enabled:

/home/thomas/buildroot/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/cairo/cairo.h:2597:5: warning: "CAIRO_HAS_PNG_FUNCTIO
NS" is not defined, evaluates to 0 [-Wundef]

This is a bug that should be reported to upstream Cairo.

Then second build issue was an include of <cairo-pdf.h>, which means
PDF support in Cairo is needed, but that should have triggered an issue
at configure time, not at build time. This bug should be reported to
gtk4 upstream.

We try as much as possible to "go the extra mile" and not just paper
over the problem, but provide bug reports/fixes upstream where needed.

Could you have a look into this?

Thanks a lot!

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

      reply	other threads:[~2024-08-14 22:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14  6:39 [Buildroot] [PATCH] package/libgtk4: missing dependencies Francois Perrad
2024-08-14 22:03 ` Thomas Petazzoni via buildroot [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=20240815000358.6887f1bf@windsurf \
    --to=buildroot@buildroot.org \
    --cc=buildroot@busybox.net \
    --cc=francois.perrad@gadz.org \
    --cc=thomas.petazzoni@bootlin.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