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.
Note: I skipped to patch the $Header line
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.
I can confirm that this patch works also for the newer version 1.29, which was released today.
Bumped. Thanks!