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 608000 - Modernize the build system
Modernize the build system
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.6.x
Other All
: Normal minor
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-25 05:33 UTC by Javier Jardón (IRC: jjardon)
Modified: 2010-12-29 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Modernize the buid system (5.63 KB, patch)
2010-01-25 05:41 UTC, Javier Jardón (IRC: jjardon)
none Details | Review
Modernize autotools configuration.v2 (7.72 KB, patch)
2010-02-05 17:11 UTC, Javier Jardón (IRC: jjardon)
none Details | Review
Modernize autotools configuration.v3 (6.50 KB, patch)
2010-02-14 19:42 UTC, Javier Jardón (IRC: jjardon)
none Details | Review
Modernize autotools configuration.v4 (6.27 KB, patch)
2010-04-30 21:48 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2010-01-25 05:33:52 UTC
Patch following
Comment 1 Javier Jardón (IRC: jjardon) 2010-01-25 05:41:23 UTC
Created attachment 152201 [details] [review]
Modernize the buid system

I've replaced all autoconf deprecated macros.

I've updated the required dependencies too, all these packages are present in Debian stable or current Ubuntu (anyway, glade depends on GTK+ 2.18, which is only present in recent distributions)

New dependencies:
automake >= 1.10
autoconf >= 2.63
libtool >= 2.2.6
intltool >= 0.40.0
gtk-doc >= 1.11
Comment 2 Javier Jardón (IRC: jjardon) 2010-02-05 17:11:19 UTC
Created attachment 153094 [details] [review]
Modernize autotools configuration.v2

Updated patch: clean autogen.sh and check for some more headers in conigure.ac
Comment 3 Javier Jardón (IRC: jjardon) 2010-02-14 19:42:42 UTC
Created attachment 153789 [details] [review]
Modernize autotools configuration.v3

Finally a full working patch. I can relax some of the dependencies if you can (but autoconf 2.64 is needed for the URL paramater in AC_INIT())

New dependencies:
    automake >= 1.11
    autoconf >= 2.64
    libtool >= 2.2.6
    intltool >= 0.41.0
    gtk-doc >= 1.11
Comment 4 Josselin Mouette 2010-02-22 15:44:41 UTC
Please don't remove AM_MAINTAINER_MODE, it is prone to break some distribution builds. Instead you can use AM_MAINTAINER_MODE([enable]) to have a sane default for developers but still let distributors override it.
Comment 5 Javier Jardón (IRC: jjardon) 2010-04-30 21:48:07 UTC
Created attachment 160017 [details] [review]
Modernize autotools configuration.v4

Updated patch with your comments

I've used AM_MAINTAINER_MODE([enable]) instead
Comment 6 Ignacio Casal Quinteiro (nacho) 2010-04-30 22:04:24 UTC
For what I can see in the patch, it shouldn't break win32.
Comment 7 Javier Jardón (IRC: jjardon) 2010-12-29 17:42:45 UTC
Comment on attachment 160017 [details] [review]
Modernize autotools configuration.v4

commit 5e8ed7e0dfacb654e58116c2bfb8ec18d9ffc3cb
Comment 8 Javier Jardón (IRC: jjardon) 2010-12-29 17:43:07 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release.