X2Go Bug report logs - #393
Improvements for RPM package (Xinerama support)

version graph

Package: x2goagent; Maintainer for x2goagent is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goagent is src:nx-libs.

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Mon, 6 Jan 2014 15:15:01 UTC

Severity: minor

Tags: pending

Found in version 3.5.0.22

Fixed in version 2:3.5.0.23

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#393: Improvements for RPM package (Xinerama support)
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 393@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 06 Jan 2014 15:15:01 +0000
Resent-Message-ID: <handler.393.B.138902105220753@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 393
X-X2Go-PR-Package: x2goagent
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.138902105220753
          (code B); Mon, 06 Jan 2014 15:15:01 +0000
Received: (at submit) by bugs.x2go.org; 6 Jan 2014 15:10:52 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT
	autolearn=no version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 2E6345DB1E
	for <submit@bugs.x2go.org>; Mon,  6 Jan 2014 16:10:52 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id B51F939C
	for <submit@bugs.x2go.org>; Mon,  6 Jan 2014 16:10:51 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id A9D2D3C2EC
	for <submit@bugs.x2go.org>; Mon,  6 Jan 2014 16:10:51 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id m7WLD00UAg0I for <submit@bugs.x2go.org>;
	Mon,  6 Jan 2014 16:10:51 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 648BA3BF80
	for <submit@bugs.x2go.org>; Mon,  6 Jan 2014 16:10:51 +0100 (CET)
Received: from listrac.informatik.uni-kiel.de
 (listrac.informatik.uni-kiel.de [134.245.252.114]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Mon, 06 Jan 2014
 15:10:51 +0000
Date: Mon, 06 Jan 2014 15:10:51 +0000
Message-ID: <20140106151051.Horde.PvAmwBzPnB8p32mz1K3H6Q1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
User-Agent: Internet Messaging Program (IMP) H5 (6.1.4)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.252.114
X-Remote-Browser: Mozilla/5.0 (X11; Linux i686; rv:23.0) Gecko/20100101
 Firefox/23.0 Iceweasel/23.0
Content-Type: multipart/signed; boundary="=_d5PZUIuFTK5u_bL0sdJ-jQ1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Package: x2goagent
Severity: minor
Version: 3.5.0.22
Tag: rpm-packages patch

Some more improvements for our nx-libs.spec as suggested by Orion via  
x2go-dev.

Mike


----- Weitergeleitete Nachricht von Orion Poplawski  
<orion@cora.nwra.com> -----
  Datum: Sun, 05 Jan 2014 20:46:26 -0700
    Von: Orion Poplawski <orion@cora.nwra.com>
Betreff: Re: [X2Go-Dev] Bug#370: RPM package: nx-libs lacks Xinerama support
     An: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
     Cc: x2go-dev@lists.berlios.de

On 12/16/2013 12:37 AM, Mike Gabriel wrote:
> Hi Orion,
>
> On  Mo 16 Dez 2013 03:14:02 CET, Orion Poplawski wrote:
>
>> On 12/14/2013 02:00 PM, Mike Gabriel wrote:
>>> Package: nx-libs Severity: important Tag: rpm-package
>>>
>>> The current RPMs built from nx-libs HEAD lack Xinerama support
>>> because of missing symlinks. The links should be created like
>>> below when the package libNX_Xinerama gets installed:
>>>
>>> mike@minobo:/usr/lib64/nx/X11$ ls Xinerama/ -al insgesamt 16
>>> libNX_X11.so.6 -> /usr/lib64/libX11.so.6 libNX_Xext.so.6 ->
>>> /usr/lib64//libXext.so.6 libXinerama.so -> ../libNX_Xinerama.so
>>> libXinerama.so.1 -> ../libNX_Xinerama.so.1
>>
>> Shouldn't NX be taught to just use libXinerama.so.1 directly
>> instead?
>
> The libNX_Xinerama.so.1 is very much different from libXinerama.so
> as it retrieves its data about number of screens and screen
> resolutions from a file (and not from hardware).
>
> Scan for NX_XINERAMA_CONF in [1] for details.
>
> Mike
>
> [1]
> http://code.x2go.org/gitweb?p=nx-libs.git;a=blob;f=debian/patches/202_nx-X11_enable-xinerama.full.patch
>
>
>

Hmm, okay, I think I get more of the game being played here.  I've
implemented it differently in the Fedora spec:

In %install:

# Need for Xinerama support
ln -s -f ../../../../%{_lib}/libX11.so.6
%{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
ln -s -f ../../../../%{_lib}/libXext.so.6
%{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6

Though these probably should just get done in the Makefile.  But the
relative paths might be tricky.

and:

 Summary:        Xinerama extension to the NX Protocol
 Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       libX11%{?_isa}
+Requires:       libXext%{?_isa}

(%{?_isa} gets the architecture correct)

 %files -n libNX_Xinerama
 %{_libdir}/nx/X11/libNX_Xinerama.so.1*
+%{_libdir}/nx/X11/Xinerama/

No need for %pre/%post


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

----- Ende der weitergeleiteten Nachricht -----

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:10:35 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.