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(a)cora.nwra.com> -----
Datum: Sun, 05 Jan 2014 20:46:26 -0700
Von: Orion Poplawski <orion(a)cora.nwra.com>
Betreff: Re: [X2Go-Dev] Bug#370: RPM package: nx-libs lacks Xinerama support
An: Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de>
Cc: x2go-dev(a)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-X1…
>
>
>
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(a)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(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
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
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi Orion, hi other distro packages,
please note that in NX release 3.5.0.22 the VERSION.x2goagent is not
up-to-date. Please patch in the correct version during the packaging
process (3.5.0.21 -> 3.5.0.22).
Thanks and sorry for the inconvenience,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
close #314
thanks
Hello,
we are very hopeful that X2Go issue #314 reported by you
has been resolved in the new release (2:3.5.0.22) of the
X2Go source project »src:nx-libs«.
You can view the complete changelog entry of src:nx-libs (2:3.5.0.22)
below, and you can use the following link to view all the code changes
between this and the last release of src:nx-libs.
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b07b3cca09f5aa4a5c…
If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:nx-libs.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:nx-libs
Version: 2:3.5.0.22-0x2go1
Status: RELEASE
Date: Sat, 04 Jan 2014 21:39:17 +0100
Fixes: 314 337 370
Changes:
nx-libs (2:3.5.0.22-0x2go1) RELEASED; urgency=low
.
[ Mirraz Mirraz ]
* Add patch: 603_nx-X11_compilation_warnings.full.patch. Fix 3 evident bugs:
one implicit function declaration issue and two array index out of bounds
issues. (Fixes: #314).
.
[ Mike Gabriel ]
* Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against
recent (>= 2.5.0) libfreetype6 API.
* Refresh patch: 600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch.
* Improve patch:
601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch.
Improvements taken from the current Fedora package. Thanks to Orion
Paplowski!!! Also adapt roll-tarball.sh do dropping more bundled
libraries.
* Rename patch: 302_nxagent_configurable-keystrokes.full.patch to
320_nxagent_configurable-keystrokes.full.patch.
* debian/source/format:
+ Switch to format 1.0.
* debian/control:
+ Add libfreetype6-dev to Build-Depends: field.
+ Drop symlinking libNX_xrandr for setting a custom LD_LIBRARY_PATH. Not in
use anymore and not recommended at all to have that.
+ Make sure all nx-libs components depend on the very same version.
* debian/rules:
+ Remove bundled libraries from source tree before building the package.
* nx-libs.spec:
+ Ship nx-libs.spec (RPM package definitions) in upstream project. (Thanks
to the Fedora package maintainers). File differs from the Fedora file
already.
+ Clear (Fedora package) changelog.
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
__global_ldflags macro for EPEL builds.
+ Enable Xinerama support for RPM packages. (Fixes: #370).
.
[ Clemens Lang ]
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
FTBFS of nx-libs-lite on Mac OS X Mavericks. (Fixes: #337).
close #337
thanks
Hello,
we are very hopeful that X2Go issue #337 reported by you
has been resolved in the new release (2:3.5.0.22) of the
X2Go source project »src:nx-libs«.
You can view the complete changelog entry of src:nx-libs (2:3.5.0.22)
below, and you can use the following link to view all the code changes
between this and the last release of src:nx-libs.
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=6afd7646df1e75991a…
If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:nx-libs.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:nx-libs
Version: 2:3.5.0.22-0x2go1
Status: RELEASE
Date: Sat, 04 Jan 2014 21:39:17 +0100
Fixes: 314 337 370
Changes:
nx-libs (2:3.5.0.22-0x2go1) RELEASED; urgency=low
.
[ Mirraz Mirraz ]
* Add patch: 603_nx-X11_compilation_warnings.full.patch. Fix 3 evident bugs:
one implicit function declaration issue and two array index out of bounds
issues. (Fixes: #314).
.
[ Mike Gabriel ]
* Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against
recent (>= 2.5.0) libfreetype6 API.
* Refresh patch: 600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch.
* Improve patch:
601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch.
Improvements taken from the current Fedora package. Thanks to Orion
Paplowski!!! Also adapt roll-tarball.sh do dropping more bundled
libraries.
* Rename patch: 302_nxagent_configurable-keystrokes.full.patch to
320_nxagent_configurable-keystrokes.full.patch.
* debian/source/format:
+ Switch to format 1.0.
* debian/control:
+ Add libfreetype6-dev to Build-Depends: field.
+ Drop symlinking libNX_xrandr for setting a custom LD_LIBRARY_PATH. Not in
use anymore and not recommended at all to have that.
+ Make sure all nx-libs components depend on the very same version.
* debian/rules:
+ Remove bundled libraries from source tree before building the package.
* nx-libs.spec:
+ Ship nx-libs.spec (RPM package definitions) in upstream project. (Thanks
to the Fedora package maintainers). File differs from the Fedora file
already.
+ Clear (Fedora package) changelog.
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
__global_ldflags macro for EPEL builds.
+ Enable Xinerama support for RPM packages. (Fixes: #370).
.
[ Clemens Lang ]
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
FTBFS of nx-libs-lite on Mac OS X Mavericks. (Fixes: #337).
close #370
thanks
Hello,
we are very hopeful that X2Go issue #370 reported by you
has been resolved in the new release (2:3.5.0.22) of the
X2Go source project »src:nx-libs«.
You can view the complete changelog entry of src:nx-libs (2:3.5.0.22)
below, and you can use the following link to view all the code changes
between this and the last release of src:nx-libs.
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b07b3cca09f5aa4a5c…
If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:nx-libs.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:nx-libs
Version: 2:3.5.0.22-0x2go1
Status: RELEASE
Date: Sat, 04 Jan 2014 21:39:17 +0100
Fixes: 314 337 370
Changes:
nx-libs (2:3.5.0.22-0x2go1) RELEASED; urgency=low
.
[ Mirraz Mirraz ]
* Add patch: 603_nx-X11_compilation_warnings.full.patch. Fix 3 evident bugs:
one implicit function declaration issue and two array index out of bounds
issues. (Fixes: #314).
.
[ Mike Gabriel ]
* Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against
recent (>= 2.5.0) libfreetype6 API.
* Refresh patch: 600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch.
* Improve patch:
601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch.
Improvements taken from the current Fedora package. Thanks to Orion
Paplowski!!! Also adapt roll-tarball.sh do dropping more bundled
libraries.
* Rename patch: 302_nxagent_configurable-keystrokes.full.patch to
320_nxagent_configurable-keystrokes.full.patch.
* debian/source/format:
+ Switch to format 1.0.
* debian/control:
+ Add libfreetype6-dev to Build-Depends: field.
+ Drop symlinking libNX_xrandr for setting a custom LD_LIBRARY_PATH. Not in
use anymore and not recommended at all to have that.
+ Make sure all nx-libs components depend on the very same version.
* debian/rules:
+ Remove bundled libraries from source tree before building the package.
* nx-libs.spec:
+ Ship nx-libs.spec (RPM package definitions) in upstream project. (Thanks
to the Fedora package maintainers). File differs from the Fedora file
already.
+ Clear (Fedora package) changelog.
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
__global_ldflags macro for EPEL builds.
+ Enable Xinerama support for RPM packages. (Fixes: #370).
.
[ Clemens Lang ]
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
FTBFS of nx-libs-lite on Mac OS X Mavericks. (Fixes: #337).
close #370
thanks
Hello,
we are very hopeful that X2Go issue #370 reported by you
has been resolved in the new release (2:3.5.0.22) of the
X2Go source project »src:nx-libs«.
You can view the complete changelog entry of src:nx-libs (2:3.5.0.22)
below, and you can use the following link to view all the code changes
between this and the last release of src:nx-libs.
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=6afd7646df1e75991a…
If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:nx-libs.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:nx-libs
Version: 2:3.5.0.22-0x2go1
Status: RELEASE
Date: Sat, 04 Jan 2014 21:39:17 +0100
Fixes: 314 337 370
Changes:
nx-libs (2:3.5.0.22-0x2go1) RELEASED; urgency=low
.
[ Mirraz Mirraz ]
* Add patch: 603_nx-X11_compilation_warnings.full.patch. Fix 3 evident bugs:
one implicit function declaration issue and two array index out of bounds
issues. (Fixes: #314).
.
[ Mike Gabriel ]
* Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against
recent (>= 2.5.0) libfreetype6 API.
* Refresh patch: 600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch.
* Improve patch:
601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch.
Improvements taken from the current Fedora package. Thanks to Orion
Paplowski!!! Also adapt roll-tarball.sh do dropping more bundled
libraries.
* Rename patch: 302_nxagent_configurable-keystrokes.full.patch to
320_nxagent_configurable-keystrokes.full.patch.
* debian/source/format:
+ Switch to format 1.0.
* debian/control:
+ Add libfreetype6-dev to Build-Depends: field.
+ Drop symlinking libNX_xrandr for setting a custom LD_LIBRARY_PATH. Not in
use anymore and not recommended at all to have that.
+ Make sure all nx-libs components depend on the very same version.
* debian/rules:
+ Remove bundled libraries from source tree before building the package.
* nx-libs.spec:
+ Ship nx-libs.spec (RPM package definitions) in upstream project. (Thanks
to the Fedora package maintainers). File differs from the Fedora file
already.
+ Clear (Fedora package) changelog.
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
__global_ldflags macro for EPEL builds.
+ Enable Xinerama support for RPM packages. (Fixes: #370).
.
[ Clemens Lang ]
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
FTBFS of nx-libs-lite on Mac OS X Mavericks. (Fixes: #337).
close #314
thanks
Hello,
we are very hopeful that X2Go issue #314 reported by you
has been resolved in the new release (2:3.5.0.22) of the
X2Go source project »src:nx-libs«.
You can view the complete changelog entry of src:nx-libs (2:3.5.0.22)
below, and you can use the following link to view all the code changes
between this and the last release of src:nx-libs.
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=6afd7646df1e75991a…
If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:nx-libs.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:nx-libs
Version: 2:3.5.0.22-0x2go1
Status: RELEASE
Date: Sat, 04 Jan 2014 21:39:17 +0100
Fixes: 314 337 370
Changes:
nx-libs (2:3.5.0.22-0x2go1) RELEASED; urgency=low
.
[ Mirraz Mirraz ]
* Add patch: 603_nx-X11_compilation_warnings.full.patch. Fix 3 evident bugs:
one implicit function declaration issue and two array index out of bounds
issues. (Fixes: #314).
.
[ Mike Gabriel ]
* Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against
recent (>= 2.5.0) libfreetype6 API.
* Refresh patch: 600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch.
* Improve patch:
601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch.
Improvements taken from the current Fedora package. Thanks to Orion
Paplowski!!! Also adapt roll-tarball.sh do dropping more bundled
libraries.
* Rename patch: 302_nxagent_configurable-keystrokes.full.patch to
320_nxagent_configurable-keystrokes.full.patch.
* debian/source/format:
+ Switch to format 1.0.
* debian/control:
+ Add libfreetype6-dev to Build-Depends: field.
+ Drop symlinking libNX_xrandr for setting a custom LD_LIBRARY_PATH. Not in
use anymore and not recommended at all to have that.
+ Make sure all nx-libs components depend on the very same version.
* debian/rules:
+ Remove bundled libraries from source tree before building the package.
* nx-libs.spec:
+ Ship nx-libs.spec (RPM package definitions) in upstream project. (Thanks
to the Fedora package maintainers). File differs from the Fedora file
already.
+ Clear (Fedora package) changelog.
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
__global_ldflags macro for EPEL builds.
+ Enable Xinerama support for RPM packages. (Fixes: #370).
.
[ Clemens Lang ]
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
FTBFS of nx-libs-lite on Mac OS X Mavericks. (Fixes: #337).
close #337
thanks
Hello,
we are very hopeful that X2Go issue #337 reported by you
has been resolved in the new release (2:3.5.0.22) of the
X2Go source project »src:nx-libs«.
You can view the complete changelog entry of src:nx-libs (2:3.5.0.22)
below, and you can use the following link to view all the code changes
between this and the last release of src:nx-libs.
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b07b3cca09f5aa4a5c…
If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:nx-libs.
Thanks a lot for contributing to X2Go!!!
light+love
X2Go Git Admin (on behalf of the sender of this mail)
---
X2Go Component: src:nx-libs
Version: 2:3.5.0.22-0x2go1
Status: RELEASE
Date: Sat, 04 Jan 2014 21:39:17 +0100
Fixes: 314 337 370
Changes:
nx-libs (2:3.5.0.22-0x2go1) RELEASED; urgency=low
.
[ Mirraz Mirraz ]
* Add patch: 603_nx-X11_compilation_warnings.full.patch. Fix 3 evident bugs:
one implicit function declaration issue and two array index out of bounds
issues. (Fixes: #314).
.
[ Mike Gabriel ]
* Add patch 604_nx-X11_recent-freetype-API.full.patch. Fix FTBFS against
recent (>= 2.5.0) libfreetype6 API.
* Refresh patch: 600_nx-X11+nxcompext+nxcompshad_unique-libnames.full.patch.
* Improve patch:
601_nx-X11_build-option-changes-to-not-use-bundled-libraries.full.patch.
Improvements taken from the current Fedora package. Thanks to Orion
Paplowski!!! Also adapt roll-tarball.sh do dropping more bundled
libraries.
* Rename patch: 302_nxagent_configurable-keystrokes.full.patch to
320_nxagent_configurable-keystrokes.full.patch.
* debian/source/format:
+ Switch to format 1.0.
* debian/control:
+ Add libfreetype6-dev to Build-Depends: field.
+ Drop symlinking libNX_xrandr for setting a custom LD_LIBRARY_PATH. Not in
use anymore and not recommended at all to have that.
+ Make sure all nx-libs components depend on the very same version.
* debian/rules:
+ Remove bundled libraries from source tree before building the package.
* nx-libs.spec:
+ Ship nx-libs.spec (RPM package definitions) in upstream project. (Thanks
to the Fedora package maintainers). File differs from the Fedora file
already.
+ Clear (Fedora package) changelog.
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
__global_ldflags macro for EPEL builds.
+ Enable Xinerama support for RPM packages. (Fixes: #370).
.
[ Clemens Lang ]
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
FTBFS of nx-libs-lite on Mac OS X Mavericks. (Fixes: #337).