summaryrefslogtreecommitdiff
path: root/x11-misc/zim
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/zim')
-rw-r--r--x11-misc/zim/Manifest3
-rw-r--r--x11-misc/zim/files/zim-0.25-disable-update-databases.patch35
-rw-r--r--x11-misc/zim/zim-0.25.ebuild72
3 files changed, 0 insertions, 110 deletions
diff --git a/x11-misc/zim/Manifest b/x11-misc/zim/Manifest
deleted file mode 100644
index c9b6df8..0000000
--- a/x11-misc/zim/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-AUX zim-0.25-disable-update-databases.patch 1176 RMD160 f84b1628e7f330634a08ea3f7c29b2fd734431f0 SHA1 4c78e4f44756f84489ce015740151988756fc92f SHA256 6d7008ab7f1d99cea871281d5946a96222cdf23ca5b846613b12d62e62ef3f37
-DIST Zim-0.25.tar.gz 693885 RMD160 d043ab386bc7300c87c785fcdcffd45797597505 SHA1 6af56fefdb7583c375e0e761d503c9a7100a76e5 SHA256 18c3913d5abfb21662137dfdf89e3739d7239332dd3fd9b2b646bb9f315a5d7c
-EBUILD zim-0.25.ebuild 1846 RMD160 da7d2f0d42cab2915a492227f1b0a3f9c0935179 SHA1 905c0a6ccb34288761d8ec11326b2d8658e68d27 SHA256 fb9e02d15324bdf15141362f15638265a21c7d9cc17d5bba2d28deb6ea8da7a8
diff --git a/x11-misc/zim/files/zim-0.25-disable-update-databases.patch b/x11-misc/zim/files/zim-0.25-disable-update-databases.patch
deleted file mode 100644
index 7866ab3..0000000
--- a/x11-misc/zim/files/zim-0.25-disable-update-databases.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- Build.PL.old 2008-06-12 22:52:35.319329618 +0200
-+++ Build.PL 2008-06-12 22:53:40.595080260 +0200
-@@ -187,19 +187,19 @@
- sub ACTION_postinstall {
- my $self = shift;
- my $sharedir = $self->install_destination('share');
-- my $mimedir = File::Spec->catdir($sharedir, 'mime');
-- my $icon = File::Spec->catfile($sharedir, 'pixmaps', 'zim.png');
-- for (
-- ['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},
-- $icon, q{text-x-zim-notebook}],
-- ) {
-- print "Trying: @$_\n";
-- print system(@$_) == 0 ? "Ok\n\n" : "Failed\n\n" ;
-- }
-+# my $mimedir = File::Spec->catdir($sharedir, 'mime');
-+# my $icon = File::Spec->catfile($sharedir, 'pixmaps', 'zim.png');
-+# for (
-+# ['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},
-+# $icon, q{text-x-zim-notebook}],
-+# ) {
-+# print "Trying: @$_\n";
-+# print system(@$_) == 0 ? "Ok\n\n" : "Failed\n\n" ;
-+# }
-
- }
-
diff --git a/x11-misc/zim/zim-0.25.ebuild b/x11-misc/zim/zim-0.25.ebuild
deleted file mode 100644
index 0528405..0000000
--- a/x11-misc/zim/zim-0.25.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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.23.ebuild,v 1.1 2008/05/11 14:24:35 drac Exp $
-
-EAPI=1
-
-inherit fdo-mime perl-module
-
-MY_P=${P/z/Z}
-
-DESCRIPTION="A desktop wiki"
-HOMEPAGE="http://www.zim-wiki.org"
-SRC_URI="http://www.zim-wiki.org/downloads/${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.25-disable-update-databases.patch" )
-
-add_plugin() {
- name=$1
-
- sed -i -e "s/\(plugins=.*\)\$/\1,$name/" "${S}/share/zim/default.conf"
-}
-
-src_compile() {
- add_plugin TrayIcon
- use latex && add_plugin EquationEditor
- use screenshot && add_plugin InsertScreenshot
- use spell && add_plugin Spell
-
- perl-module_src_compile
-}
-
-pkg_postinst() {
- perl-module_pkg_postinst
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- einfo "Adding icon resource ..."
- xdg-icon-resource install --context mimetypes --size 64 "${ROOT}usr/share/pixmaps/zim.png" text-x-zim-notebook
-}
-
-pkg_postrm() {
- perl-module_pkg_postrm
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- # XXX: for up-/downgrades postinst is run first
- # thus we are then reverting the "xdg-icon-resource install" call and
- # nothing gets installed =/
- einfo "Removing icon resource ..."
- xdg-icon-resource uninstall --context mimetypes --size 64 text-x-zim-notebook
-}