diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2008-11-29 20:54:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2008-11-29 20:54:37 +0000 |
commit | cd845d2a497718c8b076537afdebdb6e393bd8eb (patch) | |
tree | 20e21b51c74c1d8a97db0ce2634e0c35994cc4f0 /x11-misc | |
parent | Version bump for Alessio Cassibba #248776 by Rodrigo Severo. (diff) | |
download | gentoo-2-cd845d2a497718c8b076537afdebdb6e393bd8eb.tar.gz gentoo-2-cd845d2a497718c8b076537afdebdb6e393bd8eb.tar.bz2 gentoo-2-cd845d2a497718c8b076537afdebdb6e393bd8eb.zip |
Version bump for bug 226143, thanks to René Neumann and Ilya Kashirin.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/zim/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/zim/files/zim-0.27-disable-updates.patch | 14 | ||||
-rw-r--r-- | x11-misc/zim/zim-0.27.ebuild | 55 |
3 files changed, 76 insertions, 1 deletions
diff --git a/x11-misc/zim/ChangeLog b/x11-misc/zim/ChangeLog index f5b7319b9d03..e22c0e580650 100644 --- a/x11-misc/zim/ChangeLog +++ b/x11-misc/zim/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/zim # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.2 2008/05/12 10:49:48 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/ChangeLog,v 1.3 2008/11/29 20:54:37 ssuominen Exp $ + +*zim-0.27 (29 Nov 2008) + + 29 Nov 2008; <ssuominen@gentoo.org> +files/zim-0.27-disable-updates.patch, + +zim-0.27.ebuild: + Version bump for bug 226143, thanks to René Neumann and Ilya Kashirin. *zim-0.23 (25 Apr 2008) diff --git a/x11-misc/zim/files/zim-0.27-disable-updates.patch b/x11-misc/zim/files/zim-0.27-disable-updates.patch new file mode 100644 index 000000000000..6f59d1b2bbe1 --- /dev/null +++ b/x11-misc/zim/files/zim-0.27-disable-updates.patch @@ -0,0 +1,14 @@ +diff -ur Zim-0.27.orig/Build.PL Zim-0.27/Build.PL +--- Zim-0.27.orig/Build.PL 2008-11-12 22:02:21.000000000 +0200 ++++ Zim-0.27/Build.PL 2008-11-29 22:31:42.000000000 +0200 +@@ -202,8 +202,8 @@ + my $mimedir = File::Spec->catdir($sharedir, 'mime'); + my $icon = File::Spec->catfile($sharedir, 'pixmaps', 'zim.png'); + for ( +- ['update-desktop-database'], +- ['update-mime-database', $mimedir], ++ # ['update-desktop-database'], ++ # ['update-mime-database', $mimedir], + # [qw{xdg-icon-resource install --context apps --size 64}, + # $icon], + [qw{xdg-icon-resource install --context mimetypes --size 64}, diff --git a/x11-misc/zim/zim-0.27.ebuild b/x11-misc/zim/zim-0.27.ebuild new file mode 100644 index 000000000000..2c6683f2410e --- /dev/null +++ b/x11-misc/zim/zim-0.27.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/zim/zim-0.27.ebuild,v 1.1 2008/11/29 20:54:37 ssuominen Exp $ + +inherit eutils fdo-mime perl-module + +MY_P=${P/z/Z} + +DESCRIPTION="A desktop wiki" +HOMEPAGE="http://pardus-larus.student.utwente.nl/~pardus/projects/zim" +SRC_URI="http://pardus-larus.student.utwente.nl/~pardus/downloads/Zim/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="latex screenshot spell" + +DEPEND=">=dev-lang/perl-5.8 + >=x11-libs/gtk+-2.10 + virtual/perl-Storable + virtual/perl-File-Spec + >=dev-perl/File-BaseDir-0.03 + >=dev-perl/File-MimeInfo-0.12 + >=dev-perl/File-DesktopEntry-0.03 + >=dev-perl/gtk2-perl-1.040 + x11-misc/xdg-utils" +RDEPEND="${DEPEND} + latex? ( virtual/latex-base app-text/dvipng ) + screenshot? ( media-gfx/scrot ) + spell? ( dev-perl/gtk2-spell )" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}/${PN}-0.27-disable-updates.patch" ) + +src_install() { + doicon share/pixmaps/zim.png + perl-module_src_install +} + +pkg_postinst() { + perl-module_pkg_postinst + fdo-mime_desktop_database_update + xdg-icon-resource install --context mimetypes --size 64 \ + "${ROOT}/usr/share/pixmaps/zim.png" \ + application-x-zim-notebook || die "xdg-icon-resource install failed." +} + +pkg_postrm() { + perl-module_pkg_postrm + fdo-mime_desktop_database_update + xdg-icon-resource uninstall --context mimetypes --size 64 \ + application-x-zim-notebook || die "xdg-icon-resource uninstall failed." + +} |