Bug#237260: patch to fix error
Package: kdelibs-bin
Version: 4:3.2.1-1
Severity: normal
Followup-For: Bug #237260
Hi, I got this on both my machines too. Here's a patch of the changes I
made to get this working again. The replacewith documentation says
this:
replacewith($s, $replace, $with)
Search $s for occurrences of characters from string replace, and replace
them by the corresponding character in $with.
Example: replacewith("hello $world, %dir", "$% ", "123")
returns: "hello31world,32dir"
So each character in the $replace string needs a corresponding character
in the $with string.
Hope that helps,
Chris
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.3shawn
Locale: LANG=en_GB, LC_CTYPE=de_DE@euro
Versions of packages kdelibs-bin depends on:
ii kdelibs4 4:3.2.1-1 KDE core libraries
ii libart-2.0-2 2.3.16-3 Library of functions for 2D graphi
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libcupsys2 1.1.20final+cvs20040317-3 Common UNIX Printing System(tm) -
ii libfam0c102 2.7.0-5 client library to control the FAM
ii libgcc1 1:3.3.3-5 GCC support library
ii libgcrypt1 1.1.12-4 LGPL Crypto library - runtime libr
ii libgnutls7 0.8.12-5 GNU TLS library - runtime library
ii libice6 4.3.0-7 Inter-Client Exchange library
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii libqt3c102-mt 3:3.2.3-2 Qt GUI Library (Threaded runtime v
ii libsm6 4.3.0-7 X Window System Session Management
ii libstdc++5 1:3.3.3-5 The GNU Standard C++ Library v3
ii libtasn1-0 0.1.2-1 Manage ASN.1 structures (runtime)
ii libx11-6 4.3.0-7 X Window System protocol client li
ii libxext6 4.3.0-7 X Window System miscellaneous exte
ii libxml2 2.6.7-1 GNOME XML library
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii libxslt1.1 1.1.2-3 XSLT processing library - runtime
ii netpbm 2:10.0-3 Graphics conversion tools
ii python 2.3.3-7 An interactive high-level object-o
ii xlibs 4.3.0-7 X Window System client libraries m
ii zlib1g 1:1.2.1-5 compression library - runtime
-- no debconf information
--- /etc/menu-methods/freedesktop-desktop-entry-spec-apps 2004-02-17 23:40:27.000000000 +0100
+++ freedesktop-desktop-entry-spec-apps 2004-04-06 20:02:57.000000000 +0200
@@ -33,7 +33,7 @@
treewalk = "M";
-genmenu = ifnempty($command,tolower(replacewith($title,"/ ","_") ".desktop"));
+genmenu = ifnempty($command,tolower(replacewith($title,"/ ","__") ".desktop"));
rootsection = "";
--- /etc/menu-methods/freedesktop-desktop-entry-spec-dirs 2004-02-17 23:40:27.000000000 +0100
+++ freedesktop-desktop-entry-spec-dirs 2004-04-06 20:02:57.000000000 +0200
@@ -30,7 +30,7 @@
treewalk = "M";
-genmenu = ifempty($command,tolower("debian" replacewith($section,"/ ","-") ".directory"));
+genmenu = ifempty($command,tolower("debian" replacewith($section,"/ ","--") ".directory"));
rootsection = "";
Reply to: