OBS User autobuild 2009-10-08 01:03:19 +00:00 committed by Git OBS Bridge
parent b258ffc98c
commit 5c27223414
4 changed files with 1 additions and 44 deletions

View File

@ -1,12 +0,0 @@
#!/bin/bash
#
# Script to start a GNOME session in a GNOME 3 preview mode.
#
if test -n "$XDG_CONFIG_DIRS"; then
export XDG_CONFIG_DIRS=/usr/share/gnome-shell/xdg-override:$XDG_CONFIG_DIRS
else
export XDG_CONFIG_DIRS=/usr/share/gnome-shell/xdg-override:/etc/xdg
fi
exec /usr/bin/gnome $*

View File

@ -1,14 +1,3 @@
-------------------------------------------------------------------
Wed Oct 7 13:14:17 CEST 2009 - vuntz@opensuse.org
- Create a preview mode for GNOME 3 that can be started from gdm:
+ install a .desktop file in /usr/share/xsessions.
+ this .desktop file starts a script that will prepend a custom
directory to XDG_CONFIG_DIRS and then start the usual GNOME
script.
+ the custom directory contain an autostart file for gnome-shell,
that overrides the default gnome-panel+windowmanager combo.
-------------------------------------------------------------------
Wed Sep 16 19:03:01 CEST 2009 - lmedinas@opensuse.org

View File

@ -40,14 +40,9 @@ Version: 2.27.3
Release: 1
Summary: GNOME Shell
Source: %{name}-%{version}.tar.bz2
# To integrate a preview mode in GDM.
# Note: this also explains the Requires on gnome-session below.
Source1: gnome-shell-session
Source2: gnome3.desktop
# PATCH-FIX-OPENSUSE gnome-shell-libmozjs.patch vuntz@novell.com -- LD_LIBRARY_PATH neeeds to be set on 11.1
Patch99: gnome-shell-libmozjs.patch
Requires: %{name}-lang = %{version}
Requires: gnome-session
# mutter-devel doesn't automatically bring mutter
Requires: mutter
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -81,13 +76,6 @@ find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
%find_lang %{name}
%suse_update_desktop_file %{name}
%find_gconf_schemas
# Preview mode for GNOME 3
install -m755 %{S:1} %{buildroot}%{_libexecdir}/%{name}/
install -d -m755 %{buildroot}%{_datadir}/xsessions
install -m644 %{S:2} %{buildroot}%{_datadir}/xsessions/
%suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/gnome3.desktop
install -d -m755 %{buildroot}%{_datadir}/gnome-shell/xdg-override/autostart
cp %{buildroot}%{_datadir}/applications/gnome-shell.desktop %{buildroot}%{_datadir}/gnome-shell/xdg-override/autostart/
%clean
rm -rf $RPM_BUILD_ROOT
@ -108,8 +96,7 @@ rm -rf $RPM_BUILD_ROOT
%endif
%{_libdir}/mutter/plugins/*.so
%{_datadir}/applications/*.desktop
%{_datadir}/gnome-shell/
%{_datadir}/xsessions/*.desktop
%{_datadir}/gnome-shell
%files lang -f %{name}.lang

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/usr/lib/gnome-shell/gnome-shell-session
TryExec=/usr/lib/gnome-shell/gnome-shell-session
Name=GNOME 3 Preview
Comment=The GNU Network Object Model Environment. A complete, free and easy-to-use desktop environment