Community Packages

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!
Tasklist

FS#38164 - Calibre 1.15.0-1 missing the usr/share/applications/calibre-gui.desktop file

Attached to Project: Community Packages
Opened by Evan McLean (ecognito) - Monday, 16 December 2013, 20:50 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 17 December 2013, 20:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The recently released 1.15.0-1 version of Calibre is missing the desktop short-cut file to start the main gui.

usr/share/applications/calibre-gui.desktop

Pulled the version of this file from the 1.14.0-1 release and it works fine.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Tuesday, 17 December 2013, 20:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in -2
Comment by Philip Müller (philm) - Tuesday, 17 December 2013, 08:52 GMT
the desktop-integration patch is messed up. Followed sed line fixes it:

# fix calibre-gui.desktop
sed -i -e "s|f = open('calibre-gui.desktop', 'wb')|f = open(os.path.join(dir, 'calibre-gui.desktop'), 'wb')|g" src/calibre/linux.py

Please update your patch.
Comment by Philip Müller (philm) - Tuesday, 17 December 2013, 09:16 GMT
Also it seems calibre-edit.desktop is messed up too:

# fix calibre-edit.desktop
sed -i -e "s|render_img('edit.png', os.path.join(dir, 'calibre-ebook-tweak.png'))|render_img('tweak.png', os.path.join(dir, 'calibre-ebook-edit.png'))|g" src/calibre/linux.py
Comment by Jelle van der Waa (jelly) - Tuesday, 17 December 2013, 09:33 GMT
Please not that we patch src/calibre/linux.py. So you could send an improved patch and I'll happily update the package tonight, thanks for the fixes btw!

Loading...