diff options
Diffstat (limited to '')
-rw-r--r-- | deskutils/calibre/files/patch-src_calibre_linux.py | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/deskutils/calibre/files/patch-src_calibre_linux.py b/deskutils/calibre/files/patch-src_calibre_linux.py index cf1abfb2ecf6..3068880baa5a 100644 --- a/deskutils/calibre/files/patch-src_calibre_linux.py +++ b/deskutils/calibre/files/patch-src_calibre_linux.py @@ -1,15 +1,6 @@ ---- src/calibre/linux.py.orig 2018-01-05 05:41:54 UTC +--- src/calibre/linux.py.orig 2020-11-13 01:58:49 UTC +++ src/calibre/linux.py -@@ -841,7 +841,7 @@ class PostInstall: - f.close() - des = ('calibre-gui.desktop', 'calibre-lrfviewer.desktop', - 'calibre-ebook-viewer.desktop', 'calibre-ebook-edit.desktop') -- appdata = os.path.join(os.path.dirname(self.opts.staging_sharedir), 'metainfo') -+ appdata = os.path.join(os.path.dirname(self.opts.staging_sharedir), 'appdata') - if not os.path.exists(appdata): - try: - os.mkdir(appdata) -@@ -1008,7 +1008,7 @@ Name=E-book Viewer +@@ -1103,7 +1103,7 @@ Name=E-book viewer GenericName=Viewer for E-books Comment=Viewer for E-books in all the major formats TryExec=ebook-viewer @@ -18,7 +9,7 @@ Icon=calibre-viewer Categories=Graphics;Viewer; ''' -@@ -1021,7 +1021,7 @@ Name=E-book Editor +@@ -1116,7 +1116,7 @@ Name=E-book editor GenericName=Editor for E-books Comment=Edit E-books in various formats TryExec=ebook-edit @@ -27,12 +18,12 @@ Icon=calibre-ebook-edit Categories=Office; ''' -@@ -1034,7 +1034,7 @@ Name=calibre +@@ -1129,7 +1129,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 +-Exec=calibre --detach %U ++Exec=calibre %U Icon=calibre-gui Categories=Office; - ''' + X-GNOME-UsesNotifications=true |