Re: Request for Guidance on LibreOffice Availability for s390x Architecture on RHEL

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

 



On Mon, 3 Mar 2025 08:50:45 +0000
Rajesh K R <rkr@xxxxxxx> wrote:

> The question is do we need to build LibreOffice for s390x.  Also, bigger question is does RHEL ships libreoffice ?
> 
> All these queries are raised based on the image attached ( referenced from  https://github.com/pypdfium2-team/pypdfium2?tab=readme-ov-file#install-source-system)

questions regarding LO in RHEL should be targeted to Red Hat. And if
it can't be built the way you want, then you need to build LO yourself.


		Dan

> 
> From: Caolán McNamara <caolan.mcnamara@xxxxxxxxxxxxx>
> Date: Friday, 28 February 2025 at 5:31 PM
> To: Gowtham Selvaraj <Gowtham.Selvaraj1@xxxxxxx>, libreoffice@xxxxxxxxxxxxxxxxxxxxx <libreoffice@xxxxxxxxxxxxxxxxxxxxx>
> Cc: Rajesh K R <rkr@xxxxxxx>, Manoj Kumar M C <manoj.kumar.mc@xxxxxxx>, Tirumalesh Killamsetty <Tirumalesh.Killamsetty2@xxxxxxx>
> Subject: [EXTERNAL] Re: Request for Guidance on LibreOffice Availability for s390x Architecture on RHEL
> On Thu, 2025-02-27 at 14:25 +0000, Gowtham Selvaraj wrote:
> > We are currently in the process of setting up LibreOffice with PDFium
> > for use on the s390x CPU architecture within a Red Hat Enterprise
> > Linux (RHEL) environment. However, we have been unable to locate any
> > available resources or precompiled binaries for this configuration.
> 
> I don't think anyone has ever built the "upstream" style distro-neutral
> packages for s390x. So it's probably only distros that provide
> pre-built s390x distro-specific packages of LibreOffice.
> 
> I don't know if RH still supplies s390x packages for LibreOffice RHEL.
> IIRC it was built for RHEL-9 I think. But even if they do I imagine
> they are still configured the same way as all the other platforms on
> RHEL/Fedora are. So that's with --disable-pdfium for all platforms[1]
> https://src.fedoraproject.org/rpms/libreoffice/blob/rawhide/f/libreoffice.spec 
> 
> So, if you really need an --enable-pdfium build, then I'd start with
> taking the libreoffice.src.rpm package for your version of RHEL
> (assuming there is one, and if not then getting the EPEL, or failing
> that, then one from the Fedora version that your RHEL was derived
> from). And try building that yourself, but with --disable-pdfium in the
> .spec changed to --enable-pdfium and see how far that gets.
> 
> I imagine at the least you'll need to download and put in sources the
> pdfium tarball listed in download.lst from
> https://dev-www.libreoffice.org/src/ 
> 
> I'd try on x86_64 first, to make things simple, and if that works retry
> on s390x. I'd do two passes, first with an unmodified src.rpm to see if
> it can be built at all properly, and then with the same mod as tested
> on x86_64 to try and enable pdfium.
> 
> [1] I never enabled pdfium for Fedora, and therefore RHEL, because I
> didn't want to take on the burden of maintaining pdfium, and initially
> at least pdfium wasn't used much. There was no technical reason for
> --disable-pdfium.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux