Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811741 - app-office/libreoffice{,-bin}: remove unused dependencies, add USE flags
Summary: app-office/libreoffice{,-bin}: remove unused dependencies, add USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-05 15:21 UTC by Alex Xu (Hello71)
Modified: 2022-10-03 18:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libreoffice-bin.patch (libreoffice-bin.patch,3.48 KB, patch)
2021-09-05 15:21 UTC, Alex Xu (Hello71)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2021-09-05 15:21:35 UTC
Created attachment 737692 [details, diff]
libreoffice-bin.patch

referencing https://github.com/archlinux/svntogit-packages/blob/packages/libreoffice-fresh/trunk/PKGBUILD:

- virtual/glu is unnecessary. not sure since when exactly but see https://github.com/LibreOffice/core/search?q=glu&type=commits

- fontforge is unnecessary for -bin

- gstreamer, mysql, wpg, odbc can be made optional for -bin, see attached patch. not sure which files should be removed for odbc since no .so deps, it probably uses dlopen.

patch tested to successfully launch libreoffice with all flags off. other functionality untested.
Comment 1 Larry the Git Cow gentoo-dev 2021-11-01 10:03:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be35efa3defa75a1593364a0804a839bb47417f6

commit be35efa3defa75a1593364a0804a839bb47417f6
Author:     James Beddek <telans@posteo.de>
AuthorDate: 2021-10-31 10:46:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-01 10:02:46 +0000

    app-office/libreoffice: add 7.2.2.2
    
    Bug: https://bugs.gentoo.org/811741
    Closes: https://bugs.gentoo.org/793773
    Closes: https://bugs.gentoo.org/793776
    Closes: https://bugs.gentoo.org/816075
    Closes: https://bugs.gentoo.org/820308
    Closes: https://github.com/gentoo/gentoo/pull/22235
    Closes: https://github.com/gentoo/gentoo/pull/22683
    Signed-off-by: James Beddek <telans@posteo.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/libreoffice/Manifest                   |   4 +
 app-office/libreoffice/libreoffice-7.2.2.2.ebuild | 662 ++++++++++++++++++++++
 2 files changed, 666 insertions(+)
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2022-10-03 18:36:18 UTC
SHould be fixed