[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian-ppc64-devel] x libraries and powerpc/ppc64 biarch setup.



On 05-Sep-23 10:17, Sven Luther wrote:
> x apparently already builds just fine in 64bit mode, or at least Andreas
> Jochens has done it, and if multi-arch ever becomes really usable, then
> another approach would be needed, in the meantime, the biarch is support we
> will have for etch.

'xorg-x11' indeed builds fine on the native 64-bit ppc64 port when the
patch from BTS #319178 is applied. That patch just adds minimal
support to make the package build on the ppc64 architecture:

* Add ppc64 to 'Architecture:' fields in debian/control
* Add ppc64 handling to debian/xserver-xorg.config.in
* Add the following new files:
    debian/scripts/vars.ppc64
    debian/MANIFEST.ppc64.in
    debian/libxvmc-dev.install.ppc64
    debian/libxvmc1-dbg.install.ppc64
    debian/libxvmc1.install.ppc64
    debian/xlibmesa-dri-dbg.install.ppc64
    debian/xlibmesa-dri.install.ppc64
    debian/xserver-xorg.config.in
    debian/xserver-xorg.docs.ppc64
    debian/xserver-xorg.install.ppc64

Note that this patch has nothing to do with the powerpc/ppc64 biarch 
'lib64...' approach that Sven has in mind. I have no idea if a
biarch approach would work for the 'xorg-x11' package. Even
if it is possible, I fear that it would complicate the packaging
of 'xorg-x11'. 

It would certainly be nice to have 64-bit versions of the X 
libraries available on powerpc (and also on i386). However,
IMHO this problem should be solved by implementing 'multiarch',
i.e. by allowing the installation of packages that have been 
built on a different architecture.

Regards
Andreas Jochens



Reply to: