Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 15:22:55 +0200 (CEST)
From:      Thomas-Martin Seck <tmseck@netcologne.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98144: [Maintainer] www/dillo: activate optional download gui
Message-ID:  <200605301322.k4UDMtRk027205@hardy.tmseck.homedns.org>
Resent-Message-ID: <200605301330.k4UDUJJd048040@freefall.freebsd.org>

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

>Number:         98144
>Category:       ports
>Synopsis:       [Maintainer] www/dillo: 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:18 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)	(revision 850)
+++ Makefile	(.../local/dillo)	(revision 850)
@@ -6,6 +6,7 @@
 #
 # Tunables:
 # WITH_DILLO_SSL: enable experimental SSL support
+# WITH_DILLO_DLGUI: enable experimental FLTK2 based gui for file downloads
 #
 
 PORTNAME=	dillo
@@ -29,7 +30,6 @@
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
 		LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--enable-cookies --enable-ipv6 --enable-threaded-dns \
-		--disable-dlgui \
 		--libdir=${PREFIX}/libexec
 
 .if defined(WITH_DILLO_SSL)
@@ -40,6 +40,15 @@
 CONFIGURE_ARGS+=	--disable-ssl
 .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
+
 CONFLICTS=	dillo-i18n-*[0-9]*
 
 post-patch:
@@ -54,6 +63,11 @@
 	@${ECHO_CMD} "   Set WITH_DILLO_SSL=yes in your make environment or on the"
 	@${ECHO_CMD} "   commandline to enable experimental SSL support."
 .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 <bsd.port.mk>
	


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



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