1
0
forked from pool/xfce4-session
xfce4-session/xfce4-session-adapt-session-script.patch
Stephan Kulow f5f25e4a8a Accepting request 116186 from X11:xfce
- update to version 4.10.0
  - remove remaining code to shutdown gconf
  - skip gpg/ssh-agent if GNOME compat is enabled and gnome-keyring
    found
  - replace mkdirhier with mkdir
  - translation updates

- update to version 4.9.2
  - make the buttons sensitive when using sudo
  - restore ssh and gpg agent starting
  - translation updates

- obsolete all xfce-utils subpackages packages properly
- obsolete xfce4-session-doc as well

- removed leftover dependency on xfce-utils
- recommend a minimal selection of packages for a Xfce session

- update to version 4.9.1
  - fix return value of CanSuspend and CanHibernate
  - make common no-reply error more subtile
  - bump package dependency versions
  - remove deprecated or unused code from xinit
  - fallback to old method for shutdown
  - improve xflock4 script
  - drop the sync code because it can segfault on ext2
  - always escape name and comment in dialog
  - translation updates
- drop xflock4.sh which has been included upstream

OBS-URL: https://build.opensuse.org/request/show/116186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfce4-session?expand=0&rev=54
2012-05-08 09:49:42 +00:00

47 lines
1.5 KiB
Diff

Index: xfce4-session-4.9.0/scripts/xinitrc.in
===================================================================
--- xfce4-session-4.9.0.orig/scripts/xinitrc.in
+++ xfce4-session-4.9.0/scripts/xinitrc.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# fix broken $UID on some system...
if test "x$UID" = "x"; then
@@ -38,12 +38,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
fi
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
-# set up XDG user directores. see
-# http://freedesktop.org/wiki/Software/xdg-user-dirs
-if which xdg-user-dirs-update >/dev/null 2>&1; then
- xdg-user-dirs-update
-fi
-
# Modify libglade and glade environment variables so that
# it will find the files installed by Xfce
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:/usr/share/glade3/catalogs"
Index: xfce4-session-4.9.0/scripts/xinitrc.in.in
===================================================================
--- xfce4-session-4.9.0.orig/scripts/xinitrc.in.in
+++ xfce4-session-4.9.0/scripts/xinitrc.in.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# fix broken $UID on some system...
if test "x$UID" = "x"; then
@@ -38,12 +38,6 @@ if test "x$XDG_CACHE_HOME" = "x" ; then
fi
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"
-# set up XDG user directores. see
-# http://freedesktop.org/wiki/Software/xdg-user-dirs
-if which xdg-user-dirs-update >/dev/null 2>&1; then
- xdg-user-dirs-update
-fi
-
# Modify libglade and glade environment variables so that
# it will find the files installed by Xfce
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:@XFCE_GLADE_CATALOG_PATH@"