[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: utf8proc on Win32

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Tue, 25 Mar 2008 17:25:37 +0100

> <ehu> pburba: you have a build system running on Win32, right?
> <pburba> yes
> <markphip> it should be, just two .c files and a .h
> <ehu> would you have time for a little experiment somewhere in the next 2 weeks?
> <markphip> hack the build so it looks like they are part of libsvn_subr
> <pburba> ehu: Sure
> <ehu> could you try to see if what markphip says would work on Windows?
> <markphip> ehu essentially wants to know if utf8proc will build on Win32
>
> I was able to build utf8proc on Windows using the Visual Studio IDE
> (only built the core, not the ruby or PostgreSQL parts). To get it to
> build the following minor tweaks were required:
>
> A) Typedef ssize_t as an int in utf8proc.h, since it isn't defined in
> Visual Studio's C89 compliant headers.
>
> B) Create "stdbool.h" and "inttypes.h", neither of which exists on
> Windows (again these are C99 standard headers).
>
> I was able to compile Subversion with calls to some utf8proc
> functions, but didn't test anything explicitly beyond that.
>
> I also tried to integrate utf8proc into the Windows build system in
> the same way we handle other external targets like SASL and BDB. I
> didn't have a lot of luck with this, I'll need more time or the help
> of someone who understands the Win32 build process better. But I
> didn't want to do either until we know we are going to use utf8proc.

Thanks! I'll probably want to contact the author to see that in a next
release he'll includes the changes required to build on Windows.

I'll get back on the (de)composition problem and my suggested solution
(using utf8proc) ASAP, now that I know utf8proc will work as a
solution.

Bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-25 17:25:56 CET

This is an archived mail posted to the Subversion Dev mailing list.