SHA256
1
0
forked from pool/xdg-utils

Accepting request 71040 from X11:common:Factory

- Fix xdg-open to probably parse the version for KDE4 (bnc#694543) (forwarded request 70894 from christiantrippe)

OBS-URL: https://build.opensuse.org/request/show/71040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-utils?expand=0&rev=18
This commit is contained in:
Sascha Peilicke 2011-05-23 14:05:08 +00:00 committed by Git OBS Bridge
commit 8ac97f77b9
2 changed files with 18 additions and 0 deletions

View File

@ -506,3 +506,16 @@ Index: xdg-utils-1.0.2/scripts/xdg-screensaver
screensaver_kde()
{
case "$1" in
Index: xdg-utils-1.0.2/scripts/xdg-open
===================================================================
--- xdg-utils-1.0.2.orig/scripts/xdg-open
+++ xdg-utils-1.0.2/scripts/xdg-open
@@ -315,7 +315,7 @@ detectDE()
kfmclient_fix_exit_code()
{
- version=`kde-config --version 2>/dev/null | grep KDE`
+ version=`kde${KDE_SESSION_VERSION}-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/'`

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 21 13:48:19 UTC 2011 - ctrippe@opensuse.org
- Fix xdg-open to probably parse the version for KDE4 (bnc#694543)
-------------------------------------------------------------------
Tue Jul 20 21:21:59 UTC 2010 - reddwarf@opensuse.org