Bug 1218523 - libreoffice: drop libqxp dependency
Summary: libreoffice: drop libqxp dependency
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: LibreOffice (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Martin Schreiner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 18:29 UTC by Bob Goddard
Modified: 2024-04-05 11:56 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Goddard 2024-01-03 18:29:37 UTC
Please remove the pointless library libqxp & rebuild LibreOffice without it.

Good grief, it only applies to versions of QuarkXpress from between 25 & 30 years ago.

I doubt anyone today has any use for it.
Comment 1 Martin Schreiner 2024-03-21 12:14:13 UTC
On it!
Comment 2 Martin Schreiner 2024-04-03 18:11:34 UTC
Hi Bob,

Looks like a lot of packages depend on libqxp.
Check this command and its output.

osc dependson openSUSE:Factory libqxp standard x86_64
libqxp:
      audit
      binutils
      boost-defaults
      boost:base
      bzip2
      compat-usrmerge
      cpio
      cppunit
      debugedit
      doxygen
      dpkg:update-alternatives
      dwz
      elfutils
      fdupes
      file
      findutils
      gawk
      gcc
      gcc13
      gcc14
      gdbm
      gettext-runtime:gettext-runtime-mini
      glibc
      gmp
      gzip
      help2man
      icu
      isl
      libcap-ng
      libdb-4_8
      libeconf
      librevenge
      libseccomp
      libxcrypt
      linux-glibc-devel
      make
      mpc
      mpfr
      ncurses
      patch
      perl
      perl-gettext
      permissions
      pkgconf
      rpm
      system-user-root
      systemd-rpm-macros
      timezone
      util-linux
      which
      xz

So we won't be able to easily remove libqxp from openSUSE:Factory altogether.

As a side note, I wasn't able to fully remove/disable libqxp from LibreOffice.
I can replace it with an external dependency, so we don't depend on the RPM package. But the dependency is still there.

Any thoughts?
Comment 3 Dominique Leuenberger 2024-04-03 18:15:50 UTC
depends on is the wrong direction

You wanted osc whatdepenson
Comment 4 Martin Schreiner 2024-04-03 20:45:04 UTC
Indeed I did! Thank you Dominique.

Here it is:

osc whatdependson openSUSE:Factory libqxp standard x86_64
libqxp :
      gnuhealth
      libreoffice
      libreoffice-voikko
      proteus
      scribus
      writerperfect

That's considerably fewer packages, but is the endgame that we drop libqxp from our repos altogether, and instead use LibreOffice's external library?

Is that what you'd like, Bob?
Comment 5 Fridrich Strba 2024-04-05 06:22:19 UTC
This is actually the point of the whole Document Liberation Project within The Document Foundation: to be able to open some documents from 20-30 years ago and open them in LibreOffice. That libqxp depends only on the librevenge framework (like libvisio, libcdr, libwpg, libwpd, ....) and on icu, so I see really no reason to carve it out.
I am closing this as WONTFIX, since it makes little sense to carve out features only because of the "doubt anyone today has any use of it".
Comment 6 Fridrich Strba 2024-04-05 06:27:45 UTC
As a matter of fact: when we created the Document Liberation Project, this was exactly the point of it. We even went in the length to reverse engineer the CorelDraw 1 and 2 formats, not because people were having tons of documents, but for the 1-2 guys that would be stuck with some of them. And we can claim that we are able to open in LibreOffice draw documents from CorelDraw versions that even modern CorelDraw does not open.

I can imagine, that the xz fiasco triggers people that will now frenetically look for trimming dependencies. But overreaction will not solve the issue.
Comment 7 Fridrich Strba 2024-04-05 06:33:17 UTC
https://www.documentliberation.org/
Comment 8 Bob Goddard 2024-04-05 10:09:15 UTC
(In reply to Fridrich Strba from comment #5)
> This is actually the point of the whole Document Liberation Project within
> The Document Foundation: to be able to open some documents from 20-30 years
> ago and open them in LibreOffice. That libqxp depends only on the librevenge
> framework (like libvisio, libcdr, libwpg, libwpd, ....) and on icu, so I see
> really no reason to carve it out.
> I am closing this as WONTFIX, since it makes little sense to carve out
> features only because of the "doubt anyone today has any use of it".

Then make it OPTIONAL.

It is NOT required to run LibreOffice at all.

Make it optional if you have to, BUT IT SHOULD NOT BE INSTALLED BY DEFAULT.
Comment 9 Fridrich Strba 2024-04-05 11:56:20 UTC
(In reply to Bob Goddard from comment #8)
> Then make it OPTIONAL.
> 
> It is NOT required to run LibreOffice at all.
> 
> Make it optional if you have to, BUT IT SHOULD NOT BE INSTALLED BY DEFAULT.

Huge Jia Tan vibes here! Every distribution of libreoffice has it. If you don't have it libwriterperfect will not load and you will not be able to open any of the visio/cdr/wordperfect.... files. That librar has 300kB. So GO OVER IT!