Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 912703

Summary: app-office/libreoffice[base]: Remove mandatory dependency on dev-db/firebird and make it optional
Product: Gentoo Linux Reporter: Zoltan Puskas <zoltan>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg243795.html
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=127180
https://gerrit.libreoffice.org/c/core/+/78240/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Modified ebuild with optional firebird dependency
Ebuild patch to make firebird dependency optional

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(-)