Trying porting back WebKit
Guido Soranzio
guido.soranzio at gmail.com
Fri Jan 25 10:46:51 PST 2008
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
-Guido
---------------8<-----------------------------------------
PortSystem 1.0
name webkitgtk
version r29785
categories devel
description GTK+ port of WebKit.
long_description ${description}
maintainers nomaintainer
homepage http://www.webkit.org
platforms darwin
master_sites http://nightly.webkit.org/files/trunk/src
use_bzip2 yes
distname WebKit-${version}
checksums md5 2c45b3c706be67a1b6d57784a4239407
configure.cmd ./autogen.sh
depends_build port:libtool \
port:pkgconfig
depends_lib port:curl \
port:icu \
port:libxslt \
port:sqlite3 \
port:gtk2
pre-configure {
reinplace "s|aclocal |aclocal -I ${prefix}/share/aclocal |" \
${worksrcpath}/autogen.sh
reinplace "s|libtoolize|glibtoolize|" \
${worksrcpath}/autogen.sh
reinplace "s|!defined(__MACOS_CLASSIC__)|!
defined(__MACOS_CLASSIC__) \\\&\\\& !defined(XP_UNIX)|" \
${worksrcpath}/JavaScriptCore/bindings/npapi.h
}
-------------------8<------------------------------------
More information about the macports-dev
mailing list