pkgsrc/x11/kdebase3/patches/patch-cb
markd 4c754d16e1 Update to KDE 3.5.2
* Klipper
  o Handle URLs as URLs and not as Text
  o Prevent crashes caused by corrupted history
  o XFixes support (especially helps with broken clipboard
    implementations of some non-KDE applications)
  o Images are ignored by default, add 'IgnoreImages=false' to
    '[General]' in klipperrc
  o Avoid repeated action popup with the same URL with some
    non-KDE applications with broken clipboard implementations
* Konsole
  o Correct issue where history size is unlimited when dealing
    with History options in profiles
  o Correctly set Tab bar when set to Dynamic Hide after session
    restore
* Country settings
  o Fix short date format for Switzerland
  o Fix address format (especially P.O. Box) for Switzerland
* KSysGuard
  o Show the sensors with values of more than two digits correctly
    in the applet
* Kicker
  o Connect the applications to systray correctly on startup
  o Panels properly reserve space at screen edges even for
    differently sized Xinerama screens
* Konqueror
  o Resolve symlinks only on the desktop
* KWin
  o Added new window-specific rules for OpenOffice.org, XV and
    Mozilla family applications for turning off focus stealing
    prevention, as these applications don't work well with it
  o Reverted a workaround that as a side-effect had broken systray
    docking of some applications
  o Each virtual desktop has a separate focus chain
* KDesktop
  o Fixed stacking of some dialogs
2006-03-30 02:39:39 +00:00

70 lines
2.1 KiB
Text

$NetBSD: patch-cb,v 1.5 2006/03/30 02:39:39 markd Exp $
--- khelpcenter/searchhandlers/khc_docbookdig.pl.in.orig 2006-03-17 23:17:24.000000000 +1300
+++ khelpcenter/searchhandlers/khc_docbookdig.pl.in
@@ -26,8 +26,8 @@ use strict;
use Getopt::Long;
-my $htdigdata = "/srv/www/htdig/common/";
-my $htdigbin = "/usr/bin";
+my $htdigdata = "@prefix@/share/htdig/common/";
+my $htdigbin = "@prefix@/bin";
my $kdeprefix = "@prefix@";
chomp $kdeprefix;
@@ -89,7 +89,7 @@ $ENV{ PATH } = '/bin:/usr/bin';
$ENV{ CDPATH } = '';
$ENV{ ENV } = '';
-my $findpath = "$kdeprefix/share/doc/HTML/$lang/";
+my $findpath = "$kdeprefix/share/doc/kde/HTML/$lang/";
my $findcmd = "find $findpath -name index.docbook";
print STDERR "FINDCMD: $findcmd\n";
@@ -126,21 +126,24 @@ if ( !open( PARSER, ">$parserfile" ) ) {
print PARSER << "EOT";
#! /bin/sh
+PATH=/bin:/usr/bin:\$PATH
+export PATH
+
file=\$1
shift
mime=\$1
shift
if test "\$#" -gt 0; then
- orig=\${1/file:\\//}
+ orig=`echo \$1 | sed -e 's=file:=/='`
shift
fi
case "\$orig" in
help:/*)
- orig=\${orig/help:\\//}
- orig=\${orig/\/index.docbook/}
- cd $kdeprefix/share/doc/HTML/en/\$orig
+ orig=\${orig#help:}
+ orig=\${orig\%/index.docbook}
+ cd $kdeprefix/share/doc/kde/HTML/en/\$orig
file=index.docbook
;;
*)
@@ -167,14 +170,14 @@ common_dir: $commondir
locale: $locale
database_dir: $htdigdb
database_base: \${database_dir}/$identifier
-local_urls: help://=$kdeprefix/share/doc/HTML/en/ file://=/
+local_urls: help://=$kdeprefix/share/doc/kde/HTML/en/ file://=/
local_urls_only: true
limit_urls_to: file:// help:/
ignore_noindex: true
max_hop_count: 4
robotstxt_name: kdedig
compression_level: 6
-template_map: Long long $kdeprefix/share/apps/khelpcenter/searchhandlers/htdig/htdig_long.html
+template_map: Long long $kdeprefix/share/kde/apps/khelpcenter/searchhandlers/htdig/htdig_long.html
search_algorithm: exact:1 prefix:0.8
maximum_pages: 1
matches_per_page: 10