[PATCH] Remove Libiconv peer requirement (and fix build with glib) on Win32

From: Ryan Pavlik <abiryan_at_ryand.net>
Date: Mon Jun 05 2006 - 01:08:12 CEST

Hello everybody! This is the first large patch out of (at least) 3 I
plan for Windows for the 2.5/2.6 cycle. This patch removes the use of
the libiconv peer, in favor of a shared system libiconv (installed into
the MinGW environment). It also fixes some build problems now that glib
is being used in core code. This changes the build process in the
following ways:

PKG_CONFIG_PATH=/mingw/lib/pkgconfig needs to be either exported or on
the same line as the make command (in MSYS)
Once the build is complete, libglib-2.0-0.dll, iconv.dll, and intl.dll,
from the respective binary dependencies, need to be copied to the output
bin/ directory.

NSIS has not yet been updated to package these files, this will be
forthcoming. I will also be uploading a set of in-progress instructions
for building on the Win32 platform for the 2.5 series. The astute among
you will recall that a more-or-less precise set of documents for the 2.4
series (including plugins, etc) can be found at
http://www.abisource.com/~rp/ , which I will probably update sometime
soon as well with some minor changes (mostly that the CVS checkout
requires the ABI-2-4-0-STABLE branch, etc).

Speaking of forthcoming changes, here are the other two patch topics:
 * Remove our dependency on Expat peer on Win32, now that LibXML is also
needed by WV 1.2 and therefore we might as use the same parser on all
platforms. This will be aided by a patch from Mikey which I found on
the list archives - working with this is my next task.

 * Transition to WV-1.2 instead of peer WV, for improved import and
parity with other platforms. Hopefully this shouldn't be too tough, TML
has built a nice LibGSF 1.14.1 binary at my request, and I have built
wv-1.2.1 on Windows against this binary. Unfortunately, since there
will need to be Abi build changes to use it, I can't test it.

Last, but certainly not least, I'd like to acknowledge and thank Mark
Gilbert, for his invaluable assistance and the vast majority of the
changes in this patch. He sacrificed time, sleep, and socialization for
the sake of AbiWord, and deserves at least a nice golf-clap, if not a
hearty round of applause.

Please review this patch and let me know if you find any issues with it,
or if it can be committed to the CVS HEAD tree.

Thanks!

Ryan

-- 
Ryan Pavlik
AbiWord Win32 Platform Maintainer
www.abisource.com
"Optimism is the father that leads to achievement." - Helen Keller

Received on Mon Jun 5 01:07:04 2006

This archive was generated by hypermail 2.1.8 : Mon Jun 05 2006 - 01:07:04 CEST