Bug 2058336

Summary: missing optional dependency
Product: [Fedora] Fedora Reporter: ingli <tech>
Component: ocrmypdfAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: davide, python-sig, quantum.analyst
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ingli 2022-02-24 17:16:46 UTC
The problem is that in some ocr attempts, I get this note

The optional dependency 'jbig2' was not found, so some image optimizations could not be attempted.


I like to ask to include the package as a dependency in the package.

Comment 1 Elliott Sales de Andrade 2022-02-24 22:31:06 UTC
JBIG2 encoding is an external package that doesn't exist in Fedora and I can't just turn it on.

As noted in OCRmyPDF docs [1], JBIG2 encoding was patented. Some people [2] say the patents are expired, but I really don't know. I suggest asking on the Fedora Legal mailing list [3] for clarification.


[1] https://github.com/ocrmypdf/OCRmyPDF/blob/master/docs/jbig2.rst
[2] https://github.com/agl/jbig2enc/issues/58
[3] https://lists.fedoraproject.org/admin/lists/legal.lists.fedoraproject.org/

Comment 2 Davide Cavalca 2022-10-18 15:54:50 UTC
I filed a formal license review request for jbig2enc at https://gitlab.com/fedora/legal/fedora-license-data/-/issues/82

Comment 3 Ben Cotton 2022-11-29 17:57:42 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Fedora Admin user for bugzilla script actions 2025-08-12 13:25:17 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 Fedora Admin user for bugzilla script actions 2025-08-13 01:19:13 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.