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

Bug 722416

Summary: app-office/calligra: support building with okular plugins for opening ODP files directly
Product: Gentoo Linux Reporter: zhlin
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, office
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description zhlin 2020-05-11 09:11:05 UTC
Calligra can be built with optional Okular plugins that enables Okular to open ODP, PPT, DOCX... files directly. It would be good to provide a method to enable this, as the existing okular USE flag does not provide this functionality.

This feature can be enabled, for example (may be an overkill), by adding this line in the beginning of src_configure, to the current Calligra ebuild:

    use okular && myproducts+=( "OKULAR" )

And these lines should appear in the CMake output:

    -- OKULAR_GENERATOR_ODP:  Plugin for Okular adding support for ODP
    -- OKULAR_GENERATOR_ODT:  Plugin for Okular adding support for ODT

Reproducible: Always

Steps to Reproduce:
1. Build Calligra with the okular USE flag on.
2. Open any ODP file with Okular.
Actual Results:  
1. Okular fails to open it.

Expected Results:  
1. If Calligra built with said features is installed, Okular should be able to display that file directly.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-05-14 17:43:56 UTC
It is news to me that this is a separate product. Oh well, overly complicated mess of cmake macros that upstream is using...
Comment 2 Larry the Git Cow gentoo-dev 2020-06-28 16:18:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=11221b8974932885eb93bbc77911326af6551ec5

commit 11221b8974932885eb93bbc77911326af6551ec5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-28 16:04:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-28 16:13:30 +0000

    app-office/calligra: Add okular to myproducts to build the feature
    
    Bug: https://bugs.gentoo.org/722416
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/calligra/calligra-9999.ebuild | 24 ++++++------------------
 1 file changed, 6 insertions(+), 18 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-06-28 16:18:22 UTC
The bug has been closed via the following commit(s):

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

commit f319b46cb3f9391b540a83f46497c446c5f50143
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-28 16:15:35 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-28 16:17:55 +0000

    app-office/calligra: 3.2.1 version bump
    
    Closes: https://bugs.gentoo.org/722416
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/calligra/Manifest              |   1 +
 app-office/calligra/calligra-3.2.1.ebuild | 189 ++++++++++++++++++++++++++++++
 2 files changed, 190 insertions(+)