Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2005 01:42:05 +0100
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-x11@freebsd.org
Subject:   Removal of xterm-static
Message-ID:  <200511080142.06608.dejan.lesjak@ijs.si>
In-Reply-To: <20051106145418.GB727@voodoo.bawue.com>
References:  <20051105232903.GA33458@voodoo.bawue.com> <200511061543.49170.dejan.lesjak@ijs.si> <20051106145418.GB727@voodoo.bawue.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511080142.06608.dejan.lesjak>