summaryrefslogtreecommitdiff
path: root/x11-misc/zim/files/zim-0.25-disable-update-databases.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-misc/zim/files/zim-0.25-disable-update-databases.patch35
1 files changed, 35 insertions, 0 deletions
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
new file mode 100644
index 0000000..7866ab3
--- /dev/null
+++ b/x11-misc/zim/files/zim-0.25-disable-update-databases.patch
@@ -0,0 +1,35 @@
+--- 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" ;
++# }
+
+ }
+