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 603829 - Use single GTK+ includes
Use single GTK+ includes
Status: VERIFIED FIXED
Product: gtkglext
Classification: Other
Component: general
1.1.x
Other Linux
: Normal normal
: Future
Assigned To: Mukund Sivaraman
Mukund Sivaraman
Depends on:
Blocks:
 
 
Reported: 2009-12-05 01:37 UTC by Javier Jardón (IRC: jjardon)
Modified: 2009-12-07 05:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use single GTK+ includes (2.48 KB, patch)
2009-12-05 01:40 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review
Use single GTK+ includes. second patch (4.16 KB, patch)
2009-12-05 19:46 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2009-12-05 01:37:35 UTC
GTK+ and other libraries will require that only their top-level header file is
included.

See http://live.gnome.org/GnomeGoals/CleanupGTKIncludes for more info
Comment 1 Javier Jardón (IRC: jjardon) 2009-12-05 01:40:38 UTC
Created attachment 149132 [details] [review]
Use single GTK+ includes
Comment 2 Mukund Sivaraman 2009-12-05 04:27:41 UTC
(In reply to comment #1)
> Created an attachment (id=149132) [details] [review]
> Use single GTK+ includes

The includes patch seems OK, but is adding atk as a dependency required? Doesn't it get pulled automatically as a gtk+ dependency? I'll look into this and commit the patch.
Comment 3 Mukund Sivaraman 2009-12-05 04:53:57 UTC
A modified version of the patch in comment #1 was committed in the master branch in 00f05b44359c3894f7f6a9b6c836489579cf749b.
Comment 4 Mukund Sivaraman 2009-12-05 04:55:17 UTC
Resolving as FIXED, milestone unspecified (as we haven't setup milestones yet).

Javier: Please verify that master branch builds properly and verify this bug.
Comment 5 Javier Jardón (IRC: jjardon) 2009-12-05 19:45:47 UTC
Reopened because this bug is still not fixed.
Here a new patch to compile gtkglext and use only single includes:

make CFLAGS+="-DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
Comment 6 Javier Jardón (IRC: jjardon) 2009-12-05 19:46:40 UTC
Created attachment 149176 [details] [review]
Use single GTK+ includes. second patch
Comment 7 Javier Jardón (IRC: jjardon) 2009-12-05 19:47:50 UTC
Comment on attachment 149132 [details] [review]
Use single GTK+ includes

committed a slightly modified patch

commit 00f05b44359c3894f7f6a9b6c836489579cf749b
Comment 8 Mukund Sivaraman 2009-12-06 07:53:25 UTC
Review of attachment 149176 [details] [review]:

Committed in master branch in 10e05cd56615ab5296cf44bc6e4bfb677b7ac93d.
Comment 9 Mukund Sivaraman 2009-12-06 07:54:46 UTC
Resolving as FIXED, milestone unspecified (as we haven't setup milestones yet).

Javier: Please verify that master branch builds properly and verify this bug. I have also compiled gtkglext master with the CFLAGS from comment #5 and verified that it builds.
Comment 10 Javier Jardón (IRC: jjardon) 2009-12-07 05:59:00 UTC
Hello Mukund,

verified that master builds correct after latest commit.
Thank you for apply the patch.