After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577347 - Define a standard pkgconfig variable to store the g-i name for a library
Define a standard pkgconfig variable to store the g-i name for a library
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: build
2.18.x
Other All
: Normal enhancement
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 605724
 
 
Reported: 2009-03-30 19:53 UTC by Didier "Ptitjes"
Modified: 2018-02-08 11:49 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Didier "Ptitjes" 2009-03-30 19:53:45 UTC
We need to have a bijunction between pkgconfig and g-i gir|typelib for a library. The gir format already defines a <package/> tag to link to the pkgconfig file. We would need a pkgconfig variable to have the other way of the relationship.

I would propose "gi-module:" but that may be another variable name.
Comment 1 Didier "Ptitjes" 2009-06-02 16:05:52 UTC
Also, if we can't have nested namespace, then one may provide multiple gir files for a pkg. Thus, I propose:

gi-modules: my-gir1.gir my-gir2.gir
Comment 2 Johan (not receiving bugmail) Dahlin 2009-06-02 17:35:14 UTC
I like the idea. gi-name: perhaps?
Comment 3 Colin Walters 2009-06-02 17:39:59 UTC
I'd say definitely omit the .gir extension, since it's also useful to lookup the the typelib.   Also I'd prefer either gi-names or gi-namespaces since that's how it's referred to in the tools, API and docs right now.
Comment 4 Colin Walters 2010-01-06 20:11:39 UTC
Ok so we just need to pick something here...I think gi-namespaces is closest to the introspection terminology.  Any objections or can I just go ahead and commit this to some modules?
Comment 5 Didier "Ptitjes" 2010-01-07 10:57:56 UTC
I guess this is good enough. Will that be retrieved and handled through some APIs in GIRepository ?
Comment 6 Colin Walters 2010-01-07 22:20:46 UTC
(In reply to comment #5)
> I guess this is good enough. Will that be retrieved and handled through some
> APIs in GIRepository ?

Is "pkg-config --variable=gi-namespaces gtk2" sufficient?  I'm not aware of much precedent for APIs around pkg-config since it's used only at build time, and most build systems are designed around invoking subprocesses.
Comment 7 André Klapper 2015-02-07 17:21:48 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Comment 8 GNOME Infrastructure Team 2018-02-08 11:49:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/16.