From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 26 03:00:13 2012 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 E5E8C106564A for ; Thu, 26 Jan 2012 03:00:11 +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 A52818FC15 for ; Thu, 26 Jan 2012 03:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0Q30BlY039327 for ; Thu, 26 Jan 2012 03:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0Q30BWX039326; Thu, 26 Jan 2012 03:00:11 GMT (envelope-from gnats) Resent-Date: Thu, 26 Jan 2012 03:00:11 GMT Resent-Message-Id: <201201260300.q0Q30BWX039326@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, Zhihao Yuan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2AB106566B for ; Thu, 26 Jan 2012 02:59:04 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C9C688FC0A for ; Thu, 26 Jan 2012 02:59:03 +0000 (UTC) Received: by iaeo4 with SMTP id o4so292137iae.13 for ; Wed, 25 Jan 2012 18:59:03 -0800 (PST) Received: by 10.50.34.202 with SMTP id b10mr326911igj.2.1327546743101; Wed, 25 Jan 2012 18:59:03 -0800 (PST) Received: from elitebook.hp (c-98-228-191-105.hsd1.il.comcast.net. [98.228.191.105]) by mx.google.com with ESMTPS id kh9sm845373igc.1.2012.01.25.18.58.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jan 2012 18:59:02 -0800 (PST) Received: by elitebook.hp (sSMTP sendmail emulation); Wed, 25 Jan 2012 20:58:54 -0600 Message-Id: <4f20c176.69ca320a.28db.1e12@mx.google.com> Date: Wed, 25 Jan 2012 20:58:54 -0600 From: Zhihao Yuan To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/164500: [patch] Build libwnck without startup_notification X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zhihao Yuan List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2012 03:00:13 -0000 >Number: 164500 >Category: ports >Synopsis: [patch] Build libwnck without 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: Thu Jan 26 03:00:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Zhihao Yuan >Release: FreeBSD 8.2-STABLE amd64 >Organization: Northern Illinois University >Environment: System: FreeBSD elitebook.hp 8.2-STABLE FreeBSD 8.2-STABLE #2 r230519: Tue Jan 24 22:28:11 CST 2012 lichray@elitebook.hp:/usr/obj/home/lichray/devel/freebsd-8/sys/HOUKAGO amd64 >Description: All components of Xfce4 can be build without startup-notification, except this one, a library inherited from the Gnome project. It can be build without startup-notification actually, and I just add an option to it. >How-To-Repeat: >Fix: --- libwnck_startup.patch begins here --- diff -ruN --exclude=CVS /usr/ports/x11-toolkits/libwnck.orig/Makefile /usr/ports/x11-toolkits/libwnck/Makefile --- /usr/ports/x11-toolkits/libwnck.orig/Makefile 2011-09-23 17:26:30.000000000 -0500 +++ /usr/ports/x11-toolkits/libwnck/Makefile 2012-01-25 17:50:05.683690641 -0600 @@ -18,10 +18,11 @@ USE_BZIP2= yes +OPTIONS= STARTUP "Enable startup notification support" on + .if !defined(REFERENCE_PORT) BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection -LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection USE_GETTEXT= yes @@ -35,6 +36,15 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include +.include + +.if !defined(WITHOUT_STARTUP) +LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification +CONFIGURE_ARGS+=--enable-startup-notification +.else +CONFIGURE_ARGS+=--disable-startup-notification +.endif + +.include .endif --- libwnck_startup.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: