diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-10-04 08:35:15 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-10-04 08:35:15 +0000 |
commit | 223a41503ce6749defaddea61e0263ea60efcb1e (patch) | |
tree | b6ef285f3d0743bae32dea422510587eb7bb5342 /x11-misc/zim | |
parent | Version bump (thanks to poncho for his help with ebuild) (diff) | |
download | gentoo-2-223a41503ce6749defaddea61e0263ea60efcb1e.tar.gz gentoo-2-223a41503ce6749defaddea61e0263ea60efcb1e.tar.bz2 gentoo-2-223a41503ce6749defaddea61e0263ea60efcb1e.zip |
Version bump.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc/zim')
-rw-r--r-- | x11-misc/zim/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/zim/files/zim-0.62-desktop.patch | 11 | ||||
-rw-r--r-- | x11-misc/zim/zim-0.62.ebuild (renamed from x11-misc/zim/zim-0.60.ebuild) | 22 |
3 files changed, 36 insertions, 5 deletions
diff --git a/x11-misc/zim/ChangeLog b/x11-misc/zim/ChangeLog index e2c694015583..93458152f094 100644 --- a/x11-misc/zim/ChangeLog +++ b/x11-misc/zim/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/zim # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.23 2014/08/28 09:55:22 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.24 2014/10/04 08:35:15 jer Exp $ + +*zim-0.62 (04 Oct 2014) + + 04 Oct 2014; Jeroen Roovers <jer@gentoo.org> -zim-0.60.ebuild, + +zim-0.62.ebuild, +files/zim-0.62-desktop.patch: + Version bump. *zim-0.61 (28 Aug 2014) diff --git a/x11-misc/zim/files/zim-0.62-desktop.patch b/x11-misc/zim/files/zim-0.62-desktop.patch new file mode 100644 index 000000000000..b2494509b381 --- /dev/null +++ b/x11-misc/zim/files/zim-0.62-desktop.patch @@ -0,0 +1,11 @@ +--- a/xdg/zim.desktop ++++ b/xdg/zim.desktop +@@ -7,7 +7,7 @@ + Terminal=false + Categories=Utility;TextEditor;GTK; + MimeType=application/x-zim-notebook;text/x-zim-wiki;application/x-gjots; +-Keywords=Text;Editor;Write;Wiki;Notes;Notebook;Journal ++Keywords=Text;Editor;Write;Wiki;Notes;Notebook;Journal; + Name=Zim Desktop Wiki + Comment=Edit text files "wiki style" + GenericName=Text Editor diff --git a/x11-misc/zim/zim-0.60.ebuild b/x11-misc/zim/zim-0.62.ebuild index c87fb0d7074c..7ace0df20df1 100644 --- a/x11-misc/zim/zim-0.60.ebuild +++ b/x11-misc/zim/zim-0.62.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/zim-0.60.ebuild,v 1.1 2013/05/31 15:22:57 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/zim-0.62.ebuild,v 1.1 2014/10/04 08:35:15 jer Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite" DISTUTILS_SINGLE_IMPL=1 @@ -27,10 +27,24 @@ DEPEND="${RDEPEND} dev-vcs/git dev-vcs/mercurial )" -PATCHES=( "${FILESDIR}"/${P}-remove-ubuntu-theme.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch + "${FILESDIR}"/${P}-desktop.patch +) python_prepare() { sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die + + if [[ ${LINGUAS} ]]; then + local lingua + for lingua in translations/*.po; do + lingua=${lingua/.po} + lingua=${lingua/translations\/} + has ${lingua} ${LINGUAS} || \ + { rm translations/${lingua}.po || die; } + done + fi + distutils-r1_python_prepare } |