[Portland-bugs] [Bug 32924] New: [PATCH] [xdg-email] xdg-email outputs errors with localized KDE4

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 8 14:46:37 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=32924

           Summary: [PATCH] [xdg-email] xdg-email outputs errors with
                    localized KDE4
           Product: Portland
           Version: 1.1.0 rc1
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: Luc.Menut at supagro.inra.fr


xdg-email still outputs errors with KDE4 and some locale, because of issues in
kfmclient_fix_exit_code().
with KDE4 in french:
xdg-email portland at lists.freedesktop.org
/usr/bin/xdg-email: line 391: test:  : nombre entier attendu comme expression
/usr/bin/xdg-email: line 392: test:  : nombre entier attendu comme expression
/usr/bin/xdg-email: line 393: test:  : nombre entier attendu comme expression

kde${KDE_SESSION_VERSION}-config --version 2>/dev/null
Qt : 4.6.2
Plate-forme de développement de KDE : 4.4.3 (KDE 4.4.3)
kde4-config : 1.0

the following commit to xdg-utils-common.in doesn't fix the issue in
kfmclient_fix_exit_code() for KDE 4 with some locale.
http://cgit.freedesktop.org/portland/xdg-utils/commit/?id=2b0372adfb710d8b4cc6406cf4a24eb578d27bf5
2010-11-18 Rex Dieter <rdieter at fedoraproject.org>
* fixup kfmclient_fix_exit_code() for newer kde-config output * fix typo in
xdg-mime manpage

As kfmclient_fix_exit_code() is usefull only for KDE <= 3.5.4 (see its
comment), I think that xdg-email shouldn't call kfmclient_fix_exit_code with
KDE 4 (like it is done in xdg-open).

The patch in attachment fixes this issue in this way.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list