[Portland-bugs] [Bug 28218] New: kde-config is gone, renamed to kde4-config

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 23 05:03:40 PDT 2010


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

           Summary: kde-config is gone, renamed to kde4-config
           Product: Portland
           Version: 1.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: giecrilj at stegny.2a.pl


When I call `desktop-launch /', I get the following warnings:

/usr/bin/desktop-launch: line 321: test: : oczekiwano wyrażenia całkowitego
/usr/bin/desktop-launch: line 322: test: : oczekiwano wyrażenia całkowitego
/usr/bin/desktop-launch: line 323: test: : oczekiwano wyrażenia całkowitego

The reason is that kde-config is gone.  
The following patch fixes the problem.

*** /usr/bin/desktop-launch     2009-10-24 05:26:39.000000000 +0200
--- /tmp/ksocket-krzysztof/desktop-launch       2010-05-23 13:56:38.622084191
+0200
*************** detectDE()
*** 314,320 ****

  kfmclient_fix_exit_code()
  {
!     version=`kde-config --version 2>/dev/null | grep KDE`
      major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'`
      minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'`
      release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'`
--- 314,320 ----

  kfmclient_fix_exit_code()
  {
!     version=`kde4-config --version 2>/dev/null | grep KDE`
      major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'`
      minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'`
      release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'`

-- 
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