Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#46148 - [calibre] Missing desktop, icon and mime files from package
Attached to Project:
Community Packages
Opened by Alexis Rimbaud (rmbd) - Saturday, 29 August 2015, 20:33 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 06 September 2015, 10:49 GMT
Opened by Alexis Rimbaud (rmbd) - Saturday, 29 August 2015, 20:33 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 06 September 2015, 10:49 GMT
|
DetailsThe desktop, icon and mime files are missing from the last update of calibre (2.36.0-1), following a refactoring of src/calibre/linux.py from upstream.
I've attached a patch that solves these issues. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Sunday, 06 September 2015, 10:49 GMT
Reason for closing: Fixed
Additional comments about closing: 2.36.0-2
Sunday, 06 September 2015, 10:49 GMT
Reason for closing: Fixed
Additional comments about closing: 2.36.0-2
calibre.patch
Small note -- ${pkgdir}/usr/share/menus need not exist. Neither does ${pkgdir}/usr/lib/python2.7/site-packages, since https://github.com/kovidgoyal/calibre/commit/c4f232b967eb0ad8b9ab0b230149ed8eb6dc613f
While I am on the subject of tweaking calibre's PKGBUILD, python2-pycountry has not been required as a makedepends since a little over 4 years ago: https://github.com/kovidgoyal/calibre/commit/a30460bda8de79e1e71e2874ce4225c1eb6632e1
Additionally, resources and translations need not be built at all (and don't need to be commented out) unless you are building from a git tag -- the release tarballs already contain the built resources and translations.
And `python2 setup.py install` runs build, gui, and install, which means `python2 setup.py gui` should be added at the end of the build function, rather than being auto-called during the package function.
calibre no longer has any files which need to be patched to refer to python2 specifically.
Rather than patch the environment module location, you can set the staging-root to ${pkgdir}/usr instead of ${pkgdir} and the staging-{bindir,libdir,sharedir} will properly inherit their location.
Attaching new patch.