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 751051 - vala: Ensure all .vapi files contain GIR namespace CCode attributes
vala: Ensure all .vapi files contain GIR namespace CCode attributes
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2015-06-16 15:08 UTC by Philip Withnall
Modified: 2015-07-04 22:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vala: Ensure all .vapi files contain GIR namespace CCode attributes (10.81 KB, patch)
2015-06-16 15:09 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2015-06-16 15:08:58 UTC
This is needed to be able to build Vala code against tracker-sparql without warnings. See the commit message for more details.
Comment 1 Philip Withnall 2015-06-16 15:09:02 UTC
Created attachment 305405 [details] [review]
vala: Ensure all .vapi files contain GIR namespace CCode attributes

Ensure all .vapi files exported by Tracker contain gir_namespace and
gir_version CCode attributes, otherwise Vala code compiled against them
will hit this warning:

tracker-sparql-1.0.vapi:4.2-4.17: warning: Namespace Sparql does not
have a GIR namespace and version annotation
	namespace Sparql {
Comment 2 Carlos Garnacho 2015-07-04 21:12:01 UTC
Review of attachment 305405 [details] [review]:

Great to cut down on these :), looks good to me.
Comment 3 Philip Withnall 2015-07-04 22:38:42 UTC
Attachment 305405 [details] pushed as 27bee92 - vala: Ensure all .vapi files contain GIR namespace CCode attributes