ports/169794: x11/xdm, several /usr/local/lib/X11/xdm/ files missing from pkg info -xl output
Anton Shterenlikht
mexas at bris.ac.uk
Tue Jul 2 10:40:01 UTC 2013
The following reply was made to PR ports/169794; it has been noted by GNATS.
From: Anton Shterenlikht <mexas at bris.ac.uk>
To: bug-followup at freebsd.org
Cc:
Subject: ports/169794: x11/xdm, several /usr/local/lib/X11/xdm/ files missing from pkg info -xl output
Date: Tue, 2 Jul 2013 11:38:17 +0100 (BST)
yes, the problem is still there.
I think pkg-plist is wrong, unless
this is done on purpose.
In plist you have:
%%EXAMPLESDIR%%/GiveConsole
%%EXAMPLESDIR%%/TakeConsole
%%EXAMPLESDIR%%/Xaccess
%%EXAMPLESDIR%%/Xreset
%%EXAMPLESDIR%%/Xresources
%%EXAMPLESDIR%%/Xservers
%%EXAMPLESDIR%%/Xsession
%%EXAMPLESDIR%%/Xsetup_0
%%EXAMPLESDIR%%/Xstartup
%%EXAMPLESDIR%%/Xwilling
%%EXAMPLESDIR%%/xdm-config
@exec cp -n %D/%%EXAMPLESDIR%%/GiveConsole %D/lib/X11/xdm/GiveConsole
@exec cp -n %D/%%EXAMPLESDIR%%/TakeConsole %D/lib/X11/xdm/TakeConsole
@exec cp -n %D/%%EXAMPLESDIR%%/Xaccess %D/lib/X11/xdm/Xaccess
@exec cp -n %D/%%EXAMPLESDIR%%/Xreset %D/lib/X11/xdm/Xreset
@exec cp -n %D/%%EXAMPLESDIR%%/Xresources %D/lib/X11/xdm/Xresources
@exec cp -n %D/%%EXAMPLESDIR%%/Xservers %D/lib/X11/xdm/Xservers
@exec cp -n %D/%%EXAMPLESDIR%%/Xsession %D/lib/X11/xdm/Xsession
@exec cp -n %D/%%EXAMPLESDIR%%/Xsetup_0 %D/lib/X11/xdm/Xsetup_0
@exec cp -n %D/%%EXAMPLESDIR%%/Xstartup %D/lib/X11/xdm/Xstartup
@exec cp -n %D/%%EXAMPLESDIR%%/Xwilling %D/lib/X11/xdm/Xwilling
@exec cp -n %D/%%EXAMPLESDIR%%/xdm-config %D/lib/X11/xdm/xdm-config
I don't really understand the logic of these copy
commands. But the result is that these files are
copied under /user/lib/X11/xdm on installation,
but not recorded by pkg..
Which is why you get:
$ pkg info -xl xdm |grep lib
/usr/local/lib/X11/xdm/authdir
/usr/local/lib/X11/xdm/chooser
/usr/local/lib/X11/xdm/libXdmGreet.la
/usr/local/lib/X11/xdm/libXdmGreet.so
/usr/local/lib/X11/xdm/pixmaps/xorg-bw.xpm
/usr/local/lib/X11/xdm/pixmaps/xorg.xpm
# ls -1 /usr/local/lib/X11/xdm/
GiveConsole
TakeConsole
Xaccess
Xreset
Xresources
Xservers
Xsession
Xsetup_0
Xstartup
Xwilling
authdir
chooser
libXdmGreet.la
libXdmGreet.so
pixmaps
xdm-config
More information about the freebsd-x11
mailing list