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 732062 - gitg-0.3.2 and git master incompatible with libgit2-glib >= 0.0.14 ggit_get_features API
gitg-0.3.2 and git master incompatible with libgit2-glib >= 0.0.14 ggit_get_f...
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg
git master
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2014-06-22 21:19 UTC by Alexandre Rostovtsev
Modified: 2014-07-01 15:34 UTC
See Also:
GNOME target: ---
GNOME version: 3.11/3.12



Description Alexandre Rostovtsev 2014-06-22 21:19:54 UTC
In libgit2-glib-0.0.14, ggit_get_capabilities() was renamed to ggit_get_features() and GGIT_CAP_* enum values became GGIT_FEATURE_*; see commit 91db08d3bd25dabe967865894ee8645e6e661d11.

This breaks gitg's configure check for threadsafe libgit2, which currently checks for ggit_get_capabilities() & GGIT_CAP_THREADS != 0:

checking pkg-config is at least version 0.9.0... yes
checking for LIBGITG... yes
checking for libgit2-glib threading support... configure: error: no, please recompile a threadsafe version of libgit2 (-DTHREADSAFE:BOOL=ON)

Perhaps there should be a new gitg release which is compatible with libgit2-glib-0.0.14 / 0.0.16?
Comment 1 Ignacio Casal Quinteiro (nacho) 2014-06-22 21:26:27 UTC
Started branch wip/libggit016
Comment 2 Ignacio Casal Quinteiro (nacho) 2014-06-23 14:41:44 UTC
merged but now gitg is depending on libgit2-glib master. I should probably make again another release of libgit2-glib but I'll probably wait a bit more.
Comment 3 jessevdk@gmail.com 2014-07-01 15:34:16 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.