summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-11-29 20:54:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-11-29 20:54:37 +0000
commit11960272a7188c9e472a4a58d52dc326fbea9efb (patch)
tree2f57ae1eb0339eb7b68bc3020e71b9f087cb64ab /x11-misc/zim
parentVersion bump for Alessio Cassibba #248776 by Rodrigo Severo. (diff)
downloadhistorical-11960272a7188c9e472a4a58d52dc326fbea9efb.tar.gz
historical-11960272a7188c9e472a4a58d52dc326fbea9efb.tar.bz2
historical-11960272a7188c9e472a4a58d52dc326fbea9efb.zip
Version bump for bug 226143, thanks to René Neumann and Ilya Kashirin.
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27.7 i686
Diffstat (limited to 'x11-misc/zim')
-rw-r--r--x11-misc/zim/ChangeLog8
-rw-r--r--x11-misc/zim/Manifest5
-rw-r--r--x11-misc/zim/files/zim-0.27-disable-updates.patch14
-rw-r--r--x11-misc/zim/zim-0.27.ebuild55
4 files changed, 80 insertions, 2 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/Manifest b/x11-misc/zim/Manifest
index 040e4465fc13..097194bc6612 100644
--- a/x11-misc/zim/Manifest
+++ b/x11-misc/zim/Manifest
@@ -1,5 +1,8 @@
AUX zim-0.20-disable-update-desktop-database.patch 430 RMD160 b637fe0c857a49b03c06161152aacf7cbdbe1f31 SHA1 91e683e8f201ff7fab19f42842c45a419308f058 SHA256 db421d2df42bc9f45f0cd4cceba4da851dce57b7cc479ef7c5e640ee991a7cfc
+AUX zim-0.27-disable-updates.patch 604 RMD160 be61a4d5eceb6dbd3180bd455b1e8d538010c68c SHA1 a41ea5cfa913910e0c189460950766b9e6ce0365 SHA256 fe61e919ab8f76dcce7ae5032a3e0b1219e0171bc36a838358120e3cc8e8fce9
DIST Zim-0.23.tar.gz 461917 RMD160 7440cf787d23c6df27d4c97480f5ac272687f2ed SHA1 ce981952aba6548ddb0d7c9cc5c42fe7f2ccaf24 SHA256 8375494d71222ab73865123ef9065be83ddba86e843fa388df21d7d392b14088
+DIST Zim-0.27.tar.gz 830516 RMD160 177a65b94a2bf74c2ca253e71595e6e59eab8de3 SHA1 ed8a75eae4295e0c1cf4b241027c4fc70f198cf3 SHA256 f427ebde44ed52a744de13fd4aa2fee32b2d9ac2315485bc607228d326909b14
EBUILD zim-0.23.ebuild 1184 RMD160 52235b53d30e6c24bf6c23fa55c61aa63134efa1 SHA1 ab4d4d4749495f4d330401fd027767f54eb83774 SHA256 a2d0e45d6dce2f8af104fdd7c5d79bdf8e91771039baeaa0b4a9f667c9e0c607
-MISC ChangeLog 1105 RMD160 bdebda6d8016a1ab333d20e82e959002cf357a3b SHA1 a57f31c6568c4c44d901e7149e3e1453bb73cb8b SHA256 1ab964960dcdbb816479235cd576cef2a7a7e8468f6544c548318a8ed23de5dc
+EBUILD zim-0.27.ebuild 1525 RMD160 324da96c4c96fa8413da2f77b1682919c146004f SHA1 50a28b41cac96921a495f4aabb8e88ea90714dc7 SHA256 b3ce95db4dc91d18b1ea5969772d56ad1d397c05e604a93822efd560d6fc1df7
+MISC ChangeLog 1307 RMD160 086ff0b2f283b7db7c0e5f0b0f03a904fb275209 SHA1 5712055e1311e1b0301d31f59816587eeddf7b11 SHA256 98177dbfce89bdd84eabe962d516c9971e89bb79522cfdd495467e3f53b64cf7
MISC metadata.xml 874 RMD160 a72c99b7321680908257782129f184e392585586 SHA1 21efa607b385d13b0803925b69a3d7e43c736bd6 SHA256 8ee34bd915a35a772c675c10a0f8454c34e16d48ce876a42137a4817fb336aa7
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."
+
+}