Date: Tue, 30 May 2006 15:22:31 +0200 (CEST) From: Thomas-Martin Seck <tmseck@netcologne.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98143: [Maintainer] www/dillo-i18n: activate optional download gui Message-ID: <200605301322.k4UDMUEH027135@hardy.tmseck.homedns.org> Resent-Message-ID: <200605301330.k4UDUH4Q048023@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <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.k4UDMUEH027135>