diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-17 20:24:38 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-12-17 20:24:38 -0200 |
commit | 9f1a4cf369402b92e92eb2e8dfefa390f994808a (patch) | |
tree | eaecaf76e901f4bf06a0d525903e23d4b3ae3a78 /libre/calibre-libre/desktop_integration.patch | |
parent | 6528d9db649a9aa90f6eae8962554ec056b6f42c (diff) | |
download | abslibre-9f1a4cf369402b92e92eb2e8dfefa390f994808a.tar.gz abslibre-9f1a4cf369402b92e92eb2e8dfefa390f994808a.tar.bz2 abslibre-9f1a4cf369402b92e92eb2e8dfefa390f994808a.zip |
calibre-libre-1.15.0-2: fix FS#38164 => https://bugs.archlinux.org/task/38164
Diffstat (limited to 'libre/calibre-libre/desktop_integration.patch')
-rw-r--r-- | libre/calibre-libre/desktop_integration.patch | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libre/calibre-libre/desktop_integration.patch b/libre/calibre-libre/desktop_integration.patch index c98b225b8..9b20820e6 100644 --- a/libre/calibre-libre/desktop_integration.patch +++ b/libre/calibre-libre/desktop_integration.patch @@ -1,6 +1,6 @@ diff -aur calibre/src/calibre/linux.py calibre.new/src/calibre/linux.py --- calibre/src/calibre/linux.py 2013-12-13 03:47:23.000000000 +0100 -+++ calibre.new/src/calibre/linux.py 2013-12-13 11:24:15.165257058 +0100 ++++ calibre.new/src/calibre/linux.py 2013-12-17 20:11:58.319040313 +0100 @@ -451,18 +451,6 @@ self.setup_completion() if islinux or isbsd: @@ -29,7 +29,7 @@ diff -aur calibre/src/calibre/linux.py calibre.new/src/calibre/linux.py if not os.path.exists(os.path.dirname(f)): os.makedirs(os.path.dirname(f)) if zsh.dest: -@@ -657,51 +645,32 @@ +@@ -657,71 +645,45 @@ with TemporaryDirectory() as tdir, CurrentDir(tdir), \ PreserveMIMEDefaults(): @@ -65,7 +65,7 @@ diff -aur calibre/src/calibre/linux.py calibre.new/src/calibre/linux.py + render_img('mimetypes/lrf.png', os.path.join(dir,'calibre-lrf.png')) + render_img('lt.png', os.path.join(dir, 'calibre-gui.png')) + render_img('viewer.png', os.path.join(dir, 'calibre-viewer.png')) -+ render_img('edit.png', os.path.join(dir, 'calibre-ebook-tweak.png')) ++ render_img('tweak.png', os.path.join(dir, 'calibre-ebook-edit.png')) mimetypes = set([]) for x in all_input_formats(): @@ -93,7 +93,9 @@ diff -aur calibre/src/calibre/linux.py calibre.new/src/calibre/linux.py f.write(ETWEAK) mt = [guess_type('a.' + x.lower())[0] for x in SUPPORTED] f.write('MimeType=%s;\n'%';'.join(mt)) -@@ -710,18 +679,11 @@ + f.close() +- f = open('calibre-gui.desktop', 'wb') ++ f = open(os.path.join(dir, 'calibre-gui.desktop'), 'wb') f.write(GUI) write_mimetypes(f) f.close() |