FS#41094 - [xorg-twm] installing and backing up wrong defaults file in wrong location
Attached to Project:
Arch Linux
Opened by Brian BIdulock (bidulock) - Friday, 04 July 2014, 23:52 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 04 August 2014, 07:53 GMT
Opened by Brian BIdulock (bidulock) - Friday, 04 July 2014, 23:52 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 04 August 2014, 07:53 GMT
|
Details
Description:
xorg-twm 1.0.8-1 is installing the wrong defaults file in the wrong location. The upstream package is installing its default file in /usr/share/X11/twm/system.twmrc during 'make install' and this is the file referenced by the program: $> strings /usr/bin/twm | grep share /usr/share/X11/twm/system.twmrc The PKGBUILD is installing the same file in /etc/X11/twm/system.twmrc and placing it in the backup array. This file is not referenced by the program: strings /usr/bin/twm | grep etc XFetchBytes Fix: replace etc/X11/twm/system.twmrc in backup=() with usr/share/X11/twm/system.twmrc remove lines from PKGBUILD that install etc/X11/twm/system.twmrc Additional info: * package version(s) xorg-twm 1.0.8-1 * config and/or log files etc. Steps to reproduce: remove or move away any ~/.twmrc file you have launch twm e.g. $> startx /usr/bin/twm select Xterm from the root menu sudoedit the file /etc/X11/twm/system.twmrc -> remove the "Xterm" entry in the "defops" menu select Exit from the root menu relaunch twm observe Xterm entry still in root menu repeat but edit /usr/share/X11/twm/system.twmrc instead observe Xterm entry removed from root menu move your ~/.twmrc file back if you have one |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Monday, 04 August 2014, 07:53 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-twm-1.0.8-3
Monday, 04 August 2014, 07:53 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-twm-1.0.8-3
systemrc.twmrc must not be modified, its proper place is in /usr/share/X11/twm/
I will patch the manpage to reflect the right emplacement for systemrc.twmrc file
See https://aur.archlinux.org/packages/xorg-twm-git/ for a proper installation.
I can't refer to a package which is wrong.