@jessidhia This would work for packages that just need calibre executable binaries. However, with plugins it wouldn't, since calibre-bin doesn't look into /usr/lib/calibre/calibre (or /usr/share/calibre/system-plugins or anything in /usr) for plugins -- it uses /opt/calibre/plugins for system-wide plugins instead. Hence, any plugin you install in /usr/... just won't be discovered.
Search Criteria
Package Details: calibre-bin 9.7.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/calibre-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | calibre-bin |
| Description: | Official binary version Calibre |
| Upstream URL: | https://download.calibre-ebook.com |
| Licenses: | GPL3 |
| Conflicts: | calibre, calibre-git |
| Submitter: | alllexx88 |
| Maintainer: | alllexx88 (AutoUpdateBot) |
| Last Packager: | AutoUpdateBot |
| Votes: | 19 |
| Popularity: | 2.69 |
| First Submitted: | 2025-04-18 13:31 (UTC) |
| Last Updated: | 2026-04-10 09:01 (UTC) |
Dependencies (6)
- alsa-lib
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- libglvnd (libglvnd-gitAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- nss (nss-hgAUR)
- python-sphinx (python-sphinx-gitAUR) (make)
Required by (0)
Sources (3)
alllexx88 commented on 2026-04-14 09:08 (UTC)
jessidhia commented on 2026-04-14 06:59 (UTC) (edited on 2026-04-14 07:00 (UTC) by jessidhia)
This probably should have provides=("${pkgname%-bin}=$pkgver") to satisfy calibre dependencies in other calibre-related AUR packages like plugins and drivers.
INeedTogepi commented on 2026-02-22 15:42 (UTC)
@alllexx88 9.3.1-4 worked perfectly for me, thank you!
alllexx88 commented on 2026-02-22 15:26 (UTC)
@INeedTogepi thanks for the report. After building in a clean chroot, I discovered that a bunch of dependencies is missing. They're pretty common ones, so I haven't discovered it before. Please try again with 9.3.1-4
INeedTogepi commented on 2026-02-22 14:38 (UTC) (edited on 2026-02-22 14:41 (UTC) by INeedTogepi)
I get the following error on the latest PKGBUILD:
==> Starting build()...
-> Building man pages using calibre-debug + sphinx...
Running Sphinx v8.2.3
loading translations [en]... done
Failed to import PyQt module: PyQt6.QtWidgets with error: libfontconfig.so.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/build/calibre-bin/src/calibre-9.3.1/manual/custom.py", line 327, in get_cli_docs
documented_cmds.append((cmd, getattr(module, 'option_parser')()))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
TypeError: option_parser() missing 1 required positional argument: 'basename'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 47, in <module>
File "site.py", line 43, in main
File "calibre/debug.py", line 319, in main
File "calibre/debug.py", line 218, in run_script
File "polyglot/builtins.py", line 110, in exec_path
File "/build/calibre-bin/src/_build_man.py", line 30, in <module>
app = Sphinx(srcdir=manual_dir, confdir=manual_dir, outdir=destdir,
doctreedir=doctreedir, buildername='man', freshenv=True,
confoverrides={'language': 'en'})
File "/usr/lib/python3.14/site-packages/sphinx/application.py", line 291, in __init__
self.setup_extension(extension)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/sphinx/application.py", line 489, in setup_extension
self.registry.load_extension(self, extname)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/sphinx/registry.py", line 560, in load_extension
metadata = setup(app)
File "/build/calibre-bin/src/calibre-9.3.1/manual/custom.py", line 417, in setup
setup_man_pages(app)
~~~~~~~~~~~~~~~^^^^^
File "/build/calibre-bin/src/calibre-9.3.1/manual/custom.py", line 405, in setup_man_pages
documented_cmds = get_cli_docs()[0]
~~~~~~~~~~~~^^
File "/build/calibre-bin/src/calibre-9.3.1/manual/custom.py", line 329, in get_cli_docs
documented_cmds.append((cmd, getattr(module, 'option_parser')(cmd)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "calibre/gui_launch.py", line 175, in option_parser
File "bypy-importer.py", line 279, in exec_module
File "calibre/gui2/__init__.py", line 16, in <module>
ImportError: cannot import name 'QApplication' from 'qt.core' (/build/calibre-bin/src/calibre-release/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc)
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Building package [calibre-bin] failed.
Cleaning up.
EDIT: I apologize for posting this twice. The lack of word-wrapping made me think I posted the wrong error code, since I tried building once in a clean chroot, and then retried building again in the same chroot. Turns out the errors were identical... 🤦♀️
alllexx88 commented on 2026-02-22 13:26 (UTC)
@un_pogaz reproduced it and pushed a similar fix, thanks :) figured it out right before your last clarification
un_pogaz commented on 2026-02-22 13:23 (UTC) (edited on 2026-02-22 13:23 (UTC) by un_pogaz)
@alllexx88 Oh right, my bad for the url. I was fooled by the text name, but the real url behind is good, on the github release, their is a second source archive that also use the basename calibre-9.3.1.tar.gz. (and this one is not stable to use)
And yes, I tryed the PKGBUILD, and it not work for me. You need to define the env variable before run calibre-debug, at the same time than QT_QPA_PLATFORM and CALIBRE_SRC, not in the "python script" because is too late: calibre-debug already load the translated string, and overide them here do nothing.
At least, is more consisten for me.
+ CALIBRE_OVERRIDE_LANG='en' \
+ ALL_USER_MANUAL_LANGUAGES='en' \
+ CALIBRE_BUILD_MAN_PAGES='1' \
QT_QPA_PLATFORM=offscreen \
CALIBRE_SRC="$srcdir/calibre-${pkgver}" \
alllexx88 commented on 2026-02-22 13:06 (UTC) (edited on 2026-02-22 13:19 (UTC) by alllexx88)
@un_pogaz thanks for the feedback. Have you tried current PKGBUILD? Since I'm forcing English with both env variables (CALIBRE_OVERRIDE_LANG and ALL_USER_MANUAL_LANGUAGES) as well as with direct Sphinx arguments (confoverrides={'language': 'en'}). I tried changing locale to a different language, and still the manual gets created in English.
As for the github link, which issue do you mean? It's a link to the same tag the binary release was built from, so I don't see what issues it can cause.
UPD:
I think I reproduced it: if I run:
CALIBRE_OVERRIDE_LANG=de ALL_USER_MANUAL_LANGUAGES=de makepkg -f
I do get German man pages. Thanks!
un_pogaz commented on 2026-02-22 11:46 (UTC) (edited on 2026-02-22 12:09 (UTC) by un_pogaz)
Ah, oh. I was completly out of touch here, so yeah no need to bother you with the full manual, it would be a all adventure (will look at it, but my project without promish).
However, I want to mention that the man-pages are not generated in English, but generated in the current GUI interface of Calibre (the man page is on french on my computer). Is probably because Calibre load the string localisation very early in it execution, so I recomand to set any env variable before the calibre-debug run, rather than inside the "python script" (tested).
PS: The source is also available on the official site: https://download.calibre-ebook.com/9.3.1/calibre-9.3.1.tar.xz (using the gitub link will lead to the same issue that I reported early this year)
Pinned Comments
alllexx88 commented on 2025-12-08 09:29 (UTC)
Please don't flag this package as out-of-date, unless it's at least a couple days behind the current version. The AutoUpdateBot checks for updates once per 24h and updates automatically. Flagging it out-of-date before this automatic update only adds more noise to my inbox. Thank you.