Removal of xterm-static
Dejan Lesjak
dejan.lesjak at ijs.si
Mon Nov 7 16:42:12 PST 2005
Hi,
For some time now, xterm has installed its binaries with '-static' prefix.
This was done to avoid conflicts with previous versions of xorg-clients and
XFree86-4-clients which installed 'xterm' themselves. As xterm now installs
by separate port on which both XFree86-4-clients and xorg-clients depend it's
time to remove the workaround so x11/xterm will install proper 'xterm' and
other binaries.
There is however a small problem: as it goes now, xterm will install eg.
'xterm-static' file. After this -clients port will make a link 'xterm ->
xterm-static' so one gets what is expected upon running xterm. But as
-clients port is the one that installs 'xterm', it is also the one that will
remove it upon deinstall. With portupgrade, something like this happens:
- upgrading x11/xterm: remove xterm-static; install xterm
- upgrading x11/xorg-clients or x11/XFree86-4-clients: remove xterm
... which leaves one without 'xterm'.
So after discussing this with Kirill Ponomarew, we would like to bump xterm
revision to 206_1 and make it conflict with xorg-clients 6.8.2 and lower and
with XFree86-4-clients 4.5.0 and lower. At the same time both -clients ports
would be changed to only remove 'xterm' on deinstall if it is a symbolic link
and leave it alone otherwise. This will make xterm port refuse to install
along versions of -clients which could eventually remove it. The usual
portupgrade sequence which would first upgrade xterm (upon which -clients
depend) would therefore not work. One would have to first upgrade -clients
port and after this xterm will allow itself to be installed.
Patches that do this are at http://www.ijs.si/~lesi/xterm/take2/
Does this seem reasonable or has anyone got better idea?
Dejan
More information about the freebsd-x11
mailing list