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 750878 - Needs to bump dependency on gtk to 3.16
Needs to bump dependency on gtk to 3.16
Status: RESOLVED DUPLICATE of bug 751011
Product: gnome-contacts
Classification: Core
Component: general
3.16.x
Other Linux
: Normal major
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-06-12 20:54 UTC by Michael Biebl
Modified: 2015-10-05 21:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2015-06-12 20:54:31 UTC
configure.ac contains gtk+-3.0 >= 3.12.0, yet compiling against such an older versions fails:

contacts-contact.o: In function `contacts_contact_presence_construct':
/home/michael/debian/build-area/gnome-contacts-3.16.2/src/contacts-contact.c:1208: undefined reference to `gtk_label_set_xalign'
contacts-contact-sheet.o: In function `contacts_contact_sheet_add_row_with_button':
/home/michael/debian/build-area/gnome-contacts-3.16.2/src/contacts-contact-sheet.c:306: undefined reference to `gtk_label_set_xalign'
contacts-contact-sheet.o: In function `contacts_contact_sheet_add_row_with_label':
/home/michael/debian/build-area/gnome-contacts-3.16.2/src/contacts-contact-sheet.c:399: undefined reference to `gtk_label_set_xalign'
/home/michael/debian/build-area/gnome-contacts-3.16.2/src/contacts-contact-sheet.c:411: undefined reference to `gtk_label_set_xalign'
contacts-contact-sheet.o: In function `contacts_contact_sheet_update':
/home/michael/debian/build-area/gnome-contacts-3.16.2/src/contacts-contact-sheet.c:803: undefined reference to `gtk_label_set_xalign'


gtk_label_set_xalign was introduced in 3.16, so the dependency should be bumped:

diff --git a/configure.ac b/configure.ac
index 01856d6..089391f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext Package])
 AC_SUBST(GETTEXT_PACKAGE)
 
 
-pkg_modules="gtk+-3.0 >= 3.12.0
+pkg_modules="gtk+-3.0 >= 3.16.0
             glib-2.0 >= 2.37.6
             gmodule-export-2.0
             gnome-desktop-3.0
Comment 1 Jonas Danielsson 2015-08-17 11:13:07 UTC
Sorry for not catching this earlier, this is against the wrong module right? Should be filed against gnome-contacts?
Comment 2 David King 2015-10-05 21:50:17 UTC

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