Fw:Re: [Rule-list] Xfree and MESA
Marco Fioretti
m.fioretti at inwind.it
Fri Apr 19 14:56:30 EEST 2002
[Forwarding message, some original text snipped for brevity]
>From : Wojtek Pilorz
Marco, I am replying privately since the list rejects my mail:
> Geoff wrote:
>
> > After I completed the slinky-0.1.9a install, I attempted to install XFree
> > in order to build a AfterStep rpm on a RULE system. In doing so, I learned
> > that X is a *very* large application, & expects a number of packages that
> > are not always obviously related, viz.:
> >
> > perl
> > freetype-2.0.3-7
> > XFree86-libs-4.1.0-3
> > XFree86-xfs-4.1.0-3
> > Mesa-3.4.2-7
> >
> > Looking at the source code for XFree86-4.1.0, I see that there are about
> > 15 perl scripts -- associated with xterm, items in the extra directory, or
> > used with fonts -- so the dependency on perl has some justification.
Unortunately rpm does not have a notion of 'suggested' dependency, unlike
Debian package system;
> A couple of questions to help us to decide:
>
> 1) how much disk/ram would we save? (writing from solaris, can't check.)
> (don't answer (only) here: add data to the rule app database
> too, PLEASE!
>
> 2) Is MESA really needed? In other words, is it required because:
>
> a) the RH default X *binaries* will actually crash and burn your
> house if MESA files aren't there, or
>
> b) Something will generate a ton of complaints but 2-D X will
> run anyway?
>
I (Woytek) cannot check at the moment since I use only RHL 6.2 at work;
What I do here is
$ rpm -qa | egrep -i mesa
Mesa-devel-3.2-2
Mesa-3.2-2
$ rpm -q --whatprovides Mesa
Mesa-3.2-2
rpm -qa --qf '%{NAME} %{REQUIRENAME}\n' | egrep -i mesa
Mesa-devel Mesa
qt1x-GL Mesa
Mesa XFree86
qt-GL Mesa
$ rpm -qa --qf '%{NAME} %{REQUIRENAME}\n' | egrep 'Mesa|-GL'
Mesa-devel Mesa
qt1x-GL Mesa
Mesa XFree86
qt-GL Mesa
$ rpm -qlv qt-GL
-rw-r--r-- 1 root root 53382 Mar 3 2000 /usr/lib/qt-2.1.0/lib/libqgl.a
$ rpm -qlv qt1x-GL
lrwxrwxrwx 1 root root 11 Feb 7 2000 /usr/lib/qt-1.45/lib/libqgl.so -> libqgl.so.1
lrwxrwxrwx 1 root root 13 Feb 7 2000 /usr/lib/qt-1.45/lib/libqgl.so.1 -> libqgl.so.1.0
-rwxr-xr-x 1 root root 43945 Feb 7 2000 /usr/lib/qt-1.45/lib/libqgl.so.1.0
OK, some dynamic library, let us check what it depends on ...
$ ldd /usr/lib/qt-1.45/lib/libqgl.so.1.0
libqt.so.1 => /usr/lib/qt-1.45/lib/libqt.so.1 (0x40010000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x401dc000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x40344000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40360000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40374000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40380000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40424000)
libm.so.6 => /lib/libm.so.6 (0x40466000)
libc.so.6 => /lib/libc.so.6 (0x40483000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40578000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40583000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4059a000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x405a2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
$ rpm -q --whatprovides qt1x-GL
qt1x-GL-1.45-3
$ rpm -q --whatprovides qt-GL
qt-GL-2.1.0-4.beta1
So my undersanding is that on my system Mesa is only needed by qt-GL and qt1x-GL
packages, which in turn are not needed by any packages;
What rpm whould think about that?
$ rpm -e --test Mesa-devel Mesa qt1x-GL qt-GL
error: removing these packages would break dependencies:
libGL.so.1 is
needed by wine-20000213-1
libGL.so.1 is needed by xmms-1.0.1-4
libGL.so.1 is needed by xscreensaver-3.23-2
libGLU.so.1 is needed by xscreensaver-3.23-2
So my understanding was obviously wrong;
Let try further:
$ rpm -e --test Mesa-devel Mesa qt1x-GL qt-GL wine xmms xscreensaver
error: removing these packages would break dependencies:
wine is needed by wine-devel-20000213-1
$ rpm -e --test Mesa-devel Mesa qt1x-GL qt-GL wine xmms xscreensaver wine-devel
$ echo $?
0
(I use rpm -e --test as a regular user to prevent accidental damage to my system)
Someone using RHL 7.2 might try similar steps to see whether Mesa can be removed.
Best regards,
Wojtek
P.S. It is a pity there is no Rule project for RHL 6.2 ....
_______________________________________________
Rule Project HOME PAGE: http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here