Date: Sun, 2 Aug 2009 22:17:24 GMT From: "Carlos A. M. dos Santos" <unixmania@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137368: x11-toolkits/libwnck: add menu option to configure dependence on x11/startup-notification Message-ID: <200908022217.n72MHO64066648@www.freebsd.org> Resent-Message-ID: <200908022220.n72MK5gn018151@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137368 >Category: ports >Synopsis: x11-toolkits/libwnck: add menu option to configure dependence on x11/startup-notification >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: Sun Aug 02 22:20:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Carlos A. M. dos Santos >Release: 8.0-BETA2 >Organization: N.A. >Environment: FreeBSD avatar 8.0-BETA2 FreeBSD 8.0-BETA2 #2: Tue Jul 28 23:21:41 BRT 2009 root@avatar:/usr/obj/usr/src/sys/Compaq_nx6320 amd64 >Description: The use of x11/startup-notification is optional in libwnck. Let's add a configuration menu, allowing the user to choose it interactively. Keep the option on by default, for compatibility with previous versions. >How-To-Repeat: Build and install the x11-toolkits/libwnck package. >Fix: Apply the attached patch. Patch attached with submission follows: diff -dur ports/x11-toolkits/libwnck.orig/Makefile ports/x11-toolkits/libwnck/Makefile --- ports.orig/x11-toolkits/libwnck/Makefile 2009-07-06 23:57:23.000000000 -0300 +++ ports/x11-toolkits/libwnck/Makefile 2009-08-02 18:46:22.000000000 -0300 @@ -8,7 +8,7 @@ PORTNAME= libwnck PORTVERSION= 2.26.2 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -20,8 +20,6 @@ .if !defined(REFERENCE_PORT) -LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification - USE_GETTEXT= yes USE_XORG= xres USE_GMAKE= yes @@ -29,10 +27,23 @@ USE_BISON= build USE_LDCONFIG= yes USE_AUTOTOOLS= libtool:15 + +OPTIONS= STARTUP "Enable startup notification support" on + +.include <bsd.port.pre.mk> + CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -.include <bsd.port.mk> +.if !defined(WITHOUT_STARTUP) +LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification +LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification +.else +do-patch: + @${REINPLACE_CMD} -e 's/STARTUP_NOTIFICATION_REQUIRED=0.4/STARTUP_NOTIFICATION_REQUIRED=9999/' ${WRKSRC}/configure +.endif + +.include <bsd.port.post.mk> .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908022217.n72MHO64066648>