Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 19:39:38 +0100
From:      Stefan Thurner <thurners@nicsys.de>
To:        gnome@FreeBSD.org
Subject:   webkit dependencies
Message-ID:  <20100124183938.GA85791@xris.fu41.vpn>

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

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 @@
=20
 LIB_DEPENDS=3D	popt.0:${PORTSDIR}/devel/popt \
     		proxy.0:${PORTSDIR}/net/libproxy \
-		gnome-keyring.0:${PORTSDIR}/security/gnome-keyring \
 		sqlite3.8:${PORTSDIR}/databases/sqlite3
=20
-USE_GNOME=3D	gnomehack glib20 libxml2 ltverhack referencehack gconf2
+USE_GNOME=3D	gnomehack glib20 libxml2 ltverhack referencehack
 USE_LDCONFIG=3D	yes
 USE_AUTOTOOLS=3D	libtool:22
 USE_GMAKE=3D	yes
@@ -42,6 +41,13 @@
 CONFIGURE_ARGS+=3D--disable-ssl
 .endif
=20
+.if !defined(WITHOUT_GNOME)
+LIB_DEPENDS+=3D	gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
+USE_GNOME+=3D	gconf2
+.else
+CONFIGURE_ARGS+=3D--without-gnome
+.endif
+
 .include <bsd.port.pre.mk>
=20
 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+=3D	yes
 CONFIGURE_ARGS+=3D--enable-video
+.else
+CONFIGURE_ARGS+=3D--disable-video
 .endif
=20
 .if defined(WITH_DEBUG)


Is it possible to rework these ports so that we can install a pure
_gtk_ webkit version?


regards
-Stefan
--=20
GPG-encrypted mail welcome! --> ID:E970FCBE

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEABECAAYFAktck+oACgkQxNmQVulw/L7vgQCg25I4S0tDC8jXjrakhEWfgihh
1oQAoKX4pSfw/mcR1WIT0RCfQ4ypcTuN
=ytiY
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



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