From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 30 13:30:19 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C19016A47D for ; Tue, 30 May 2006 13:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1427743D4C for ; Tue, 30 May 2006 13:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4UDUHvd048024 for ; Tue, 30 May 2006 13:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4UDUH4Q048023; Tue, 30 May 2006 13:30:17 GMT (envelope-from gnats) Resent-Date: Tue, 30 May 2006 13:30:17 GMT Resent-Message-Id: <200605301330.k4UDUH4Q048023@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, Thomas-Martin Seck Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1B6F16A43D for ; Tue, 30 May 2006 13:22:46 +0000 (UTC) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from smtp2.netcologne.de (smtp2.netcologne.de [194.8.194.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0E1743D5E for ; Tue, 30 May 2006 13:22:39 +0000 (GMT) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from laurel.tmseck.homedns.org (xdsl-213-196-227-229.netcologne.de [213.196.227.229]) by smtp2.netcologne.de (Postfix) with SMTP id 0393D4923 for ; Tue, 30 May 2006 15:22:37 +0200 (MEST) Received: (qmail 1480 invoked from network); 30 May 2006 13:23:00 -0000 Received: from unknown (HELO hardy.tmseck.homedns.org) (192.168.1.2) by 0 with SMTP; 30 May 2006 13:23:00 -0000 Received: from hardy.tmseck.homedns.org (localhost [127.0.0.1]) by hardy.tmseck.homedns.org (8.13.6/8.13.6) with ESMTP id k4UDMaCd027136; Tue, 30 May 2006 15:22:36 +0200 (CEST) (envelope-from thomas@hardy.tmseck.homedns.org) Received: (from thomas@localhost) by hardy.tmseck.homedns.org (8.13.6/8.13.6/Submit) id k4UDMUEH027135; Tue, 30 May 2006 15:22:31 +0200 (CEST) (envelope-from thomas) Message-Id: <200605301322.k4UDMUEH027135@hardy.tmseck.homedns.org> Date: Tue, 30 May 2006 15:22:31 +0200 (CEST) From: Thomas-Martin Seck To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/98143: [Maintainer] www/dillo-i18n: activate optional download gui X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas-Martin Seck List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 13:30:19 -0000 >Number: 98143 >Category: ports >Synopsis: [Maintainer] www/dillo-i18n: activate optional download gui >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue May 30 13:30:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Thomas-Martin Seck >Release: FreeBSD 6.1-STABLE i386 >Organization: a private site in Germany >Environment: FreeBSD ports collection as of May 30, 2006. >Description: Implement a new configuration option WITH_DILLO_DLGUI (not enabled by default). Dillo will use a FLTK2 based gui for file downloads when this option is set. >How-To-Repeat: >Fix: Apply this patch: Index: Makefile =================================================================== --- Makefile (.../www/dillo-i18n) (revision 852) +++ Makefile (.../local/dillo-i18n) (revision 852) @@ -9,6 +9,8 @@ # WITH_DILLO_META-REFRESH: make dillo accept the meta-refresh tag # WITHOUT_DILLO_TABS: disable support for tabbed browsing # WITHOUT_DILLO_ANTIALIAS: disable support for antialiased display +# WITH_DILLO_DLGUI: enable experimental FLTK2 based gui for file +# downloads # # TODO: # SSL support is currently partly broken in this version of the i18n dillo: @@ -41,7 +43,6 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --enable-cookies --enable-ipv6 --enable-threaded-dns \ - --disable-dlgui \ --libdir=${PREFIX}/libexec CONFLICTS= dillo-[0-9].[0-9].[0-9]* @@ -83,6 +84,15 @@ CONFIGURE_ARGS+= --disable-anti-alias .endif +.if defined(WITH_DILLO_DLGUI) +CONFIGURE_ARGS+= --enable-dlgui +BUILD_DEPENDS+= fltk>=2.0.r4825:${PORTSDIR}/x11-toolkits/fltk2 +CPPFLAGS+= -I${X11BASE}/include +LDFLAGS+= -L${X11BASE}/lib +.else +CONFIGURE_ARGS+= --disable-dlgui +.endif + post-patch: @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \ s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure @@ -110,6 +120,12 @@ @${ECHO_CMD} " Set WITHOUT_DILLO_ANTIALIAS=yes in your make environment or on the" @${ECHO_CMD} " commandline to disable support for antialiased fonts." .endif +.if !defined(WITH_DILLO_DLGUI) @${ECHO_CMD} "" + @${ECHO_CMD} " Set WITH_DILLO_DLGUI=yes in your make environment or on the" + @${ECHO_CMD} " commandline to enable a FLTK2 based gui for download operations." +.endif + @${ECHO_CMD} "" + .include >Release-Note: >Audit-Trail: >Unformatted: