Import webkit svn rev35249, based on an original work from James Turner

(james at bsdgroup dot org), thanks !
Webkit is an open source web rendering engine.

All our previous patches have been integrated upstream.
Mark it BROKEN on sparc64 until
https://bugs.webkit.org/show_bug.cgi?id=19775 is fixed.
Not linked to the build yet, a little bit of testing is still needed
with latest libc/libm change.
Thanks to all who already tested !

ok jdixon@ laurent@ 'import it' robert@ espie@
This commit is contained in:
landry 2008-07-25 12:51:10 +00:00
parent 6995ecbbbc
commit 9989355675
6 changed files with 121 additions and 0 deletions

70
www/webkit/Makefile Normal file
View File

@ -0,0 +1,70 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/07/25 12:51:10 landry Exp $
COMMENT = open source web browser engine
V = 35249
DISTNAME = WebKit-r${V}
PKGNAME = webkit-${V}
CATEGORIES = www
EXTRACT_SUFX = .tar.bz2
HOMEPAGE = http://webkit.org/
MASTER_SITES = http://builds.nightly.webkit.org/files/trunk/src/
MAINTAINER = Landry Breuil <gaston@gcu.info>
SHARED_LIBS = webkit-1.0 0.0
# LGPLv2 / BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
USE_X11 = Yes
USE_GMAKE = Yes
USE_LIBTOOL = Yes
.if ${MACHINE_ARCH} == "sparc64"
BROKEN = SIGBUS at runtime, being worked on
.endif
MODULES = converters/libiconv \
textproc/intltool \
gcc4
MODGCC4_ARCHES =*
MODGCC4_LANGS = c c++
AUTOMAKE_VERSION = 1.9
AUTOCONF_VERSION = 2.59
CONFIGURE_STYLE = gnu
MAKE_FILE = GNUmakefile
WANTLIB = ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
Xfixes Xi Xinerama Xrandr Xrender Xt atk-1.0 c crypto \
expat fontconfig freetype glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gthread-2.0 idn intl jpeg m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pthread ssl z cairo pixman-1 png xml2
LIB_DEPENDS = gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2,-main \
icudata,icui18n,icuuc::textproc/icu4c \
sqlite3::databases/sqlite3 \
xslt::textproc/libxslt \
curl::net/curl
BUILD_DEPENDS = ::devel/bison \
::devel/gperf \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
pre-configure:
cd ${WRKSRC} && ${SETENV} CC=${PREFIX}/bin/egcc CXX=${PREFIX}/bin/eg++ \
AUTOCONF_VERSION=${AUTOCONF_VERSION} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
autoreconf --install
cd ${WRKSRC} && ${SETENV} CC=${PREFIX}/bin/egcc CXX=${PREFIX}/bin/eg++ \
AUTOCONF_VERSION=${AUTOCONF_VERSION} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
automake --add-missing --copy
.include <bsd.port.mk>

5
www/webkit/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (WebKit-r35249.tar.bz2) = MgWsarN1/lcyu/XyybZoIA==
RMD160 (WebKit-r35249.tar.bz2) = bR5hQua8zZBJl9k31k3e2EU9/60=
SHA1 (WebKit-r35249.tar.bz2) = BeKT3ZnEhiujmR4ZXTetoF84uFU=
SHA256 (WebKit-r35249.tar.bz2) = TutYlYVL8oR4yTTllimfuIao2MjaVGe1eYZmKptZOTk=
SIZE (WebKit-r35249.tar.bz2) = 9277788

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-JavaScriptCore_GNUmakefile_am,v 1.1.1.1 2008/07/25 12:51:10 landry Exp $
--- JavaScriptCore/GNUmakefile.am.orig Sun Jul 20 10:44:28 2008
+++ JavaScriptCore/GNUmakefile.am Sun Jul 20 10:44:42 2008
@@ -211,7 +211,7 @@ Programs_minidom_CXXFLAGS = \
Programs_minidom_LDADD = \
libJavaScriptCore.la \
- -lstdc++
+ -lestdc++
# jsc
Programs_jsc_SOURCES = JavaScriptCore/kjs/Shell.cpp

3
www/webkit/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
WebKit is an open source web browser rendering engine. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/07/25 12:51:10 landry Exp $
@lib lib/libwebkit-1.0.so.${LIBwebkit-1.0_VERSION}

29
www/webkit/pkg/PLIST Normal file
View File

@ -0,0 +1,29 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/25 12:51:10 landry Exp $
%%SHARED%%
@bin bin/jsc
include/webkit-1.0/
include/webkit-1.0/JavaScriptCore/
include/webkit-1.0/JavaScriptCore/JSBase.h
include/webkit-1.0/JavaScriptCore/JSContextRef.h
include/webkit-1.0/JavaScriptCore/JSObjectRef.h
include/webkit-1.0/JavaScriptCore/JSStringRef.h
include/webkit-1.0/JavaScriptCore/JSStringRefBSTR.h
include/webkit-1.0/JavaScriptCore/JSStringRefCF.h
include/webkit-1.0/JavaScriptCore/JSValueRef.h
include/webkit-1.0/JavaScriptCore/JavaScript.h
include/webkit-1.0/JavaScriptCore/JavaScriptCore.h
include/webkit-1.0/webkit/
include/webkit-1.0/webkit/webkit.h
include/webkit-1.0/webkit/webkitdefines.h
include/webkit-1.0/webkit/webkitenumtypes.h
include/webkit-1.0/webkit/webkitnetworkrequest.h
include/webkit-1.0/webkit/webkitversion.h
include/webkit-1.0/webkit/webkitwebbackforwardlist.h
include/webkit-1.0/webkit/webkitwebframe.h
include/webkit-1.0/webkit/webkitwebhistoryitem.h
include/webkit-1.0/webkit/webkitwebsettings.h
include/webkit-1.0/webkit/webkitwebview.h
lib/libwebkit-1.0.a
lib/libwebkit-1.0.la
lib/pkgconfig/
lib/pkgconfig/webkit-1.0.pc