ports/142189: www/webkit-gtk2 needs dependency on libsoup >= 2.28.2

Greg Larkin glarkin at FreeBSD.org
Wed Dec 30 23:30:04 UTC 2009


>Number:         142189
>Category:       ports
>Synopsis:       www/webkit-gtk2 needs dependency on libsoup >= 2.28.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 30 23:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Greg Larkin
>Release:        7.0-RELEASE
>Organization:
The FreeBSD Project
>Environment:
FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:
52 UTC 2008     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The recent commit to www/webkit-gtk2 (http://bit.ly/4xGram) imported a patch from the upstream repository. The patch-add-gzip patch includes a symbol that's only present in libsoup 2.28.2+, and webkit-gtk2 failed compilation with libsoup 2.28.1 installed.

Since both 2.28.1 and 2.28.2 install the same shared library version, the dependencies have to be rewritten slightly to depend directly on the package version.
>How-To-Repeat:
Install libsoup <2.28.2 and install webkit-gtk2.  The compilation fails with a missing symbol "SOUP_TYPE_CONTENT_DECODER".
>Fix:


Patch attached with submission follows:

Index: www/webkit-gtk2/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/webkit-gtk2/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- www/webkit-gtk2/Makefile	23 Dec 2009 20:17:31 -0000	1.15
+++ www/webkit-gtk2/Makefile	30 Dec 2009 23:16:58 -0000
@@ -8,7 +8,7 @@
 
 PORTNAME=	webkit
 PORTVERSION=	1.1.15.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://webkitgtk.org/
 PKGNAMESUFFIX=	-gtk2
@@ -16,12 +16,12 @@
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	An opensource browser engine
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
+BUILD_DEPENDS=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
+		libsoup>=2.28.2:${PORTSDIR}/devel/libsoup
 LIB_DEPENDS=	icutu.38:${PORTSDIR}/devel/icu \
 		enchant.1:${PORTSDIR}/textproc/enchant \
 		curl.5:${PORTSDIR}/ftp/curl \
-		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
-		soup-2.4.1:${PORTSDIR}/devel/libsoup
+		sqlite3.8:${PORTSDIR}/databases/sqlite3
 
 WANT_GSTREAMER=	yes
 MAKE_JOBS_SAFE=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list