Subject: pkg/31263: mplayer package probably should not use subdir in distfiles
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cjs@cynic.net>
List: pkgsrc-bugs
Date: 09/09/2005 07:57:53
>Number:         31263
>Category:       pkg
>Synopsis:       mplayer package probably should not use subdir in distfiles
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 09 07:57:52 +0000 2005
>Originator:     Curt Sampson
>Release:        NetBSD 2.0_STABLE
>Organization:
TNF
>Environment:
System: NetBSD ironic.cynic.net 2.0_STABLE NetBSD 2.0_STABLE ($Id: TABEMO,v 1.2 2004/12/01 07:54:31 cjs Exp $) #1: Tue Feb 8 16:08:22 JST 2005 cjs@cjs.tabemo.com:/u/netbsd/src-2/sys/arch/i386/compile/TABEMO i386
Architecture: i386
Machine: i386
>Description:

    The mplayer package downloads its distribution files to a subdirectory
    under distfiles named for the version of mplayer. This means that you
    get a new, empty subdirectory for every new version, which is fine for
    the new version of mplayer itself. However, many versions of mplayer
    share the same font files (font-arial-iso-8859-1.tar.bz2 and a couple
    of others), but because the font files are also put in the separate
    subdirectory named for the mplayer version, the pkgsrc system will
    download again identical copies of the font files when making a new
    version of mplayer.

>How-To-Repeat:
	
>Fix:

    Move the three font files up out of the subdirectory so that all
    versions of mplayer can share them (and any other programs that use
    those font files as well, for that matter). Given then that the
    only file left in the subdirectory is the mplayer distribution file
    itself, that might as well be moved up as well, and the subdirectory
    abandoned.