Subject: pkg/34955: Variable not properly expanded in gdm config
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: pkgsrc-bugs
Date: 10/31/2006 12:30:01
>Number:         34955
>Category:       pkg
>Synopsis:       Variable not properly expanded in gdm config
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 31 12:30:00 +0000 2006
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 3.1_RC3
>Organization:
	
>Environment:
	
	
System: NetBSD Hochstuhl 3.1_RC3 NetBSD 3.1_RC3 (HOCHSTUHL) #1: Wed Sep 20 13:33:13 CEST 2006 hf@Hochstuhl:/var/obj/netbsd-builds/3/i386/sys/arch/i386/compile/HOCHSTUHL i386
Architecture: i386
Machine: i386
>Description:

	In the x11/gdm Makefile, the line

SUBST_SED.desktop+=     -e 's|^\#Logo=.*$$|Logo=@EXPANDED_PIXMAPDIR@/NetBSD.xpm|g'

	attempts to patch the default.conf config file with the proper
	path to the NetBSD logo. Unfortunately, nothing ever sets
	@EXPANDED_PIXMAPDIR@, which results in the unhelpful
	gdm/default.conf entry

# Logo shown in the standard greeter.
Logo=@EXPANDED_PIXMAPDIR@/NetBSD.xpm

	-- no logo.

>How-To-Repeat:
	Start gdm after update, find the logo is gone.
	Browse /usr/pkg/share/gdm/defaults.conf.

>Fix:
	Set @EXPANDED_PIXMAPDIR@ properly. Left as an exercise to the
	maintainer -- the Makefile is too long to wrap my mind around
	quickly.

>Unformatted: