Subject: pkg/29778: GLUT not really required for xmms
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 03/23/2005 23:10:00
>Number:         29778
>Category:       pkg
>Synopsis:       GLUT not really required for xmms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 23 23:10:00 +0000 2005
>Originator:     Richard Rauch
>Release:        NetBSD -current, userland from Sept. 25 2004.
NetBSD socrates 3.99.1 NetBSD 3.99.1 (socrates) #0: Mon Mar 21 01:03:37 CST 2005  root@socrates:/usr/kernobj/usr/netbsd/current/src/sys/arch/amd64/compile/socrates amd64

XMMS has a package dependency upon GLUT.

However, if you "make extract" XMMS, and then "grep -ir glut *" in the
sources, no reference to GLUT can be found.

To use GLUT (or freeglut, or OpenGLUT) requires including a file whose
name includes the string "glut", and all GLUT functions and symbolic
constants have names containing "glut" or "GLUT".

It thus appears that XMMS does not actually depend upon GLUT at all.

I'm not sure if this qualifies as a bug, but it does mean that if GLUT
needs to be updated, installed copies of XMMS will need to be
re-installed, owing strictly to a formal (not pragmatic) dependency, as
far as I can tell.

pkg_info xmms
grep -ir glut in the xmms source tree.
Re-examine why this dependency was made.

(NB: I can't find any hint of GLUT in the files in ...pkgsrc/audio/xmms/*
so I am not sure if this isn't due to something that XMMS depends upon
somehow inducing a dependency.  But I understand that the goal is to
remove transient dependencies like that, so even if that's how it is
getting into the pkg database, it should be removed.)

Since I don't readily see how the dependency is added, I can't recommend
a solution.