From feld@feld.me  Tue Jul 24 01:03:33 2012
Return-Path: <feld@feld.me>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9B6A5106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Jul 2012 01:03:33 +0000 (UTC)
	(envelope-from feld@feld.me)
Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 570EC8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Jul 2012 01:03:33 +0000 (UTC)
Received: from feld by feld.me with local (Exim 4.77 (FreeBSD))
	(envelope-from <feld@feld.me>)
	id 1StTXA-0002qi-SA
	for FreeBSD-gnats-submit@freebsd.org; Mon, 23 Jul 2012 20:03:32 -0500
Message-Id: <E1StTXA-0002qi-SA@feld.me>
Date: Mon, 23 Jul 2012 20:03:32 -0500
From: Mark Felder <feld@feld.me>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] accessibility/redshift: fix GUI build option
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         170099
>Category:       ports
>Synopsis:       [PATCH] accessibility/redshift: fix GUI build option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 01:10:10 UTC 2012
>Closed-Date:    Tue Jul 24 01:18:26 UTC 2012
>Last-Modified:  Tue Jul 24 01:20:13 UTC 2012
>Originator:     feld
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD mwi1.coffeenet.org 9.0-STABLE FreeBSD 9.0-STABLE #3 r234963: Thu May  3 13:12:01
>Description:

fix python RUN_DEPENDS

Port maintainer (feld@feld.me) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- redshift-1.7_1.patch begins here ---
diff -ruN --exclude=CVS ../redshift.orig/Makefile ./Makefile
--- ../redshift.orig/Makefile	2012-06-10 21:46:35.000000000 -0500
+++ ./Makefile	2012-07-23 20:01:56.788310013 -0500
@@ -58,8 +58,8 @@
 
 .if ${PORT_OPTIONS:MGUI}
 CONFIGURE_ARGS+=--enable-gui --enable-gnome-clock
-RUN_DEPENDS+=	py-gtk2:${PORTSDIR}/x11-toolkits/py-gtk2 \
-		py-xdg:${PORTSDIR}/devel/py-xdg
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
+		${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
 PLIST_SUB+=	GUI=""
 .else
 CONFIGURE_ARGS+=--disable-gui --disable-gnome-clock
--- redshift-1.7_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jul 24 01:10:38 UTC 2012 
Responsible-Changed-Why:  
swills@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170099 
State-Changed-From-To: open->closed 
State-Changed-By: swills 
State-Changed-When: Tue Jul 24 01:18:24 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170099 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170099: commit references a PR
Date: Tue, 24 Jul 2012 01:18:25 +0000 (UTC)

 Author: swills
 Date: Tue Jul 24 01:18:10 2012
 New Revision: 301421
 URL: http://svn.freebsd.org/changeset/ports/301421
 
 Log:
   - Fix build with GUI enabled
   
   PR:		ports/170099
   Submitted by:	Mark Felder <feld@feld.me> (maintainer)
 
 Modified:
   head/accessibility/redshift/Makefile   (contents, props changed)
 
 Modified: head/accessibility/redshift/Makefile
 ==============================================================================
 --- head/accessibility/redshift/Makefile	Tue Jul 24 01:12:06 2012	(r301420)
 +++ head/accessibility/redshift/Makefile	Tue Jul 24 01:18:10 2012	(r301421)
 @@ -58,8 +58,8 @@ CONFIGURE_ARGS+=--disable-vidmode
  
  .if ${PORT_OPTIONS:MGUI}
  CONFIGURE_ARGS+=--enable-gui --enable-gnome-clock
 -RUN_DEPENDS+=	py-gtk2:${PORTSDIR}/x11-toolkits/py-gtk2 \
 -		py-xdg:${PORTSDIR}/devel/py-xdg
 +RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
 +		${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
  PLIST_SUB+=	GUI=""
  .else
  CONFIGURE_ARGS+=--disable-gui --disable-gnome-clock
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
