On 2013-12-09 13:03-0800 Alan W. Irwin wrote:

> Do you know enough about Cygwin so you can dissect how the packages are
> built?

In case you aren't experenced yet with dissecting Cygwin packages, I
have just figured out how to do that.  It turns out they are a
treasure trove of build information for Cygwin and may also give some
relevant build information and patches for the MinGW/MSYS case.

Let's say you are having trouble with pkg-config.  Then for
any Cygwin mirror look at

http://mirror.mcs.anl.gov/cygwin/x86_64/release/pkg-config

(I used the x86_64 version because that seemed to be much
more modern than x86 in the pkg-config case.)

>From that mirror (or any other) download the package source tarball,
pkg-config-0.27.1-1-src.tar.bz2 and unpack it.  In there, you will
find a patch, glib-cygwin.patch, which I discovered applies cleanly to
the latest version of pkg-config used by epa_build/pkg_config and is
all about changes having to do with G_OS_WIN32.  So I am virtually
positive that applying that patch will completely fix the G_OS_WIN32
issue you discovered and may also help out the MinGW/MSYS case where
pkg_config builds OK, but fails a small percentage of the tests.
I also had a look at the pkg-config.cygport file in that unpacked
tarball, but I don't think there is anything relevant because
all the logic seemed to be concerned with cross-compiling.

I want to do some testing of glib-cygwin.patch on all platforms
accessible to me so please standby until I make a relevant commit to
epa_build/pkg_config (probably Tuesday).

I am now going to go through the same Cygwin package dissection
process for tcl, and I will post later about what I find out in that
case.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to