Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504868 - app-text/calibre-1.29 version bump
Summary: app-text/calibre-1.29 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-03-17 08:35 UTC by Mikhail S. Pobolovets
Modified: 2014-03-21 10:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
calibre-1.28.ebuild (calibre-1.28.ebuild,6.69 KB, text/plain)
2014-03-17 08:35 UTC, Mikhail S. Pobolovets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail S. Pobolovets 2014-03-17 08:35:20 UTC
Created attachment 372848 [details]
calibre-1.28.ebuild

I've fixed ebuild of 1.25 to work with 1.28. See attachment please. The diff is really small.
Comment 1 Mikhail S. Pobolovets 2014-03-17 08:37:05 UTC
Note: I skipped to patch the $Header line
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-17 13:37:07 UTC
Comment on attachment 372848 [details]
calibre-1.28.ebuild

--- calibre-1.25.ebuild 2014-02-23 08:16:46.000000000 +0100
+++ -   2014-03-17 14:36:47.210284346 +0100
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.25.ebuild,v 1.1 2014/02/23 07:16:46 yngwin Exp $
+ # $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.25.ebuild,v 1.1 2014/02/23 07:16:46 yngwin Exp $
 
 EAPI=5
 
@@ -87,7 +87,7 @@
                -e "s|PreserveMIMEDefaults():||" \
                -e "s|xdg-icon-resource install|\\0 --mode user|" \
                -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-               -e "s|xdg-mime install|\\0 --mode user|" \
+               -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
                -i src/calibre/linux.py || die "sed failed to patch linux.py"
 
        # Disable unnecessary privilege dropping for bug #287067.
Comment 3 Frank Krömmelbein 2014-03-21 09:30:12 UTC
I can confirm that this patch works also for the newer version 1.29, which was released today.
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2014-03-21 10:53:48 UTC
Bumped. Thanks!