From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 5 13:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF3AF106567A for ; Thu, 5 Jun 2008 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 87B798FC1E for ; Thu, 5 Jun 2008 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m55Do1k7044353 for ; Thu, 5 Jun 2008 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m55Do15F044352; Thu, 5 Jun 2008 13:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 5 Jun 2008 13:50:01 GMT Resent-Message-Id: <200806051350.m55Do15F044352@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE45E1065678 for ; Thu, 5 Jun 2008 13:45:22 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 7D1A68FC31 for ; Thu, 5 Jun 2008 13:45:22 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1K4Ft1-000N1P-0J for FreeBSD-gnats-submit@freebsd.org; Thu, 05 Jun 2008 17:52:15 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 61AF28EA5 for ; Thu, 5 Jun 2008 17:45:55 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id DB6D91702F; Thu, 5 Jun 2008 17:45:33 +0400 (MSD) Message-Id: <20080605134533.DB6D91702F@hades.panopticon> Date: Thu, 5 Jun 2008 17:45:33 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/124302: [PATCH] www/webkit-gtk2: make video support optional X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2008 13:50:01 -0000 >Number: 124302 >Category: ports >Synopsis: [PATCH] www/webkit-gtk2: make video support optional >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 05 13:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Apr 25 11:18:45 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: Make video support optional, as it's not always needed and it brings in many useless dependencies. >How-To-Repeat: >Fix: --- webkit-gtk2.patch begins here --- diff -ruN webkit-gtk2.orig/Makefile webkit-gtk2/Makefile --- webkit-gtk2.orig/Makefile 2008-06-05 14:24:22.000000000 +0400 +++ webkit-gtk2/Makefile 2008-06-05 14:25:48.000000000 +0400 @@ -27,21 +27,29 @@ USE_PERL5= yes USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf:261 automake:110 libtool:15 -USE_GSTREAMER= gnomevfs +WANT_GSTREAMER= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --with-webkit-target=x11 \ --enable-icon-database \ - --enable-svg \ - --enable-video + --enable-svg MAKEFILE= GNUmakefile +OPTIONS= VIDEO "Enable video support" on + .include .if ${OSVERSION} < 600000 IGNORE= Does not build .endif +.if defined(WITHOUT_VIDEO) +CONFIGURE_ARGS+= --disable-video +.else +CONFIGURE_ARGS+= --enable-video +USE_GSTREAMER+= gnomevfs +.endif + post-patch: @${REINPLACE_CMD} -e 's|autoconf|${AUTOCONF}|g ; \ s|automake|${AUTOMAKE}|g ; s|aclocal|${ACLOCAL}|g ; \ --- webkit-gtk2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: