1 --- calibre-2.44.1/src/calibre/linux.py.orig 2015-11-21 11:22:06.420641478 +0100
2 +++ calibre-2.44.1/src/calibre/linux.py 2015-11-21 11:20:41.000000000 +0100
4 def install_single_icon(iconsrc, basename, size, context, is_last_icon=False):
5 filename = '%s-%s.png' % (basename, size)
6 render_img(iconsrc, filename, width=int(size), height=int(size))
7 - cmd = ['xdg-icon-resource', 'install', '--noupdate', '--context', context, '--size', str(size), filename, basename]
8 + cmd = ['xdg-icon-resource', 'install', '--noupdate', '--novendor', '--context', context, '--size', str(size), filename, basename]
14 APPDATA = get_appdata()
16 - cmd = ['xdg-desktop-menu', 'install', '--noupdate', './'+x]
17 + cmd = ['xdg-desktop-menu', 'install', '--noupdate', '--novendor', './'+x]
18 cc(' '.join(cmd), shell=True)
19 self.menu_resources.append(x)
20 ak = x.partition('.')[0]
22 cc(['xdg-desktop-menu', 'forceupdate'])
23 MIME = P('calibre-mimetypes.xml')
24 self.mime_resources.append(MIME)
25 - cc(['xdg-mime', 'install', MIME])
26 + cc(['xdg-mime', 'install', '--novendor', MIME])
28 if self.opts.fatal_errors: