Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158581 - x11-wm/icewm-1.2.29 ebuild has needless dependencies on libXau, libXdmcp, libXt
Summary: x11-wm/icewm-1.2.29 ebuild has needless dependencies on libXau, libXdmcp, libXt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High minor
Assignee: Steve Dibb (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 13:08 UTC by Sascha G.
Modified: 2007-01-25 05:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha G. 2006-12-19 13:08:47 UTC
IceWM 1.2.29 does not use libXau or libXdmcp; these are only needed by libX11, upon which IceWM depends. They are not even mentioned anywhere in the source code. :-)

I guess the same is true for older versions, but I have not checked them.
Comment 1 Sascha G. 2006-12-19 13:19:56 UTC
I just noticed that libXt is not needed, either. There is only some junk in the configure script which seems to have been automatically added by autoconf and does not really serve any useful purpose - at least on my system. :-)
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2006-12-31 09:30:12 UTC
(In reply to comment #1)
> I just noticed that libXt is not needed, either. There is only some junk in the
> configure script which seems to have been automatically added by autoconf and
> does not really serve any useful purpose - at least on my system. :-)
> 

It's definately using them on my system

$ ldd /usr/bin/icewm | grep X  
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002af75e778000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002af75e880000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002af75e983000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002af75ea8c000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x00002af75eb9e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002af75fe06000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002af75ff0a000)
Comment 3 Sascha G. 2006-12-31 09:56:01 UTC
(In reply to comment #2)

> It's definately using them on my system
> 
> $ ldd /usr/bin/icewm | grep X  
[...]
This is irrelevant, as it show all libraries to load, not the ones icewm actually links to - including those needed by the libraries icewm itself needs.
So, e.g. libXdmcp is loaded because libX11 needs it, not icewm itself.

$ readelf -d /usr/bin/icewm | grep library
 0x00000001 (NEEDED)                     Shared library: [libSM.so.6]
 0x00000001 (NEEDED)                     Shared library: [libICE.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXrandr.so.2]
 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXft.so.2]
 0x00000001 (NEEDED)                     Shared library: [libfontconfig.so.1]
 0x00000001 (NEEDED)                     Shared library: [libImlib.so.1]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2007-01-25 05:37:31 UTC
fixed in cvs, thanks