I went ahead and committed the port at www/webkit-gtk so that we can all work on the same port in SVN. Its commit number 33380.

On 1/25/08, N_Ox <n.oxyde@gmail.com> wrote:

Le 25 janv. 08 à 19:46, Guido Soranzio a écrit :

>
> On Jan 25, 2008, at 8:23 AM, Randall Wood wrote:
>
>> I am getting the same error and have reported it at http://
>> bugs.webkit.org/show_bug.cgi?id=17001 if you wish to follow it.
>
> Thanks. I have applied the patch by Mark Raw in the attached
> updated portfile.
>
> Now the compilation fails towards the end in WebCore/xml reporting
> this error:
>
> In file included from ./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:
> 28,
>                  from ./JavaScriptCore/wtf/unicode/Unicode.h:31,
>                  from ./JavaScriptCore/wtf/unicode/utf8.h:29,
>                  from /opt/local/include/unicode/utf.h:221,
>                  from /opt/local/include/unicode/utypes.h:37,
>                  from /opt/local/include/unicode/ucnv_err.h:86,
>                  from /opt/local/include/unicode/ucnv.h:50,
>                  from WebCore/xml/XSLTUnicodeSort.cpp:38:
> /opt/local/include/unicode/uchar.h:2317:6: warning:
> "UCONFIG_NO_NORMALIZATION" is not defined
> In file included from ./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:
> 29,
>                  from ./JavaScriptCore/wtf/unicode/Unicode.h:31,
>                  from ./JavaScriptCore/wtf/unicode/utf8.h:29,
>                  from /opt/local/include/unicode/utf.h:221,
>                  from /opt/local/include/unicode/utypes.h:37,
>                  from /opt/local/include/unicode/ucnv_err.h:86,
>                  from /opt/local/include/unicode/ucnv.h:50,
>                  from WebCore/xml/XSLTUnicodeSort.cpp:38:
> /opt/local/include/unicode/ustring.h:679:6: warning:
> "UCONFIG_NO_CONVERSION" is not defined
> /opt/local/include/unicode/ustring.h:1092:6: warning:
> "UCONFIG_NO_BREAK_ITERATION" is not defined
> /opt/local/include/unicode/ustring.h:1169:64: warning:
> "UCONFIG_NO_CONVERSION" is not defined
> /opt/local/include/unicode/uchar.h:2293: error: expected
> initializer before 'UCharEnumTypeRange'
>
> [...]
>
> /opt/local/include/unicode/ucol.h:472: error: 'UCharIterator' has
> not been declared
> /opt/local/include/unicode/ucol.h:725: error: 'UCharIterator' has
> not been declared
> make[1]: *** [WebCore/xml/libWebKitGtk_la-XSLTUnicodeSort.lo] Error 1
> make: *** [all] Error 2
>

That's icu's fault, is a specific version of it required? MacPorts is
up to date, 3.8.1 is the latest version.

AFAIK the WebKit developers want to remove the dependency on ICU for portability reasons. 

--
Anthony Ramine, the "Ports tree cleaning Maestro".
<nox@macports.org>

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev



--
Randall Wood
randall.h.wood@alexandriasoftware.com

"The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."