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 724430 - Remove check for libvala in configure.ac
Remove check for libvala in configure.ac
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: general
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2014-02-15 18:02 UTC by Alberto Garcia
Modified: 2014-02-18 14:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: drop libvala requirement (1.82 KB, patch)
2014-02-18 14:09 UTC, Juan A. Suarez Romero
committed Details | Review

Description Alberto Garcia 2014-02-15 18:02:52 UTC
When checking if a supported version of Vala is installed, Grilo looks for libvala-0.XX in configure.ac.

However only valac, vapigen and vala-gen-introspect seem to be required. Grilo doesn't seem to need libvala at all so that check is unnecessary and only forces people to have the library development files installed.

I'm not sure what's the recommended way to check for the installed valac version in configure.ac, but valac --version is probably good enough and doesn't require you to update configure.ac every time a new Vala version is released.
Comment 1 Juan A. Suarez Romero 2014-02-18 14:09:23 UTC
Created attachment 269552 [details] [review]
build: drop libvala requirement

Only valac, vapigen and vala-gen-introspect are required.
Comment 2 Juan A. Suarez Romero 2014-02-18 14:09:52 UTC
Attachment 269552 [details] pushed as 6f96c5f - build: drop libvala requirement
Comment 3 Alberto Garcia 2014-02-18 14:17:53 UTC
The problem with this fix is that it doesn't auto-detect Vala anymore, configure will fail if Vala is not installed unless you pass --disable-vala.
Comment 4 Juan A. Suarez Romero 2014-02-18 14:21:21 UTC
Right.

For now, let's downstream to add Vala as the requirement in the packaging, or passing "--disable-vala".

I'll improve the auto-detect for next releases.
Comment 5 Alberto Garcia 2014-02-18 14:26:11 UTC
I personally don't need auto detection so I'm fine with that, but I guess the configure help should be updated to state that --enable-vala is now the default.
Comment 6 Juan A. Suarez Romero 2014-02-18 14:28:08 UTC
Filed bug #724648 to track it