summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-16 21:24:26 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-12-16 21:24:26 -0200
commit71cc202a7c4a9ed18669c2bead3c17ca0fcd5e38 (patch)
tree08bcc441a6bee8d8d9e626d7e4a82b7a219d75a6
parent11591add702e2e25988cf7b00ca0a65ff93e54cb (diff)
calibre-libre-1.15.0-1: updating version
-rw-r--r--libre/calibre-libre/PKGBUILD6
-rw-r--r--libre/calibre-libre/desktop_integration.patch24
2 files changed, 15 insertions, 15 deletions
diff --git a/libre/calibre-libre/PKGBUILD b/libre/calibre-libre/PKGBUILD
index 18cd20770..f7aee96aa 100644
--- a/libre/calibre-libre/PKGBUILD
+++ b/libre/calibre-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 102328 2013-12-08 20:04:25Z jelle $
+# $Id: PKGBUILD 102596 2013-12-16 08:56:46Z jelle $
# Maintainer: jelle van der Waa <jelle@vdwaa.nl>
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
@@ -9,7 +9,7 @@
_pkgname=calibre
pkgname=calibre-libre
-pkgver=1.14.0
+pkgver=1.15.0
pkgrel=1
pkgdesc="Ebook management application, with unar support"
arch=('i686' 'x86_64' 'mips64el')
@@ -30,7 +30,7 @@ install=calibre.install
source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"
'desktop_integration.patch'
'calibre-mount-helper')
-md5sums=('1191a9313fb3dd9d4d47dfb5a3e52690'
+md5sums=('ee72ec13e501b51f22916ea94d26c610'
'971802d53fd0480c930735174ec25311'
'675cd87d41342119827ef706055491e7')
diff --git a/libre/calibre-libre/desktop_integration.patch b/libre/calibre-libre/desktop_integration.patch
index 2749e1d1c..c98b225b8 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-06 05:13:34.000000000 +0100
-+++ calibre.new/src/calibre/linux.py 2013-12-08 20:30:59.097240827 +0100
+--- 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
@@ -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,48 +645,28 @@
+@@ -657,51 +645,32 @@
with TemporaryDirectory() as tdir, CurrentDir(tdir), \
PreserveMIMEDefaults():
@@ -57,14 +57,15 @@ diff -aur calibre/src/calibre/linux.py calibre.new/src/calibre/linux.py
- render_img('viewer.png', 'calibre-viewer.png')
- cc('xdg-icon-resource install --size 128 calibre-viewer.png calibre-viewer', shell=True)
- self.icon_resources.append(('apps', 'calibre-viewer', '128'))
-- render_img('tweak.png', 'calibre-ebook-tweak.png')
-- cc('xdg-icon-resource install --size 128 calibre-ebook-tweak.png calibre-ebook-tweak', shell=True)
-- self.icon_resources.append(('apps', 'calibre-ebook-tweak', '128'))
+- render_img('tweak.png', 'calibre-ebook-edit.png')
+- cc('xdg-icon-resource install --size 128 calibre-ebook-edit.png calibre-ebook-edit', shell=True)
+- self.icon_resources.append(('apps', 'calibre-ebook-edit', '128'))
+ dir = os.path.join(self.opts.staging_sharedir,'../pixmaps')
+ os.mkdir(dir)
+ 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'))
mimetypes = set([])
for x in all_input_formats():
@@ -87,18 +88,17 @@ diff -aur calibre/src/calibre/linux.py calibre.new/src/calibre/linux.py
+ f = open(os.path.join(dir, 'calibre-ebook-viewer.desktop'), 'wb')
f.write(EVIEWER)
write_mimetypes(f)
- f = open('calibre-ebook-tweak.desktop', 'wb')
-@@ -706,22 +674,15 @@
+- f = open('calibre-ebook-edit.desktop', 'wb')
++ f = open(os.path.join(dir, 'calibre-ebook-edit.desktop'), 'wb')
+ f.write(ETWEAK)
mt = [guess_type('a.' + x.lower())[0] for x in SUPPORTED]
f.write('MimeType=%s;\n'%';'.join(mt))
- f.close()
-- f = open('calibre-gui.desktop', 'wb')
-+ f = open(os.path.join(dir, 'calibre-gui.desktop'), 'wb')
+@@ -710,18 +679,11 @@
f.write(GUI)
write_mimetypes(f)
f.close()
- des = ('calibre-gui.desktop', 'calibre-lrfviewer.desktop',
-- 'calibre-ebook-viewer.desktop', 'calibre-ebook-tweak.desktop')
+- 'calibre-ebook-viewer.desktop', 'calibre-ebook-edit.desktop')
- for x in des:
- cmd = ['xdg-desktop-menu', 'install', '--noupdate', './'+x]
- cc(' '.join(cmd), shell=True)