Merge lp:~dan-mcgregor/ubuntu/vivid/sddm/fix-zsh into lp:ubuntu/vivid/sddm

Proposed by dankm on 2015-04-02
Status: Merged
Merge reported by: Jonathan Riddell
Merged at revision: not available
Proposed branch: lp:~dan-mcgregor/ubuntu/vivid/sddm/fix-zsh
Merge into: lp:ubuntu/vivid/sddm
Diff against target: 50 lines (+30/-0)
3 files modified
debian/changelog (+6/-0)
debian/patches/series (+1/-0)
debian/patches/upstream_fix_zsh_Xsession.patch (+23/-0)
To merge this branch: bzr merge lp:~dan-mcgregor/ubuntu/vivid/sddm/fix-zsh
Reviewer Review Type Date Requested Status
Ubuntu Development Team 2015-04-02 Pending
jriddell 2015-04-02 Pending
Review via email: mp+255127@code.launchpad.net

Description of the Change

The Xsession script fails if zsh is the login shell and the startup scripts use zsh specific features. It is fixed upstream in https://github.com/sddm/sddm/commit/5ab43a6418ec68fe7ba7690a7c9cb3c1552f62dd

To post a comment you must log in.
10. By dankm on 2015-04-02

Add upstream_fix_zsh_Xsession.patch: fix Xsession with zsh from upstream.

Jonathan Riddell (jr) wrote :

lovely, thanks

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2015-04-02 16:07:55 +0000
3+++ debian/changelog 2015-04-02 19:57:30 +0000
4@@ -1,3 +1,9 @@
5+sddm (0.11.0-0ubuntu8) vivid; urgency=medium
6+
7+ * Add upstream_fix_zsh_Xsession.patch: fix Xsession with zsh from upstream.
8+
9+ -- Dan McGregor <dan.mcgregor@usask.ca> Thu, 02 Apr 2015 11:26:39 -0600
10+
11 sddm (0.11.0-0ubuntu7) vivid; urgency=medium
12
13 * Add kubuntu_nvidia-prime.diff to run nvidia-prime setup script at
14
15=== modified file 'debian/patches/series'
16--- debian/patches/series 2015-04-02 16:07:55 +0000
17+++ debian/patches/series 2015-04-02 19:57:30 +0000
18@@ -3,3 +3,4 @@
19 kubuntu_minimum_vt.diff
20 upstream_add-graphical.target.diff
21 kubuntu_nvidia-prime.diff
22+upstream_fix_zsh_Xsession.patch
23
24=== added file 'debian/patches/upstream_fix_zsh_Xsession.patch'
25--- debian/patches/upstream_fix_zsh_Xsession.patch 1970-01-01 00:00:00 +0000
26+++ debian/patches/upstream_fix_zsh_Xsession.patch 2015-04-02 19:57:30 +0000
27@@ -0,0 +1,23 @@
28+## Description: Fix zsh support in Xsession
29+## Origin/Author: https://github.com/sddm/sddm/commit/5ab43a6418ec68fe7ba7690a7c9cb3c1552f62dd
30+## Bug: 1439826
31+Index: sddm-vivid/data/scripts/Xsession
32+===================================================================
33+--- sddm-vivid.orig/data/scripts/Xsession
34++++ sddm-vivid/data/scripts/Xsession
35+@@ -22,7 +22,6 @@ case $SHELL in
36+ ;;
37+ */zsh)
38+ [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
39+- emulate -R sh
40+ [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
41+ zhome=${ZDOTDIR:-$HOME}
42+ # zshenv is always sourced automatically.
43+@@ -30,6 +29,7 @@ case $SHELL in
44+ [ -f $zhome/.zprofile ] && . $zhome/.zprofile
45+ [ -f $zdir/zlogin ] && . $zdir/zlogin
46+ [ -f $zhome/.zlogin ] && . $zhome/.zlogin
47++ emulate -R sh
48+ ;;
49+ */csh|*/tcsh)
50+ # [t]cshrc is always sourced automatically.

Subscribers

People subscribed via source and target branches

to all changes: