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 744101 - Add helper macro for glib-compile-resources
Add helper macro for glib-compile-resources
Status: RESOLVED DUPLICATE of bug 654395
Product: glib
Classification: Platform
Component: gio
2.43.x
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-02-06 15:24 UTC by Philip Withnall
Modified: 2015-02-07 08:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Withnall 2015-02-06 15:24:48 UTC
Adding the right automake rules to invoke glib-compile-resources, especially correctly using --generate-dependencies, is non-trivial, and is going to get cargo-culted.

It would be nice if GLib provided a macro to simplify this.

Additionally, such a macro could run xmllint on the .gresource.xml file on `make check`, given a suitable schema for the GResource XML format (I believe that doesn’t exist at the moment?).
Comment 1 Philip Withnall 2015-02-06 15:42:21 UTC
(In reply to comment #0)
> Additionally, such a macro could run xmllint on the .gresource.xml file on
> `make check`, given a suitable schema for the GResource XML format (I believe
> that doesn’t exist at the moment?).

…although since glib-compile-resources already does validation, this isn’t of too much value.
Comment 2 Dan Winship 2015-02-07 08:09:05 UTC
glib-build.mk includes this

*** This bug has been marked as a duplicate of bug 654395 ***