Subject: Re: [X2Go-Dev] Bug#104: avoid building of libxcomp1 in /usr/(local/)nx/X11

From: Mike Gabriel <[email-masked]>
Date: Tue, 12 Feb 2013 08:33:07 +0100

tag #104 pending
thanks

Hi Orion,

On Do 17 Jan 2013 00:50:53 CET Mike Gabriel wrote:

> Package: nx-libs
>
> ----- Weitergeleitete Nachricht von [email-masked] -----
>      Datum: Tue, 15 Jan 2013 15:26:53 -0700
>        Von: Orion Poplawski <[email-masked]>
> Antwort an: [email-masked]
>    Betreff: Re: [X2Go-Dev] nx-libs-3.5.0.17 whacky install
>         An: [email-masked]
>
> On 01/15/2013 03:13 PM, Orion Poplawski wrote:
>> On 01/07/2013 02:46 AM, Mike Gabriel wrote:
>>> Hi Jan
>>>
>>> On So 06 Jan 2013 19:30:15 CET Jan Engelhardt wrote:
>>>
>>>> Why do I get two Xcomp shared libraries (Xcomp.so.1 and Xcomp.so.3) that
>>>> are equal anyway?
>>>>
>>>> /usr/PFX/lib/nx/X11/libXcomp.so /usr/PFX/lib/nx/X11/libXcomp.so.1
>>>> /usr/lib64/nx/libXcomp.a /usr/lib64/nx/libXcomp.so
>>>> /usr/lib64/nx/libXcomp.so.3 /usr/lib64/nx/libXcomp.so.3.5.0 -rw-r--r-- 1
>>>> abuild abuild 1200469 Jan  6 18:25 ./usr/PFX/lib/nx/X11/libXcomp.so
>>>> lrwxrwxrwx 1 abuild abuild      11 Jan  6 18:25
>>>> ./usr/PFX/lib/nx/X11/libXcomp.so.1 -> libXcomp.so lrwxrwxrwx 1 abuild
>>>> abuild      17 Jan  6 18:20 ./usr/lib64/nx/libXcomp.so ->
>>>> libXcomp.so.3.5.0 lrwxrwxrwx 1 abuild abuild      17 Jan  6 18:20
>>>> ./usr/lib64/nx/libXcomp.so.3 -> libXcomp.so.3.5.0 -rw-r--r-- 1 abuild
>>>> abuild 1200469 Jan  6 18:25 ./usr/lib64/nx/libXcomp.so.3.5.0
>>>
>>> This looks interesting. Seems like the libXcomp.so.1 file gets created
>>> somewhere during the nx-X11 build. I will check on that. Not sure how to
>>> solve this atm.
>>
>> Seems to be in ./nx-X11/lib/X11/Imakefile:
>>
>> $(NX_XCOMPDEPTARGET):
>>        ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME)
>> $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME)
>>        ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME).1
>> $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
>>
>> clean::
>>        rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME)
>>        rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
>>
>>
>
> The attached seems to work for me.

Patch tested and applied to nx-libs.git:
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=258902bec76cc4828ab7453df7406957ce93048a

Greets,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email-masked], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb