--- lxdm.SlackBuild 2017-11-15 22:58:36.000000000 +0100 +++ lxdm.SlackBuild.new 2017-11-25 21:43:24.865193361 +0100 @@ -23,11 +23,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified for Slint 2016 - Didier Spaier +# Modified for Slint 2016,207 - Didier Spaier PRGNAM=lxdm VERSION=${VERSION:-0.5.3} -BUILD=${BUILD:-14} +BUILD=${BUILD:-15} TAG=${TAG:-slint} if [ -z "$ARCH" ]; then @@ -72,20 +72,7 @@ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# The two following patches have been merged in Xsession.patch - Didier -# Patch the Xsession file to source /etc/profile and xprofile on session start -# patch -p1 < $CWD/patches/source_profile_in_Xsession.diff - -# Remove the SuSe section from Xsession file, since it causes Slackware -# to always launch whatever WM/DE that /etc/X11/xinit/xinitrc symlink is -# pointing to, regardless of what the user wants... -# patch -p1 < $CWD/patches/remove_suse_from_Xsession.diff - -# in Xsession.patch, we also set 'starfluxbox' as default instead of -# startlxde, and ways of starting other distributions - Didier - -patch -p1 < $CWD/patches/Xsession.diff # Set DESKTOP_SESSION in the environment when starting a session # I'd normally say this is a bad idea, since upstream disagrees with it @@ -154,6 +141,10 @@ chmod 755 $PKG/usr/share/xsessions chmod 644 $PKG/usr/share/xsessions/* +# Ship our own Xsession +cp -f $CWD/Xsession $PKG/etc/lxdm/ +chmod 755 $PKG/etc/lxdm/Xsession + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING INSTALL README TODO \