Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
Cc: Adam Duskett <aduskett@gmail.com>,
	Olivier Schonken <olivier.schonken@gmail.com>,
	Fabrice Fontaine <fontaine.fabrice@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH v2, 1/1] package/poppler: fix introspection build
Date: Sat, 20 Aug 2022 11:28:42 +0200	[thread overview]
Message-ID: <20220820112842.7bcd12f2@windsurf> (raw)
In-Reply-To: <20220814123748.167ebb02@windsurf>

Hello Fabrice,

Do you have some feedback? Or perhaps Adam?

Thanks!

Thomas

On Sun, 14 Aug 2022 12:37:48 +0200
Thomas Petazzoni via buildroot <buildroot@buildroot.org> wrote:

> Hello Fabrice,
> 
> +Adam Duskett for GOI expertise.
> 
> On Fri, 12 Aug 2022 12:17:18 +0200
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 
> > diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
> > index b54262e7c4..db6da25d39 100644
> > --- a/package/poppler/poppler.mk
> > +++ b/package/poppler/poppler.mk
> > @@ -47,7 +47,8 @@ POPPLER_DEPENDENCIES += gobject-introspection
> >  POPPLER_CONF_OPTS += \
> >  	-DENABLE_GOBJECT_INTROSPECTION=ON \
> >  	-DINTROSPECTION_SCANNER=$(STAGING_DIR)/usr/bin/g-ir-scanner \
> > -	-DINTROSPECTION_COMPILER=$(STAGING_DIR)/usr/bin/g-ir-compiler
> > +	-DINTROSPECTION_COMPILER=$(STAGING_DIR)/usr/bin/g-ir-compiler \
> > +	-DINTROSPECTION_COMPILER_ARGS="--includedir=$(STAGING_DIR)/usr/share/gir-1.0"
> >  else
> >  POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=OFF
> >  endif  
> 
> I am really not familiar with all the gobject-introspection stuff, but
> I'm wondering if this is the right solution for this problem.
> 
> In package/gobject-introspection/, I can see that we create and install
> a g-ir-scanner wrapper that passes --add-include-path="$(dirname
> "$0")"/../share/gir-1.0.
> 
> In this same directory, we also have a g-ir-compiler wrapper, which is
> used to execute things in Qemu. If a special path is needed, why don't
> we pass it within this wrapper, so that the solution works for all
> packages?
> 
> Apparently, according to
> package/libglib2/0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch
> there are some packages that set girdir in their .pc file so that other
> packages now where to find the GIR files.
> 
> Really not clear in my mind how all of this should work. My only
> concern is that I would like us to find and use the same solution
> everywhere to solve the same problem, rather than having 10 different
> solutions for each package encountering the same issue.
> 
> 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:[~2022-08-20  9:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-12 10:17 [Buildroot] [PATCH v2, 1/1] package/poppler: fix introspection build Fabrice Fontaine
2022-08-14 10:37 ` Thomas Petazzoni via buildroot
2022-08-20  9:28   ` Thomas Petazzoni via buildroot [this message]
2022-09-21 17:38     ` Adam Duskett
2022-09-21 20:41       ` Fabrice Fontaine
2022-09-27 18:33         ` Adam Duskett
2023-04-15 21:29 ` Yann E. MORIN
2023-04-16  2:44   ` James Hilliard
2023-04-16  8:25     ` Yann E. MORIN
2023-04-16 11:16       ` Yann E. MORIN
2023-04-18  8:03         ` James Hilliard
2023-04-18 17:44           ` Yann E. MORIN
2023-04-18 21:58             ` James Hilliard
2023-04-19 19:50               ` Yann E. MORIN

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=20220820112842.7bcd12f2@windsurf \
    --to=buildroot@buildroot.org \
    --cc=aduskett@gmail.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=olivier.schonken@gmail.com \
    --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