Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  9 Dec 2007 20:48:42 +0100 (CET)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118512: [New port] www/webkit-gtk
Message-ID:  <20071209194842.76FA21CCD3@palm.hoeg.nl>
Resent-Message-ID: <200712091950.lB9Jo1Pk044086@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118512
>Category:       ports
>Synopsis:       [New port] www/webkit-gtk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 09 19:50:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ed Schouten
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD palm.hoeg.nl 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Sun Nov 4 14:26:14 CET 2007 ed@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
One of the biggest Open Source web rendering engines is WebKit. WebKit
is based on KDE's KHTML and is used in Apple's Safari.

At this moment there isn't a browser in FreeBSD ports that can use
WebKit, but the upcoming development versions of Epiphany (2.21.x) have
the ability to be built against WebKit instead of Gecko. 2.20.x can also
do this, but that only works when you use a more outdated version of
WebKit. The API has changed in the mean time.

This port installs the example GtkLauncher application, so we can at
least do something with it.
>How-To-Repeat:
>Fix:
The attached shell archive contains the files that are in the
www/webkit-gtk port:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-descr
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:	webkit-gtk
X# Date created:				08 December 2007
X# Whom:					Ed Schouten <ed@fxq.nl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	webkit
XPORTVERSION=	20071208
XCATEGORIES=	www
XMASTER_SITES=	http://nightly.webkit.org/files/trunk/src/
XPKGNAMESUFFIX=	-gtk
XDISTNAME=	WebKit-r28565
X
XMAINTAINER=	ed@fxq.nl
XCOMMENT=	Apple Safari's rendering engine ported to GTK+
X
XLIB_DEPENDS=	icudata:${PORTSDIR}/devel/icu \
X		sqlite3:${PORTSDIR}/databases/sqlite3
X
XUSE_LDCONFIG=	yes
XUSE_BZIP2=	yes
XUSE_QT_VER=	4
XQT_COMPONENTS=	qmake moc
XUSE_GNOME=	gtk20
X
Xdo-build:
X	@cd ${WRKSRC} && ${MAKE_ENV} ./WebKitTools/Scripts/build-webkit \
X		--gtk --qmake=${QMAKE} \
X		--qmakearg=WEBKIT_INC_DIR=${PREFIX}/include/WebKit \
X		--qmakearg=WEBKIT_LIB_DIR=${PREFIX}/lib
X
X# The GTK+ launcher is really broken, but we'd better do that, because
X# the latest Epiphany in Ports can't talk with this version of WebKit.
Xdo-install:
X	@${REINPLACE_CMD} -e \
X		's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
X		${WRKSRC}/WebKitBuild/Release/WebCore/Makefile
X	@${MAKE} -C ${WRKSRC}/WebKitBuild/Release install
X	${INSTALL_PROGRAM} ${WRKSRC}/WebKitBuild/Release/WebKitTools/GtkLauncher/GtkLauncher \
X		${PREFIX}/bin/webkit-gtk-launcher
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (WebKit-r28565.tar.bz2) = b25ea418ff9ba37a2e4fb70456c97794
XSHA256 (WebKit-r28565.tar.bz2) = b9ebff1927fffae773d7baab6e5a9774ee98d759d7521e374fd68ac5508e42f8
XSIZE (WebKit-r28565.tar.bz2) = 7727626
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XWebKit is the rendering engine used in Apple's webbrowser called Safari,
Xwhich is the standard browser shipped with Mac OS X. This port installs
Xthe GTK+ version of the library, which can for example be used with
XEpiphany, GNOME's webbrowser.
X
XWWW: http://webkit.org/
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xbin/webkit-gtk-launcher
Xinclude/WebKit/JavaScriptCore/JSBase.h
Xinclude/WebKit/JavaScriptCore/JSContextRef.h
Xinclude/WebKit/JavaScriptCore/JSObjectRef.h
Xinclude/WebKit/JavaScriptCore/JSStringRef.h
Xinclude/WebKit/JavaScriptCore/JSStringRefBSTR.h
Xinclude/WebKit/JavaScriptCore/JSStringRefCF.h
Xinclude/WebKit/JavaScriptCore/JSValueRef.h
Xinclude/WebKit/JavaScriptCore/JavaScriptCore.h
X@dirrm include/WebKit/JavaScriptCore
Xinclude/WebKit/webkit.h
Xinclude/WebKit/webkitdefines.h
Xinclude/WebKit/webkitglobal.h
Xinclude/WebKit/webkitnetworkrequest.h
Xinclude/WebKit/webkitwebframe.h
Xinclude/WebKit/webkitwebview.h
X@dirrm include/WebKit
Xlib/libWebKitGtk.prl
Xlib/libWebKitGtk.so
Xlib/libWebKitGtk.so.1
Xlib/libWebKitGtk.so.1.0
Xlib/libWebKitGtk.so.1.0.0
Xlibdata/pkgconfig/WebKitGtk.pc
END-of-pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071209194842.76FA21CCD3>