Package Details: calibre-git 7.2.0.r2.g96211be30e-1

Git Clone URL: https://aur.archlinux.org/calibre-git.git (read-only, click to copy)
Package Base: calibre-git
Description: Ebook management application
Upstream URL: https://calibre-ebook.com
Licenses: GPL3
Conflicts: calibre, calibre-common, calibre-python3
Provides: calibre
Replaces: calibre-common-git, calibre-python3-git
Submitter: eschwartz
Maintainer: alerque (eschwartz)
Last Packager: alerque
Votes: 19
Popularity: 1.00
First Submitted: 2015-08-09 15:02 (UTC)
Last Updated: 2024-03-26 08:43 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

eniac commented on 2024-11-17 13:08 (UTC) (edited on 2024-11-17 15:07 (UTC) by eniac)

@alllexx88 probably something on my end, but now it works. Thanks so much.

alllexx88 commented on 2024-11-17 12:32 (UTC)

@eniac, I can't reproduce your error. It would typically mean that you ran python setup.py man_pages before running python setup.py gui. Are you sure you applied the patch correctly? Also, you can just build without man-pages, if you don't need them:

diff --git a/PKGBUILD b/PKGBUILD
index 0d1adc6..08116d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 # Contributor: Larry Hajali <larryhaja@gmail.com>

 pkgname=calibre-git
-pkgver=7.2.0.r2.g96211be30e
+pkgver=7.21.0.r71.ge854f0889d
 pkgrel=1
 pkgdesc='Ebook management application'
 arch=(x86_64 i686)
@@ -114,17 +114,18 @@ build() {
        python setup.py build
        python setup.py iso639
        python setup.py iso3166
+       python setup.py gui
+       python setup.py translations
        python setup.py resources \
                --system-liberation_fonts --path-to-liberation_fonts /usr/share/fonts/liberation \
                --system-mathjax --path-to-mathjax /usr/share/mathjax
-       python setup.py gui
 }

-check() {
-       cd "${pkgname%-git}"
-       export LANG='en_US.UTF-8'
-       python -m unittest discover
-}
+# check() {
+#      cd "${pkgname%-git}"
+#      export LANG='en_US.UTF-8'
+#      python -m unittest discover
+# }

 package() {
        cd "${pkgname%-git}"
@@ -138,8 +139,6 @@ package() {
                --prefix=/usr \
                --system-plugins-location=/usr/share/calibre/system-plugins

-       cp -a man-pages/ "${pkgdir}/usr/share/man"
-
        # not needed at runtime
        rm -r "${pkgdir}"/usr/share/calibre/rapydscript/

eniac commented on 2024-11-16 16:00 (UTC)

Thanks for your patch alllexx88, but now I'm getting an error on "Running man_pages", sphinx-build returns exception "ModuleNotFoundError: No module named 'calibre.gui2.dialogs.conversion_error_ui'". I was hoping to install calibre-git because the official package in Arch repo hasn't been updated in 2+ months now...

alllexx88 commented on 2024-11-11 08:42 (UTC)

I've been able to build with this patch:

diff --git a/PKGBUILD b/PKGBUILD
index 0d1adc6..f683ff0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 # Contributor: Larry Hajali <larryhaja@gmail.com>

 pkgname=calibre-git
-pkgver=7.2.0.r2.g96211be30e
+pkgver=7.21.0.r21.g7ecc30663f
 pkgrel=1
 pkgdesc='Ebook management application'
 arch=(x86_64 i686)
@@ -67,7 +67,8 @@ makedepends=(cmake
              pyqt-builder
              rapydscript-ng
              sip
-             xdg-utils)
+             xdg-utils
+             python-sphinx)
 optdepends=('poppler: required for converting pdf to html'
             'python-fonttools: required for font subset feature in epub editor'
             'speech-dispatcher: TTS support in the viewer')
@@ -114,17 +115,19 @@ build() {
        python setup.py build
        python setup.py iso639
        python setup.py iso3166
+       python setup.py gui
+       python setup.py translations
        python setup.py resources \
                --system-liberation_fonts --path-to-liberation_fonts /usr/share/fonts/liberation \
                --system-mathjax --path-to-mathjax /usr/share/mathjax
-       python setup.py gui
+       python setup.py man_pages
 }

-check() {
-       cd "${pkgname%-git}"
-       export LANG='en_US.UTF-8'
-       python -m unittest discover
-}
+# check() {
+#      cd "${pkgname%-git}"
+#      export LANG='en_US.UTF-8'
+#      python -m unittest discover
+# }

 package() {
        cd "${pkgname%-git}"

Had to comment the check() out due to tests failing with a couple of translation-related warnings.

eniac commented on 2024-11-09 15:51 (UTC)

I have the same errors as reported by choryuidentify

choryuidentify commented on 2024-10-24 06:38 (UTC)

It occurs build fails...

(omitted)


*
* Running resources
*

        Creating scripts.calibre_msgpack
        Creating builtin_recipes.xml
<string>:145: SyntaxWarning: invalid escape sequence '\g'
<string>:64: SyntaxWarning: invalid escape sequence '\('
<string>:72: SyntaxWarning: invalid escape sequence '\d'
<string>:245: SyntaxWarning: invalid escape sequence '\/'
<string>:246: SyntaxWarning: invalid escape sequence '\/'
<string>:19: SyntaxWarning: invalid escape sequence '\?'
        Creating builtin_recipes.zip
        Creating ebook-convert-complete.calibre_msgpack
        Creating template-functions.json
        Creating editor-functions.json
Traceback (most recent call last):
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/setup.py", line 132, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/setup.py", line 117, in main
    command.run_all(opts)
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/setup/__init__.py", line 239, in run_all
    self.run_cmd(self, opts)
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/setup/__init__.py", line 233, in run_cmd
    cmd.run(opts)
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/setup/resources.py", line 308, in run
    from calibre.gui2.tweak_book.function_replace import builtin_functions
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/src/calibre/gui2/tweak_book/function_replace.py", line 16, in <module>
    from calibre.gui2.complete2 import EditWithComplete
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/src/calibre/gui2/complete2.py", line 32, in <module>
    from calibre.gui2.widgets import EnComboBox, LineEditECM
  File "/home/peppermint/.cache/yay/calibre-git/src/calibre/src/calibre/gui2/widgets.py", line 49, in <module>
    from calibre.gui2.filename_pattern_ui import Ui_Form
ModuleNotFoundError: No module named 'calibre.gui2.filename_pattern_ui'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: calibre-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
calibre-git - exit status 4

Aloo commented on 2024-04-25 06:50 (UTC)

I am getting an error making calibre-git-exit status 4, the build then fails adn gets aborted.

haawda commented on 2023-03-20 17:03 (UTC)

needs python-pyqt6-webengine now

qubidt commented on 2022-10-26 09:53 (UTC)

@haawda, I was trying to understand why the versioned dependency was causing the build to fail (since this package should provide calibre>=5.15). Removing the version dependency just works around the issue, it doesn't explain why it's an issue in the first place

haawda commented on 2022-07-18 17:22 (UTC)

qubidt, no the git revision is not the culprit. Try to remove the versioned dependency in calibre-plugin-dedrm, i.e. change depends=('calibre>=5.15') to just depends=('calibre'), or add the version number in provides in calibre-git's PKGBUILD. Both should work.

What I want to ask: Is it just me for whom manpage creation fails? A hidden makedependency?