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 612572 - Build failure due deprecated GTK+ symbols
Build failure due deprecated GTK+ symbols
Status: RESOLVED DUPLICATE of bug 577469
Product: gdl
Classification: Other
Component: general
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks: 612497
 
 
Reported: 2010-03-11 14:42 UTC by Luca Ferretti
Modified: 2010-06-02 21:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (16.46 KB, patch)
2010-03-11 15:31 UTC, Luca Ferretti
none Details | Review

Description Luca Ferretti 2010-03-11 14:42:21 UTC
./.libs/libgdl-1.so: undefined reference to `GTK_WIDGET_DRAWABLE'
./.libs/libgdl-1.so: undefined reference to `GTK_WIDGET_REALIZED'
./.libs/libgdl-1.so: undefined reference to `GTK_WIDGET_VISIBLE'
./.libs/libgdl-1.so: undefined reference to `GTK_WIDGET_MAPPED'
./.libs/libgdl-1.so: undefined reference to `GTK_WIDGET_NO_WINDOW'

Those GTK+ macros was deprecated in latest 2.19.x release...
Comment 1 Luca Ferretti 2010-03-11 15:31:33 UTC
Created attachment 155868 [details] [review]
Proposed patch
Comment 2 Sébastien Granjoux 2010-03-11 18:49:08 UTC
Thanks for your patch but I think it shouldn't be a blocker. This will be deprecated in 2.19, stable version is still 2.18.

I think that even with the latest development version of gtk, you cannot remove all these macros, I don't see an urgency here. There is a similar bug in Anjuta (#597365) and it's still pending.

Should we fix all these for 2.30 release ?
Comment 3 Luca Ferretti 2010-03-11 19:37:17 UTC
(In reply to comment #2)
> Thanks for your patch but I think it shouldn't be a blocker.

A blocker bug is described as "Blocks development and/or testing work" and as you can see here[1] GDL fails to build, making impossible to test the GNOME suite. I've always marked build failure bug as blocker.

> This will be deprecated in 2.19, stable version is still 2.18.

AFAIK GNOME 2.30 will be based on GTK+ 2.20 (stable). It's a common habit for modules in GNOME Desktop depends on "development" features; for example Nautilus or Epiphany 2.29 depends on GTK+ 2.19 for the new GtkSpinner API.
But GDL is a library, so I understand you could waver to depend on latest GTK+ available.

> I think that even with the latest development version of gtk, you cannot remove
> all these macros

See the proposed patch.

> Should we fix all these for 2.30 release ?

GDL have to build against modules that will be used in 2.30. I think you can choose between remove deprecated symbols and depend on latest GTK+ or activate deprecation flags in build (git checkout should build too). If so, please check recent thread on desktop-devel-list about proper usage of deprecation flags[2].

[1] http://build.gnome.org/builders/gdl-bxlug-sid/builds/673/steps/gdl%20build/logs/stdio
[2] http://mail.gnome.org/archives/desktop-devel-list/2010-March/msg00044.html
Comment 4 Sébastien Granjoux 2010-03-11 21:14:35 UTC
Thanks for these informations, I better understand the issue.

I have removed all deprecation flags so it should work now but I cannot really check as I have only Gtk 2.18 here.
Comment 5 Johannes Schmid 2010-06-02 21:26:52 UTC
Marking as duplicate of the deprecation bug as this one will in the end be fixed when we have no more deprecated symbols.

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