Package Details: calibre-git 8.3.0.r66.gbe586a4b69-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
Submitter: eschwartz
Maintainer: alllexx88 (AutoUpdateBot)
Last Packager: alllexx88
Votes: 18
Popularity: 0.027422
First Submitted: 2015-08-09 15:02 (UTC)
Last Updated: 2025-05-04 11:45 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

alllexx88 commented on 2025-05-04 11:17 (UTC)

@alerque I agree about tests, it makes sense to have them. However, they needed fixing, so I fixed them and the build command, based on Archlinux calibre package. As for man pages, I wasn't "no longer installing" generated man pages: in fact, they weren't being generated at all before I adopted the package -- I only removed the copy command that failed due to man pages not present in the sources. But it makes sense to have them generated, so I added python setup.py man_pages to the build command and python-sphinx to makedepends, and I'm packaging them now.

As for bumping VCS package, can you point me to an Arch wiki page that says this? I haven't been able to find anything on https://wiki.archlinux.org/title/VCS_package_guidelines

Also, the auto update bot won't bump a package blindly: it checks for new commits daily, and bumps only if a test build is successful. The reasoning for bumping is to notify users using AUR helpers of an available update.

alerque commented on 2025-05-04 10:00 (UTC)

@allexx88

  • VCS packages do not need "bumping". Please don't do that, and take off the update bot. It's is never appropriate to auto bump a VCS package.

  • Removing the tests is not "fixing" the build.

  • No longer installing the generated man pages is not "fixing" the build.

alllexx88 commented on 2025-05-03 19:11 (UTC)

@lpc123 here's the key on keyserver.ubuntu.com: https://keyserver.ubuntu.com/pks/lookup?search=06BC317B515ACE7C&fingerprint=on&op=index

lpc123 commented on 2025-02-17 20:03 (UTC)

This key is not found on keybase or mit: 3CE1780F78DD88DF45194FD706BC317B515ACE7C

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