Flatpak module yaml file for PyMuPDF #1861
cbm755
started this conversation in
Installation Topics
Replies: 2 comments 4 replies
-
I have updated this for 1.20.2, same link as above. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Updated again for 1.21.1. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If anyone needs PyMuPDF as a dependency for a Flatpak, feel free to use this module:
https://github.com/flathub/org.plomgrading.PlomClient/blob/master/python3-pymupdf.yaml
My intention will be to update this after new PyMuPDF releases, although perhaps the above link will track whatever version Plom is pinned. If you update it first, please post below.
background
I needed this for the linked project, and found the usual tooling namely
flatpak-pip-generator
was trying to build PyMuPDF from source, which is a pain b/c then we need MuPDF from source etc etc.Without this, my builds would fail like:
Instead I found flatpak/flatpak-builder-tools#296 (comment)
which showed me how to specify all the relevant wheels manually. thanks @real-yfprojects.
This involved a bunch of copy-paste so I thought I'd share it here for search engines to index for the benefit of others.
License is FSF All-Permissive (FSFAP).
Beta Was this translation helpful? Give feedback.
All reactions