Accepting request 84861 from home:vuntz:branches:GNOME:Factory

Update to 3.2.0

OBS-URL: https://build.opensuse.org/request/show/84861
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=125
This commit is contained in:
Vincent Untz 2011-09-27 11:24:09 +00:00 committed by Git OBS Bridge
parent fe8210c7e0
commit 38a69d50b3
5 changed files with 28 additions and 12 deletions

9
gnome
View File

@ -30,11 +30,11 @@ if test "$IS_LIVE_IMAGE" = "yes" ; then
## the desktop, since the desktop is not managed by nautilus anymore (by
## default)
if test -f /etc/xdg/menus/${XDG_MENU_PREFIX}applications.menu; then
if test -f /etc/xdg/menus/${XDG_MENU_PREFIX}applications.menu -a ! -f "${XDG_CONFIG_HOME}/menus/${XDG_MENU_PREFIX}applications.menu"; then
# Add live installer to the system tools menu (this is nice to have, and also
# required for the favorite app change below)
mkdir -p -m 0700 "${XDG_CONFIG_HOME}"
mkdir "${XDG_CONFIG_HOME}/menus"
mkdir -p "${XDG_CONFIG_HOME}/menus"
cat > "${XDG_CONFIG_HOME}/menus/${XDG_MENU_PREFIX}applications.menu" << EOF
<Menu>
<Name>Applications</Name>
@ -47,16 +47,19 @@ if test "$IS_LIVE_IMAGE" = "yes" ; then
</Menu>
</Menu>
EOF
fi
# Add live installer as favorite application to gnome-shell dash
FAVORITES=`gsettings get org.gnome.shell favorite-apps`
if test $? -eq 0; then
echo ${FAVORITES} | grep -q YaST2-live-installer.desktop
if test $? -ne 0; then
FAVORITES=`echo ${FAVORITES} | sed "s:^\[:\['YaST2-live-installer.desktop', :"`
gsettings set org.gnome.shell favorite-apps "${FAVORITES}"
fi
fi
# FIXME: we need to add a launcher for gnome-panel (fallback mode)
fi
## Other tweaks

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:483f62bbb26dca1eb573509fafc30782e9d4e5023eacf4eabedef31f47831ef9
size 821304

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e42fd02cf0bc759c2dfee71cb70b0b6acefe84b8904e8e1d1fe36f475abae405
size 822932

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Sep 26 10:44:11 UTC 2011 - vuntz@opensuse.org
- Update to version 3.2.0:
+ Updated translations.
- Update /usr/bin/gnome script to improve logging in twice on a
live image:
+ Use -p with mkdir, to avoid failing when creating a directory
that already exists.
+ Do not overwrite pre-existing user applications.menu.
+ Do not add a second YaST2-live-installer.desktop favorite for
gnome-shell.
-------------------------------------------------------------------
Tue Sep 20 07:39:31 UTC 2011 - vuntz@opensuse.org

View File

@ -18,13 +18,13 @@
Name: gnome-session
Version: 3.1.92
Version: 3.2.0
Release: 1
License: GPLv2+
Summary: Session Tools for the GNOME Desktop
Url: http://www.gnome.org
Group: System/GUI/GNOME
Source: http://download.gnome.org/sources/gnome-session/3.1/%{name}-%{version}.tar.bz2
Source: http://download.gnome.org/sources/gnome-session/3.2/%{name}-%{version}.tar.bz2
Source1: gnome
Source2: gnome.desktop
# Temporarly needed until we get upstream to ship the right icon for suspend