No subject


Wed Jul 1 08:41:29 UTC 2009


Package: fglrx-glx
Depends: libc6 (>=3D 2.2.5), libxext6, fglrx-driver (=3D 1:9-5-1)

Package: fglrx-glx-ia32
Depends: ia32-libs (>=3D 2.4), lib32gcc1 (>=3D 1:4.1.1), libc6-i386 (>=3D=
 2.2), fglrx-driver (=3D 1:9-5-1)

With ia32-apt-get this becomes:

PackagePackage: fglrx-glx-ia32
Depends: ia32-libx11-6, ia32-libxext6, lib32gcc1 (>=3D 1:4.1.1), fglrx-dr=
iver (=3D 1:9-6-2)

So I guess it is only those 2 libraries you need.


Do me one favour and try this with ia32-apt-get installed:
WARNING: screws with the diversions!

echo 'fglrx-glx		+' >>/etc/ia32-libs-tools/rename.list
apt-get update
apt-get remove fglrx-glx-ia32
dpkg-divert --package ia32-fglrx-glx --divert /usr/lib32/fglrx/diversions=
/libGL.so.1.2 --rename /usr/lib32/libGL.so.1.2
dpkg-divert --package ia32-fglrx-glx --divert /usr/lib32/fglrx/diversions=
/libGL.so.1 --rename /usr/lib32/libGL.so.1
apt-get install ia32-fglrx-glx

Does 32bit GL work with that?

How do you feel about not building fglrx-glx-ia32 on amd64 and
recommending ia32-fglrx-glx instead? It would need a little patch to
the preinst and postrm for the diversion handling. Something like:

  if [ "$(dpkg --print-architecture)" =3D "i386" ]; then
    LIBDIR=3D/usr/lib
    PKG=3Dfglrx-glx
  else
    LIBDIR=3D/usr/lib32
    PKG=3Dia32-fglrx-glx
  fi
  dpkg-divert --package $PKG --divert $LIBDIR/fglrx/diversions/libGL.so.1=
.2 --rename $LIBDIR/libGL.so.1.2

but only in the i386 deb.

Alternatively, not sure yet if that is the right way to go, add a
preinst.amd64 and postrm.amd64 (same for ia64?) file to
DEBIAN/control. ia32-apt-get would then substitude that file when
unpacking the maintainer scripts on amd64.

Or as thrid option I (or fglrx-glx) could include a hook for
ia32-apt-get to rewrite the preinst/postrm scripts on the fly while
unpacking.

> 2) While ia32-apt-get is installed and replaces parts of the system it =
also
> wants to have more entropy on building keys in pbuilder, which needs us=
er
> interaction - that is a no go for a automagic build.

It just needs a source for random bits. Without the user as source it
might take longer but buildds must have other sources too. Otherwise
things like ssh or https wouldn't work.

> Cheers.

MfG
        Goswin

PS: fglrx-glx-ia32 needs to Pre-Depends: libc6 (>=3D 2.9-18) if you keep =
it

PPS: ia32-libs has not worked right for buildds making it neccessary
to split out libc6-i386, lib32z1, lib32bz1, lib32asound,
lib32ncurses5, lib32readline5. That Build-Depends was never quite
right.





More information about the Pkg-ia32-libs-maintainers mailing list