webkit dependencies
Stefan Thurner
thurners at nicsys.de
Sun Jan 24 19:12:28 UTC 2010
Hi,
installing webkit-gtk2 from ports brings in a lot gnome
dependencies. But they are not mandatory for webkit. I've managed
to install libsoup without gnome dependencies (see diff below).
--- /usr/ports/devel/libsoup/Makefile 2009-12-16 19:33:15.000000000 +0100
+++ Makefile 2010-01-24 17:18:22.000000000 +0100
@@ -22,10 +22,9 @@
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
proxy.0:${PORTSDIR}/net/libproxy \
- gnome-keyring.0:${PORTSDIR}/security/gnome-keyring \
sqlite3.8:${PORTSDIR}/databases/sqlite3
-USE_GNOME= gnomehack glib20 libxml2 ltverhack referencehack gconf2
+USE_GNOME= gnomehack glib20 libxml2 ltverhack referencehack
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
@@ -42,6 +41,13 @@
CONFIGURE_ARGS+=--disable-ssl
.endif
+.if !defined(WITHOUT_GNOME)
+LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
+USE_GNOME+= gconf2
+.else
+CONFIGURE_ARGS+=--without-gnome
+.endif
+
.include <bsd.port.pre.mk>
pre-everything::
Another problem was that had to disable gstreamer explicitly to
disable it (see diff below).
--- /usr/ports/www/webkit-gtk2/Makefile 2009-12-23 21:17:31.000000000 +0100
+++ Makefile 2010-01-24 17:18:56.000000000 +0100
@@ -54,6 +54,8 @@
.if defined(WITH_VIDEO)
USE_GSTREAMER+= yes
CONFIGURE_ARGS+=--enable-video
+.else
+CONFIGURE_ARGS+=--disable-video
.endif
.if defined(WITH_DEBUG)
Is it possible to rework these ports so that we can install a pure
_gtk_ webkit version?
regards
-Stefan
--
GPG-encrypted mail welcome! --> ID:E970FCBE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20100124/eac362bd/attachment.pgp
More information about the freebsd-gnome
mailing list