Hello community,

here is the log from the commit of package gnome-session for openSUSE:Factory
checked in at Thu Oct 13 12:22:15 CEST 2011.



--------
--- openSUSE:Factory/gnome-session/gnome-session.changes        2011-10-02 
10:07:33.000000000 +0200
+++ gnome-session/gnome-session.changes 2011-10-11 18:44:58.000000000 +0200
@@ -1,0 +2,20 @@
+Tue Oct 11 16:40:32 UTC 2011 - [email protected]
+
+- Update /usr/bin/gnome script to have an installer launcher on the
+  panel in fallback mode. We simply copy the panel default layout
+  for the live user, and append the definition of the launcher.
+  Fix bnc#702671.
+
+-------------------------------------------------------------------
+Mon Oct 10 12:19:53 UTC 2011 - [email protected]
+
+- Provide a gnome2-look-and-feel package that allows the user
+  to switch to GNOME 2 look and feel (GNOME Fallback mode) during
+  login or as his preferred default session:
+  + Simply copy the gnome.desktop X session definition to
+    gnome2-look-and-feel.desktop, and start the fallback mode from
+    there.
+  + This is meant to ease the transition of some users constantly
+    requiring the old look and feel.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-session.spec ++++++
--- /var/tmp/diff_new_pack.EBTIQJ/_old  2011-10-13 12:22:12.000000000 +0200
+++ /var/tmp/diff_new_pack.EBTIQJ/_new  2011-10-13 12:22:12.000000000 +0200
@@ -101,6 +101,15 @@
 This package contains the definition of the fallback GNOME session,
 which is used when the graphics are not hardware-accelerated.
 
+%package -n gnome2-look-and-feel
+Summary:        GNOME Desktop with the GNOME 2 Look and Feel
+Group:          System/GUI/GNOME
+Requires:       %{name}-fallback-session
+
+%description -n gnome2-look-and-feel
+This package contains the definition to choose in the display manager
+a GNOME 3 session that looks and feels like GNOME 2.
+
 %package core
 License:        GPLv2+
 Summary:        Session Manager for GNOME -- Minimal Version
@@ -149,9 +158,13 @@
 install -m755 %SOURCE1 %{buildroot}%{_bindir}/gnome
 install -d -m755 %{buildroot}%{_datadir}/xsessions
 install -m644 %SOURCE2 %{buildroot}%{_datadir}/xsessions/gnome.desktop
+# Install a session file for gnome 2 look-and-feel (fallback mode)
+install -m644 %{S:2} 
%{buildroot}%{_datadir}/xsessions/gnome2-look-and-feel.desktop
+sed -i "s/^Exec=.*/Exec=gnome --session gnome-fallback/" 
%{buildroot}%{_datadir}/xsessions/gnome2-look-and-feel.desktop
 install -m644 %{S:7} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
 %suse_update_desktop_file session-properties X-SuSE-ControlCenter-Personal
 %suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/gnome.desktop
+%suse_update_desktop_file -N "GNOME 2 Look and Feel" 
%{buildroot}%{_datadir}/xsessions/gnome2-look-and-feel.desktop
 %find_lang %{name}-3.0 %{?no_lang_C}
 %fdupes %{buildroot}
 
@@ -193,6 +206,10 @@
 %defattr (-, root, root)
 %{_datadir}/gnome-session/sessions/gnome-fallback.session
 
+%files -n gnome2-look-and-feel
+%defattr(-, root, root)
+%{_datadir}/xsessions/gnome2-look-and-feel.desktop
+
 %files core
 %defattr (-, root, root)
 %doc AUTHORS COPYING ChangeLog NEWS README

++++++ gnome ++++++
--- /var/tmp/diff_new_pack.EBTIQJ/_old  2011-10-13 12:22:13.000000000 +0200
+++ /var/tmp/diff_new_pack.EBTIQJ/_new  2011-10-13 12:22:13.000000000 +0200
@@ -59,7 +59,23 @@
     fi
   fi
 
-  # FIXME: we need to add a launcher for gnome-panel (fallback mode)
+  # Add live installer to the top panel in fallback mode
+  if test -f /usr/share/gnome-panel/panel-default-layout.layout -a ! -f 
"${XDG_CONFIG_HOME}/gnome-panel/panel-default-layout.layout"; then
+    FIRST_TOPLEVEL=`grep --max-count=1  "\[Toplevel" 
/usr/share/gnome-panel/panel-default-layout.layout | sed "s:\[Toplevel *::g;s: 
*]::g"`
+    if test ! -z "${FIRST_TOPLEVEL}"; then
+      mkdir -p -m 0700 "${XDG_CONFIG_HOME}"
+      mkdir -p "${XDG_CONFIG_HOME}/gnome-panel"
+      cp /usr/share/gnome-panel/panel-default-layout.layout 
"${XDG_CONFIG_HOME}/gnome-panel/panel-default-layout.layout"
+      cat >> "${XDG_CONFIG_HOME}/gnome-panel/panel-default-layout.layout" << 
EOF
+[Object live-installer-launcher]
+object-iid=PanelInternalFactory::Launcher
+toplevel-id=top-panel
+pack-type=start
+pack-index=-1
+@instance-config/location="file:///usr/share/applications/YaST2/live-installer.desktop"
+EOF
+    fi
+  fi
 
   ## Other tweaks
 


continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to