ports/95527: [net/nos-ttb]: add py-gtk2 runtime dependency

Rene Ladan r.c.ladan at gmail.com
Sat Apr 8 23:10:31 UTC 2006


>Number:         95527
>Category:       ports
>Synopsis:       [net/nos-ttb]: add py-gtk2 runtime dependency
>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:   Sat Apr 08 23:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan <r.c.ladan at gmail.com>
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD 82-168-79-254.dsl.ip.tiscali.nl 6.1-RC FreeBSD 6.1-RC #0: Sat Apr 8 22:41:38 CEST 2006 root at 82-168-79-254.dsl.ip.tiscali.nl:/usr/obj/usr/src61/sys/RENE i386

ports tree as of 2006-04-08 22:08 UTC
>Description:
The ttb program requires the py-gtk bindings in order to run, but the corresponding runtime dependency is missing in the Makefile.  Correct this by adding a runtime dependency.

This PR suggests adding the py-gtk2 toolkit as runtime dependency, which works correctly.  I haven't tested the py-gtk (GTK 1.X) toolkit as dependency.
>How-To-Repeat:
1. install net/nos-ttb
2. run ttb
This fails with a message from the Python interpreter that it needs a gtk module.
3. install x11-toolkits/py-gtk2
4. ttb runs fine now.
>Fix:

--- net/nos-ttb/Makefile	Sun Apr  9 00:51:01 2006
+++ net/nos-ttb/Makefile.orig	Sun Apr  9 00:44:36 2006
@@ -17,8 +17,6 @@
 
 NO_BUILD=	yes
 USE_PYTHON=	yes
-#don't know if pygtk-1.X could also be used
-RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc:${PORTSDIR}/x11-toolkits/py-gtk2
 
 do-install:
 	${MKDIR} ${PREFIX}/share/ttb
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list