Bug 2175958 - Scribus pulls in a lot of geomatics pacakages
Summary: Scribus pulls in a lot of geomatics pacakages
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: scribus
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pete Walter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-06 23:37 UTC by Peter Simonyi
Modified: 2023-03-07 10:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-07 10:13:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Simonyi 2023-03-06 23:37:47 UTC
Description of problem:
Scribus 'requires' OpenSceneGraph-libs, which requires liblas, which requires a whole slew of packages mostly related to geomatics/math, including proj and proj-data which in turn recommends hundreds of megabytes of proj-data-* packages.

According to the Scribus wiki, OpenSceneGraph is optional, required only for some 3D image formats.
https://wiki.scribus.net/canvas/Building_SVN_versions_with_CMake
https://wiki.scribus.net/canvas/1.5.0_Release

So I think OpenSceneGraph-libs should be a 'recommends' or 'suggests' instead of 'requires'.

Version-Release number of selected component (if applicable):
scribus-1.5.8-6.fc37.x86_64

Steps to Reproduce:
1. Install Scribus (on a system where GIS packages have not been installed).

Actual results:
The install size is a lot bigger than it needs to be.  OpenSceneGraph-libs is required, and lots of proj-data-* packages are recommended (installed by default if using Gnome Software).

Expected results:
OpenSceneGraph-libs should be optional.  (I'm not sure proj-data-* should be recommended but it's probably unavoidable.)

Additional info:
On my system, I think these are the packages that are transitively required by Scribus only because of the OpenSceneGraph-libs dependency (total installed size 166.6MB):

0.1 MB	armadillo
0.7 MB	arpack
0.1 MB	blosc
1.8 MB	cfitsio
11.8 MB	flexiblas-netlib64
0.0 MB	flexiblas-openblas-openmp64
0.1 MB	freexl
25.7 MB	gdal-libs
3.2 MB	geos
0.7 MB	hdf-libs
9.1 MB	hdf5
0.5 MB	laszip
0.1 MB	libaec
0.4 MB	libgeotiff
0.1 MB	libgta
1.3 MB	libkml
1.0 MB	liblas
0.6 MB	liblerc
0.7 MB	libpq
0.4 MB	libqhull_r
0.5 MB	librttopo
16.6 MB	libspatialite
0.2 MB	minizip
2.5 MB	netcdf
0.8 MB	ogdi
39.6 MB	openblas-openmp64
29.2 MB	OpenSceneGraph-libs
4.3 MB	proj
8.5 MB	proj-data
0.2 MB	sdl12-compat
0.5 MB	SuperLU
1.3 MB	unixODBC
0.2 MB	uriparser
3.7 MB	xerces-c

Comment 1 Dan Horák 2023-03-07 09:37:41 UTC
What happens if you disable installing the weak dependencies by default? eg. by adding "install_weak_deps=False" into /etc/dnf/dnf.conf

When Scribus is linked with OpenSceneGraph libraries, then those libs become "Requires". If a library is missing during runtime, then the binary itself fails to load. One option might be to move some less used plugins to a subpackage, which would be then loosely tied to the main scribus package ...

Comment 2 Dan Horák 2023-03-07 10:13:30 UTC
OpenSceneGraph libraries are used by the main scribus binary, thus there is nothing we can do.


Note You need to log in before you can comment on or make changes to this bug.