SHA256
1
0
forked from pool/xdg-utils

Accepting request 131396 from home:bmwiedemann:branches:X11:common:Factory

Fix generic su (bnc#776202)

note: the XSU variable is never used in the script
and we dont have any xsu in 12.2 anyway
so it uses xterm+su

OBS-URL: https://build.opensuse.org/request/show/131396
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-utils?expand=0&rev=20
This commit is contained in:
Ismail Dönmez 2012-08-23 08:42:59 +00:00 committed by Git OBS Bridge
parent 8f21da7bce
commit 75d85cd6b3
3 changed files with 20 additions and 0 deletions

13
xdg-su-generic.diff Normal file
View File

@ -0,0 +1,13 @@
Index: xdg-utils-20120310/scripts/xdg-su.in
===================================================================
--- xdg-utils-20120310.orig/scripts/xdg-su.in
+++ xdg-utils-20120310/scripts/xdg-su.in
@@ -145,7 +145,7 @@ fi
detectDE
if [ x"$DE" = x"" ]; then
- XSU=`which xsu 2>/dev/null`
+ XSU=`which xterm 2>/dev/null`
if [ $? -eq 0 ] ; then
DE=generic
fi

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 23 08:30:11 UTC 2012 - bwiedemann@suse.com
- Fix generic su (bnc#776202)
-------------------------------------------------------------------
Fri Jun 29 00:27:04 CEST 2012 - jslaby@suse.de

View File

@ -34,6 +34,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: xdg-utils-%{version}.tar.xz
Patch0: install-some-more-scripts.diff
Patch1: xfce-su.diff
Patch2: xdg-su-generic.diff
Patch8: xdg-screensaver-gnome-perl.diff
Requires: perl
Requires: perl-Net-DBus
@ -60,6 +61,7 @@ these utilities work properly in their environment.
%setup -q -n %name-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch8 -p1
%build