NetBSD Problem Report #30937

From www@netbsd.org  Sun Aug  7 21:14:51 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 4731063B104; Sun,  7 Aug 2005 21:14:51 +0000 (UTC)
Message-Id: <20050807211451.4731063B104@narn.netbsd.org>
Date: Sun,  7 Aug 2005 21:14:51 +0000 (UTC)
From: rkr@olib.org
Reply-To: rkr@olib.org
To: gnats-bugs@netbsd.org
Subject: ...pkgsrc/graphics/gle has bogus GLUT dependency.
X-Send-Pr-Version: www-1.0

>Number:         30937
>Category:       pkg
>Synopsis:       ...pkgsrc/graphics/gle has bogus GLUT dependency.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 07 21:15:00 +0000 2005
>Closed-Date:    Sun Apr 14 00:53:16 +0000 2013
>Last-Modified:  Sun Apr 14 00:53:16 +0000 2013
>Originator:     Richard Rauch
>Release:        3.99.3
>Organization:
n/a
>Environment:
NetBSD socrates 3.99.3 NetBSD 3.99.3 (socrates) #0: Fri Apr  8 16:13:11 CDT 2005  root@socrates:/usr/kernobj/usr/netbsd/current/src/sys/arch/amd64/compile/socrates amd64

>Description:
...pkgsrc/graphics/gle formally requires GLUT in pkgsrc to build.
but a little use of grep (look exclusively for "glut" or "GLUT";
don't get thrown by "gluT" or "GLUt") are in the ./configure script
and in the examples/ directory.

As the examples are not built, I think, for pkgsrc, perhaps this
dependency should be broken in pkgsrc?  You'd have to patch the
configure script, of course...  But it seems silly to have pkgsrc
require the GLUT to be installed for another library that will
*never* actualy use GLUT.

(Whether the authors of gle want to make this change, I don't know.
They'd probably have to add a new ./configure script in the examples
directory...)

>How-To-Repeat:
cd ...pkgsrc/garphics/gle
make clean
make install
pkg_info >/dev/eyeballs # Or substitute other translation device
cd work/*
grep -ir glut . | grep -v gluT | grep -v examples | grep -v GLUt

>Fix:
It looks pretty trivial: Twiddle the Makefile first; it depends upon
"Mesa" which is what is forcing the GLUT dependency.  (I forget
the preferred solution; I filed some PRs earlier about a couple of
other packages with similar dependency issues.)

Supply a patch for ./configure to skip checking for GLUT's
glutSwapBuffers().

I don't think that pkgsrc installs any of the gle HTML documentation,
so the other refernces to GLUT can probably be left alone.

>Release-Note:

>Audit-Trail:
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/30937 CVS commit: pkgsrc/graphics/gle
Date: Sat, 13 Apr 2013 20:22:26 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sat Apr 13 20:22:26 UTC 2013

 Modified Files:
 	pkgsrc/graphics/gle: Makefile distinfo
 Added Files:
 	pkgsrc/graphics/gle/patches: patch-configure

 Log Message:
 Fix up depends as per PR 30937; in particular, drop glut as it's used
 only by the examples and we don't build or install them.
 PKGREVISION -> 3.


 To generate a diff of this commit:
 cvs rdiff -u -r1.28 -r1.29 pkgsrc/graphics/gle/Makefile
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/gle/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gle/patches/patch-configure

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 14 Apr 2013 00:53:16 +0000
State-Changed-Why:
fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.