Bug 420958 - Empty application window when built without libgit2
Summary: Empty application window when built without libgit2
Status: CONFIRMED
Alias: None
Product: calligragemini
Classification: Applications
Component: general (show other bugs)
Version: 3.2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-03 15:51 UTC by Wolfgang Bauer
Modified: 2022-04-07 13:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Bauer 2020-05-03 15:51:06 UTC
SUMMARY
When calligra is built without libgit2 (which is marked as optional), gemini only shows an empty window, making the application unusable.

Shell output:
wolfi@linux-lf90:~> /opt/kf5/bin/calligragemini
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
file:///opt/kf5/share/calligragemini/calligragemini.qml:23:51: Type WelcomePage unavailable 
         sourceComponent: Component { id: welcomePage; WelcomePage { } } 
                                                       ^
file:///opt/kf5/share/calligragemini/qml/WelcomePage.qml:131:39: Type WelcomePageCloud unavailable 
         Component { id: welcomePageCloud; WelcomePageCloud { } } 
                                           ^
file:///opt/kf5/share/calligragemini/qml/welcomepages/WelcomePageCloud.qml:204:29: Type AddGit unavailable 
         Component { id: addGit; AddGit { } } 
                                 ^
file:///opt/kf5/share/calligragemini/qml/welcomepages/cloud/AddGit.qml:32:5: Type CreateCheckout unavailable 
         CreateCheckout { 
         ^
file:///opt/kf5/share/calligragemini/qml/welcomepages/cloud/git/CreateCheckout.qml:24:1: module "Calligra.Gemini.Git" is not installed 
     import Calligra.Gemini.Git 1.0 
     ^
Switching to touch

STEPS TO REPRODUCE
1. Build calligra without libgit2(-devel) installed
2. Run calligragemini

OBSERVED RESULT
An empty window opens, errors are displayed in the shell

EXPECTED RESULT
A usable application even without Git support

ADDITIONAL INFORMATION
It works fine when I build it *with* libgit2(-devel).
Comment 1 Noé Lopez 2022-04-07 13:53:46 UTC
I'm having the same issue using the calligra arch package