@cges30901, thanks a lot it worked out fine !! Could you please make an AUR release with the patch? And thanks for the PR to upstream. Hopefully it gets merged soon as well. Thanks a lot !!!
Search Criteria
Package Details: python-pymupdf 1.18.9-1
Git Clone URL: | https://aur.archlinux.org/python-pymupdf.git (read-only, click to copy) |
---|---|
Package Base: | python-pymupdf |
Description: | Python bindings for MuPDF |
Upstream URL: | https://github.com/pymupdf/PyMuPDF |
Licenses: | |
Submitter: | cges30901 |
Maintainer: | cges30901 |
Last Packager: | cges30901 |
Votes: | 5 |
Popularity: | 0.55 |
First Submitted: | 2019-12-26 14:55 |
Last Updated: | 2021-02-27 07:19 |
Dependencies (12)
- freetype2 (freetype2-v35, freetype2-old-hinting, freetype2-infinality, freetype2-ttmetrics, freetype2-ultimate5, freetype2-git, freetype2-infinality-remix, freetype2-minimal-git)
- gumbo-parser
- jbig2dec
- libjpeg-turbo (mozjpeg-git, libjpeg-turbo-git, libjpeg-turbo-minimal-git, mozjpeg)
- openjpeg2 (openjpeg-git)
- python (python-dbg)
- python-setuptools (make)
- python-sphinx (python-sphinx-git, python-sphinx-2) (make)
- python-sphinx_rtd_theme (make)
- swig (swig-git) (make)
- libmupdf<1.19 (libmupdf-pymupdf) (make)
- libmupdf>=1.18 (libmupdf-pymupdf) (make)
Required by (7)
Sources (1)
je-vv commented on 2020-11-29 07:35
cges30901 commented on 2020-11-29 07:05
@je-vv I created a patch to build on Artix, you can download from here.
Check failed because setup.py
reads ID from /etc/os-release
, and ID=artix
is not recognized. I just sent a pull request.
je-vv commented on 2020-11-26 22:21
ohh, @cges30901, you're right, though I wouldn't have guessed building for arch based distro could be a problem, it usually isn't, :). I'm building on artix:
% cat /etc/os-release
NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
LOGO=artixlinux
cges30901 commented on 2020-11-26 18:52
@je-vv I think this is because setup.py does not recognize your distribution. Are you using Arch Linux or Arch-based distribution? Can you provide your /etc/os-release
?
je-vv commented on 2020-11-24 21:28
@cges30901, here it's a gist of the makepkg log: https://gist.github.com/je-vv/5eba2d3662cc4a8ccb2a85a87dc7033f
cges30901 commented on 2020-11-24 15:22
@je-vv jbigdec is probably not linked correctly. Please provide full build log and content of /etc/os-release so I can figure out the problem.
je-vv commented on 2020-11-24 06:11
check is failing (1.18.4-1):
==> Starting check()... Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/vasqueja/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/init.py", line 3, in <module> from fitz.fitz import * File "/home/vasqueja/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/fitz.py", line 18, in <module> from . import _fitz ImportError: /home/vasqueja/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/_fitz.cpython-38-x86_64-linux-gnu.so: undefined symbol: jbig2_page_out ==> ERROR: A failure occurred in check().
There's no cached previous build, building from scratch...
Knusperkeks commented on 2020-10-20 11:28
Version 1.18.1 can also be build with libmupdf from community repo :)
cges30901 commented on 2020-09-20 05:29
@m040601 Docs are included now, but I am not interested in creating PyMuPDF-Utilities-git
package. If you want a package for that, maybe you can make it yourself.
cges30901 commented on 2020-09-16 09:28
@zoe No, the author of PyMuPDF made some modifications to MuPDF, and PyMuPDF does not build without them. That's why I create libmupdf-pymupdf
package.
See this issue.
Pinned Comments
cges30901 commented on 2019-12-27 13:22
If you want to install PyMuPDF from wheel instead of building from source, here is PKGBUILD.