pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/webkit-gtk Import webkit-gtk-1.0.2.35656 as www/we...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5c1ab5cefcba
branches: trunk
changeset: 551278:5c1ab5cefcba
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Thu Dec 11 19:38:57 2008 +0000
description:
Import webkit-gtk-1.0.2.35656 as www/webkit-gtk.
WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by
Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.
This is the GTK2+ port of the engine.
diffstat:
www/webkit-gtk/DESCR | 7 ++++
www/webkit-gtk/Makefile | 64 +++++++++++++++++++++++++++++++++++++++++
www/webkit-gtk/PLIST | 27 +++++++++++++++++
www/webkit-gtk/buildlink3.mk | 30 +++++++++++++++++++
www/webkit-gtk/distinfo | 9 +++++
www/webkit-gtk/patches/patch-aa | 49 +++++++++++++++++++++++++++++++
www/webkit-gtk/patches/patch-ab | 10 ++++++
www/webkit-gtk/patches/patch-ac | 13 ++++++++
www/webkit-gtk/patches/patch-ad | 30 +++++++++++++++++++
9 files changed, 239 insertions(+), 0 deletions(-)
diffs (275 lines):
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/DESCR Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,7 @@
+WebKit is an open source web browser engine. WebKit is also the name of
+the Mac OS X system framework version of the engine that's used by
+Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
+and JavaScript code began as a branch of the KHTML and KJS libraries
+from KDE.
+
+This is the GTK2+ port of the engine.
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/Makefile Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+#
+# pkg-config says 1.0.2, let's combine it with the revision
+# to give a sane version number.
+#
+DISTNAME= WebKit-r35656
+PKGNAME= ${DISTNAME:S/WebKit/webkit-gtk/:S/r/1.0.2./}
+CATEGORIES= www
+MASTER_SITES= http://nightly.webkit.org/files/trunk/src/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://webkit.org/
+COMMENT= GTK2 port of the WebKit browser engine
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_TOOLS+= bison gmake perl:build \
+ automake autoconf autoheader \
+ aclocal pkg-config bash:build
+
+MAKE_FILE= GNUmakefile
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --with-target=x11 \
+ --with-http-backend=curl \
+ --with-font-backend=freetype
+
+REPLACE_PERL+= JavaScriptCore/kjs/create_hash_table \
+ JavaScriptCore/pcre/dftables \
+ SunSpider/make-hosted \
+ SunSpider/sunspider \
+ SunSpider/sunspider-compare-results \
+ WebCore/bindings/scripts/*.pl \
+ WebCore/css/*.pl \
+ WebCore/dom/*.pl \
+ WebCore/platform/text/mac/*.pl \
+ WebKit/WebKit.xcodeproj/project.pbxproj \
+ WebKit/win/WebKit.vcproj/*.pl \
+ WebKitTools/BuildSlaveSupport/build-launcher-app \
+ WebKitTools/BuildSlaveSupport/build-launcher-dmg \
+ WebKitTools/BuildSlaveSupport/run-performance-tests \
+ WebKitTools/Scripts/*
+
+pre-configure:
+ cd ${WRKSRC} && ${SHELL} autogen.sh
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+# These are optional, but they need testing.
+#.include "../../net/libsoup24/buildlink3.mk"
+#.include "../../devel/pango/buildlink3.mk"
+# A correct Webkit build requires flex 2.5.33
+.include "../../devel/flex/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../devel/gperf/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/PLIST Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+bin/jsc
+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/JavaScriptCore/WebKitAvailability.h
+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.la
+lib/pkgconfig/webkit-1.0.pc
+@dirrm include/webkit-1.0/webkit
+@dirrm include/webkit-1.0/JavaScriptCore
+@dirrm include/webkit-1.0
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/buildlink3.mk Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+WEBKIT_GTK_BUILDLINK3_MK:= ${WEBKIT_GTK_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= webkit-gtk
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwebkit-gtk}
+BUILDLINK_PACKAGES+= webkit-gtk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}webkit-gtk
+
+.if ${WEBKIT_GTK_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.webkit-gtk+= webkit-gtk>=1.0.2.35289
+BUILDLINK_PKGSRCDIR.webkit-gtk?= ../../www/webkit-gtk
+.endif # WEBKIT_GTK_BUILDLINK3_MK
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../devel/gperf/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/distinfo Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+
+SHA1 (WebKit-r35656.tar.bz2) = 38f403fb332cb445467a2bd9a3143ceefca784ff
+RMD160 (WebKit-r35656.tar.bz2) = 729f5c7e2ef33b6c841d665c839ef6ee47efb71c
+Size (WebKit-r35656.tar.bz2) = 9273112 bytes
+SHA1 (patch-aa) = a89653a6cee06a6573fd8111c0dd35f887782337
+SHA1 (patch-ab) = 19d9ac9a362a8c41025775bc60634dc1e5c3c28c
+SHA1 (patch-ac) = bea7fc5d165ca6720d06d068868a285890a1b8c9
+SHA1 (patch-ad) = 4ed7d225a499dad3d35ae922a05953cdc7a5b62d
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-aa Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+
+--- WebKitTools/wx/install-unix-extras.orig 2008-04-28 20:40:06.000000000 +0200
++++ WebKitTools/wx/install-unix-extras
+@@ -41,7 +41,7 @@ DL_DIR=/tmp/webkit-deps
+ DEPS_PREFIX=$WK_ROOT/WebKitLibraries/unix
+ DLLEXT=so
+
+-if [ "${OSTYPE:0:6}" == "darwin" ]; then
++if [ "${OSTYPE:0:6}" = "darwin" ]; then
+ DLLEXT=dylib
+ fi
+
+@@ -84,7 +84,7 @@ if [ `which icu-config >/dev/null 2>&1`
+
+ chmod +x configure install-sh
+
+- if [ "${OSTYPE:0:6}" == "darwin" ]; then
++ if [ "${OSTYPE:0:6}" = "darwin" ]; then
+ ./configure --prefix=$DEPS_PREFIX --disable-dependency-tracking
+ make CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
+ LDFLAGS="-arch i386 -arch ppc"
+@@ -107,7 +107,7 @@ if [ ! -f $DEPS_PREFIX/lib/libiconv.$DLL
+ tar xzvf $DL_DIR/$ICONV_TARBALL
+ cd $DL_DIR/libiconv-$ICONV_VERSION
+
+- if [ "${OSTYPE:0:6}" == "darwin" ]; then
++ if [ "${OSTYPE:0:6}" = "darwin" ]; then
+ ./configure --prefix=$DEPS_PREFIX --disable-dependency-tracking
+ make CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
+ LDFLAGS="-arch i386 -arch ppc"
+@@ -131,7 +131,7 @@ if [ ! -f $DEPS_PREFIX/lib/libjpeg.a ];
+ # jpeg install command expects this to exist.
+ mkdir -p $DEPS_PREFIX/man/man1
+
+- if [ "${OSTYPE:0:6}" == "darwin" ]; then
++ if [ "${OSTYPE:0:6}" = "darwin" ]; then
+ ./configure --prefix=$DEPS_PREFIX --disable-dependency-tracking
+ make CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
+ LDFLAGS="-arch i386 -arch ppc"
+@@ -155,7 +155,7 @@ if [ ! -f $DEPS_PREFIX/lib/libpng.a ]; t
+ tar xzvf $DL_DIR/$LIBPNG_TARBALL
+ cd $DL_DIR/libpng-$LIBPNG_VERSION
+
+- if [ "${OSTYPE:0:6}" == "darwin" ]; then
++ if [ "${OSTYPE:0:6}" = "darwin" ]; then
+ ./configure --prefix=$DEPS_PREFIX --disable-dependency-tracking
+ make CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \
+ LDFLAGS="-arch i386 -arch ppc"
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-ab Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+
+--- autogen.sh.orig 2008-04-17 23:37:24.000000000 +0200
++++ autogen.sh
+@@ -53,5 +53,3 @@ automake --foreign --add-missing || exit
+ autoconf || exit $?
+
+ cd $ORIGDIR || exit 1
+-
+-$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-ac Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+
+--- JavaScriptCore/kjs/collector.cpp.orig 2008-07-20 06:53:10.000000000 +0200
++++ JavaScriptCore/kjs/collector.cpp
+@@ -386,7 +386,7 @@ static inline void* currentThreadStackBa
+ if (stackBase == 0 || thread != stackThread) {
+ pthread_attr_t sattr;
+ pthread_attr_init(&sattr);
+-#if HAVE(PTHREAD_NP_H)
++#if HAVE(PTHREAD_NP_H) || PLATFORM(NETBSD)
+ // e.g. on FreeBSD 5.4, neundorf%kde.org@localhost
+ pthread_attr_get_np(thread, &sattr);
+ #else
diff -r 08866ae0c8be -r 5c1ab5cefcba www/webkit-gtk/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/webkit-gtk/patches/patch-ad Thu Dec 11 19:38:57 2008 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/12/11 19:38:57 ahoka Exp $
+
+--- JavaScriptCore/wtf/Platform.h.orig 2008-07-23 07:17:02.000000000 +0200
++++ JavaScriptCore/wtf/Platform.h
+@@ -64,6 +64,13 @@
+ #define WTF_PLATFORM_OPENBSD 1
+ #endif
+
++/* PLATFORM(NETBSD) */
++/* Operating system level dependencies for OpenBSD systems that */
++/* should be used regardless of operating environment */
++#ifdef __NetBSD__
++#define WTF_PLATFORM_NETBSD 1
++#endif
++
+ /* PLATFORM(SOLARIS) */
+ /* Operating system level dependencies for Solaris that should be used */
+ /* regardless of operating environment */
+@@ -76,10 +83,10 @@
+ /* should be used regardless of operating environment */
+ #if PLATFORM(DARWIN) \
+ || PLATFORM(FREEBSD) \
++ || PLATFORM(NETBSD) \
+ || defined(unix) \
+ || defined(__unix) \
+ || defined(__unix__) \
+- || defined (__NetBSD__) \
+ || defined(_AIX)
+ #define WTF_PLATFORM_UNIX 1
+ #endif
Home |
Main Index |
Thread Index |
Old Index