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 755114 - Use a Common Autotools Module to Create The Visual Studio Projects
Use a Common Autotools Module to Create The Visual Studio Projects
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: build
unspecified
Other Windows
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-09-16 14:25 UTC by Fan, Chun-wei
Modified: 2015-09-17 01:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Build: Add common autotools module for generating the full Visual Studio projects from the templates (5.53 KB, patch)
2015-09-16 14:28 UTC, Fan, Chun-wei
committed Details | Review
Build: Clean Up Visual Studio Projects Generation (11.13 KB, patch)
2015-09-16 14:33 UTC, Fan, Chun-wei
committed Details | Review
configure.ac: Remove Check for Python (1.49 KB, patch)
2015-09-16 14:34 UTC, Fan, Chun-wei
committed Details | Review

Description Fan, Chun-wei 2015-09-16 14:25:24 UTC
Hi,

I do understand that currently ATK uses Python to generate the full Visual Studio 2008/2010 projects from the templates, which I did before, but it has a shortcoming: i.e. it is not able to support 'make -jN dist'.

So, I think it is probably better to go back to using autotools for doing the job, but in a way that is different from before, so that we don't add up much clutter in the autotools file, and we can remove the need for Python for 'make dist'.  This new approach is the one that is now used in GLib, Pango and GTK+-3.x.

With blessings, thank you!
Comment 1 Fan, Chun-wei 2015-09-16 14:28:36 UTC
Created attachment 311462 [details] [review]
Build: Add common autotools module for generating the full Visual Studio projects from the templates

Hi,

This is essentially the same autotools module used in GLib, Pango and GTK+, that is used to generate the Visual Studio projects.  I will post another patch in a bit to convert the atk/Makefile.am to use this module.
Comment 2 Fan, Chun-wei 2015-09-16 14:33:30 UTC
Created attachment 311464 [details] [review]
Build: Clean Up Visual Studio Projects Generation

Hi,

This is the patch that converts atk/Makefile.am to use the autotools module in attachment 311462 [details] [review] to generate the full Visual Studio 2008/2010 projects from their templates (note: the 2012, 2013 and 2015 projects are generated from another script from the Visual Studio 2010 ones), and to remove the Python tools that were used to generate the Visual Studio projects.
Comment 3 Fan, Chun-wei 2015-09-16 14:34:39 UTC
Created attachment 311465 [details] [review]
configure.ac: Remove Check for Python

Hi,

Since we are no longer using Python to generate the full Visual Studio projects, we can just drop the check for Python in configure.ac.

With blessings, thank you!
Comment 4 Ignacio Casal Quinteiro (nacho) 2015-09-16 20:57:08 UTC
Review of attachment 311462 [details] [review]:

Fix the email and as pointed out on the previous review, a comment on the file pointing to the main module would be good.
Comment 5 Ignacio Casal Quinteiro (nacho) 2015-09-16 20:57:52 UTC
Review of attachment 311464 [details] [review]:

Go ahead.
Comment 6 Ignacio Casal Quinteiro (nacho) 2015-09-16 20:58:16 UTC
Review of attachment 311465 [details] [review]:

Looks good.
Comment 7 Fan, Chun-wei 2015-09-17 01:48:52 UTC
Hi Nacho,

Thanks for the review and the comments, I have pushed the patches as follows:
-Attachment 311462 [details]: (With updates suggested): acee891
-Attachment 311464 [details]: 9ae6ef5
-Attachment 311465 [details]: 510fc6a

With blessings, thank you!