[Gtk-sharp-list] libxml dependency
John Luke
jluke@users.sourceforge.net
Mon, 17 May 2004 17:35:13 -0400
Mike Kestner wrote:
>On Sat, 2004-05-15 at 14:23, John Luke wrote:
>
>
>>Hello,
>> I recently tried to build gtk# on windows and had a slight problem
>>with the libxml dep, which I worked around. However, do we even need
>>this anymore since gapi-fixup.exe probably auto-indents the xml anyways
>>(or if not it could be made to).
>>
>>
>
>libxml2 should be buildable on win32. I know DV has commented
>frequently about his win32 users.
>
>
>
Libxml works fine, I just had some weird cygwin pkg-config problem with
it, then I thought why does it need it anyways and it seemed like it was
only used for the
perl stuff that I thought was going to be removed. I guess I should look
at what gapi_format_xml does, but I think it is equivalent to
monodoc/browser/normalize.cs., and should be easily replaceable.
>We can't rely on gapi-fixup because it's used at make time for each
>assembly. You could redo gapi_formal_xml using System.Xml, but that
>won't remove the libxml dependency with GAPI::Metadata still in the
>picture. At this point, I think we could probably nuke all of that
>though and kill those perl libxml binding deps at the same time. I
>doubt anybody is using the old metadata engine at this point, and if
>they are, now is the time to force them to upgrade to gapi-fixup, before
>1.0 hits the streets.
>
>
>
>> Also, the makefile.win32's are the preferred way to build still?
>>Maybe I can integrate the cygwin build in the auto* stuff, if that make
>>things easier.
>>
>>
>
>If you are willing to work on this, I will buy you beers next time we
>meet. I'd love to have an integrated win32 build, and we arguably need
>it for beta2 since we want to install strongnamed/GACd assemblies on
>win32 and need the AssemblyInfo.cs.in configure expansion step, etc...
>
>
>
Well, I looked at it after posting and I can build all the managed stuff
ok just by using csc-style compile commands in the Makefile.am's, and a
couple other small things. I ran into one problem where csc wont work
with 'generated/*.cs' and I had to conditionally use /recurse:*.cs instead.
The unmanaged/cygwin stuff will take me some more time to look into.