freebsd-ports/deskutils/calibre/files/patch-src_calibre_linux.py
Guido Falsi c1c123d63a - Update to 2.46.0
- Use new MASTER_SITE

This new version depends on the new py-qt5 ports. Thanks to rakuco
and Tobias Berner for helping me make it land in the ports tree!

Also thanks to Kovid Goyal (calibre developer) for his suggestions
on making new calibre releases work on FreeBSD.
2015-12-14 13:52:11 +00:00

29 lines
820 B
Python

--- src/calibre/linux.py.orig 2015-08-28 03:16:27 UTC
+++ src/calibre/linux.py
@@ -997,7 +997,7 @@ Name=E-book Viewer
GenericName=Viewer for E-books
Comment=Viewer for E-books in all the major formats
TryExec=ebook-viewer
-Exec=ebook-viewer --detach %f
+Exec=ebook-viewer %f
Icon=calibre-viewer
Categories=Graphics;Viewer;
'''
@@ -1010,7 +1010,7 @@ Name=Edit E-book
GenericName=Edit E-books
Comment=Edit e-books in various formats
TryExec=ebook-edit
-Exec=ebook-edit --detach %f
+Exec=ebook-edit %f
Icon=calibre-ebook-edit
Categories=Office;
'''
@@ -1023,7 +1023,7 @@ Name=calibre
GenericName=E-book library management
Comment=E-book library management: Convert, view, share, catalogue all your e-books
TryExec=calibre
-Exec=calibre --detach %F
+Exec=calibre %F
Icon=calibre-gui
Categories=Office;
'''