Guide to x.org update?
Geert Hendrickx
geert.hendrickx at ua.ac.be
Tue Jun 29 05:29:21 PDT 2004
I followed Matthew's instructions to upgrade from XFree86-4.3 to X.org and it
worked well. It took about 14 hours on my laptop (a P3 with 64Mb or RAM). I
have not recompiled any other packages and I haven't had any troubles so far.
Here's how I did it exactly:
cd /var/db/pkg
# so I can use tab-completion for the exact XFree86 version-numbers.
pkg_deinstall XFree86-4.0.1,1
# This is the metaport. I deinstall it first because later it would
# complain about the stale dependency to wrapper:
pkg_deinstall wrapper-1.0_3
# This is used by XFree86, but not by xorg. I remove it because I
# suspect it could cause trouble with x11/xorg-server.
portupgrade -o devel/imake-6 imake-4.3.0_1
portupgrade -o x11/xorg-libraries XFree86-libraries-4.3.0_6
portupgrade -o x11/xorg-clients XFree86-clients-4.3.0_3
portupgrade -o x11-fonts/xorg-fonts-encodings XFree86-fontEncodings-4.3.0
portupgrade -o x11-fonts/xorg-fonts-100dpi XFree86-font100dpi-4.3.0
portupgrade -o x11-fonts/xorg-fonts-75dpi XFree86-font75dpi-4.3.0
portupgrade -o x11-fonts/xorg-fonts-cyrillic XFree86-fontCyrillic-4.3.0
portupgrade -o x11-fonts/xorg-fonts-miscbitmaps XFree86-fontDefaultBitmaps-4.3.0
portupgrade -o x11-fonts/xorg-fonts-truetype XFree86-fontScalable-4.3.0
portupgrade -o x11-servers/xorg-server XFree86-Server-4.3.0_14
portupgrade -o x11-servers/xorg-fontserver XFree86-FontServer-4.3.0_2
portupgrade -o x11/xorg-manpages XFree86-documents-4.3.0
# You could as well just pkg_deinstall XFree86-documents-4.3.0,
# since xorg-manpages is not required by the x11/xorg metaport
cd /usr/ports/x11/xorg && make install clean
# This will additionally install x11-fonts/xorg-fonts-type1,
# x11-servers/xorg-vfbserver and x11-servers/xorg-printserver, which
# had no equivalents in XFree86.
pkgdb -u
rehash
Now, `find /usr/X11R6 -name "*[Ffe]86*"` says I've still got quite some
XFree86-related files left, but according to pkg_which, most of them are
claimed by some xorg-package. I have merged my custom XF86Config with a
generic xorg.conf and all seems to work well.
GH
More information about the freebsd-questions
mailing list