Subject: Re: [X2Go-Dev] Bug#278: X2Go issue (in src:x2goserver) has been marked as pending for release

From: Orion Poplawski <[email-masked]>
Date: Fri, 29 Nov 2013 08:00:40 -0700

On 11/28/2013 01:48 AM, Mike Gabriel wrote:
> On  Do 28 Nov 2013 00:32:13 CET, Orion Poplawski wrote:
>> XSESSIONDIR ?= /etc/X11/Xsession.d
>> XSESSIONOPTIONFILE ?= /etc/X11/Xsession.options
>>
>>         if [ -e $(XSESSIONOPTIONFILE) ]; then $(INSTALL_SYMLINK)
>> $(XSESSIONOPTIONFILE) $(DESTDIR)$(ETCDIR)/Xsession.options; else touch
>> $(DESTDIR)$(ETCDIR)/Xsession.options; fi
>>         if [ -d $(XSESSIONDIR) ]; then $(INSTALL_SYMLINK)
>> $(XSESSIONDIR) $(DESTDIR)$(ETCDIR)/Xsession.d; else $(INSTALL_DIR)
>> $(DESTDIR)$(ETCDIR)/Xsession.d; fi
>>
>>
>> One unfortunate side effect of this is that
>> XSESSIONDIR/XSESSIONOPTIONFILE needs to be present in the buildroot
>> for these directories to get linked.
>
> Indeed. This is not a problem with the .deb packaging logic (as I do not
> use the Makefile for creating dirs and copying files).
>
> So, maybe we should create those folders/files during make install, if
> they do not yet exist? Or do you want to handle that via x2goserver.spec?
>
> Mike

I handled it in the spec by using BuildRequires: xorg-x11-xinit.  Works 
for me.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email-masked]
Boulder, CO 80301              http://www.cora.nwra.com