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: 18
Popularity: 0.060321
First Submitted: 2015-08-09 15:02 (UTC)
Last Updated: 2024-03-26 08:43 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

eschwartz commented on 2017-12-07 16:22 (UTC) (edited on 2017-12-07 16:24 (UTC) by eschwartz)

No, that won't work. It's a silly stackexchange question to begin with.

There is a reason that despite numerous requests, this was never implemented in makepkg already. The reason is because the pkgver() function depends on having the full git history, or at least the history since the latest tag, available. Your suggestion breaks cherry-picking and non-default branches and pinned commits, none of which this package uses but which other packages do use, and it also breaks git describe which this package does use.

It is a one-time expense, and you can save the clone for future builds by setting $SRCDEST in your makepkg.conf

nosovk commented on 2017-12-07 16:01 (UTC)

Now full calibre repo downloaded during install. It takes a wile. https://unix.stackexchange.com/questions/154919/how-to-modify-a-pkgbuild-which-uses-git-sources-to-pull-only-a-shallow-clone According to that article we can download only latest version of master branch without all unnecessary history

aspirogrammer commented on 2017-12-06 06:23 (UTC)

Everything seems to be fine now, except for the rapydscript-ng package (the dependency can be satisfied with the -git package).

eschwartz commented on 2017-12-05 21:50 (UTC)

This is very odd as when I originally added that file, it had the correct checksum, and it is supposed to be reproducible. But for some reason even though the contents are identical the filesizes are slightly different and so are the checksums.

I'll push an updated PKGBUILD with the new checksums soon, I guess...

aspirogrammer commented on 2017-12-05 20:08 (UTC)

I am getting the following error: ==> Validating source files with sha256sums... calibre ... Skipped calibre-translations ... Skipped MathJax-c493143c02f5809b1112af6c5a2c8eab31050118.tar.gz ... FAILED

I think the sums need to be updated?

eschwartz commented on 2017-07-05 17:06 (UTC)

Sorry, I did something incredibly stupid somehow... Try rebuilding it now. As a consolation prize, have some free manpages. :)

nostalgix commented on 2017-07-04 07:25 (UTC)

I have issues with the jsons as well. When installing it I get the same error like mwszaj: Traceback (most recent call last): File "setup.py", line 119, in <module> sys.exit(main()) File "setup.py", line 104, in main command.run_all(opts) File "/home/awarnecke/builds/calibre-git/src/calibre/setup/__init__.py", line 236, in run_all self.run_cmd(self, opts) File "/home/awarnecke/builds/calibre-git/src/calibre/setup/__init__.py", line 232, in run_cmd cmd.run(opts) File "/home/awarnecke/builds/calibre-git/src/calibre/setup/resources.py", line 389, in run for lc, stats in json.load(open(self.j(self.d(self.SRC), 'manual', 'locale', 'completed.json'))).iteritems(): IOError: [Errno 2] No such file or directory: '/home/awarnecke/builds/calibre-git/src/calibre/manual/locale/completed.json' Already tried to d/l the snapshot here and run makepkg, but got the same error.

eschwartz commented on 2017-07-03 17:42 (UTC)

Somehow, while building "translations", compile_user_manual_translations() failed to properly create that file, which is later accessed while building "resources" -- try rerunning makepkg, maybe it will succeed this time. I don't know why it failed before though, since it works okay for me. More complete error messages are always worth posting by the way ;) so you can always link to a pastebin (https://gist.github.com, https://bpaste.net, https://ix.io etc.) containing the full build log as produced by `makepkg --log`.

mwszaj commented on 2017-07-03 16:19 (UTC)

Hi, any idea? IOError: [Errno 2] No such file or directory: '/home/jaz/git/calibre-git/src/calibre/manual/locale/completed.json'

eschwartz commented on 2017-05-22 05:46 (UTC)

The v3 beta is now merged into master, which means there is a new dependency; also, if you cannot use calibredb with a server instance, you will need to wait for python2-mechanize to be updated in the repos (or build v0.3.3 yourself). rapydscript-ng has been uploaded to the AUR and is a makedepends; although calibre's source code includes a rapydscript compiler for building the server code, the main nodejs-based one is much faster.