void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.59k stars 2.15k forks source link

Updating libreoffice pulls in ~30 extra packages #52071

Closed manfred3000 closed 2 months ago

manfred3000 commented 2 months ago
sudo xbps-install -Su                                                          [0] 22:54
[*] Updating repository `https://repo-de.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: 1894KB [avg rate: 2572KB/s]
[*] Updating repository `https://repo-de.voidlinux.org/current/nonfree/x86_64-repodata' ...

Name                   Action    Version           New version            Download size
hunspell-de            update    24.2.5.1_2        24.8.0.3_1             5202KB 
hunspell-en            update    24.2.5.1_2        24.8.0.3_1             924KB 
hunspell-en_GB-all     update    24.2.5.1_2        24.8.0.3_1             879KB 
hunspell-es            update    24.2.5.1_2        24.8.0.3_1             1603KB 
hunspell-it_IT         update    24.2.5.1_2        24.8.0.3_1             670KB 
hyphen-de              update    24.2.5.1_2        24.8.0.3_1             277KB 
hyphen-en              update    24.2.5.1_2        24.8.0.3_1             94KB 
hyphen-es              update    24.2.5.1_2        24.8.0.3_1             3933B 
hyphen-it_IT           update    24.2.5.1_2        24.8.0.3_1             1985B 
iwd                    update    2.19_1            2.20_1                 848KB 
libpipewire            update    1.2.2_1           1.2.3_1                1159KB 
libpoppler             update    23.12.0_1         24.08.0_1              1256KB 
libreoffice            update    24.2.5.1_1        24.8.0.3_1             711B 
libreoffice-base       update    24.2.5.1_1        24.8.0.3_1             4826KB 
libreoffice-calc       update    24.2.5.1_1        24.8.0.3_1             9.8MB 
giflib                 install   -                 5.2.2_1                23KB 
openjdk-common         install   -                 2_1                    1888B 
openjdk11-jre          install   -                 11.0.22+6_1            46MB 
rhino                  install   -                 1.7.15_1               1318KB 
hsqldb1.8.0            install   -                 1.8.0.10_1             691KB 
double-conversion      install   -                 3.3.0_1                31KB 
libb2                  install   -                 0.98.1_1               16KB 
qt6-core               install   -                 6.7.2_2                2336KB 
qt6-dbus               install   -                 6.7.2_2                275KB 
libmd4c                install   -                 0.5.2_1                37KB 
xcb-util               install   -                 0.4.1_1                8882B 
xcb-util-image         install   -                 0.4.1_1                9382B 
xcb-util-cursor        install   -                 0.1.4_1                9.8KB 
xcb-util-keysyms       install   -                 0.4.1_1                5648B 
tslib                  install   -                 1.23_1                 50KB 
libproxy               install   -                 0.4.18_3               64KB 
qt6-network            install   -                 6.7.2_2                720KB 
qt6-gui                install   -                 6.7.2_2                4018KB 
qt6-widgets            install   -                 6.7.2_2                2850KB 
qt6-sql                install   -                 6.7.2_2                127KB 
qt6-declarative        install   -                 6.7.2_1                11MB 
minizip                install   -                 1.3_1                  20KB 
libassimp              install   -                 5.2.5_1                2971KB 
libqt6shadertools      install   -                 6.7.2_1                1747KB 
qt6-quicktimeline      install   -                 6.7.2_1                81KB 
qt6-quick3d            install   -                 6.7.2_1                3355KB 
qt6-multimedia         install   -                 6.7.2_2                1131KB 
libcmis                install   -                 0.6.2_1                515KB 
libreoffice-common     update    24.2.5.1_1        24.8.0.3_1             138MB 
libreoffice-draw       update    24.2.5.1_1        24.8.0.3_1             243KB 
libreoffice-fonts      update    24.2.5.1_1        24.8.0.3_1             776B 
libreoffice-gnome      update    24.2.5.1_1        24.8.0.3_1             1002KB 
libreoffice-i18n-de    update    24.2.5.1_1        24.8.0.3_1             6811KB 
libreoffice-i18n-en-US update    24.2.5.1_1        24.8.0.3_1             4798KB 
libreoffice-i18n-es    update    24.2.5.1_1        24.8.0.3_1             6765KB 
libreoffice-i18n-it    update    24.2.5.1_1        24.8.0.3_1             6756KB 
libreoffice-impress    update    24.2.5.1_1        24.8.0.3_1             361KB 
libreoffice-math       update    24.2.5.1_1        24.8.0.3_1             618KB 
libreoffice-postgresql update    24.2.5.1_1        24.8.0.3_1             307KB 
libreoffice-writer     update    24.2.5.1_1        24.8.0.3_1             4630KB 
beanshell              install   -                 2.1.1_1                410KB 
libreoffice-xtensions  update    24.2.5.1_1        24.8.0.3_1             692KB 
mythes-de              update    24.2.5.1_2        24.8.0.3_1             8079KB 
mythes-en              update    24.2.5.1_2        24.8.0.3_1             3799KB 
mythes-es              update    24.2.5.1_2        24.8.0.3_1             631KB 
mythes-it_IT           update    24.2.5.1_2        24.8.0.3_1             729KB 
poppler-glib           update    23.12.0_1         24.08.0_1              194KB 
public-suffix          update    2024.07.01_1      2024.08.25_1           130KB 
python3-setuptools     update    73.0.1_1          74.0.0_1               832KB 
python3-websockets     update    13.0_1            13.0.1_1               95KB 
zathura-pdf-mupdf      update    0.4.4_1           0.4.4_2                24MB 

Size to download:              314MB
Size required on disk:        1029MB
Space available on disk:        29GB

Do you want to continue? [Y/n] n
Aborting!

Is there really any necessity to make qt6-base a hard-dependency of libreoffice-common? If a user is running KDE, they will have everything Qt-related in place anyway, and everybody else could happily keep using Gtk without bloating their systems...

Clos3y commented 2 months ago

Is there really any necessity to make qt6-base a hard-dependency of libreoffice-common?

I don't think it is a 'hard dependency'? It's a build time dependency, and then xbps-src automagically determines the required runtime dependencies.

I agree though, that I'd rather avoid the additional packages if possible, but I can't be bothered to pick through the commit right now https://github.com/void-linux/void-packages/commit/ab5ef01b5e2ab0994081bd1542c0722079573620

sgn commented 2 months ago

The split is dictated by libreoffice upstream. They provide us a common_list.txt. Unfortunately, they put: /usr/lib/libreoffice/program/libavmediaqt6.so in common-list.txt so libreoffice will pull Qt6 in. Please ask tdf if this is intentional. We don't modify upstream decision!

manfred3000 commented 2 months ago

We don't modify upstream decision!

Fair enough. I've decided to remove libreoffice (I've only infrequently been using libreoffice-calc), so an AppImage will do, I guess.

Feel free to open up a discussion, if anyone finds a workaround (I can't think of any right now).

sgn commented 2 months ago

https://bugs.documentfoundation.org/show_bug.cgi?id=145735

sgn commented 2 months ago

Seems like Qt6-Multimedia should go with Qt6 VCL, I will change!

sgn commented 2 months ago

8258c012145454034d0366c21df61ec265d6982b