summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-09-27 19:01:17 +0000
committerSamuli Suominen <drac@gentoo.org>2007-09-27 19:01:17 +0000
commitd6c130ed71105c6d71f091f01b5b67211d998ed8 (patch)
tree51af4a78393f469df12c85ea70ef2c43a355eed0 /gnome-extra/zim
parentcmake-2.4.7-r2 now uses the system libraries during the bootstrap process ins... (diff)
downloadgentoo-2-d6c130ed71105c6d71f091f01b5b67211d998ed8.tar.gz
gentoo-2-d6c130ed71105c6d71f091f01b5b67211d998ed8.tar.bz2
gentoo-2-d6c130ed71105c6d71f091f01b5b67211d998ed8.zip
Version bump wrt #188714, thanks to Chris Mayo for reporting.
(Portage version: 2.1.3.9)
Diffstat (limited to 'gnome-extra/zim')
-rw-r--r--gnome-extra/zim/ChangeLog8
-rw-r--r--gnome-extra/zim/files/digest-zim-0.203
-rw-r--r--gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch13
-rw-r--r--gnome-extra/zim/zim-0.20.ebuild42
4 files changed, 65 insertions, 1 deletions
diff --git a/gnome-extra/zim/ChangeLog b/gnome-extra/zim/ChangeLog
index 17da9cb15a56..5349e01e6fd2 100644
--- a/gnome-extra/zim/ChangeLog
+++ b/gnome-extra/zim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for gnome-extra/zim
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zim/ChangeLog,v 1.2 2007/02/27 16:03:29 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zim/ChangeLog,v 1.3 2007/09/27 19:01:16 drac Exp $
+
+*zim-0.20 (27 Sep 2007)
+
+ 27 Sep 2007; Samuli Suominen <drac@gentoo.org>
+ +files/zim-0.20-disable-update-desktop-database.patch, +zim-0.20.ebuild:
+ Version bump wrt #188714, thanks to Chris Mayo for reporting.
*zim-0.17 (27 Feb 2007)
diff --git a/gnome-extra/zim/files/digest-zim-0.20 b/gnome-extra/zim/files/digest-zim-0.20
new file mode 100644
index 000000000000..48ccf7b457ac
--- /dev/null
+++ b/gnome-extra/zim/files/digest-zim-0.20
@@ -0,0 +1,3 @@
+MD5 51a6486b13e2656656fe081bbf0a7a91 Zim-0.20.tar.gz 198473
+RMD160 c17d57e93f1de3a17f34546234dc84e9d60b4fcb Zim-0.20.tar.gz 198473
+SHA256 fab788005aa1b3cef20d32e8a386e9cc75a8cc7b984fc511e64d7e32faea5903 Zim-0.20.tar.gz 198473
diff --git a/gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch b/gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch
new file mode 100644
index 000000000000..0ff1f905f246
--- /dev/null
+++ b/gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch
@@ -0,0 +1,13 @@
+diff -ur Zim-0.20.orig/Build.PL Zim-0.20/Build.PL
+--- Zim-0.20.orig/Build.PL 2007-08-19 14:42:43.000000000 +0300
++++ Zim-0.20/Build.PL 2007-09-27 21:49:32.000000000 +0300
+@@ -79,9 +79,6 @@
+ }
+
+ $self->SUPER::ACTION_install(@_);
+-
+- print "Trying to run 'update-desktop-database' ... ";
+- print system('update-desktop-database') ? "Failed\n" : "Ok\n";
+ }
+
+ sub install_base_relative { # define install base path for share data
diff --git a/gnome-extra/zim/zim-0.20.ebuild b/gnome-extra/zim/zim-0.20.ebuild
new file mode 100644
index 000000000000..cd38ac719a69
--- /dev/null
+++ b/gnome-extra/zim/zim-0.20.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zim/zim-0.20.ebuild,v 1.1 2007/09/27 19:01:16 drac Exp $
+
+inherit 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="spell trayicon"
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=x11-libs/gtk+-2.4
+ virtual/perl-Storable
+ virtual/perl-File-Spec
+ dev-perl/File-BaseDir
+ dev-perl/File-MimeInfo
+ dev-perl/File-DesktopEntry
+ dev-perl/gtk2-perl
+ trayicon? ( dev-perl/gtk2-trayicon )
+ spell? ( dev-perl/gtk2-spell )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES="${FILESDIR}/${P}-disable-update-desktop-database.patch"
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ perl-module_pkg_postrm
+ fdo-mime_desktop_database_update
+}