summaryrefslogtreecommitdiff
path: root/gnome-extra/zim
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-16 18:25:51 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-16 18:25:51 +0200
commitd9ec8413744faaba3543bff9773bdad9786260ab (patch)
treee3cb78524323873b8f164c43c1816e2bc3b86ff3 /gnome-extra/zim
parentbf18b144c79fc2d322d627eccd267973b4ee3812 (diff)
downloadoverlay-d9ec8413744faaba3543bff9773bdad9786260ab.tar.gz
overlay-d9ec8413744faaba3543bff9773bdad9786260ab.tar.bz2
overlay-d9ec8413744faaba3543bff9773bdad9786260ab.zip
Added stuff from laptop
Diffstat (limited to 'gnome-extra/zim')
-rw-r--r--gnome-extra/zim/Manifest3
-rw-r--r--gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch13
-rw-r--r--gnome-extra/zim/zim-0.23.ebuild47
3 files changed, 63 insertions, 0 deletions
diff --git a/gnome-extra/zim/Manifest b/gnome-extra/zim/Manifest
new file mode 100644
index 0000000..e0be12c
--- /dev/null
+++ b/gnome-extra/zim/Manifest
@@ -0,0 +1,3 @@
+AUX zim-0.20-disable-update-desktop-database.patch 430 RMD160 b637fe0c857a49b03c06161152aacf7cbdbe1f31 SHA1 91e683e8f201ff7fab19f42842c45a419308f058 SHA256 db421d2df42bc9f45f0cd4cceba4da851dce57b7cc479ef7c5e640ee991a7cfc
+DIST Zim-0.23.tar.gz 461917 RMD160 7440cf787d23c6df27d4c97480f5ac272687f2ed SHA1 ce981952aba6548ddb0d7c9cc5c42fe7f2ccaf24 SHA256 8375494d71222ab73865123ef9065be83ddba86e843fa388df21d7d392b14088
+EBUILD zim-0.23.ebuild 1182 RMD160 1a1cc14169e54ca4f0451580d588d6029d7f6bfb SHA1 5628a50a2fa679f75aea58ed4d03c44bcc3a4de8 SHA256 81b5f172848367d1f867d1d3119ae00804a8d6add1531276393ce6494f9f417e
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 0000000..0ff1f90
--- /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.23.ebuild b/gnome-extra/zim/zim-0.23.ebuild
new file mode 100644
index 0000000..ea7ab86
--- /dev/null
+++ b/gnome-extra/zim/zim-0.23.ebuild
@@ -0,0 +1,47 @@
+# 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="latex screenshot spell trayicon"
+
+DEPEND=">=dev-lang/perl-5.8
+ >=x11-libs/gtk+-2.4
+ virtual/perl-Storable
+ virtual/perl-File-Spec
+ >=dev-perl/File-BaseDir-0.03
+ >=dev-perl/File-DesktopEntry-0.04
+ dev-perl/File-MimeInfo
+ dev-perl/gtk2-perl"
+
+PLUGINS="latex? ( virtual/latex-base app-text/dvipng )
+ screenshot? ( media-gfx/scrot )
+ spell? ( dev-perl/gtk2-spell )
+ trayicon? ( dev-perl/gtk2-trayicon )"
+
+RDEPEND="${DEPEND}
+${PLUGINS}"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES="${FILESDIR}/${PN}-0.20-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
+}