Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912703 - app-office/libreoffice[base]: Remove mandatory dependency on dev-db/firebird and make it optional
Summary: app-office/libreoffice[base]: Remove mandatory dependency on dev-db/firebird ...
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: https://www.mail-archive.com/libreoff...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-21 06:39 UTC by Zoltan Puskas
Modified: 2023-08-21 15:51 UTC (History)
0 users

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


Attachments
Modified ebuild with optional firebird dependency (libreoffice-7.5.5.2-r1.ebuild,18.90 KB, application/vnd.gentoo.ebuild)
2023-08-21 06:48 UTC, Zoltan Puskas
Details
Ebuild patch to make firebird dependency optional (libreoffice-ebuild-firebird.patch,412 bytes, patch)
2023-08-21 10:07 UTC, Zoltan Puskas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Puskas 2023-08-21 06:39:07 UTC
Currently building app-office/libreoffice[base] is not possible due to the bad state of dev-db/firebird. However LibreOffice itself has reverted FirebirdSQL support back to experimental[1] due to issues in the LO codebase itself.

It seems we could make `firebird` an optional USE flag when `base` is enabled, thus allowing users to have more features in the Base app.

In my local overlay I've created a modified version of the ebuild and have successfully compiled and ran LibreOffice Base with Firebird disabled.

[1] https://ask.libreoffice.org/t/firebird-missing-in-base/74254

Reproducible: Always
Comment 1 Zoltan Puskas 2023-08-21 06:48:59 UTC
Created attachment 868300 [details]
Modified ebuild with optional firebird dependency
Comment 2 Andreas Sturmlechner gentoo-dev 2023-08-21 09:25:22 UTC
Ebuild modifications always as unified diffs, please.
Comment 3 Andreas Sturmlechner gentoo-dev 2023-08-21 09:46:44 UTC
Can you find the commit where they changed that in the build system?
Comment 4 Zoltan Puskas 2023-08-21 10:07:49 UTC
Created attachment 868310 [details, diff]
Ebuild patch to make firebird dependency optional

Sorry, here is the patch for the ebuild.
Comment 5 Larry the Git Cow gentoo-dev 2023-08-21 15:51:21 UTC
The bug has been closed via the following commit(s):

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

commit bdb5c1f500f7407fee070cf6dc74653dd675d80a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-21 15:50:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-21 15:51:10 +0000

    app-office/libreoffice: firebird is no longer needed for base
    
    See https://gerrit.libreoffice.org/c/core/+/78240/. It's now considered
    experimental upstream and is not required for the LO 'Base' functionality.
    
    Bug: https://bugs.documentfoundation.org/show_bug.cgi?id=127180
    Closes: https://bugs.gentoo.org/912703
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/libreoffice/libreoffice-7.5.9999.ebuild | 2 +-
 app-office/libreoffice/libreoffice-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)