forked from pool/xdg-utils
Accepting request 131433 from X11:common:Factory
- update to snapshot from 20120809 * fix xdg-su for icewm (bnc#776202) * remove xfce-su.diff (merged) * few fixes (syntax errors in some cases and such) * see ChangeLog for updates OBS-URL: https://build.opensuse.org/request/show/131433 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdg-utils?expand=0&rev=26
This commit is contained in:
commit
3e53a0d7a3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:974f500adc492db1a45f647c4ca44ee9e5d315376b74521c1fd7a82b9f79ca6b
|
||||
size 271840
|
3
xdg-utils-20120809.tar.xz
Normal file
3
xdg-utils-20120809.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e25e9b356b6f58f6dd7e4d1148bf04d7292dd0d0ed54b6be4c257ac24d83d84
|
||||
size 272160
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 20 16:18:37 CEST 2012 - jslaby@suse.de
|
||||
|
||||
- update to snapshot from 20120809
|
||||
* fix xdg-su for icewm (bnc#776202)
|
||||
* remove xfce-su.diff (merged)
|
||||
* few fixes (syntax errors in some cases and such)
|
||||
* see ChangeLog for updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 29 00:27:04 CEST 2012 - jslaby@suse.de
|
||||
|
||||
|
@ -25,7 +25,7 @@ BuildRequires: w3m
|
||||
Summary: Utilities to uniformly interface desktop environments
|
||||
License: MIT
|
||||
Group: System/GUI/Other
|
||||
Version: 20120310
|
||||
Version: 20120809
|
||||
Release: 0
|
||||
BuildArch: noarch
|
||||
Url: http://portland.freedesktop.org/
|
||||
@ -33,7 +33,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# http://portland.freedesktop.org/download/xdg-utils-%%{version}.tgz
|
||||
Source0: xdg-utils-%{version}.tar.xz
|
||||
Patch0: install-some-more-scripts.diff
|
||||
Patch1: xfce-su.diff
|
||||
Patch8: xdg-screensaver-gnome-perl.diff
|
||||
Requires: perl
|
||||
Requires: perl-Net-DBus
|
||||
@ -54,18 +53,15 @@ If a desktop developer wants to be certain that their environment
|
||||
functions with all third party software, then can simply make sure that
|
||||
these utilities work properly in their environment.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %name-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch8 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
(cd scripts; make scripts)
|
||||
make %{?_smp_flags}
|
||||
(cd scripts; touch *.in; make %{?_smp_mflags} scripts)
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
34
xfce-su.diff
34
xfce-su.diff
@ -1,34 +0,0 @@
|
||||
---
|
||||
scripts/xdg-su.in | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
--- a/scripts/xdg-su.in
|
||||
+++ b/scripts/xdg-su.in
|
||||
@@ -93,6 +93,16 @@ su_generic()
|
||||
fi
|
||||
}
|
||||
|
||||
+
|
||||
+su_xfce()
|
||||
+{
|
||||
+ if which gnomesu &>/dev/null ; then
|
||||
+ su_gnome
|
||||
+ else
|
||||
+ su_generic
|
||||
+ fi
|
||||
+}
|
||||
+
|
||||
[ x"$1" != x"" ] || exit_failure_syntax
|
||||
|
||||
user=
|
||||
@@ -154,6 +164,10 @@ case "$DE" in
|
||||
su_generic
|
||||
;;
|
||||
|
||||
+ xfce)
|
||||
+ su_xfce
|
||||
+ ;;
|
||||
+
|
||||
*)
|
||||
[ x"$user" = x"" ] && user=root
|
||||
exit_failure_operation_impossible "no graphical method available for invoking '$cmd' as '$user'"
|
Loading…
Reference in New Issue
Block a user