Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2004 09:32:58 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portupgrade time, xorg ports
Message-ID:  <200412270932.59051.kirk@strauser.com>
In-Reply-To: <41CDB185.3050209@att.net>
References:  <41CC8FFC.2030009@att.net> <41CDBB80.9010908@zonnet.nl> <41CDB185.3050209@att.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Saturday 25 December 2004 12:29, Jay O'Brien wrote:

> But it is there, so it will stay.

I doesn't *have* to stay, though:

1) Add 'WITHOUT_X11="YES"' to /etc/make.conf .
2) Use You can use 'pkg_info -rR xorg-[whatever]' to see which ports depend 
on a each of the X.org ports.

For each "dependent" port, there will be three possible states:

1) You don't use it anymore (eg you used to use Firefox, but haven't in a 
long time) and no other port depends on it.  If this is true, then use 
pkg_delete to remove that port.

2) You still use it, but don't use the X11 version of it (eg you want to use 
ImageMagick for automated image processing, but don't need the 'display' 
command which depends on X.org).  In this case, you can rebuild the port 
and with WITHOUT_X11="YES" setting above will remove its dependency on 
X.org.

3) You still the X11 version of it.  In this case, you won't be removing 
X.org any time soon.

Note that in case #2 above, you don't necessarily have to rebuild it *right 
now*.  A lot of ports are updated regularly and might be updated the next 
time you run portupgrade anyway.  If removing X.org isn't a high priority, 
then you can always check back every month or so to see when the list of 
packages that need X11 is small enough that you can force-upgrade them in a 
reasonably short amount of time.

Also note that this general approach works for pretty much any other large 
system that you might want to remove, not just X.org.
-- 
Kirk Strauser

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iD8DBQBB0Csr5sRg+Y0CpvERAh0iAJ43l47HG1yjvydrXk7ojkCoAEhjPQCgioGY
lRHSZ0HiYZDqItpN/Onu7AY=
=IaXJ
-----END PGP SIGNATURE-----

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