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 689949 - Consolidate the Visual Studio projects creation (using Python scripts)
Consolidate the Visual Studio projects creation (using Python scripts)
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2012-12-10 03:53 UTC by Fan, Chun-wei
Modified: 2014-08-19 06:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Updates to the Pango build files (64.63 KB, patch)
2012-12-10 03:53 UTC, Fan, Chun-wei
none Details | Review
Use Python to generate the MSVC Project Files instead of custom autotools scripts (102.03 KB, patch)
2013-12-05 10:47 UTC, Fan, Chun-wei
none Details | Review
Use Python to generate the MSVC Project Files instead of custom autotools scripts (102.00 KB, patch)
2013-12-05 10:58 UTC, Fan, Chun-wei
none Details | Review
Add NMake Makefile to build the test programs under Visual C++ (6.49 KB, patch)
2013-12-05 11:07 UTC, Fan, Chun-wei
none Details | Review

Description Fan, Chun-wei 2012-12-10 03:53:55 UTC
Created attachment 231112 [details] [review]
Updates to the Pango build files

Hi,

(Sorry this came a bit later than what I would have liked)

I have came up with a patch to update the Pango autotools and Visual Studio project files so that there could be:

-A general-purpose autotools files to fill in the
 source file listings for the Pango, PangoFT2
 and PangoCairo Visual Studio project files.
 This will be the same autotools file that is
 used for GLib (please see bug 678334).  This
 will reduce the crowd-up in pango/Makefile.am
 (PangoWin32 projects are not filled in by the
 autotools file, as before)

-Another general-purpose autotools file to fill in
 the property sheets for the installation of headers
 for the Pango projects.

Please see the patch description for further details about the patch

With blessings, thank you!
Comment 1 Behdad Esfahbod 2012-12-17 19:47:33 UTC
Hi.  Unfortunately I won't have to time check these out for a while :(.
Comment 2 Fan, Chun-wei 2013-12-05 10:47:29 UTC
Created attachment 263571 [details] [review]
Use Python to generate the MSVC Project Files instead of custom autotools scripts

Hi,

I thought it might be a better idea to switch the MSVC project files generation using Python 2/3 scripts, as:
-This will reduce the amount of autotools scripts needed for this by quite a bit
-Everything for the MSVC project files will be under build/, reading the relevant Makefile.am's as needed
-The project files can be also generated on Windows quite easily using a standard Python 2/3 installation.
-We could also come up with NMake Makefiles to build the test programs with MSVC
 by this approach quite easily.

This would involve copying from GLib's configure.ac to perform the check on Python, though, in case it might raise any concerns, but AFAIK Python should be found on most, if not all Linux distros that are not way too old.

With blessings, thank you!
Comment 3 Fan, Chun-wei 2013-12-05 10:58:11 UTC
Created attachment 263573 [details] [review]
 Use Python to generate the MSVC Project Files instead of custom autotools scripts

Hi,

I had a mistake in the previous patch, so I'm reattaching...

Sorry!

With blessings, thank you!
Comment 4 Fan, Chun-wei 2013-12-05 11:07:09 UTC
Created attachment 263574 [details] [review]
Add NMake Makefile to build the test programs under Visual C++

Hi,

This is the patch to add the NMake Makefiles to build the Pango test programs using MSVC so that people using MSVC can test their build of Pango.  This patch builds upon the previous patch in this bug, as the listing of test programs can be acquired dynamically using the Python 2/3 scripts.

With blessings, thank you!
Comment 5 Fan, Chun-wei 2014-08-19 06:01:22 UTC
Hi,

I am closing this bug as obsolete as it seems that sticking to an autotools approach seem to be more preferred.  Will open a new bug for that.

With blessings, thank you!